1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6413],{6413:function(t,a,e){var r,i,o,n;n=function(t){"use strict";var a=t.transform,e=t.requiresCanvas,r=t.requiresMetaData,i=t.transformCoordinates,o=t.getTransformedOptions;function n(a,e){var r=a&&a.orientation;return!0===r&&!t.orientation||1===r&&t.orientation||(!e||t.orientation)&&r>1&&r<9}function A(t,a){return t!==a&&(1===t&&a>1&&a<9||t>1&&t<9)}function s(t,a){if(a>1&&a<9)switch(t){case 2:case 4:return a>4;case 5:case 7:return a%2==0;case 6:case 8:return 2===a||4===a||5===a||7===a}return!1}(function(t){if(t.global.document){var a=document.createElement("img");a.onload=function(){if(t.orientation=2===a.width&&3===a.height,t.orientation){var e=t.createCanvas(1,1,!0).getContext("2d");e.drawImage(a,1,1,1,1,0,0,1,1),t.orientationCropBug="255,255,255,255"!==e.getImageData(0,0,1,1).data.toString()}},a.src="data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAIAAwMBEQACEQEDEQH/xABRAAEAAAAAAAAAAAAAAAAAAAAKEAEBAQADAQEAAAAAAAAAAAAGBQQDCAkCBwEBAAAAAAAAAAAAAAAAAAAAABEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AG8T9NfSMEVMhQvoP3fFiRZ+MTHDifa/95OFSZU5OzRzxkyejv8ciEfhSceSXGjS8eSdLnZc2HDm4M3BxcXwH/9k="}})(t),t.requiresCanvas=function(a){return n(a)||e.call(t,a)},t.requiresMetaData=function(a){return n(a,!0)||r.call(t,a)},t.transform=function(e,r,i,o,n){a.call(t,e,r,function(a,e){if(e){var r=t.orientation&&e.exif&&e.exif.get("Orientation");if(r>4&&r<9){var o=e.originalWidth,n=e.originalHeight;e.originalWidth=n,e.originalHeight=o}}i(a,e)},o,n)},t.getTransformedOptions=function(a,e,r){var i=o.call(t,a,e),n=r.exif&&r.exif.get("Orientation"),c=i.orientation,h=t.orientation&&n;if(!0===c&&(c=n),!A(c,h))return i;var g=i.top,l=i.right,f=i.bottom,m=i.left,u={};for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(u[d]=i[d]);if(u.orientation=c,(c>4&&!(h>4)||c<5&&h>4)&&(u.maxWidth=i.maxHeight,u.maxHeight=i.maxWidth,u.minWidth=i.minHeight,u.minHeight=i.minWidth,u.sourceW
1idth=i.sourceHeight,u.sourceHeight=i.sourceWidth),h>1){switch(h){case 2:l=i.left,m=i.right;break;case 3:g=i.bottom,l=i.left,f=i.top,m=i.right;break;case 4:g=i.bottom,f=i.top;break;case 5:g=i.left,l=i.bottom,f=i.right,m=i.top;break;case 6:g=i.left,l=i.top,f=i.right,m=i.bottom;break;case 7:g=i.right,l=i.top,f=i.left,m=i.bottom;break;case 8:g=i.right,l=i.bottom,f=i.left,m=i.top}if(s(c,h)){var E=g,Q=l;g=f,l=m,f=E,m=Q}}switch(u.top=g,u.right=l,u.bottom=f,u.left=m,c){case 2:u.right=m,u.left=l;break;case 3:u.top=f,u.right=m,u.bottom=g,u.left=l;break;case 4:u.top=f,u.bottom=g;break;case 5:u.top=m,u.right=f,u.bottom=l,u.left=g;break;case 6:u.top=l,u.right=f,u.bottom=m,u.left=g;break;case 7:u.top=l,u.right=g,u.bottom=m,u.left=f;break;case 8:u.top=m,u.right=g,u.bottom=l,u.left=f}return u},t.transformCoordinates=function(a,e,r){i.call(t,a,e,r);var o=e.orientation,n=t.orientation&&r.exif&&r.exif.get("Orientation");if(A(o,n)){var c=a.getContext("2d"),h=a.width,g=a.height,l=h,f=g;switch((o>4&&!(n>4)||o<5&&n>4)&&(a.width=g,a.height=h),o>4&&(l=g,f=h),n){case 2:c.translate(l,0),c.scale(-1,1);break;case 3:c.translate(l,f),c.rotate(Math.PI);break;case 4:c.translate(0,f),c.scale(1,-1);break;case 5:c.rotate(-.5*Math.PI),c.scale(-1,1);break;case 6:c.rotate(-.5*Math.PI),c.translate(-l,0);break;case 7:c.rotate(-.5*Math.PI),c.translate(-l,f),c.scale(1,-1);break;case 8:c.rotate(.5*Math.PI),c.translate(0,-f)}switch(s(o,n)&&(c.translate(l,f),c.rotate(Math.PI)),o){case 2:c.translate(h,0),c.scale(-1,1);break;case 3:c.translate(h,g),c.rotate(Math.PI);break;case 4:c.translate(0,g),c.scale(1,-1);break;case 5:c.rotate(.5*Math.PI),c.scale(1,-1);break;case 6:c.rotate(.5*Math.PI),c.translate(0,-g);break;case 7:c.rotate(.5*Math.PI),c.translate(h,-g),c.scale(-1,1);break;case 8:c.rotate(-.5*Math.PI),c.translate(-h,0)}}}},i=[e(3514),e(7599),e(6353)],void 0!==(o=n.apply(a,i))&&(t.exports=o)},7599:function(t,a,e){var r,i,o,n;n=function(t){"use strict";var a=t.transform;t.createCanvas=function(a,e,r){if(r&&t.global.OffscreenCanvas)return new OffscreenCanvas(a,e);var i=document.createElement("canvas");return i.width=a,i.height=e,i},t.transform=function(e,r,i,o,n){a.call(t,t.scale(e,r,n),r,i,o,n)},t.transformCoordinates=function(){},t.getTransformedOptions=function(t,a){var e,r,i,o,n=a.aspectRatio;if(!n)return a;for(r in e={},a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);return e.crop=!0,(i=t.naturalWidth||t.width)/(o=t.naturalHeight||t.height)>n?(e.maxWidth=o*n,e.maxHeight=o):(e.maxWidth=i,e.maxHeight=i/n),e},t.drawImage=function(t,a,e,r,i,o,n,A,s){var c=a.getContext("2d");return!1===s.imageSmoothingEnabled?(c.msImageSmoothingEnabled=!1,c.imageSmoothingEnabled=!1):s.imageSmoothingQuality&&(c.imageSmoothingQuality=s.imageSmoothingQuality),c.drawImage(t,e,r,i,o,0,0,n,A),c},t.requiresCanvas=function(t){return t.canvas||t.crop||!!t.aspectRatio},t.scale=function(a,e,r){e=e||{},r=r||{};var i,o,n,A,s,c,h,g,l,f,m,u,d=a.getContext||t.requiresCanvas(e)&&!!t.global.HTMLCanvasElement,E=a.naturalWidth||a.width,Q=a.naturalHeight||a.height,B=E,b=Q;function p(){var t=Math.max((n||B)/B,(A||b)/b);t>1&&(B*=t,b*=t)}function v(){var t=Math.min((i||B)/B,(o||b)/b);t<1&&(B*=t,b*=t)}if(d&&(h=(e=t.getTransformedOptions(a,e,r)).left||0,g=e.top||0,e.sourceW
1idth?(s=e.sourceWidth,void 0!==e.right&&void 0===e.left&&(h=E-s-e.right)):s=E-h-(e.right||0),e.sourceHeight?(c=e.sourceHeight,void 0!==e.bottom&&void 0===e.top&&(g=Q-c-e.bottom)):c=Q-g-(e.bottom||0),B=s,b=c),i=e.maxWidth,o=e.maxHeight,n=e.minWidth,A=e.minHeight,d&&i&&o&&e.crop?(B=i,b=o,(m=s/c-i/o)<0?(c=o*s/i,void 0===e.top&&void 0===e.bottom&&(g=(Q-c)/2)):m>0&&(s=i*c/o,void 0===e.left&&void 0===e.right&&(h=(E-s)/2))):((e.contain||e.cover)&&(n=i=i||n,A=o=o||A),e.cover?(v(),p()):(p(),v())),d){if((l=e.pixelRatio)>1&&!(a.style.width&&Math.floor(parseFloat(a.style.width,10))===Math.floor(E/l))&&(B*=l,b*=l),t.orientationCropBug&&!a.getContext&&(h||g||s!==E||c!==Q)&&(m=a,a=t.createCanvas(E,Q,!0),t.drawImage(m,a,0,0,E,Q,E,Q,e)),(f=e.downsamplingRatio)>0&&f<1&&B<s&&b<c)for(;s*f>B;)u=t.createCanvas(s*f,c*f,!0),t.drawImage(a,u,h,g,s,c,u.width,u.height,e),h=0,g=0,s=u.width,c=u.height,a=u;return u=t.createCanvas(B,b),t.transformCoordinates(u,e,r),l>1&&(u.style.width=u.width/l+"px"),t.drawImage(a,u,h,g,s,c,B,b,e).setTransform(1,0,0,1,0,0),u}return a.width=B,a.height=b,a}},i=[e(3514)],void 0!==(o=n.apply(a,i))&&(t.exports=o)}}]);
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.