| Server IP : 193.86.120.172 / Your IP : 216.73.216.67 Web Server : Apache/2.4.63 (Unix) System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64 User : kubec ( 1026) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /volume1/@appstore/SynologyPhotos/ui/ |
Upload File : |
(self.webpackChunkFotoReactLibrary=self.webpackChunkFotoReactLibrary||[]).push([["137"],{62918:function(e,t){(function(){var r=function(e){return e instanceof r?e:this instanceof r?void(this.EXIFwrapped=e):new r(e)};e.exports&&(t=e.exports=r),t.EXIF=r;var i=r.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},o=r.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},a=r.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},s=r.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},l=r.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function u(e){return!!e.exifdata}function c(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var r=2,u=e.byteLength;r<u;){if(255!=t.getUint8(r))return!1;if(225==t.getUint8(r+1))return function(e,t){if("Exif"!=g(e,t,4))return!1;var r,u,c,f,m,p=t+6;if(18761==e.getUint16(p))r=!1;else{if(19789!=e.getUint16(p))return!1;r=!0}if(42!=e.getUint16(p+2,!r))return!1;var h=e.getUint32(p+4,!r);if(h<8)return!1;if((u=d(e,p,p+h,o,r)).ExifIFDPointer)for(c in f=d(e,p,p+u.ExifIFDPointer,i,r)){switch(c){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":f[c]=l[c][f[c]];break;case"ExifVersion":case"FlashpixVersion":f[c]=String.fromCharCode(f[c][0],f[c][1],f[c][2],f[c][3]);break;case"ComponentsConfiguration":f[c]=l.Components[f[c][0]]+l.Components[f[c][1]]+l.Components[f[c][2]]+l.Components[f[c][3]]}u[c]=f[c]}if(u.GPSInfoIFDPointer)for(c in m=d(e,p,p+u.GPSInfoIFDPointer,a,r))"GPSVersionID"===c&&(m[c]=m[c][0]+"."+m[c][1]+"."+m[c][2]+"."+m[c][3]),u[c]=m[c];return u.thumbnail=function(e,t,r,i){var o,a,l=(o=t+r,a=e.getUint16(o,!i),e.getUint32(o+2+12*a,!i));if(!l||l>e.byteLength)return{};var u=d(e,t,t+l,s,i);if(u.Compression)switch(u.Compression){case 6:if(u.JpegIFOffset&&u.JpegIFByteCount){var c=t+u.JpegIFOffset,f=u.JpegIFByteCount;u.blob=new Blob([new Uint8Array(e.buffer,c,f)],{type:"image/jpeg"})}break;case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",u.Compression)}else 2==u.PhotometricInterpretation&&console.log("Thumbnail image format is RGB, which is not implemented.");return u}(e,p,h,r),u}(t,r+4,t.getUint16(r+2)-2);r+=2+t.getUint16(r+2)}}var f={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function d(e,t,r,i,o){var a,s,l=e.getUint16(r,!o),u={};for(s=0;s<l;s++)a=r+12*s+2,u[i[e.getUint16(a,!o)]]=function(e,t,r,i,o){var a,s,l,u,c,f,d=e.getUint16(t+2,!o),m=e.getUint32(t+4,!o),p=e.getUint32(t+8,!o)+r;switch(d){case 1:case 7:if(1==m)return e.getUint8(t+8,!o);for(u=0,a=m>4?p:t+8,s=[];u<m;u++)s[u]=e.getUint8(a+u);return s;case 2:return g(e,a=m>4?p:t+8,m-1);case 3:if(1==m)return e.getUint16(t+8,!o);for(u=0,a=m>2?p:t+8,s=[];u<m;u++)s[u]=e.getUint16(a+2*u,!o);return s;case 4:if(1==m)return e.getUint32(t+8,!o);for(u=0,s=[];u<m;u++)s[u]=e.getUint32(p+4*u,!o);return s;case 5:if(1==m)return(l=new Number((c=e.getUint32(p,!o))/(f=e.getUint32(p+4,!o)))).numerator=c,l.denominator=f,l;for(u=0,s=[];u<m;u++)c=e.getUint32(p+8*u,!o),f=e.getUint32(p+4+8*u,!o),s[u]=new Number(c/f),s[u].numerator=c,s[u].denominator=f;return s;case 9:if(1==m)return e.getInt32(t+8,!o);for(u=0,s=[];u<m;u++)s[u]=e.getInt32(p+4*u,!o);return s;case 10:if(1==m)return e.getInt32(p,!o)/e.getInt32(p+4,!o);for(u=0,s=[];u<m;u++)s[u]=e.getInt32(p+8*u,!o)/e.getInt32(p+4+8*u,!o);return s}}(e,a,t,0,o);return u}function g(e,t,r){var i="";for(n=t;n<t+r;n++)i+=String.fromCharCode(e.getUint8(n));return i}function m(e){var t={};if(1==e.nodeType){if(e.attributes.length>0){t["@attributes"]={};for(var r=0;r<e.attributes.length;r++){var i=e.attributes.item(r);t["@attributes"][i.nodeName]=i.nodeValue}}}else if(3==e.nodeType)return e.nodeValue;if(e.hasChildNodes())for(var o=0;o<e.childNodes.length;o++){var a=e.childNodes.item(o),s=a.nodeName;if(null==t[s])t[s]=m(a);else{if(null==t[s].push){var l=t[s];t[s]=[],t[s].push(l)}t[s].push(m(a))}}return t}r.enableXmp=function(){r.isXmpEnabled=!0},r.disableXmp=function(){r.isXmpEnabled=!1},r.getData=function(e,t){return((!self.Image||!(e instanceof self.Image))&&(!self.HTMLImageElement||!(e instanceof self.HTMLImageElement))||!!e.complete)&&(u(e)?t&&t.call(e):function(e,t){function i(i){var o=c(i);e.exifdata=o||{};var a=function(e){var t,r=new DataView(e);if(255!=r.getUint8(0)||216!=r.getUint8(1))return!1;for(var i=2,o=e.byteLength;i<o;){if(t=i,56===r.getUint8(t)&&66===r.getUint8(t+1)&&73===r.getUint8(t+2)&&77===r.getUint8(t+3)&&4===r.getUint8(t+4)&&4===r.getUint8(t+5)){var a=r.getUint8(i+7);return a%2!=0&&(a+=1),0===a&&(a=4),function(e,t,r){for(var i,o,a,s,l=new DataView(e),u={},c=t;c<t+r;)28===l.getUint8(c)&&2===l.getUint8(c+1)&&(s=l.getUint8(c+2))in f&&(a=l.getInt16(c+3),o=f[s],i=g(l,c+5,a),u.hasOwnProperty(o)?u[o]instanceof Array?u[o].push(i):u[o]=[u[o],i]:u[o]=i),c++;return u}(e,i+8+a,r.getUint16(i+6+a))}i++}}(i);if(e.iptcdata=a||{},r.isXmpEnabled){var s=function(e){if("DOMParser"in self){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var r=2,i=e.byteLength,o=new DOMParser;r<i-4;){if("http"==g(t,r,4)){var a=r-1,s=t.getUint16(r-2)-1,l=g(t,a,s),u=l.indexOf("xmpmeta>")+8,c=(l=l.substring(l.indexOf("<x:xmpmeta"),u)).indexOf("x:xmpmeta")+10;return l=l.slice(0,c)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+l.slice(c),function(e){try{var t={};if(e.children.length>0)for(var r=0;r<e.children.length;r++){var i=e.children.item(r),o=i.attributes;for(var a in o){var s=o[a],l=s.nodeName,u=s.nodeValue;void 0!==l&&(t[l]=u)}var c=i.nodeName;if(void 0===t[c])t[c]=m(i);else{if(void 0===t[c].push){var f=t[c];t[c]=[],t[c].push(f)}t[c].push(m(i))}}else t=e.textContent;return t}catch(e){console.log(e.message)}}(o.parseFromString(l,"text/xml"))}r++}}}(i);e.xmpdata=s||{}}t&&t.call(e)}if(e.src){if(/^data\:/i.test(e.src))i(function(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/mi)[1]||"";for(var r=atob(e=e.replace(/^data\:([^\;]+)\;base64,/gmi,"")),i=r.length,o=new ArrayBuffer(i),a=new Uint8Array(o),s=0;s<i;s++)a[s]=r.charCodeAt(s);return o}(e.src));else if(/^blob\:/i.test(e.src)){var o,a,s,l=new FileReader;l.onload=function(e){i(e.target.result)},o=e.src,a=function(e){l.readAsArrayBuffer(e)},(s=new XMLHttpRequest).open("GET",o,!0),s.responseType="blob",s.onload=function(e){(200==this.status||0===this.status)&&a(this.response)},s.send()}else{var u=new XMLHttpRequest;u.onload=function(){if(200==this.status||0===this.status)i(u.response);else throw"Could not load image";u=null},u.open("GET",e.src,!0),u.responseType="arraybuffer",u.send(null)}}else if(self.FileReader&&(e instanceof self.Blob||e instanceof self.File)){var l=new FileReader;l.onload=function(e){i(e.target.result)},l.readAsArrayBuffer(e)}}(e,t),!0)},r.getTag=function(e,t){if(u(e))return e.exifdata[t]},r.getIptcTag=function(e,t){if(u(e))return e.iptcdata[t]},r.getAllTags=function(e){if(!u(e))return{};var t,r=e.exifdata,i={};for(t in r)r.hasOwnProperty(t)&&(i[t]=r[t]);return i},r.getAllIptcTags=function(e){if(!u(e))return{};var t,r=e.iptcdata,i={};for(t in r)r.hasOwnProperty(t)&&(i[t]=r[t]);return i},r.pretty=function(e){if(!u(e))return"";var t,r=e.exifdata,i="";for(t in r)r.hasOwnProperty(t)&&("object"==typeof r[t]?r[t]instanceof Number?i+=t+" : "+r[t]+" ["+r[t].numerator+"/"+r[t].denominator+"]\r\n":i+=t+" : ["+r[t].length+" values]\r\n":i+=t+" : "+r[t]+"\r\n");return i},r.readFromBinaryFile=function(e){return c(e)},"function"==typeof define&&define.amd&&define("exif-js",[],function(){return r})}).call(this)}}]);