PageSourceSearch

https://www.icemodels.co.za/_next/static/chunks/1374-1c9b5fe8f5bb319e.js

js icemodels.co.za collected 2026-10-02 16:19:37 UTC 36,727 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1374,7458],{45594:(e,t,n)=>{var i=n(15580).createReactPlayer,o=n(20688).default;e.exports=i([{key:"file",canPlay:o.canPlay,lazyPlayer:o}])},20688:(e,t,n)=>{var i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,r=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t,n,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of s(t))l.call(e,r)||r===n||o(e,r,{get:()=>t[r],enumerable:!(i=a(t,r))||i.enumerable});return e},p=(e,t,n)=>(u(e,"symbol"!=typeof t?t+"":t,n),n),d={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(d,{default:()=>w}),e.exports=c(o({},"__esModule",{value:!0}),d);var h=((e,t,n)=>(n=null!=e?i(r(e)):{},c(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(96540)),m=n(75635),f=n(50327);let v="undefined"!=typeof navigator,y=v&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,g=v&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||y)&&!window.MSStream,S=v&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&!window.MSStream,P=/www\.dropbox\.com\/.+/,b=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/;class w extends h.Component{constructor(){super(...arguments),p(this,"onReady",(...e)=>this.props.onReady(...e)),p(this,"onPlay",(...e)=>this.props.onPlay(...e)),p(this,"onBuffer",(...e)=>this.props.onBuffer(...e)),p(this,"onBufferEnd",(...e)=>this.props.onBufferEnd(...e)),p(this,"onPause",(...e)=>this.props.onPause(...e)),p(this,"onEnded",(...e)=>this.props.onEnded(...e)),p(this,"onError",(...e)=>this.props.onError(...e)),p(this,"onPlayBackRateChange",e=>this.props.onPlaybackRateChange(e.target.playbackRate)),p(this,"onEnablePIP",(...e)=>this.props.onEnablePIP(...e)),p(this,"onDisablePIP",e=>{let{onDisablePIP:t,playing:n}=this.props;t(e),n&&this.play()}),p(this,"onPresentationModeChange",e=>{if(this.player&&(0,m.supportsWebKitPresentationMode)(this.player)){let{webkitPresentationMode:t}=this.player;"picture-in-picture"===t?this.onEnablePIP(e):"inline"===t&&this.onDisablePIP(e)}}),p(this,"onSeek",e=>{this.props.onSeek(e.target.currentTime)}),p(this,"mute",()=>{this.player.muted=!0}),p(this,"unmute",()=>{this.player.muted=!1}),p(this,"renderSourceElement",(e,t)=>"string"==typeof e?h.default.createElement("source",{key:t,src:e}):h.default.createElement("source",{key:t,...e})),p(this,"renderTrack",(e,t)=>h.default.createElement("track",{key:t,...e})),p(this,"ref",e=>{this.player&&(this.prevPlayer=this.player),this.player=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player);let e=this.getSource(this.props.url);e&&(this.player.src=e),(g||this.props.config.forceDisableHls)&&this.player.load()}componentDidUpdate(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&(this.removeListeners(this.prevPlayer,e.url),this.addListeners(this.player)),this.props.url===e.url||(0,m.isMediaStream)(this.props.url)||this.props.url instanceof Array||(this.player.srcObject=null)}componentWillUnmount(){this.player.removeAttribute("src"),this.removeListeners(this.player),this.hls&&this.hls.destroy()}addListeners(e){let{url:t,playsinline:n}=this.props;e.addEventListener("play",this.onPlay),e.addEventListener("waiting",this.onBuffer),e.addEventListener("playing",this.onBufferEnd),e.addEventListener("pause",this.onPause),e.addEventListener("seeked",this.onSeek),e.addEventListener("ended",this.onEnded),e.addEventListener("error",this.onError),e.addEventListener("ratechange",this.onPlayBackRateChange),e.addEventListener("enterpictureinpicture",this.onEnablePIP),e.addEventListener("leavepictureinpicture",this.onDisablePIP),e.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.addEventListener("canplay",this.onReady),n&&(e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x5-playsinline",""))}removeListeners(e,t){e.removeEventListener("canplay",this.onReady),e.removeEventListener("play",this.onPlay),e.removeEventListener("waiting",this.onBuffer),e.removeEventListener("playing",this.onBufferEnd),e.removeEventListener("pause",this.onPause),e.removeEventListener("seeked",this.onSeek),e.removeEventListener("ended",this.onEnded),e.removeEventListener("error",this.onError),e.removeEventListener("ratechange",this.onPlayBackRateChange),e.removeEventListener("enterpictureinpicture",this.onEnablePIP),e.removeEventListener("leavepictureinpicture",this.onDisablePIP),e.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.removeEventListener("canplay",this.onReady)}shouldUseAudio(e){return!e.config.forceVideo&&!e.config.attributes.poster&&(f.AUDIO_EXTENSIONS.test(e.url)||e.config.forceAudio)}shouldUseHLS(e){return!!S&&!!this.props.config.forceSafariHLS||!!this.props.config.forceHLS||!g&&!this.props.config.forceDisableHls&&(f.HLS_EXTENSIONS.test(e)||b.test(e))}shouldUseDASH(e){return f.DASH_EXTENSIONS.test(e)||this.props.config.forceDASH}shouldUseFLV(e){return f.FLV_EXTENSIONS.test(e)||this.props.config.forceFLV}load(e){let{hlsVersion:t,hlsOptions:n,dashVersion:i,flvVersion:o}=this.props.config;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(e)&&(0,m.getSDK)("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION",t),"Hls").then(t=>{if(this.hls=new t(n),this.hls.on(t.Events.MANIFEST_PARSED,()=>{this.props.onReady()}),this.hls.on(t.Events.ERROR,(e,n)=>{this.props.onError(e,n,this.hls,t)}),b.test(e)){let t=e.match(b)[1];this.hls.loadSource("https://videodelivery.net/{id}/manifest/video.m3u8".replace("{id}",t))}else this.hls.loadSource(e);this.hls.attachMedia(this.player),this.props.onLoaded()}),this.shouldUseDASH(e)&&(0,m.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",i),"dashjs").then(t=>{this.dash=t.MediaPlayer().create(),this.dash.initialize(this.player,e,this.props.playing),this.dash.on("error",this.props.onError),3>
1parseInt(i)?this.dash.getDebug().setLogToBrowserConsole(!1):this.dash.updateSettings({debug:{logLevel:t.Debug.LOG_LEVEL_NONE}}),this.props.onLoaded()}),this.shouldUseFLV(e)&&(0,m.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION",o),"flvjs").then(t=>{this.flv=t.createPlayer({type:"flv",url:e}),this.flv.attachMediaElement(this.player),this.flv.on(t.Events.ERROR,(e,n)=>{this.props.onError(e,n,this.flv,t)}),this.flv.load(),this.props.onLoaded()}),e instanceof Array)this.player.load();else if((0,m.isMediaStream)(e))try{this.player.srcObject=e}catch(t){this.player.src=window.URL.createObjectURL(e)}}play(){let e=this.player.play();e&&e.catch(this.props.onError)}pause(){this.player.pause()}stop(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}seekTo(e,t=!0){this.player.currentTime=e,t||this.pause()}setVolume(e){this.player.volume=e}enablePIP(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,m.supportsWebKitPresentationMode)(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}disablePIP(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,m.supportsWebKitPresentationMode)(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}setPlaybackRate(e){try{this.player.playbackRate=e}catch(e){this.props.onError(e)}}getDuration(){if(!this.player)return null;let{duration:e,seekable:t}=this.player;return e===1/0&&t.length>0?t.end(t.length-1):e}getCurrentTime(){return this.player?this.player.currentTime:null}getSecondsLoaded(){if(!this.player)return null;let{buffered:e}=this.player;if(0===e.length)return 0;let t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}getSource(e){let t=this.shouldUseHLS(e),n=this.shouldUseDASH(e),i=this.shouldUseFLV(e);return e instanceof Array||(0,m.isMediaStream)(e)||t||n||i?void 0:P.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}render(){let{url:e,playing:t,loop:n,controls:i,muted:o,config:a,width:s,height:r}=this.props,l=this.shouldUseAudio(this.props);return h.default.createElement(l?"audio":"video",{ref:this.ref,src:this.getSource(e),style:{width:"auto"===s?s:"100%",height:"auto"===r?r:"100%"},preload:"auto",autoPlay:t||void 0,controls:i,muted:o,loop:n,...a.attributes},e instanceof Array&&e.map(this.renderSourceElement),a.tracks.map(this.renderTrack))}}p(w,"displayName","FilePlayer"),p(w,"canPlay",f.canPlay.file)},23217:(e,t,n)=>{"use strict";n.d(t,{GT:()=>ey,WZ:()=>eS});var i=n(96540),o=function(e,t){return Number(e.toFixed(t))},a=function(e,t,n){n&&"function"==typeof n&&n(e,t)},s={easeOut:function(e){return-Math.cos(e*Math.PI)/2+.5},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:-1+(4-2*e)*e},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},r=function(e){"number"==typeof e&&cancelAnimationFrame(e)},l=function(e){e.mounted&&(r(e.animation),e.animate=!1,e.animation=null,e.velocity=null)};function u(e,t,n,i){if(e.mounted){var o=new Date().getTime();l(e),e.animation=function(){if(!e.mounted)return r(e.animation);var a=new Date().getTime()-o,l=(0,s[t])(a/n);a>=n?(i(1),e.animation=null):e.animation&&(i(l),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function c(e,t,n,i){var o,a,s,r=(o=t.scale,a=t.positionX,s=t.positionY,!(Number.isNaN(o)||Number.isNaN(a)||Number.isNaN(s)));if(e.mounted&&r){var l=e.setTransformState,c=e.transformState,p=c.scale,d=c.positionX,h=c.positionY,m=t.scale-p,f=t.positionX-d,v=t.positionY-h;0===n?l(t.scale,t.positionX,t.positionY):u(e,i,n,function(e){l(p+m*e,d+f*e,h+v*e)})}}var p=function(e,t,n,i,o,a,s){var r=e>t?n*(s?1:.5):0,l=i>o?a*(s?1:.5):0;return{minPositionX:e-t-r,maxPositionX:r,minPositionY:i-o-l,maxPositionY:l}},d=function(e,t){var n,i,o,a,s,r,l=e.wrapperComponent,u=e.contentComponent,c=e.setup.centerZoomedOut;if(!l||!u)throw Error("Components are not mounted");var d=(n=l.offsetWidth,i=l.offsetHeight,o=u.offsetWidth,a=u.offsetHeight,{wrapperW
1idth:n,wrapperHeight:i,newContentWidth:s=o*t,newDiffWidth:n-s,newContentHeight:r=a*t,newDiffHeight:i-r}),h=d.wrapperWidth,m=d.wrapperHeight;return p(h,d.newContentWidth,d.newDiffWidth,m,d.newContentHeight,d.newDiffHeight,!!c)},h=function(e,t,n,i){return i?e<t?o(t,2):e>n?o(n,2):o(e,2):o(e,2)},m=function(e,t){var n=d(e,t);return e.bounds=n,n};function f(e,t,n,i,o,a,s){var r=n.minPositionX,l=n.minPositionY,u=n.maxPositionX,c=n.maxPositionY,p=0,d=0;return s&&(p=o,d=a),{x:h(e,r-p,u+p,i),y:h(t,l-d,c+d,i)}}function v(e,t,n,i,o,a){var s=e.transformState,r=s.scale,l=s.positionX,u=s.positionY,c=i-r;return"number"!=typeof t||"number"!=typeof n?(console.error("Mouse X and Y position were not provided!"),{x:l,y:u}):f(l-t*c,u-n*c,o,a,0,0,null)}function y(e,t,n,i,o){var a=t-(o?i:0);return!Number.isNaN(n)&&e>=n?n:!Number.isNaN(t)&&e<=a?a:e}var g=function(e,t){var n=e.setup.panning.excluded,i=e.isInitialized,o=e.wrapperComponent,a=t.target,s="shadowRoot"in a&&"composedPath"in t?t.composedPath().some(function(e){return e instanceof Element&&(null==o?void 0:o.contains(e))}):null==o?void 0:o.contains(a);return!(!(i&&a&&s)||F(a,n))},S=function(e){var t=e.isInitialized,n=e.isPanning,i=e.setup.panning.disabled;return!!t&&!!n&&!i},P=function(e,t){var n=e.transformState,i=n.positionX,o=n.positionY;e.isPanning=!0;var a=t.clientX,s=t.clientY;e.startCoords={x:a-i,y:s-o}},b=function(e,t){var n=t.touches,i=e.transformState,o=i.positionX,a=i.positionY;if(e.isPanning=!0,1===n.length){var s=n[0].clientX,r=n[0].clientY;e.startCoords={x:s-o,y:r-a}}};function w(e,t,n,i,o){var a=e.setup.limitToBounds,s=e.wrapperComponent,r=e.bounds,l=e.transformState,u=l.scale,c=l.positionX,p=l.positionY;if(null!==s&&null!==r&&(t!==c||n!==p)){var d=f(t,n,r,a,i,o,s),h=d.x,m=d.y;e.setTransformState(u,h,m)}}var E=function(e,t,n){var i=e.startCoords,o=e.transformState,a=e.setup.panning,s=a.lockAxisX,r=a.lockAxisY,l=o.positionX,u=o.positionY;if(!i)return{x:l,y:u};var c=t-i.x,p=n-i.y;return{x:s?l:c,y:r?u:p}},C=function(e,t){var n=e.setup,i=e.transformState.scale,o=n.minScale,a=n.disablePadding;return t>0&&i>=o&&!a?t:0},T=function(e){var t=e.mounted,n=e.setup,i=n.disabled,o=n.velocityAnimation,a=e.transformState.scale;return!o.disabled||a>1||!i||!!t},x=function(e){var t=e.mounted,n=e.velocity,i=e.bounds,o=e.setup,a=o.disabled,s=o.velocityAnimation,r=e.transformState.scale;return(!s.disabled||r>1||!a||!!t)&&!!n&&!!i};function L(e,t,n,i,o,a,s,r,l,u){if(o){if(t>s&&n>s){var c=s+(e-s)*u;return c>l?l:c<s?s:c}if(t<a&&n<a){var c=a+(e-a)*u;return c<r?r:c>a?a:c}}return i?t:h(e,a,s,o)}function Y(e,t){var n=e.transformState.scale;l(e),m(e,n),void 0!==window.TouchEvent&&t instanceof TouchEvent?b(e,t):P(e,t)}function k(e,t){var n=e.transformState.scale,i=e.setup,o=i.minScale,a=i.alignmentAnimation,s=a.disabled,r=a.sizeX,l=a.sizeY,u=a.animationTime,p=a.animationType;if(!(s||n<o||!r&&!l)){var d=function(e){var t=e.transformState,n=t.positionX,i=t.positionY,o=t.scale,a=e.setup,s=a.disabled,r=a.limitToBounds,l=a.centerZoomedOut,u=e.wrapperComponent;if(!s&&u&&e.bounds){var c=e.bounds,p=c.maxPositionX,d=c.minPositionX,h=c.maxPositionY,m=c.minPositionY,f=n>p?u.offsetWidth:e.setup.minPositionX||0,y=i>h?u.offsetHeight:e.setup.minPositionY||0,g=v(e,f,y,o,e.bounds,r||l),S=g.x,P=g.y;return{scale:o,positionX:n>p||n<d?S:n,positionY:i>h||i<m?P:i}}}(e);d&&c(e,d,null!=t?t:u,p)}}function X(e,t,n){var i=e.startCoords,o=e.setup.alignmentAnimation,a=o.sizeX,s=o.sizeY;if(i){var r=E(e,t,n),l=r.x,u=r.y,c=C(e,a),p=C(e,s);!function(e,t){if(T(e)){var n=e.lastMousePosition,i=e.velocityTime,o=e.setup,a=e.wrapperComponent,s=o.velocityAnimation.equalToMove,r=Date.now();if(n&&i&&a){var l=s?Math.min(1,a.offsetWidth/window.innerWidth):1,u=t.x-n.x,c=t.y-n.y,p=Math.sqrt(u*u+c*c)/(r-i);e.velocity={velocityX:u/l,velocityY:c/l,total:p}}e.lastMousePosition=t,e.velocityTime=r}}(e,{x:l,y:u}),w(e,l,u,c,p)}}function N(e,t,n,i){var a=e.setup,s=a.minScale,r=a.maxScale,l=a.limitToBounds,u=y(o(t,2),s,r,0,!1),c=m(e,u),p=v(e,n,i,u,c,l);return{scale:u,positionX:p.x,positionY:p.y}}function I(e,t,n){var i=e.transformState.scale,o=e.wrapperComponent,a=e.setup,s=a.minScale,r=a.limitToBounds,l=a.zoomAnimation,u=l.disabled,p=l.animationTime,d=l.animationType,h=u||i>=s;
1if((i>=1||r)&&k(e),!h&&o&&e.mounted){var m=N(e,s,t||o.offsetWidth/2,n||o.offsetHeight/2);m&&c(e,m,p,d)}}var O=function(){return(O=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function A(e,t,n){if(n||2==arguments.length)for(var i,o=0,a=t.length;o<a;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var D={scale:1,positionX:0,positionY:0},z={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,disablePadding:!1,smooth:!0,wheel:{step:.2,disabled:!1,smoothStep:.001,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,allowLeftClickPan:!0,allowMiddleClickPan:!0,allowRightClickPan:!0,wheelPanning:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},M={wrapperClass:"react-transform-wrapper",contentClass:"react-transform-component"},W=function(e){var t,n,i,o;return{previousScale:null!==(t=e.initialScale)&&void 0!==t?t:D.scale,scale:null!==(n=e.initialScale)&&void 0!==n?n:D.scale,positionX:null!==(i=e.initialPositionX)&&void 0!==i?i:D.positionX,positionY:null!==(o=e.initialPositionY)&&void 0!==o?o:D.positionY}},R=function(e){var t=O({},z);return Object.keys(e).forEach(function(n){var i=void 0!==e[n];if(void 0!==z[n]&&i){var o=Object.prototype.toString.call(z[n]);"[object Object]"===o?t[n]=O(O({},z[n]),e[n]):"[object Array]"===o?t[n]=A(A([],z[n],!0),e[n],!0):t[n]=e[n]}}),t},B=function(e,t,n){var i=e.transformState.scale,a=e.wrapperComponent,s=e.setup,r=s.maxScale,l=s.minScale,u=s.zoomAnimation,c=s.smooth,p=u.size;if(!a)throw Error("Wrapper is not mounted");return y(o(c?i*Math.exp(t*n):i+t*n,3),l,r,p,!1)};function H(e,t,n,i,o){var a=e.wrapperComponent,s=e.transformState,r=s.scale,l=s.positionX,u=s.positionY;if(!a)return console.error("No WrapperComponent found");var p=a.offsetWidth,d=a.offsetHeight,h=B(e,t,n),m=N(e,h,(p/2-l)/r,(d/2-u)/r);if(!m)return console.error("Error during zoom event. New transformation state was not calculated.");c(e,m,i,o)}function j(e,t,n,i){var o=e.setup,a=e.wrapperComponent,s=o.limitToBounds,r=W(e.props),l=e.transformState,u=l.scale,p=l.positionX,h=l.positionY;if(a){var m=d(e,r.scale),v=f(r.positionX,r.positionY,m,s,0,0,a),y={scale:r.scale,positionX:v.x,positionY:v.y};if(u===r.scale&&p===r.positionX&&h===r.positionY)return;null==i||i(),c(e,y,t,n)}}var K=function(e){return{instance:e,zoomIn:function(t,n,i){void 0===t&&(t=.5),void 0===n&&(n=300),void 0===i&&(i="easeOut"),H(e,1,t,n,i)},zoomOut:function(t,n,i){void 0===t&&(t=.5),void 0===n&&(n=300),void 0===i&&(i="easeOut"),H(e,-1,t,n,i)},setTransform:function(t,n,i,o,a){void 0===o&&(o=300),void 0===a&&(a="easeOut");var s=e.transformState,r=s.positionX,l=s.positionY,u=s.scale,p=e.wrapperComponent,d=e.contentComponent;!e.setup.disabled&&p&&d&&c(e,{positionX:Number.isNaN(t)?r:t,positionY:Number.isNaN(n)?l:n,scale:Number.isNaN(i)?u:i},o,a)},resetTransform:function(t,n){void 0===t&&(t=200),void 0===n&&(n="easeOut"),j(e,t,n
1)},centerView:function(t,n,i){void 0===n&&(n=200),void 0===i&&(i="easeOut");var o=e.transformState,a=e.wrapperComponent,s=e.contentComponent;a&&s&&c(e,q(t||o.scale,a,s),n,i)},zoomToElement:function(t,n,i,o){void 0===i&&(i=600),void 0===o&&(o="easeOut"),l(e);var a=e.wrapperComponent,s="string"==typeof t?document.getElementById(t):t;if(a&&s&&a.contains(s)){var r=function(e,t,n){var i,o,a,s,r,l=e.wrapperComponent,u=e.contentComponent,c=e.transformState,p=e.setup,h=p.limitToBounds,m=p.minScale,v=p.maxScale;if(!l||!u)return c;var g=l.getBoundingClientRect(),S=t.getBoundingClientRect(),P=(i=t.getBoundingClientRect(),o=l.getBoundingClientRect(),a=u.getBoundingClientRect(),s=o.x*c.scale,r=o.y*c.scale,{x:(i.x-a.x+s)/c.scale,y:(i.y-a.y+r)/c.scale}),b=P.x,w=P.y,E=S.width/c.scale,C=S.height/c.scale,T=l.offsetWidth/E,x=l.offsetHeight/C,L=y(n||Math.min(T,x),m,v,0,!1),Y=(g.width-E*L)/2,k=(g.height-C*L)/2,X=f((g.left-b)*L+Y,(g.top-w)*L+k,d(e,L),h,0,0,l);return{positionX:X.x,positionY:X.y,scale:L}}(e,s,n);c(e,r,i,o)}}}},_=function(e){var t,n={};return Object.assign(n,{instance:t=e,state:t.transformState}),Object.assign(n,K(e)),n};function U(){try{return{get passive(){return!1}}}catch(e){return!1}}var Z=".".concat(M.wrapperClass),F=function(e,t){return t.some(function(t){return e.matches("".concat(Z," ").concat(t,", ").concat(Z," .").concat(t,", ").concat(Z," ").concat(t," *, ").concat(Z," .").concat(t," *"))})},V=function(e){e&&clearTimeout(e)},q=function(e,t,n){var i=n.offsetWidth*e,o=n.offsetHeight*e;return{scale:e,positionX:(t.offsetWidth-i)/2,positionY:(t.offsetHeight-o)/2}},Q=function(e,t){var n=e.setup.wheel,i=n.disabled,o=n.wheelDisabled,a=n.touchPadDisabled,s=n.excluded,r=e.isInitialized,l=e.isPanning,u=t.target;return!(!(r&&!l&&!i&&u)||o&&!t.ctrlKey||a&&t.ctrlKey||F(u,s))};function G(e,t,n){var i=t.getBoundingClientRect(),o=0,a=0;if("clientX"in e)o=(e.clientX-i.left)/n,a=(e.clientY-i.top)/n;else{var s=e.touches[0];o=(s.clientX-i.left)/n,a=(s.clientY-i.top)/n}return(Number.isNaN(o)||Number.isNaN(a))&&console.error("No mouse or touch offset found"),{x:o,y:a}}var J=function(e,t,n,i,a){var s=e.transformState.scale,r=e.wrapperComponent,l=e.setup,u=l.maxScale,c=l.minScale,p=l.zoomAnimation,d=l.disablePadding,h=p.size,m=p.disabled;if(!r)throw Error("Wrapper is not mounted");var f=s+t*n;return a?f:y(o(f,3),c,u,h,!i&&!m&&!d)},$=function(e,t){var n=e.previousWheelEvent,i=e.transformState.scale,o=e.setup,a=o.maxScale,s=o.minScale;return!!n&&(i<a||i>s||Math.sign(n.deltaY)!==Math.sign(t.deltaY)||n.deltaY>0&&n.deltaY<t.deltaY||n.deltaY<0&&n.deltaY>t.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY))},ee=function(e,t){var n=e.setup.pinch,i=n.disabled,o=n.excluded,a=e.isInitialized,s=t.target;return!(!(a&&!i&&s)||F(s,o))},et=function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,i=e.pinchStartDistance;return!!n&&!t&&!!i},en=function(e,t,n){var i=n.getBoundingClientRect(),a=e.touches,s=o(a[0].clientX-i.left,5),r=o(a[0].clientY-i.top,5);return{x:(s+o(a[1].clientX-i.left,5))/2/t,y:(r+o(a[1].clientY-i.top,5))/2/t}},ei=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},eo=function(e,t){var n=e.pinchStartScale,i=e.pinchStartDistance,a=e.setup,s=a.maxScale,r=a.minScale,l=a.zoomAnimation,u=a.disablePadding,c=l.size,p=l.disabled;if(!n||null===i||!t)throw Error("Pinch touches distance was not provided");return t<0?e.transformState.scale:y(o(t/i*n,2),r,s,c,!p&&!u)},ea=function(e,t){var n=e.props,i=n.onWheelStart,o=n.onZoomStart;e.wheelStopEventTimer||(l(e),a(_(e),t,i),a(_(e),t,o))},es=function(e,t){var n,i=e.props,o=i.onWheel,s=i.onZoom,r=e.contentComponent,l=e.setup,u=e.transformState.scale,c=l.limitToBounds,p=l.centerZoomedOut,d=l.zoomAnimation,h=l.wheel,f=l.disablePadding,y=l.smooth,g=d.size,S=d.disabled,P=h.step,b=h.smoothStep;if(!r)throw Error("Component not mounted");t.preventDefault(),t.stopPropagation();var w=J(e,n=t?t.deltaY<0?1:-1:0,y?b*Math.abs(t.deltaY):P,!t.ctrlKey);if(u!==w){var E=m(e,w),C=G(t,r,u),T=v(e,C.x,C.y,w,E,c&&(S||0===g||p||f)),x=T.x,L=T.y;e.previousWheelEvent=t,e.setTransformState(w,x,L),a(_(e),t,o),a(_(e),t,s)}},er=function(e,t){var n=e.props,i=n.onWheelStop,o=n.onZoomStop;V(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout(function(){e.mounted&&(I(e,t.x,t.y),e.wheelAnimationTimer=null)},100),$(e,t)&&(V(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout(function(){e.mounted&&(e.wheelStopEventTimer=null,a(_(e),t,i),a(_(e),t,o))},160))},el=function(e){for(var t=0,n=0,i=0;i<2;i+=1)t+=e.touches[i].clientX,n+=e.touches[i].clientY;return{x:t/2,y:n/2}}
1,eu=function(e,t){var n=ei(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1;var i=el(t);e.pinchLastCenterX=i.x,e.pinchLastCenterY=i.y,l(e)},ec=function(e,t){var n=e.contentComponent,i=e.pinchStartDistance,o=e.wrapperComponent,a=e.transformState.scale,s=e.setup,r=s.limitToBounds,l=s.centerZoomedOut,u=s.zoomAnimation,c=s.alignmentAnimation,p=u.disabled,d=u.size;if(null!==i&&n){var h=en(t,a,n);if(Number.isFinite(h.x)&&Number.isFinite(h.y)){var y=ei(t),g=eo(e,y),S=el(t),P=S.x-(e.pinchLastCenterX||0),b=S.y-(e.pinchLastCenterY||0);if(g!==a||0!==P||0!==b){e.pinchLastCenterX=S.x,e.pinchLastCenterY=S.y;var w=m(e,g),E=v(e,h.x,h.y,g,w,r&&(p||0===d||l)),T=E.x,x=E.y;e.pinchMidpoint=h,e.lastDistance=y;var L=c.sizeX,Y=c.sizeY,k=f(T+P,x+b,w,r,C(e,L),C(e,Y),o),X=k.x,N=k.y;e.setTransformState(g,X,N)}}}},ep=function(e){var t=e.pinchMidpoint;e.velocity=null,e.lastDistance=null,e.pinchMidpoint=null,e.pinchStartScale=null,e.pinchStartDistance=null,I(e,null==t?void 0:t.x,null==t?void 0:t.y)},ed=function(e,t){var n=e.props.onZoomStop,i=e.setup.doubleClick.animationTime;V(e.doubleClickStopEventTimer),e.doubleClickStopEventTimer=setTimeout(function(){e.doubleClickStopEventTimer=null,a(_(e),t,n)},i)},eh=function(e,t){var n=e.props,i=n.onZoomStart,o=n.onZoom,s=e.setup.doubleClick,r=s.animationTime,l=s.animationType;a(_(e),t,i),j(e,r,l,function(){return a(_(e),t,o)}),ed(e,t)},em=function(e,t){var n=e.isInitialized,i=e.setup,o=e.wrapperComponent,a=i.doubleClick,s=a.disabled,r=a.excluded,l=t.target,u=null==o?void 0:o.contains(l);return!(!(n&&l&&u&&!s)||F(l,r))},ef=function(e){var t=this;this.mounted=!0,this.pinchLastCenterX=null,this.pinchLastCenterY=null,this.onChangeCallbacks=new Set,this.onInitCallbacks=new Set,this.wrapperComponent=null,this.contentComponent=null,this.isInitialized=!1,this.bounds=null,this.previousWheelEvent=null,this.wheelStopEventTimer=null,this.wheelAnimationTimer=null,this.isPanning=!1,this.isWheelPanning=!1,this.startCoords=null,this.lastTouch=null,this.distance=null,this.lastDistance=null,this.pinchStartDistance=null,this.pinchStartScale=null,this.pinchMidpoint=null,this.doubleClickStopEventTimer=null,this.velocity=null,this.velocityTime=null,this.lastMousePosition=null,this.animate=!1,this.animation=null,this.maxBounds=null,this.pressedKeys={},this.mount=function(){t.initializeWindowEvents()},this.unmount=function(){t.cleanupWindowEvents()},this.update=function(e){t.props=e,m(t,t.transformState.scale),t.setup=R(e)},this.initializeWindowEvents=function(){var e,n,i=U(),o=null===(e=t.wrapperComponent)||void 0===e?void 0:e.ownerDocument,a=null==o?void 0:o.defaultView;null===(n=t.wrapperComponent)||void 0===n||n.addEventListener("wheel",t.onWheelPanning,i),null==a||a.addEventListener("mousedown",t.onPanningStart,i),null==a||a.addEventListener("mousemove",t.onPanning,i),null==a||a.addEventListener("mouseup",t.onPanningStop,i),null==o||o.addEventListener("mouseleave",t.clearPanning,i),null==a||a.addEventListener("keyup",t.setKeyUnPressed,i),null==a||a.addEventListener("keydown",t.setKeyPressed,i)},this.cleanupWindowEvents=function(){var e,n,i=U(),o=null===(e=t.wrapperComponent)||void 0===e?void 0:e.ownerDocument,a=null==o?void 0:o.defaultView;null==a||a.removeEventListener("mousedown",t.onPanningStart,i),null==a||a.removeEventListener("mousemove",t.onPanning,i),null==a||a.removeEventListener("mouseup",t.onPanningStop,i),null==o||o.removeEventListener("mouseleave",t.clearPanning,i),null==a||a.removeEventListener("keyup",t.setKeyUnPressed,i),null==a||a.removeEventListener("keydown",t.setKeyPressed,i),document.removeEventListener("mouseleave",t.clearPanning,i),l(t),null===(n=t.observer)||void 0===n||n.disconnect()},this.handleInitializeWrapperEvents=function(e){var n=U();e.addEventListener("wheel",t.onWheelZoom,n),e.addEventListener("dblclick",t.onDoubleClick,n),e.addEventListener("touchstart",t.onTouchPanningStart,n),e.addEventListener("touchmove",t.onTouchPanning,n),e.addEventListener("touchend",t.onTouchPanningStop,n)},this.handleInitialize=function(e,n){var i=!1,o=t.setup.centerOnInit,a=function(e,t){for(var n=0;n<e.length;n++)if(e[n].target===t)return!0;return!1};t.applyTransformation(),t.onInitCallbacks.forEach(function(e){e(_(t))}),t.observer=new ResizeObserver(function(s){if(a(s,e)||a(s,n)){if(o&&!i){var r=n.offsetWidth,u=n.offsetHeight;(r>0||u>0)&&(i=!0,t.setCenter())}else l(t),m(t,t.transformState.scale),k(t,0)}}),t.observer.observe(e),t.observer.observe(n)},this.onWheelZoom=function(e){!t.setup.disabled&&Q(t,e)&&t.isPressingKeys(t.setup.wheel.activationKeys)&&(ea(t,e),es(t,e),er(t,e))},this.onWheelPanning=function(e){var n=t.setup,i=n.disabled,o=n.wheel,a=n.panning;if(t.wrapperComponent&&t.contentComponent&&!i&&o.wheelDisabled&&!a.disabled&&a.wheelPanning&&!e.ctrlKey){e.preventDefault(),e.stopPropagation();var s=t.transformState,r=s.positionX,l=s.positionY,u=r-e.deltaX,c=l-e.deltaY,p=a.lockAxisX?r:u,d=a.lockAxisY?l:c,h=t.setup.alignmentAnimation,m=h.sizeX,f=h.sizeY,v=C(t,m),y=C(t,f);(p!==r||d!==l)&&w(t,p,d,v,y)}},this.onPanningStart=function(e){var n=t.setup.disabled,i=t.props.onPanningStart;!n&&g(t,e)&&t.isPressingKeys(t.setup.panning.activationKeys)&&(0!==e.button||t.setup.panning.allowLeftClickPan)&&(1!==e.button||t.setup.panning.allowMiddleClickPan)&&(2!==e.button||t.setup.panning.allowRightClickPan)&&(e.preventDefault(),e.stopPropagation(),l(t),Y(t,e),a(_(t),e,i))},this.onPanning=function(e){var n=t.setup.disabled,i=t.props.onPanning;!n&&S(t)&&t.isPressingKeys(t.setup.panning.activationKeys)&&(e.preventDefault(),e.stopPropagation(),X(t,e.clientX,e.clientY),a(_(t),e,i))},this.onPanningStop=function(e){var n=t.props.onPanningStop;t.isPanning&&(function(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,i=e.wrapperComponent,o=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var a=null==i?void 0:i.getBoundingClientRect(),r=null==o?void 0:o.getBoundingClientRect(),l=(null==a?void 0:a.width)||0,c=(null==a?void 0:a.height)||0,p=(null==r?void 0:r.width)||0,d=(null==r?void 0:r.height)||0;!t&&n&&(null==n?void 0:n.total)>.1&&(l<p||c<d)?function(e){var t,n,i,o,a=e.velocity,r=e.bounds,l=e.setup,c=e.wrapperComponent;
1if(x(e)&&a&&r&&c){var p=a.velocityX,d=a.velocityY,h=a.total,m=r.maxPositionX,f=r.minPositionX,v=r.maxPositionY,y=r.minPositionY,g=l.limitToBounds,S=l.alignmentAnimation,P=l.zoomAnimation,b=l.panning,w=b.lockAxisY,E=b.lockAxisX,T=P.animationType,Y=S.sizeX,k=S.sizeY,X=S.velocityAlignmentTime,N=Math.max((n=(t=e.setup.velocityAnimation).equalToMove,i=t.animationTime,o=t.sensitivity,n?i*h*o:i),X),I=C(e,Y),O=C(e,k),A=I*c.offsetWidth/100,D=O*c.offsetHeight/100,z=m+A,M=f-A,W=v+D,R=y-D,B=e.transformState,H=new Date().getTime();u(e,T,N,function(t){var n=e.transformState,i=n.scale,o=n.positionX,a=n.positionY,r=new Date().getTime()-H,l=1-(0,s[S.animationType])(Math.min(1,r/X)),u=1-t,c=o+p*u,h=a+d*u,P=L(c,B.positionX,o,E,g,f,m,M,z,l),b=L(h,B.positionY,a,w,g,y,v,R,W,l);(o!==c||a!==h)&&e.setTransformState(i,P,b)})}}(e):k(e)}}(t),a(_(t),e,n))},this.onPinchStart=function(e){var n=t.setup.disabled,i=t.props,o=i.onPinchingStart,s=i.onZoomStart;!n&&ee(t,e)&&(eu(t,e),l(t),a(_(t),e,o),a(_(t),e,s))},this.onPinch=function(e){var n=t.setup.disabled,i=t.props,o=i.onPinching,s=i.onZoom;!n&&et(t)&&(e.preventDefault(),e.stopPropagation(),ec(t,e),a(_(t),e,o),a(_(t),e,s))},this.onPinchStop=function(e){var n=t.props,i=n.onPinchingStop,o=n.onZoomStop;t.pinchStartScale&&(ep(t),a(_(t),e,i),a(_(t),e,o))},this.onTouchPanningStart=function(e){var n=t.setup.disabled,i=t.props.onPanningStart;if(!n&&g(t,e)&&!(t.lastTouch&&+new Date-t.lastTouch<200&&1===e.touches.length)){t.lastTouch=+new Date,l(t);var o=e.touches,s=1===o.length,r=2===o.length;s&&(l(t),Y(t,e),a(_(t),e,i)),r&&t.onPinchStart(e)}},this.onTouchPanning=function(e){var n=t.setup.disabled,i=t.props.onPanning;if(t.isPanning&&1===e.touches.length){if(n||!S(t))return;e.preventDefault(),e.stopPropagation();var o=e.touches[0];X(t,o.clientX,o.clientY),a(_(t),e,i)}else e.touches.length>1&&t.onPinch(e)},this.onTouchPanningStop=function(e){t.onPanningStop(e),t.onPinchStop(e)},this.onDoubleClick=function(e){!t.setup.disabled&&em(t,e)&&function(e,t){var n,i=e.setup,o=e.doubleClickStopEventTimer,s=e.transformState,r=e.contentComponent,l=s.scale,u=e.props,p=u.onZoomStart,d=u.onZoom,h=i.doubleClick,m=h.disabled,f=h.mode,v=h.step,y=h.animationTime,g=h.animationType;if(!m&&!o){if("reset"===f)return eh(e,t);if(!r)return console.error("No ContentComponent found");var S=(n=e.transformState.scale,"toggle"===f?1===n?1:-1:"zoomOut"===f?-1:1),P=B(e,S,v);if(l!==P){a(_(e),t,p);var b=G(t,r,l),w=N(e,P,b.x,b.y);if(!w)return console.error("Error during zoom event. New transformation state was not calculated.");a(_(e),t,d),c(e,w,y,g),ed(e,t)}}}(t,e)},this.clearPanning=function(e){t.isPanning&&t.onPanningStop(e)},this.setKeyPressed=function(e){t.pressedKeys[e.key]=!0},this.setKeyUnPressed=function(e){t.pressedKeys[e.key]=!1},this.isPressingKeys=function(e){return!e.length||!!e.find(function(e){return t.pressedKeys[e]})},this.setTransformState=function(e,n,i){var o=t.props.onTransformed;if(Number.isNaN(e)||Number.isNaN(n)||Number.isNaN(i))console.error("Detected NaN set state values");else{e!==t.transformState.scale&&(t.transformState.previousScale=t.transformState.scale,t.transformState.scale=e),t.transformState.positionX=n,t.transformState.positionY=i,t.applyTransformation();var s=_(t);t.onChangeCallbacks.forEach(function(e){return e(s)}),a(s,{scale:e,positionX:n,positionY:i},o)}},this.setCenter=function(){if(t.wrapperComponent&&t.contentComponent){var e=q(t.transformState.scale,t.wrapperComponent,t.contentComponent);t.setTransformState(e.scale,e.positionX,e.positionY)}},this.handleTransformStyles=function(e,n,i){return t.props.customTransform?t.props.customTransform(e,n,i):"translate(".concat(e,"px, ").concat(n,"px) scale(").concat(i,")")},this.applyTransformation=function(){if(t.mounted&&t.contentComponent){var e=t.transformState,n=e.scale,i=e.positionX,o=e.positionY,a=t.handleTransformStyles(i,o,n);t.contentComponent.style.transform=a}},this.getContext=function(){return _(t)},this.onChange=function(e){return t.onChangeCallbacks.has(e)||t.onChangeCallbacks.add(e),function(){t.onChangeCallbacks.delete(e)}},this.onInit=function(e){return t.onInitCallbacks.has(e)||t.onInitCallbacks.add(e),function(){t.onInitCallbacks.delete(e)}},this.init=function(e,n){t.cleanupWindowEvents(),t.wrapperComponent=e,t.contentComponent=n,m(t,t.transformState.scale),t.handleInitializeWrapperEvents(e),t.handleInitialize(e,n),t.initializeWindowEvents(),t.isInitialized=!0,a(_(t),void 0,t.props.onInit)},this.props=e,this.setup=R(this.props),this.transformState=W(this.props)},ev=i.createContext(null),ey=i.forwardRef(function(e,t){var n,o,a=(0,i.useRef)(new ef(e)).current,s=(n=e.children,o=K(a),"function"==typeof n?n(o):n);return(0,i.useImperativeHandle)(t,function(){return K(a)},[a]),(0,i.useEffect)(function(){a.update(e)},[a,e]),i.createElement(ev.Provider,{value:a},s)});i.forwardRef(function(e,t){var n,o=(0,i.useRef)(null),a=(0,i.useContext)(ev);return(0,i.useEffect)(function(){return a.onChange(function(e){o.current&&(o.current.style.transform=a.handleTransformStyles(0,0,1/e.instance.transformState.scale))})},[a]),i.createElement("div",O({}
1,e,{ref:(n=[o,t],function(e){n.forEach(function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)})})}))});var eg={wrapper:"transform-component-module_wrapper__SPB86",content:"transform-component-module_content__FBWxo"};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".transform-component-module_wrapper__SPB86 {\n  position: relative;\n  width: -moz-fit-content;\n  width: fit-content;\n  height: -moz-fit-content;\n  height: fit-content;\n  overflow: hidden;\n  -webkit-touch-callout: none; /* iOS Safari */\n  -webkit-user-select: none; /* Safari */\n  -khtml-user-select: none; /* Konqueror HTML */\n  -moz-user-select: none; /* Firefox */\n  -ms-user-select: none; /* Internet Explorer/Edge */\n  user-select: none;\n  margin: 0;\n  padding: 0;\n  transform: translate3d(0, 0, 0);\n}\n.transform-component-module_content__FBWxo {\n  display: flex;\n  flex-wrap: wrap;\n  width: -moz-fit-content;\n  width: fit-content;\n  height: -moz-fit-content;\n  height: fit-content;\n  margin: 0;\n  padding: 0;\n  transform-origin: 0% 0%;\n}\n.transform-component-module_content__FBWxo img {\n  pointer-events: none;\n}\n");var eS=function(e){var t=e.children,n=e.wrapperClass,o=e.contentClass,a=e.wrapperStyle,s=e.contentStyle,r=e.wrapperProps,l=e.contentProps,u=(0,i.useContext)(ev),c=u.init,p=u.cleanupWindowEvents,d=(0,i.useRef)(null),h=(0,i.useRef)(null);return(0,i.useEffect)(function(){var e=d.current,t=h.current;return null!==e&&null!==t&&c&&(null==c||c(e,t)),function(){null==p||p()}},[]),i.createElement("div",O({},void 0===r?{}:r,{ref:d,className:"".concat(M.wrapperClass," ").concat(eg.wrapper," ").concat(void 0===n?"":n),style:a}),i.createElement("div",O({},void 0===l?{}:l,{ref:h,className:"".concat(M.contentClass," ").concat(eg.content," ").concat(void 0===o?"":o),style:s}),t))}}}]);

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.