1(self.hometalkChunk=self.hometalkChunk||[]).push([["vendors-node_modules_blueimp-load-image_js_index_js"],{22172(e,t,i){var n,a,o;!function(){"use strict";a=[i(94556),i(34743)],void 0===(o="function"==typeof(n=function(e){e.ExifMap.prototype.tags={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",36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",42240:"Gamma",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:"PhotographicSensitivity",34856:"OECF",34864:"SensitivityType",34865:"StandardOutputSensitivity",34866:"RecommendedExposureIndex",34867:"ISOSpeed",34868:"ISOSpeedLatitudeyyy",34869:"ISOSpeedLatitudezzz",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:"E
1xposureMode",41987:"WhiteBalance",41988:"DigitalZoomRatio",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",42016:"ImageUniqueID",42032:"CameraOwnerName",42033:"BodySerialNumber",42034:"LensSpecification",42035:"LensMake",42036:"LensModel",42037:"LensSerialNumber",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",31:"GPSHPositioningError"},e.ExifMap.prototype.stringValues={ExposureProgram:{0:"Undefined",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:"Undefined",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"},ComponentsConfiguration:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}
1,Orientation:{1:"top-left",2:"top-right",3:"bottom-right",4:"bottom-left",5:"left-top",6:"right-top",7:"right-bottom",8:"left-bottom"}},e.ExifMap.prototype.getText=function(e){var t=this.get(e);switch(e){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":case"Orientation":return this.stringValues[e][t];case"ExifVersion":case"FlashpixVersion":if(!t)return;return String.fromCharCode(t[0],t[1],t[2],t[3]);case"ComponentsConfiguration":if(!t)return;return this.stringValues[e][t[0]]+this.stringValues[e][t[1]]+this.stringValues[e][t[2]]+this.stringValues[e][t[3]];case"GPSVersionID":if(!t)return;return t[0]+"."+t[1]+"."+t[2]+"."+t[3]}return String(t)},function(e){var t,i=e.tags,n=e.map;for(t in i)i.hasOwnProperty(t)&&(n[i[t]]=t)}(e.ExifMap.prototype),e.ExifMap.prototype.getAll=function(){var e,t,i={};for(e in this)this.hasOwnProperty(e)&&(t=this.tags[e])&&(i[t]=this.getText(t));return i}})?n.apply(t,a):n)||(e.exports=o)}()},30269(e,t,i){var n,a,o;!function(){"use strict";a=[i(94556),i(71832)],void 0===(o="function"==typeof(n=function(e){"undefined"!=typeof fetch&&"undefined"!=typeof Request&&(e.fetchBlob=function(t,i,n){if(e.hasMetaOption(n))return fetch(new Request(t,n)).then(function(e){return e.blob()}).then(i).catch(function(e){console.log(e),i()});i()})})?n.apply(t,a):n)||(e.exports=o)}()},34743(e,t,i){var n,a,o;!function(){"use strict";a=[i(94556),i(71832)],void 0===(o="function"==typeof(n=function(e){e.ExifMap=function(){return this},e.ExifMap.prototype.map={Orientation:274},e.ExifMap.prototype.get=function(e){return this[e]||this[this.map[e]]},e.getExifThumbnail=function(e,t,i){var n,a,o;if(i&&!(t+i>e.byteLength)){for(n=[],a=0;a<i;a+=1)o=e.getUint8(t+a),n.push((o<16?"0":"")+o.toString(16));return"data:image/jpeg,%"+n.join("%")}console.log("Invalid Exif data: Invalid thumbnail data.")},e.exifTagTypes={1:{getValue:function(e,t){return e.getUint8(t)},size:1},2:{getValue:function(e,t){return String.fromCharCode(e.getUint8(t))},size:1,ascii:!0},3:{getValue:function(e,t,i){return e.getUint16(t,i)},size:2},4:{getValue:function(e,t,i){return e.getUint32(t,i)},size:4},5:{getValue:function(e,t,i){return e.getUint32(t,i)/e.getUint32(t+4,i)},size:8},9:{getValue:function(e,t,i){return e.getInt32(t,i)},size:4},10:{getValue:function(e,t,i){return e.getInt32(t,i)/e.getInt32(t+4,i)},size:8}},e.exifTagTypes[7]=e.exifTagTypes[1],e.getExifValue=function(t,i,n,a,o,r){var s,l,c,u,d,f,g=e.exifTagTypes[a];if(g){if(!((l=(s=g.size*o)>4?i+t.getUint32(n+8,r):n+8)+s>t.byteLength)){if(1===o)return g.getValue(t,l,r);for(c=[],u=0;u<o;u+=1)c[u]=g.getValue(t,l+u*g.size,r);if(g.ascii){for(d="",u=0;u<c.length&&"\0"!==(f=c[u]);u+=1)d+=f;return d}return c}console.log("Invalid Exif data: Invalid data offset.")}else console.log("Invalid Exif data: Invalid tag type.")},e.parseExifTag=function(t,i,n,a,o){var r=t.getUint16(n,a);o.exif[r]=e.getExifValue(t,i,n,t.getUint16(n+2,a),t.getUint32(n+4,a),a)},e.parseExifTags=function(e,t,i,n,a){var o,r,s;if(i+6>e.byteLength)console.log("Invalid Exif data: Invalid directory offset.");else{if(!((r=i+2+12*(o=e.getUint16(i,n)))+4>e.byteLength)){for(s=0;s<o;s+=1)this.parseExifTag(e,t,i+2+12*s,n,a);return e.getUint32(r,n)}console.log("Invalid Exif data: Invalid directory size.")}},e.parseExifData=function(t,i,n,a,o){if(!o.disableExif){var r,s,l,c=i+10;if(1165519206===t.getUint32(i+4))if(c+8>t.byteLength)console.log("Invalid Exif data: Invalid segment size.");else if(0===t.getUint16(i+8)){switch(t.getUint16(c)){case 18761:r=!0;break;case 19789:r=!1;break;default:return void console.log("Invalid Exif data: Invalid byte alignment marker.")}42===t.getUint16(c+2,r)?(s=t.getUint32(c+4,r),a.exif=new e.ExifMap,(s=e.parseExifTags(t,c,c+s,r,a))&&!o.disableExifThumbnail&&(l={exif:{}},s=e.parseExifTags(t,c,c+s,r,l),l.exif[513]&&(a.exif.Thumbnail=e.getExifThumbnail(t,c+l.exif[513],l.exif[514]))),a.exif[34665]&&!o.disableExifSub&&e.parseExifTags(t,c,c+a.exif[34665],r,a),a.exif[34853]&&!o.disableExifGps&&e.parseExifTags(t,c,c+a.exif[34853],r,a)):console.log("Invalid Exif data: Missing TIFF marker.")}else console.log("Invalid Exif data: Missing byte alignment offset.")}},e.metaDataParsers.jpeg[65505].push(e.parseExifData)})?n.apply(t,a):n)||(e.exports=o)}()},49079(e,t,i){var n,a,o;!function(){"use strict";a=[i(94556),i(62835),i(71832)],void 0===(o="function"==typeof(n=function(e){var t=e.hasCanvasOption,i=e.hasMetaOption,n=e.transformCoordinates,a=e.getTransformedOptions;e.hasCanvasOption=function(i){return!!i.orientation||t.call(e,i)},e.hasMetaOption=function(t){return t&&!0===t.orientation||i.call(e,t)},e.transformCoordinates=function(t,i){n.call(e,t,i);var a=t.getContext("2d"),o=t.width,r=t.height,s=t.style.width,l=t.style.height,c=i.orientation;if(c&&!(c>8))switch(c>4&&(t.width=r,t.height=o,t.style.width=l,t.style.height=s),c){case 2:a.translate(o,0),a.scale(-1,1);break;case 3:a.translate(o,r),a.rotate(Math.PI);break;case 4:a.translate(0,r),a.scale(1,-1);break;case 5:a.rotate(.5*Math.PI),a.scale(1,-1);break;case 6:a.rotate(.5*Math.PI),a.translate(0,-r);break;case 7:a.rotate(.5*Math.PI),a.translate(o,-r),a.scale(-1,1);break;case 8:a.rotate(-.5*Math.PI),a.translate(-o,0)}},e.getTransformedOptions=function(t,i,n){var o,r,s=a.call(e,t,i),l=s.orientation;if(!0===l&&n&&n.exif&&(l=n.exif.get("Orientation")),!l||l>8||1===l)return s;for(r in o={},s)s.hasOwnProperty(r)&&(o[r]=s[r]);switch(o.orientation=l,l){case 2:o.left=s.right,o.right=s.left;break;case 3:o.left=s.right,o.top=s.bottom,o.right=s.left,o.bottom=s.top;break;case 4:o.top=s.bottom,o.bottom=s.top;break;case 5:o.left=s.top,o.top=s.left,o.right=s.bottom,o.bottom=s.right;break;case 6:o.left=s.top,o.top=s.right,o.right=s.bottom,o.bottom=s.left;break;case 7:o.left=s.bottom,o.top=s.right,o.right=s.top,o.bottom=s.left;break;case 8:o.left=s.bottom,o.top=s.left,o.right=s.top,o.bottom=s.right}return o.orientation>4&&(o.maxWidth=s.maxHeight,o.maxHeight=s.maxWidth,o.minWidth=s.minHeight,o.minHeight=s.minWidth,o.sourceWidth=s.sourceHeight,o.sourceHeight=s.sourceWidth),o}})?n.apply(t,a):n)||(e.exports=o)}()},58202(e,t,i){e.exports=i(94556),i(62835),i(71832),i(30269),i(34743),i(22172),i(49079)},62835(e,t,i){var n,a,o;!function(){"use strict";a=[i(94556)],void 0===(o="function"==typeof(n=function(e){var t=e.transform;e.transform=function(i,n,a,o,r){t.call(e,e.scale(i,n,r),n,a,o,r)},e.transformCoordinates=function(){},e.getTransformedOptions=function(e,t){var i,n,a,o,r=t.aspectRatio;if(!r)return t;for(n in i={},t)t.hasOwnProperty(n)&&(i[n]=t[n]);
1return i.crop=!0,(a=e.naturalWidth||e.width)/(o=e.naturalHeight||e.height)>r?(i.maxWidth=o*r,i.maxHeight=o):(i.maxWidth=a,i.maxHeight=a/r),i},e.renderImageToCanvas=function(e,t,i,n,a,o,r,s,l,c){return e.getContext("2d").drawImage(t,i,n,a,o,r,s,l,c),e},e.hasCanvasOption=function(e){return e.canvas||e.crop||!!e.aspectRatio},e.scale=function(t,i,n){i=i||{};var a,o,r,s,l,c,u,d,f,g,h,p=document.createElement("canvas"),m=t.getContext||e.hasCanvasOption(i)&&p.getContext,S=t.naturalWidth||t.width,b=t.naturalHeight||t.height,y=S,x=b;function v(){var e=Math.max((r||y)/y,(s||x)/x);e>1&&(y*=e,x*=e)}function P(){var e=Math.min((a||y)/y,(o||x)/x);e<1&&(y*=e,x*=e)}if(m&&(u=(i=e.getTransformedOptions(t,i,n)).left||0,d=i.top||0,i.sourceWidth?(l=i.sourceWidth,void 0!==i.right&&void 0===i.left&&(u=S-l-i.right)):l=S-u-(i.right||0),i.sourceHeight?(c=i.sourceHeight,void 0!==i.bottom&&void 0===i.top&&(d=b-c-i.bottom)):c=b-d-(i.bottom||0),y=l,x=c),a=i.maxWidth,o=i.maxHeight,r=i.minWidth,s=i.minHeight,m&&a&&o&&i.crop?(y=a,x=o,(h=l/c-a/o)<0?(c=o*l/a,void 0===i.top&&void 0===i.bottom&&(d=(b-c)/2)):h>0&&(l=a*c/o,void 0===i.left&&void 0===i.right&&(u=(S-l)/2))):((i.contain||i.cover)&&(r=a=a||r,s=o=o||s),i.cover?(P(),v()):(v(),P())),m){if((f=i.pixelRatio)>1&&(p.style.width=y+"px",p.style.height=x+"px",y*=f,x*=f,p.getContext("2d").scale(f,f)),(g=i.downsamplingRatio)>0&&g<1&&y<l&&x<c)for(;l*g>y;)p.width=l*g,p.height=c*g,e.renderImageToCanvas(p,t,u,d,l,c,0,0,p.width,p.height),u=0,d=0,l=p.width,c=p.height,(t=document.createElement("canvas")).width=l,t.height=c,e.renderImageToCanvas(t,p,0,0,l,c,0,0,l,c);return p.width=y,p.height=x,e.transformCoordinates(p,i),e.renderImageToCanvas(p,t,u,d,l,c,0,0,y,x)}return t.width=y,t.height=x,t}})?n.apply(t,a):n)||(e.exports=o)}()},71832(e,t,i){var n,a,o;!function(){"use strict";a=[i(94556)],n=function(e){var t="undefined"!=typeof Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice);e.blobSlice=t&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},e.metaDataParsers={jpeg:{65505:[]}},e.parseMetaData=function(t,i,n,a){a=a||{};var o=this,r=(n=n||{}).maxMetaDataSize||262144;"undefined"!=typeof DataView&&t&&t.size>=12&&"image/jpeg"===t.type&&e.blobSlice&&e.readFile(e.blobSlice.call(t,0,r),function(t){if(t.target.error)return console.log(t.target.error),void i(a);var r,s,l,c,u=t.target.result,d=new DataView(u),f=2,g=d.byteLength-4,h=f;if(65496===d.getUint16(0)){for(;f<g&&((r=d.getUint16(f))>=65504&&r<=65519||65534===r);){if(f+(s=d.getUint16(f+2)+2)>d.byteLength){console.log("Invalid meta data: Invalid segment size.");break}if(l=e.metaDataParsers.jpeg[r])for(c=0;c<l.length;c+=1)l[c].call(o,d,f,s,a,n);h=f+=s}!n.disableImageHead&&h>6&&(u.slice?a.imageHead=u.slice(0,h):a.imageHead=new Uint8Array(u).subarray(0,h))}else console.log("Invalid JPEG file: Missing JPEG marker.");i(a)},"readAsArrayBuffer")||i(a)},e.hasMetaOption=function(e){return e&&e.meta};var i=e.transform;e.transform=function(t,n,a,o,r){e.hasMetaOption(n)?e.parseMetaData(o,function(r){i.call(e,t,n,a,o,r)},n,r):i.apply(e,arguments)}},void 0===(o=n.apply(t,a))||(e.exports=o)}()},94556(e,t,i){var n;!function(a){"use strict";function o(e,t,i){var n,a=document.createElement("img");return a.onerror=function(n){return o.onerror(a,n,e,t,i)},a.onload=function(n){return o.onload(a,n,e,t,i)},"string"==typeof e?(o.fetchBlob(e,function(t){t?(e=t,n=o.createObjectURL(e)):(n=e,i&&i.crossOrigin&&(a.crossOrigin=i.crossOrigin)),a.src=n},i),a):o.isInstanceOf("Blob",e)||o.isInstanceOf("File",e)?(n=a._objectURL=o.createObjectURL(e))?(a.src=n,a):o.readFile(e,function(e){var i=e.target;i&&i.result?a.src=i.result:t&&t(e)}):void 0}var r=a.createObjectURL&&a||a.URL&&URL.revokeObjectURL&&URL||a.webkitURL&&webkitURL;function s(e,t){!e._objectURL||t&&t.noRevoke||(o.revokeObjectURL(e._objectURL),delete e._objectURL)}o.fetchBlob=function(e,t,i){t()},o.isInstanceOf=function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"},o.transform=function(e,t,i,n,a){i(e,a)},o.onerror=function(e,t,i,n,a){s(e,a),n&&n.call(e,t)},o.onload=function(e,t,i,n,a){s(e,a),n&&o.transform(e,a,n,i,{})},o.createObjectURL=function(e){return!!r&&r.createObjectURL(e)},o.revokeObjectURL=function(e){return!!r&&r.revokeObjectURL(e)},o.readFile=function(e,t,i){if(a.FileReader){var n=new FileReader;
1if(n.onload=n.onerror=t,n[i=i||"readAsDataURL"])return n[i](e),n}return!1},void 0===(n=function(){return o}.call(t,i,t,e))||(e.exports=n)}("undefined"!=typeof window&&window||this)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.