@bluepic/embed 0.2.16 → 0.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bluepic-embed.es.js +101 -84
- package/lib/bluepic-embed.umd.js +5 -5
- package/lib/components/BluepicEmbedded.vue.d.ts +0 -11
- package/lib/components/BluepicEmbedded.vue.d.ts.map +1 -1
- package/lib/components/BluepicEmbeddedEditor.vue.d.ts +0 -175
- package/lib/components/BluepicEmbeddedEditor.vue.d.ts.map +1 -1
- package/lib/components/BluepicLiveTemplate.vue.d.ts +0 -35
- package/lib/components/BluepicLiveTemplate.vue.d.ts.map +1 -1
- package/lib/components/ImportData.vue.d.ts +1 -1
- package/lib/components/TableDataMatcher.vue.d.ts +1 -1
- package/lib/components/TableDataMatcher.vue.d.ts.map +1 -1
- package/lib/components/Tabs.vue.d.ts.map +1 -1
- package/lib/index.d.ts +4 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/bluepic-embed.umd.js
CHANGED
|
@@ -96,7 +96,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
96
96
|
* @author owenm <owen23355@gmail.com>
|
|
97
97
|
* @license MIT
|
|
98
98
|
*/function ownKeys(m,c){var ie=Object.keys(m);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(m);c&&(we=we.filter(function(Ie){return Object.getOwnPropertyDescriptor(m,Ie).enumerable})),ie.push.apply(ie,we)}return ie}function _objectSpread2(m){for(var c=1;c<arguments.length;c++){var ie=arguments[c]!=null?arguments[c]:{};c%2?ownKeys(Object(ie),!0).forEach(function(we){_defineProperty(m,we,ie[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(ie)):ownKeys(Object(ie)).forEach(function(we){Object.defineProperty(m,we,Object.getOwnPropertyDescriptor(ie,we))})}return m}function _typeof(m){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(c){return typeof c}:_typeof=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},_typeof(m)}function _defineProperty(m,c,ie){return c in m?Object.defineProperty(m,c,{value:ie,enumerable:!0,configurable:!0,writable:!0}):m[c]=ie,m}function _extends(){return _extends=Object.assign||function(m){for(var c=1;c<arguments.length;c++){var ie=arguments[c];for(var we in ie)Object.prototype.hasOwnProperty.call(ie,we)&&(m[we]=ie[we])}return m},_extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(m,c){if(m==null)return{};var ie={},we=Object.keys(m),Ie,Me;for(Me=0;Me<we.length;Me++)Ie=we[Me],!(c.indexOf(Ie)>=0)&&(ie[Ie]=m[Ie]);return ie}function _objectWithoutProperties(m,c){if(m==null)return{};var ie=_objectWithoutPropertiesLoose(m,c),we,Ie;if(Object.getOwnPropertySymbols){var Me=Object.getOwnPropertySymbols(m);for(Ie=0;Ie<Me.length;Ie++)we=Me[Ie],!(c.indexOf(we)>=0)&&(!Object.prototype.propertyIsEnumerable.call(m,we)||(ie[we]=m[we]))}return ie}function _toConsumableArray(m){return _arrayWithoutHoles(m)||_iterableToArray(m)||_unsupportedIterableToArray(m)||_nonIterableSpread()}function _arrayWithoutHoles(m){if(Array.isArray(m))return _arrayLikeToArray(m)}function _iterableToArray(m){if(typeof Symbol<"u"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}function _unsupportedIterableToArray(m,c){if(!!m){if(typeof m=="string")return _arrayLikeToArray(m,c);var ie=Object.prototype.toString.call(m).slice(8,-1);if(ie==="Object"&&m.constructor&&(ie=m.constructor.name),ie==="Map"||ie==="Set")return Array.from(m);if(ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ie))return _arrayLikeToArray(m,c)}}function _arrayLikeToArray(m,c){(c==null||c>m.length)&&(c=m.length);for(var ie=0,we=new Array(c);ie<c;ie++)we[ie]=m[ie];return we}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
99
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var version="1.15.6";function userAgent(m){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(m)}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge=userAgent(/Edge/i),FireFox=userAgent(/firefox/i),Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i),IOS=userAgent(/iP(ad|od|hone)/i),ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i),captureMode={capture:!1,passive:!1};function on(m,c,ie){m.addEventListener(c,ie,!IE11OrLess&&captureMode)}function off(m,c,ie){m.removeEventListener(c,ie,!IE11OrLess&&captureMode)}function matches(m,c){if(!!c){if(c[0]===">"&&(c=c.substring(1)),m)try{if(m.matches)return m.matches(c);if(m.msMatchesSelector)return m.msMatchesSelector(c);if(m.webkitMatchesSelector)return m.webkitMatchesSelector(c)}catch{return!1}return!1}}function getParentOrHost(m){return m.host&&m!==document&&m.host.nodeType?m.host:m.parentNode}function closest(m,c,ie,we){if(m){ie=ie||document;do{if(c!=null&&(c[0]===">"?m.parentNode===ie&&matches(m,c):matches(m,c))||we&&m===ie)return m;if(m===ie)break}while(m=getParentOrHost(m))}return null}var R_SPACE=/\s+/g;function toggleClass(m,c,ie){if(m&&c)if(m.classList)m.classList[ie?"add":"remove"](c);else{var we=(" "+m.className+" ").replace(R_SPACE," ").replace(" "+c+" "," ");m.className=(we+(ie?" "+c:"")).replace(R_SPACE," ")}}function css$1(m,c,ie){var we=m&&m.style;if(we){if(ie===void 0)return document.defaultView&&document.defaultView.getComputedStyle?ie=document.defaultView.getComputedStyle(m,""):m.currentStyle&&(ie=m.currentStyle),c===void 0?ie:ie[c];!(c in we)&&c.indexOf("webkit")===-1&&(c="-webkit-"+c),we[c]=ie+(typeof ie=="string"?"":"px")}}function matrix(m,c){var ie="";if(typeof m=="string")ie=m;else do{var we=css$1(m,"transform");we&&we!=="none"&&(ie=we+" "+ie)}while(!c&&(m=m.parentNode));var Ie=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return Ie&&new Ie(ie)}function find(m,c,ie){if(m){var we=m.getElementsByTagName(c),Ie=0,Me=we.length;if(ie)for(;Ie<Me;Ie++)ie(we[Ie],Ie);return we}return[]}function getWindowScrollingElement(){var m=document.scrollingElement;return m||document.documentElement}function getRect(m,c,ie,we,Ie){if(!(!m.getBoundingClientRect&&m!==window)){var Me,Ze,ne,rr,pr,lr,yr;if(m!==window&&m.parentNode&&m!==getWindowScrollingElement()?(Me=m.getBoundingClientRect(),Ze=Me.top,ne=Me.left,rr=Me.bottom,pr=Me.right,lr=Me.height,yr=Me.width):(Ze=0,ne=0,rr=window.innerHeight,pr=window.innerWidth,lr=window.innerHeight,yr=window.innerWidth),(c||ie)&&m!==window&&(Ie=Ie||m.parentNode,!IE11OrLess))do if(Ie&&Ie.getBoundingClientRect&&(css$1(Ie,"transform")!=="none"||ie&&css$1(Ie,"position")!=="static")){var kr=Ie.getBoundingClientRect();Ze-=kr.top+parseInt(css$1(Ie,"border-top-width")),ne-=kr.left+parseInt(css$1(Ie,"border-left-width")),rr=Ze+Me.height,pr=ne+Me.width;break}while(Ie=Ie.parentNode);if(we&&m!==window){var Br=matrix(Ie||m),Ar=Br&&Br.a,Pr=Br&&Br.d;Br&&(Ze/=Pr,ne/=Ar,yr/=Ar,lr/=Pr,rr=Ze+lr,pr=ne+yr)}return{top:Ze,left:ne,bottom:rr,right:pr,width:yr,height:lr}}}function isScrolledPast(m,c,ie){for(var we=getParentAutoScrollElement(m,!0),Ie=getRect(m)[c];we;){var Me=getRect(we)[ie],Ze=void 0;if(ie==="top"||ie==="left"?Ze=Ie>=Me:Ze=Ie<=Me,!Ze)return we;if(we===getWindowScrollingElement())break;we=getParentAutoScrollElement(we,!1)}return!1}function getChild(m,c,ie,we){for(var Ie=0,Me=0,Ze=m.children;Me<Ze.length;){if(Ze[Me].style.display!=="none"&&Ze[Me]!==Sortable.ghost&&(we||Ze[Me]!==Sortable.dragged)&&closest(Ze[Me],ie.draggable,m,!1)){if(Ie===c)return Ze[Me];Ie++}Me++}return null}function lastChild(m,c){for(var ie=m.lastElementChild;ie&&(ie===Sortable.ghost||css$1(ie,"display")==="none"||c&&!matches(ie,c));)ie=ie.previousElementSibling;return ie||null}function index(m,c){var ie=0;if(!m||!m.parentNode)return-1;for(;m=m.previousElementSibling;)m.nodeName.toUpperCase()!=="TEMPLATE"&&m!==Sortable.clone&&(!c||matches(m,c))&&ie++;return ie}function getRelativeScrollOffset(m){var c=0,ie=0,we=getWindowScrollingElement();if(m)do{var Ie=matrix(m),Me=Ie.a,Ze=Ie.d;c+=m.scrollLeft*Me,ie+=m.scrollTop*Ze}while(m!==we&&(m=m.parentNode));return[c,ie]}function indexOfObject(m,c){for(var ie in m)if(!!m.hasOwnProperty(ie)){for(var we in c)if(c.hasOwnProperty(we)&&c[we]===m[ie][we])return Number(ie)}return-1}function getParentAutoScrollElement(m,c){if(!m||!m.getBoundingClientRect)return getWindowScrollingElement();var ie=m,we=!1;do if(ie.clientWidth<ie.scrollWidth||ie.clientHeight<ie.scrollHeight){var Ie=css$1(ie);if(ie.clientWidth<ie.scrollWidth&&(Ie.overflowX=="auto"||Ie.overflowX=="scroll")||ie.clientHeight<ie.scrollHeight&&(Ie.overflowY=="auto"||Ie.overflowY=="scroll")){if(!ie.getBoundingClientRect||ie===document.body)return getWindowScrollingElement();if(we||c)return ie;we=!0}}while(ie=ie.parentNode);return getWindowScrollingElement()}function extend$3(m,c){if(m&&c)for(var ie in c)c.hasOwnProperty(ie)&&(m[ie]=c[ie]);return m}function isRectEqual(m,c){return Math.round(m.top)===Math.round(c.top)&&Math.round(m.left)===Math.round(c.left)&&Math.round(m.height)===Math.round(c.height)&&Math.round(m.width)===Math.round(c.width)}var _throttleTimeout;function throttle(m,c){return function(){if(!_throttleTimeout){var ie=arguments,we=this;ie.length===1?m.call(we,ie[0]):m.apply(we,ie),_throttleTimeout=setTimeout(function(){_throttleTimeout=void 0},c)}}}function cancelThrottle(){clearTimeout(_throttleTimeout),_throttleTimeout=void 0}function scrollBy(m,c,ie){m.scrollLeft+=c,m.scrollTop+=ie}function clone(m){var c=window.Polymer,ie=window.jQuery||window.Zepto;return c&&c.dom?c.dom(m).cloneNode(!0):ie?ie(m).clone(!0)[0]:m.cloneNode(!0)}function setRect(m,c){css$1(m,"position","absolute"),css$1(m,"top",c.top),css$1(m,"left",c.left),css$1(m,"width",c.width),css$1(m,"height",c.height)}function unsetRect(m){css$1(m,"position",""),css$1(m,"top",""),css$1(m,"left",""),css$1(m,"width",""),css$1(m,"height","")}function getChildContainingRectFromElement(m,c,ie){var we={};return Array.from(m.children).forEach(function(Ie){var Me,Ze,ne,rr;if(!(!closest(Ie,c.draggable,m,!1)||Ie.animated||Ie===ie)){var pr=getRect(Ie);we.left=Math.min((Me=we.left)!==null&&Me!==void 0?Me:1/0,pr.left),we.top=Math.min((Ze=we.top)!==null&&Ze!==void 0?Ze:1/0,pr.top),we.right=Math.max((ne=we.right)!==null&&ne!==void 0?ne:-1/0,pr.right),we.bottom=Math.max((rr=we.bottom)!==null&&rr!==void 0?rr:-1/0,pr.bottom)}}),we.width=we.right-we.left,we.height=we.bottom-we.top,we.x=we.left,we.y=we.top,we}var expando="Sortable"+new Date().getTime();function AnimationStateManager(){var m=[],c;return{captureAnimationState:function(){if(m=[],!!this.options.animation){var we=[].slice.call(this.el.children);we.forEach(function(Ie){if(!(css$1(Ie,"display")==="none"||Ie===Sortable.ghost)){m.push({target:Ie,rect:getRect(Ie)});var Me=_objectSpread2({},m[m.length-1].rect);if(Ie.thisAnimationDuration){var Ze=matrix(Ie,!0);Ze&&(Me.top-=Ze.f,Me.left-=Ze.e)}Ie.fromRect=Me}})}},addAnimationState:function(we){m.push(we)},removeAnimationState:function(we){m.splice(indexOfObject(m,{target:we}),1)},animateAll:function(we){var Ie=this;if(!this.options.animation){clearTimeout(c),typeof we=="function"&&we();return}var Me=!1,Ze=0;m.forEach(function(ne){var rr=0,pr=ne.target,lr=pr.fromRect,yr=getRect(pr),kr=pr.prevFromRect,Br=pr.prevToRect,Ar=ne.rect,Pr=matrix(pr,!0);Pr&&(yr.top-=Pr.f,yr.left-=Pr.e),pr.toRect=yr,pr.thisAnimationDuration&&isRectEqual(kr,yr)&&!isRectEqual(lr,yr)&&(Ar.top-yr.top)/(Ar.left-yr.left)===(lr.top-yr.top)/(lr.left-yr.left)&&(rr=calculateRealTime(Ar,kr,Br,Ie.options)),isRectEqual(yr,lr)||(pr.prevFromRect=lr,pr.prevToRect=yr,rr||(rr=Ie.options.animation),Ie.animate(pr,Ar,yr,rr)),rr&&(Me=!0,Ze=Math.max(Ze,rr),clearTimeout(pr.animationResetTimer),pr.animationResetTimer=setTimeout(function(){pr.animationTime=0,pr.prevFromRect=null,pr.fromRect=null,pr.prevToRect=null,pr.thisAnimationDuration=null},rr),pr.thisAnimationDuration=rr)}),clearTimeout(c),Me?c=setTimeout(function(){typeof we=="function"&&we()},Ze):typeof we=="function"&&we(),m=[]},animate:function(we,Ie,Me,Ze){if(Ze){css$1(we,"transition",""),css$1(we,"transform","");var ne=matrix(this.el),rr=ne&&ne.a,pr=ne&&ne.d,lr=(Ie.left-Me.left)/(rr||1),yr=(Ie.top-Me.top)/(pr||1);we.animatingX=!!lr,we.animatingY=!!yr,css$1(we,"transform","translate3d("+lr+"px,"+yr+"px,0)"),this.forRepaintDummy=repaint(we),css$1(we,"transition","transform "+Ze+"ms"+(this.options.easing?" "+this.options.easing:"")),css$1(we,"transform","translate3d(0,0,0)"),typeof we.animated=="number"&&clearTimeout(we.animated),we.animated=setTimeout(function(){css$1(we,"transition",""),css$1(we,"transform",""),we.animated=!1,we.animatingX=!1,we.animatingY=!1},Ze)}}}}function repaint(m){return m.offsetWidth}function calculateRealTime(m,c,ie,we){return Math.sqrt(Math.pow(c.top-m.top,2)+Math.pow(c.left-m.left,2))/Math.sqrt(Math.pow(c.top-ie.top,2)+Math.pow(c.left-ie.left,2))*we.animation}var plugins=[],defaults$3={initializeByDefault:!0},PluginManager={mount:function m(c){for(var ie in defaults$3)defaults$3.hasOwnProperty(ie)&&!(ie in c)&&(c[ie]=defaults$3[ie]);plugins.forEach(function(we){if(we.pluginName===c.pluginName)throw"Sortable: Cannot mount plugin ".concat(c.pluginName," more than once")}),plugins.push(c)},pluginEvent:function m(c,ie,we){var Ie=this;this.eventCanceled=!1,we.cancel=function(){Ie.eventCanceled=!0};var Me=c+"Global";plugins.forEach(function(Ze){!ie[Ze.pluginName]||(ie[Ze.pluginName][Me]&&ie[Ze.pluginName][Me](_objectSpread2({sortable:ie},we)),ie.options[Ze.pluginName]&&ie[Ze.pluginName][c]&&ie[Ze.pluginName][c](_objectSpread2({sortable:ie},we)))})},initializePlugins:function m(c,ie,we,Ie){plugins.forEach(function(ne){var rr=ne.pluginName;if(!(!c.options[rr]&&!ne.initializeByDefault)){var pr=new ne(c,ie,c.options);pr.sortable=c,pr.options=c.options,c[rr]=pr,_extends(we,pr.defaults)}});for(var Me in c.options)if(!!c.options.hasOwnProperty(Me)){var Ze=this.modifyOption(c,Me,c.options[Me]);typeof Ze<"u"&&(c.options[Me]=Ze)}},getEventProperties:function m(c,ie){var we={};return plugins.forEach(function(Ie){typeof Ie.eventProperties=="function"&&_extends(we,Ie.eventProperties.call(ie[Ie.pluginName],c))}),we},modifyOption:function m(c,ie,we){var Ie;return plugins.forEach(function(Me){!c[Me.pluginName]||Me.optionListeners&&typeof Me.optionListeners[ie]=="function"&&(Ie=Me.optionListeners[ie].call(c[Me.pluginName],we))}),Ie}};function dispatchEvent(m){var c=m.sortable,ie=m.rootEl,we=m.name,Ie=m.targetEl,Me=m.cloneEl,Ze=m.toEl,ne=m.fromEl,rr=m.oldIndex,pr=m.newIndex,lr=m.oldDraggableIndex,yr=m.newDraggableIndex,kr=m.originalEvent,Br=m.putSortable,Ar=m.extraEventProperties;if(c=c||ie&&ie[expando],!!c){var Pr,Nr=c.options,ei="on"+we.charAt(0).toUpperCase()+we.substr(1);window.CustomEvent&&!IE11OrLess&&!Edge?Pr=new CustomEvent(we,{bubbles:!0,cancelable:!0}):(Pr=document.createEvent("Event"),Pr.initEvent(we,!0,!0)),Pr.to=Ze||ie,Pr.from=ne||ie,Pr.item=Ie||ie,Pr.clone=Me,Pr.oldIndex=rr,Pr.newIndex=pr,Pr.oldDraggableIndex=lr,Pr.newDraggableIndex=yr,Pr.originalEvent=kr,Pr.pullMode=Br?Br.lastPutMode:void 0;var Vr=_objectSpread2(_objectSpread2({},Ar),PluginManager.getEventProperties(we,c));for(var Zr in Vr)Pr[Zr]=Vr[Zr];ie&&ie.dispatchEvent(Pr),Nr[ei]&&Nr[ei].call(c,Pr)}}var _excluded=["evt"],pluginEvent=function m(c,ie){var we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ie=we.evt,Me=_objectWithoutProperties(we,_excluded);PluginManager.pluginEvent.bind(Sortable)(c,ie,_objectSpread2({dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,dragStarted:moved,putSortable,activeSortable:Sortable.active,originalEvent:Ie,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function(){cloneHidden=!0},cloneNowShown:function(){cloneHidden=!1},dispatchSortableEvent:function(ne){_dispatchEvent({sortable:ie,name:ne,originalEvent:Ie})}},Me))};function _dispatchEvent(m){dispatchEvent(_objectSpread2({putSortable,cloneEl,targetEl:dragEl,rootEl,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex},m))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=!1,ignoreNextClick=!1,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=!1,isCircumstantialInvert=!1,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=!1,savedInputChecked=[],documentExists=typeof document<"u",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=function(){if(!!documentExists){if(IE11OrLess)return!1;var m=document.createElement("x");return m.style.cssText="pointer-events:auto",m.style.pointerEvents==="auto"}}(),_detectDirection=function m(c,ie){var we=css$1(c),Ie=parseInt(we.width)-parseInt(we.paddingLeft)-parseInt(we.paddingRight)-parseInt(we.borderLeftWidth)-parseInt(we.borderRightWidth),Me=getChild(c,0,ie),Ze=getChild(c,1,ie),ne=Me&&css$1(Me),rr=Ze&&css$1(Ze),pr=ne&&parseInt(ne.marginLeft)+parseInt(ne.marginRight)+getRect(Me).width,lr=rr&&parseInt(rr.marginLeft)+parseInt(rr.marginRight)+getRect(Ze).width;if(we.display==="flex")return we.flexDirection==="column"||we.flexDirection==="column-reverse"?"vertical":"horizontal";if(we.display==="grid")return we.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(Me&&ne.float&&ne.float!=="none"){var yr=ne.float==="left"?"left":"right";return Ze&&(rr.clear==="both"||rr.clear===yr)?"vertical":"horizontal"}return Me&&(ne.display==="block"||ne.display==="flex"||ne.display==="table"||ne.display==="grid"||pr>=Ie&&we[CSSFloatProperty]==="none"||Ze&&we[CSSFloatProperty]==="none"&&pr+lr>Ie)?"vertical":"horizontal"},_dragElInRowColumn=function m(c,ie,we){var Ie=we?c.left:c.top,Me=we?c.right:c.bottom,Ze=we?c.width:c.height,ne=we?ie.left:ie.top,rr=we?ie.right:ie.bottom,pr=we?ie.width:ie.height;return Ie===ne||Me===rr||Ie+Ze/2===ne+pr/2},_detectNearestEmptySortable=function m(c,ie){var we;return sortables.some(function(Ie){var Me=Ie[expando].options.emptyInsertThreshold;if(!(!Me||lastChild(Ie))){var Ze=getRect(Ie),ne=c>=Ze.left-Me&&c<=Ze.right+Me,rr=ie>=Ze.top-Me&&ie<=Ze.bottom+Me;if(ne&&rr)return we=Ie}}),we},_prepareGroup=function m(c){function ie(Me,Ze){return function(ne,rr,pr,lr){var yr=ne.options.group.name&&rr.options.group.name&&ne.options.group.name===rr.options.group.name;if(Me==null&&(Ze||yr))return!0;if(Me==null||Me===!1)return!1;if(Ze&&Me==="clone")return Me;if(typeof Me=="function")return ie(Me(ne,rr,pr,lr),Ze)(ne,rr,pr,lr);var kr=(Ze?ne:rr).options.group.name;return Me===!0||typeof Me=="string"&&Me===kr||Me.join&&Me.indexOf(kr)>-1}}var we={},Ie=c.group;(!Ie||_typeof(Ie)!="object")&&(Ie={name:Ie}),we.name=Ie.name,we.checkPull=ie(Ie.pull,!0),we.checkPut=ie(Ie.put),we.revertClone=Ie.revertClone,c.group=we},_hideGhostForTarget=function m(){!supportCssPointerEvents&&ghostEl&&css$1(ghostEl,"display","none")},_unhideGhostForTarget=function m(){!supportCssPointerEvents&&ghostEl&&css$1(ghostEl,"display","")};documentExists&&!ChromeForAndroid&&document.addEventListener("click",function(m){if(ignoreNextClick)return m.preventDefault(),m.stopPropagation&&m.stopPropagation(),m.stopImmediatePropagation&&m.stopImmediatePropagation(),ignoreNextClick=!1,!1},!0);var nearestEmptyInsertDetectEvent=function m(c){if(dragEl){c=c.touches?c.touches[0]:c;var ie=_detectNearestEmptySortable(c.clientX,c.clientY);if(ie){var we={};for(var Ie in c)c.hasOwnProperty(Ie)&&(we[Ie]=c[Ie]);we.target=we.rootEl=ie,we.preventDefault=void 0,we.stopPropagation=void 0,ie[expando]._onDragOver(we)}}},_checkOutsideTargetEl=function m(c){dragEl&&dragEl.parentNode[expando]._isOutsideThisEl(c.target)};function Sortable(m,c){if(!(m&&m.nodeType&&m.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(m));this.el=m,this.options=c=_extends({},c),m[expando]=this;var ie={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(m.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection(m,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(Ze,ne){Ze.setData("Text",ne.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==!1&&"PointerEvent"in window&&(!Safari||IOS),emptyInsertThreshold:5};PluginManager.initializePlugins(this,m,ie);for(var we in ie)!(we in c)&&(c[we]=ie[we]);_prepareGroup(c);for(var Ie in this)Ie.charAt(0)==="_"&&typeof this[Ie]=="function"&&(this[Ie]=this[Ie].bind(this));this.nativeDraggable=c.forceFallback?!1:supportDraggable,this.nativeDraggable&&(this.options.touchStartThreshold=1),c.supportPointer?on(m,"pointerdown",this._onTapStart):(on(m,"mousedown",this._onTapStart),on(m,"touchstart",this._onTapStart)),this.nativeDraggable&&(on(m,"dragover",this),on(m,"dragenter",this)),sortables.push(this.el),c.store&&c.store.get&&this.sort(c.store.get(this)||[]),_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function m(c){!this.el.contains(c)&&c!==this.el&&(lastTarget=null)},_getDirection:function m(c,ie){return typeof this.options.direction=="function"?this.options.direction.call(this,c,ie,dragEl):this.options.direction},_onTapStart:function m(c){if(!!c.cancelable){var ie=this,we=this.el,Ie=this.options,Me=Ie.preventOnFilter,Ze=c.type,ne=c.touches&&c.touches[0]||c.pointerType&&c.pointerType==="touch"&&c,rr=(ne||c).target,pr=c.target.shadowRoot&&(c.path&&c.path[0]||c.composedPath&&c.composedPath()[0])||rr,lr=Ie.filter;if(_saveInputCheckedState(we),!dragEl&&!(/mousedown|pointerdown/.test(Ze)&&c.button!==0||Ie.disabled)&&!pr.isContentEditable&&!(!this.nativeDraggable&&Safari&&rr&&rr.tagName.toUpperCase()==="SELECT")&&(rr=closest(rr,Ie.draggable,we,!1),!(rr&&rr.animated)&&lastDownEl!==rr)){if(oldIndex=index(rr),oldDraggableIndex=index(rr,Ie.draggable),typeof lr=="function"){if(lr.call(this,c,rr,this)){_dispatchEvent({sortable:ie,rootEl:pr,name:"filter",targetEl:rr,toEl:we,fromEl:we}),pluginEvent("filter",ie,{evt:c}),Me&&c.preventDefault();return}}else if(lr&&(lr=lr.split(",").some(function(yr){if(yr=closest(pr,yr.trim(),we,!1),yr)return _dispatchEvent({sortable:ie,rootEl:yr,name:"filter",targetEl:rr,fromEl:we,toEl:we}),pluginEvent("filter",ie,{evt:c}),!0}),lr)){Me&&c.preventDefault();return}Ie.handle&&!closest(pr,Ie.handle,we,!1)||this._prepareDragStart(c,ne,rr)}}},_prepareDragStart:function m(c,ie,we){var Ie=this,Me=Ie.el,Ze=Ie.options,ne=Me.ownerDocument,rr;if(we&&!dragEl&&we.parentNode===Me){var pr=getRect(we);if(rootEl=Me,dragEl=we,parentEl=dragEl.parentNode,nextEl=dragEl.nextSibling,lastDownEl=we,activeGroup=Ze.group,Sortable.dragged=dragEl,tapEvt={target:dragEl,clientX:(ie||c).clientX,clientY:(ie||c).clientY},tapDistanceLeft=tapEvt.clientX-pr.left,tapDistanceTop=tapEvt.clientY-pr.top,this._lastX=(ie||c).clientX,this._lastY=(ie||c).clientY,dragEl.style["will-change"]="all",rr=function(){if(pluginEvent("delayEnded",Ie,{evt:c}),Sortable.eventCanceled){Ie._onDrop();return}Ie._disableDelayedDragEvents(),!FireFox&&Ie.nativeDraggable&&(dragEl.draggable=!0),Ie._triggerDragStart(c,ie),_dispatchEvent({sortable:Ie,name:"choose",originalEvent:c}),toggleClass(dragEl,Ze.chosenClass,!0)},Ze.ignore.split(",").forEach(function(lr){find(dragEl,lr.trim(),_disableDraggable)}),on(ne,"dragover",nearestEmptyInsertDetectEvent),on(ne,"mousemove",nearestEmptyInsertDetectEvent),on(ne,"touchmove",nearestEmptyInsertDetectEvent),Ze.supportPointer?(on(ne,"pointerup",Ie._onDrop),!this.nativeDraggable&&on(ne,"pointercancel",Ie._onDrop)):(on(ne,"mouseup",Ie._onDrop),on(ne,"touchend",Ie._onDrop),on(ne,"touchcancel",Ie._onDrop)),FireFox&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl.draggable=!0),pluginEvent("delayStart",this,{evt:c}),Ze.delay&&(!Ze.delayOnTouchOnly||ie)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}Ze.supportPointer?(on(ne,"pointerup",Ie._disableDelayedDrag),on(ne,"pointercancel",Ie._disableDelayedDrag)):(on(ne,"mouseup",Ie._disableDelayedDrag),on(ne,"touchend",Ie._disableDelayedDrag),on(ne,"touchcancel",Ie._disableDelayedDrag)),on(ne,"mousemove",Ie._delayedDragTouchMoveHandler),on(ne,"touchmove",Ie._delayedDragTouchMoveHandler),Ze.supportPointer&&on(ne,"pointermove",Ie._delayedDragTouchMoveHandler),Ie._dragStartTimer=setTimeout(rr,Ze.delay)}else rr()}},_delayedDragTouchMoveHandler:function m(c){var ie=c.touches?c.touches[0]:c;Math.max(Math.abs(ie.clientX-this._lastX),Math.abs(ie.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function m(){dragEl&&_disableDraggable(dragEl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function m(){var c=this.el.ownerDocument;off(c,"mouseup",this._disableDelayedDrag),off(c,"touchend",this._disableDelayedDrag),off(c,"touchcancel",this._disableDelayedDrag),off(c,"pointerup",this._disableDelayedDrag),off(c,"pointercancel",this._disableDelayedDrag),off(c,"mousemove",this._delayedDragTouchMoveHandler),off(c,"touchmove",this._delayedDragTouchMoveHandler),off(c,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function m(c,ie){ie=ie||c.pointerType=="touch"&&c,!this.nativeDraggable||ie?this.options.supportPointer?on(document,"pointermove",this._onTouchMove):ie?on(document,"touchmove",this._onTouchMove):on(document,"mousemove",this._onTouchMove):(on(dragEl,"dragend",this),on(rootEl,"dragstart",this._onDragStart));try{document.selection?_nextTick(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function m(c,ie){if(awaitingDragStarted=!1,rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:ie}),this.nativeDraggable&&on(document,"dragover",_checkOutsideTargetEl);var we=this.options;!c&&toggleClass(dragEl,we.dragClass,!1),toggleClass(dragEl,we.ghostClass,!0),Sortable.active=this,c&&this._appendGhost(),_dispatchEvent({sortable:this,name:"start",originalEvent:ie})}else this._nulling()},_emulateDragOver:function m(){if(touchEvt){this._lastX=touchEvt.clientX,this._lastY=touchEvt.clientY,_hideGhostForTarget();for(var c=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY),ie=c;c&&c.shadowRoot&&(c=c.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY),c!==ie);)ie=c;if(dragEl.parentNode[expando]._isOutsideThisEl(c),ie)do{if(ie[expando]){var we=void 0;if(we=ie[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:c,rootEl:ie}),we&&!this.options.dragoverBubble)break}c=ie}while(ie=getParentOrHost(ie));_unhideGhostForTarget()}},_onTouchMove:function m(c){if(tapEvt){var ie=this.options,we=ie.fallbackTolerance,Ie=ie.fallbackOffset,Me=c.touches?c.touches[0]:c,Ze=ghostEl&&matrix(ghostEl,!0),ne=ghostEl&&Ze&&Ze.a,rr=ghostEl&&Ze&&Ze.d,pr=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),lr=(Me.clientX-tapEvt.clientX+Ie.x)/(ne||1)+(pr?pr[0]-ghostRelativeParentInitialScroll[0]:0)/(ne||1),yr=(Me.clientY-tapEvt.clientY+Ie.y)/(rr||1)+(pr?pr[1]-ghostRelativeParentInitialScroll[1]:0)/(rr||1);if(!Sortable.active&&!awaitingDragStarted){if(we&&Math.max(Math.abs(Me.clientX-this._lastX),Math.abs(Me.clientY-this._lastY))<we)return;this._onDragStart(c,!0)}if(ghostEl){Ze?(Ze.e+=lr-(lastDx||0),Ze.f+=yr-(lastDy||0)):Ze={a:1,b:0,c:0,d:1,e:lr,f:yr};var kr="matrix(".concat(Ze.a,",").concat(Ze.b,",").concat(Ze.c,",").concat(Ze.d,",").concat(Ze.e,",").concat(Ze.f,")");css$1(ghostEl,"webkitTransform",kr),css$1(ghostEl,"mozTransform",kr),css$1(ghostEl,"msTransform",kr),css$1(ghostEl,"transform",kr),lastDx=lr,lastDy=yr,touchEvt=Me}c.cancelable&&c.preventDefault()}},_appendGhost:function m(){if(!ghostEl){var c=this.options.fallbackOnBody?document.body:rootEl,ie=getRect(dragEl,!0,PositionGhostAbsolutely,!0,c),we=this.options;if(PositionGhostAbsolutely){for(ghostRelativeParent=c;css$1(ghostRelativeParent,"position")==="static"&&css$1(ghostRelativeParent,"transform")==="none"&&ghostRelativeParent!==document;)ghostRelativeParent=ghostRelativeParent.parentNode;ghostRelativeParent!==document.body&&ghostRelativeParent!==document.documentElement?(ghostRelativeParent===document&&(ghostRelativeParent=getWindowScrollingElement()),ie.top+=ghostRelativeParent.scrollTop,ie.left+=ghostRelativeParent.scrollLeft):ghostRelativeParent=getWindowScrollingElement(),ghostRelativeParentInitialScroll=getRelativeScrollOffset(ghostRelativeParent)}ghostEl=dragEl.cloneNode(!0),toggleClass(ghostEl,we.ghostClass,!1),toggleClass(ghostEl,we.fallbackClass,!0),toggleClass(ghostEl,we.dragClass,!0),css$1(ghostEl,"transition",""),css$1(ghostEl,"transform",""),css$1(ghostEl,"box-sizing","border-box"),css$1(ghostEl,"margin",0),css$1(ghostEl,"top",ie.top),css$1(ghostEl,"left",ie.left),css$1(ghostEl,"width",ie.width),css$1(ghostEl,"height",ie.height),css$1(ghostEl,"opacity","0.8"),css$1(ghostEl,"position",PositionGhostAbsolutely?"absolute":"fixed"),css$1(ghostEl,"zIndex","100000"),css$1(ghostEl,"pointerEvents","none"),Sortable.ghost=ghostEl,c.appendChild(ghostEl),css$1(ghostEl,"transform-origin",tapDistanceLeft/parseInt(ghostEl.style.width)*100+"% "+tapDistanceTop/parseInt(ghostEl.style.height)*100+"%")}},_onDragStart:function m(c,ie){var we=this,Ie=c.dataTransfer,Me=we.options;if(pluginEvent("dragStart",this,{evt:c}),Sortable.eventCanceled){this._onDrop();return}pluginEvent("setupClone",this),Sortable.eventCanceled||(cloneEl=clone(dragEl),cloneEl.removeAttribute("id"),cloneEl.draggable=!1,cloneEl.style["will-change"]="",this._hideClone(),toggleClass(cloneEl,this.options.chosenClass,!1),Sortable.clone=cloneEl),we.cloneId=_nextTick(function(){pluginEvent("clone",we),!Sortable.eventCanceled&&(we.options.removeCloneOnHide||rootEl.insertBefore(cloneEl,dragEl),we._hideClone(),_dispatchEvent({sortable:we,name:"clone"}))}),!ie&&toggleClass(dragEl,Me.dragClass,!0),ie?(ignoreNextClick=!0,we._loopId=setInterval(we._emulateDragOver,50)):(off(document,"mouseup",we._onDrop),off(document,"touchend",we._onDrop),off(document,"touchcancel",we._onDrop),Ie&&(Ie.effectAllowed="move",Me.setData&&Me.setData.call(we,Ie,dragEl)),on(document,"drop",we),css$1(dragEl,"transform","translateZ(0)")),awaitingDragStarted=!0,we._dragStartId=_nextTick(we._dragStarted.bind(we,ie,c)),on(document,"selectstart",we),moved=!0,window.getSelection().removeAllRanges(),Safari&&css$1(document.body,"user-select","none")},_onDragOver:function m(c){var ie=this.el,we=c.target,Ie,Me,Ze,ne=this.options,rr=ne.group,pr=Sortable.active,lr=activeGroup===rr,yr=ne.sort,kr=putSortable||pr,Br,Ar=this,Pr=!1;if(_silent)return;function Nr(br,nr){pluginEvent(br,Ar,_objectSpread2({evt:c,isOwner:lr,axis:Br?"vertical":"horizontal",revert:Ze,dragRect:Ie,targetRect:Me,canSort:yr,fromSortable:kr,target:we,completed:Vr,onMove:function(ur,$r){return _onMove(rootEl,ie,dragEl,Ie,ur,getRect(ur),c,$r)},changed:Zr},nr))}function ei(){Nr("dragOverAnimationCapture"),Ar.captureAnimationState(),Ar!==kr&&kr.captureAnimationState()}function Vr(br){return Nr("dragOverCompleted",{insertion:br}),br&&(lr?pr._hideClone():pr._showClone(Ar),Ar!==kr&&(toggleClass(dragEl,putSortable?putSortable.options.ghostClass:pr.options.ghostClass,!1),toggleClass(dragEl,ne.ghostClass,!0)),putSortable!==Ar&&Ar!==Sortable.active?putSortable=Ar:Ar===Sortable.active&&putSortable&&(putSortable=null),kr===Ar&&(Ar._ignoreWhileAnimating=we),Ar.animateAll(function(){Nr("dragOverAnimationComplete"),Ar._ignoreWhileAnimating=null}),Ar!==kr&&(kr.animateAll(),kr._ignoreWhileAnimating=null)),(we===dragEl&&!dragEl.animated||we===ie&&!we.animated)&&(lastTarget=null),!ne.dragoverBubble&&!c.rootEl&&we!==document&&(dragEl.parentNode[expando]._isOutsideThisEl(c.target),!br&&nearestEmptyInsertDetectEvent(c)),!ne.dragoverBubble&&c.stopPropagation&&c.stopPropagation(),Pr=!0}function Zr(){newIndex=index(dragEl),newDraggableIndex=index(dragEl,ne.draggable),_dispatchEvent({sortable:Ar,name:"change",toEl:ie,newIndex,newDraggableIndex,originalEvent:c})}if(c.preventDefault!==void 0&&c.cancelable&&c.preventDefault(),we=closest(we,ne.draggable,ie,!0),Nr("dragOver"),Sortable.eventCanceled)return Pr;if(dragEl.contains(c.target)||we.animated&&we.animatingX&&we.animatingY||Ar._ignoreWhileAnimating===we)return Vr(!1);if(ignoreNextClick=!1,pr&&!ne.disabled&&(lr?yr||(Ze=parentEl!==rootEl):putSortable===this||(this.lastPutMode=activeGroup.checkPull(this,pr,dragEl,c))&&rr.checkPut(this,pr,dragEl,c))){if(Br=this._getDirection(c,we)==="vertical",Ie=getRect(dragEl),Nr("dragOverValid"),Sortable.eventCanceled)return Pr;if(Ze)return parentEl=rootEl,ei(),this._hideClone(),Nr("revert"),Sortable.eventCanceled||(nextEl?rootEl.insertBefore(dragEl,nextEl):rootEl.appendChild(dragEl)),Vr(!0);var Wr=lastChild(ie,ne.draggable);if(!Wr||_ghostIsLast(c,Br,this)&&!Wr.animated){if(Wr===dragEl)return Vr(!1);if(Wr&&ie===c.target&&(we=Wr),we&&(Me=getRect(we)),_onMove(rootEl,ie,dragEl,Ie,we,Me,c,!!we)!==!1)return ei(),Wr&&Wr.nextSibling?ie.insertBefore(dragEl,Wr.nextSibling):ie.appendChild(dragEl),parentEl=ie,Zr(),Vr(!0)}else if(Wr&&_ghostIsFirst(c,Br,this)){var ai=getChild(ie,0,ne,!0);if(ai===dragEl)return Vr(!1);if(we=ai,Me=getRect(we),_onMove(rootEl,ie,dragEl,Ie,we,Me,c,!1)!==!1)return ei(),ie.insertBefore(dragEl,ai),parentEl=ie,Zr(),Vr(!0)}else if(we.parentNode===ie){Me=getRect(we);var ui=0,di,fi=dragEl.parentNode!==ie,li=!_dragElInRowColumn(dragEl.animated&&dragEl.toRect||Ie,we.animated&&we.toRect||Me,Br),hi=Br?"top":"left",gr=isScrolledPast(we,"top","top")||isScrolledPast(dragEl,"top","top"),Ae=gr?gr.scrollTop:void 0;lastTarget!==we&&(di=Me[hi],pastFirstInvertThresh=!1,isCircumstantialInvert=!li&&ne.invertSwap||fi),ui=_getSwapDirection(c,we,Me,Br,li?1:ne.swapThreshold,ne.invertedSwapThreshold==null?ne.swapThreshold:ne.invertedSwapThreshold,isCircumstantialInvert,lastTarget===we);var ze;if(ui!==0){var Ue=index(dragEl);do Ue-=ui,ze=parentEl.children[Ue];while(ze&&(css$1(ze,"display")==="none"||ze===ghostEl))}if(ui===0||ze===we)return Vr(!1);lastTarget=we,lastDirection=ui;var tr=we.nextElementSibling,or=!1;or=ui===1;var vr=_onMove(rootEl,ie,dragEl,Ie,we,Me,c,or);if(vr!==!1)return(vr===1||vr===-1)&&(or=vr===1),_silent=!0,setTimeout(_unsilent,30),ei(),or&&!tr?ie.appendChild(dragEl):we.parentNode.insertBefore(dragEl,or?tr:we),gr&&scrollBy(gr,0,Ae-gr.scrollTop),parentEl=dragEl.parentNode,di!==void 0&&!isCircumstantialInvert&&(targetMoveDistance=Math.abs(di-getRect(we)[hi])),Zr(),Vr(!0)}if(ie.contains(dragEl))return Vr(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function m(){off(document,"mousemove",this._onTouchMove),off(document,"touchmove",this._onTouchMove),off(document,"pointermove",this._onTouchMove),off(document,"dragover",nearestEmptyInsertDetectEvent),off(document,"mousemove",nearestEmptyInsertDetectEvent),off(document,"touchmove",nearestEmptyInsertDetectEvent)},_offUpEvents:function m(){var c=this.el.ownerDocument;off(c,"mouseup",this._onDrop),off(c,"touchend",this._onDrop),off(c,"pointerup",this._onDrop),off(c,"pointercancel",this._onDrop),off(c,"touchcancel",this._onDrop),off(document,"selectstart",this)},_onDrop:function m(c){var ie=this.el,we=this.options;if(newIndex=index(dragEl),newDraggableIndex=index(dragEl,we.draggable),pluginEvent("drop",this,{evt:c}),parentEl=dragEl&&dragEl.parentNode,newIndex=index(dragEl),newDraggableIndex=index(dragEl,we.draggable),Sortable.eventCanceled){this._nulling();return}awaitingDragStarted=!1,isCircumstantialInvert=!1,pastFirstInvertThresh=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),_cancelNextTick(this.cloneId),_cancelNextTick(this._dragStartId),this.nativeDraggable&&(off(document,"drop",this),off(ie,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Safari&&css$1(document.body,"user-select",""),css$1(dragEl,"transform",""),c&&(moved&&(c.cancelable&&c.preventDefault(),!we.dropBubble&&c.stopPropagation()),ghostEl&&ghostEl.parentNode&&ghostEl.parentNode.removeChild(ghostEl),(rootEl===parentEl||putSortable&&putSortable.lastPutMode!=="clone")&&cloneEl&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),dragEl&&(this.nativeDraggable&&off(dragEl,"dragend",this),_disableDraggable(dragEl),dragEl.style["will-change"]="",moved&&!awaitingDragStarted&&toggleClass(dragEl,putSortable?putSortable.options.ghostClass:this.options.ghostClass,!1),toggleClass(dragEl,this.options.chosenClass,!1),_dispatchEvent({sortable:this,name:"unchoose",toEl:parentEl,newIndex:null,newDraggableIndex:null,originalEvent:c}),rootEl!==parentEl?(newIndex>=0&&(_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:c}),_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:c}),_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:c}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:c})),putSortable&&putSortable.save()):newIndex!==oldIndex&&newIndex>=0&&(_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:c}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:c})),Sortable.active&&((newIndex==null||newIndex===-1)&&(newIndex=oldIndex,newDraggableIndex=oldDraggableIndex),_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:c}),this.save()))),this._nulling()},_nulling:function m(){pluginEvent("nulling",this),rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null,savedInputChecked.forEach(function(c){c.checked=!0}),savedInputChecked.length=lastDx=lastDy=0},handleEvent:function m(c){switch(c.type){case"drop":case"dragend":this._onDrop(c);break;case"dragenter":case"dragover":dragEl&&(this._onDragOver(c),_globalDragOver(c));break;case"selectstart":c.preventDefault();break}},toArray:function m(){for(var c=[],ie,we=this.el.children,Ie=0,Me=we.length,Ze=this.options;Ie<Me;Ie++)ie=we[Ie],closest(ie,Ze.draggable,this.el,!1)&&c.push(ie.getAttribute(Ze.dataIdAttr)||_generateId(ie));return c},sort:function m(c,ie){var we={},Ie=this.el;this.toArray().forEach(function(Me,Ze){var ne=Ie.children[Ze];closest(ne,this.options.draggable,Ie,!1)&&(we[Me]=ne)},this),ie&&this.captureAnimationState(),c.forEach(function(Me){we[Me]&&(Ie.removeChild(we[Me]),Ie.appendChild(we[Me]))}),ie&&this.animateAll()},save:function m(){var c=this.options.store;c&&c.set&&c.set(this)},closest:function m(c,ie){return closest(c,ie||this.options.draggable,this.el,!1)},option:function m(c,ie){var we=this.options;if(ie===void 0)return we[c];var Ie=PluginManager.modifyOption(this,c,ie);typeof Ie<"u"?we[c]=Ie:we[c]=ie,c==="group"&&_prepareGroup(we)},destroy:function m(){pluginEvent("destroy",this);var c=this.el;c[expando]=null,off(c,"mousedown",this._onTapStart),off(c,"touchstart",this._onTapStart),off(c,"pointerdown",this._onTapStart),this.nativeDraggable&&(off(c,"dragover",this),off(c,"dragenter",this)),Array.prototype.forEach.call(c.querySelectorAll("[draggable]"),function(ie){ie.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),sortables.splice(sortables.indexOf(this.el),1),this.el=c=null},_hideClone:function m(){if(!cloneHidden){if(pluginEvent("hideClone",this),Sortable.eventCanceled)return;css$1(cloneEl,"display","none"),this.options.removeCloneOnHide&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),cloneHidden=!0}},_showClone:function m(c){if(c.lastPutMode!=="clone"){this._hideClone();return}if(cloneHidden){if(pluginEvent("showClone",this),Sortable.eventCanceled)return;dragEl.parentNode==rootEl&&!this.options.group.revertClone?rootEl.insertBefore(cloneEl,dragEl):nextEl?rootEl.insertBefore(cloneEl,nextEl):rootEl.appendChild(cloneEl),this.options.group.revertClone&&this.animate(dragEl,cloneEl),css$1(cloneEl,"display",""),cloneHidden=!1}}};function _globalDragOver(m){m.dataTransfer&&(m.dataTransfer.dropEffect="move"),m.cancelable&&m.preventDefault()}function _onMove(m,c,ie,we,Ie,Me,Ze,ne){var rr,pr=m[expando],lr=pr.options.onMove,yr;return window.CustomEvent&&!IE11OrLess&&!Edge?rr=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(rr=document.createEvent("Event"),rr.initEvent("move",!0,!0)),rr.to=c,rr.from=m,rr.dragged=ie,rr.draggedRect=we,rr.related=Ie||c,rr.relatedRect=Me||getRect(c),rr.willInsertAfter=ne,rr.originalEvent=Ze,m.dispatchEvent(rr),lr&&(yr=lr.call(pr,rr,Ze)),yr}function _disableDraggable(m){m.draggable=!1}function _unsilent(){_silent=!1}function _ghostIsFirst(m,c,ie){var we=getRect(getChild(ie.el,0,ie.options,!0)),Ie=getChildContainingRectFromElement(ie.el,ie.options,ghostEl),Me=10;return c?m.clientX<Ie.left-Me||m.clientY<we.top&&m.clientX<we.right:m.clientY<Ie.top-Me||m.clientY<we.bottom&&m.clientX<we.left}function _ghostIsLast(m,c,ie){var we=getRect(lastChild(ie.el,ie.options.draggable)),Ie=getChildContainingRectFromElement(ie.el,ie.options,ghostEl),Me=10;return c?m.clientX>Ie.right+Me||m.clientY>we.bottom&&m.clientX>we.left:m.clientY>Ie.bottom+Me||m.clientX>we.right&&m.clientY>we.top}function _getSwapDirection(m,c,ie,we,Ie,Me,Ze,ne){var rr=we?m.clientY:m.clientX,pr=we?ie.height:ie.width,lr=we?ie.top:ie.left,yr=we?ie.bottom:ie.right,kr=!1;if(!Ze){if(ne&&targetMoveDistance<pr*Ie){if(!pastFirstInvertThresh&&(lastDirection===1?rr>lr+pr*Me/2:rr<yr-pr*Me/2)&&(pastFirstInvertThresh=!0),pastFirstInvertThresh)kr=!0;else if(lastDirection===1?rr<lr+targetMoveDistance:rr>yr-targetMoveDistance)return-lastDirection}else if(rr>lr+pr*(1-Ie)/2&&rr<yr-pr*(1-Ie)/2)return _getInsertDirection(c)}return kr=kr||Ze,kr&&(rr<lr+pr*Me/2||rr>yr-pr*Me/2)?rr>lr+pr/2?1:-1:0}function _getInsertDirection(m){return index(dragEl)<index(m)?1:-1}function _generateId(m){for(var c=m.tagName+m.className+m.src+m.href+m.textContent,ie=c.length,we=0;ie--;)we+=c.charCodeAt(ie);return we.toString(36)}function _saveInputCheckedState(m){savedInputChecked.length=0;for(var c=m.getElementsByTagName("input"),ie=c.length;ie--;){var we=c[ie];we.checked&&savedInputChecked.push(we)}}function _nextTick(m){return setTimeout(m,0)}function _cancelNextTick(m){return clearTimeout(m)}documentExists&&on(document,"touchmove",function(m){(Sortable.active||awaitingDragStarted)&&m.cancelable&&m.preventDefault()}),Sortable.utils={on,off,css:css$1,find,is:function m(c,ie){return!!closest(c,ie,c,!1)},extend:extend$3,throttle,closest,toggleClass,clone,index,nextTick:_nextTick,cancelNextTick:_cancelNextTick,detectDirection:_detectDirection,getChild,expando},Sortable.get=function(m){return m[expando]},Sortable.mount=function(){for(var m=arguments.length,c=new Array(m),ie=0;ie<m;ie++)c[ie]=arguments[ie];c[0].constructor===Array&&(c=c[0]),c.forEach(function(we){if(!we.prototype||!we.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(we));we.utils&&(Sortable.utils=_objectSpread2(_objectSpread2({},Sortable.utils),we.utils)),PluginManager.mount(we)})},Sortable.create=function(m,c){return new Sortable(m,c)},Sortable.version=version;var autoScrolls=[],scrollEl,scrollRootEl,scrolling=!1,lastAutoScrollX,lastAutoScrollY,touchEvt$1,pointerElemChangedInterval;function AutoScrollPlugin(){function m(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var c in this)c.charAt(0)==="_"&&typeof this[c]=="function"&&(this[c]=this[c].bind(this))}return m.prototype={dragStarted:function(ie){var we=ie.originalEvent;this.sortable.nativeDraggable?on(document,"dragover",this._handleAutoScroll):this.options.supportPointer?on(document,"pointermove",this._handleFallbackAutoScroll):we.touches?on(document,"touchmove",this._handleFallbackAutoScroll):on(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(ie){var we=ie.originalEvent;!this.options.dragOverBubble&&!we.rootEl&&this._handleAutoScroll(we)},drop:function(){this.sortable.nativeDraggable?off(document,"dragover",this._handleAutoScroll):(off(document,"pointermove",this._handleFallbackAutoScroll),off(document,"touchmove",this._handleFallbackAutoScroll),off(document,"mousemove",this._handleFallbackAutoScroll)),clearPointerElemChangedInterval(),clearAutoScrolls(),cancelThrottle()},nulling:function(){touchEvt$1=scrollRootEl=scrollEl=scrolling=pointerElemChangedInterval=lastAutoScrollX=lastAutoScrollY=null,autoScrolls.length=0},_handleFallbackAutoScroll:function(ie){this._handleAutoScroll(ie,!0)},_handleAutoScroll:function(ie,we){var Ie=this,Me=(ie.touches?ie.touches[0]:ie).clientX,Ze=(ie.touches?ie.touches[0]:ie).clientY,ne=document.elementFromPoint(Me,Ze);if(touchEvt$1=ie,we||this.options.forceAutoScrollFallback||Edge||IE11OrLess||Safari){autoScroll(ie,this.options,ne,we);var rr=getParentAutoScrollElement(ne,!0);scrolling&&(!pointerElemChangedInterval||Me!==lastAutoScrollX||Ze!==lastAutoScrollY)&&(pointerElemChangedInterval&&clearPointerElemChangedInterval(),pointerElemChangedInterval=setInterval(function(){var pr=getParentAutoScrollElement(document.elementFromPoint(Me,Ze),!0);pr!==rr&&(rr=pr,clearAutoScrolls()),autoScroll(ie,Ie.options,pr,we)},10),lastAutoScrollX=Me,lastAutoScrollY=Ze)}else{if(!this.options.bubbleScroll||getParentAutoScrollElement(ne,!0)===getWindowScrollingElement()){clearAutoScrolls();return}autoScroll(ie,this.options,getParentAutoScrollElement(ne,!1),!1)}}},_extends(m,{pluginName:"scroll",initializeByDefault:!0})}function clearAutoScrolls(){autoScrolls.forEach(function(m){clearInterval(m.pid)}),autoScrolls=[]}function clearPointerElemChangedInterval(){clearInterval(pointerElemChangedInterval)}var autoScroll=throttle(function(m,c,ie,we){if(!!c.scroll){var Ie=(m.touches?m.touches[0]:m).clientX,Me=(m.touches?m.touches[0]:m).clientY,Ze=c.scrollSensitivity,ne=c.scrollSpeed,rr=getWindowScrollingElement(),pr=!1,lr;scrollRootEl!==ie&&(scrollRootEl=ie,clearAutoScrolls(),scrollEl=c.scroll,lr=c.scrollFn,scrollEl===!0&&(scrollEl=getParentAutoScrollElement(ie,!0)));var yr=0,kr=scrollEl;do{var Br=kr,Ar=getRect(Br),Pr=Ar.top,Nr=Ar.bottom,ei=Ar.left,Vr=Ar.right,Zr=Ar.width,Wr=Ar.height,ai=void 0,ui=void 0,di=Br.scrollWidth,fi=Br.scrollHeight,li=css$1(Br),hi=Br.scrollLeft,gr=Br.scrollTop;Br===rr?(ai=Zr<di&&(li.overflowX==="auto"||li.overflowX==="scroll"||li.overflowX==="visible"),ui=Wr<fi&&(li.overflowY==="auto"||li.overflowY==="scroll"||li.overflowY==="visible")):(ai=Zr<di&&(li.overflowX==="auto"||li.overflowX==="scroll"),ui=Wr<fi&&(li.overflowY==="auto"||li.overflowY==="scroll"));var Ae=ai&&(Math.abs(Vr-Ie)<=Ze&&hi+Zr<di)-(Math.abs(ei-Ie)<=Ze&&!!hi),ze=ui&&(Math.abs(Nr-Me)<=Ze&&gr+Wr<fi)-(Math.abs(Pr-Me)<=Ze&&!!gr);if(!autoScrolls[yr])for(var Ue=0;Ue<=yr;Ue++)autoScrolls[Ue]||(autoScrolls[Ue]={});(autoScrolls[yr].vx!=Ae||autoScrolls[yr].vy!=ze||autoScrolls[yr].el!==Br)&&(autoScrolls[yr].el=Br,autoScrolls[yr].vx=Ae,autoScrolls[yr].vy=ze,clearInterval(autoScrolls[yr].pid),(Ae!=0||ze!=0)&&(pr=!0,autoScrolls[yr].pid=setInterval(function(){we&&this.layer===0&&Sortable.active._onTouchMove(touchEvt$1);var tr=autoScrolls[this.layer].vy?autoScrolls[this.layer].vy*ne:0,or=autoScrolls[this.layer].vx?autoScrolls[this.layer].vx*ne:0;typeof lr=="function"&&lr.call(Sortable.dragged.parentNode[expando],or,tr,m,touchEvt$1,autoScrolls[this.layer].el)!=="continue"||scrollBy(autoScrolls[this.layer].el,or,tr)}.bind({layer:yr}),24))),yr++}while(c.bubbleScroll&&kr!==rr&&(kr=getParentAutoScrollElement(kr,!1)));scrolling=pr}},30),drop=function m(c){var ie=c.originalEvent,we=c.putSortable,Ie=c.dragEl,Me=c.activeSortable,Ze=c.dispatchSortableEvent,ne=c.hideGhostForTarget,rr=c.unhideGhostForTarget;if(!!ie){var pr=we||Me;ne();var lr=ie.changedTouches&&ie.changedTouches.length?ie.changedTouches[0]:ie,yr=document.elementFromPoint(lr.clientX,lr.clientY);rr(),pr&&!pr.el.contains(yr)&&(Ze("spill"),this.onSpill({dragEl:Ie,putSortable:we}))}};function Revert(){}Revert.prototype={startIndex:null,dragStart:function m(c){var ie=c.oldDraggableIndex;this.startIndex=ie},onSpill:function m(c){var ie=c.dragEl,we=c.putSortable;this.sortable.captureAnimationState(),we&&we.captureAnimationState();var Ie=getChild(this.sortable.el,this.startIndex,this.options);Ie?this.sortable.el.insertBefore(ie,Ie):this.sortable.el.appendChild(ie),this.sortable.animateAll(),we&&we.animateAll()},drop},_extends(Revert,{pluginName:"revertOnSpill"});function Remove(){}Remove.prototype={onSpill:function m(c){var ie=c.dragEl,we=c.putSortable,Ie=we||this.sortable;Ie.captureAnimationState(),ie.parentNode&&ie.parentNode.removeChild(ie),Ie.animateAll()},drop},_extends(Remove,{pluginName:"removeOnSpill"});var lastSwapEl;function SwapPlugin(){function m(){this.defaults={swapClass:"sortable-swap-highlight"}}return m.prototype={dragStart:function(ie){var we=ie.dragEl;lastSwapEl=we},dragOverValid:function(ie){var we=ie.completed,Ie=ie.target,Me=ie.onMove,Ze=ie.activeSortable,ne=ie.changed,rr=ie.cancel;if(!!Ze.options.swap){var pr=this.sortable.el,lr=this.options;if(Ie&&Ie!==pr){var yr=lastSwapEl;Me(Ie)!==!1?(toggleClass(Ie,lr.swapClass,!0),lastSwapEl=Ie):lastSwapEl=null,yr&&yr!==lastSwapEl&&toggleClass(yr,lr.swapClass,!1)}ne(),we(!0),rr()}},drop:function(ie){var we=ie.activeSortable,Ie=ie.putSortable,Me=ie.dragEl,Ze=Ie||this.sortable,ne=this.options;lastSwapEl&&toggleClass(lastSwapEl,ne.swapClass,!1),lastSwapEl&&(ne.swap||Ie&&Ie.options.swap)&&Me!==lastSwapEl&&(Ze.captureAnimationState(),Ze!==we&&we.captureAnimationState(),swapNodes(Me,lastSwapEl),Ze.animateAll(),Ze!==we&&we.animateAll())},nulling:function(){lastSwapEl=null}},_extends(m,{pluginName:"swap",eventProperties:function(){return{swapItem:lastSwapEl}}})}function swapNodes(m,c){var ie=m.parentNode,we=c.parentNode,Ie,Me;!ie||!we||ie.isEqualNode(c)||we.isEqualNode(m)||(Ie=index(m),Me=index(c),ie.isEqualNode(we)&&Ie<Me&&Me++,ie.insertBefore(c,ie.children[Ie]),we.insertBefore(m,we.children[Me]))}var multiDragElements=[],multiDragClones=[],lastMultiDragSelect,multiDragSortable,initialFolding=!1,folding=!1,dragStarted=!1,dragEl$1,clonesFromRect,clonesHidden;function MultiDragPlugin(){function m(c){for(var ie in this)ie.charAt(0)==="_"&&typeof this[ie]=="function"&&(this[ie]=this[ie].bind(this));c.options.avoidImplicitDeselect||(c.options.supportPointer?on(document,"pointerup",this._deselectMultiDrag):(on(document,"mouseup",this._deselectMultiDrag),on(document,"touchend",this._deselectMultiDrag))),on(document,"keydown",this._checkKeyDown),on(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(Ie,Me){var Ze="";multiDragElements.length&&multiDragSortable===c?multiDragElements.forEach(function(ne,rr){Ze+=(rr?", ":"")+ne.textContent}):Ze=Me.textContent,Ie.setData("Text",Ze)}}}return m.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(ie){var we=ie.dragEl;dragEl$1=we},delayEnded:function(){this.isMultiDrag=~multiDragElements.indexOf(dragEl$1)},setupClone:function(ie){var we=ie.sortable,Ie=ie.cancel;if(!!this.isMultiDrag){for(var Me=0;Me<multiDragElements.length;Me++)multiDragClones.push(clone(multiDragElements[Me])),multiDragClones[Me].sortableIndex=multiDragElements[Me].sortableIndex,multiDragClones[Me].draggable=!1,multiDragClones[Me].style["will-change"]="",toggleClass(multiDragClones[Me],this.options.selectedClass,!1),multiDragElements[Me]===dragEl$1&&toggleClass(multiDragClones[Me],this.options.chosenClass,!1);we._hideClone(),Ie()}},clone:function(ie){var we=ie.sortable,Ie=ie.rootEl,Me=ie.dispatchSortableEvent,Ze=ie.cancel;!this.isMultiDrag||this.options.removeCloneOnHide||multiDragElements.length&&multiDragSortable===we&&(insertMultiDragClones(!0,Ie),Me("clone"),Ze())},showClone:function(ie){var we=ie.cloneNowShown,Ie=ie.rootEl,Me=ie.cancel;!this.isMultiDrag||(insertMultiDragClones(!1,Ie),multiDragClones.forEach(function(Ze){css$1(Ze,"display","")}),we(),clonesHidden=!1,Me())},hideClone:function(ie){var we=this;ie.sortable;var Ie=ie.cloneNowHidden,Me=ie.cancel;!this.isMultiDrag||(multiDragClones.forEach(function(Ze){css$1(Ze,"display","none"),we.options.removeCloneOnHide&&Ze.parentNode&&Ze.parentNode.removeChild(Ze)}),Ie(),clonesHidden=!0,Me())},dragStartGlobal:function(ie){ie.sortable,!this.isMultiDrag&&multiDragSortable&&multiDragSortable.multiDrag._deselectMultiDrag(),multiDragElements.forEach(function(we){we.sortableIndex=index(we)}),multiDragElements=multiDragElements.sort(function(we,Ie){return we.sortableIndex-Ie.sortableIndex}),dragStarted=!0},dragStarted:function(ie){var we=this,Ie=ie.sortable;if(!!this.isMultiDrag){if(this.options.sort&&(Ie.captureAnimationState(),this.options.animation)){multiDragElements.forEach(function(Ze){Ze!==dragEl$1&&css$1(Ze,"position","absolute")});var Me=getRect(dragEl$1,!1,!0,!0);multiDragElements.forEach(function(Ze){Ze!==dragEl$1&&setRect(Ze,Me)}),folding=!0,initialFolding=!0}Ie.animateAll(function(){folding=!1,initialFolding=!1,we.options.animation&&multiDragElements.forEach(function(Ze){unsetRect(Ze)}),we.options.sort&&removeMultiDragElements()})}},dragOver:function(ie){var we=ie.target,Ie=ie.completed,Me=ie.cancel;folding&&~multiDragElements.indexOf(we)&&(Ie(!1),Me())},revert:function(ie){var we=ie.fromSortable,Ie=ie.rootEl,Me=ie.sortable,Ze=ie.dragRect;multiDragElements.length>1&&(multiDragElements.forEach(function(ne){Me.addAnimationState({target:ne,rect:folding?getRect(ne):Ze}),unsetRect(ne),ne.fromRect=Ze,we.removeAnimationState(ne)}),folding=!1,insertMultiDragElements(!this.options.removeCloneOnHide,Ie))},dragOverCompleted:function(ie){var we=ie.sortable,Ie=ie.isOwner,Me=ie.insertion,Ze=ie.activeSortable,ne=ie.parentEl,rr=ie.putSortable,pr=this.options;if(Me){if(Ie&&Ze._hideClone(),initialFolding=!1,pr.animation&&multiDragElements.length>1&&(folding||!Ie&&!Ze.options.sort&&!rr)){var lr=getRect(dragEl$1,!1,!0,!0);multiDragElements.forEach(function(kr){kr!==dragEl$1&&(setRect(kr,lr),ne.appendChild(kr))}),folding=!0}if(!Ie)if(folding||removeMultiDragElements(),multiDragElements.length>1){var yr=clonesHidden;Ze._showClone(we),Ze.options.animation&&!clonesHidden&&yr&&multiDragClones.forEach(function(kr){Ze.addAnimationState({target:kr,rect:clonesFromRect}),kr.fromRect=clonesFromRect,kr.thisAnimationDuration=null})}else Ze._showClone(we)}},dragOverAnimationCapture:function(ie){var we=ie.dragRect,Ie=ie.isOwner,Me=ie.activeSortable;if(multiDragElements.forEach(function(ne){ne.thisAnimationDuration=null}),Me.options.animation&&!Ie&&Me.multiDrag.isMultiDrag){clonesFromRect=_extends({},we);var Ze=matrix(dragEl$1,!0);clonesFromRect.top-=Ze.f,clonesFromRect.left-=Ze.e}},dragOverAnimationComplete:function(){folding&&(folding=!1,removeMultiDragElements())},drop:function(ie){var we=ie.originalEvent,Ie=ie.rootEl,Me=ie.parentEl,Ze=ie.sortable,ne=ie.dispatchSortableEvent,rr=ie.oldIndex,pr=ie.putSortable,lr=pr||this.sortable;if(!!we){var yr=this.options,kr=Me.children;if(!dragStarted)if(yr.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),toggleClass(dragEl$1,yr.selectedClass,!~multiDragElements.indexOf(dragEl$1)),~multiDragElements.indexOf(dragEl$1))multiDragElements.splice(multiDragElements.indexOf(dragEl$1),1),lastMultiDragSelect=null,dispatchEvent({sortable:Ze,rootEl:Ie,name:"deselect",targetEl:dragEl$1,originalEvent:we});else{if(multiDragElements.push(dragEl$1),dispatchEvent({sortable:Ze,rootEl:Ie,name:"select",targetEl:dragEl$1,originalEvent:we}),we.shiftKey&&lastMultiDragSelect&&Ze.el.contains(lastMultiDragSelect)){var Br=index(lastMultiDragSelect),Ar=index(dragEl$1);~Br&&~Ar&&Br!==Ar&&function(){var Vr,Zr;Ar>Br?(Zr=Br,Vr=Ar):(Zr=Ar,Vr=Br+1);for(var Wr=yr.filter;Zr<Vr;Zr++)if(!~multiDragElements.indexOf(kr[Zr])&&!!closest(kr[Zr],yr.draggable,Me,!1)){var ai=Wr&&(typeof Wr=="function"?Wr.call(Ze,we,kr[Zr],Ze):Wr.split(",").some(function(ui){return closest(kr[Zr],ui.trim(),Me,!1)}));ai||(toggleClass(kr[Zr],yr.selectedClass,!0),multiDragElements.push(kr[Zr]),dispatchEvent({sortable:Ze,rootEl:Ie,name:"select",targetEl:kr[Zr],originalEvent:we}))}}()}else lastMultiDragSelect=dragEl$1;multiDragSortable=lr}if(dragStarted&&this.isMultiDrag){if(folding=!1,(Me[expando].options.sort||Me!==Ie)&&multiDragElements.length>1){var Pr=getRect(dragEl$1),Nr=index(dragEl$1,":not(."+this.options.selectedClass+")");if(!initialFolding&&yr.animation&&(dragEl$1.thisAnimationDuration=null),lr.captureAnimationState(),!initialFolding&&(yr.animation&&(dragEl$1.fromRect=Pr,multiDragElements.forEach(function(Vr){if(Vr.thisAnimationDuration=null,Vr!==dragEl$1){var Zr=folding?getRect(Vr):Pr;Vr.fromRect=Zr,lr.addAnimationState({target:Vr,rect:Zr})}})),removeMultiDragElements(),multiDragElements.forEach(function(Vr){kr[Nr]?Me.insertBefore(Vr,kr[Nr]):Me.appendChild(Vr),Nr++}),rr===index(dragEl$1))){var ei=!1;multiDragElements.forEach(function(Vr){if(Vr.sortableIndex!==index(Vr)){ei=!0;return}}),ei&&(ne("update"),ne("sort"))}multiDragElements.forEach(function(Vr){unsetRect(Vr)}),lr.animateAll()}multiDragSortable=lr}(Ie===Me||pr&&pr.lastPutMode!=="clone")&&multiDragClones.forEach(function(Vr){Vr.parentNode&&Vr.parentNode.removeChild(Vr)})}},nullingGlobal:function(){this.isMultiDrag=dragStarted=!1,multiDragClones.length=0},destroyGlobal:function(){this._deselectMultiDrag(),off(document,"pointerup",this._deselectMultiDrag),off(document,"mouseup",this._deselectMultiDrag),off(document,"touchend",this._deselectMultiDrag),off(document,"keydown",this._checkKeyDown),off(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(ie){if(!(typeof dragStarted<"u"&&dragStarted)&&multiDragSortable===this.sortable&&!(ie&&closest(ie.target,this.options.draggable,this.sortable.el,!1))&&!(ie&&ie.button!==0))for(;multiDragElements.length;){var we=multiDragElements[0];toggleClass(we,this.options.selectedClass,!1),multiDragElements.shift(),dispatchEvent({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:we,originalEvent:ie})}},_checkKeyDown:function(ie){ie.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(ie){ie.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},_extends(m,{pluginName:"multiDrag",utils:{select:function(ie){var we=ie.parentNode[expando];!we||!we.options.multiDrag||~multiDragElements.indexOf(ie)||(multiDragSortable&&multiDragSortable!==we&&(multiDragSortable.multiDrag._deselectMultiDrag(),multiDragSortable=we),toggleClass(ie,we.options.selectedClass,!0),multiDragElements.push(ie))},deselect:function(ie){var we=ie.parentNode[expando],Ie=multiDragElements.indexOf(ie);!we||!we.options.multiDrag||!~Ie||(toggleClass(ie,we.options.selectedClass,!1),multiDragElements.splice(Ie,1))}},eventProperties:function(){var ie=this,we=[],Ie=[];return multiDragElements.forEach(function(Me){we.push({multiDragElement:Me,index:Me.sortableIndex});var Ze;folding&&Me!==dragEl$1?Ze=-1:folding?Ze=index(Me,":not(."+ie.options.selectedClass+")"):Ze=index(Me),Ie.push({multiDragElement:Me,index:Ze})}),{items:_toConsumableArray(multiDragElements),clones:[].concat(multiDragClones),oldIndicies:we,newIndicies:Ie}},optionListeners:{multiDragKey:function(ie){return ie=ie.toLowerCase(),ie==="ctrl"?ie="Control":ie.length>1&&(ie=ie.charAt(0).toUpperCase()+ie.substr(1)),ie}}})}function insertMultiDragElements(m,c){multiDragElements.forEach(function(ie,we){var Ie=c.children[ie.sortableIndex+(m?Number(we):0)];Ie?c.insertBefore(ie,Ie):c.appendChild(ie)})}function insertMultiDragClones(m,c){multiDragClones.forEach(function(ie,we){var Ie=c.children[ie.sortableIndex+(m?Number(we):0)];Ie?c.insertBefore(ie,Ie):c.appendChild(ie)})}function removeMultiDragElements(){multiDragElements.forEach(function(m){m!==dragEl$1&&m.parentNode&&m.parentNode.removeChild(m)})}Sortable.mount(new AutoScrollPlugin),Sortable.mount(Remove,Revert),Sortable.mount(new SwapPlugin),Sortable.mount(new MultiDragPlugin);const _sfc_main$H={},_hoisted_1$y={viewBox:"0 0 132 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _sfc_render$4(m,c){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$y,c[0]||(c[0]=[vue.createElementVNode("rect",{x:"1.87207",y:"1.85645",width:"128.449",height:"28.588",rx:"3.49824",stroke:"#D9D9DA","stroke-width":"2"},null,-1),vue.createElementVNode("path",{d:"M113.979 13.2063L117.471 19.2532C117.829 19.8735 118.724 19.8735 119.082 19.2532L122.573 13.2063",stroke:"#D9D9DA","stroke-width":"2","stroke-linecap":"round"},null,-1),vue.createElementVNode("path",{d:"M17.7379 13.5344C17.686 13.0741 17.4721 12.7176 17.0961 12.4647C16.7201 12.2086 16.2468 12.0806 15.6763 12.0806C15.2679 12.0806 14.9146 12.1454 14.6164 12.2751C14.3182 12.4015 14.0864 12.5766 13.9211 12.8002C13.759 13.0206 13.678 13.2718 13.678 13.5538C13.678 13.7905 13.7331 13.9947 13.8433 14.1665C13.9568 14.3383 14.1042 14.4825 14.2858 14.5992C14.4705 14.7126 14.6683 14.8083 14.8789 14.8861C15.0896 14.9606 15.2922 15.0222 15.4867 15.0708L16.4591 15.3237C16.7768 15.4015 17.1026 15.5068 17.4364 15.6397C17.7703 15.7726 18.0799 15.9476 18.3651 16.1648C18.6503 16.382 18.8805 16.651 19.0555 16.9719C19.2338 17.2928 19.3229 17.6769 19.3229 18.1243C19.3229 18.6883 19.1771 19.1891 18.8853 19.6267C18.5969 20.0642 18.1771 20.4095 17.6261 20.6623C17.0783 20.9151 16.4154 21.0415 15.6374 21.0415C14.8919 21.0415 14.2469 20.9232 13.7023 20.6866C13.1577 20.45 12.7315 20.1145 12.4236 19.6801C12.1156 19.2425 11.9455 18.7239 11.913 18.1243H13.4203C13.4495 18.484 13.5662 18.7839 13.7704 19.0237C13.9778 19.2604 14.242 19.437 14.5629 19.5537C14.887 19.6672 15.242 19.7239 15.6277 19.7239C16.0523 19.7239 16.43 19.6574 16.7606 19.5245C17.0945 19.3884 17.357 19.2004 17.5483 18.9605C17.7395 18.7174 17.8351 18.4338 17.8351 18.1097C17.8351 17.8147 17.7508 17.5732 17.5823 17.3852C17.417 17.1972 17.1917 17.0416 16.9065 16.9184C16.6245 16.7953 16.3052 16.6867 15.9486 16.5927L14.772 16.2718C13.9746 16.0546 13.3425 15.7353 12.8757 15.3139C12.4122 14.8925 12.1805 14.335 12.1805 13.6414C12.1805 13.0676 12.336 12.5668 12.6472 12.139C12.9584 11.7111 13.3798 11.3788 13.9114 11.1422C14.443 10.9024 15.0426 10.7824 15.7104 10.7824C16.3846 10.7824 16.9794 10.9007 17.4948 11.1374C18.0134 11.374 18.4218 11.6997 18.72 12.1146C19.0182 12.5263 19.1738 12.9996 19.1868 13.5344H17.7379ZM24.2203 21.0269C23.4845 21.0269 22.8508 20.8697 22.3192 20.5553C21.7909 20.2377 21.3825 19.792 21.094 19.2182C20.8087 18.6413 20.6661 17.9654 20.6661 17.1907C20.6661 16.4257 20.8087 15.7515 21.094 15.1681C21.3825 14.5846 21.7844 14.1292 22.2998 13.8018C22.8184 13.4744 23.4246 13.3107 24.1182 13.3107C24.5396 13.3107 24.948 13.3804 25.3435 13.5198C25.7389 13.6592 26.0939 13.878 26.4083 14.1762C26.7227 14.4744 26.9707 14.8618 27.1522 15.3382C27.3337 15.8115 27.4245 16.3868 27.4245 17.0643V17.5797H21.4878V16.4906H25.9999C25.9999 16.1081 25.9221 15.7694 25.7665 15.4744C25.6109 15.1762 25.3921 14.9412 25.1101 14.7694C24.8313 14.5976 24.504 14.5117 24.1279 14.5117C23.7195 14.5117 23.363 14.6122 23.0583 14.8131C22.7568 15.0109 22.5234 15.2702 22.3581 15.5911C22.1961 15.9087 22.115 16.2539 22.115 16.6267V17.4776C22.115 17.9768 22.2025 18.4014 22.3776 18.7515C22.5559 19.1015 22.8038 19.369 23.1215 19.5537C23.4391 19.7352 23.8103 19.826 24.2349 19.826C24.5104 19.826 24.7616 19.7871 24.9885 19.7093C25.2154 19.6283 25.4115 19.5083 25.5769 19.3495C25.7422 19.1907 25.8686 18.9946 25.9561 18.7612L27.3321 19.0092C27.2219 19.4143 27.0242 19.7693 26.7389 20.074C26.4569 20.3754 26.102 20.6104 25.6741 20.779C25.2495 20.9443 24.7649 21.0269 24.2203 21.0269ZM30.4913 10.9186V20.8762H29.0375V10.9186H30.4913ZM35.6658 21.0269C34.93 21.0269 34.2963 20.8697 33.7647 20.5553C33.2364 20.2377 32.8279 19.792 32.5394 19.2182C32.2542 18.6413 32.1116 17.9654 32.1116 17.1907C32.1116 16.4257 32.2542 15.7515 32.5394 15.1681C32.8279 14.5846 33.2299 14.1292 33.7453 13.8018C34.2639 13.4744 34.87 13.3107 35.5637 13.3107C35.9851 13.3107 36.3935 13.3804 36.789 13.5198C37.1844 13.6592 37.5393 13.878 37.8538 14.1762C38.1682 14.4744 38.4161 14.8618 38.5977 15.3382C38.7792 15.8115 38.8699 16.3868 38.8699 17.0643V17.5797H32.9333V16.4906H37.4453C37.4453 16.1081 37.3675 15.7694 37.212 15.4744C37.0564 15.1762 36.8376 14.9412 36.5556 14.7694C36.2768 14.5976 35.9494 14.5117 35.5734 14.5117C35.165 14.5117 34.8084 14.6122 34.5037 14.8131C34.2023 15.0109 33.9689 15.2702 33.8036 15.5911C33.6415 15.9087 33.5605 16.2539 33.5605 16.6267V17.4776C33.5605 17.9768 33.648 18.4014 33.823 18.7515C34.0013 19.1015 34.2493 19.369 34.567 19.5537C34.8846 19.7352 35.2558 19.826 35.6804 19.826C35.9559 19.826 36.2071 19.7871 36.434 19.7093C36.6609 19.6283 36.857 19.5083 37.0223 19.3495C37.1876 19.1907 37.3141 18.9946 37.4016 18.7612L38.7776 19.0092C38.6674 19.4143 38.4696 19.7693 38.1844 20.074C37.9024 20.3754 37.5474 20.6104 37.1196 20.779C36.695 20.9443 36.2104 21.0269 35.6658 21.0269ZM43.6288 21.0269C42.9059 21.0269 42.2836 20.8633 41.7617 20.5359C41.2431 20.2052 40.8444 19.7498 40.5656 19.1696C40.2869 18.5894 40.1475 17.9249 40.1475 17.1761C40.1475 16.4176 40.2901 15.7483 40.5753 15.1681C40.8606 14.5846 41.2625 14.1292 41.7812 13.8018C42.2998 13.4744 42.9108 13.3107 43.6142 13.3107C44.1814 13.3107 44.6871 13.4161 45.1312 13.6268C45.5752 13.8342 45.9334 14.126 46.2057 14.502C46.4812 14.878 46.6449 15.3172 46.6968 15.8196H45.2819C45.2041 15.4695 45.0258 15.1681 44.7471 14.9152C44.4715 14.6624 44.102 14.536 43.6385 14.536C43.2333 14.536 42.8784 14.643 42.5737 14.8569C42.2722 15.0676 42.0372 15.369 41.8687 15.7613C41.7001 16.1502 41.6158 16.6105 41.6158 17.1421C41.6158 17.6867 41.6985 18.1567 41.8638 18.5521C42.0291 18.9476 42.2625 19.2539 42.564 19.4711C42.8687 19.6882 43.2268 19.7968 43.6385 19.7968C43.914 19.7968 44.1636 19.7466 44.3873 19.6461C44.6142 19.5424 44.8038 19.3949 44.9561 19.2036C45.1117 19.0124 45.2203 18.7823 45.2819 18.5132H46.6968C46.6449 18.9962 46.4877 19.4273 46.2251 19.8066C45.9626 20.1858 45.6109 20.484 45.1701 20.7012C44.7325 20.9184 44.2187 21.0269 43.6288 21.0269ZM51.7376 13.408V14.5749H47.6583V13.408H51.7376ZM48.7522 11.6187H50.206V18.6834C50.206 18.9654 50.2482 19.1777 50.3324 19.3203C50.4167 19.4597 50.5253 19.5553 50.6582 19.6072C50.7943 19.6558 50.9418 19.6801 51.1007 19.6801C51.2173 19.6801 51.3195 19.672 51.407 19.6558C51.4945 19.6396 51.5626 19.6267 51.6112 19.6169L51.8737 20.8179C51.7895 20.8503 51.6695 20.8827 51.5139 20.9151C51.3584 20.9508 51.1639 20.9702 50.9305 20.9735C50.548 20.9799 50.1914 20.9119 49.8608 20.7693C49.5302 20.6266 49.2628 20.4062 49.0586 20.108C48.8543 19.8098 48.7522 19.4354 48.7522 18.9848V11.6187ZM59.1426 21.0415C58.6694 21.0415 58.2415 20.954 57.859 20.779C57.4765 20.6007 57.1735 20.343 56.9498 20.0059C56.7294 19.6688 56.6192 19.2555 56.6192 18.7661C56.6192 18.3447 56.7002 17.9978 56.8623 17.7256C57.0244 17.4533 57.2432 17.2377 57.5187 17.0789C57.7942 16.9201 58.1021 16.8001 58.4425 16.7191C58.7828 16.6381 59.1297 16.5765 59.483 16.5343C59.9303 16.4825 60.2933 16.4403 60.5721 16.4079C60.8509 16.3723 61.0535 16.3155 61.1799 16.2377C61.3063 16.1599 61.3695 16.0335 61.3695 15.8585V15.8245C61.3695 15.3998 61.2496 15.0708 61.0097 14.8374C60.7731 14.6041 60.4198 14.4874 59.9497 14.4874C59.4603 14.4874 59.0746 14.596 58.7926 14.8131C58.5138 15.0271 58.3209 15.2653 58.214 15.5279L56.8477 15.2167C57.0098 14.7629 57.2464 14.3966 57.5576 14.1178C57.872 13.8358 58.2334 13.6316 58.6418 13.5052C59.0503 13.3756 59.4797 13.3107 59.9303 13.3107C60.2285 13.3107 60.5445 13.3464 60.8784 13.4177C61.2155 13.4858 61.5299 13.6122 61.8217 13.7969C62.1166 13.9817 62.3581 14.2459 62.5461 14.5895C62.7341 14.9298 62.8281 15.3723 62.8281 15.9168V20.8762H61.4084V19.8552H61.35C61.256 20.0432 61.115 20.2279 60.927 20.4095C60.739 20.591 60.4975 20.7417 60.2026 20.8616C59.9076 20.9816 59.5543 21.0415 59.1426 21.0415ZM59.4587 19.8746C59.8606 19.8746 60.2042 19.7952 60.4894 19.6364C60.7779 19.4775 60.9967 19.2701 61.1458 19.014C61.2982 18.7547 61.3744 18.4776 61.3744 18.1826V17.2199C61.3225 17.2718 61.222 17.3204 61.0729 17.3658C60.927 17.4079 60.7601 17.4452 60.5721 17.4776C60.3841 17.5068 60.201 17.5343 60.0227 17.5602C59.8444 17.5829 59.6953 17.6024 59.5754 17.6186C59.2934 17.6542 59.0357 17.7142 58.8023 17.7985C58.5721 17.8828 58.3874 18.0043 58.248 18.1631C58.1119 18.3187 58.0438 18.5262 58.0438 18.7855C58.0438 19.1453 58.1767 19.4176 58.4425 19.6023C58.7083 19.7839 59.047 19.8746 59.4587 19.8746ZM68.0136 12.2119V10.9186H75.7201V12.2119H72.6132V20.8762H71.1156V12.2119H68.0136ZM79.4421 21.0269C78.7063 21.0269 78.0726 20.8697 77.541 20.5553C77.0126 20.2377 76.6042 19.792 76.3157 19.2182C76.0305 18.6413 75.8878 17.9654 75.8878 17.1907C75.8878 16.4257 76.0305 15.7515 76.3157 15.1681C76.6042 14.5846 77.0061 14.1292 77.5215 13.8018C78.0401 13.4744 78.6463 13.3107 79.34 13.3107C79.7613 13.3107 80.1698 13.3804 80.5652 13.5198C80.9607 13.6592 81.3156 13.878 81.63 14.1762C81.9444 14.4744 82.1924 14.8618 82.3739 15.3382C82.5554 15.8115 82.6462 16.3868 82.6462 17.0643V17.5797H76.7095V16.4906H81.2216C81.2216 16.1081 81.1438 15.7694 80.9882 15.4744C80.8326 15.1762 80.6138 14.9412 80.3318 14.7694C80.0531 14.5976 79.7257 14.5117 79.3497 14.5117C78.9413 14.5117 78.5847 14.6122 78.28 14.8131C77.9786 15.0109 77.7452 15.2702 77.5799 15.5911C77.4178 15.9087 77.3368 16.2539 77.3368 16.6267V17.4776C77.3368 17.9768 77.4243 18.4014 77.5993 18.7515C77.7776 19.1015 78.0256 19.369 78.3432 19.5537C78.6609 19.7352 79.032 19.826 79.4566 19.826C79.7322 19.826 79.9834 19.7871 80.2103 19.7093C80.4372 19.6283 80.6333 19.5083 80.7986 19.3495C80.9639 19.1907 81.0903 18.9946 81.1778 18.7612L82.5538 19.0092C82.4436 19.4143 82.2459 19.7693 81.9606 20.074C81.6786 20.3754 81.3237 20.6104 80.8958 20.779C80.4712 20.9443 79.9866 21.0269 79.4421 21.0269ZM85.2329 13.408L86.8811 16.3155L88.544 13.408H90.1339L87.8049 17.1421L90.1533 20.8762H88.5634L86.8811 18.0854L85.2037 20.8762H83.6089L85.933 17.1421L83.6381 13.408H85.2329ZM95.1127 13.408V14.5749H91.0334V13.408H95.1127ZM92.1274 11.6187H93.5812V18.6834C93.5812 18.9654 93.6233 19.1777 93.7076 19.3203C93.7919 19.4597 93.9004 19.5553 94.0333 19.6072C94.1695 19.6558 94.317 19.6801 94.4758 19.6801C94.5925 19.6801 94.6946 19.672 94.7821 19.6558C94.8696 19.6396 94.9377 19.6267 94.9863 19.6169L95.2489 20.8179C95.1646 20.8503 95.0447 20.8827 94.8891 20.9151C94.7335 20.9508 94.539 20.9702 94.3056 20.9735C93.9231 20.9799 93.5666 20.9119 93.2359 20.7693C92.9053 20.6266 92.6379 20.4062 92.4337 20.108C92.2295 19.8098 92.1274 19.4354 92.1274 18.9848V11.6187Z",fill:"#D9D9DA"},null,-1),vue.createElementVNode("path",{d:"M106.131 2.20605V30.0951",stroke:"#D9D9DA","stroke-width":"2","stroke-linecap":"round"},null,-1)]))}const SelectTextIcon=_export_sfc(_sfc_main$H,[["render",_sfc_render$4]]),_sfc_main$G={},_hoisted_1$x={viewBox:"0 0 133 51",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _sfc_render$3(m,c){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$x,c[0]||(c[0]=[vue.createStaticVNode('<path d="M78.0598 16.2648H61.2682C59.8772 16.2648 58.7495 17.3924 58.7495 18.7835V32.2167C58.7495 33.6078 59.8772 34.7355 61.2682 34.7355H78.0598C79.4508 34.7355 80.5785 33.6078 80.5785 32.2167V18.7835C80.5785 17.3924 79.4508 16.2648 78.0598 16.2648Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-linejoin="round"></path><path d="M73.8618 22.9814C74.7891 22.9814 75.5409 22.2296 75.5409 21.3022C75.5409 20.3748 74.7891 19.623 73.8618 19.623C72.9344 19.623 72.1826 20.3748 72.1826 21.3022C72.1826 22.2296 72.9344 22.9814 73.8618 22.9814Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-miterlimit="10"></path><path d="M72.1827 29.6868L67.4255 24.9385C67.1228 24.6358 66.7159 24.4602 66.288 24.4475C65.8601 24.4348 65.4436 24.586 65.1235 24.8702L58.7495 30.5374M67.9849 34.7353L74.457 28.2632C74.7529 27.9666 75.1491 27.7914 75.5677 27.772C75.9862 27.7526 76.3969 27.8903 76.7191 28.1582L80.5785 31.377" stroke="#F5F5F5" stroke-width="1.67915" stroke-linecap="round" stroke-linejoin="round"></path><path d="M117.267 16.2648H100.475C99.0842 16.2648 97.9565 17.3924 97.9565 18.7835V32.2167C97.9565 33.6078 99.0842 34.7355 100.475 34.7355H117.267C118.658 34.7355 119.786 33.6078 119.786 32.2167V18.7835C119.786 17.3924 118.658 16.2648 117.267 16.2648Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-linejoin="round"></path><path d="M113.069 22.9814C113.997 22.9814 114.748 22.2296 114.748 21.3022C114.748 20.3748 113.997 19.623 113.069 19.623C112.142 19.623 111.39 20.3748 111.39 21.3022C111.39 22.2296 112.142 22.9814 113.069 22.9814Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-miterlimit="10"></path><path d="M111.39 29.6868L106.633 24.9385C106.33 24.6358 105.923 24.4602 105.495 24.4475C105.067 24.4348 104.651 24.586 104.331 24.8702L97.9565 30.5374M107.192 34.7353L113.664 28.2632C113.96 27.9666 114.356 27.7914 114.775 27.772C115.193 27.7526 115.604 27.8903 115.926 28.1582L119.786 31.377" stroke="#F5F5F5" stroke-width="1.67915" stroke-linecap="round" stroke-linejoin="round"></path><circle cx="23.8095" cy="25.5" r="21.0054" stroke="#F5F5F5" stroke-width="1.40647"></circle><path d="M32.2661 16.2648H15.4745C14.0835 16.2648 12.9558 17.3924 12.9558 18.7835V32.2167C12.9558 33.6078 14.0835 34.7355 15.4745 34.7355H32.2661C33.6571 34.7355 34.7848 33.6078 34.7848 32.2167V18.7835C34.7848 17.3924 33.6571 16.2648 32.2661 16.2648Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-linejoin="round"></path><path d="M28.0678 22.9814C28.9952 22.9814 29.747 22.2296 29.747 21.3022C29.747 20.3748 28.9952 19.623 28.0678 19.623C27.1405 19.623 26.3887 20.3748 26.3887 21.3022C26.3887 22.2296 27.1405 22.9814 28.0678 22.9814Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-miterlimit="10"></path><path d="M26.389 29.6868L21.6318 24.9385C21.3291 24.6358 20.9222 24.4602 20.4943 24.4475C20.0664 24.4348 19.6499 24.586 19.3298 24.8702L12.9558 30.5374M22.1912 34.7353L28.6632 28.2632C28.9592 27.9666 29.3554 27.7914 29.774 27.772C30.1925 27.7526 30.6032 27.8903 30.9254 28.1582L34.7848 31.377" stroke="#F5F5F5" stroke-width="1.67915" stroke-linecap="round" stroke-linejoin="round"></path>',10)]))}const SelectImageIcon=_export_sfc(_sfc_main$G,[["render",_sfc_render$3]]),fieldWeights={Image:1,Checkbox:.2,Text:1,HighlightedText:1,Select:1,Group:1,ImageAdjust:1,Color:1,Number:1,Map:1,Collection:1,ImageEdit:1,SelectColor:1,SelectImage:1,SelectText:1,Instruction:1};function flattenFields(m){const c=[];function ie(we,Ie){let Me=1;for(const Ze of we)if(Ze.type==="Group")ie(Ze.props.fields,Ze);else{const ne=fieldWeights[Ze.type]??1;ne+Me<=1?(c[c.length-1].fields.push(Ze),Me+=ne):(c.push({fields:[Ze],originalField:Ie}),Me=ne)}}return ie(m),c}function flattenFieldTable(m){const c=[];function ie(we,Ie){for(const Me of we)Me.type==="Group"?ie(Me.props.fields):c.push(Me)}return ie(m),c}function useMobileFields(m){return{mobileFields:vue.computed(()=>flattenFields(m.value).map(ie=>({originalField:ie.originalField,fields:ie.fields})))}}function useFields(m){const c=vue.inject("data"),ie=vue.inject("bridge");ie||console.error("bridge is not provided");const we=vue.inject("computedPropEvaluator");we||console.error("computedPropEvaluator is not provided");const Ie=Ze=>({...Object.fromEntries(Object.entries(Ze).map(([rr,pr])=>[rr,c.value?c.value[pr]:void 0])),...Object.fromEntries(Object.entries(Ze).map(([rr])=>[`onUpdate:${rr}`,pr=>{if(!c.value){console.error("data is not provided");return}c.value[Ze[rr]]=pr}]))});function Me(Ze){return Object.fromEntries(Object.entries(Ze).map(([ne,rr])=>typeof rr=="function"?[ne,we(rr)]:[ne,rr]))}return{fields:m,data:c,bridge:ie,modelField:Ie,wrapFieldProps:Me}}function getFieldDescription(m){if(m.description)return m.description;switch(m.type){case"ImageAdjust":return m.model.image;case"Group":return getFieldsDescription(m.props.fields);case"Instruction":return typeof m.props.instruction=="function"?m.props.instruction():m.props.instruction;case"ImageEdit":return m.model.modelValue;default:return m.model.modelValue}}function getFieldsDescription(m){return m.map(getFieldDescription).join(", ")}function renderFieldIcon(m,c,ie={}){return vue.h(BxIcon,{style:{color:c?"rgba(var(--primary-color-base), 1)":"inherit",...ie}},()=>vue.h((()=>{switch(m){case"Text":return TextOutline;case"HighlightedText":return TextOutline;case"Image":return ImageOutline;case"Checkbox":return CheckmarkCircleOutline;case"ImageAdjust":return CropOutline;case"Select":return ListOutline;case"Number":return OptionsOutline;case"Color":return EyedropOutline;case"Group":return FolderOutline;case"Map":return MapOutline;case"Collection":return ListOutline;case"ImageEdit":return ImageOutline;case"SelectColor":return ColorPaletteOutline;case"SelectImage":return SelectImageIcon;case"SelectText":return SelectTextIcon;case"Instruction":return InformationCircleOutline;default:return AppsOutline}})()))}function getDefaultValueForFieldModel(m,c){return m.type==="Text"?m.props.richtext.enabled?[{text:"hello world",format:{}}]:"hello world":m.type==="HighlightedText"?[{text:"hello world",format:{}}]:m.type==="Checkbox"?!1:m.type==="Image"?"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/0ef44222-cec4-41a9-fa4b-deb327addf00/draftThumb":m.type==="ImageEdit"?{src:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/0ef44222-cec4-41a9-fa4b-deb327addf00/draftThumb",innerPos:[0,0],scale:1,innerRotate:0}:m.type==="Group"?{}:m.type==="Collection"?[]:m.type==="ImageAdjust"?c==="image"?"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/0ef44222-cec4-41a9-fa4b-deb327addf00/draftThumb":{scale:1,innerPos:[0,0]}:m.type==="Select"?m.props.options[0].value:m.type==="SelectImage"?{src:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/0ef44222-cec4-41a9-fa4b-deb327addf00/draftThumb",innerPos:[0,0],scale:1,innerRotate:0}:m.type==="SelectColor"?"#ff0000":m.type==="SelectText"?"hello world":null}function realizeField(m){return{...m,props:Object.fromEntries(Object.entries(m.props).map(([c,ie])=>{if(ie?.__type__==="function"){const[we]=ie.__value__.match(/function anonymous\(\s*\) {\s*return /)??[];let Ie=ie.__value__.slice(we.length,-1);for(;Ie.lastIndexOf(`
|
|
99
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var version="1.15.6";function userAgent(m){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(m)}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge=userAgent(/Edge/i),FireFox=userAgent(/firefox/i),Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i),IOS=userAgent(/iP(ad|od|hone)/i),ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i),captureMode={capture:!1,passive:!1};function on(m,c,ie){m.addEventListener(c,ie,!IE11OrLess&&captureMode)}function off(m,c,ie){m.removeEventListener(c,ie,!IE11OrLess&&captureMode)}function matches(m,c){if(!!c){if(c[0]===">"&&(c=c.substring(1)),m)try{if(m.matches)return m.matches(c);if(m.msMatchesSelector)return m.msMatchesSelector(c);if(m.webkitMatchesSelector)return m.webkitMatchesSelector(c)}catch{return!1}return!1}}function getParentOrHost(m){return m.host&&m!==document&&m.host.nodeType?m.host:m.parentNode}function closest(m,c,ie,we){if(m){ie=ie||document;do{if(c!=null&&(c[0]===">"?m.parentNode===ie&&matches(m,c):matches(m,c))||we&&m===ie)return m;if(m===ie)break}while(m=getParentOrHost(m))}return null}var R_SPACE=/\s+/g;function toggleClass(m,c,ie){if(m&&c)if(m.classList)m.classList[ie?"add":"remove"](c);else{var we=(" "+m.className+" ").replace(R_SPACE," ").replace(" "+c+" "," ");m.className=(we+(ie?" "+c:"")).replace(R_SPACE," ")}}function css$1(m,c,ie){var we=m&&m.style;if(we){if(ie===void 0)return document.defaultView&&document.defaultView.getComputedStyle?ie=document.defaultView.getComputedStyle(m,""):m.currentStyle&&(ie=m.currentStyle),c===void 0?ie:ie[c];!(c in we)&&c.indexOf("webkit")===-1&&(c="-webkit-"+c),we[c]=ie+(typeof ie=="string"?"":"px")}}function matrix(m,c){var ie="";if(typeof m=="string")ie=m;else do{var we=css$1(m,"transform");we&&we!=="none"&&(ie=we+" "+ie)}while(!c&&(m=m.parentNode));var Ie=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return Ie&&new Ie(ie)}function find(m,c,ie){if(m){var we=m.getElementsByTagName(c),Ie=0,Me=we.length;if(ie)for(;Ie<Me;Ie++)ie(we[Ie],Ie);return we}return[]}function getWindowScrollingElement(){var m=document.scrollingElement;return m||document.documentElement}function getRect(m,c,ie,we,Ie){if(!(!m.getBoundingClientRect&&m!==window)){var Me,Ze,ne,rr,pr,lr,yr;if(m!==window&&m.parentNode&&m!==getWindowScrollingElement()?(Me=m.getBoundingClientRect(),Ze=Me.top,ne=Me.left,rr=Me.bottom,pr=Me.right,lr=Me.height,yr=Me.width):(Ze=0,ne=0,rr=window.innerHeight,pr=window.innerWidth,lr=window.innerHeight,yr=window.innerWidth),(c||ie)&&m!==window&&(Ie=Ie||m.parentNode,!IE11OrLess))do if(Ie&&Ie.getBoundingClientRect&&(css$1(Ie,"transform")!=="none"||ie&&css$1(Ie,"position")!=="static")){var kr=Ie.getBoundingClientRect();Ze-=kr.top+parseInt(css$1(Ie,"border-top-width")),ne-=kr.left+parseInt(css$1(Ie,"border-left-width")),rr=Ze+Me.height,pr=ne+Me.width;break}while(Ie=Ie.parentNode);if(we&&m!==window){var Br=matrix(Ie||m),Ar=Br&&Br.a,Pr=Br&&Br.d;Br&&(Ze/=Pr,ne/=Ar,yr/=Ar,lr/=Pr,rr=Ze+lr,pr=ne+yr)}return{top:Ze,left:ne,bottom:rr,right:pr,width:yr,height:lr}}}function isScrolledPast(m,c,ie){for(var we=getParentAutoScrollElement(m,!0),Ie=getRect(m)[c];we;){var Me=getRect(we)[ie],Ze=void 0;if(ie==="top"||ie==="left"?Ze=Ie>=Me:Ze=Ie<=Me,!Ze)return we;if(we===getWindowScrollingElement())break;we=getParentAutoScrollElement(we,!1)}return!1}function getChild(m,c,ie,we){for(var Ie=0,Me=0,Ze=m.children;Me<Ze.length;){if(Ze[Me].style.display!=="none"&&Ze[Me]!==Sortable.ghost&&(we||Ze[Me]!==Sortable.dragged)&&closest(Ze[Me],ie.draggable,m,!1)){if(Ie===c)return Ze[Me];Ie++}Me++}return null}function lastChild(m,c){for(var ie=m.lastElementChild;ie&&(ie===Sortable.ghost||css$1(ie,"display")==="none"||c&&!matches(ie,c));)ie=ie.previousElementSibling;return ie||null}function index(m,c){var ie=0;if(!m||!m.parentNode)return-1;for(;m=m.previousElementSibling;)m.nodeName.toUpperCase()!=="TEMPLATE"&&m!==Sortable.clone&&(!c||matches(m,c))&&ie++;return ie}function getRelativeScrollOffset(m){var c=0,ie=0,we=getWindowScrollingElement();if(m)do{var Ie=matrix(m),Me=Ie.a,Ze=Ie.d;c+=m.scrollLeft*Me,ie+=m.scrollTop*Ze}while(m!==we&&(m=m.parentNode));return[c,ie]}function indexOfObject(m,c){for(var ie in m)if(!!m.hasOwnProperty(ie)){for(var we in c)if(c.hasOwnProperty(we)&&c[we]===m[ie][we])return Number(ie)}return-1}function getParentAutoScrollElement(m,c){if(!m||!m.getBoundingClientRect)return getWindowScrollingElement();var ie=m,we=!1;do if(ie.clientWidth<ie.scrollWidth||ie.clientHeight<ie.scrollHeight){var Ie=css$1(ie);if(ie.clientWidth<ie.scrollWidth&&(Ie.overflowX=="auto"||Ie.overflowX=="scroll")||ie.clientHeight<ie.scrollHeight&&(Ie.overflowY=="auto"||Ie.overflowY=="scroll")){if(!ie.getBoundingClientRect||ie===document.body)return getWindowScrollingElement();if(we||c)return ie;we=!0}}while(ie=ie.parentNode);return getWindowScrollingElement()}function extend$3(m,c){if(m&&c)for(var ie in c)c.hasOwnProperty(ie)&&(m[ie]=c[ie]);return m}function isRectEqual(m,c){return Math.round(m.top)===Math.round(c.top)&&Math.round(m.left)===Math.round(c.left)&&Math.round(m.height)===Math.round(c.height)&&Math.round(m.width)===Math.round(c.width)}var _throttleTimeout;function throttle(m,c){return function(){if(!_throttleTimeout){var ie=arguments,we=this;ie.length===1?m.call(we,ie[0]):m.apply(we,ie),_throttleTimeout=setTimeout(function(){_throttleTimeout=void 0},c)}}}function cancelThrottle(){clearTimeout(_throttleTimeout),_throttleTimeout=void 0}function scrollBy(m,c,ie){m.scrollLeft+=c,m.scrollTop+=ie}function clone(m){var c=window.Polymer,ie=window.jQuery||window.Zepto;return c&&c.dom?c.dom(m).cloneNode(!0):ie?ie(m).clone(!0)[0]:m.cloneNode(!0)}function setRect(m,c){css$1(m,"position","absolute"),css$1(m,"top",c.top),css$1(m,"left",c.left),css$1(m,"width",c.width),css$1(m,"height",c.height)}function unsetRect(m){css$1(m,"position",""),css$1(m,"top",""),css$1(m,"left",""),css$1(m,"width",""),css$1(m,"height","")}function getChildContainingRectFromElement(m,c,ie){var we={};return Array.from(m.children).forEach(function(Ie){var Me,Ze,ne,rr;if(!(!closest(Ie,c.draggable,m,!1)||Ie.animated||Ie===ie)){var pr=getRect(Ie);we.left=Math.min((Me=we.left)!==null&&Me!==void 0?Me:1/0,pr.left),we.top=Math.min((Ze=we.top)!==null&&Ze!==void 0?Ze:1/0,pr.top),we.right=Math.max((ne=we.right)!==null&&ne!==void 0?ne:-1/0,pr.right),we.bottom=Math.max((rr=we.bottom)!==null&&rr!==void 0?rr:-1/0,pr.bottom)}}),we.width=we.right-we.left,we.height=we.bottom-we.top,we.x=we.left,we.y=we.top,we}var expando="Sortable"+new Date().getTime();function AnimationStateManager(){var m=[],c;return{captureAnimationState:function(){if(m=[],!!this.options.animation){var we=[].slice.call(this.el.children);we.forEach(function(Ie){if(!(css$1(Ie,"display")==="none"||Ie===Sortable.ghost)){m.push({target:Ie,rect:getRect(Ie)});var Me=_objectSpread2({},m[m.length-1].rect);if(Ie.thisAnimationDuration){var Ze=matrix(Ie,!0);Ze&&(Me.top-=Ze.f,Me.left-=Ze.e)}Ie.fromRect=Me}})}},addAnimationState:function(we){m.push(we)},removeAnimationState:function(we){m.splice(indexOfObject(m,{target:we}),1)},animateAll:function(we){var Ie=this;if(!this.options.animation){clearTimeout(c),typeof we=="function"&&we();return}var Me=!1,Ze=0;m.forEach(function(ne){var rr=0,pr=ne.target,lr=pr.fromRect,yr=getRect(pr),kr=pr.prevFromRect,Br=pr.prevToRect,Ar=ne.rect,Pr=matrix(pr,!0);Pr&&(yr.top-=Pr.f,yr.left-=Pr.e),pr.toRect=yr,pr.thisAnimationDuration&&isRectEqual(kr,yr)&&!isRectEqual(lr,yr)&&(Ar.top-yr.top)/(Ar.left-yr.left)===(lr.top-yr.top)/(lr.left-yr.left)&&(rr=calculateRealTime(Ar,kr,Br,Ie.options)),isRectEqual(yr,lr)||(pr.prevFromRect=lr,pr.prevToRect=yr,rr||(rr=Ie.options.animation),Ie.animate(pr,Ar,yr,rr)),rr&&(Me=!0,Ze=Math.max(Ze,rr),clearTimeout(pr.animationResetTimer),pr.animationResetTimer=setTimeout(function(){pr.animationTime=0,pr.prevFromRect=null,pr.fromRect=null,pr.prevToRect=null,pr.thisAnimationDuration=null},rr),pr.thisAnimationDuration=rr)}),clearTimeout(c),Me?c=setTimeout(function(){typeof we=="function"&&we()},Ze):typeof we=="function"&&we(),m=[]},animate:function(we,Ie,Me,Ze){if(Ze){css$1(we,"transition",""),css$1(we,"transform","");var ne=matrix(this.el),rr=ne&&ne.a,pr=ne&&ne.d,lr=(Ie.left-Me.left)/(rr||1),yr=(Ie.top-Me.top)/(pr||1);we.animatingX=!!lr,we.animatingY=!!yr,css$1(we,"transform","translate3d("+lr+"px,"+yr+"px,0)"),this.forRepaintDummy=repaint(we),css$1(we,"transition","transform "+Ze+"ms"+(this.options.easing?" "+this.options.easing:"")),css$1(we,"transform","translate3d(0,0,0)"),typeof we.animated=="number"&&clearTimeout(we.animated),we.animated=setTimeout(function(){css$1(we,"transition",""),css$1(we,"transform",""),we.animated=!1,we.animatingX=!1,we.animatingY=!1},Ze)}}}}function repaint(m){return m.offsetWidth}function calculateRealTime(m,c,ie,we){return Math.sqrt(Math.pow(c.top-m.top,2)+Math.pow(c.left-m.left,2))/Math.sqrt(Math.pow(c.top-ie.top,2)+Math.pow(c.left-ie.left,2))*we.animation}var plugins=[],defaults$3={initializeByDefault:!0},PluginManager={mount:function m(c){for(var ie in defaults$3)defaults$3.hasOwnProperty(ie)&&!(ie in c)&&(c[ie]=defaults$3[ie]);plugins.forEach(function(we){if(we.pluginName===c.pluginName)throw"Sortable: Cannot mount plugin ".concat(c.pluginName," more than once")}),plugins.push(c)},pluginEvent:function m(c,ie,we){var Ie=this;this.eventCanceled=!1,we.cancel=function(){Ie.eventCanceled=!0};var Me=c+"Global";plugins.forEach(function(Ze){!ie[Ze.pluginName]||(ie[Ze.pluginName][Me]&&ie[Ze.pluginName][Me](_objectSpread2({sortable:ie},we)),ie.options[Ze.pluginName]&&ie[Ze.pluginName][c]&&ie[Ze.pluginName][c](_objectSpread2({sortable:ie},we)))})},initializePlugins:function m(c,ie,we,Ie){plugins.forEach(function(ne){var rr=ne.pluginName;if(!(!c.options[rr]&&!ne.initializeByDefault)){var pr=new ne(c,ie,c.options);pr.sortable=c,pr.options=c.options,c[rr]=pr,_extends(we,pr.defaults)}});for(var Me in c.options)if(!!c.options.hasOwnProperty(Me)){var Ze=this.modifyOption(c,Me,c.options[Me]);typeof Ze<"u"&&(c.options[Me]=Ze)}},getEventProperties:function m(c,ie){var we={};return plugins.forEach(function(Ie){typeof Ie.eventProperties=="function"&&_extends(we,Ie.eventProperties.call(ie[Ie.pluginName],c))}),we},modifyOption:function m(c,ie,we){var Ie;return plugins.forEach(function(Me){!c[Me.pluginName]||Me.optionListeners&&typeof Me.optionListeners[ie]=="function"&&(Ie=Me.optionListeners[ie].call(c[Me.pluginName],we))}),Ie}};function dispatchEvent(m){var c=m.sortable,ie=m.rootEl,we=m.name,Ie=m.targetEl,Me=m.cloneEl,Ze=m.toEl,ne=m.fromEl,rr=m.oldIndex,pr=m.newIndex,lr=m.oldDraggableIndex,yr=m.newDraggableIndex,kr=m.originalEvent,Br=m.putSortable,Ar=m.extraEventProperties;if(c=c||ie&&ie[expando],!!c){var Pr,Nr=c.options,ei="on"+we.charAt(0).toUpperCase()+we.substr(1);window.CustomEvent&&!IE11OrLess&&!Edge?Pr=new CustomEvent(we,{bubbles:!0,cancelable:!0}):(Pr=document.createEvent("Event"),Pr.initEvent(we,!0,!0)),Pr.to=Ze||ie,Pr.from=ne||ie,Pr.item=Ie||ie,Pr.clone=Me,Pr.oldIndex=rr,Pr.newIndex=pr,Pr.oldDraggableIndex=lr,Pr.newDraggableIndex=yr,Pr.originalEvent=kr,Pr.pullMode=Br?Br.lastPutMode:void 0;var Vr=_objectSpread2(_objectSpread2({},Ar),PluginManager.getEventProperties(we,c));for(var Zr in Vr)Pr[Zr]=Vr[Zr];ie&&ie.dispatchEvent(Pr),Nr[ei]&&Nr[ei].call(c,Pr)}}var _excluded=["evt"],pluginEvent=function m(c,ie){var we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ie=we.evt,Me=_objectWithoutProperties(we,_excluded);PluginManager.pluginEvent.bind(Sortable)(c,ie,_objectSpread2({dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,dragStarted:moved,putSortable,activeSortable:Sortable.active,originalEvent:Ie,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function(){cloneHidden=!0},cloneNowShown:function(){cloneHidden=!1},dispatchSortableEvent:function(ne){_dispatchEvent({sortable:ie,name:ne,originalEvent:Ie})}},Me))};function _dispatchEvent(m){dispatchEvent(_objectSpread2({putSortable,cloneEl,targetEl:dragEl,rootEl,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex},m))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=!1,ignoreNextClick=!1,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=!1,isCircumstantialInvert=!1,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=!1,savedInputChecked=[],documentExists=typeof document<"u",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=function(){if(!!documentExists){if(IE11OrLess)return!1;var m=document.createElement("x");return m.style.cssText="pointer-events:auto",m.style.pointerEvents==="auto"}}(),_detectDirection=function m(c,ie){var we=css$1(c),Ie=parseInt(we.width)-parseInt(we.paddingLeft)-parseInt(we.paddingRight)-parseInt(we.borderLeftWidth)-parseInt(we.borderRightWidth),Me=getChild(c,0,ie),Ze=getChild(c,1,ie),ne=Me&&css$1(Me),rr=Ze&&css$1(Ze),pr=ne&&parseInt(ne.marginLeft)+parseInt(ne.marginRight)+getRect(Me).width,lr=rr&&parseInt(rr.marginLeft)+parseInt(rr.marginRight)+getRect(Ze).width;if(we.display==="flex")return we.flexDirection==="column"||we.flexDirection==="column-reverse"?"vertical":"horizontal";if(we.display==="grid")return we.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(Me&&ne.float&&ne.float!=="none"){var yr=ne.float==="left"?"left":"right";return Ze&&(rr.clear==="both"||rr.clear===yr)?"vertical":"horizontal"}return Me&&(ne.display==="block"||ne.display==="flex"||ne.display==="table"||ne.display==="grid"||pr>=Ie&&we[CSSFloatProperty]==="none"||Ze&&we[CSSFloatProperty]==="none"&&pr+lr>Ie)?"vertical":"horizontal"},_dragElInRowColumn=function m(c,ie,we){var Ie=we?c.left:c.top,Me=we?c.right:c.bottom,Ze=we?c.width:c.height,ne=we?ie.left:ie.top,rr=we?ie.right:ie.bottom,pr=we?ie.width:ie.height;return Ie===ne||Me===rr||Ie+Ze/2===ne+pr/2},_detectNearestEmptySortable=function m(c,ie){var we;return sortables.some(function(Ie){var Me=Ie[expando].options.emptyInsertThreshold;if(!(!Me||lastChild(Ie))){var Ze=getRect(Ie),ne=c>=Ze.left-Me&&c<=Ze.right+Me,rr=ie>=Ze.top-Me&&ie<=Ze.bottom+Me;if(ne&&rr)return we=Ie}}),we},_prepareGroup=function m(c){function ie(Me,Ze){return function(ne,rr,pr,lr){var yr=ne.options.group.name&&rr.options.group.name&&ne.options.group.name===rr.options.group.name;if(Me==null&&(Ze||yr))return!0;if(Me==null||Me===!1)return!1;if(Ze&&Me==="clone")return Me;if(typeof Me=="function")return ie(Me(ne,rr,pr,lr),Ze)(ne,rr,pr,lr);var kr=(Ze?ne:rr).options.group.name;return Me===!0||typeof Me=="string"&&Me===kr||Me.join&&Me.indexOf(kr)>-1}}var we={},Ie=c.group;(!Ie||_typeof(Ie)!="object")&&(Ie={name:Ie}),we.name=Ie.name,we.checkPull=ie(Ie.pull,!0),we.checkPut=ie(Ie.put),we.revertClone=Ie.revertClone,c.group=we},_hideGhostForTarget=function m(){!supportCssPointerEvents&&ghostEl&&css$1(ghostEl,"display","none")},_unhideGhostForTarget=function m(){!supportCssPointerEvents&&ghostEl&&css$1(ghostEl,"display","")};documentExists&&!ChromeForAndroid&&document.addEventListener("click",function(m){if(ignoreNextClick)return m.preventDefault(),m.stopPropagation&&m.stopPropagation(),m.stopImmediatePropagation&&m.stopImmediatePropagation(),ignoreNextClick=!1,!1},!0);var nearestEmptyInsertDetectEvent=function m(c){if(dragEl){c=c.touches?c.touches[0]:c;var ie=_detectNearestEmptySortable(c.clientX,c.clientY);if(ie){var we={};for(var Ie in c)c.hasOwnProperty(Ie)&&(we[Ie]=c[Ie]);we.target=we.rootEl=ie,we.preventDefault=void 0,we.stopPropagation=void 0,ie[expando]._onDragOver(we)}}},_checkOutsideTargetEl=function m(c){dragEl&&dragEl.parentNode[expando]._isOutsideThisEl(c.target)};function Sortable(m,c){if(!(m&&m.nodeType&&m.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(m));this.el=m,this.options=c=_extends({},c),m[expando]=this;var ie={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(m.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection(m,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(Ze,ne){Ze.setData("Text",ne.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==!1&&"PointerEvent"in window&&(!Safari||IOS),emptyInsertThreshold:5};PluginManager.initializePlugins(this,m,ie);for(var we in ie)!(we in c)&&(c[we]=ie[we]);_prepareGroup(c);for(var Ie in this)Ie.charAt(0)==="_"&&typeof this[Ie]=="function"&&(this[Ie]=this[Ie].bind(this));this.nativeDraggable=c.forceFallback?!1:supportDraggable,this.nativeDraggable&&(this.options.touchStartThreshold=1),c.supportPointer?on(m,"pointerdown",this._onTapStart):(on(m,"mousedown",this._onTapStart),on(m,"touchstart",this._onTapStart)),this.nativeDraggable&&(on(m,"dragover",this),on(m,"dragenter",this)),sortables.push(this.el),c.store&&c.store.get&&this.sort(c.store.get(this)||[]),_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function m(c){!this.el.contains(c)&&c!==this.el&&(lastTarget=null)},_getDirection:function m(c,ie){return typeof this.options.direction=="function"?this.options.direction.call(this,c,ie,dragEl):this.options.direction},_onTapStart:function m(c){if(!!c.cancelable){var ie=this,we=this.el,Ie=this.options,Me=Ie.preventOnFilter,Ze=c.type,ne=c.touches&&c.touches[0]||c.pointerType&&c.pointerType==="touch"&&c,rr=(ne||c).target,pr=c.target.shadowRoot&&(c.path&&c.path[0]||c.composedPath&&c.composedPath()[0])||rr,lr=Ie.filter;if(_saveInputCheckedState(we),!dragEl&&!(/mousedown|pointerdown/.test(Ze)&&c.button!==0||Ie.disabled)&&!pr.isContentEditable&&!(!this.nativeDraggable&&Safari&&rr&&rr.tagName.toUpperCase()==="SELECT")&&(rr=closest(rr,Ie.draggable,we,!1),!(rr&&rr.animated)&&lastDownEl!==rr)){if(oldIndex=index(rr),oldDraggableIndex=index(rr,Ie.draggable),typeof lr=="function"){if(lr.call(this,c,rr,this)){_dispatchEvent({sortable:ie,rootEl:pr,name:"filter",targetEl:rr,toEl:we,fromEl:we}),pluginEvent("filter",ie,{evt:c}),Me&&c.preventDefault();return}}else if(lr&&(lr=lr.split(",").some(function(yr){if(yr=closest(pr,yr.trim(),we,!1),yr)return _dispatchEvent({sortable:ie,rootEl:yr,name:"filter",targetEl:rr,fromEl:we,toEl:we}),pluginEvent("filter",ie,{evt:c}),!0}),lr)){Me&&c.preventDefault();return}Ie.handle&&!closest(pr,Ie.handle,we,!1)||this._prepareDragStart(c,ne,rr)}}},_prepareDragStart:function m(c,ie,we){var Ie=this,Me=Ie.el,Ze=Ie.options,ne=Me.ownerDocument,rr;if(we&&!dragEl&&we.parentNode===Me){var pr=getRect(we);if(rootEl=Me,dragEl=we,parentEl=dragEl.parentNode,nextEl=dragEl.nextSibling,lastDownEl=we,activeGroup=Ze.group,Sortable.dragged=dragEl,tapEvt={target:dragEl,clientX:(ie||c).clientX,clientY:(ie||c).clientY},tapDistanceLeft=tapEvt.clientX-pr.left,tapDistanceTop=tapEvt.clientY-pr.top,this._lastX=(ie||c).clientX,this._lastY=(ie||c).clientY,dragEl.style["will-change"]="all",rr=function(){if(pluginEvent("delayEnded",Ie,{evt:c}),Sortable.eventCanceled){Ie._onDrop();return}Ie._disableDelayedDragEvents(),!FireFox&&Ie.nativeDraggable&&(dragEl.draggable=!0),Ie._triggerDragStart(c,ie),_dispatchEvent({sortable:Ie,name:"choose",originalEvent:c}),toggleClass(dragEl,Ze.chosenClass,!0)},Ze.ignore.split(",").forEach(function(lr){find(dragEl,lr.trim(),_disableDraggable)}),on(ne,"dragover",nearestEmptyInsertDetectEvent),on(ne,"mousemove",nearestEmptyInsertDetectEvent),on(ne,"touchmove",nearestEmptyInsertDetectEvent),Ze.supportPointer?(on(ne,"pointerup",Ie._onDrop),!this.nativeDraggable&&on(ne,"pointercancel",Ie._onDrop)):(on(ne,"mouseup",Ie._onDrop),on(ne,"touchend",Ie._onDrop),on(ne,"touchcancel",Ie._onDrop)),FireFox&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl.draggable=!0),pluginEvent("delayStart",this,{evt:c}),Ze.delay&&(!Ze.delayOnTouchOnly||ie)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}Ze.supportPointer?(on(ne,"pointerup",Ie._disableDelayedDrag),on(ne,"pointercancel",Ie._disableDelayedDrag)):(on(ne,"mouseup",Ie._disableDelayedDrag),on(ne,"touchend",Ie._disableDelayedDrag),on(ne,"touchcancel",Ie._disableDelayedDrag)),on(ne,"mousemove",Ie._delayedDragTouchMoveHandler),on(ne,"touchmove",Ie._delayedDragTouchMoveHandler),Ze.supportPointer&&on(ne,"pointermove",Ie._delayedDragTouchMoveHandler),Ie._dragStartTimer=setTimeout(rr,Ze.delay)}else rr()}},_delayedDragTouchMoveHandler:function m(c){var ie=c.touches?c.touches[0]:c;Math.max(Math.abs(ie.clientX-this._lastX),Math.abs(ie.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function m(){dragEl&&_disableDraggable(dragEl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function m(){var c=this.el.ownerDocument;off(c,"mouseup",this._disableDelayedDrag),off(c,"touchend",this._disableDelayedDrag),off(c,"touchcancel",this._disableDelayedDrag),off(c,"pointerup",this._disableDelayedDrag),off(c,"pointercancel",this._disableDelayedDrag),off(c,"mousemove",this._delayedDragTouchMoveHandler),off(c,"touchmove",this._delayedDragTouchMoveHandler),off(c,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function m(c,ie){ie=ie||c.pointerType=="touch"&&c,!this.nativeDraggable||ie?this.options.supportPointer?on(document,"pointermove",this._onTouchMove):ie?on(document,"touchmove",this._onTouchMove):on(document,"mousemove",this._onTouchMove):(on(dragEl,"dragend",this),on(rootEl,"dragstart",this._onDragStart));try{document.selection?_nextTick(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function m(c,ie){if(awaitingDragStarted=!1,rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:ie}),this.nativeDraggable&&on(document,"dragover",_checkOutsideTargetEl);var we=this.options;!c&&toggleClass(dragEl,we.dragClass,!1),toggleClass(dragEl,we.ghostClass,!0),Sortable.active=this,c&&this._appendGhost(),_dispatchEvent({sortable:this,name:"start",originalEvent:ie})}else this._nulling()},_emulateDragOver:function m(){if(touchEvt){this._lastX=touchEvt.clientX,this._lastY=touchEvt.clientY,_hideGhostForTarget();for(var c=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY),ie=c;c&&c.shadowRoot&&(c=c.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY),c!==ie);)ie=c;if(dragEl.parentNode[expando]._isOutsideThisEl(c),ie)do{if(ie[expando]){var we=void 0;if(we=ie[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:c,rootEl:ie}),we&&!this.options.dragoverBubble)break}c=ie}while(ie=getParentOrHost(ie));_unhideGhostForTarget()}},_onTouchMove:function m(c){if(tapEvt){var ie=this.options,we=ie.fallbackTolerance,Ie=ie.fallbackOffset,Me=c.touches?c.touches[0]:c,Ze=ghostEl&&matrix(ghostEl,!0),ne=ghostEl&&Ze&&Ze.a,rr=ghostEl&&Ze&&Ze.d,pr=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),lr=(Me.clientX-tapEvt.clientX+Ie.x)/(ne||1)+(pr?pr[0]-ghostRelativeParentInitialScroll[0]:0)/(ne||1),yr=(Me.clientY-tapEvt.clientY+Ie.y)/(rr||1)+(pr?pr[1]-ghostRelativeParentInitialScroll[1]:0)/(rr||1);if(!Sortable.active&&!awaitingDragStarted){if(we&&Math.max(Math.abs(Me.clientX-this._lastX),Math.abs(Me.clientY-this._lastY))<we)return;this._onDragStart(c,!0)}if(ghostEl){Ze?(Ze.e+=lr-(lastDx||0),Ze.f+=yr-(lastDy||0)):Ze={a:1,b:0,c:0,d:1,e:lr,f:yr};var kr="matrix(".concat(Ze.a,",").concat(Ze.b,",").concat(Ze.c,",").concat(Ze.d,",").concat(Ze.e,",").concat(Ze.f,")");css$1(ghostEl,"webkitTransform",kr),css$1(ghostEl,"mozTransform",kr),css$1(ghostEl,"msTransform",kr),css$1(ghostEl,"transform",kr),lastDx=lr,lastDy=yr,touchEvt=Me}c.cancelable&&c.preventDefault()}},_appendGhost:function m(){if(!ghostEl){var c=this.options.fallbackOnBody?document.body:rootEl,ie=getRect(dragEl,!0,PositionGhostAbsolutely,!0,c),we=this.options;if(PositionGhostAbsolutely){for(ghostRelativeParent=c;css$1(ghostRelativeParent,"position")==="static"&&css$1(ghostRelativeParent,"transform")==="none"&&ghostRelativeParent!==document;)ghostRelativeParent=ghostRelativeParent.parentNode;ghostRelativeParent!==document.body&&ghostRelativeParent!==document.documentElement?(ghostRelativeParent===document&&(ghostRelativeParent=getWindowScrollingElement()),ie.top+=ghostRelativeParent.scrollTop,ie.left+=ghostRelativeParent.scrollLeft):ghostRelativeParent=getWindowScrollingElement(),ghostRelativeParentInitialScroll=getRelativeScrollOffset(ghostRelativeParent)}ghostEl=dragEl.cloneNode(!0),toggleClass(ghostEl,we.ghostClass,!1),toggleClass(ghostEl,we.fallbackClass,!0),toggleClass(ghostEl,we.dragClass,!0),css$1(ghostEl,"transition",""),css$1(ghostEl,"transform",""),css$1(ghostEl,"box-sizing","border-box"),css$1(ghostEl,"margin",0),css$1(ghostEl,"top",ie.top),css$1(ghostEl,"left",ie.left),css$1(ghostEl,"width",ie.width),css$1(ghostEl,"height",ie.height),css$1(ghostEl,"opacity","0.8"),css$1(ghostEl,"position",PositionGhostAbsolutely?"absolute":"fixed"),css$1(ghostEl,"zIndex","100000"),css$1(ghostEl,"pointerEvents","none"),Sortable.ghost=ghostEl,c.appendChild(ghostEl),css$1(ghostEl,"transform-origin",tapDistanceLeft/parseInt(ghostEl.style.width)*100+"% "+tapDistanceTop/parseInt(ghostEl.style.height)*100+"%")}},_onDragStart:function m(c,ie){var we=this,Ie=c.dataTransfer,Me=we.options;if(pluginEvent("dragStart",this,{evt:c}),Sortable.eventCanceled){this._onDrop();return}pluginEvent("setupClone",this),Sortable.eventCanceled||(cloneEl=clone(dragEl),cloneEl.removeAttribute("id"),cloneEl.draggable=!1,cloneEl.style["will-change"]="",this._hideClone(),toggleClass(cloneEl,this.options.chosenClass,!1),Sortable.clone=cloneEl),we.cloneId=_nextTick(function(){pluginEvent("clone",we),!Sortable.eventCanceled&&(we.options.removeCloneOnHide||rootEl.insertBefore(cloneEl,dragEl),we._hideClone(),_dispatchEvent({sortable:we,name:"clone"}))}),!ie&&toggleClass(dragEl,Me.dragClass,!0),ie?(ignoreNextClick=!0,we._loopId=setInterval(we._emulateDragOver,50)):(off(document,"mouseup",we._onDrop),off(document,"touchend",we._onDrop),off(document,"touchcancel",we._onDrop),Ie&&(Ie.effectAllowed="move",Me.setData&&Me.setData.call(we,Ie,dragEl)),on(document,"drop",we),css$1(dragEl,"transform","translateZ(0)")),awaitingDragStarted=!0,we._dragStartId=_nextTick(we._dragStarted.bind(we,ie,c)),on(document,"selectstart",we),moved=!0,window.getSelection().removeAllRanges(),Safari&&css$1(document.body,"user-select","none")},_onDragOver:function m(c){var ie=this.el,we=c.target,Ie,Me,Ze,ne=this.options,rr=ne.group,pr=Sortable.active,lr=activeGroup===rr,yr=ne.sort,kr=putSortable||pr,Br,Ar=this,Pr=!1;if(_silent)return;function Nr(br,nr){pluginEvent(br,Ar,_objectSpread2({evt:c,isOwner:lr,axis:Br?"vertical":"horizontal",revert:Ze,dragRect:Ie,targetRect:Me,canSort:yr,fromSortable:kr,target:we,completed:Vr,onMove:function(ur,$r){return _onMove(rootEl,ie,dragEl,Ie,ur,getRect(ur),c,$r)},changed:Zr},nr))}function ei(){Nr("dragOverAnimationCapture"),Ar.captureAnimationState(),Ar!==kr&&kr.captureAnimationState()}function Vr(br){return Nr("dragOverCompleted",{insertion:br}),br&&(lr?pr._hideClone():pr._showClone(Ar),Ar!==kr&&(toggleClass(dragEl,putSortable?putSortable.options.ghostClass:pr.options.ghostClass,!1),toggleClass(dragEl,ne.ghostClass,!0)),putSortable!==Ar&&Ar!==Sortable.active?putSortable=Ar:Ar===Sortable.active&&putSortable&&(putSortable=null),kr===Ar&&(Ar._ignoreWhileAnimating=we),Ar.animateAll(function(){Nr("dragOverAnimationComplete"),Ar._ignoreWhileAnimating=null}),Ar!==kr&&(kr.animateAll(),kr._ignoreWhileAnimating=null)),(we===dragEl&&!dragEl.animated||we===ie&&!we.animated)&&(lastTarget=null),!ne.dragoverBubble&&!c.rootEl&&we!==document&&(dragEl.parentNode[expando]._isOutsideThisEl(c.target),!br&&nearestEmptyInsertDetectEvent(c)),!ne.dragoverBubble&&c.stopPropagation&&c.stopPropagation(),Pr=!0}function Zr(){newIndex=index(dragEl),newDraggableIndex=index(dragEl,ne.draggable),_dispatchEvent({sortable:Ar,name:"change",toEl:ie,newIndex,newDraggableIndex,originalEvent:c})}if(c.preventDefault!==void 0&&c.cancelable&&c.preventDefault(),we=closest(we,ne.draggable,ie,!0),Nr("dragOver"),Sortable.eventCanceled)return Pr;if(dragEl.contains(c.target)||we.animated&&we.animatingX&&we.animatingY||Ar._ignoreWhileAnimating===we)return Vr(!1);if(ignoreNextClick=!1,pr&&!ne.disabled&&(lr?yr||(Ze=parentEl!==rootEl):putSortable===this||(this.lastPutMode=activeGroup.checkPull(this,pr,dragEl,c))&&rr.checkPut(this,pr,dragEl,c))){if(Br=this._getDirection(c,we)==="vertical",Ie=getRect(dragEl),Nr("dragOverValid"),Sortable.eventCanceled)return Pr;if(Ze)return parentEl=rootEl,ei(),this._hideClone(),Nr("revert"),Sortable.eventCanceled||(nextEl?rootEl.insertBefore(dragEl,nextEl):rootEl.appendChild(dragEl)),Vr(!0);var Wr=lastChild(ie,ne.draggable);if(!Wr||_ghostIsLast(c,Br,this)&&!Wr.animated){if(Wr===dragEl)return Vr(!1);if(Wr&&ie===c.target&&(we=Wr),we&&(Me=getRect(we)),_onMove(rootEl,ie,dragEl,Ie,we,Me,c,!!we)!==!1)return ei(),Wr&&Wr.nextSibling?ie.insertBefore(dragEl,Wr.nextSibling):ie.appendChild(dragEl),parentEl=ie,Zr(),Vr(!0)}else if(Wr&&_ghostIsFirst(c,Br,this)){var ai=getChild(ie,0,ne,!0);if(ai===dragEl)return Vr(!1);if(we=ai,Me=getRect(we),_onMove(rootEl,ie,dragEl,Ie,we,Me,c,!1)!==!1)return ei(),ie.insertBefore(dragEl,ai),parentEl=ie,Zr(),Vr(!0)}else if(we.parentNode===ie){Me=getRect(we);var ui=0,di,fi=dragEl.parentNode!==ie,li=!_dragElInRowColumn(dragEl.animated&&dragEl.toRect||Ie,we.animated&&we.toRect||Me,Br),hi=Br?"top":"left",gr=isScrolledPast(we,"top","top")||isScrolledPast(dragEl,"top","top"),Ae=gr?gr.scrollTop:void 0;lastTarget!==we&&(di=Me[hi],pastFirstInvertThresh=!1,isCircumstantialInvert=!li&&ne.invertSwap||fi),ui=_getSwapDirection(c,we,Me,Br,li?1:ne.swapThreshold,ne.invertedSwapThreshold==null?ne.swapThreshold:ne.invertedSwapThreshold,isCircumstantialInvert,lastTarget===we);var ze;if(ui!==0){var Ue=index(dragEl);do Ue-=ui,ze=parentEl.children[Ue];while(ze&&(css$1(ze,"display")==="none"||ze===ghostEl))}if(ui===0||ze===we)return Vr(!1);lastTarget=we,lastDirection=ui;var tr=we.nextElementSibling,or=!1;or=ui===1;var vr=_onMove(rootEl,ie,dragEl,Ie,we,Me,c,or);if(vr!==!1)return(vr===1||vr===-1)&&(or=vr===1),_silent=!0,setTimeout(_unsilent,30),ei(),or&&!tr?ie.appendChild(dragEl):we.parentNode.insertBefore(dragEl,or?tr:we),gr&&scrollBy(gr,0,Ae-gr.scrollTop),parentEl=dragEl.parentNode,di!==void 0&&!isCircumstantialInvert&&(targetMoveDistance=Math.abs(di-getRect(we)[hi])),Zr(),Vr(!0)}if(ie.contains(dragEl))return Vr(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function m(){off(document,"mousemove",this._onTouchMove),off(document,"touchmove",this._onTouchMove),off(document,"pointermove",this._onTouchMove),off(document,"dragover",nearestEmptyInsertDetectEvent),off(document,"mousemove",nearestEmptyInsertDetectEvent),off(document,"touchmove",nearestEmptyInsertDetectEvent)},_offUpEvents:function m(){var c=this.el.ownerDocument;off(c,"mouseup",this._onDrop),off(c,"touchend",this._onDrop),off(c,"pointerup",this._onDrop),off(c,"pointercancel",this._onDrop),off(c,"touchcancel",this._onDrop),off(document,"selectstart",this)},_onDrop:function m(c){var ie=this.el,we=this.options;if(newIndex=index(dragEl),newDraggableIndex=index(dragEl,we.draggable),pluginEvent("drop",this,{evt:c}),parentEl=dragEl&&dragEl.parentNode,newIndex=index(dragEl),newDraggableIndex=index(dragEl,we.draggable),Sortable.eventCanceled){this._nulling();return}awaitingDragStarted=!1,isCircumstantialInvert=!1,pastFirstInvertThresh=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),_cancelNextTick(this.cloneId),_cancelNextTick(this._dragStartId),this.nativeDraggable&&(off(document,"drop",this),off(ie,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Safari&&css$1(document.body,"user-select",""),css$1(dragEl,"transform",""),c&&(moved&&(c.cancelable&&c.preventDefault(),!we.dropBubble&&c.stopPropagation()),ghostEl&&ghostEl.parentNode&&ghostEl.parentNode.removeChild(ghostEl),(rootEl===parentEl||putSortable&&putSortable.lastPutMode!=="clone")&&cloneEl&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),dragEl&&(this.nativeDraggable&&off(dragEl,"dragend",this),_disableDraggable(dragEl),dragEl.style["will-change"]="",moved&&!awaitingDragStarted&&toggleClass(dragEl,putSortable?putSortable.options.ghostClass:this.options.ghostClass,!1),toggleClass(dragEl,this.options.chosenClass,!1),_dispatchEvent({sortable:this,name:"unchoose",toEl:parentEl,newIndex:null,newDraggableIndex:null,originalEvent:c}),rootEl!==parentEl?(newIndex>=0&&(_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:c}),_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:c}),_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:c}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:c})),putSortable&&putSortable.save()):newIndex!==oldIndex&&newIndex>=0&&(_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:c}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:c})),Sortable.active&&((newIndex==null||newIndex===-1)&&(newIndex=oldIndex,newDraggableIndex=oldDraggableIndex),_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:c}),this.save()))),this._nulling()},_nulling:function m(){pluginEvent("nulling",this),rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null,savedInputChecked.forEach(function(c){c.checked=!0}),savedInputChecked.length=lastDx=lastDy=0},handleEvent:function m(c){switch(c.type){case"drop":case"dragend":this._onDrop(c);break;case"dragenter":case"dragover":dragEl&&(this._onDragOver(c),_globalDragOver(c));break;case"selectstart":c.preventDefault();break}},toArray:function m(){for(var c=[],ie,we=this.el.children,Ie=0,Me=we.length,Ze=this.options;Ie<Me;Ie++)ie=we[Ie],closest(ie,Ze.draggable,this.el,!1)&&c.push(ie.getAttribute(Ze.dataIdAttr)||_generateId(ie));return c},sort:function m(c,ie){var we={},Ie=this.el;this.toArray().forEach(function(Me,Ze){var ne=Ie.children[Ze];closest(ne,this.options.draggable,Ie,!1)&&(we[Me]=ne)},this),ie&&this.captureAnimationState(),c.forEach(function(Me){we[Me]&&(Ie.removeChild(we[Me]),Ie.appendChild(we[Me]))}),ie&&this.animateAll()},save:function m(){var c=this.options.store;c&&c.set&&c.set(this)},closest:function m(c,ie){return closest(c,ie||this.options.draggable,this.el,!1)},option:function m(c,ie){var we=this.options;if(ie===void 0)return we[c];var Ie=PluginManager.modifyOption(this,c,ie);typeof Ie<"u"?we[c]=Ie:we[c]=ie,c==="group"&&_prepareGroup(we)},destroy:function m(){pluginEvent("destroy",this);var c=this.el;c[expando]=null,off(c,"mousedown",this._onTapStart),off(c,"touchstart",this._onTapStart),off(c,"pointerdown",this._onTapStart),this.nativeDraggable&&(off(c,"dragover",this),off(c,"dragenter",this)),Array.prototype.forEach.call(c.querySelectorAll("[draggable]"),function(ie){ie.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),sortables.splice(sortables.indexOf(this.el),1),this.el=c=null},_hideClone:function m(){if(!cloneHidden){if(pluginEvent("hideClone",this),Sortable.eventCanceled)return;css$1(cloneEl,"display","none"),this.options.removeCloneOnHide&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),cloneHidden=!0}},_showClone:function m(c){if(c.lastPutMode!=="clone"){this._hideClone();return}if(cloneHidden){if(pluginEvent("showClone",this),Sortable.eventCanceled)return;dragEl.parentNode==rootEl&&!this.options.group.revertClone?rootEl.insertBefore(cloneEl,dragEl):nextEl?rootEl.insertBefore(cloneEl,nextEl):rootEl.appendChild(cloneEl),this.options.group.revertClone&&this.animate(dragEl,cloneEl),css$1(cloneEl,"display",""),cloneHidden=!1}}};function _globalDragOver(m){m.dataTransfer&&(m.dataTransfer.dropEffect="move"),m.cancelable&&m.preventDefault()}function _onMove(m,c,ie,we,Ie,Me,Ze,ne){var rr,pr=m[expando],lr=pr.options.onMove,yr;return window.CustomEvent&&!IE11OrLess&&!Edge?rr=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(rr=document.createEvent("Event"),rr.initEvent("move",!0,!0)),rr.to=c,rr.from=m,rr.dragged=ie,rr.draggedRect=we,rr.related=Ie||c,rr.relatedRect=Me||getRect(c),rr.willInsertAfter=ne,rr.originalEvent=Ze,m.dispatchEvent(rr),lr&&(yr=lr.call(pr,rr,Ze)),yr}function _disableDraggable(m){m.draggable=!1}function _unsilent(){_silent=!1}function _ghostIsFirst(m,c,ie){var we=getRect(getChild(ie.el,0,ie.options,!0)),Ie=getChildContainingRectFromElement(ie.el,ie.options,ghostEl),Me=10;return c?m.clientX<Ie.left-Me||m.clientY<we.top&&m.clientX<we.right:m.clientY<Ie.top-Me||m.clientY<we.bottom&&m.clientX<we.left}function _ghostIsLast(m,c,ie){var we=getRect(lastChild(ie.el,ie.options.draggable)),Ie=getChildContainingRectFromElement(ie.el,ie.options,ghostEl),Me=10;return c?m.clientX>Ie.right+Me||m.clientY>we.bottom&&m.clientX>we.left:m.clientY>Ie.bottom+Me||m.clientX>we.right&&m.clientY>we.top}function _getSwapDirection(m,c,ie,we,Ie,Me,Ze,ne){var rr=we?m.clientY:m.clientX,pr=we?ie.height:ie.width,lr=we?ie.top:ie.left,yr=we?ie.bottom:ie.right,kr=!1;if(!Ze){if(ne&&targetMoveDistance<pr*Ie){if(!pastFirstInvertThresh&&(lastDirection===1?rr>lr+pr*Me/2:rr<yr-pr*Me/2)&&(pastFirstInvertThresh=!0),pastFirstInvertThresh)kr=!0;else if(lastDirection===1?rr<lr+targetMoveDistance:rr>yr-targetMoveDistance)return-lastDirection}else if(rr>lr+pr*(1-Ie)/2&&rr<yr-pr*(1-Ie)/2)return _getInsertDirection(c)}return kr=kr||Ze,kr&&(rr<lr+pr*Me/2||rr>yr-pr*Me/2)?rr>lr+pr/2?1:-1:0}function _getInsertDirection(m){return index(dragEl)<index(m)?1:-1}function _generateId(m){for(var c=m.tagName+m.className+m.src+m.href+m.textContent,ie=c.length,we=0;ie--;)we+=c.charCodeAt(ie);return we.toString(36)}function _saveInputCheckedState(m){savedInputChecked.length=0;for(var c=m.getElementsByTagName("input"),ie=c.length;ie--;){var we=c[ie];we.checked&&savedInputChecked.push(we)}}function _nextTick(m){return setTimeout(m,0)}function _cancelNextTick(m){return clearTimeout(m)}documentExists&&on(document,"touchmove",function(m){(Sortable.active||awaitingDragStarted)&&m.cancelable&&m.preventDefault()}),Sortable.utils={on,off,css:css$1,find,is:function m(c,ie){return!!closest(c,ie,c,!1)},extend:extend$3,throttle,closest,toggleClass,clone,index,nextTick:_nextTick,cancelNextTick:_cancelNextTick,detectDirection:_detectDirection,getChild,expando},Sortable.get=function(m){return m[expando]},Sortable.mount=function(){for(var m=arguments.length,c=new Array(m),ie=0;ie<m;ie++)c[ie]=arguments[ie];c[0].constructor===Array&&(c=c[0]),c.forEach(function(we){if(!we.prototype||!we.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(we));we.utils&&(Sortable.utils=_objectSpread2(_objectSpread2({},Sortable.utils),we.utils)),PluginManager.mount(we)})},Sortable.create=function(m,c){return new Sortable(m,c)},Sortable.version=version;var autoScrolls=[],scrollEl,scrollRootEl,scrolling=!1,lastAutoScrollX,lastAutoScrollY,touchEvt$1,pointerElemChangedInterval;function AutoScrollPlugin(){function m(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var c in this)c.charAt(0)==="_"&&typeof this[c]=="function"&&(this[c]=this[c].bind(this))}return m.prototype={dragStarted:function(ie){var we=ie.originalEvent;this.sortable.nativeDraggable?on(document,"dragover",this._handleAutoScroll):this.options.supportPointer?on(document,"pointermove",this._handleFallbackAutoScroll):we.touches?on(document,"touchmove",this._handleFallbackAutoScroll):on(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(ie){var we=ie.originalEvent;!this.options.dragOverBubble&&!we.rootEl&&this._handleAutoScroll(we)},drop:function(){this.sortable.nativeDraggable?off(document,"dragover",this._handleAutoScroll):(off(document,"pointermove",this._handleFallbackAutoScroll),off(document,"touchmove",this._handleFallbackAutoScroll),off(document,"mousemove",this._handleFallbackAutoScroll)),clearPointerElemChangedInterval(),clearAutoScrolls(),cancelThrottle()},nulling:function(){touchEvt$1=scrollRootEl=scrollEl=scrolling=pointerElemChangedInterval=lastAutoScrollX=lastAutoScrollY=null,autoScrolls.length=0},_handleFallbackAutoScroll:function(ie){this._handleAutoScroll(ie,!0)},_handleAutoScroll:function(ie,we){var Ie=this,Me=(ie.touches?ie.touches[0]:ie).clientX,Ze=(ie.touches?ie.touches[0]:ie).clientY,ne=document.elementFromPoint(Me,Ze);if(touchEvt$1=ie,we||this.options.forceAutoScrollFallback||Edge||IE11OrLess||Safari){autoScroll(ie,this.options,ne,we);var rr=getParentAutoScrollElement(ne,!0);scrolling&&(!pointerElemChangedInterval||Me!==lastAutoScrollX||Ze!==lastAutoScrollY)&&(pointerElemChangedInterval&&clearPointerElemChangedInterval(),pointerElemChangedInterval=setInterval(function(){var pr=getParentAutoScrollElement(document.elementFromPoint(Me,Ze),!0);pr!==rr&&(rr=pr,clearAutoScrolls()),autoScroll(ie,Ie.options,pr,we)},10),lastAutoScrollX=Me,lastAutoScrollY=Ze)}else{if(!this.options.bubbleScroll||getParentAutoScrollElement(ne,!0)===getWindowScrollingElement()){clearAutoScrolls();return}autoScroll(ie,this.options,getParentAutoScrollElement(ne,!1),!1)}}},_extends(m,{pluginName:"scroll",initializeByDefault:!0})}function clearAutoScrolls(){autoScrolls.forEach(function(m){clearInterval(m.pid)}),autoScrolls=[]}function clearPointerElemChangedInterval(){clearInterval(pointerElemChangedInterval)}var autoScroll=throttle(function(m,c,ie,we){if(!!c.scroll){var Ie=(m.touches?m.touches[0]:m).clientX,Me=(m.touches?m.touches[0]:m).clientY,Ze=c.scrollSensitivity,ne=c.scrollSpeed,rr=getWindowScrollingElement(),pr=!1,lr;scrollRootEl!==ie&&(scrollRootEl=ie,clearAutoScrolls(),scrollEl=c.scroll,lr=c.scrollFn,scrollEl===!0&&(scrollEl=getParentAutoScrollElement(ie,!0)));var yr=0,kr=scrollEl;do{var Br=kr,Ar=getRect(Br),Pr=Ar.top,Nr=Ar.bottom,ei=Ar.left,Vr=Ar.right,Zr=Ar.width,Wr=Ar.height,ai=void 0,ui=void 0,di=Br.scrollWidth,fi=Br.scrollHeight,li=css$1(Br),hi=Br.scrollLeft,gr=Br.scrollTop;Br===rr?(ai=Zr<di&&(li.overflowX==="auto"||li.overflowX==="scroll"||li.overflowX==="visible"),ui=Wr<fi&&(li.overflowY==="auto"||li.overflowY==="scroll"||li.overflowY==="visible")):(ai=Zr<di&&(li.overflowX==="auto"||li.overflowX==="scroll"),ui=Wr<fi&&(li.overflowY==="auto"||li.overflowY==="scroll"));var Ae=ai&&(Math.abs(Vr-Ie)<=Ze&&hi+Zr<di)-(Math.abs(ei-Ie)<=Ze&&!!hi),ze=ui&&(Math.abs(Nr-Me)<=Ze&&gr+Wr<fi)-(Math.abs(Pr-Me)<=Ze&&!!gr);if(!autoScrolls[yr])for(var Ue=0;Ue<=yr;Ue++)autoScrolls[Ue]||(autoScrolls[Ue]={});(autoScrolls[yr].vx!=Ae||autoScrolls[yr].vy!=ze||autoScrolls[yr].el!==Br)&&(autoScrolls[yr].el=Br,autoScrolls[yr].vx=Ae,autoScrolls[yr].vy=ze,clearInterval(autoScrolls[yr].pid),(Ae!=0||ze!=0)&&(pr=!0,autoScrolls[yr].pid=setInterval(function(){we&&this.layer===0&&Sortable.active._onTouchMove(touchEvt$1);var tr=autoScrolls[this.layer].vy?autoScrolls[this.layer].vy*ne:0,or=autoScrolls[this.layer].vx?autoScrolls[this.layer].vx*ne:0;typeof lr=="function"&&lr.call(Sortable.dragged.parentNode[expando],or,tr,m,touchEvt$1,autoScrolls[this.layer].el)!=="continue"||scrollBy(autoScrolls[this.layer].el,or,tr)}.bind({layer:yr}),24))),yr++}while(c.bubbleScroll&&kr!==rr&&(kr=getParentAutoScrollElement(kr,!1)));scrolling=pr}},30),drop=function m(c){var ie=c.originalEvent,we=c.putSortable,Ie=c.dragEl,Me=c.activeSortable,Ze=c.dispatchSortableEvent,ne=c.hideGhostForTarget,rr=c.unhideGhostForTarget;if(!!ie){var pr=we||Me;ne();var lr=ie.changedTouches&&ie.changedTouches.length?ie.changedTouches[0]:ie,yr=document.elementFromPoint(lr.clientX,lr.clientY);rr(),pr&&!pr.el.contains(yr)&&(Ze("spill"),this.onSpill({dragEl:Ie,putSortable:we}))}};function Revert(){}Revert.prototype={startIndex:null,dragStart:function m(c){var ie=c.oldDraggableIndex;this.startIndex=ie},onSpill:function m(c){var ie=c.dragEl,we=c.putSortable;this.sortable.captureAnimationState(),we&&we.captureAnimationState();var Ie=getChild(this.sortable.el,this.startIndex,this.options);Ie?this.sortable.el.insertBefore(ie,Ie):this.sortable.el.appendChild(ie),this.sortable.animateAll(),we&&we.animateAll()},drop},_extends(Revert,{pluginName:"revertOnSpill"});function Remove(){}Remove.prototype={onSpill:function m(c){var ie=c.dragEl,we=c.putSortable,Ie=we||this.sortable;Ie.captureAnimationState(),ie.parentNode&&ie.parentNode.removeChild(ie),Ie.animateAll()},drop},_extends(Remove,{pluginName:"removeOnSpill"});var lastSwapEl;function SwapPlugin(){function m(){this.defaults={swapClass:"sortable-swap-highlight"}}return m.prototype={dragStart:function(ie){var we=ie.dragEl;lastSwapEl=we},dragOverValid:function(ie){var we=ie.completed,Ie=ie.target,Me=ie.onMove,Ze=ie.activeSortable,ne=ie.changed,rr=ie.cancel;if(!!Ze.options.swap){var pr=this.sortable.el,lr=this.options;if(Ie&&Ie!==pr){var yr=lastSwapEl;Me(Ie)!==!1?(toggleClass(Ie,lr.swapClass,!0),lastSwapEl=Ie):lastSwapEl=null,yr&&yr!==lastSwapEl&&toggleClass(yr,lr.swapClass,!1)}ne(),we(!0),rr()}},drop:function(ie){var we=ie.activeSortable,Ie=ie.putSortable,Me=ie.dragEl,Ze=Ie||this.sortable,ne=this.options;lastSwapEl&&toggleClass(lastSwapEl,ne.swapClass,!1),lastSwapEl&&(ne.swap||Ie&&Ie.options.swap)&&Me!==lastSwapEl&&(Ze.captureAnimationState(),Ze!==we&&we.captureAnimationState(),swapNodes(Me,lastSwapEl),Ze.animateAll(),Ze!==we&&we.animateAll())},nulling:function(){lastSwapEl=null}},_extends(m,{pluginName:"swap",eventProperties:function(){return{swapItem:lastSwapEl}}})}function swapNodes(m,c){var ie=m.parentNode,we=c.parentNode,Ie,Me;!ie||!we||ie.isEqualNode(c)||we.isEqualNode(m)||(Ie=index(m),Me=index(c),ie.isEqualNode(we)&&Ie<Me&&Me++,ie.insertBefore(c,ie.children[Ie]),we.insertBefore(m,we.children[Me]))}var multiDragElements=[],multiDragClones=[],lastMultiDragSelect,multiDragSortable,initialFolding=!1,folding=!1,dragStarted=!1,dragEl$1,clonesFromRect,clonesHidden;function MultiDragPlugin(){function m(c){for(var ie in this)ie.charAt(0)==="_"&&typeof this[ie]=="function"&&(this[ie]=this[ie].bind(this));c.options.avoidImplicitDeselect||(c.options.supportPointer?on(document,"pointerup",this._deselectMultiDrag):(on(document,"mouseup",this._deselectMultiDrag),on(document,"touchend",this._deselectMultiDrag))),on(document,"keydown",this._checkKeyDown),on(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(Ie,Me){var Ze="";multiDragElements.length&&multiDragSortable===c?multiDragElements.forEach(function(ne,rr){Ze+=(rr?", ":"")+ne.textContent}):Ze=Me.textContent,Ie.setData("Text",Ze)}}}return m.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(ie){var we=ie.dragEl;dragEl$1=we},delayEnded:function(){this.isMultiDrag=~multiDragElements.indexOf(dragEl$1)},setupClone:function(ie){var we=ie.sortable,Ie=ie.cancel;if(!!this.isMultiDrag){for(var Me=0;Me<multiDragElements.length;Me++)multiDragClones.push(clone(multiDragElements[Me])),multiDragClones[Me].sortableIndex=multiDragElements[Me].sortableIndex,multiDragClones[Me].draggable=!1,multiDragClones[Me].style["will-change"]="",toggleClass(multiDragClones[Me],this.options.selectedClass,!1),multiDragElements[Me]===dragEl$1&&toggleClass(multiDragClones[Me],this.options.chosenClass,!1);we._hideClone(),Ie()}},clone:function(ie){var we=ie.sortable,Ie=ie.rootEl,Me=ie.dispatchSortableEvent,Ze=ie.cancel;!this.isMultiDrag||this.options.removeCloneOnHide||multiDragElements.length&&multiDragSortable===we&&(insertMultiDragClones(!0,Ie),Me("clone"),Ze())},showClone:function(ie){var we=ie.cloneNowShown,Ie=ie.rootEl,Me=ie.cancel;!this.isMultiDrag||(insertMultiDragClones(!1,Ie),multiDragClones.forEach(function(Ze){css$1(Ze,"display","")}),we(),clonesHidden=!1,Me())},hideClone:function(ie){var we=this;ie.sortable;var Ie=ie.cloneNowHidden,Me=ie.cancel;!this.isMultiDrag||(multiDragClones.forEach(function(Ze){css$1(Ze,"display","none"),we.options.removeCloneOnHide&&Ze.parentNode&&Ze.parentNode.removeChild(Ze)}),Ie(),clonesHidden=!0,Me())},dragStartGlobal:function(ie){ie.sortable,!this.isMultiDrag&&multiDragSortable&&multiDragSortable.multiDrag._deselectMultiDrag(),multiDragElements.forEach(function(we){we.sortableIndex=index(we)}),multiDragElements=multiDragElements.sort(function(we,Ie){return we.sortableIndex-Ie.sortableIndex}),dragStarted=!0},dragStarted:function(ie){var we=this,Ie=ie.sortable;if(!!this.isMultiDrag){if(this.options.sort&&(Ie.captureAnimationState(),this.options.animation)){multiDragElements.forEach(function(Ze){Ze!==dragEl$1&&css$1(Ze,"position","absolute")});var Me=getRect(dragEl$1,!1,!0,!0);multiDragElements.forEach(function(Ze){Ze!==dragEl$1&&setRect(Ze,Me)}),folding=!0,initialFolding=!0}Ie.animateAll(function(){folding=!1,initialFolding=!1,we.options.animation&&multiDragElements.forEach(function(Ze){unsetRect(Ze)}),we.options.sort&&removeMultiDragElements()})}},dragOver:function(ie){var we=ie.target,Ie=ie.completed,Me=ie.cancel;folding&&~multiDragElements.indexOf(we)&&(Ie(!1),Me())},revert:function(ie){var we=ie.fromSortable,Ie=ie.rootEl,Me=ie.sortable,Ze=ie.dragRect;multiDragElements.length>1&&(multiDragElements.forEach(function(ne){Me.addAnimationState({target:ne,rect:folding?getRect(ne):Ze}),unsetRect(ne),ne.fromRect=Ze,we.removeAnimationState(ne)}),folding=!1,insertMultiDragElements(!this.options.removeCloneOnHide,Ie))},dragOverCompleted:function(ie){var we=ie.sortable,Ie=ie.isOwner,Me=ie.insertion,Ze=ie.activeSortable,ne=ie.parentEl,rr=ie.putSortable,pr=this.options;if(Me){if(Ie&&Ze._hideClone(),initialFolding=!1,pr.animation&&multiDragElements.length>1&&(folding||!Ie&&!Ze.options.sort&&!rr)){var lr=getRect(dragEl$1,!1,!0,!0);multiDragElements.forEach(function(kr){kr!==dragEl$1&&(setRect(kr,lr),ne.appendChild(kr))}),folding=!0}if(!Ie)if(folding||removeMultiDragElements(),multiDragElements.length>1){var yr=clonesHidden;Ze._showClone(we),Ze.options.animation&&!clonesHidden&&yr&&multiDragClones.forEach(function(kr){Ze.addAnimationState({target:kr,rect:clonesFromRect}),kr.fromRect=clonesFromRect,kr.thisAnimationDuration=null})}else Ze._showClone(we)}},dragOverAnimationCapture:function(ie){var we=ie.dragRect,Ie=ie.isOwner,Me=ie.activeSortable;if(multiDragElements.forEach(function(ne){ne.thisAnimationDuration=null}),Me.options.animation&&!Ie&&Me.multiDrag.isMultiDrag){clonesFromRect=_extends({},we);var Ze=matrix(dragEl$1,!0);clonesFromRect.top-=Ze.f,clonesFromRect.left-=Ze.e}},dragOverAnimationComplete:function(){folding&&(folding=!1,removeMultiDragElements())},drop:function(ie){var we=ie.originalEvent,Ie=ie.rootEl,Me=ie.parentEl,Ze=ie.sortable,ne=ie.dispatchSortableEvent,rr=ie.oldIndex,pr=ie.putSortable,lr=pr||this.sortable;if(!!we){var yr=this.options,kr=Me.children;if(!dragStarted)if(yr.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),toggleClass(dragEl$1,yr.selectedClass,!~multiDragElements.indexOf(dragEl$1)),~multiDragElements.indexOf(dragEl$1))multiDragElements.splice(multiDragElements.indexOf(dragEl$1),1),lastMultiDragSelect=null,dispatchEvent({sortable:Ze,rootEl:Ie,name:"deselect",targetEl:dragEl$1,originalEvent:we});else{if(multiDragElements.push(dragEl$1),dispatchEvent({sortable:Ze,rootEl:Ie,name:"select",targetEl:dragEl$1,originalEvent:we}),we.shiftKey&&lastMultiDragSelect&&Ze.el.contains(lastMultiDragSelect)){var Br=index(lastMultiDragSelect),Ar=index(dragEl$1);~Br&&~Ar&&Br!==Ar&&function(){var Vr,Zr;Ar>Br?(Zr=Br,Vr=Ar):(Zr=Ar,Vr=Br+1);for(var Wr=yr.filter;Zr<Vr;Zr++)if(!~multiDragElements.indexOf(kr[Zr])&&!!closest(kr[Zr],yr.draggable,Me,!1)){var ai=Wr&&(typeof Wr=="function"?Wr.call(Ze,we,kr[Zr],Ze):Wr.split(",").some(function(ui){return closest(kr[Zr],ui.trim(),Me,!1)}));ai||(toggleClass(kr[Zr],yr.selectedClass,!0),multiDragElements.push(kr[Zr]),dispatchEvent({sortable:Ze,rootEl:Ie,name:"select",targetEl:kr[Zr],originalEvent:we}))}}()}else lastMultiDragSelect=dragEl$1;multiDragSortable=lr}if(dragStarted&&this.isMultiDrag){if(folding=!1,(Me[expando].options.sort||Me!==Ie)&&multiDragElements.length>1){var Pr=getRect(dragEl$1),Nr=index(dragEl$1,":not(."+this.options.selectedClass+")");if(!initialFolding&&yr.animation&&(dragEl$1.thisAnimationDuration=null),lr.captureAnimationState(),!initialFolding&&(yr.animation&&(dragEl$1.fromRect=Pr,multiDragElements.forEach(function(Vr){if(Vr.thisAnimationDuration=null,Vr!==dragEl$1){var Zr=folding?getRect(Vr):Pr;Vr.fromRect=Zr,lr.addAnimationState({target:Vr,rect:Zr})}})),removeMultiDragElements(),multiDragElements.forEach(function(Vr){kr[Nr]?Me.insertBefore(Vr,kr[Nr]):Me.appendChild(Vr),Nr++}),rr===index(dragEl$1))){var ei=!1;multiDragElements.forEach(function(Vr){if(Vr.sortableIndex!==index(Vr)){ei=!0;return}}),ei&&(ne("update"),ne("sort"))}multiDragElements.forEach(function(Vr){unsetRect(Vr)}),lr.animateAll()}multiDragSortable=lr}(Ie===Me||pr&&pr.lastPutMode!=="clone")&&multiDragClones.forEach(function(Vr){Vr.parentNode&&Vr.parentNode.removeChild(Vr)})}},nullingGlobal:function(){this.isMultiDrag=dragStarted=!1,multiDragClones.length=0},destroyGlobal:function(){this._deselectMultiDrag(),off(document,"pointerup",this._deselectMultiDrag),off(document,"mouseup",this._deselectMultiDrag),off(document,"touchend",this._deselectMultiDrag),off(document,"keydown",this._checkKeyDown),off(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(ie){if(!(typeof dragStarted<"u"&&dragStarted)&&multiDragSortable===this.sortable&&!(ie&&closest(ie.target,this.options.draggable,this.sortable.el,!1))&&!(ie&&ie.button!==0))for(;multiDragElements.length;){var we=multiDragElements[0];toggleClass(we,this.options.selectedClass,!1),multiDragElements.shift(),dispatchEvent({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:we,originalEvent:ie})}},_checkKeyDown:function(ie){ie.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(ie){ie.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},_extends(m,{pluginName:"multiDrag",utils:{select:function(ie){var we=ie.parentNode[expando];!we||!we.options.multiDrag||~multiDragElements.indexOf(ie)||(multiDragSortable&&multiDragSortable!==we&&(multiDragSortable.multiDrag._deselectMultiDrag(),multiDragSortable=we),toggleClass(ie,we.options.selectedClass,!0),multiDragElements.push(ie))},deselect:function(ie){var we=ie.parentNode[expando],Ie=multiDragElements.indexOf(ie);!we||!we.options.multiDrag||!~Ie||(toggleClass(ie,we.options.selectedClass,!1),multiDragElements.splice(Ie,1))}},eventProperties:function(){var ie=this,we=[],Ie=[];return multiDragElements.forEach(function(Me){we.push({multiDragElement:Me,index:Me.sortableIndex});var Ze;folding&&Me!==dragEl$1?Ze=-1:folding?Ze=index(Me,":not(."+ie.options.selectedClass+")"):Ze=index(Me),Ie.push({multiDragElement:Me,index:Ze})}),{items:_toConsumableArray(multiDragElements),clones:[].concat(multiDragClones),oldIndicies:we,newIndicies:Ie}},optionListeners:{multiDragKey:function(ie){return ie=ie.toLowerCase(),ie==="ctrl"?ie="Control":ie.length>1&&(ie=ie.charAt(0).toUpperCase()+ie.substr(1)),ie}}})}function insertMultiDragElements(m,c){multiDragElements.forEach(function(ie,we){var Ie=c.children[ie.sortableIndex+(m?Number(we):0)];Ie?c.insertBefore(ie,Ie):c.appendChild(ie)})}function insertMultiDragClones(m,c){multiDragClones.forEach(function(ie,we){var Ie=c.children[ie.sortableIndex+(m?Number(we):0)];Ie?c.insertBefore(ie,Ie):c.appendChild(ie)})}function removeMultiDragElements(){multiDragElements.forEach(function(m){m!==dragEl$1&&m.parentNode&&m.parentNode.removeChild(m)})}Sortable.mount(new AutoScrollPlugin),Sortable.mount(Remove,Revert),Sortable.mount(new SwapPlugin),Sortable.mount(new MultiDragPlugin);const _sfc_main$H={},_hoisted_1$y={viewBox:"0 0 132 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _sfc_render$4(m,c){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$y,c[0]||(c[0]=[vue.createElementVNode("rect",{x:"1.87207",y:"1.85645",width:"128.449",height:"28.588",rx:"3.49824",stroke:"#D9D9DA","stroke-width":"2"},null,-1),vue.createElementVNode("path",{d:"M113.979 13.2063L117.471 19.2532C117.829 19.8735 118.724 19.8735 119.082 19.2532L122.573 13.2063",stroke:"#D9D9DA","stroke-width":"2","stroke-linecap":"round"},null,-1),vue.createElementVNode("path",{d:"M17.7379 13.5344C17.686 13.0741 17.4721 12.7176 17.0961 12.4647C16.7201 12.2086 16.2468 12.0806 15.6763 12.0806C15.2679 12.0806 14.9146 12.1454 14.6164 12.2751C14.3182 12.4015 14.0864 12.5766 13.9211 12.8002C13.759 13.0206 13.678 13.2718 13.678 13.5538C13.678 13.7905 13.7331 13.9947 13.8433 14.1665C13.9568 14.3383 14.1042 14.4825 14.2858 14.5992C14.4705 14.7126 14.6683 14.8083 14.8789 14.8861C15.0896 14.9606 15.2922 15.0222 15.4867 15.0708L16.4591 15.3237C16.7768 15.4015 17.1026 15.5068 17.4364 15.6397C17.7703 15.7726 18.0799 15.9476 18.3651 16.1648C18.6503 16.382 18.8805 16.651 19.0555 16.9719C19.2338 17.2928 19.3229 17.6769 19.3229 18.1243C19.3229 18.6883 19.1771 19.1891 18.8853 19.6267C18.5969 20.0642 18.1771 20.4095 17.6261 20.6623C17.0783 20.9151 16.4154 21.0415 15.6374 21.0415C14.8919 21.0415 14.2469 20.9232 13.7023 20.6866C13.1577 20.45 12.7315 20.1145 12.4236 19.6801C12.1156 19.2425 11.9455 18.7239 11.913 18.1243H13.4203C13.4495 18.484 13.5662 18.7839 13.7704 19.0237C13.9778 19.2604 14.242 19.437 14.5629 19.5537C14.887 19.6672 15.242 19.7239 15.6277 19.7239C16.0523 19.7239 16.43 19.6574 16.7606 19.5245C17.0945 19.3884 17.357 19.2004 17.5483 18.9605C17.7395 18.7174 17.8351 18.4338 17.8351 18.1097C17.8351 17.8147 17.7508 17.5732 17.5823 17.3852C17.417 17.1972 17.1917 17.0416 16.9065 16.9184C16.6245 16.7953 16.3052 16.6867 15.9486 16.5927L14.772 16.2718C13.9746 16.0546 13.3425 15.7353 12.8757 15.3139C12.4122 14.8925 12.1805 14.335 12.1805 13.6414C12.1805 13.0676 12.336 12.5668 12.6472 12.139C12.9584 11.7111 13.3798 11.3788 13.9114 11.1422C14.443 10.9024 15.0426 10.7824 15.7104 10.7824C16.3846 10.7824 16.9794 10.9007 17.4948 11.1374C18.0134 11.374 18.4218 11.6997 18.72 12.1146C19.0182 12.5263 19.1738 12.9996 19.1868 13.5344H17.7379ZM24.2203 21.0269C23.4845 21.0269 22.8508 20.8697 22.3192 20.5553C21.7909 20.2377 21.3825 19.792 21.094 19.2182C20.8087 18.6413 20.6661 17.9654 20.6661 17.1907C20.6661 16.4257 20.8087 15.7515 21.094 15.1681C21.3825 14.5846 21.7844 14.1292 22.2998 13.8018C22.8184 13.4744 23.4246 13.3107 24.1182 13.3107C24.5396 13.3107 24.948 13.3804 25.3435 13.5198C25.7389 13.6592 26.0939 13.878 26.4083 14.1762C26.7227 14.4744 26.9707 14.8618 27.1522 15.3382C27.3337 15.8115 27.4245 16.3868 27.4245 17.0643V17.5797H21.4878V16.4906H25.9999C25.9999 16.1081 25.9221 15.7694 25.7665 15.4744C25.6109 15.1762 25.3921 14.9412 25.1101 14.7694C24.8313 14.5976 24.504 14.5117 24.1279 14.5117C23.7195 14.5117 23.363 14.6122 23.0583 14.8131C22.7568 15.0109 22.5234 15.2702 22.3581 15.5911C22.1961 15.9087 22.115 16.2539 22.115 16.6267V17.4776C22.115 17.9768 22.2025 18.4014 22.3776 18.7515C22.5559 19.1015 22.8038 19.369 23.1215 19.5537C23.4391 19.7352 23.8103 19.826 24.2349 19.826C24.5104 19.826 24.7616 19.7871 24.9885 19.7093C25.2154 19.6283 25.4115 19.5083 25.5769 19.3495C25.7422 19.1907 25.8686 18.9946 25.9561 18.7612L27.3321 19.0092C27.2219 19.4143 27.0242 19.7693 26.7389 20.074C26.4569 20.3754 26.102 20.6104 25.6741 20.779C25.2495 20.9443 24.7649 21.0269 24.2203 21.0269ZM30.4913 10.9186V20.8762H29.0375V10.9186H30.4913ZM35.6658 21.0269C34.93 21.0269 34.2963 20.8697 33.7647 20.5553C33.2364 20.2377 32.8279 19.792 32.5394 19.2182C32.2542 18.6413 32.1116 17.9654 32.1116 17.1907C32.1116 16.4257 32.2542 15.7515 32.5394 15.1681C32.8279 14.5846 33.2299 14.1292 33.7453 13.8018C34.2639 13.4744 34.87 13.3107 35.5637 13.3107C35.9851 13.3107 36.3935 13.3804 36.789 13.5198C37.1844 13.6592 37.5393 13.878 37.8538 14.1762C38.1682 14.4744 38.4161 14.8618 38.5977 15.3382C38.7792 15.8115 38.8699 16.3868 38.8699 17.0643V17.5797H32.9333V16.4906H37.4453C37.4453 16.1081 37.3675 15.7694 37.212 15.4744C37.0564 15.1762 36.8376 14.9412 36.5556 14.7694C36.2768 14.5976 35.9494 14.5117 35.5734 14.5117C35.165 14.5117 34.8084 14.6122 34.5037 14.8131C34.2023 15.0109 33.9689 15.2702 33.8036 15.5911C33.6415 15.9087 33.5605 16.2539 33.5605 16.6267V17.4776C33.5605 17.9768 33.648 18.4014 33.823 18.7515C34.0013 19.1015 34.2493 19.369 34.567 19.5537C34.8846 19.7352 35.2558 19.826 35.6804 19.826C35.9559 19.826 36.2071 19.7871 36.434 19.7093C36.6609 19.6283 36.857 19.5083 37.0223 19.3495C37.1876 19.1907 37.3141 18.9946 37.4016 18.7612L38.7776 19.0092C38.6674 19.4143 38.4696 19.7693 38.1844 20.074C37.9024 20.3754 37.5474 20.6104 37.1196 20.779C36.695 20.9443 36.2104 21.0269 35.6658 21.0269ZM43.6288 21.0269C42.9059 21.0269 42.2836 20.8633 41.7617 20.5359C41.2431 20.2052 40.8444 19.7498 40.5656 19.1696C40.2869 18.5894 40.1475 17.9249 40.1475 17.1761C40.1475 16.4176 40.2901 15.7483 40.5753 15.1681C40.8606 14.5846 41.2625 14.1292 41.7812 13.8018C42.2998 13.4744 42.9108 13.3107 43.6142 13.3107C44.1814 13.3107 44.6871 13.4161 45.1312 13.6268C45.5752 13.8342 45.9334 14.126 46.2057 14.502C46.4812 14.878 46.6449 15.3172 46.6968 15.8196H45.2819C45.2041 15.4695 45.0258 15.1681 44.7471 14.9152C44.4715 14.6624 44.102 14.536 43.6385 14.536C43.2333 14.536 42.8784 14.643 42.5737 14.8569C42.2722 15.0676 42.0372 15.369 41.8687 15.7613C41.7001 16.1502 41.6158 16.6105 41.6158 17.1421C41.6158 17.6867 41.6985 18.1567 41.8638 18.5521C42.0291 18.9476 42.2625 19.2539 42.564 19.4711C42.8687 19.6882 43.2268 19.7968 43.6385 19.7968C43.914 19.7968 44.1636 19.7466 44.3873 19.6461C44.6142 19.5424 44.8038 19.3949 44.9561 19.2036C45.1117 19.0124 45.2203 18.7823 45.2819 18.5132H46.6968C46.6449 18.9962 46.4877 19.4273 46.2251 19.8066C45.9626 20.1858 45.6109 20.484 45.1701 20.7012C44.7325 20.9184 44.2187 21.0269 43.6288 21.0269ZM51.7376 13.408V14.5749H47.6583V13.408H51.7376ZM48.7522 11.6187H50.206V18.6834C50.206 18.9654 50.2482 19.1777 50.3324 19.3203C50.4167 19.4597 50.5253 19.5553 50.6582 19.6072C50.7943 19.6558 50.9418 19.6801 51.1007 19.6801C51.2173 19.6801 51.3195 19.672 51.407 19.6558C51.4945 19.6396 51.5626 19.6267 51.6112 19.6169L51.8737 20.8179C51.7895 20.8503 51.6695 20.8827 51.5139 20.9151C51.3584 20.9508 51.1639 20.9702 50.9305 20.9735C50.548 20.9799 50.1914 20.9119 49.8608 20.7693C49.5302 20.6266 49.2628 20.4062 49.0586 20.108C48.8543 19.8098 48.7522 19.4354 48.7522 18.9848V11.6187ZM59.1426 21.0415C58.6694 21.0415 58.2415 20.954 57.859 20.779C57.4765 20.6007 57.1735 20.343 56.9498 20.0059C56.7294 19.6688 56.6192 19.2555 56.6192 18.7661C56.6192 18.3447 56.7002 17.9978 56.8623 17.7256C57.0244 17.4533 57.2432 17.2377 57.5187 17.0789C57.7942 16.9201 58.1021 16.8001 58.4425 16.7191C58.7828 16.6381 59.1297 16.5765 59.483 16.5343C59.9303 16.4825 60.2933 16.4403 60.5721 16.4079C60.8509 16.3723 61.0535 16.3155 61.1799 16.2377C61.3063 16.1599 61.3695 16.0335 61.3695 15.8585V15.8245C61.3695 15.3998 61.2496 15.0708 61.0097 14.8374C60.7731 14.6041 60.4198 14.4874 59.9497 14.4874C59.4603 14.4874 59.0746 14.596 58.7926 14.8131C58.5138 15.0271 58.3209 15.2653 58.214 15.5279L56.8477 15.2167C57.0098 14.7629 57.2464 14.3966 57.5576 14.1178C57.872 13.8358 58.2334 13.6316 58.6418 13.5052C59.0503 13.3756 59.4797 13.3107 59.9303 13.3107C60.2285 13.3107 60.5445 13.3464 60.8784 13.4177C61.2155 13.4858 61.5299 13.6122 61.8217 13.7969C62.1166 13.9817 62.3581 14.2459 62.5461 14.5895C62.7341 14.9298 62.8281 15.3723 62.8281 15.9168V20.8762H61.4084V19.8552H61.35C61.256 20.0432 61.115 20.2279 60.927 20.4095C60.739 20.591 60.4975 20.7417 60.2026 20.8616C59.9076 20.9816 59.5543 21.0415 59.1426 21.0415ZM59.4587 19.8746C59.8606 19.8746 60.2042 19.7952 60.4894 19.6364C60.7779 19.4775 60.9967 19.2701 61.1458 19.014C61.2982 18.7547 61.3744 18.4776 61.3744 18.1826V17.2199C61.3225 17.2718 61.222 17.3204 61.0729 17.3658C60.927 17.4079 60.7601 17.4452 60.5721 17.4776C60.3841 17.5068 60.201 17.5343 60.0227 17.5602C59.8444 17.5829 59.6953 17.6024 59.5754 17.6186C59.2934 17.6542 59.0357 17.7142 58.8023 17.7985C58.5721 17.8828 58.3874 18.0043 58.248 18.1631C58.1119 18.3187 58.0438 18.5262 58.0438 18.7855C58.0438 19.1453 58.1767 19.4176 58.4425 19.6023C58.7083 19.7839 59.047 19.8746 59.4587 19.8746ZM68.0136 12.2119V10.9186H75.7201V12.2119H72.6132V20.8762H71.1156V12.2119H68.0136ZM79.4421 21.0269C78.7063 21.0269 78.0726 20.8697 77.541 20.5553C77.0126 20.2377 76.6042 19.792 76.3157 19.2182C76.0305 18.6413 75.8878 17.9654 75.8878 17.1907C75.8878 16.4257 76.0305 15.7515 76.3157 15.1681C76.6042 14.5846 77.0061 14.1292 77.5215 13.8018C78.0401 13.4744 78.6463 13.3107 79.34 13.3107C79.7613 13.3107 80.1698 13.3804 80.5652 13.5198C80.9607 13.6592 81.3156 13.878 81.63 14.1762C81.9444 14.4744 82.1924 14.8618 82.3739 15.3382C82.5554 15.8115 82.6462 16.3868 82.6462 17.0643V17.5797H76.7095V16.4906H81.2216C81.2216 16.1081 81.1438 15.7694 80.9882 15.4744C80.8326 15.1762 80.6138 14.9412 80.3318 14.7694C80.0531 14.5976 79.7257 14.5117 79.3497 14.5117C78.9413 14.5117 78.5847 14.6122 78.28 14.8131C77.9786 15.0109 77.7452 15.2702 77.5799 15.5911C77.4178 15.9087 77.3368 16.2539 77.3368 16.6267V17.4776C77.3368 17.9768 77.4243 18.4014 77.5993 18.7515C77.7776 19.1015 78.0256 19.369 78.3432 19.5537C78.6609 19.7352 79.032 19.826 79.4566 19.826C79.7322 19.826 79.9834 19.7871 80.2103 19.7093C80.4372 19.6283 80.6333 19.5083 80.7986 19.3495C80.9639 19.1907 81.0903 18.9946 81.1778 18.7612L82.5538 19.0092C82.4436 19.4143 82.2459 19.7693 81.9606 20.074C81.6786 20.3754 81.3237 20.6104 80.8958 20.779C80.4712 20.9443 79.9866 21.0269 79.4421 21.0269ZM85.2329 13.408L86.8811 16.3155L88.544 13.408H90.1339L87.8049 17.1421L90.1533 20.8762H88.5634L86.8811 18.0854L85.2037 20.8762H83.6089L85.933 17.1421L83.6381 13.408H85.2329ZM95.1127 13.408V14.5749H91.0334V13.408H95.1127ZM92.1274 11.6187H93.5812V18.6834C93.5812 18.9654 93.6233 19.1777 93.7076 19.3203C93.7919 19.4597 93.9004 19.5553 94.0333 19.6072C94.1695 19.6558 94.317 19.6801 94.4758 19.6801C94.5925 19.6801 94.6946 19.672 94.7821 19.6558C94.8696 19.6396 94.9377 19.6267 94.9863 19.6169L95.2489 20.8179C95.1646 20.8503 95.0447 20.8827 94.8891 20.9151C94.7335 20.9508 94.539 20.9702 94.3056 20.9735C93.9231 20.9799 93.5666 20.9119 93.2359 20.7693C92.9053 20.6266 92.6379 20.4062 92.4337 20.108C92.2295 19.8098 92.1274 19.4354 92.1274 18.9848V11.6187Z",fill:"#D9D9DA"},null,-1),vue.createElementVNode("path",{d:"M106.131 2.20605V30.0951",stroke:"#D9D9DA","stroke-width":"2","stroke-linecap":"round"},null,-1)]))}const SelectTextIcon=_export_sfc(_sfc_main$H,[["render",_sfc_render$4]]),_sfc_main$G={},_hoisted_1$x={viewBox:"0 0 133 51",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _sfc_render$3(m,c){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$x,c[0]||(c[0]=[vue.createStaticVNode('<path d="M78.0598 16.2648H61.2682C59.8772 16.2648 58.7495 17.3924 58.7495 18.7835V32.2167C58.7495 33.6078 59.8772 34.7355 61.2682 34.7355H78.0598C79.4508 34.7355 80.5785 33.6078 80.5785 32.2167V18.7835C80.5785 17.3924 79.4508 16.2648 78.0598 16.2648Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-linejoin="round"></path><path d="M73.8618 22.9814C74.7891 22.9814 75.5409 22.2296 75.5409 21.3022C75.5409 20.3748 74.7891 19.623 73.8618 19.623C72.9344 19.623 72.1826 20.3748 72.1826 21.3022C72.1826 22.2296 72.9344 22.9814 73.8618 22.9814Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-miterlimit="10"></path><path d="M72.1827 29.6868L67.4255 24.9385C67.1228 24.6358 66.7159 24.4602 66.288 24.4475C65.8601 24.4348 65.4436 24.586 65.1235 24.8702L58.7495 30.5374M67.9849 34.7353L74.457 28.2632C74.7529 27.9666 75.1491 27.7914 75.5677 27.772C75.9862 27.7526 76.3969 27.8903 76.7191 28.1582L80.5785 31.377" stroke="#F5F5F5" stroke-width="1.67915" stroke-linecap="round" stroke-linejoin="round"></path><path d="M117.267 16.2648H100.475C99.0842 16.2648 97.9565 17.3924 97.9565 18.7835V32.2167C97.9565 33.6078 99.0842 34.7355 100.475 34.7355H117.267C118.658 34.7355 119.786 33.6078 119.786 32.2167V18.7835C119.786 17.3924 118.658 16.2648 117.267 16.2648Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-linejoin="round"></path><path d="M113.069 22.9814C113.997 22.9814 114.748 22.2296 114.748 21.3022C114.748 20.3748 113.997 19.623 113.069 19.623C112.142 19.623 111.39 20.3748 111.39 21.3022C111.39 22.2296 112.142 22.9814 113.069 22.9814Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-miterlimit="10"></path><path d="M111.39 29.6868L106.633 24.9385C106.33 24.6358 105.923 24.4602 105.495 24.4475C105.067 24.4348 104.651 24.586 104.331 24.8702L97.9565 30.5374M107.192 34.7353L113.664 28.2632C113.96 27.9666 114.356 27.7914 114.775 27.772C115.193 27.7526 115.604 27.8903 115.926 28.1582L119.786 31.377" stroke="#F5F5F5" stroke-width="1.67915" stroke-linecap="round" stroke-linejoin="round"></path><circle cx="23.8095" cy="25.5" r="21.0054" stroke="#F5F5F5" stroke-width="1.40647"></circle><path d="M32.2661 16.2648H15.4745C14.0835 16.2648 12.9558 17.3924 12.9558 18.7835V32.2167C12.9558 33.6078 14.0835 34.7355 15.4745 34.7355H32.2661C33.6571 34.7355 34.7848 33.6078 34.7848 32.2167V18.7835C34.7848 17.3924 33.6571 16.2648 32.2661 16.2648Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-linejoin="round"></path><path d="M28.0678 22.9814C28.9952 22.9814 29.747 22.2296 29.747 21.3022C29.747 20.3748 28.9952 19.623 28.0678 19.623C27.1405 19.623 26.3887 20.3748 26.3887 21.3022C26.3887 22.2296 27.1405 22.9814 28.0678 22.9814Z" stroke="#F5F5F5" stroke-width="1.67915" stroke-miterlimit="10"></path><path d="M26.389 29.6868L21.6318 24.9385C21.3291 24.6358 20.9222 24.4602 20.4943 24.4475C20.0664 24.4348 19.6499 24.586 19.3298 24.8702L12.9558 30.5374M22.1912 34.7353L28.6632 28.2632C28.9592 27.9666 29.3554 27.7914 29.774 27.772C30.1925 27.7526 30.6032 27.8903 30.9254 28.1582L34.7848 31.377" stroke="#F5F5F5" stroke-width="1.67915" stroke-linecap="round" stroke-linejoin="round"></path>',10)]))}const SelectImageIcon=_export_sfc(_sfc_main$G,[["render",_sfc_render$3]]);function modelField(m,c){return{...Object.fromEntries(Object.entries(m).map(([ie,we])=>[ie,c.value[we]])),...Object.fromEntries(Object.entries(m).map(([ie])=>[`onUpdate:${ie}`,we=>{c.value[m[ie]]=we}]))}}const fieldWeights={Image:1,Checkbox:.2,Text:1,HighlightedText:1,Select:1,Group:1,ImageAdjust:1,Color:1,Number:1,Map:1,Collection:1,ImageEdit:1,SelectColor:1,SelectImage:1,SelectText:1,Instruction:1};function flattenFields(m){const c=[];function ie(we,Ie){let Me=1;for(const Ze of we)if(Ze.type==="Group")ie(Ze.props.fields,Ze);else{const ne=fieldWeights[Ze.type]??1;ne+Me<=1?(c[c.length-1].fields.push(Ze),Me+=ne):(c.push({fields:[Ze],originalField:Ie}),Me=ne)}}return ie(m),c}function flattenFieldTable(m){const c=[];function ie(we,Ie){for(const Me of we)Me.type==="Group"?ie(Me.props.fields):c.push(Me)}return ie(m),c}function useMobileFields(m){return{mobileFields:vue.computed(()=>flattenFields(m.value).map(ie=>({originalField:ie.originalField,fields:ie.fields})))}}function useFields(m){const c=vue.inject("data"),ie=vue.inject("bridge");ie||console.error("bridge is not provided");const we=vue.inject("computedPropEvaluator");we||console.error("computedPropEvaluator is not provided");const Ie=Ze=>({...Object.fromEntries(Object.entries(Ze).map(([rr,pr])=>[rr,c.value?c.value[pr]:void 0])),...Object.fromEntries(Object.entries(Ze).map(([rr])=>[`onUpdate:${rr}`,pr=>{if(!c.value){console.error("data is not provided");return}c.value[Ze[rr]]=pr}]))});function Me(Ze){return Object.fromEntries(Object.entries(Ze).map(([ne,rr])=>typeof rr=="function"?[ne,we(rr)]:[ne,rr]))}return{fields:m,data:c,bridge:ie,modelField:Ie,wrapFieldProps:Me}}function getFieldDescription(m){if(m.description)return m.description;switch(m.type){case"ImageAdjust":return m.model.image;case"Group":return getFieldsDescription(m.props.fields);case"Instruction":return typeof m.props.instruction=="function"?m.props.instruction():m.props.instruction;case"ImageEdit":return m.model.modelValue;default:return m.model.modelValue}}function getFieldsDescription(m){return m.map(getFieldDescription).join(", ")}function renderFieldIcon(m,c,ie={}){return vue.h(BxIcon,{style:{color:c?"rgba(var(--primary-color-base), 1)":"inherit",...ie}},()=>vue.h((()=>{switch(m){case"Text":return TextOutline;case"HighlightedText":return TextOutline;case"Image":return ImageOutline;case"Checkbox":return CheckmarkCircleOutline;case"ImageAdjust":return CropOutline;case"Select":return ListOutline;case"Number":return OptionsOutline;case"Color":return EyedropOutline;case"Group":return FolderOutline;case"Map":return MapOutline;case"Collection":return ListOutline;case"ImageEdit":return ImageOutline;case"SelectColor":return ColorPaletteOutline;case"SelectImage":return SelectImageIcon;case"SelectText":return SelectTextIcon;case"Instruction":return InformationCircleOutline;default:return AppsOutline}})()))}function getDefaultValueForFieldModel(m,c){return m.type==="Text"?m.props.richtext.enabled?[{text:"hello world",format:{}}]:"hello world":m.type==="HighlightedText"?[{text:"hello world",format:{}}]:m.type==="Checkbox"?!1:m.type==="Image"?"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/0ef44222-cec4-41a9-fa4b-deb327addf00/draftThumb":m.type==="ImageEdit"?{src:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/0ef44222-cec4-41a9-fa4b-deb327addf00/draftThumb",innerPos:[0,0],scale:1,innerRotate:0}:m.type==="Group"?{}:m.type==="Collection"?[]:m.type==="ImageAdjust"?c==="image"?"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/0ef44222-cec4-41a9-fa4b-deb327addf00/draftThumb":{scale:1,innerPos:[0,0]}:m.type==="Select"?m.props.options[0].value:m.type==="SelectImage"?{src:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/0ef44222-cec4-41a9-fa4b-deb327addf00/draftThumb",innerPos:[0,0],scale:1,innerRotate:0}:m.type==="SelectColor"?"#ff0000":m.type==="SelectText"?"hello world":null}function realizeField(m){return{...m,props:Object.fromEntries(Object.entries(m.props).map(([c,ie])=>{if(ie?.__type__==="function"){const[we]=ie.__value__.match(/function anonymous\(\s*\) {\s*return /)??[];let Ie=ie.__value__.slice(we.length,-1);for(;Ie.lastIndexOf(`
|
|
100
100
|
`)>-1;)Ie.lastIndexOf(`
|
|
101
101
|
`)===Ie.length-1&&(Ie=Ie.slice(0,-1));return[c,new Function(`return ${Ie}`)]}else return[c,ie]}))}}function stringifyField(m){return{...m,props:Object.fromEntries(Object.entries(m.props).map(([c,ie])=>typeof ie=="function"?[c,{__type__:"function",__value__:ie.toString()}]:[c,ie]))}}const _hoisted_1$w={class:"label"},_hoisted_2$n={class:"actions-right"},_hoisted_3$f={class:"actions"},_sfc_main$F=vue.defineComponent({__name:"Collection",props:vue.mergeModels({layout:{},fields:{},description:{},detailedDescription:{},bridge:{},defaultValue:{},mobile:{type:Boolean,default:!1},min:{default:0},max:{default:1/0}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(m){const c=m,ie=vue.ref(nanoid()),we=vue.useModel(m,"modelValue"),Ie=vue.ref();vue.onMounted(()=>{!Ie.value||Sortable.create(Ie.value,{animation:500,handle:".drag-btn",preventOnFilter:!0,ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",onUpdate:function(Ar){pr(Ar.oldIndex,Ar.newIndex)}})});const Me=vue.ref((we.value??[]).map(()=>!1));Me.value[0]=!0,(we.value===void 0||we.value===null)&&(we.value=[]);function Ze(){if(kr.value)return;const Ar=Object.fromEntries(c.fields.map(Pr=>Object.entries(Pr.model).map(([Nr,ei])=>c.defaultValue&&ei in c.defaultValue?[ei,c.defaultValue[ei]]:[ei,getDefaultValueForFieldModel(Pr,Nr)])).flat());we.value=[...we.value??[],_$1.cloneDeep(we.value[0]??Ar)],Me.value=[...Me.value.map(()=>!1),!0]}function ne(Ar,Pr){we.value[Ar]=Pr}function rr(Ar){Br.value||(we.value=we.value.filter((Pr,Nr)=>Nr!==Ar),Me.value.splice(Ar,1))}function pr(Ar,Pr){const Nr=we.value[Ar];we.value.splice(Ar,1),we.value.splice(Pr,0,Nr);const ei=Me.value[Ar];Me.value.splice(Ar,1),Me.value.splice(Pr,0,ei),ie.value=nanoid()}function lr(Ar){if(Me.value[Ar]=!Me.value[Ar],Me.value[Ar])for(let Pr=0;Pr<Me.value.length;Pr++)Pr!==Ar&&(Me.value[Pr]=!1)}function yr(Ar){const Pr=we.value.indexOf(Ar),Nr=c.fields.find(ei=>ei.type==="Text");return Nr?Ar[Nr.model.modelValue]??`Entry ${Pr+1}`:`Entry ${Pr+1}`}const kr=vue.computed(()=>we.value instanceof Array?we.value.length>=c.max:!1),Br=vue.computed(()=>we.value instanceof Array?we.value.length<=c.min:!1);return(Ar,Pr)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["collection-field",{mobile:Ar.mobile}])},[vue.createElementVNode("div",{ref_key:"entriesListRef",ref:Ie,class:"entries-list"},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(we.value,(Nr,ei)=>(vue.openBlock(),vue.createBlock(BxCard,{key:ei+ie.value},vue.createSlots({header:vue.withCtx(()=>[vue.createVNode(BxIcon,{class:"drag-btn swiper-no-swiping"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(MenuOutline))]),_:1}),vue.createElementVNode("div",_hoisted_1$w,vue.toDisplayString(yr(Nr)),1),vue.createElementVNode("div",_hoisted_2$n,[vue.createVNode(BxButton,{circle:"",size:"small",tertiary:"",onClick:Vr=>lr(ei)},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[Me.value[ei]?(vue.openBlock(),vue.createBlock(vue.unref(ChevronDownOutline),{key:0})):(vue.openBlock(),vue.createBlock(vue.unref(ChevronUpOutline),{key:1}))]),_:2},1024)]),_:2},1032,["onClick"]),vue.createVNode(BxButton,{circle:"",size:"small",tertiary:"",disabled:Br.value,onClick:Vr=>rr(ei)},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),_:2},1032,["disabled","onClick"])])]),_:2},[Me.value[ei]?{name:"default",fn:vue.withCtx(()=>[vue.createElementVNode("main",null,[vue.createVNode(_sfc_main$I,{data:Nr,"onUpdate:data":Vr=>ne(ei,Vr),fields:Ar.fields,bridge:Ar.bridge,layout:Ar.layout},null,8,["data","onUpdate:data","fields","bridge","layout"])])]),key:"0"}:void 0]),1024))),128))],512),vue.createElementVNode("div",_hoisted_3$f,[vue.createVNode(BxButton,{disabled:kr.value,centered:"",onClick:Ze},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(AddOutline))]),_:1})]),default:vue.withCtx(()=>[Pr[0]||(Pr[0]=vue.createTextVNode(" Add entry "))]),_:1},8,["disabled"])])],2))}}),Collection_vue_vue_type_style_index_0_scoped_b308de50_lang="",Collection=_export_sfc(_sfc_main$F,[["__scopeId","data-v-b308de50"]]);var mapboxGl={exports:{}};(function(m,c){(function(ie,we){m.exports=we()})(commonjsGlobal,function(){var ie,we,Ie;function Me(ne,rr){if(!ie)ie=rr;else if(!we)we=rr;else{var pr="self.onerror = function() { console.error('An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; please see https://docs.mapbox.com/mapbox-gl-js/guides/install/#transpiling'); }; var sharedChunk = {}; ("+ie+")(sharedChunk); ("+we+")(sharedChunk); self.onerror = null;",lr={};ie(lr),Ie=rr(lr),typeof window<"u"&&window&&window.URL&&window.URL.createObjectURL&&(Ie.workerUrl=window.URL.createObjectURL(new Blob([pr],{type:"text/javascript"})))}}Me(["exports"],function(ne){function rr(Pe){return Pe&&Pe.__esModule&&Object.prototype.hasOwnProperty.call(Pe,"default")?Pe.default:Pe}var pr,lr={},yr={};function kr(){if(pr)return yr;pr=1,Object.defineProperty(yr,"__esModule",{value:!0}),yr.setMatrixArrayType=function(Ke){yr.ARRAY_TYPE=de=Ke},yr.toRadian=function(Ke){return Ke*De},yr.equals=function(Ke,Ve){return Math.abs(Ke-Ve)<=Pe*Math.max(1,Math.abs(Ke),Math.abs(Ve))},yr.RANDOM=yr.ARRAY_TYPE=yr.EPSILON=void 0;var Pe=1e-6;yr.EPSILON=Pe;var de=typeof Float32Array<"u"?Float32Array:Array;yr.ARRAY_TYPE=de;var Ce=Math.random;yr.RANDOM=Ce;var De=Math.PI/180;return Math.hypot||(Math.hypot=function(){for(var Ke=0,Ve=arguments.length;Ve--;)Ke+=arguments[Ve]*arguments[Ve];return Math.sqrt(Ke)}),yr}var Br,Ar={};function Pr(){if(Br)return Ar;function Pe(Ve){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(er){return typeof er}:function(er){return er&&typeof Symbol=="function"&&er.constructor===Symbol&&er!==Symbol.prototype?"symbol":typeof er},Pe(Ve)}Br=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.create=function(){var Ve=new de.ARRAY_TYPE(4);return de.ARRAY_TYPE!=Float32Array&&(Ve[1]=0,Ve[2]=0),Ve[0]=1,Ve[3]=1,Ve},Ar.clone=function(Ve){var er=new de.ARRAY_TYPE(4);return er[0]=Ve[0],er[1]=Ve[1],er[2]=Ve[2],er[3]=Ve[3],er},Ar.copy=function(Ve,er){return Ve[0]=er[0],Ve[1]=er[1],Ve[2]=er[2],Ve[3]=er[3],Ve},Ar.identity=function(Ve){return Ve[0]=1,Ve[1]=0,Ve[2]=0,Ve[3]=1,Ve},Ar.fromValues=function(Ve,er,fr,wr){var Lr=new de.ARRAY_TYPE(4);return Lr[0]=Ve,Lr[1]=er,Lr[2]=fr,Lr[3]=wr,Lr},Ar.set=function(Ve,er,fr,wr,Lr){return Ve[0]=er,Ve[1]=fr,Ve[2]=wr,Ve[3]=Lr,Ve},Ar.transpose=function(Ve,er){if(Ve===er){var fr=er[1];Ve[1]=er[2],Ve[2]=fr}else Ve[0]=er[0],Ve[1]=er[2],Ve[2]=er[1],Ve[3]=er[3];return Ve},Ar.invert=function(Ve,er){var fr=er[0],wr=er[1],Lr=er[2],cr=er[3],Mr=fr*cr-Lr*wr;return Mr?(Ve[0]=cr*(Mr=1/Mr),Ve[1]=-wr*Mr,Ve[2]=-Lr*Mr,Ve[3]=fr*Mr,Ve):null},Ar.adjoint=function(Ve,er){var fr=er[0];return Ve[0]=er[3],Ve[1]=-er[1],Ve[2]=-er[2],Ve[3]=fr,Ve},Ar.determinant=function(Ve){return Ve[0]*Ve[3]-Ve[2]*Ve[1]},Ar.multiply=De,Ar.rotate=function(Ve,er,fr){var wr=er[0],Lr=er[1],cr=er[2],Mr=er[3],Er=Math.sin(fr),xr=Math.cos(fr);return Ve[0]=wr*xr+cr*Er,Ve[1]=Lr*xr+Mr*Er,Ve[2]=wr*-Er+cr*xr,Ve[3]=Lr*-Er+Mr*xr,Ve},Ar.scale=function(Ve,er,fr){var wr=er[1],Lr=er[2],cr=er[3],Mr=fr[0],Er=fr[1];return Ve[0]=er[0]*Mr,Ve[1]=wr*Mr,Ve[2]=Lr*Er,Ve[3]=cr*Er,Ve},Ar.fromRotation=function(Ve,er){var fr=Math.sin(er),wr=Math.cos(er);return Ve[0]=wr,Ve[1]=fr,Ve[2]=-fr,Ve[3]=wr,Ve},Ar.fromScaling=function(Ve,er){return Ve[0]=er[0],Ve[1]=0,Ve[2]=0,Ve[3]=er[1],Ve},Ar.str=function(Ve){return"mat2("+Ve[0]+", "+Ve[1]+", "+Ve[2]+", "+Ve[3]+")"},Ar.frob=function(Ve){return Math.hypot(Ve[0],Ve[1],Ve[2],Ve[3])},Ar.LDU=function(Ve,er,fr,wr){return Ve[2]=wr[2]/wr[0],fr[0]=wr[0],fr[1]=wr[1],fr[3]=wr[3]-Ve[2]*fr[1],[Ve,er,fr]},Ar.add=function(Ve,er,fr){return Ve[0]=er[0]+fr[0],Ve[1]=er[1]+fr[1],Ve[2]=er[2]+fr[2],Ve[3]=er[3]+fr[3],Ve},Ar.subtract=Ke,Ar.exactEquals=function(Ve,er){return Ve[0]===er[0]&&Ve[1]===er[1]&&Ve[2]===er[2]&&Ve[3]===er[3]},Ar.equals=function(Ve,er){var fr=Ve[0],wr=Ve[1],Lr=Ve[2],cr=Ve[3],Mr=er[0],Er=er[1],xr=er[2],Sr=er[3];return Math.abs(fr-Mr)<=de.EPSILON*Math.max(1,Math.abs(fr),Math.abs(Mr))&&Math.abs(wr-Er)<=de.EPSILON*Math.max(1,Math.abs(wr),Math.abs(Er))&&Math.abs(Lr-xr)<=de.EPSILON*Math.max(1,Math.abs(Lr),Math.abs(xr))&&Math.abs(cr-Sr)<=de.EPSILON*Math.max(1,Math.abs(cr),Math.abs(Sr))},Ar.multiplyScalar=function(Ve,er,fr){return Ve[0]=er[0]*fr,Ve[1]=er[1]*fr,Ve[2]=er[2]*fr,Ve[3]=er[3]*fr,Ve},Ar.multiplyScalarAndAdd=function(Ve,er,fr,wr){return Ve[0]=er[0]+fr[0]*wr,Ve[1]=er[1]+fr[1]*wr,Ve[2]=er[2]+fr[2]*wr,Ve[3]=er[3]+fr[3]*wr,Ve},Ar.sub=Ar.mul=void 0;var de=function(Ve,er){if(Ve&&Ve.__esModule)return Ve;if(Ve===null||Pe(Ve)!=="object"&&typeof Ve!="function")return{default:Ve};var fr=Ce(void 0);if(fr&&fr.has(Ve))return fr.get(Ve);var wr={},Lr=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var cr in Ve)if(cr!=="default"&&Object.prototype.hasOwnProperty.call(Ve,cr)){var Mr=Lr?Object.getOwnPropertyDescriptor(Ve,cr):null;Mr&&(Mr.get||Mr.set)?Object.defineProperty(wr,cr,Mr):wr[cr]=Ve[cr]}return wr.default=Ve,fr&&fr.set(Ve,wr),wr}(kr());function Ce(Ve){if(typeof WeakMap!="function")return null;var er=new WeakMap,fr=new WeakMap;return(Ce=function(wr){return wr?fr:er})(Ve)}function De(Ve,er,fr){var wr=er[0],Lr=er[1],cr=er[2],Mr=er[3],Er=fr[0],xr=fr[1],Sr=fr[2],Ir=fr[3];return Ve[0]=wr*Er+cr*xr,Ve[1]=Lr*Er+Mr*xr,Ve[2]=wr*Sr+cr*Ir,Ve[3]=Lr*Sr+Mr*Ir,Ve}function Ke(Ve,er,fr){return Ve[0]=er[0]-fr[0],Ve[1]=er[1]-fr[1],Ve[2]=er[2]-fr[2],Ve[3]=er[3]-fr[3],Ve}return Ar.mul=De,Ar.sub=Ke,Ar}var Nr,ei={};function Vr(){if(Nr)return ei;function Pe(Ve){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(er){return typeof er}:function(er){return er&&typeof Symbol=="function"&&er.constructor===Symbol&&er!==Symbol.prototype?"symbol":typeof er},Pe(Ve)}Nr=1,Object.defineProperty(ei,"__esModule",{value:!0}),ei.create=function(){var Ve=new de.ARRAY_TYPE(6);return de.ARRAY_TYPE!=Float32Array&&(Ve[1]=0,Ve[2]=0,Ve[4]=0,Ve[5]=0),Ve[0]=1,Ve[3]=1,Ve},ei.clone=function(Ve){var er=new de.ARRAY_TYPE(6);return er[0]=Ve[0],er[1]=Ve[1],er[2]=Ve[2],er[3]=Ve[3],er[4]=Ve[4],er[5]=Ve[5],er},ei.copy=function(Ve,er){return Ve[0]=er[0],Ve[1]=er[1],Ve[2]=er[2],Ve[3]=er[3],Ve[4]=er[4],Ve[5]=er[5],Ve},ei.identity=function(Ve){return Ve[0]=1,Ve[1]=0,Ve[2]=0,Ve[3]=1,Ve[4]=0,Ve[5]=0,Ve},ei.fromValues=function(Ve,er,fr,wr,Lr,cr){var Mr=new de.ARRAY_TYPE(6);return Mr[0]=Ve,Mr[1]=er,Mr[2]=fr,Mr[3]=wr,Mr[4]=Lr,Mr[5]=cr,Mr},ei.set=function(Ve,er,fr,wr,Lr,cr,Mr){return Ve[0]=er,Ve[1]=fr,Ve[2]=wr,Ve[3]=Lr,Ve[4]=cr,Ve[5]=Mr,Ve},ei.invert=function(Ve,er){var fr=er[0],wr=er[1],Lr=er[2],cr=er[3],Mr=er[4],Er=er[5],xr=fr*cr-wr*Lr;return xr?(Ve[0]=cr*(xr=1/xr),Ve[1]=-wr*xr,Ve[2]=-Lr*xr,Ve[3]=fr*xr,Ve[4]=(Lr*Er-cr*Mr)*xr,Ve[5]=(wr*Mr-fr*Er)*xr,Ve):null},ei.determinant=function(Ve){return Ve[0]*Ve[3]-Ve[1]*Ve[2]},ei.multiply=De,ei.rotate=function(Ve,er,fr){var wr=er[0],Lr=er[1],cr=er[2],Mr=er[3],Er=er[4],xr=er[5],Sr=Math.sin(fr),Ir=Math.cos(fr);return Ve[0]=wr*Ir+cr*Sr,Ve[1]=Lr*Ir+Mr*Sr,Ve[2]=wr*-Sr+cr*Ir,Ve[3]=Lr*-Sr+Mr*Ir,Ve[4]=Er,Ve[5]=xr,Ve},ei.scale=function(Ve,er,fr){var wr=er[1],Lr=er[2],cr=er[3],Mr=er[4],Er=er[5],xr=fr[0],Sr=fr[1];return Ve[0]=er[0]*xr,Ve[1]=wr*xr,Ve[2]=Lr*Sr,Ve[3]=cr*Sr,Ve[4]=Mr,Ve[5]=Er,Ve},ei.translate=function(Ve,er,fr){var wr=er[0],Lr=er[1],cr=er[2],Mr=er[3],Er=er[4],xr=er[5],Sr=fr[0],Ir=fr[1];return Ve[0]=wr,Ve[1]=Lr,Ve[2]=cr,Ve[3]=Mr,Ve[4]=wr*Sr+cr*Ir+Er,Ve[5]=Lr*Sr+Mr*Ir+xr,Ve},ei.fromRotation=function(Ve,er){var fr=Math.sin(er),wr=Math.cos(er);return Ve[0]=wr,Ve[1]=fr,Ve[2]=-fr,Ve[3]=wr,Ve[4]=0,Ve[5]=0,Ve},ei.fromScaling=function(Ve,er){return Ve[0]=er[0],Ve[1]=0,Ve[2]=0,Ve[3]=er[1],Ve[4]=0,Ve[5]=0,Ve},ei.fromTranslation=function(Ve,er){return Ve[0]=1,Ve[1]=0,Ve[2]=0,Ve[3]=1,Ve[4]=er[0],Ve[5]=er[1],Ve},ei.str=function(Ve){return"mat2d("+Ve[0]+", "+Ve[1]+", "+Ve[2]+", "+Ve[3]+", "+Ve[4]+", "+Ve[5]+")"},ei.frob=function(Ve){return Math.hypot(Ve[0],Ve[1],Ve[2],Ve[3],Ve[4],Ve[5],1)},ei.add=function(Ve,er,fr){return Ve[0]=er[0]+fr[0],Ve[1]=er[1]+fr[1],Ve[2]=er[2]+fr[2],Ve[3]=er[3]+fr[3],Ve[4]=er[4]+fr[4],Ve[5]=er[5]+fr[5],Ve},ei.subtract=Ke,ei.multiplyScalar=function(Ve,er,fr){return Ve[0]=er[0]*fr,Ve[1]=er[1]*fr,Ve[2]=er[2]*fr,Ve[3]=er[3]*fr,Ve[4]=er[4]*fr,Ve[5]=er[5]*fr,Ve},ei.multiplyScalarAndAdd=function(Ve,er,fr,wr){return Ve[0]=er[0]+fr[0]*wr,Ve[1]=er[1]+fr[1]*wr,Ve[2]=er[2]+fr[2]*wr,Ve[3]=er[3]+fr[3]*wr,Ve[4]=er[4]+fr[4]*wr,Ve[5]=er[5]+fr[5]*wr,Ve},ei.exactEquals=function(Ve,er){return Ve[0]===er[0]&&Ve[1]===er[1]&&Ve[2]===er[2]&&Ve[3]===er[3]&&Ve[4]===er[4]&&Ve[5]===er[5]},ei.equals=function(Ve,er){var fr=Ve[0],wr=Ve[1],Lr=Ve[2],cr=Ve[3],Mr=Ve[4],Er=Ve[5],xr=er[0],Sr=er[1],Ir=er[2],jr=er[3],Hr=er[4],ri=er[5];return Math.abs(fr-xr)<=de.EPSILON*Math.max(1,Math.abs(fr),Math.abs(xr))&&Math.abs(wr-Sr)<=de.EPSILON*Math.max(1,Math.abs(wr),Math.abs(Sr))&&Math.abs(Lr-Ir)<=de.EPSILON*Math.max(1,Math.abs(Lr),Math.abs(Ir))&&Math.abs(cr-jr)<=de.EPSILON*Math.max(1,Math.abs(cr),Math.abs(jr))&&Math.abs(Mr-Hr)<=de.EPSILON*Math.max(1,Math.abs(Mr),Math.abs(Hr))&&Math.abs(Er-ri)<=de.EPSILON*Math.max(1,Math.abs(Er),Math.abs(ri))},ei.sub=ei.mul=void 0;var de=function(Ve,er){if(Ve&&Ve.__esModule)return Ve;if(Ve===null||Pe(Ve)!=="object"&&typeof Ve!="function")return{default:Ve};var fr=Ce(void 0);if(fr&&fr.has(Ve))return fr.get(Ve);var wr={},Lr=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var cr in Ve)if(cr!=="default"&&Object.prototype.hasOwnProperty.call(Ve,cr)){var Mr=Lr?Object.getOwnPropertyDescriptor(Ve,cr):null;Mr&&(Mr.get||Mr.set)?Object.defineProperty(wr,cr,Mr):wr[cr]=Ve[cr]}return wr.default=Ve,fr&&fr.set(Ve,wr),wr}(kr());function Ce(Ve){if(typeof WeakMap!="function")return null;var er=new WeakMap,fr=new WeakMap;return(Ce=function(wr){return wr?fr:er})(Ve)}function De(Ve,er,fr){var wr=er[0],Lr=er[1],cr=er[2],Mr=er[3],Er=er[4],xr=er[5],Sr=fr[0],Ir=fr[1],jr=fr[2],Hr=fr[3],ri=fr[4],ni=fr[5];return Ve[0]=wr*Sr+cr*Ir,Ve[1]=Lr*Sr+Mr*Ir,Ve[2]=wr*jr+cr*Hr,Ve[3]=Lr*jr+Mr*Hr,Ve[4]=wr*ri+cr*ni+Er,Ve[5]=Lr*ri+Mr*ni+xr,Ve}function Ke(Ve,er,fr){return Ve[0]=er[0]-fr[0],Ve[1]=er[1]-fr[1],Ve[2]=er[2]-fr[2],Ve[3]=er[3]-fr[3],Ve[4]=er[4]-fr[4],Ve[5]=er[5]-fr[5],Ve}return ei.mul=De,ei.sub=Ke,ei}var Zr,Wr={};function ai(){if(Zr)return Wr;function Pe(Ve){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(er){return typeof er}:function(er){return er&&typeof Symbol=="function"&&er.constructor===Symbol&&er!==Symbol.prototype?"symbol":typeof er},Pe(Ve)}Zr=1,Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.create=function(){var Ve=new de.ARRAY_TYPE(9);return de.ARRAY_TYPE!=Float32Array&&(Ve[1]=0,Ve[2]=0,Ve[3]=0,Ve[5]=0,Ve[6]=0,Ve[7]=0),Ve[0]=1,Ve[4]=1,Ve[8]=1,Ve},Wr.fromMat4=function(Ve,er){return Ve[0]=er[0],Ve[1]=er[1],Ve[2]=er[2],Ve[3]=er[4],Ve[4]=er[5],Ve[5]=er[6],Ve[6]=er[8],Ve[7]=er[9],Ve[8]=er[10],Ve},Wr.clone=function(Ve){var er=new de.ARRAY_TYPE(9);return er[0]=Ve[0],er[1]=Ve[1],er[2]=Ve[2],er[3]=Ve[3],er[4]=Ve[4],er[5]=Ve[5],er[6]=Ve[6],er[7]=Ve[7],er[8]=Ve[8],er},Wr.copy=function(Ve,er){return Ve[0]=er[0],Ve[1]=er[1],Ve[2]=er[2],Ve[3]=er[3],Ve[4]=er[4],Ve[5]=er[5],Ve[6]=er[6],Ve[7]=er[7],Ve[8]=er[8],Ve},Wr.fromValues=function(Ve,er,fr,wr,Lr,cr,Mr,Er,xr){var Sr=new de.ARRAY_TYPE(9);return Sr[0]=Ve,Sr[1]=er,Sr[2]=fr,Sr[3]=wr,Sr[4]=Lr,Sr[5]=cr,Sr[6]=Mr,Sr[7]=Er,Sr[8]=xr,Sr},Wr.set=function(Ve,er,fr,wr,Lr,cr,Mr,Er,xr,Sr){return Ve[0]=er,Ve[1]=fr,Ve[2]=wr,Ve[3]=Lr,Ve[4]=cr,Ve[5]=Mr,Ve[6]=Er,Ve[7]=xr,Ve[8]=Sr,Ve},Wr.identity=function(Ve){return Ve[0]=1,Ve[1]=0,Ve[2]=0,Ve[3]=0,Ve[4]=1,Ve[5]=0,Ve[6]=0,Ve[7]=0,Ve[8]=1,Ve},Wr.transpose=function(Ve,er){if(Ve===er){var fr=er[1],wr=er[2],Lr=er[5];Ve[1]=er[3],Ve[2]=er[6],Ve[3]=fr,Ve[5]=er[7],Ve[6]=wr,Ve[7]=Lr}else Ve[0]=er[0],Ve[1]=er[3],Ve[2]=er[6],Ve[3]=er[1],Ve[4]=er[4],Ve[5]=er[7],Ve[6]=er[2],Ve[7]=er[5],Ve[8]=er[8];return Ve},Wr.invert=function(Ve,er){var fr=er[0],wr=er[1],Lr=er[2],cr=er[3],Mr=er[4],Er=er[5],xr=er[6],Sr=er[7],Ir=er[8],jr=Ir*Mr-Er*Sr,Hr=-Ir*cr+Er*xr,ri=Sr*cr-Mr*xr,ni=fr*jr+wr*Hr+Lr*ri;return ni?(Ve[0]=jr*(ni=1/ni),Ve[1]=(-Ir*wr+Lr*Sr)*ni,Ve[2]=(Er*wr-Lr*Mr)*ni,Ve[3]=Hr*ni,Ve[4]=(Ir*fr-Lr*xr)*ni,Ve[5]=(-Er*fr+Lr*cr)*ni,Ve[6]=ri*ni,Ve[7]=(-Sr*fr+wr*xr)*ni,Ve[8]=(Mr*fr-wr*cr)*ni,Ve):null},Wr.adjoint=function(Ve,er){var fr=er[0],wr=er[1],Lr=er[2],cr=er[3],Mr=er[4],Er=er[5],xr=er[6],Sr=er[7],Ir=er[8];return Ve[0]=Mr*Ir-Er*Sr,Ve[1]=Lr*Sr-wr*Ir,Ve[2]=wr*Er-Lr*Mr,Ve[3]=Er*xr-cr*Ir,Ve[4]=fr*Ir-Lr*xr,Ve[5]=Lr*cr-fr*Er,Ve[6]=cr*Sr-Mr*xr,Ve[7]=wr*xr-fr*Sr,Ve[8]=fr*Mr-wr*cr,Ve},Wr.determinant=function(Ve){var er=Ve[3],fr=Ve[4],wr=Ve[5],Lr=Ve[6],cr=Ve[7],Mr=Ve[8];return Ve[0]*(Mr*fr-wr*cr)+Ve[1]*(-Mr*er+wr*Lr)+Ve[2]*(cr*er-fr*Lr)},Wr.multiply=De,Wr.translate=function(Ve,er,fr){var wr=er[0],Lr=er[1],cr=er[2],Mr=er[3],Er=er[4],xr=er[5],Sr=er[6],Ir=er[7],jr=er[8],Hr=fr[0],ri=fr[1];return Ve[0]=wr,Ve[1]=Lr,Ve[2]=cr,Ve[3]=Mr,Ve[4]=Er,Ve[5]=xr,Ve[6]=Hr*wr+ri*Mr+Sr,Ve[7]=Hr*Lr+ri*Er+Ir,Ve[8]=Hr*cr+ri*xr+jr,Ve},Wr.rotate=function(Ve,er,fr){var wr=er[0],Lr=er[1],cr=er[2],Mr=er[3],Er=er[4],xr=er[5],Sr=er[6],Ir=er[7],jr=er[8],Hr=Math.sin(fr),ri=Math.cos(fr);return Ve[0]=ri*wr+Hr*Mr,Ve[1]=ri*Lr+Hr*Er,Ve[2]=ri*cr+Hr*xr,Ve[3]=ri*Mr-Hr*wr,Ve[4]=ri*Er-Hr*Lr,Ve[5]=ri*xr-Hr*cr,Ve[6]=Sr,Ve[7]=Ir,Ve[8]=jr,Ve},Wr.scale=function(Ve,er,fr){var wr=fr[0],Lr=fr[1];return Ve[0]=wr*er[0],Ve[1]=wr*er[1],Ve[2]=wr*er[2],Ve[3]=Lr*er[3],Ve[4]=Lr*er[4],Ve[5]=Lr*er[5],Ve[6]=er[6],Ve[7]=er[7],Ve[8]=er[8],Ve},Wr.fromTranslation=function(Ve,er){return Ve[0]=1,Ve[1]=0,Ve[2]=0,Ve[3]=0,Ve[4]=1,Ve[5]=0,Ve[6]=er[0],Ve[7]=er[1],Ve[8]=1,Ve},Wr.fromRotation=function(Ve,er){var fr=Math.sin(er),wr=Math.cos(er);return Ve[0]=wr,Ve[1]=fr,Ve[2]=0,Ve[3]=-fr,Ve[4]=wr,Ve[5]=0,Ve[6]=0,Ve[7]=0,Ve[8]=1,Ve},Wr.fromScaling=function(Ve,er){return Ve[0]=er[0],Ve[1]=0,Ve[2]=0,Ve[3]=0,Ve[4]=er[1],Ve[5]=0,Ve[6]=0,Ve[7]=0,Ve[8]=1,Ve},Wr.fromMat2d=function(Ve,er){return Ve[0]=er[0],Ve[1]=er[1],Ve[2]=0,Ve[3]=er[2],Ve[4]=er[3],Ve[5]=0,Ve[6]=er[4],Ve[7]=er[5],Ve[8]=1,Ve},Wr.fromQuat=function(Ve,er){var fr=er[0],wr=er[1],Lr=er[2],cr=er[3],Mr=fr+fr,Er=wr+wr,xr=Lr+Lr,Sr=fr*Mr,Ir=wr*Mr,jr=wr*Er,Hr=Lr*Mr,ri=Lr*Er,ni=Lr*xr,Qr=cr*Mr,ci=cr*Er,yi=cr*xr;return Ve[0]=1-jr-ni,Ve[3]=Ir-yi,Ve[6]=Hr+ci,Ve[1]=Ir+yi,Ve[4]=1-Sr-ni,Ve[7]=ri-Qr,Ve[2]=Hr-ci,Ve[5]=ri+Qr,Ve[8]=1-Sr-jr,Ve},Wr.normalFromMat4=function(Ve,er){var fr=er[0],wr=er[1],Lr=er[2],cr=er[3],Mr=er[4],Er=er[5],xr=er[6],Sr=er[7],Ir=er[8],jr=er[9],Hr=er[10],ri=er[11],ni=er[12],Qr=er[13],ci=er[14],yi=er[15],Ei=fr*Er-wr*Mr,$i=fr*xr-Lr*Mr,Pi=fr*Sr-cr*Mr,Ii=wr*xr-Lr*Er,Xi=wr*Sr-cr*Er,zi=Lr*Sr-cr*xr,Yi=Ir*Qr-jr*ni,rn=Ir*ci-Hr*ni,en=Ir*yi-ri*ni,sn=jr*ci-Hr*Qr,vn=jr*yi-ri*Qr,yn=Hr*yi-ri*ci,cn=Ei*yn-$i*vn+Pi*sn+Ii*en-Xi*rn+zi*Yi;return cn?(Ve[0]=(Er*yn-xr*vn+Sr*sn)*(cn=1/cn),Ve[1]=(xr*en-Mr*yn-Sr*rn)*cn,Ve[2]=(Mr*vn-Er*en+Sr*Yi)*cn,Ve[3]=(Lr*vn-wr*yn-cr*sn)*cn,Ve[4]=(fr*yn-Lr*en+cr*rn)*cn,Ve[5]=(wr*en-fr*vn-cr*Yi)*cn,Ve[6]=(Qr*zi-ci*Xi+yi*Ii)*cn,Ve[7]=(ci*Pi-ni*zi-yi*$i)*cn,Ve[8]=(ni*Xi-Qr*Pi+yi*Ei)*cn,Ve):null},Wr.projection=function(Ve,er,fr){return Ve[0]=2/er,Ve[1]=0,Ve[2]=0,Ve[3]=0,Ve[4]=-2/fr,Ve[5]=0,Ve[6]=-1,Ve[7]=1,Ve[8]=1,Ve},Wr.str=function(Ve){return"mat3("+Ve[0]+", "+Ve[1]+", "+Ve[2]+", "+Ve[3]+", "+Ve[4]+", "+Ve[5]+", "+Ve[6]+", "+Ve[7]+", "+Ve[8]+")"},Wr.frob=function(Ve){return Math.hypot(Ve[0],Ve[1],Ve[2],Ve[3],Ve[4],Ve[5],Ve[6],Ve[7],Ve[8])},Wr.add=function(Ve,er,fr){return Ve[0]=er[0]+fr[0],Ve[1]=er[1]+fr[1],Ve[2]=er[2]+fr[2],Ve[3]=er[3]+fr[3],Ve[4]=er[4]+fr[4],Ve[5]=er[5]+fr[5],Ve[6]=er[6]+fr[6],Ve[7]=er[7]+fr[7],Ve[8]=er[8]+fr[8],Ve},Wr.subtract=Ke,Wr.multiplyScalar=function(Ve,er,fr){return Ve[0]=er[0]*fr,Ve[1]=er[1]*fr,Ve[2]=er[2]*fr,Ve[3]=er[3]*fr,Ve[4]=er[4]*fr,Ve[5]=er[5]*fr,Ve[6]=er[6]*fr,Ve[7]=er[7]*fr,Ve[8]=er[8]*fr,Ve},Wr.multiplyScalarAndAdd=function(Ve,er,fr,wr){return Ve[0]=er[0]+fr[0]*wr,Ve[1]=er[1]+fr[1]*wr,Ve[2]=er[2]+fr[2]*wr,Ve[3]=er[3]+fr[3]*wr,Ve[4]=er[4]+fr[4]*wr,Ve[5]=er[5]+fr[5]*wr,Ve[6]=er[6]+fr[6]*wr,Ve[7]=er[7]+fr[7]*wr,Ve[8]=er[8]+fr[8]*wr,Ve},Wr.exactEquals=function(Ve,er){return Ve[0]===er[0]&&Ve[1]===er[1]&&Ve[2]===er[2]&&Ve[3]===er[3]&&Ve[4]===er[4]&&Ve[5]===er[5]&&Ve[6]===er[6]&&Ve[7]===er[7]&&Ve[8]===er[8]},Wr.equals=function(Ve,er){var fr=Ve[0],wr=Ve[1],Lr=Ve[2],cr=Ve[3],Mr=Ve[4],Er=Ve[5],xr=Ve[6],Sr=Ve[7],Ir=Ve[8],jr=er[0],Hr=er[1],ri=er[2],ni=er[3],Qr=er[4],ci=er[5],yi=er[6],Ei=er[7],$i=er[8];return Math.abs(fr-jr)<=de.EPSILON*Math.max(1,Math.abs(fr),Math.abs(jr))&&Math.abs(wr-Hr)<=de.EPSILON*Math.max(1,Math.abs(wr),Math.abs(Hr))&&Math.abs(Lr-ri)<=de.EPSILON*Math.max(1,Math.abs(Lr),Math.abs(ri))&&Math.abs(cr-ni)<=de.EPSILON*Math.max(1,Math.abs(cr),Math.abs(ni))&&Math.abs(Mr-Qr)<=de.EPSILON*Math.max(1,Math.abs(Mr),Math.abs(Qr))&&Math.abs(Er-ci)<=de.EPSILON*Math.max(1,Math.abs(Er),Math.abs(ci))&&Math.abs(xr-yi)<=de.EPSILON*Math.max(1,Math.abs(xr),Math.abs(yi))&&Math.abs(Sr-Ei)<=de.EPSILON*Math.max(1,Math.abs(Sr),Math.abs(Ei))&&Math.abs(Ir-$i)<=de.EPSILON*Math.max(1,Math.abs(Ir),Math.abs($i))},Wr.sub=Wr.mul=void 0;var de=function(Ve,er){if(Ve&&Ve.__esModule)return Ve;if(Ve===null||Pe(Ve)!=="object"&&typeof Ve!="function")return{default:Ve};var fr=Ce(void 0);if(fr&&fr.has(Ve))return fr.get(Ve);var wr={},Lr=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var cr in Ve)if(cr!=="default"&&Object.prototype.hasOwnProperty.call(Ve,cr)){var Mr=Lr?Object.getOwnPropertyDescriptor(Ve,cr):null;Mr&&(Mr.get||Mr.set)?Object.defineProperty(wr,cr,Mr):wr[cr]=Ve[cr]}return wr.default=Ve,fr&&fr.set(Ve,wr),wr}(kr());function Ce(Ve){if(typeof WeakMap!="function")return null;var er=new WeakMap,fr=new WeakMap;return(Ce=function(wr){return wr?fr:er})(Ve)}function De(Ve,er,fr){var wr=er[0],Lr=er[1],cr=er[2],Mr=er[3],Er=er[4],xr=er[5],Sr=er[6],Ir=er[7],jr=er[8],Hr=fr[0],ri=fr[1],ni=fr[2],Qr=fr[3],ci=fr[4],yi=fr[5],Ei=fr[6],$i=fr[7],Pi=fr[8];return Ve[0]=Hr*wr+ri*Mr+ni*Sr,Ve[1]=Hr*Lr+ri*Er+ni*Ir,Ve[2]=Hr*cr+ri*xr+ni*jr,Ve[3]=Qr*wr+ci*Mr+yi*Sr,Ve[4]=Qr*Lr+ci*Er+yi*Ir,Ve[5]=Qr*cr+ci*xr+yi*jr,Ve[6]=Ei*wr+$i*Mr+Pi*Sr,Ve[7]=Ei*Lr+$i*Er+Pi*Ir,Ve[8]=Ei*cr+$i*xr+Pi*jr,Ve}function Ke(Ve,er,fr){return Ve[0]=er[0]-fr[0],Ve[1]=er[1]-fr[1],Ve[2]=er[2]-fr[2],Ve[3]=er[3]-fr[3],Ve[4]=er[4]-fr[4],Ve[5]=er[5]-fr[5],Ve[6]=er[6]-fr[6],Ve[7]=er[7]-fr[7],Ve[8]=er[8]-fr[8],Ve}return Wr.mul=De,Wr.sub=Ke,Wr}var ui,di={};function fi(){if(ui)return di;function Pe(cr){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Mr){return typeof Mr}:function(Mr){return Mr&&typeof Symbol=="function"&&Mr.constructor===Symbol&&Mr!==Symbol.prototype?"symbol":typeof Mr},Pe(cr)}ui=1,Object.defineProperty(di,"__esModule",{value:!0}),di.create=function(){var cr=new de.ARRAY_TYPE(16);return de.ARRAY_TYPE!=Float32Array&&(cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[6]=0,cr[7]=0,cr[8]=0,cr[9]=0,cr[11]=0,cr[12]=0,cr[13]=0,cr[14]=0),cr[0]=1,cr[5]=1,cr[10]=1,cr[15]=1,cr},di.clone=function(cr){var Mr=new de.ARRAY_TYPE(16);return Mr[0]=cr[0],Mr[1]=cr[1],Mr[2]=cr[2],Mr[3]=cr[3],Mr[4]=cr[4],Mr[5]=cr[5],Mr[6]=cr[6],Mr[7]=cr[7],Mr[8]=cr[8],Mr[9]=cr[9],Mr[10]=cr[10],Mr[11]=cr[11],Mr[12]=cr[12],Mr[13]=cr[13],Mr[14]=cr[14],Mr[15]=cr[15],Mr},di.copy=function(cr,Mr){return cr[0]=Mr[0],cr[1]=Mr[1],cr[2]=Mr[2],cr[3]=Mr[3],cr[4]=Mr[4],cr[5]=Mr[5],cr[6]=Mr[6],cr[7]=Mr[7],cr[8]=Mr[8],cr[9]=Mr[9],cr[10]=Mr[10],cr[11]=Mr[11],cr[12]=Mr[12],cr[13]=Mr[13],cr[14]=Mr[14],cr[15]=Mr[15],cr},di.fromValues=function(cr,Mr,Er,xr,Sr,Ir,jr,Hr,ri,ni,Qr,ci,yi,Ei,$i,Pi){var Ii=new de.ARRAY_TYPE(16);return Ii[0]=cr,Ii[1]=Mr,Ii[2]=Er,Ii[3]=xr,Ii[4]=Sr,Ii[5]=Ir,Ii[6]=jr,Ii[7]=Hr,Ii[8]=ri,Ii[9]=ni,Ii[10]=Qr,Ii[11]=ci,Ii[12]=yi,Ii[13]=Ei,Ii[14]=$i,Ii[15]=Pi,Ii},di.set=function(cr,Mr,Er,xr,Sr,Ir,jr,Hr,ri,ni,Qr,ci,yi,Ei,$i,Pi,Ii){return cr[0]=Mr,cr[1]=Er,cr[2]=xr,cr[3]=Sr,cr[4]=Ir,cr[5]=jr,cr[6]=Hr,cr[7]=ri,cr[8]=ni,cr[9]=Qr,cr[10]=ci,cr[11]=yi,cr[12]=Ei,cr[13]=$i,cr[14]=Pi,cr[15]=Ii,cr},di.identity=De,di.transpose=function(cr,Mr){if(cr===Mr){var Er=Mr[1],xr=Mr[2],Sr=Mr[3],Ir=Mr[6],jr=Mr[7],Hr=Mr[11];cr[1]=Mr[4],cr[2]=Mr[8],cr[3]=Mr[12],cr[4]=Er,cr[6]=Mr[9],cr[7]=Mr[13],cr[8]=xr,cr[9]=Ir,cr[11]=Mr[14],cr[12]=Sr,cr[13]=jr,cr[14]=Hr}else cr[0]=Mr[0],cr[1]=Mr[4],cr[2]=Mr[8],cr[3]=Mr[12],cr[4]=Mr[1],cr[5]=Mr[5],cr[6]=Mr[9],cr[7]=Mr[13],cr[8]=Mr[2],cr[9]=Mr[6],cr[10]=Mr[10],cr[11]=Mr[14],cr[12]=Mr[3],cr[13]=Mr[7],cr[14]=Mr[11],cr[15]=Mr[15];return cr},di.invert=function(cr,Mr){var Er=Mr[0],xr=Mr[1],Sr=Mr[2],Ir=Mr[3],jr=Mr[4],Hr=Mr[5],ri=Mr[6],ni=Mr[7],Qr=Mr[8],ci=Mr[9],yi=Mr[10],Ei=Mr[11],$i=Mr[12],Pi=Mr[13],Ii=Mr[14],Xi=Mr[15],zi=Er*Hr-xr*jr,Yi=Er*ri-Sr*jr,rn=Er*ni-Ir*jr,en=xr*ri-Sr*Hr,sn=xr*ni-Ir*Hr,vn=Sr*ni-Ir*ri,yn=Qr*Pi-ci*$i,cn=Qr*Ii-yi*$i,Rn=Qr*Xi-Ei*$i,to=ci*Ii-yi*Pi,$n=ci*Xi-Ei*Pi,uo=yi*Xi-Ei*Ii,co=zi*uo-Yi*$n+rn*to+en*Rn-sn*cn+vn*yn;return co?(cr[0]=(Hr*uo-ri*$n+ni*to)*(co=1/co),cr[1]=(Sr*$n-xr*uo-Ir*to)*co,cr[2]=(Pi*vn-Ii*sn+Xi*en)*co,cr[3]=(yi*sn-ci*vn-Ei*en)*co,cr[4]=(ri*Rn-jr*uo-ni*cn)*co,cr[5]=(Er*uo-Sr*Rn+Ir*cn)*co,cr[6]=(Ii*rn-$i*vn-Xi*Yi)*co,cr[7]=(Qr*vn-yi*rn+Ei*Yi)*co,cr[8]=(jr*$n-Hr*Rn+ni*yn)*co,cr[9]=(xr*Rn-Er*$n-Ir*yn)*co,cr[10]=($i*sn-Pi*rn+Xi*zi)*co,cr[11]=(ci*rn-Qr*sn-Ei*zi)*co,cr[12]=(Hr*cn-jr*to-ri*yn)*co,cr[13]=(Er*to-xr*cn+Sr*yn)*co,cr[14]=(Pi*Yi-$i*en-Ii*zi)*co,cr[15]=(Qr*en-ci*Yi+yi*zi)*co,cr):null},di.adjoint=function(cr,Mr){var Er=Mr[0],xr=Mr[1],Sr=Mr[2],Ir=Mr[3],jr=Mr[4],Hr=Mr[5],ri=Mr[6],ni=Mr[7],Qr=Mr[8],ci=Mr[9],yi=Mr[10],Ei=Mr[11],$i=Mr[12],Pi=Mr[13],Ii=Mr[14],Xi=Mr[15];return cr[0]=Hr*(yi*Xi-Ei*Ii)-ci*(ri*Xi-ni*Ii)+Pi*(ri*Ei-ni*yi),cr[1]=-(xr*(yi*Xi-Ei*Ii)-ci*(Sr*Xi-Ir*Ii)+Pi*(Sr*Ei-Ir*yi)),cr[2]=xr*(ri*Xi-ni*Ii)-Hr*(Sr*Xi-Ir*Ii)+Pi*(Sr*ni-Ir*ri),cr[3]=-(xr*(ri*Ei-ni*yi)-Hr*(Sr*Ei-Ir*yi)+ci*(Sr*ni-Ir*ri)),cr[4]=-(jr*(yi*Xi-Ei*Ii)-Qr*(ri*Xi-ni*Ii)+$i*(ri*Ei-ni*yi)),cr[5]=Er*(yi*Xi-Ei*Ii)-Qr*(Sr*Xi-Ir*Ii)+$i*(Sr*Ei-Ir*yi),cr[6]=-(Er*(ri*Xi-ni*Ii)-jr*(Sr*Xi-Ir*Ii)+$i*(Sr*ni-Ir*ri)),cr[7]=Er*(ri*Ei-ni*yi)-jr*(Sr*Ei-Ir*yi)+Qr*(Sr*ni-Ir*ri),cr[8]=jr*(ci*Xi-Ei*Pi)-Qr*(Hr*Xi-ni*Pi)+$i*(Hr*Ei-ni*ci),cr[9]=-(Er*(ci*Xi-Ei*Pi)-Qr*(xr*Xi-Ir*Pi)+$i*(xr*Ei-Ir*ci)),cr[10]=Er*(Hr*Xi-ni*Pi)-jr*(xr*Xi-Ir*Pi)+$i*(xr*ni-Ir*Hr),cr[11]=-(Er*(Hr*Ei-ni*ci)-jr*(xr*Ei-Ir*ci)+Qr*(xr*ni-Ir*Hr)),cr[12]=-(jr*(ci*Ii-yi*Pi)-Qr*(Hr*Ii-ri*Pi)+$i*(Hr*yi-ri*ci)),cr[13]=Er*(ci*Ii-yi*Pi)-Qr*(xr*Ii-Sr*Pi)+$i*(xr*yi-Sr*ci),cr[14]=-(Er*(Hr*Ii-ri*Pi)-jr*(xr*Ii-Sr*Pi)+$i*(xr*ri-Sr*Hr)),cr[15]=Er*(Hr*yi-ri*ci)-jr*(xr*yi-Sr*ci)+Qr*(xr*ri-Sr*Hr),cr},di.determinant=function(cr){var Mr=cr[0],Er=cr[1],xr=cr[2],Sr=cr[3],Ir=cr[4],jr=cr[5],Hr=cr[6],ri=cr[7],ni=cr[8],Qr=cr[9],ci=cr[10],yi=cr[11],Ei=cr[12],$i=cr[13],Pi=cr[14],Ii=cr[15];return(Mr*jr-Er*Ir)*(ci*Ii-yi*Pi)-(Mr*Hr-xr*Ir)*(Qr*Ii-yi*$i)+(Mr*ri-Sr*Ir)*(Qr*Pi-ci*$i)+(Er*Hr-xr*jr)*(ni*Ii-yi*Ei)-(Er*ri-Sr*jr)*(ni*Pi-ci*Ei)+(xr*ri-Sr*Hr)*(ni*$i-Qr*Ei)},di.multiply=Ke,di.translate=function(cr,Mr,Er){var xr,Sr,Ir,jr,Hr,ri,ni,Qr,ci,yi,Ei,$i,Pi=Er[0],Ii=Er[1],Xi=Er[2];return Mr===cr?(cr[12]=Mr[0]*Pi+Mr[4]*Ii+Mr[8]*Xi+Mr[12],cr[13]=Mr[1]*Pi+Mr[5]*Ii+Mr[9]*Xi+Mr[13],cr[14]=Mr[2]*Pi+Mr[6]*Ii+Mr[10]*Xi+Mr[14],cr[15]=Mr[3]*Pi+Mr[7]*Ii+Mr[11]*Xi+Mr[15]):(Sr=Mr[1],Ir=Mr[2],jr=Mr[3],Hr=Mr[4],ri=Mr[5],ni=Mr[6],Qr=Mr[7],ci=Mr[8],yi=Mr[9],Ei=Mr[10],$i=Mr[11],cr[0]=xr=Mr[0],cr[1]=Sr,cr[2]=Ir,cr[3]=jr,cr[4]=Hr,cr[5]=ri,cr[6]=ni,cr[7]=Qr,cr[8]=ci,cr[9]=yi,cr[10]=Ei,cr[11]=$i,cr[12]=xr*Pi+Hr*Ii+ci*Xi+Mr[12],cr[13]=Sr*Pi+ri*Ii+yi*Xi+Mr[13],cr[14]=Ir*Pi+ni*Ii+Ei*Xi+Mr[14],cr[15]=jr*Pi+Qr*Ii+$i*Xi+Mr[15]),cr},di.scale=function(cr,Mr,Er){var xr=Er[0],Sr=Er[1],Ir=Er[2];return cr[0]=Mr[0]*xr,cr[1]=Mr[1]*xr,cr[2]=Mr[2]*xr,cr[3]=Mr[3]*xr,cr[4]=Mr[4]*Sr,cr[5]=Mr[5]*Sr,cr[6]=Mr[6]*Sr,cr[7]=Mr[7]*Sr,cr[8]=Mr[8]*Ir,cr[9]=Mr[9]*Ir,cr[10]=Mr[10]*Ir,cr[11]=Mr[11]*Ir,cr[12]=Mr[12],cr[13]=Mr[13],cr[14]=Mr[14],cr[15]=Mr[15],cr},di.rotate=function(cr,Mr,Er,xr){var Sr,Ir,jr,Hr,ri,ni,Qr,ci,yi,Ei,$i,Pi,Ii,Xi,zi,Yi,rn,en,sn,vn,yn,cn,Rn,to,$n=xr[0],uo=xr[1],co=xr[2],_o=Math.hypot($n,uo,co);return _o<de.EPSILON?null:($n*=_o=1/_o,uo*=_o,co*=_o,Sr=Math.sin(Er),Ir=Math.cos(Er),ri=Mr[1],ni=Mr[2],Qr=Mr[3],yi=Mr[5],Ei=Mr[6],$i=Mr[7],Ii=Mr[9],Xi=Mr[10],zi=Mr[11],Yi=$n*$n*(jr=1-Ir)+Ir,sn=$n*uo*jr-co*Sr,vn=uo*uo*jr+Ir,yn=co*uo*jr+$n*Sr,cn=$n*co*jr+uo*Sr,Rn=uo*co*jr-$n*Sr,to=co*co*jr+Ir,cr[0]=(Hr=Mr[0])*Yi+(ci=Mr[4])*(rn=uo*$n*jr+co*Sr)+(Pi=Mr[8])*(en=co*$n*jr-uo*Sr),cr[1]=ri*Yi+yi*rn+Ii*en,cr[2]=ni*Yi+Ei*rn+Xi*en,cr[3]=Qr*Yi+$i*rn+zi*en,cr[4]=Hr*sn+ci*vn+Pi*yn,cr[5]=ri*sn+yi*vn+Ii*yn,cr[6]=ni*sn+Ei*vn+Xi*yn,cr[7]=Qr*sn+$i*vn+zi*yn,cr[8]=Hr*cn+ci*Rn+Pi*to,cr[9]=ri*cn+yi*Rn+Ii*to,cr[10]=ni*cn+Ei*Rn+Xi*to,cr[11]=Qr*cn+$i*Rn+zi*to,Mr!==cr&&(cr[12]=Mr[12],cr[13]=Mr[13],cr[14]=Mr[14],cr[15]=Mr[15]),cr)},di.rotateX=function(cr,Mr,Er){var xr=Math.sin(Er),Sr=Math.cos(Er),Ir=Mr[4],jr=Mr[5],Hr=Mr[6],ri=Mr[7],ni=Mr[8],Qr=Mr[9],ci=Mr[10],yi=Mr[11];return Mr!==cr&&(cr[0]=Mr[0],cr[1]=Mr[1],cr[2]=Mr[2],cr[3]=Mr[3],cr[12]=Mr[12],cr[13]=Mr[13],cr[14]=Mr[14],cr[15]=Mr[15]),cr[4]=Ir*Sr+ni*xr,cr[5]=jr*Sr+Qr*xr,cr[6]=Hr*Sr+ci*xr,cr[7]=ri*Sr+yi*xr,cr[8]=ni*Sr-Ir*xr,cr[9]=Qr*Sr-jr*xr,cr[10]=ci*Sr-Hr*xr,cr[11]=yi*Sr-ri*xr,cr},di.rotateY=function(cr,Mr,Er){var xr=Math.sin(Er),Sr=Math.cos(Er),Ir=Mr[0],jr=Mr[1],Hr=Mr[2],ri=Mr[3],ni=Mr[8],Qr=Mr[9],ci=Mr[10],yi=Mr[11];return Mr!==cr&&(cr[4]=Mr[4],cr[5]=Mr[5],cr[6]=Mr[6],cr[7]=Mr[7],cr[12]=Mr[12],cr[13]=Mr[13],cr[14]=Mr[14],cr[15]=Mr[15]),cr[0]=Ir*Sr-ni*xr,cr[1]=jr*Sr-Qr*xr,cr[2]=Hr*Sr-ci*xr,cr[3]=ri*Sr-yi*xr,cr[8]=Ir*xr+ni*Sr,cr[9]=jr*xr+Qr*Sr,cr[10]=Hr*xr+ci*Sr,cr[11]=ri*xr+yi*Sr,cr},di.rotateZ=function(cr,Mr,Er){var xr=Math.sin(Er),Sr=Math.cos(Er),Ir=Mr[0],jr=Mr[1],Hr=Mr[2],ri=Mr[3],ni=Mr[4],Qr=Mr[5],ci=Mr[6],yi=Mr[7];return Mr!==cr&&(cr[8]=Mr[8],cr[9]=Mr[9],cr[10]=Mr[10],cr[11]=Mr[11],cr[12]=Mr[12],cr[13]=Mr[13],cr[14]=Mr[14],cr[15]=Mr[15]),cr[0]=Ir*Sr+ni*xr,cr[1]=jr*Sr+Qr*xr,cr[2]=Hr*Sr+ci*xr,cr[3]=ri*Sr+yi*xr,cr[4]=ni*Sr-Ir*xr,cr[5]=Qr*Sr-jr*xr,cr[6]=ci*Sr-Hr*xr,cr[7]=yi*Sr-ri*xr,cr},di.fromTranslation=function(cr,Mr){return cr[0]=1,cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[5]=1,cr[6]=0,cr[7]=0,cr[8]=0,cr[9]=0,cr[10]=1,cr[11]=0,cr[12]=Mr[0],cr[13]=Mr[1],cr[14]=Mr[2],cr[15]=1,cr},di.fromScaling=function(cr,Mr){return cr[0]=Mr[0],cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[5]=Mr[1],cr[6]=0,cr[7]=0,cr[8]=0,cr[9]=0,cr[10]=Mr[2],cr[11]=0,cr[12]=0,cr[13]=0,cr[14]=0,cr[15]=1,cr},di.fromRotation=function(cr,Mr,Er){var xr,Sr,Ir,jr=Er[0],Hr=Er[1],ri=Er[2],ni=Math.hypot(jr,Hr,ri);return ni<de.EPSILON?null:(jr*=ni=1/ni,Hr*=ni,ri*=ni,xr=Math.sin(Mr),Sr=Math.cos(Mr),cr[0]=jr*jr*(Ir=1-Sr)+Sr,cr[1]=Hr*jr*Ir+ri*xr,cr[2]=ri*jr*Ir-Hr*xr,cr[3]=0,cr[4]=jr*Hr*Ir-ri*xr,cr[5]=Hr*Hr*Ir+Sr,cr[6]=ri*Hr*Ir+jr*xr,cr[7]=0,cr[8]=jr*ri*Ir+Hr*xr,cr[9]=Hr*ri*Ir-jr*xr,cr[10]=ri*ri*Ir+Sr,cr[11]=0,cr[12]=0,cr[13]=0,cr[14]=0,cr[15]=1,cr)},di.fromXRotation=function(cr,Mr){var Er=Math.sin(Mr),xr=Math.cos(Mr);return cr[0]=1,cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[5]=xr,cr[6]=Er,cr[7]=0,cr[8]=0,cr[9]=-Er,cr[10]=xr,cr[11]=0,cr[12]=0,cr[13]=0,cr[14]=0,cr[15]=1,cr},di.fromYRotation=function(cr,Mr){var Er=Math.sin(Mr),xr=Math.cos(Mr);return cr[0]=xr,cr[1]=0,cr[2]=-Er,cr[3]=0,cr[4]=0,cr[5]=1,cr[6]=0,cr[7]=0,cr[8]=Er,cr[9]=0,cr[10]=xr,cr[11]=0,cr[12]=0,cr[13]=0,cr[14]=0,cr[15]=1,cr},di.fromZRotation=function(cr,Mr){var Er=Math.sin(Mr),xr=Math.cos(Mr);return cr[0]=xr,cr[1]=Er,cr[2]=0,cr[3]=0,cr[4]=-Er,cr[5]=xr,cr[6]=0,cr[7]=0,cr[8]=0,cr[9]=0,cr[10]=1,cr[11]=0,cr[12]=0,cr[13]=0,cr[14]=0,cr[15]=1,cr},di.fromRotationTranslation=Ve,di.fromQuat2=function(cr,Mr){var Er=new de.ARRAY_TYPE(3),xr=-Mr[0],Sr=-Mr[1],Ir=-Mr[2],jr=Mr[3],Hr=Mr[4],ri=Mr[5],ni=Mr[6],Qr=Mr[7],ci=xr*xr+Sr*Sr+Ir*Ir+jr*jr;return ci>0?(Er[0]=2*(Hr*jr+Qr*xr+ri*Ir-ni*Sr)/ci,Er[1]=2*(ri*jr+Qr*Sr+ni*xr-Hr*Ir)/ci,Er[2]=2*(ni*jr+Qr*Ir+Hr*Sr-ri*xr)/ci):(Er[0]=2*(Hr*jr+Qr*xr+ri*Ir-ni*Sr),Er[1]=2*(ri*jr+Qr*Sr+ni*xr-Hr*Ir),Er[2]=2*(ni*jr+Qr*Ir+Hr*Sr-ri*xr)),Ve(cr,Mr,Er),cr},di.getTranslation=function(cr,Mr){return cr[0]=Mr[12],cr[1]=Mr[13],cr[2]=Mr[14],cr},di.getScaling=er,di.getRotation=function(cr,Mr){var Er=new de.ARRAY_TYPE(3);er(Er,Mr);var xr=1/Er[0],Sr=1/Er[1],Ir=1/Er[2],jr=Mr[0]*xr,Hr=Mr[1]*Sr,ri=Mr[2]*Ir,ni=Mr[4]*xr,Qr=Mr[5]*Sr,ci=Mr[6]*Ir,yi=Mr[8]*xr,Ei=Mr[9]*Sr,$i=Mr[10]*Ir,Pi=jr+Qr+$i,Ii=0;return Pi>0?(Ii=2*Math.sqrt(Pi+1),cr[3]=.25*Ii,cr[0]=(ci-Ei)/Ii,cr[1]=(yi-ri)/Ii,cr[2]=(Hr-ni)/Ii):jr>Qr&&jr>$i?(Ii=2*Math.sqrt(1+jr-Qr-$i),cr[3]=(ci-Ei)/Ii,cr[0]=.25*Ii,cr[1]=(Hr+ni)/Ii,cr[2]=(yi+ri)/Ii):Qr>$i?(Ii=2*Math.sqrt(1+Qr-jr-$i),cr[3]=(yi-ri)/Ii,cr[0]=(Hr+ni)/Ii,cr[1]=.25*Ii,cr[2]=(ci+Ei)/Ii):(Ii=2*Math.sqrt(1+$i-jr-Qr),cr[3]=(Hr-ni)/Ii,cr[0]=(yi+ri)/Ii,cr[1]=(ci+Ei)/Ii,cr[2]=.25*Ii),cr},di.fromRotationTranslationScale=function(cr,Mr,Er,xr){var Sr=Mr[0],Ir=Mr[1],jr=Mr[2],Hr=Mr[3],ri=Sr+Sr,ni=Ir+Ir,Qr=jr+jr,ci=Sr*ri,yi=Sr*ni,Ei=Sr*Qr,$i=Ir*ni,Pi=Ir*Qr,Ii=jr*Qr,Xi=Hr*ri,zi=Hr*ni,Yi=Hr*Qr,rn=xr[0],en=xr[1],sn=xr[2];return cr[0]=(1-($i+Ii))*rn,cr[1]=(yi+Yi)*rn,cr[2]=(Ei-zi)*rn,cr[3]=0,cr[4]=(yi-Yi)*en,cr[5]=(1-(ci+Ii))*en,cr[6]=(Pi+Xi)*en,cr[7]=0,cr[8]=(Ei+zi)*sn,cr[9]=(Pi-Xi)*sn,cr[10]=(1-(ci+$i))*sn,cr[11]=0,cr[12]=Er[0],cr[13]=Er[1],cr[14]=Er[2],cr[15]=1,cr},di.fromRotationTranslationScaleOrigin=function(cr,Mr,Er,xr,Sr){var Ir=Mr[0],jr=Mr[1],Hr=Mr[2],ri=Mr[3],ni=Ir+Ir,Qr=jr+jr,ci=Hr+Hr,yi=Ir*ni,Ei=Ir*Qr,$i=Ir*ci,Pi=jr*Qr,Ii=jr*ci,Xi=Hr*ci,zi=ri*ni,Yi=ri*Qr,rn=ri*ci,en=xr[0],sn=xr[1],vn=xr[2],yn=Sr[0],cn=Sr[1],Rn=Sr[2],to=(1-(Pi+Xi))*en,$n=(Ei+rn)*en,uo=($i-Yi)*en,co=(Ei-rn)*sn,_o=(1-(yi+Xi))*sn,qn=(Ii+zi)*sn,Io=($i+Yi)*vn,ho=(Ii-zi)*vn,ko=(1-(yi+Pi))*vn;return cr[0]=to,cr[1]=$n,cr[2]=uo,cr[3]=0,cr[4]=co,cr[5]=_o,cr[6]=qn,cr[7]=0,cr[8]=Io,cr[9]=ho,cr[10]=ko,cr[11]=0,cr[12]=Er[0]+yn-(to*yn+co*cn+Io*Rn),cr[13]=Er[1]+cn-($n*yn+_o*cn+ho*Rn),cr[14]=Er[2]+Rn-(uo*yn+qn*cn+ko*Rn),cr[15]=1,cr},di.fromQuat=function(cr,Mr){var Er=Mr[0],xr=Mr[1],Sr=Mr[2],Ir=Mr[3],jr=Er+Er,Hr=xr+xr,ri=Sr+Sr,ni=Er*jr,Qr=xr*jr,ci=xr*Hr,yi=Sr*jr,Ei=Sr*Hr,$i=Sr*ri,Pi=Ir*jr,Ii=Ir*Hr,Xi=Ir*ri;return cr[0]=1-ci-$i,cr[1]=Qr+Xi,cr[2]=yi-Ii,cr[3]=0,cr[4]=Qr-Xi,cr[5]=1-ni-$i,cr[6]=Ei+Pi,cr[7]=0,cr[8]=yi+Ii,cr[9]=Ei-Pi,cr[10]=1-ni-ci,cr[11]=0,cr[12]=0,cr[13]=0,cr[14]=0,cr[15]=1,cr},di.frustum=function(cr,Mr,Er,xr,Sr,Ir,jr){var Hr=1/(Er-Mr),ri=1/(Sr-xr),ni=1/(Ir-jr);return cr[0]=2*Ir*Hr,cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[5]=2*Ir*ri,cr[6]=0,cr[7]=0,cr[8]=(Er+Mr)*Hr,cr[9]=(Sr+xr)*ri,cr[10]=(jr+Ir)*ni,cr[11]=-1,cr[12]=0,cr[13]=0,cr[14]=jr*Ir*2*ni,cr[15]=0,cr},di.perspectiveNO=fr,di.perspectiveZO=function(cr,Mr,Er,xr,Sr){var Ir,jr=1/Math.tan(Mr/2);return cr[0]=jr/Er,cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[5]=jr,cr[6]=0,cr[7]=0,cr[8]=0,cr[9]=0,cr[11]=-1,cr[12]=0,cr[13]=0,cr[15]=0,Sr!=null&&Sr!==1/0?(cr[10]=Sr*(Ir=1/(xr-Sr)),cr[14]=Sr*xr*Ir):(cr[10]=-1,cr[14]=-xr),cr},di.perspectiveFromFieldOfView=function(cr,Mr,Er,xr){var Sr=Math.tan(Mr.upDegrees*Math.PI/180),Ir=Math.tan(Mr.downDegrees*Math.PI/180),jr=Math.tan(Mr.leftDegrees*Math.PI/180),Hr=Math.tan(Mr.rightDegrees*Math.PI/180),ri=2/(jr+Hr),ni=2/(Sr+Ir);return cr[0]=ri,cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[5]=ni,cr[6]=0,cr[7]=0,cr[8]=-(jr-Hr)*ri*.5,cr[9]=(Sr-Ir)*ni*.5,cr[10]=xr/(Er-xr),cr[11]=-1,cr[12]=0,cr[13]=0,cr[14]=xr*Er/(Er-xr),cr[15]=0,cr},di.orthoNO=wr,di.orthoZO=function(cr,Mr,Er,xr,Sr,Ir,jr){var Hr=1/(Mr-Er),ri=1/(xr-Sr),ni=1/(Ir-jr);return cr[0]=-2*Hr,cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[5]=-2*ri,cr[6]=0,cr[7]=0,cr[8]=0,cr[9]=0,cr[10]=ni,cr[11]=0,cr[12]=(Mr+Er)*Hr,cr[13]=(Sr+xr)*ri,cr[14]=Ir*ni,cr[15]=1,cr},di.lookAt=function(cr,Mr,Er,xr){var Sr,Ir,jr,Hr,ri,ni,Qr,ci,yi,Ei,$i=Mr[0],Pi=Mr[1],Ii=Mr[2],Xi=xr[0],zi=xr[1],Yi=xr[2],rn=Er[0],en=Er[1],sn=Er[2];return Math.abs($i-rn)<de.EPSILON&&Math.abs(Pi-en)<de.EPSILON&&Math.abs(Ii-sn)<de.EPSILON?De(cr):(Qr=$i-rn,ci=Pi-en,yi=Ii-sn,Sr=zi*(yi*=Ei=1/Math.hypot(Qr,ci,yi))-Yi*(ci*=Ei),Ir=Yi*(Qr*=Ei)-Xi*yi,jr=Xi*ci-zi*Qr,(Ei=Math.hypot(Sr,Ir,jr))?(Sr*=Ei=1/Ei,Ir*=Ei,jr*=Ei):(Sr=0,Ir=0,jr=0),Hr=ci*jr-yi*Ir,ri=yi*Sr-Qr*jr,ni=Qr*Ir-ci*Sr,(Ei=Math.hypot(Hr,ri,ni))?(Hr*=Ei=1/Ei,ri*=Ei,ni*=Ei):(Hr=0,ri=0,ni=0),cr[0]=Sr,cr[1]=Hr,cr[2]=Qr,cr[3]=0,cr[4]=Ir,cr[5]=ri,cr[6]=ci,cr[7]=0,cr[8]=jr,cr[9]=ni,cr[10]=yi,cr[11]=0,cr[12]=-(Sr*$i+Ir*Pi+jr*Ii),cr[13]=-(Hr*$i+ri*Pi+ni*Ii),cr[14]=-(Qr*$i+ci*Pi+yi*Ii),cr[15]=1,cr)},di.targetTo=function(cr,Mr,Er,xr){var Sr=Mr[0],Ir=Mr[1],jr=Mr[2],Hr=xr[0],ri=xr[1],ni=xr[2],Qr=Sr-Er[0],ci=Ir-Er[1],yi=jr-Er[2],Ei=Qr*Qr+ci*ci+yi*yi;Ei>0&&(Qr*=Ei=1/Math.sqrt(Ei),ci*=Ei,yi*=Ei);var $i=ri*yi-ni*ci,Pi=ni*Qr-Hr*yi,Ii=Hr*ci-ri*Qr;return(Ei=$i*$i+Pi*Pi+Ii*Ii)>0&&($i*=Ei=1/Math.sqrt(Ei),Pi*=Ei,Ii*=Ei),cr[0]=$i,cr[1]=Pi,cr[2]=Ii,cr[3]=0,cr[4]=ci*Ii-yi*Pi,cr[5]=yi*$i-Qr*Ii,cr[6]=Qr*Pi-ci*$i,cr[7]=0,cr[8]=Qr,cr[9]=ci,cr[10]=yi,cr[11]=0,cr[12]=Sr,cr[13]=Ir,cr[14]=jr,cr[15]=1,cr},di.str=function(cr){return"mat4("+cr[0]+", "+cr[1]+", "+cr[2]+", "+cr[3]+", "+cr[4]+", "+cr[5]+", "+cr[6]+", "+cr[7]+", "+cr[8]+", "+cr[9]+", "+cr[10]+", "+cr[11]+", "+cr[12]+", "+cr[13]+", "+cr[14]+", "+cr[15]+")"},di.frob=function(cr){return Math.hypot(cr[0],cr[1],cr[2],cr[3],cr[4],cr[5],cr[6],cr[7],cr[8],cr[9],cr[10],cr[11],cr[12],cr[13],cr[14],cr[15])},di.add=function(cr,Mr,Er){return cr[0]=Mr[0]+Er[0],cr[1]=Mr[1]+Er[1],cr[2]=Mr[2]+Er[2],cr[3]=Mr[3]+Er[3],cr[4]=Mr[4]+Er[4],cr[5]=Mr[5]+Er[5],cr[6]=Mr[6]+Er[6],cr[7]=Mr[7]+Er[7],cr[8]=Mr[8]+Er[8],cr[9]=Mr[9]+Er[9],cr[10]=Mr[10]+Er[10],cr[11]=Mr[11]+Er[11],cr[12]=Mr[12]+Er[12],cr[13]=Mr[13]+Er[13],cr[14]=Mr[14]+Er[14],cr[15]=Mr[15]+Er[15],cr},di.subtract=Lr,di.multiplyScalar=function(cr,Mr,Er){return cr[0]=Mr[0]*Er,cr[1]=Mr[1]*Er,cr[2]=Mr[2]*Er,cr[3]=Mr[3]*Er,cr[4]=Mr[4]*Er,cr[5]=Mr[5]*Er,cr[6]=Mr[6]*Er,cr[7]=Mr[7]*Er,cr[8]=Mr[8]*Er,cr[9]=Mr[9]*Er,cr[10]=Mr[10]*Er,cr[11]=Mr[11]*Er,cr[12]=Mr[12]*Er,cr[13]=Mr[13]*Er,cr[14]=Mr[14]*Er,cr[15]=Mr[15]*Er,cr},di.multiplyScalarAndAdd=function(cr,Mr,Er,xr){return cr[0]=Mr[0]+Er[0]*xr,cr[1]=Mr[1]+Er[1]*xr,cr[2]=Mr[2]+Er[2]*xr,cr[3]=Mr[3]+Er[3]*xr,cr[4]=Mr[4]+Er[4]*xr,cr[5]=Mr[5]+Er[5]*xr,cr[6]=Mr[6]+Er[6]*xr,cr[7]=Mr[7]+Er[7]*xr,cr[8]=Mr[8]+Er[8]*xr,cr[9]=Mr[9]+Er[9]*xr,cr[10]=Mr[10]+Er[10]*xr,cr[11]=Mr[11]+Er[11]*xr,cr[12]=Mr[12]+Er[12]*xr,cr[13]=Mr[13]+Er[13]*xr,cr[14]=Mr[14]+Er[14]*xr,cr[15]=Mr[15]+Er[15]*xr,cr},di.exactEquals=function(cr,Mr){return cr[0]===Mr[0]&&cr[1]===Mr[1]&&cr[2]===Mr[2]&&cr[3]===Mr[3]&&cr[4]===Mr[4]&&cr[5]===Mr[5]&&cr[6]===Mr[6]&&cr[7]===Mr[7]&&cr[8]===Mr[8]&&cr[9]===Mr[9]&&cr[10]===Mr[10]&&cr[11]===Mr[11]&&cr[12]===Mr[12]&&cr[13]===Mr[13]&&cr[14]===Mr[14]&&cr[15]===Mr[15]},di.equals=function(cr,Mr){var Er=cr[0],xr=cr[1],Sr=cr[2],Ir=cr[3],jr=cr[4],Hr=cr[5],ri=cr[6],ni=cr[7],Qr=cr[8],ci=cr[9],yi=cr[10],Ei=cr[11],$i=cr[12],Pi=cr[13],Ii=cr[14],Xi=cr[15],zi=Mr[0],Yi=Mr[1],rn=Mr[2],en=Mr[3],sn=Mr[4],vn=Mr[5],yn=Mr[6],cn=Mr[7],Rn=Mr[8],to=Mr[9],$n=Mr[10],uo=Mr[11],co=Mr[12],_o=Mr[13],qn=Mr[14],Io=Mr[15];return Math.abs(Er-zi)<=de.EPSILON*Math.max(1,Math.abs(Er),Math.abs(zi))&&Math.abs(xr-Yi)<=de.EPSILON*Math.max(1,Math.abs(xr),Math.abs(Yi))&&Math.abs(Sr-rn)<=de.EPSILON*Math.max(1,Math.abs(Sr),Math.abs(rn))&&Math.abs(Ir-en)<=de.EPSILON*Math.max(1,Math.abs(Ir),Math.abs(en))&&Math.abs(jr-sn)<=de.EPSILON*Math.max(1,Math.abs(jr),Math.abs(sn))&&Math.abs(Hr-vn)<=de.EPSILON*Math.max(1,Math.abs(Hr),Math.abs(vn))&&Math.abs(ri-yn)<=de.EPSILON*Math.max(1,Math.abs(ri),Math.abs(yn))&&Math.abs(ni-cn)<=de.EPSILON*Math.max(1,Math.abs(ni),Math.abs(cn))&&Math.abs(Qr-Rn)<=de.EPSILON*Math.max(1,Math.abs(Qr),Math.abs(Rn))&&Math.abs(ci-to)<=de.EPSILON*Math.max(1,Math.abs(ci),Math.abs(to))&&Math.abs(yi-$n)<=de.EPSILON*Math.max(1,Math.abs(yi),Math.abs($n))&&Math.abs(Ei-uo)<=de.EPSILON*Math.max(1,Math.abs(Ei),Math.abs(uo))&&Math.abs($i-co)<=de.EPSILON*Math.max(1,Math.abs($i),Math.abs(co))&&Math.abs(Pi-_o)<=de.EPSILON*Math.max(1,Math.abs(Pi),Math.abs(_o))&&Math.abs(Ii-qn)<=de.EPSILON*Math.max(1,Math.abs(Ii),Math.abs(qn))&&Math.abs(Xi-Io)<=de.EPSILON*Math.max(1,Math.abs(Xi),Math.abs(Io))},di.sub=di.mul=di.ortho=di.perspective=void 0;var de=function(cr,Mr){if(cr&&cr.__esModule)return cr;if(cr===null||Pe(cr)!=="object"&&typeof cr!="function")return{default:cr};var Er=Ce(void 0);if(Er&&Er.has(cr))return Er.get(cr);var xr={},Sr=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ir in cr)if(Ir!=="default"&&Object.prototype.hasOwnProperty.call(cr,Ir)){var jr=Sr?Object.getOwnPropertyDescriptor(cr,Ir):null;jr&&(jr.get||jr.set)?Object.defineProperty(xr,Ir,jr):xr[Ir]=cr[Ir]}return xr.default=cr,Er&&Er.set(cr,xr),xr}(kr());function Ce(cr){if(typeof WeakMap!="function")return null;var Mr=new WeakMap,Er=new WeakMap;return(Ce=function(xr){return xr?Er:Mr})(cr)}function De(cr){return cr[0]=1,cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[5]=1,cr[6]=0,cr[7]=0,cr[8]=0,cr[9]=0,cr[10]=1,cr[11]=0,cr[12]=0,cr[13]=0,cr[14]=0,cr[15]=1,cr}function Ke(cr,Mr,Er){var xr=Mr[0],Sr=Mr[1],Ir=Mr[2],jr=Mr[3],Hr=Mr[4],ri=Mr[5],ni=Mr[6],Qr=Mr[7],ci=Mr[8],yi=Mr[9],Ei=Mr[10],$i=Mr[11],Pi=Mr[12],Ii=Mr[13],Xi=Mr[14],zi=Mr[15],Yi=Er[0],rn=Er[1],en=Er[2],sn=Er[3];return cr[0]=Yi*xr+rn*Hr+en*ci+sn*Pi,cr[1]=Yi*Sr+rn*ri+en*yi+sn*Ii,cr[2]=Yi*Ir+rn*ni+en*Ei+sn*Xi,cr[3]=Yi*jr+rn*Qr+en*$i+sn*zi,cr[4]=(Yi=Er[4])*xr+(rn=Er[5])*Hr+(en=Er[6])*ci+(sn=Er[7])*Pi,cr[5]=Yi*Sr+rn*ri+en*yi+sn*Ii,cr[6]=Yi*Ir+rn*ni+en*Ei+sn*Xi,cr[7]=Yi*jr+rn*Qr+en*$i+sn*zi,cr[8]=(Yi=Er[8])*xr+(rn=Er[9])*Hr+(en=Er[10])*ci+(sn=Er[11])*Pi,cr[9]=Yi*Sr+rn*ri+en*yi+sn*Ii,cr[10]=Yi*Ir+rn*ni+en*Ei+sn*Xi,cr[11]=Yi*jr+rn*Qr+en*$i+sn*zi,cr[12]=(Yi=Er[12])*xr+(rn=Er[13])*Hr+(en=Er[14])*ci+(sn=Er[15])*Pi,cr[13]=Yi*Sr+rn*ri+en*yi+sn*Ii,cr[14]=Yi*Ir+rn*ni+en*Ei+sn*Xi,cr[15]=Yi*jr+rn*Qr+en*$i+sn*zi,cr}function Ve(cr,Mr,Er){var xr=Mr[0],Sr=Mr[1],Ir=Mr[2],jr=Mr[3],Hr=xr+xr,ri=Sr+Sr,ni=Ir+Ir,Qr=xr*Hr,ci=xr*ri,yi=xr*ni,Ei=Sr*ri,$i=Sr*ni,Pi=Ir*ni,Ii=jr*Hr,Xi=jr*ri,zi=jr*ni;return cr[0]=1-(Ei+Pi),cr[1]=ci+zi,cr[2]=yi-Xi,cr[3]=0,cr[4]=ci-zi,cr[5]=1-(Qr+Pi),cr[6]=$i+Ii,cr[7]=0,cr[8]=yi+Xi,cr[9]=$i-Ii,cr[10]=1-(Qr+Ei),cr[11]=0,cr[12]=Er[0],cr[13]=Er[1],cr[14]=Er[2],cr[15]=1,cr}function er(cr,Mr){var Er=Mr[4],xr=Mr[5],Sr=Mr[6],Ir=Mr[8],jr=Mr[9],Hr=Mr[10];return cr[0]=Math.hypot(Mr[0],Mr[1],Mr[2]),cr[1]=Math.hypot(Er,xr,Sr),cr[2]=Math.hypot(Ir,jr,Hr),cr}function fr(cr,Mr,Er,xr,Sr){var Ir,jr=1/Math.tan(Mr/2);return cr[0]=jr/Er,cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[5]=jr,cr[6]=0,cr[7]=0,cr[8]=0,cr[9]=0,cr[11]=-1,cr[12]=0,cr[13]=0,cr[15]=0,Sr!=null&&Sr!==1/0?(cr[10]=(Sr+xr)*(Ir=1/(xr-Sr)),cr[14]=2*Sr*xr*Ir):(cr[10]=-1,cr[14]=-2*xr),cr}function wr(cr,Mr,Er,xr,Sr,Ir,jr){var Hr=1/(Mr-Er),ri=1/(xr-Sr),ni=1/(Ir-jr);return cr[0]=-2*Hr,cr[1]=0,cr[2]=0,cr[3]=0,cr[4]=0,cr[5]=-2*ri,cr[6]=0,cr[7]=0,cr[8]=0,cr[9]=0,cr[10]=2*ni,cr[11]=0,cr[12]=(Mr+Er)*Hr,cr[13]=(Sr+xr)*ri,cr[14]=(jr+Ir)*ni,cr[15]=1,cr}function Lr(cr,Mr,Er){return cr[0]=Mr[0]-Er[0],cr[1]=Mr[1]-Er[1],cr[2]=Mr[2]-Er[2],cr[3]=Mr[3]-Er[3],cr[4]=Mr[4]-Er[4],cr[5]=Mr[5]-Er[5],cr[6]=Mr[6]-Er[6],cr[7]=Mr[7]-Er[7],cr[8]=Mr[8]-Er[8],cr[9]=Mr[9]-Er[9],cr[10]=Mr[10]-Er[10],cr[11]=Mr[11]-Er[11],cr[12]=Mr[12]-Er[12],cr[13]=Mr[13]-Er[13],cr[14]=Mr[14]-Er[14],cr[15]=Mr[15]-Er[15],cr}return di.perspective=fr,di.ortho=wr,di.mul=Ke,di.sub=Lr,di}var li,hi={},gr={};function Ae(){if(li)return gr;function Pe(Sr){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ir){return typeof Ir}:function(Ir){return Ir&&typeof Symbol=="function"&&Ir.constructor===Symbol&&Ir!==Symbol.prototype?"symbol":typeof Ir},Pe(Sr)}li=1,Object.defineProperty(gr,"__esModule",{value:!0}),gr.create=De,gr.clone=function(Sr){var Ir=new de.ARRAY_TYPE(3);return Ir[0]=Sr[0],Ir[1]=Sr[1],Ir[2]=Sr[2],Ir},gr.length=Ke,gr.fromValues=function(Sr,Ir,jr){var Hr=new de.ARRAY_TYPE(3);return Hr[0]=Sr,Hr[1]=Ir,Hr[2]=jr,Hr},gr.copy=function(Sr,Ir){return Sr[0]=Ir[0],Sr[1]=Ir[1],Sr[2]=Ir[2],Sr},gr.set=function(Sr,Ir,jr,Hr){return Sr[0]=Ir,Sr[1]=jr,Sr[2]=Hr,Sr},gr.add=function(Sr,Ir,jr){return Sr[0]=Ir[0]+jr[0],Sr[1]=Ir[1]+jr[1],Sr[2]=Ir[2]+jr[2],Sr},gr.subtract=Ve,gr.multiply=er,gr.divide=fr,gr.ceil=function(Sr,Ir){return Sr[0]=Math.ceil(Ir[0]),Sr[1]=Math.ceil(Ir[1]),Sr[2]=Math.ceil(Ir[2]),Sr},gr.floor=function(Sr,Ir){return Sr[0]=Math.floor(Ir[0]),Sr[1]=Math.floor(Ir[1]),Sr[2]=Math.floor(Ir[2]),Sr},gr.min=function(Sr,Ir,jr){return Sr[0]=Math.min(Ir[0],jr[0]),Sr[1]=Math.min(Ir[1],jr[1]),Sr[2]=Math.min(Ir[2],jr[2]),Sr},gr.max=function(Sr,Ir,jr){return Sr[0]=Math.max(Ir[0],jr[0]),Sr[1]=Math.max(Ir[1],jr[1]),Sr[2]=Math.max(Ir[2],jr[2]),Sr},gr.round=function(Sr,Ir){return Sr[0]=Math.round(Ir[0]),Sr[1]=Math.round(Ir[1]),Sr[2]=Math.round(Ir[2]),Sr},gr.scale=function(Sr,Ir,jr){return Sr[0]=Ir[0]*jr,Sr[1]=Ir[1]*jr,Sr[2]=Ir[2]*jr,Sr},gr.scaleAndAdd=function(Sr,Ir,jr,Hr){return Sr[0]=Ir[0]+jr[0]*Hr,Sr[1]=Ir[1]+jr[1]*Hr,Sr[2]=Ir[2]+jr[2]*Hr,Sr},gr.distance=wr,gr.squaredDistance=Lr,gr.squaredLength=cr,gr.negate=function(Sr,Ir){return Sr[0]=-Ir[0],Sr[1]=-Ir[1],Sr[2]=-Ir[2],Sr},gr.inverse=function(Sr,Ir){return Sr[0]=1/Ir[0],Sr[1]=1/Ir[1],Sr[2]=1/Ir[2],Sr},gr.normalize=function(Sr,Ir){var jr=Ir[0],Hr=Ir[1],ri=Ir[2],ni=jr*jr+Hr*Hr+ri*ri;return ni>0&&(ni=1/Math.sqrt(ni)),Sr[0]=Ir[0]*ni,Sr[1]=Ir[1]*ni,Sr[2]=Ir[2]*ni,Sr},gr.dot=Mr,gr.cross=function(Sr,Ir,jr){var Hr=Ir[0],ri=Ir[1],ni=Ir[2],Qr=jr[0],ci=jr[1],yi=jr[2];return Sr[0]=ri*yi-ni*ci,Sr[1]=ni*Qr-Hr*yi,Sr[2]=Hr*ci-ri*Qr,Sr},gr.lerp=function(Sr,Ir,jr,Hr){var ri=Ir[0],ni=Ir[1],Qr=Ir[2];return Sr[0]=ri+Hr*(jr[0]-ri),Sr[1]=ni+Hr*(jr[1]-ni),Sr[2]=Qr+Hr*(jr[2]-Qr),Sr},gr.hermite=function(Sr,Ir,jr,Hr,ri,ni){var Qr=ni*ni,ci=Qr*(2*ni-3)+1,yi=Qr*(ni-2)+ni,Ei=Qr*(ni-1),$i=Qr*(3-2*ni);return Sr[0]=Ir[0]*ci+jr[0]*yi+Hr[0]*Ei+ri[0]*$i,Sr[1]=Ir[1]*ci+jr[1]*yi+Hr[1]*Ei+ri[1]*$i,Sr[2]=Ir[2]*ci+jr[2]*yi+Hr[2]*Ei+ri[2]*$i,Sr},gr.bezier=function(Sr,Ir,jr,Hr,ri,ni){var Qr=1-ni,ci=Qr*Qr,yi=ni*ni,Ei=ci*Qr,$i=3*ni*ci,Pi=3*yi*Qr,Ii=yi*ni;return Sr[0]=Ir[0]*Ei+jr[0]*$i+Hr[0]*Pi+ri[0]*Ii,Sr[1]=Ir[1]*Ei+jr[1]*$i+Hr[1]*Pi+ri[1]*Ii,Sr[2]=Ir[2]*Ei+jr[2]*$i+Hr[2]*Pi+ri[2]*Ii,Sr},gr.random=function(Sr,Ir){Ir=Ir||1;var jr=2*de.RANDOM()*Math.PI,Hr=2*de.RANDOM()-1,ri=Math.sqrt(1-Hr*Hr)*Ir;return Sr[0]=Math.cos(jr)*ri,Sr[1]=Math.sin(jr)*ri,Sr[2]=Hr*Ir,Sr},gr.transformMat4=function(Sr,Ir,jr){var Hr=Ir[0],ri=Ir[1],ni=Ir[2],Qr=jr[3]*Hr+jr[7]*ri+jr[11]*ni+jr[15];return Sr[0]=(jr[0]*Hr+jr[4]*ri+jr[8]*ni+jr[12])/(Qr=Qr||1),Sr[1]=(jr[1]*Hr+jr[5]*ri+jr[9]*ni+jr[13])/Qr,Sr[2]=(jr[2]*Hr+jr[6]*ri+jr[10]*ni+jr[14])/Qr,Sr},gr.transformMat3=function(Sr,Ir,jr){var Hr=Ir[0],ri=Ir[1],ni=Ir[2];return Sr[0]=Hr*jr[0]+ri*jr[3]+ni*jr[6],Sr[1]=Hr*jr[1]+ri*jr[4]+ni*jr[7],Sr[2]=Hr*jr[2]+ri*jr[5]+ni*jr[8],Sr},gr.transformQuat=function(Sr,Ir,jr){var Hr=jr[0],ri=jr[1],ni=jr[2],Qr=Ir[0],ci=Ir[1],yi=Ir[2],Ei=ri*yi-ni*ci,$i=ni*Qr-Hr*yi,Pi=Hr*ci-ri*Qr,Ii=ri*Pi-ni*$i,Xi=ni*Ei-Hr*Pi,zi=Hr*$i-ri*Ei,Yi=2*jr[3];return $i*=Yi,Pi*=Yi,Xi*=2,zi*=2,Sr[0]=Qr+(Ei*=Yi)+(Ii*=2),Sr[1]=ci+$i+Xi,Sr[2]=yi+Pi+zi,Sr},gr.rotateX=function(Sr,Ir,jr,Hr){var ri=[],ni=[];return ri[0]=Ir[0]-jr[0],ri[1]=Ir[1]-jr[1],ri[2]=Ir[2]-jr[2],ni[0]=ri[0],ni[1]=ri[1]*Math.cos(Hr)-ri[2]*Math.sin(Hr),ni[2]=ri[1]*Math.sin(Hr)+ri[2]*Math.cos(Hr),Sr[0]=ni[0]+jr[0],Sr[1]=ni[1]+jr[1],Sr[2]=ni[2]+jr[2],Sr},gr.rotateY=function(Sr,Ir,jr,Hr){var ri=[],ni=[];return ri[0]=Ir[0]-jr[0],ri[1]=Ir[1]-jr[1],ri[2]=Ir[2]-jr[2],ni[0]=ri[2]*Math.sin(Hr)+ri[0]*Math.cos(Hr),ni[1]=ri[1],ni[2]=ri[2]*Math.cos(Hr)-ri[0]*Math.sin(Hr),Sr[0]=ni[0]+jr[0],Sr[1]=ni[1]+jr[1],Sr[2]=ni[2]+jr[2],Sr},gr.rotateZ=function(Sr,Ir,jr,Hr){var ri=[],ni=[];return ri[0]=Ir[0]-jr[0],ri[1]=Ir[1]-jr[1],ri[2]=Ir[2]-jr[2],ni[0]=ri[0]*Math.cos(Hr)-ri[1]*Math.sin(Hr),ni[1]=ri[0]*Math.sin(Hr)+ri[1]*Math.cos(Hr),ni[2]=ri[2],Sr[0]=ni[0]+jr[0],Sr[1]=ni[1]+jr[1],Sr[2]=ni[2]+jr[2],Sr},gr.angle=function(Sr,Ir){var jr=Sr[0],Hr=Sr[1],ri=Sr[2],ni=Ir[0],Qr=Ir[1],ci=Ir[2],yi=Math.sqrt(jr*jr+Hr*Hr+ri*ri)*Math.sqrt(ni*ni+Qr*Qr+ci*ci),Ei=yi&&Mr(Sr,Ir)/yi;return Math.acos(Math.min(Math.max(Ei,-1),1))},gr.zero=function(Sr){return Sr[0]=0,Sr[1]=0,Sr[2]=0,Sr},gr.str=function(Sr){return"vec3("+Sr[0]+", "+Sr[1]+", "+Sr[2]+")"},gr.exactEquals=function(Sr,Ir){return Sr[0]===Ir[0]&&Sr[1]===Ir[1]&&Sr[2]===Ir[2]},gr.equals=function(Sr,Ir){var jr=Sr[0],Hr=Sr[1],ri=Sr[2],ni=Ir[0],Qr=Ir[1],ci=Ir[2];return Math.abs(jr-ni)<=de.EPSILON*Math.max(1,Math.abs(jr),Math.abs(ni))&&Math.abs(Hr-Qr)<=de.EPSILON*Math.max(1,Math.abs(Hr),Math.abs(Qr))&&Math.abs(ri-ci)<=de.EPSILON*Math.max(1,Math.abs(ri),Math.abs(ci))},gr.forEach=gr.sqrLen=gr.len=gr.sqrDist=gr.dist=gr.div=gr.mul=gr.sub=void 0;var de=function(Sr,Ir){if(Sr&&Sr.__esModule)return Sr;if(Sr===null||Pe(Sr)!=="object"&&typeof Sr!="function")return{default:Sr};var jr=Ce(void 0);if(jr&&jr.has(Sr))return jr.get(Sr);var Hr={},ri=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ni in Sr)if(ni!=="default"&&Object.prototype.hasOwnProperty.call(Sr,ni)){var Qr=ri?Object.getOwnPropertyDescriptor(Sr,ni):null;Qr&&(Qr.get||Qr.set)?Object.defineProperty(Hr,ni,Qr):Hr[ni]=Sr[ni]}return Hr.default=Sr,jr&&jr.set(Sr,Hr),Hr}(kr());function Ce(Sr){if(typeof WeakMap!="function")return null;var Ir=new WeakMap,jr=new WeakMap;return(Ce=function(Hr){return Hr?jr:Ir})(Sr)}function De(){var Sr=new de.ARRAY_TYPE(3);return de.ARRAY_TYPE!=Float32Array&&(Sr[0]=0,Sr[1]=0,Sr[2]=0),Sr}function Ke(Sr){return Math.hypot(Sr[0],Sr[1],Sr[2])}function Ve(Sr,Ir,jr){return Sr[0]=Ir[0]-jr[0],Sr[1]=Ir[1]-jr[1],Sr[2]=Ir[2]-jr[2],Sr}function er(Sr,Ir,jr){return Sr[0]=Ir[0]*jr[0],Sr[1]=Ir[1]*jr[1],Sr[2]=Ir[2]*jr[2],Sr}function fr(Sr,Ir,jr){return Sr[0]=Ir[0]/jr[0],Sr[1]=Ir[1]/jr[1],Sr[2]=Ir[2]/jr[2],Sr}function wr(Sr,Ir){return Math.hypot(Ir[0]-Sr[0],Ir[1]-Sr[1],Ir[2]-Sr[2])}function Lr(Sr,Ir){var jr=Ir[0]-Sr[0],Hr=Ir[1]-Sr[1],ri=Ir[2]-Sr[2];return jr*jr+Hr*Hr+ri*ri}function cr(Sr){var Ir=Sr[0],jr=Sr[1],Hr=Sr[2];return Ir*Ir+jr*jr+Hr*Hr}function Mr(Sr,Ir){return Sr[0]*Ir[0]+Sr[1]*Ir[1]+Sr[2]*Ir[2]}gr.sub=Ve,gr.mul=er,gr.div=fr,gr.dist=wr,gr.sqrDist=Lr,gr.len=Ke,gr.sqrLen=cr;var Er,xr=(Er=De(),function(Sr,Ir,jr,Hr,ri,ni){var Qr,ci;for(Ir||(Ir=3),jr||(jr=0),ci=Hr?Math.min(Hr*Ir+jr,Sr.length):Sr.length,Qr=jr;Qr<ci;Qr+=Ir)Er[0]=Sr[Qr],Er[1]=Sr[Qr+1],Er[2]=Sr[Qr+2],ri(Er,Er,ni),Sr[Qr]=Er[0],Sr[Qr+1]=Er[1],Sr[Qr+2]=Er[2];return Sr});return gr.forEach=xr,gr}var ze,Ue,tr={};function or(){if(ze)return tr;function Pe(xr){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Sr){return typeof Sr}:function(Sr){return Sr&&typeof Symbol=="function"&&Sr.constructor===Symbol&&Sr!==Symbol.prototype?"symbol":typeof Sr},Pe(xr)}ze=1,Object.defineProperty(tr,"__esModule",{value:!0}),tr.create=De,tr.clone=function(xr){var Sr=new de.ARRAY_TYPE(4);return Sr[0]=xr[0],Sr[1]=xr[1],Sr[2]=xr[2],Sr[3]=xr[3],Sr},tr.fromValues=function(xr,Sr,Ir,jr){var Hr=new de.ARRAY_TYPE(4);return Hr[0]=xr,Hr[1]=Sr,Hr[2]=Ir,Hr[3]=jr,Hr},tr.copy=function(xr,Sr){return xr[0]=Sr[0],xr[1]=Sr[1],xr[2]=Sr[2],xr[3]=Sr[3],xr},tr.set=function(xr,Sr,Ir,jr,Hr){return xr[0]=Sr,xr[1]=Ir,xr[2]=jr,xr[3]=Hr,xr},tr.add=function(xr,Sr,Ir){return xr[0]=Sr[0]+Ir[0],xr[1]=Sr[1]+Ir[1],xr[2]=Sr[2]+Ir[2],xr[3]=Sr[3]+Ir[3],xr},tr.subtract=Ke,tr.multiply=Ve,tr.divide=er,tr.ceil=function(xr,Sr){return xr[0]=Math.ceil(Sr[0]),xr[1]=Math.ceil(Sr[1]),xr[2]=Math.ceil(Sr[2]),xr[3]=Math.ceil(Sr[3]),xr},tr.floor=function(xr,Sr){return xr[0]=Math.floor(Sr[0]),xr[1]=Math.floor(Sr[1]),xr[2]=Math.floor(Sr[2]),xr[3]=Math.floor(Sr[3]),xr},tr.min=function(xr,Sr,Ir){return xr[0]=Math.min(Sr[0],Ir[0]),xr[1]=Math.min(Sr[1],Ir[1]),xr[2]=Math.min(Sr[2],Ir[2]),xr[3]=Math.min(Sr[3],Ir[3]),xr},tr.max=function(xr,Sr,Ir){return xr[0]=Math.max(Sr[0],Ir[0]),xr[1]=Math.max(Sr[1],Ir[1]),xr[2]=Math.max(Sr[2],Ir[2]),xr[3]=Math.max(Sr[3],Ir[3]),xr},tr.round=function(xr,Sr){return xr[0]=Math.round(Sr[0]),xr[1]=Math.round(Sr[1]),xr[2]=Math.round(Sr[2]),xr[3]=Math.round(Sr[3]),xr},tr.scale=function(xr,Sr,Ir){return xr[0]=Sr[0]*Ir,xr[1]=Sr[1]*Ir,xr[2]=Sr[2]*Ir,xr[3]=Sr[3]*Ir,xr},tr.scaleAndAdd=function(xr,Sr,Ir,jr){return xr[0]=Sr[0]+Ir[0]*jr,xr[1]=Sr[1]+Ir[1]*jr,xr[2]=Sr[2]+Ir[2]*jr,xr[3]=Sr[3]+Ir[3]*jr,xr},tr.distance=fr,tr.squaredDistance=wr,tr.length=Lr,tr.squaredLength=cr,tr.negate=function(xr,Sr){return xr[0]=-Sr[0],xr[1]=-Sr[1],xr[2]=-Sr[2],xr[3]=-Sr[3],xr},tr.inverse=function(xr,Sr){return xr[0]=1/Sr[0],xr[1]=1/Sr[1],xr[2]=1/Sr[2],xr[3]=1/Sr[3],xr},tr.normalize=function(xr,Sr){var Ir=Sr[0],jr=Sr[1],Hr=Sr[2],ri=Sr[3],ni=Ir*Ir+jr*jr+Hr*Hr+ri*ri;return ni>0&&(ni=1/Math.sqrt(ni)),xr[0]=Ir*ni,xr[1]=jr*ni,xr[2]=Hr*ni,xr[3]=ri*ni,xr},tr.dot=function(xr,Sr){return xr[0]*Sr[0]+xr[1]*Sr[1]+xr[2]*Sr[2]+xr[3]*Sr[3]},tr.cross=function(xr,Sr,Ir,jr){var Hr=Ir[0]*jr[1]-Ir[1]*jr[0],ri=Ir[0]*jr[2]-Ir[2]*jr[0],ni=Ir[0]*jr[3]-Ir[3]*jr[0],Qr=Ir[1]*jr[2]-Ir[2]*jr[1],ci=Ir[1]*jr[3]-Ir[3]*jr[1],yi=Ir[2]*jr[3]-Ir[3]*jr[2],Ei=Sr[0],$i=Sr[1],Pi=Sr[2],Ii=Sr[3];return xr[0]=$i*yi-Pi*ci+Ii*Qr,xr[1]=-Ei*yi+Pi*ni-Ii*ri,xr[2]=Ei*ci-$i*ni+Ii*Hr,xr[3]=-Ei*Qr+$i*ri-Pi*Hr,xr},tr.lerp=function(xr,Sr,Ir,jr){var Hr=Sr[0],ri=Sr[1],ni=Sr[2],Qr=Sr[3];return xr[0]=Hr+jr*(Ir[0]-Hr),xr[1]=ri+jr*(Ir[1]-ri),xr[2]=ni+jr*(Ir[2]-ni),xr[3]=Qr+jr*(Ir[3]-Qr),xr},tr.random=function(xr,Sr){var Ir,jr,Hr,ri,ni,Qr;Sr=Sr||1;do ni=(Ir=2*de.RANDOM()-1)*Ir+(jr=2*de.RANDOM()-1)*jr;while(ni>=1);do Qr=(Hr=2*de.RANDOM()-1)*Hr+(ri=2*de.RANDOM()-1)*ri;while(Qr>=1);var ci=Math.sqrt((1-ni)/Qr);return xr[0]=Sr*Ir,xr[1]=Sr*jr,xr[2]=Sr*Hr*ci,xr[3]=Sr*ri*ci,xr},tr.transformMat4=function(xr,Sr,Ir){var jr=Sr[0],Hr=Sr[1],ri=Sr[2],ni=Sr[3];return xr[0]=Ir[0]*jr+Ir[4]*Hr+Ir[8]*ri+Ir[12]*ni,xr[1]=Ir[1]*jr+Ir[5]*Hr+Ir[9]*ri+Ir[13]*ni,xr[2]=Ir[2]*jr+Ir[6]*Hr+Ir[10]*ri+Ir[14]*ni,xr[3]=Ir[3]*jr+Ir[7]*Hr+Ir[11]*ri+Ir[15]*ni,xr},tr.transformQuat=function(xr,Sr,Ir){var jr=Sr[0],Hr=Sr[1],ri=Sr[2],ni=Ir[0],Qr=Ir[1],ci=Ir[2],yi=Ir[3],Ei=yi*jr+Qr*ri-ci*Hr,$i=yi*Hr+ci*jr-ni*ri,Pi=yi*ri+ni*Hr-Qr*jr,Ii=-ni*jr-Qr*Hr-ci*ri;return xr[0]=Ei*yi+Ii*-ni+$i*-ci-Pi*-Qr,xr[1]=$i*yi+Ii*-Qr+Pi*-ni-Ei*-ci,xr[2]=Pi*yi+Ii*-ci+Ei*-Qr-$i*-ni,xr[3]=Sr[3],xr},tr.zero=function(xr){return xr[0]=0,xr[1]=0,xr[2]=0,xr[3]=0,xr},tr.str=function(xr){return"vec4("+xr[0]+", "+xr[1]+", "+xr[2]+", "+xr[3]+")"},tr.exactEquals=function(xr,Sr){return xr[0]===Sr[0]&&xr[1]===Sr[1]&&xr[2]===Sr[2]&&xr[3]===Sr[3]},tr.equals=function(xr,Sr){var Ir=xr[0],jr=xr[1],Hr=xr[2],ri=xr[3],ni=Sr[0],Qr=Sr[1],ci=Sr[2],yi=Sr[3];return Math.abs(Ir-ni)<=de.EPSILON*Math.max(1,Math.abs(Ir),Math.abs(ni))&&Math.abs(jr-Qr)<=de.EPSILON*Math.max(1,Math.abs(jr),Math.abs(Qr))&&Math.abs(Hr-ci)<=de.EPSILON*Math.max(1,Math.abs(Hr),Math.abs(ci))&&Math.abs(ri-yi)<=de.EPSILON*Math.max(1,Math.abs(ri),Math.abs(yi))},tr.forEach=tr.sqrLen=tr.len=tr.sqrDist=tr.dist=tr.div=tr.mul=tr.sub=void 0;var de=function(xr,Sr){if(xr&&xr.__esModule)return xr;if(xr===null||Pe(xr)!=="object"&&typeof xr!="function")return{default:xr};var Ir=Ce(void 0);if(Ir&&Ir.has(xr))return Ir.get(xr);var jr={},Hr=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ri in xr)if(ri!=="default"&&Object.prototype.hasOwnProperty.call(xr,ri)){var ni=Hr?Object.getOwnPropertyDescriptor(xr,ri):null;ni&&(ni.get||ni.set)?Object.defineProperty(jr,ri,ni):jr[ri]=xr[ri]}return jr.default=xr,Ir&&Ir.set(xr,jr),jr}(kr());function Ce(xr){if(typeof WeakMap!="function")return null;var Sr=new WeakMap,Ir=new WeakMap;return(Ce=function(jr){return jr?Ir:Sr})(xr)}function De(){var xr=new de.ARRAY_TYPE(4);return de.ARRAY_TYPE!=Float32Array&&(xr[0]=0,xr[1]=0,xr[2]=0,xr[3]=0),xr}function Ke(xr,Sr,Ir){return xr[0]=Sr[0]-Ir[0],xr[1]=Sr[1]-Ir[1],xr[2]=Sr[2]-Ir[2],xr[3]=Sr[3]-Ir[3],xr}function Ve(xr,Sr,Ir){return xr[0]=Sr[0]*Ir[0],xr[1]=Sr[1]*Ir[1],xr[2]=Sr[2]*Ir[2],xr[3]=Sr[3]*Ir[3],xr}function er(xr,Sr,Ir){return xr[0]=Sr[0]/Ir[0],xr[1]=Sr[1]/Ir[1],xr[2]=Sr[2]/Ir[2],xr[3]=Sr[3]/Ir[3],xr}function fr(xr,Sr){return Math.hypot(Sr[0]-xr[0],Sr[1]-xr[1],Sr[2]-xr[2],Sr[3]-xr[3])}function wr(xr,Sr){var Ir=Sr[0]-xr[0],jr=Sr[1]-xr[1],Hr=Sr[2]-xr[2],ri=Sr[3]-xr[3];return Ir*Ir+jr*jr+Hr*Hr+ri*ri}function Lr(xr){return Math.hypot(xr[0],xr[1],xr[2],xr[3])}function cr(xr){var Sr=xr[0],Ir=xr[1],jr=xr[2],Hr=xr[3];return Sr*Sr+Ir*Ir+jr*jr+Hr*Hr}tr.sub=Ke,tr.mul=Ve,tr.div=er,tr.dist=fr,tr.sqrDist=wr,tr.len=Lr,tr.sqrLen=cr;var Mr,Er=(Mr=De(),function(xr,Sr,Ir,jr,Hr,ri){var ni,Qr;for(Sr||(Sr=4),Ir||(Ir=0),Qr=jr?Math.min(jr*Sr+Ir,xr.length):xr.length,ni=Ir;ni<Qr;ni+=Sr)Mr[0]=xr[ni],Mr[1]=xr[ni+1],Mr[2]=xr[ni+2],Mr[3]=xr[ni+3],Hr(Mr,Mr,ri),xr[ni]=Mr[0],xr[ni+1]=Mr[1],xr[ni+2]=Mr[2],xr[ni+3]=Mr[3];return xr});return tr.forEach=Er,tr}function vr(){if(Ue)return hi;function Pe(zi){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Yi){return typeof Yi}:function(Yi){return Yi&&typeof Symbol=="function"&&Yi.constructor===Symbol&&Yi!==Symbol.prototype?"symbol":typeof Yi},Pe(zi)}Ue=1,Object.defineProperty(hi,"__esModule",{value:!0}),hi.create=fr,hi.identity=function(zi){return zi[0]=0,zi[1]=0,zi[2]=0,zi[3]=1,zi},hi.setAxisAngle=wr,hi.getAxisAngle=function(zi,Yi){var rn=2*Math.acos(Yi[3]),en=Math.sin(rn/2);return en>de.EPSILON?(zi[0]=Yi[0]/en,zi[1]=Yi[1]/en,zi[2]=Yi[2]/en):(zi[0]=1,zi[1]=0,zi[2]=0),rn},hi.getAngle=function(zi,Yi){var rn=Ir(zi,Yi);return Math.acos(2*rn*rn-1)},hi.multiply=Lr,hi.rotateX=function(zi,Yi,rn){rn*=.5;var en=Yi[0],sn=Yi[1],vn=Yi[2],yn=Yi[3],cn=Math.sin(rn),Rn=Math.cos(rn);return zi[0]=en*Rn+yn*cn,zi[1]=sn*Rn+vn*cn,zi[2]=vn*Rn-sn*cn,zi[3]=yn*Rn-en*cn,zi},hi.rotateY=function(zi,Yi,rn){rn*=.5;var en=Yi[0],sn=Yi[1],vn=Yi[2],yn=Yi[3],cn=Math.sin(rn),Rn=Math.cos(rn);return zi[0]=en*Rn-vn*cn,zi[1]=sn*Rn+yn*cn,zi[2]=vn*Rn+en*cn,zi[3]=yn*Rn-sn*cn,zi},hi.rotateZ=function(zi,Yi,rn){rn*=.5;var en=Yi[0],sn=Yi[1],vn=Yi[2],yn=Yi[3],cn=Math.sin(rn),Rn=Math.cos(rn);return zi[0]=en*Rn+sn*cn,zi[1]=sn*Rn-en*cn,zi[2]=vn*Rn+yn*cn,zi[3]=yn*Rn-vn*cn,zi},hi.calculateW=function(zi,Yi){var rn=Yi[0],en=Yi[1],sn=Yi[2];return zi[0]=rn,zi[1]=en,zi[2]=sn,zi[3]=Math.sqrt(Math.abs(1-rn*rn-en*en-sn*sn)),zi},hi.exp=cr,hi.ln=Mr,hi.pow=function(zi,Yi,rn){return Mr(zi,Yi),Sr(zi,zi,rn),cr(zi,zi),zi},hi.slerp=Er,hi.random=function(zi){var Yi=de.RANDOM(),rn=de.RANDOM(),en=de.RANDOM(),sn=Math.sqrt(1-Yi),vn=Math.sqrt(Yi);return zi[0]=sn*Math.sin(2*Math.PI*rn),zi[1]=sn*Math.cos(2*Math.PI*rn),zi[2]=vn*Math.sin(2*Math.PI*en),zi[3]=vn*Math.cos(2*Math.PI*en),zi},hi.invert=function(zi,Yi){var rn=Yi[0],en=Yi[1],sn=Yi[2],vn=Yi[3],yn=rn*rn+en*en+sn*sn+vn*vn,cn=yn?1/yn:0;return zi[0]=-rn*cn,zi[1]=-en*cn,zi[2]=-sn*cn,zi[3]=vn*cn,zi},hi.conjugate=function(zi,Yi){return zi[0]=-Yi[0],zi[1]=-Yi[1],zi[2]=-Yi[2],zi[3]=Yi[3],zi},hi.fromMat3=xr,hi.fromEuler=function(zi,Yi,rn,en){var sn=.5*Math.PI/180;Yi*=sn,rn*=sn,en*=sn;var vn=Math.sin(Yi),yn=Math.cos(Yi),cn=Math.sin(rn),Rn=Math.cos(rn),to=Math.sin(en),$n=Math.cos(en);return zi[0]=vn*Rn*$n-yn*cn*to,zi[1]=yn*cn*$n+vn*Rn*to,zi[2]=yn*Rn*to-vn*cn*$n,zi[3]=yn*Rn*$n+vn*cn*to,zi},hi.str=function(zi){return"quat("+zi[0]+", "+zi[1]+", "+zi[2]+", "+zi[3]+")"},hi.setAxes=hi.sqlerp=hi.rotationTo=hi.equals=hi.exactEquals=hi.normalize=hi.sqrLen=hi.squaredLength=hi.len=hi.length=hi.lerp=hi.dot=hi.scale=hi.mul=hi.add=hi.set=hi.copy=hi.fromValues=hi.clone=void 0;var de=er(kr()),Ce=er(ai()),De=er(Ae()),Ke=er(or());function Ve(zi){if(typeof WeakMap!="function")return null;var Yi=new WeakMap,rn=new WeakMap;return(Ve=function(en){return en?rn:Yi})(zi)}function er(zi,Yi){if(zi&&zi.__esModule)return zi;if(zi===null||Pe(zi)!=="object"&&typeof zi!="function")return{default:zi};var rn=Ve(Yi);if(rn&&rn.has(zi))return rn.get(zi);var en={},sn=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var vn in zi)if(vn!=="default"&&Object.prototype.hasOwnProperty.call(zi,vn)){var yn=sn?Object.getOwnPropertyDescriptor(zi,vn):null;yn&&(yn.get||yn.set)?Object.defineProperty(en,vn,yn):en[vn]=zi[vn]}return en.default=zi,rn&&rn.set(zi,en),en}function fr(){var zi=new de.ARRAY_TYPE(4);return de.ARRAY_TYPE!=Float32Array&&(zi[0]=0,zi[1]=0,zi[2]=0),zi[3]=1,zi}function wr(zi,Yi,rn){rn*=.5;var en=Math.sin(rn);return zi[0]=en*Yi[0],zi[1]=en*Yi[1],zi[2]=en*Yi[2],zi[3]=Math.cos(rn),zi}function Lr(zi,Yi,rn){var en=Yi[0],sn=Yi[1],vn=Yi[2],yn=Yi[3],cn=rn[0],Rn=rn[1],to=rn[2],$n=rn[3];return zi[0]=en*$n+yn*cn+sn*to-vn*Rn,zi[1]=sn*$n+yn*Rn+vn*cn-en*to,zi[2]=vn*$n+yn*to+en*Rn-sn*cn,zi[3]=yn*$n-en*cn-sn*Rn-vn*to,zi}function cr(zi,Yi){var rn=Yi[0],en=Yi[1],sn=Yi[2],vn=Yi[3],yn=Math.sqrt(rn*rn+en*en+sn*sn),cn=Math.exp(vn),Rn=yn>0?cn*Math.sin(yn)/yn:0;return zi[0]=rn*Rn,zi[1]=en*Rn,zi[2]=sn*Rn,zi[3]=cn*Math.cos(yn),zi}function Mr(zi,Yi){var rn=Yi[0],en=Yi[1],sn=Yi[2],vn=Yi[3],yn=Math.sqrt(rn*rn+en*en+sn*sn),cn=yn>0?Math.atan2(yn,vn)/yn:0;return zi[0]=rn*cn,zi[1]=en*cn,zi[2]=sn*cn,zi[3]=.5*Math.log(rn*rn+en*en+sn*sn+vn*vn),zi}function Er(zi,Yi,rn,en){var sn,vn,yn,cn,Rn,to=Yi[0],$n=Yi[1],uo=Yi[2],co=Yi[3],_o=rn[0],qn=rn[1],Io=rn[2],ho=rn[3];return(vn=to*_o+$n*qn+uo*Io+co*ho)<0&&(vn=-vn,_o=-_o,qn=-qn,Io=-Io,ho=-ho),1-vn>de.EPSILON?(sn=Math.acos(vn),yn=Math.sin(sn),cn=Math.sin((1-en)*sn)/yn,Rn=Math.sin(en*sn)/yn):(cn=1-en,Rn=en),zi[0]=cn*to+Rn*_o,zi[1]=cn*$n+Rn*qn,zi[2]=cn*uo+Rn*Io,zi[3]=cn*co+Rn*ho,zi}function xr(zi,Yi){var rn,en=Yi[0]+Yi[4]+Yi[8];if(en>0)rn=Math.sqrt(en+1),zi[3]=.5*rn,zi[0]=(Yi[5]-Yi[7])*(rn=.5/rn),zi[1]=(Yi[6]-Yi[2])*rn,zi[2]=(Yi[1]-Yi[3])*rn;else{var sn=0;Yi[4]>Yi[0]&&(sn=1),Yi[8]>Yi[3*sn+sn]&&(sn=2);var vn=(sn+1)%3,yn=(sn+2)%3;rn=Math.sqrt(Yi[3*sn+sn]-Yi[3*vn+vn]-Yi[3*yn+yn]+1),zi[sn]=.5*rn,zi[3]=(Yi[3*vn+yn]-Yi[3*yn+vn])*(rn=.5/rn),zi[vn]=(Yi[3*vn+sn]+Yi[3*sn+vn])*rn,zi[yn]=(Yi[3*yn+sn]+Yi[3*sn+yn])*rn}return zi}hi.clone=Ke.clone,hi.fromValues=Ke.fromValues,hi.copy=Ke.copy,hi.set=Ke.set,hi.add=Ke.add,hi.mul=Lr;var Sr=Ke.scale;hi.scale=Sr;var Ir=Ke.dot;hi.dot=Ir,hi.lerp=Ke.lerp;var jr=Ke.length;hi.length=jr,hi.len=jr;var Hr=Ke.squaredLength;hi.squaredLength=Hr,hi.sqrLen=Hr;var ri=Ke.normalize;hi.normalize=ri,hi.exactEquals=Ke.exactEquals,hi.equals=Ke.equals;var ni,Qr,ci,yi=(ni=De.create(),Qr=De.fromValues(1,0,0),ci=De.fromValues(0,1,0),function(zi,Yi,rn){var en=De.dot(Yi,rn);return en<-.999999?(De.cross(ni,Qr,Yi),De.len(ni)<1e-6&&De.cross(ni,ci,Yi),De.normalize(ni,ni),wr(zi,ni,Math.PI),zi):en>.999999?(zi[0]=0,zi[1]=0,zi[2]=0,zi[3]=1,zi):(De.cross(ni,Yi,rn),zi[0]=ni[0],zi[1]=ni[1],zi[2]=ni[2],zi[3]=1+en,ri(zi,zi))});hi.rotationTo=yi;var Ei,$i,Pi=(Ei=fr(),$i=fr(),function(zi,Yi,rn,en,sn,vn){return Er(Ei,Yi,sn,vn),Er($i,rn,en,vn),Er(zi,Ei,$i,2*vn*(1-vn)),zi});hi.sqlerp=Pi;var Ii,Xi=(Ii=Ce.create(),function(zi,Yi,rn,en){return Ii[0]=rn[0],Ii[3]=rn[1],Ii[6]=rn[2],Ii[1]=en[0],Ii[4]=en[1],Ii[7]=en[2],Ii[2]=-Yi[0],Ii[5]=-Yi[1],Ii[8]=-Yi[2],ri(zi,xr(zi,Ii))});return hi.setAxes=Xi,hi}var br,nr={};function $e(){if(br)return nr;function Pe(Er){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(xr){return typeof xr}:function(xr){return xr&&typeof Symbol=="function"&&xr.constructor===Symbol&&xr!==Symbol.prototype?"symbol":typeof xr},Pe(Er)}br=1,Object.defineProperty(nr,"__esModule",{value:!0}),nr.create=function(){var Er=new de.ARRAY_TYPE(8);return de.ARRAY_TYPE!=Float32Array&&(Er[0]=0,Er[1]=0,Er[2]=0,Er[4]=0,Er[5]=0,Er[6]=0,Er[7]=0),Er[3]=1,Er},nr.clone=function(Er){var xr=new de.ARRAY_TYPE(8);return xr[0]=Er[0],xr[1]=Er[1],xr[2]=Er[2],xr[3]=Er[3],xr[4]=Er[4],xr[5]=Er[5],xr[6]=Er[6],xr[7]=Er[7],xr},nr.fromValues=function(Er,xr,Sr,Ir,jr,Hr,ri,ni){var Qr=new de.ARRAY_TYPE(8);return Qr[0]=Er,Qr[1]=xr,Qr[2]=Sr,Qr[3]=Ir,Qr[4]=jr,Qr[5]=Hr,Qr[6]=ri,Qr[7]=ni,Qr},nr.fromRotationTranslationValues=function(Er,xr,Sr,Ir,jr,Hr,ri){var ni=new de.ARRAY_TYPE(8);ni[0]=Er,ni[1]=xr,ni[2]=Sr,ni[3]=Ir;var Qr=.5*jr,ci=.5*Hr,yi=.5*ri;return ni[4]=Qr*Ir+ci*Sr-yi*xr,ni[5]=ci*Ir+yi*Er-Qr*Sr,ni[6]=yi*Ir+Qr*xr-ci*Er,ni[7]=-Qr*Er-ci*xr-yi*Sr,ni},nr.fromRotationTranslation=er,nr.fromTranslation=function(Er,xr){return Er[0]=0,Er[1]=0,Er[2]=0,Er[3]=1,Er[4]=.5*xr[0],Er[5]=.5*xr[1],Er[6]=.5*xr[2],Er[7]=0,Er},nr.fromRotation=function(Er,xr){return Er[0]=xr[0],Er[1]=xr[1],Er[2]=xr[2],Er[3]=xr[3],Er[4]=0,Er[5]=0,Er[6]=0,Er[7]=0,Er},nr.fromMat4=function(Er,xr){var Sr=Ce.create();De.getRotation(Sr,xr);var Ir=new de.ARRAY_TYPE(3);return De.getTranslation(Ir,xr),er(Er,Sr,Ir),Er},nr.copy=fr,nr.identity=function(Er){return Er[0]=0,Er[1]=0,Er[2]=0,Er[3]=1,Er[4]=0,Er[5]=0,Er[6]=0,Er[7]=0,Er},nr.set=function(Er,xr,Sr,Ir,jr,Hr,ri,ni,Qr){return Er[0]=xr,Er[1]=Sr,Er[2]=Ir,Er[3]=jr,Er[4]=Hr,Er[5]=ri,Er[6]=ni,Er[7]=Qr,Er},nr.getDual=function(Er,xr){return Er[0]=xr[4],Er[1]=xr[5],Er[2]=xr[6],Er[3]=xr[7],Er},nr.setDual=function(Er,xr){return Er[4]=xr[0],Er[5]=xr[1],Er[6]=xr[2],Er[7]=xr[3],Er},nr.getTranslation=function(Er,xr){var Sr=xr[4],Ir=xr[5],jr=xr[6],Hr=xr[7],ri=-xr[0],ni=-xr[1],Qr=-xr[2],ci=xr[3];return Er[0]=2*(Sr*ci+Hr*ri+Ir*Qr-jr*ni),Er[1]=2*(Ir*ci+Hr*ni+jr*ri-Sr*Qr),Er[2]=2*(jr*ci+Hr*Qr+Sr*ni-Ir*ri),Er},nr.translate=function(Er,xr,Sr){var Ir=xr[0],jr=xr[1],Hr=xr[2],ri=xr[3],ni=.5*Sr[0],Qr=.5*Sr[1],ci=.5*Sr[2],yi=xr[4],Ei=xr[5],$i=xr[6],Pi=xr[7];return Er[0]=Ir,Er[1]=jr,Er[2]=Hr,Er[3]=ri,Er[4]=ri*ni+jr*ci-Hr*Qr+yi,Er[5]=ri*Qr+Hr*ni-Ir*ci+Ei,Er[6]=ri*ci+Ir*Qr-jr*ni+$i,Er[7]=-Ir*ni-jr*Qr-Hr*ci+Pi,Er},nr.rotateX=function(Er,xr,Sr){var Ir=-xr[0],jr=-xr[1],Hr=-xr[2],ri=xr[3],ni=xr[4],Qr=xr[5],ci=xr[6],yi=xr[7],Ei=ni*ri+yi*Ir+Qr*Hr-ci*jr,$i=Qr*ri+yi*jr+ci*Ir-ni*Hr,Pi=ci*ri+yi*Hr+ni*jr-Qr*Ir,Ii=yi*ri-ni*Ir-Qr*jr-ci*Hr;return Ce.rotateX(Er,xr,Sr),Er[4]=Ei*(ri=Er[3])+Ii*(Ir=Er[0])+$i*(Hr=Er[2])-Pi*(jr=Er[1]),Er[5]=$i*ri+Ii*jr+Pi*Ir-Ei*Hr,Er[6]=Pi*ri+Ii*Hr+Ei*jr-$i*Ir,Er[7]=Ii*ri-Ei*Ir-$i*jr-Pi*Hr,Er},nr.rotateY=function(Er,xr,Sr){var Ir=-xr[0],jr=-xr[1],Hr=-xr[2],ri=xr[3],ni=xr[4],Qr=xr[5],ci=xr[6],yi=xr[7],Ei=ni*ri+yi*Ir+Qr*Hr-ci*jr,$i=Qr*ri+yi*jr+ci*Ir-ni*Hr,Pi=ci*ri+yi*Hr+ni*jr-Qr*Ir,Ii=yi*ri-ni*Ir-Qr*jr-ci*Hr;return Ce.rotateY(Er,xr,Sr),Er[4]=Ei*(ri=Er[3])+Ii*(Ir=Er[0])+$i*(Hr=Er[2])-Pi*(jr=Er[1]),Er[5]=$i*ri+Ii*jr+Pi*Ir-Ei*Hr,Er[6]=Pi*ri+Ii*Hr+Ei*jr-$i*Ir,Er[7]=Ii*ri-Ei*Ir-$i*jr-Pi*Hr,Er},nr.rotateZ=function(Er,xr,Sr){var Ir=-xr[0],jr=-xr[1],Hr=-xr[2],ri=xr[3],ni=xr[4],Qr=xr[5],ci=xr[6],yi=xr[7],Ei=ni*ri+yi*Ir+Qr*Hr-ci*jr,$i=Qr*ri+yi*jr+ci*Ir-ni*Hr,Pi=ci*ri+yi*Hr+ni*jr-Qr*Ir,Ii=yi*ri-ni*Ir-Qr*jr-ci*Hr;return Ce.rotateZ(Er,xr,Sr),Er[4]=Ei*(ri=Er[3])+Ii*(Ir=Er[0])+$i*(Hr=Er[2])-Pi*(jr=Er[1]),Er[5]=$i*ri+Ii*jr+Pi*Ir-Ei*Hr,Er[6]=Pi*ri+Ii*Hr+Ei*jr-$i*Ir,Er[7]=Ii*ri-Ei*Ir-$i*jr-Pi*Hr,Er},nr.rotateByQuatAppend=function(Er,xr,Sr){var Ir=Sr[0],jr=Sr[1],Hr=Sr[2],ri=Sr[3],ni=xr[0],Qr=xr[1],ci=xr[2],yi=xr[3];return Er[0]=ni*ri+yi*Ir+Qr*Hr-ci*jr,Er[1]=Qr*ri+yi*jr+ci*Ir-ni*Hr,Er[2]=ci*ri+yi*Hr+ni*jr-Qr*Ir,Er[3]=yi*ri-ni*Ir-Qr*jr-ci*Hr,Er[4]=(ni=xr[4])*ri+(yi=xr[7])*Ir+(Qr=xr[5])*Hr-(ci=xr[6])*jr,Er[5]=Qr*ri+yi*jr+ci*Ir-ni*Hr,Er[6]=ci*ri+yi*Hr+ni*jr-Qr*Ir,Er[7]=yi*ri-ni*Ir-Qr*jr-ci*Hr,Er},nr.rotateByQuatPrepend=function(Er,xr,Sr){var Ir=xr[0],jr=xr[1],Hr=xr[2],ri=xr[3],ni=Sr[0],Qr=Sr[1],ci=Sr[2],yi=Sr[3];return Er[0]=Ir*yi+ri*ni+jr*ci-Hr*Qr,Er[1]=jr*yi+ri*Qr+Hr*ni-Ir*ci,Er[2]=Hr*yi+ri*ci+Ir*Qr-jr*ni,Er[3]=ri*yi-Ir*ni-jr*Qr-Hr*ci,Er[4]=Ir*(yi=Sr[7])+ri*(ni=Sr[4])+jr*(ci=Sr[6])-Hr*(Qr=Sr[5]),Er[5]=jr*yi+ri*Qr+Hr*ni-Ir*ci,Er[6]=Hr*yi+ri*ci+Ir*Qr-jr*ni,Er[7]=ri*yi-Ir*ni-jr*Qr-Hr*ci,Er},nr.rotateAroundAxis=function(Er,xr,Sr,Ir){if(Math.abs(Ir)<de.EPSILON)return fr(Er,xr);var jr=Math.hypot(Sr[0],Sr[1],Sr[2]);Ir*=.5;var Hr=Math.sin(Ir),ri=Hr*Sr[0]/jr,ni=Hr*Sr[1]/jr,Qr=Hr*Sr[2]/jr,ci=Math.cos(Ir),yi=xr[0],Ei=xr[1],$i=xr[2],Pi=xr[3];Er[0]=yi*ci+Pi*ri+Ei*Qr-$i*ni,Er[1]=Ei*ci+Pi*ni+$i*ri-yi*Qr,Er[2]=$i*ci+Pi*Qr+yi*ni-Ei*ri,Er[3]=Pi*ci-yi*ri-Ei*ni-$i*Qr;var Ii=xr[4],Xi=xr[5],zi=xr[6],Yi=xr[7];return Er[4]=Ii*ci+Yi*ri+Xi*Qr-zi*ni,Er[5]=Xi*ci+Yi*ni+zi*ri-Ii*Qr,Er[6]=zi*ci+Yi*Qr+Ii*ni-Xi*ri,Er[7]=Yi*ci-Ii*ri-Xi*ni-zi*Qr,Er},nr.add=function(Er,xr,Sr){return Er[0]=xr[0]+Sr[0],Er[1]=xr[1]+Sr[1],Er[2]=xr[2]+Sr[2],Er[3]=xr[3]+Sr[3],Er[4]=xr[4]+Sr[4],Er[5]=xr[5]+Sr[5],Er[6]=xr[6]+Sr[6],Er[7]=xr[7]+Sr[7],Er},nr.multiply=wr,nr.scale=function(Er,xr,Sr){return Er[0]=xr[0]*Sr,Er[1]=xr[1]*Sr,Er[2]=xr[2]*Sr,Er[3]=xr[3]*Sr,Er[4]=xr[4]*Sr,Er[5]=xr[5]*Sr,Er[6]=xr[6]*Sr,Er[7]=xr[7]*Sr,Er},nr.lerp=function(Er,xr,Sr,Ir){var jr=1-Ir;return Lr(xr,Sr)<0&&(Ir=-Ir),Er[0]=xr[0]*jr+Sr[0]*Ir,Er[1]=xr[1]*jr+Sr[1]*Ir,Er[2]=xr[2]*jr+Sr[2]*Ir,Er[3]=xr[3]*jr+Sr[3]*Ir,Er[4]=xr[4]*jr+Sr[4]*Ir,Er[5]=xr[5]*jr+Sr[5]*Ir,Er[6]=xr[6]*jr+Sr[6]*Ir,Er[7]=xr[7]*jr+Sr[7]*Ir,Er},nr.invert=function(Er,xr){var Sr=Mr(xr);return Er[0]=-xr[0]/Sr,Er[1]=-xr[1]/Sr,Er[2]=-xr[2]/Sr,Er[3]=xr[3]/Sr,Er[4]=-xr[4]/Sr,Er[5]=-xr[5]/Sr,Er[6]=-xr[6]/Sr,Er[7]=xr[7]/Sr,Er},nr.conjugate=function(Er,xr){return Er[0]=-xr[0],Er[1]=-xr[1],Er[2]=-xr[2],Er[3]=xr[3],Er[4]=-xr[4],Er[5]=-xr[5],Er[6]=-xr[6],Er[7]=xr[7],Er},nr.normalize=function(Er,xr){var Sr=Mr(xr);if(Sr>0){Sr=Math.sqrt(Sr);var Ir=xr[0]/Sr,jr=xr[1]/Sr,Hr=xr[2]/Sr,ri=xr[3]/Sr,ni=xr[4],Qr=xr[5],ci=xr[6],yi=xr[7],Ei=Ir*ni+jr*Qr+Hr*ci+ri*yi;Er[0]=Ir,Er[1]=jr,Er[2]=Hr,Er[3]=ri,Er[4]=(ni-Ir*Ei)/Sr,Er[5]=(Qr-jr*Ei)/Sr,Er[6]=(ci-Hr*Ei)/Sr,Er[7]=(yi-ri*Ei)/Sr}return Er},nr.str=function(Er){return"quat2("+Er[0]+", "+Er[1]+", "+Er[2]+", "+Er[3]+", "+Er[4]+", "+Er[5]+", "+Er[6]+", "+Er[7]+")"},nr.exactEquals=function(Er,xr){return Er[0]===xr[0]&&Er[1]===xr[1]&&Er[2]===xr[2]&&Er[3]===xr[3]&&Er[4]===xr[4]&&Er[5]===xr[5]&&Er[6]===xr[6]&&Er[7]===xr[7]},nr.equals=function(Er,xr){var Sr=Er[0],Ir=Er[1],jr=Er[2],Hr=Er[3],ri=Er[4],ni=Er[5],Qr=Er[6],ci=Er[7],yi=xr[0],Ei=xr[1],$i=xr[2],Pi=xr[3],Ii=xr[4],Xi=xr[5],zi=xr[6],Yi=xr[7];return Math.abs(Sr-yi)<=de.EPSILON*Math.max(1,Math.abs(Sr),Math.abs(yi))&&Math.abs(Ir-Ei)<=de.EPSILON*Math.max(1,Math.abs(Ir),Math.abs(Ei))&&Math.abs(jr-$i)<=de.EPSILON*Math.max(1,Math.abs(jr),Math.abs($i))&&Math.abs(Hr-Pi)<=de.EPSILON*Math.max(1,Math.abs(Hr),Math.abs(Pi))&&Math.abs(ri-Ii)<=de.EPSILON*Math.max(1,Math.abs(ri),Math.abs(Ii))&&Math.abs(ni-Xi)<=de.EPSILON*Math.max(1,Math.abs(ni),Math.abs(Xi))&&Math.abs(Qr-zi)<=de.EPSILON*Math.max(1,Math.abs(Qr),Math.abs(zi))&&Math.abs(ci-Yi)<=de.EPSILON*Math.max(1,Math.abs(ci),Math.abs(Yi))},nr.sqrLen=nr.squaredLength=nr.len=nr.length=nr.dot=nr.mul=nr.setReal=nr.getReal=void 0;var de=Ve(kr()),Ce=Ve(vr()),De=Ve(fi());function Ke(Er){if(typeof WeakMap!="function")return null;var xr=new WeakMap,Sr=new WeakMap;return(Ke=function(Ir){return Ir?Sr:xr})(Er)}function Ve(Er,xr){if(Er&&Er.__esModule)return Er;if(Er===null||Pe(Er)!=="object"&&typeof Er!="function")return{default:Er};var Sr=Ke(xr);if(Sr&&Sr.has(Er))return Sr.get(Er);var Ir={},jr=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Hr in Er)if(Hr!=="default"&&Object.prototype.hasOwnProperty.call(Er,Hr)){var ri=jr?Object.getOwnPropertyDescriptor(Er,Hr):null;ri&&(ri.get||ri.set)?Object.defineProperty(Ir,Hr,ri):Ir[Hr]=Er[Hr]}return Ir.default=Er,Sr&&Sr.set(Er,Ir),Ir}function er(Er,xr,Sr){var Ir=.5*Sr[0],jr=.5*Sr[1],Hr=.5*Sr[2],ri=xr[0],ni=xr[1],Qr=xr[2],ci=xr[3];return Er[0]=ri,Er[1]=ni,Er[2]=Qr,Er[3]=ci,Er[4]=Ir*ci+jr*Qr-Hr*ni,Er[5]=jr*ci+Hr*ri-Ir*Qr,Er[6]=Hr*ci+Ir*ni-jr*ri,Er[7]=-Ir*ri-jr*ni-Hr*Qr,Er}function fr(Er,xr){return Er[0]=xr[0],Er[1]=xr[1],Er[2]=xr[2],Er[3]=xr[3],Er[4]=xr[4],Er[5]=xr[5],Er[6]=xr[6],Er[7]=xr[7],Er}function wr(Er,xr,Sr){var Ir=xr[0],jr=xr[1],Hr=xr[2],ri=xr[3],ni=Sr[4],Qr=Sr[5],ci=Sr[6],yi=Sr[7],Ei=xr[4],$i=xr[5],Pi=xr[6],Ii=xr[7],Xi=Sr[0],zi=Sr[1],Yi=Sr[2],rn=Sr[3];return Er[0]=Ir*rn+ri*Xi+jr*Yi-Hr*zi,Er[1]=jr*rn+ri*zi+Hr*Xi-Ir*Yi,Er[2]=Hr*rn+ri*Yi+Ir*zi-jr*Xi,Er[3]=ri*rn-Ir*Xi-jr*zi-Hr*Yi,Er[4]=Ir*yi+ri*ni+jr*ci-Hr*Qr+Ei*rn+Ii*Xi+$i*Yi-Pi*zi,Er[5]=jr*yi+ri*Qr+Hr*ni-Ir*ci+$i*rn+Ii*zi+Pi*Xi-Ei*Yi,Er[6]=Hr*yi+ri*ci+Ir*Qr-jr*ni+Pi*rn+Ii*Yi+Ei*zi-$i*Xi,Er[7]=ri*yi-Ir*ni-jr*Qr-Hr*ci+Ii*rn-Ei*Xi-$i*zi-Pi*Yi,Er}nr.getReal=Ce.copy,nr.setReal=Ce.copy,nr.mul=wr;var Lr=Ce.dot;nr.dot=Lr;var cr=Ce.length;nr.length=cr,nr.len=cr;var Mr=Ce.squaredLength;return nr.squaredLength=Mr,nr.sqrLen=Mr,nr}var ur,$r,Yr={};function wi(){if(ur)return Yr;function Pe(xr){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Sr){return typeof Sr}:function(Sr){return Sr&&typeof Symbol=="function"&&Sr.constructor===Symbol&&Sr!==Symbol.prototype?"symbol":typeof Sr},Pe(xr)}ur=1,Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.create=De,Yr.clone=function(xr){var Sr=new de.ARRAY_TYPE(2);return Sr[0]=xr[0],Sr[1]=xr[1],Sr},Yr.fromValues=function(xr,Sr){var Ir=new de.ARRAY_TYPE(2);return Ir[0]=xr,Ir[1]=Sr,Ir},Yr.copy=function(xr,Sr){return xr[0]=Sr[0],xr[1]=Sr[1],xr},Yr.set=function(xr,Sr,Ir){return xr[0]=Sr,xr[1]=Ir,xr},Yr.add=function(xr,Sr,Ir){return xr[0]=Sr[0]+Ir[0],xr[1]=Sr[1]+Ir[1],xr},Yr.subtract=Ke,Yr.multiply=Ve,Yr.divide=er,Yr.ceil=function(xr,Sr){return xr[0]=Math.ceil(Sr[0]),xr[1]=Math.ceil(Sr[1]),xr},Yr.floor=function(xr,Sr){return xr[0]=Math.floor(Sr[0]),xr[1]=Math.floor(Sr[1]),xr},Yr.min=function(xr,Sr,Ir){return xr[0]=Math.min(Sr[0],Ir[0]),xr[1]=Math.min(Sr[1],Ir[1]),xr},Yr.max=function(xr,Sr,Ir){return xr[0]=Math.max(Sr[0],Ir[0]),xr[1]=Math.max(Sr[1],Ir[1]),xr},Yr.round=function(xr,Sr){return xr[0]=Math.round(Sr[0]),xr[1]=Math.round(Sr[1]),xr},Yr.scale=function(xr,Sr,Ir){return xr[0]=Sr[0]*Ir,xr[1]=Sr[1]*Ir,xr},Yr.scaleAndAdd=function(xr,Sr,Ir,jr){return xr[0]=Sr[0]+Ir[0]*jr,xr[1]=Sr[1]+Ir[1]*jr,xr},Yr.distance=fr,Yr.squaredDistance=wr,Yr.length=Lr,Yr.squaredLength=cr,Yr.negate=function(xr,Sr){return xr[0]=-Sr[0],xr[1]=-Sr[1],xr},Yr.inverse=function(xr,Sr){return xr[0]=1/Sr[0],xr[1]=1/Sr[1],xr},Yr.normalize=function(xr,Sr){var Ir=Sr[0],jr=Sr[1],Hr=Ir*Ir+jr*jr;return Hr>0&&(Hr=1/Math.sqrt(Hr)),xr[0]=Sr[0]*Hr,xr[1]=Sr[1]*Hr,xr},Yr.dot=function(xr,Sr){return xr[0]*Sr[0]+xr[1]*Sr[1]},Yr.cross=function(xr,Sr,Ir){var jr=Sr[0]*Ir[1]-Sr[1]*Ir[0];return xr[0]=xr[1]=0,xr[2]=jr,xr},Yr.lerp=function(xr,Sr,Ir,jr){var Hr=Sr[0],ri=Sr[1];return xr[0]=Hr+jr*(Ir[0]-Hr),xr[1]=ri+jr*(Ir[1]-ri),xr},Yr.random=function(xr,Sr){Sr=Sr||1;var Ir=2*de.RANDOM()*Math.PI;return xr[0]=Math.cos(Ir)*Sr,xr[1]=Math.sin(Ir)*Sr,xr},Yr.transformMat2=function(xr,Sr,Ir){var jr=Sr[0],Hr=Sr[1];return xr[0]=Ir[0]*jr+Ir[2]*Hr,xr[1]=Ir[1]*jr+Ir[3]*Hr,xr},Yr.transformMat2d=function(xr,Sr,Ir){var jr=Sr[0],Hr=Sr[1];return xr[0]=Ir[0]*jr+Ir[2]*Hr+Ir[4],xr[1]=Ir[1]*jr+Ir[3]*Hr+Ir[5],xr},Yr.transformMat3=function(xr,Sr,Ir){var jr=Sr[0],Hr=Sr[1];return xr[0]=Ir[0]*jr+Ir[3]*Hr+Ir[6],xr[1]=Ir[1]*jr+Ir[4]*Hr+Ir[7],xr},Yr.transformMat4=function(xr,Sr,Ir){var jr=Sr[0],Hr=Sr[1];return xr[0]=Ir[0]*jr+Ir[4]*Hr+Ir[12],xr[1]=Ir[1]*jr+Ir[5]*Hr+Ir[13],xr},Yr.rotate=function(xr,Sr,Ir,jr){var Hr=Sr[0]-Ir[0],ri=Sr[1]-Ir[1],ni=Math.sin(jr),Qr=Math.cos(jr);return xr[0]=Hr*Qr-ri*ni+Ir[0],xr[1]=Hr*ni+ri*Qr+Ir[1],xr},Yr.angle=function(xr,Sr){var Ir=xr[0],jr=xr[1],Hr=Sr[0],ri=Sr[1],ni=Math.sqrt(Ir*Ir+jr*jr)*Math.sqrt(Hr*Hr+ri*ri);return Math.acos(Math.min(Math.max(ni&&(Ir*Hr+jr*ri)/ni,-1),1))},Yr.zero=function(xr){return xr[0]=0,xr[1]=0,xr},Yr.str=function(xr){return"vec2("+xr[0]+", "+xr[1]+")"},Yr.exactEquals=function(xr,Sr){return xr[0]===Sr[0]&&xr[1]===Sr[1]},Yr.equals=function(xr,Sr){var Ir=xr[0],jr=xr[1],Hr=Sr[0],ri=Sr[1];return Math.abs(Ir-Hr)<=de.EPSILON*Math.max(1,Math.abs(Ir),Math.abs(Hr))&&Math.abs(jr-ri)<=de.EPSILON*Math.max(1,Math.abs(jr),Math.abs(ri))},Yr.forEach=Yr.sqrLen=Yr.sqrDist=Yr.dist=Yr.div=Yr.mul=Yr.sub=Yr.len=void 0;var de=function(xr,Sr){if(xr&&xr.__esModule)return xr;if(xr===null||Pe(xr)!=="object"&&typeof xr!="function")return{default:xr};var Ir=Ce(void 0);if(Ir&&Ir.has(xr))return Ir.get(xr);var jr={},Hr=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ri in xr)if(ri!=="default"&&Object.prototype.hasOwnProperty.call(xr,ri)){var ni=Hr?Object.getOwnPropertyDescriptor(xr,ri):null;ni&&(ni.get||ni.set)?Object.defineProperty(jr,ri,ni):jr[ri]=xr[ri]}return jr.default=xr,Ir&&Ir.set(xr,jr),jr}(kr());function Ce(xr){if(typeof WeakMap!="function")return null;var Sr=new WeakMap,Ir=new WeakMap;return(Ce=function(jr){return jr?Ir:Sr})(xr)}function De(){var xr=new de.ARRAY_TYPE(2);return de.ARRAY_TYPE!=Float32Array&&(xr[0]=0,xr[1]=0),xr}function Ke(xr,Sr,Ir){return xr[0]=Sr[0]-Ir[0],xr[1]=Sr[1]-Ir[1],xr}function Ve(xr,Sr,Ir){return xr[0]=Sr[0]*Ir[0],xr[1]=Sr[1]*Ir[1],xr}function er(xr,Sr,Ir){return xr[0]=Sr[0]/Ir[0],xr[1]=Sr[1]/Ir[1],xr}function fr(xr,Sr){return Math.hypot(Sr[0]-xr[0],Sr[1]-xr[1])}function wr(xr,Sr){var Ir=Sr[0]-xr[0],jr=Sr[1]-xr[1];return Ir*Ir+jr*jr}function Lr(xr){return Math.hypot(xr[0],xr[1])}function cr(xr){var Sr=xr[0],Ir=xr[1];return Sr*Sr+Ir*Ir}Yr.len=Lr,Yr.sub=Ke,Yr.mul=Ve,Yr.div=er,Yr.dist=fr,Yr.sqrDist=wr,Yr.sqrLen=cr;var Mr,Er=(Mr=De(),function(xr,Sr,Ir,jr,Hr,ri){var ni,Qr;for(Sr||(Sr=2),Ir||(Ir=0),Qr=jr?Math.min(jr*Sr+Ir,xr.length):xr.length,ni=Ir;ni<Qr;ni+=Sr)Mr[0]=xr[ni],Mr[1]=xr[ni+1],Hr(Mr,Mr,ri),xr[ni]=Mr[0],xr[ni+1]=Mr[1];return xr});return Yr.forEach=Er,Yr}function ki(){if($r)return lr;function Pe(xr){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Sr){return typeof Sr}:function(Sr){return Sr&&typeof Symbol=="function"&&Sr.constructor===Symbol&&Sr!==Symbol.prototype?"symbol":typeof Sr},Pe(xr)}$r=1,Object.defineProperty(lr,"__esModule",{value:!0}),lr.vec4=lr.vec3=lr.vec2=lr.quat2=lr.quat=lr.mat4=lr.mat3=lr.mat2d=lr.mat2=lr.glMatrix=void 0;var de=Er(kr());lr.glMatrix=de;var Ce=Er(Pr());lr.mat2=Ce;var De=Er(Vr());lr.mat2d=De;var Ke=Er(ai());lr.mat3=Ke;var Ve=Er(fi());lr.mat4=Ve;var er=Er(vr());lr.quat=er;var fr=Er($e());lr.quat2=fr;var wr=Er(wi());lr.vec2=wr;var Lr=Er(Ae());lr.vec3=Lr;var cr=Er(or());function Mr(xr){if(typeof WeakMap!="function")return null;var Sr=new WeakMap,Ir=new WeakMap;return(Mr=function(jr){return jr?Ir:Sr})(xr)}function Er(xr,Sr){if(xr&&xr.__esModule)return xr;if(xr===null||Pe(xr)!=="object"&&typeof xr!="function")return{default:xr};var Ir=Mr(Sr);if(Ir&&Ir.has(xr))return Ir.get(xr);var jr={},Hr=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ri in xr)if(ri!=="default"&&Object.prototype.hasOwnProperty.call(xr,ri)){var ni=Hr?Object.getOwnPropertyDescriptor(xr,ri):null;ni&&(ni.get||ni.set)?Object.defineProperty(jr,ri,ni):jr[ri]=xr[ri]}return jr.default=xr,Ir&&Ir.set(xr,jr),jr}return lr.vec4=cr,lr}var Mi,si,_i,ii,Jr=ki(),bi=function(){if(si)return Mi;function Pe(de,Ce,De,Ke){this.cx=3*de,this.bx=3*(De-de)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*Ce,this.by=3*(Ke-Ce)-this.cy,this.ay=1-this.cy-this.by,this.p1x=de,this.p1y=Ce,this.p2x=De,this.p2y=Ke}return si=1,Mi=Pe,Pe.prototype={sampleCurveX:function(de){return((this.ax*de+this.bx)*de+this.cx)*de},sampleCurveY:function(de){return((this.ay*de+this.by)*de+this.cy)*de},sampleCurveDerivativeX:function(de){return(3*this.ax*de+2*this.bx)*de+this.cx},solveCurveX:function(de,Ce){if(Ce===void 0&&(Ce=1e-6),de<0)return 0;if(de>1)return 1;for(var De=de,Ke=0;Ke<8;Ke++){var Ve=this.sampleCurveX(De)-de;if(Math.abs(Ve)<Ce)return De;var er=this.sampleCurveDerivativeX(De);if(Math.abs(er)<1e-6)break;De-=Ve/er}var fr=0,wr=1;for(De=de,Ke=0;Ke<20&&(Ve=this.sampleCurveX(De),!(Math.abs(Ve-de)<Ce));Ke++)de>Ve?fr=De:wr=De,De=.5*(wr-fr)+fr;return De},solve:function(de,Ce){return this.sampleCurveY(this.solveCurveX(de,Ce))}},Mi}(),vi=rr(bi);function Di(){if(ii)return _i;function Pe(de,Ce){this.x=de,this.y=Ce}return ii=1,_i=Pe,Pe.prototype={clone:function(){return new Pe(this.x,this.y)},add:function(de){return this.clone()._add(de)},sub:function(de){return this.clone()._sub(de)},multByPoint:function(de){return this.clone()._multByPoint(de)},divByPoint:function(de){return this.clone()._divByPoint(de)},mult:function(de){return this.clone()._mult(de)},div:function(de){return this.clone()._div(de)},rotate:function(de){return this.clone()._rotate(de)},rotateAround:function(de,Ce){return this.clone()._rotateAround(de,Ce)},matMult:function(de){return this.clone()._matMult(de)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(de){return this.x===de.x&&this.y===de.y},dist:function(de){return Math.sqrt(this.distSqr(de))},distSqr:function(de){var Ce=de.x-this.x,De=de.y-this.y;return Ce*Ce+De*De},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(de){return Math.atan2(this.y-de.y,this.x-de.x)},angleWith:function(de){return this.angleWithSep(de.x,de.y)},angleWithSep:function(de,Ce){return Math.atan2(this.x*Ce-this.y*de,this.x*de+this.y*Ce)},_matMult:function(de){var Ce=de[2]*this.x+de[3]*this.y;return this.x=de[0]*this.x+de[1]*this.y,this.y=Ce,this},_add:function(de){return this.x+=de.x,this.y+=de.y,this},_sub:function(de){return this.x-=de.x,this.y-=de.y,this},_mult:function(de){return this.x*=de,this.y*=de,this},_div:function(de){return this.x/=de,this.y/=de,this},_multByPoint:function(de){return this.x*=de.x,this.y*=de.y,this},_divByPoint:function(de){return this.x/=de.x,this.y/=de.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var de=this.y;return this.y=this.x,this.x=-de,this},_rotate:function(de){var Ce=Math.cos(de),De=Math.sin(de),Ke=De*this.x+Ce*this.y;return this.x=Ce*this.x-De*this.y,this.y=Ke,this},_rotateAround:function(de,Ce){var De=Math.cos(de),Ke=Math.sin(de),Ve=Ce.y+Ke*(this.x-Ce.x)+De*(this.y-Ce.y);return this.x=Ce.x+De*(this.x-Ce.x)-Ke*(this.y-Ce.y),this.y=Ve,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},Pe.convert=function(de){return de instanceof Pe?de:Array.isArray(de)?new Pe(de[0],de[1]):de},_i}var Ui=rr(Di());function pn(Pe,de){if(Array.isArray(Pe)){if(!Array.isArray(de)||Pe.length!==de.length)return!1;for(let Ce=0;Ce<Pe.length;Ce++)if(!pn(Pe[Ce],de[Ce]))return!1;return!0}if(typeof Pe=="object"&&Pe!==null&&de!==null){if(typeof de!="object"||Object.keys(Pe).length!==Object.keys(de).length)return!1;for(const Ce in Pe)if(!pn(Pe[Ce],de[Ce]))return!1;return!0}return Pe===de}const tn=Math.PI/180,Tn=180/Math.PI;function Ji(Pe){return Pe*tn}function Vi(Pe){return Pe*Tn}const Gn=[[0,0],[1,0],[1,1],[0,1]];function En(Pe){if(Pe<=0)return 0;if(Pe>=1)return 1;const de=Pe*Pe,Ce=de*Pe;return 4*(Pe<.5?Ce:3*(Pe-de)+Ce-.75)}function An(Pe,de,Ce,De){const Ke=new vi(Pe,de,Ce,De);return function(Ve){return Ke.solve(Ve)}}const To=An(.25,.1,.25,1);function hn(Pe,de,Ce){return Math.min(Ce,Math.max(de,Pe))}function On(Pe,de,Ce){return(Ce=hn((Ce-Pe)/(de-Pe),0,1))*Ce*(3-2*Ce)}function Wo(Pe,de,Ce){const De=Ce-de,Ke=((Pe-de)%De+De)%De+de;return Ke===de?Ce:Ke}function Fn(Pe,de,Ce){if(!Pe.length)return Ce(null,[]);let De=Pe.length;const Ke=new Array(Pe.length);let Ve=null;Pe.forEach((er,fr)=>{de(er,(wr,Lr)=>{wr&&(Ve=wr),Ke[fr]=Lr,--De==0&&Ce(Ve,Ke)})})}function Wn(Pe,...de){for(const Ce of de)for(const De in Ce)Pe[De]=Ce[De];return Pe}let No=1;function Zn(){return No++}function oo(Pe){return Pe<=1?1:Math.pow(2,Math.ceil(Math.log(Pe)/Math.LN2))}function ma(Pe,de){Pe.forEach(Ce=>{de[Ce]&&(de[Ce]=de[Ce].bind(de))})}function Yn(Pe,de){return Pe.indexOf(de,Pe.length-de.length)!==-1}function eo(Pe,de,Ce){const De={};for(const Ke in Pe)De[Ke]=de.call(this,Pe[Ke],Ke,Pe);return De}function ta(Pe,de,Ce){const De={};for(const Ke in Pe)de.call(this,Pe[Ke],Ke,Pe)&&(De[Ke]=Pe[Ke]);return De}function jn(Pe){return Array.isArray(Pe)?Pe.map(jn):typeof Pe=="object"&&Pe?eo(Pe,jn):Pe}const ao={};function gn(Pe){ao[Pe]||(typeof console<"u"&&console.warn(Pe),ao[Pe]=!0)}function dn(Pe,de,Ce){return(Ce.y-Pe.y)*(de.x-Pe.x)>(de.y-Pe.y)*(Ce.x-Pe.x)}function Pn(Pe){let de=0;for(let Ce,De,Ke=0,Ve=Pe.length,er=Ve-1;Ke<Ve;er=Ke++)Ce=Pe[Ke],De=Pe[er],de+=(De.x-Ce.x)*(Ce.y+De.y);return de}function zo([Pe,de,Ce]){const De=Ji(de+90),Ke=Ji(Ce);return{x:Pe*Math.cos(De)*Math.sin(Ke),y:Pe*Math.sin(De)*Math.sin(Ke),z:Pe*Math.cos(Ke),azimuthal:de,polar:Ce}}function Dn(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}function Xn(Pe){const de={};if(Pe.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(Ce,De,Ke,Ve)=>{const er=Ke||Ve;return de[De]=!er||er.toLowerCase(),""}),de["max-age"]){const Ce=parseInt(de["max-age"],10);isNaN(Ce)?delete de["max-age"]:de["max-age"]=Ce}return de}let ha=null;function Jn(Pe,de){return[Pe[4*de],Pe[4*de+1],Pe[4*de+2],Pe[4*de+3]]}function io(Pe,de,Ce,De){for(;de<Ce;){const Ke=de+Ce>>1;Pe[Ke]<De?de=Ke+1:Ce=Ke}return de}function xn(Pe,de,Ce,De){for(;de<Ce;){const Ke=de+Ce>>1;Pe[Ke]<=De?de=Ke+1:Ce=Ke}return de}function Fr(Pe){return Pe>0?1/(1.001-Pe):1+Pe}function Dr(Pe){return Pe>0?1-1/(1.001-Pe):-Pe}const qr={API_URL:"https://api.mapbox.com",get API_URL_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i},get API_TILEJSON_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/v[0-9]*\/.*\.json.*$)/i},get API_SPRITE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*\/sprite.*\..*$)/i},get API_FONTS_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/fonts\/v[0-9]*\/)(.*\.pbf.*$)/i},get API_STYLE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*$)/i},get API_CDN_URL_REGEX(){return/^((https?:)?\/\/)?api\.mapbox\.c(n|om)(\/mapbox-gl-js\/)(.*$)/i},get EVENTS_URL(){if(!qr.API_URL)return null;try{const Pe=new URL(qr.API_URL);return Pe.hostname==="api.mapbox.cn"?"https://events.mapbox.cn/events/v2":Pe.hostname==="api.mapbox.com"?"https://events.mapbox.com/events/v2":null}catch{return null}},SESSION_PATH:"/map-sessions/v1",FEEDBACK_URL:"https://apps.mapbox.com/feedback",TILE_URL_VERSION:"v4",RASTER_URL_PREFIX:"raster/v1",RASTERARRAYS_URL_PREFIX:"rasterarrays/v1",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,DEFAULT_STYLE:"mapbox://styles/mapbox/standard",MAX_PARALLEL_IMAGE_REQUESTS:16,DRACO_URL:"https://api.mapbox.com/mapbox-gl-js/draco_decoder_gltf_v1.5.6.wasm",MESHOPT_URL:"https://api.mapbox.com/mapbox-gl-js/meshopt_base_v0.20.wasm",MESHOPT_SIMD_URL:"https://api.mapbox.com/mapbox-gl-js/meshopt_simd_v0.20.wasm",GLYPHS_URL:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf",TILES3D_URL_PREFIX:"3dtiles/v1"};function oi(Pe){return qr.API_URL_REGEX.test(Pe)}function pi(Pe){return qr.API_SPRITE_REGEX.test(Pe)}let Ai,Ti,Bi,ln,Ni,Wi;function Bn(){return Ai==null&&(Ai=self.OffscreenCanvas&&new OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Ai}const un={now:()=>ln!==void 0?ln:performance.now(),setNow(Pe){ln=Pe},restoreNow(){ln=void 0},frame(Pe){const de=requestAnimationFrame(Pe);return{cancel:()=>cancelAnimationFrame(de)}},getImageData(Pe,de=0){const{width:Ce,height:De}=Pe;Ni||(Ni=document.createElement("canvas"));const Ke=Ni.getContext("2d",{willReadFrequently:!0});if(!Ke)throw new Error("failed to create canvas 2d context");return(Ce>Ni.width||De>Ni.height)&&(Ni.width=Ce,Ni.height=De),Ke.clearRect(-de,-de,Ce+2*de,De+2*de),Ke.drawImage(Pe,0,0,Ce,De),Ke.getImageData(-de,-de,Ce+2*de,De+2*de)},resolveURL:Pe=>(Ti||(Ti=document.createElement("a")),Ti.href=Pe,Ti.href),get devicePixelRatio(){return window.devicePixelRatio},get prefersReducedMotion(){return!!window.matchMedia&&(Bi==null&&(Bi=window.matchMedia("(prefers-reduced-motion: reduce)")),Bi.matches)},hasCanvasFingerprintNoise(){if(Wi!==void 0)return Wi;if(!Bn())return Wi=!1,!1;const Pe=new OffscreenCanvas(85,1),de=Pe.getContext("2d",{willReadFrequently:!0});let Ce=0;for(let Ke=0;Ke<Pe.width;++Ke)de.fillStyle=`rgba(${Ce++},${Ce++},${Ce++}, 255)`,de.fillRect(Ke,0,1,1);const De=de.getImageData(0,0,Pe.width,Pe.height);Ce=0;for(let Ke=0;Ke<De.data.length;++Ke)if(Ke%4!=3&&Ce++!==De.data[Ke])return Wi=!0,!0;return Wi=!1,!1}};function wn(Pe,de){const Ce=Pe.indexOf("?");if(Ce<0)return`${Pe}?${new URLSearchParams(de).toString()}`;const De=new URLSearchParams(Pe.slice(Ce));for(const Ke in de)De.set(Ke,de[Ke]);return`${Pe.slice(0,Ce)}?${De.toString()}`}function yo(Pe,de={persistentParams:[]}){const Ce=Pe.indexOf("?");if(Ce<0)return Pe;const De=new URLSearchParams,Ke=new URLSearchParams(Pe.slice(Ce));for(const er of de.persistentParams){const fr=Ke.get(er);fr&&De.set(er,fr)}const Ve=De.toString();return`${Pe.slice(0,Ce)}${Ve.length>0?`?${Ve}`:""}`}const So="mapbox-tiles";let Bo=500,Lo=50;const Yo=["language","worldview","jobid"];let qo,Oo;function Ho(){try{return caches}catch{}}function Jo(){const Pe=Ho();Pe&&qo==null&&(qo=Pe.open(So))}let da=1/0;const Pa={supported:!1,testSupport:function(Pe){!Ha&&Ea&&(Fa?us(Pe):ba=Pe)}};let ba,Ea,Ha=!1,Fa=!1;const ls=typeof self<"u"?self:{};function us(Pe){const de=Pe.createTexture();Pe.bindTexture(Pe.TEXTURE_2D,de);try{if(Pe.texImage2D(Pe.TEXTURE_2D,0,Pe.RGBA,Pe.RGBA,Pe.UNSIGNED_BYTE,Ea),Pe.isContextLost())return;Pa.supported=!0}catch{}Pe.deleteTexture(de),Ha=!0}ls.document&&(Ea=ls.document.createElement("img"),Ea.onload=function(){ba&&us(ba),ba=null,Fa=!0},Ea.onerror=function(){Ha=!0,ba=null},Ea.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");const Xa={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Iconset:"Iconset",Image:"Image",Model:"Model"};typeof Object.freeze=="function"&&Object.freeze(Xa);class hs extends Error{constructor(de,Ce,De){Ce===401&&oi(De)&&(de+=": you may have provided an invalid Mapbox access token. See https://docs.mapbox.com/api/overview/#access-tokens-and-token-scopes"),super(de),this.status=Ce,this.url=De}toString(){return`${this.name}: ${this.message} (${this.status}): ${this.url}`}}const Fc=Dn()?()=>self.worker&&self.worker.referrer:()=>(location.protocol==="blob:"?parent:self).location.href,$l=function(Pe,de){if(!(/^file:/.test(Ce=Pe.url)||/^file:/.test(Fc())&&!/^\w+:/.test(Ce))){if(self.fetch&&self.Request&&self.AbortController&&Request.prototype.hasOwnProperty("signal"))return function(De,Ke){const Ve=new AbortController,er=new Request(De.url,{method:De.method||"GET",body:De.body,credentials:De.credentials,headers:De.headers,referrer:Fc(),referrerPolicy:De.referrerPolicy,signal:Ve.signal});let fr=!1,wr=!1;const Lr=(cr=er.url).indexOf("sku=")>0&&oi(cr);var cr;De.type==="json"&&er.headers.set("Accept","application/json");const Mr=(xr,Sr,Ir)=>{if(wr)return;if(xr&&xr.message!=="SecurityError"&&gn(xr.toString()),Sr&&Ir)return Er(Sr);const jr=Date.now();fetch(er).then(Hr=>{if(Hr.ok){const ri=Lr?Hr.clone():null;return Er(Hr,ri,jr)}return Ke(new hs(Hr.statusText,Hr.status,De.url))}).catch(Hr=>{Hr.name!=="AbortError"&&Ke(new Error(`${Hr.message} ${De.url}`))})},Er=(xr,Sr,Ir)=>{(De.type==="arrayBuffer"?xr.arrayBuffer():De.type==="json"?xr.json():xr.text()).then(jr=>{wr||(Sr&&Ir&&function(Hr,ri,ni){if(Jo(),qo==null)return;const Qr=Xn(ri.headers.get("Cache-Control")||"");if(Qr["no-store"])return;const ci={status:ri.status,statusText:ri.statusText,headers:new Headers};ri.headers.forEach(($i,Pi)=>ci.headers.set(Pi,$i)),Qr["max-age"]&&ci.headers.set("Expires",new Date(ni+1e3*Qr["max-age"]).toUTCString());const yi=ci.headers.get("Expires");if(!yi||new Date(yi).getTime()-ni<42e4)return;let Ei=yo(Hr.url,{persistentParams:Yo});if(ri.status===206){const $i=Hr.headers.get("Range");if(!$i)return;ci.status=200,Ei=wn(Ei,{range:$i})}(function($i,Pi){if(Oo===void 0)try{new Response(new ReadableStream),Oo=!0}catch{Oo=!1}Oo?Pi($i.body):$i.blob().then(Pi)})(ri,$i=>{const Pi=new Response((Ii=ri.status)!==200&&Ii!==404&&[101,103,204,205,304].includes(Ii)?null:$i,ci);var Ii;Jo(),qo?.then(Xi=>Xi.put(Ei,Pi)).catch(Xi=>gn(Xi.message))})}(er,Sr,Ir),fr=!0,Ke(null,jr,xr.headers.get("Cache-Control"),xr.headers.get("Expires")))}).catch(jr=>{wr||Ke(new Error(jr.message))})};return Lr?function(xr,Sr){if(Jo(),qo==null)return Sr(null);qo.then(Ir=>{let jr=yo(xr.url,{persistentParams:Yo});const Hr=xr.headers.get("Range");Hr&&(jr=wn(jr,{range:Hr})),Ir.match(jr).then(ri=>{const ni=function(Qr){if(!Qr)return!1;const ci=new Date(Qr.headers.get("Expires")||0),yi=Xn(Qr.headers.get("Cache-Control")||"");return ci>Date.now()&&!yi["no-cache"]}(ri);Ir.delete(jr),ni&&Ir.put(jr,ri.clone()),Sr(null,ri,ni)}).catch(Sr)}).catch(Sr)}(er,Mr):Mr(null,null),{cancel:()=>{wr=!0,fr||Ve.abort()}}}(Pe,de);if(Dn()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",Pe,de,void 0,!0)}var Ce;return function(De,Ke){const Ve=new XMLHttpRequest;Ve.open(De.method||"GET",De.url,!0),De.type==="arrayBuffer"&&(Ve.responseType="arraybuffer");for(const er in De.headers)Ve.setRequestHeader(er,De.headers[er]);return De.type==="json"&&(Ve.responseType="text",Ve.setRequestHeader("Accept","application/json")),Ve.withCredentials=De.credentials==="include",Ve.onerror=()=>{Ke(new Error(Ve.statusText))},Ve.onload=()=>{if((Ve.status>=200&&Ve.status<300||Ve.status===0)&&Ve.response!==null){let er=Ve.response;if(De.type==="json")try{er=JSON.parse(Ve.response)}catch(fr){return Ke(fr)}Ke(null,er,Ve.getResponseHeader("Cache-Control"),Ve.getResponseHeader("Expires"))}else Ke(new hs(Ve.statusText,Ve.status,De.url))},Ve.send(De.body),{cancel:()=>Ve.abort()}}(Pe,de)},wu=function(Pe,de){return $l(Wn(Pe,{type:"arrayBuffer"}),de)};function yf(Pe){const de=document.createElement("a");return de.href=Pe,de.protocol===location.protocol&&de.host===location.host}const bf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";let xf,Lh;xf=[],Lh=0;const ju=function(Pe,de){if(Pa.supported&&(Pe.headers||(Pe.headers={}),Pe.headers.accept="image/webp,*/*"),Lh>=qr.MAX_PARALLEL_IMAGE_REQUESTS){const Ve={requestParameters:Pe,callback:de,cancelled:!1,cancel(){this.cancelled=!0}};return xf.push(Ve),Ve}Lh++;let Ce=!1;const De=()=>{if(!Ce)for(Ce=!0,Lh--;xf.length&&Lh<qr.MAX_PARALLEL_IMAGE_REQUESTS;){const Ve=xf.shift(),{requestParameters:er,callback:fr,cancelled:wr}=Ve;wr||(Ve.cancel=ju(er,fr).cancel)}},Ke=wu(Pe,(Ve,er,fr,wr)=>{De(),Ve?de(Ve):er&&(self.createImageBitmap?function(Lr,cr){const Mr=new Blob([new Uint8Array(Lr)],{type:"image/png"});createImageBitmap(Mr).then(Er=>{cr(null,Er)}).catch(Er=>{cr(new Error(`Could not load image because of ${Er.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`))})}(er,(Lr,cr)=>de(Lr,cr,fr,wr)):function(Lr,cr){const Mr=new Image;Mr.onload=()=>{cr(null,Mr),URL.revokeObjectURL(Mr.src),Mr.onload=null,requestAnimationFrame(()=>{Mr.src=bf})},Mr.onerror=()=>cr(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const Er=new Blob([new Uint8Array(Lr)],{type:"image/png"});Mr.src=Lr.byteLength?URL.createObjectURL(Er):bf}(er,(Lr,cr)=>de(Lr,cr,fr,wr)))});return{cancel:()=>{Ke.cancel(),De()}}};var wf,Hl,uc,Wl={exports:{}},Zl={exports:{}},ru={exports:{}},_d=function(){if(uc)return Wl.exports;uc=1;var Pe=(wf||(wf=1,Zl.exports=function(Ce,De){var Ke,Ve,er,fr,wr,Lr,cr,Mr;for(Ve=Ce.length-(Ke=3&Ce.length),er=De,wr=3432918353,Lr=461845907,Mr=0;Mr<Ve;)cr=255&Ce.charCodeAt(Mr)|(255&Ce.charCodeAt(++Mr))<<8|(255&Ce.charCodeAt(++Mr))<<16|(255&Ce.charCodeAt(++Mr))<<24,++Mr,er=27492+(65535&(fr=5*(65535&(er=(er^=cr=(65535&(cr=(cr=(65535&cr)*wr+(((cr>>>16)*wr&65535)<<16)&4294967295)<<15|cr>>>17))*Lr+(((cr>>>16)*Lr&65535)<<16)&4294967295)<<13|er>>>19))+((5*(er>>>16)&65535)<<16)&4294967295))+((58964+(fr>>>16)&65535)<<16);switch(cr=0,Ke){case 3:cr^=(255&Ce.charCodeAt(Mr+2))<<16;case 2:cr^=(255&Ce.charCodeAt(Mr+1))<<8;case 1:er^=cr=(65535&(cr=(cr=(65535&(cr^=255&Ce.charCodeAt(Mr)))*wr+(((cr>>>16)*wr&65535)<<16)&4294967295)<<15|cr>>>17))*Lr+(((cr>>>16)*Lr&65535)<<16)&4294967295}return er^=Ce.length,er=2246822507*(65535&(er^=er>>>16))+((2246822507*(er>>>16)&65535)<<16)&4294967295,er=3266489909*(65535&(er^=er>>>13))+((3266489909*(er>>>16)&65535)<<16)&4294967295,(er^=er>>>16)>>>0}),Zl.exports),de=(Hl||(Hl=1,ru.exports=function(Ce,De){for(var Ke,Ve=Ce.length,er=De^Ve,fr=0;Ve>=4;)Ke=1540483477*(65535&(Ke=255&Ce.charCodeAt(fr)|(255&Ce.charCodeAt(++fr))<<8|(255&Ce.charCodeAt(++fr))<<16|(255&Ce.charCodeAt(++fr))<<24))+((1540483477*(Ke>>>16)&65535)<<16),er=1540483477*(65535&er)+((1540483477*(er>>>16)&65535)<<16)^(Ke=1540483477*(65535&(Ke^=Ke>>>24))+((1540483477*(Ke>>>16)&65535)<<16)),Ve-=4,++fr;switch(Ve){case 3:er^=(255&Ce.charCodeAt(fr+2))<<16;case 2:er^=(255&Ce.charCodeAt(fr+1))<<8;case 1:er=1540483477*(65535&(er^=255&Ce.charCodeAt(fr)))+((1540483477*(er>>>16)&65535)<<16)}return er=1540483477*(65535&(er^=er>>>13))+((1540483477*(er>>>16)&65535)<<16),(er^=er>>>15)>>>0}),ru.exports);return Wl.exports=Pe,Wl.exports.murmur3=Pe,Wl.exports.murmur2=de,Wl.exports}(),qu=rr(_d);class Nc{constructor(de,...Ce){Wn(this,Ce[0]||{}),this.type=de}}class Xl extends Nc{constructor(de,Ce={}){super("error",Wn({error:de},Ce))}}function yd(Pe,de,Ce){Ce[Pe]&&Ce[Pe].indexOf(de)!==-1||(Ce[Pe]=Ce[Pe]||[],Ce[Pe].push(de))}function Mf(Pe,de,Ce){if(Ce&&Ce[Pe]){const De=Ce[Pe].indexOf(de);De!==-1&&Ce[Pe].splice(De,1)}}class Bh{on(de,Ce){return this._listeners=this._listeners||{},yd(de,Ce,this._listeners),this}off(de,Ce){return Mf(de,Ce,this._listeners),Mf(de,Ce,this._oneTimeListeners),this}once(de,Ce){return Ce?(this._oneTimeListeners=this._oneTimeListeners||{},yd(de,Ce,this._oneTimeListeners),this):new Promise(De=>this.once(de,De))}fire(de,Ce){const De=typeof de=="string"?new Nc(de,Ce):de,Ke=De.type;if(this.listens(Ke)){De.target=this;const Ve=this._listeners&&this._listeners[Ke]?this._listeners[Ke].slice():[];for(const wr of Ve)wr.call(this,De);const er=this._oneTimeListeners&&this._oneTimeListeners[Ke]?this._oneTimeListeners[Ke].slice():[];for(const wr of er)Mf(Ke,wr,this._oneTimeListeners),wr.call(this,De);const fr=this._eventedParent;fr&&(Wn(De,typeof this._eventedParentData=="function"?this._eventedParentData():this._eventedParentData),fr.fire(De))}else De instanceof Xl&&console.error(De.error);return this}listens(de){return!!(this._listeners&&this._listeners[de]&&this._listeners[de].length>0||this._oneTimeListeners&&this._oneTimeListeners[de]&&this._oneTimeListeners[de].length>0||this._eventedParent&&this._eventedParent.listens(de))}setEventedParent(de,Ce){return this._eventedParent=de,this._eventedParentData=Ce,this}}var Kl,bd={},xd=function(){if(Kl)return bd;Kl=1;var Pe={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function de(Ve){return(Ve=Math.round(Ve))<0?0:Ve>255?255:Ve}function Ce(Ve){return de(Ve[Ve.length-1]==="%"?parseFloat(Ve)/100*255:parseInt(Ve))}function De(Ve){return(er=Ve[Ve.length-1]==="%"?parseFloat(Ve)/100:parseFloat(Ve))<0?0:er>1?1:er;var er}function Ke(Ve,er,fr){return fr<0?fr+=1:fr>1&&(fr-=1),6*fr<1?Ve+(er-Ve)*fr*6:2*fr<1?er:3*fr<2?Ve+(er-Ve)*(2/3-fr)*6:Ve}try{bd.parseCSSColor=function(Ve){var er,fr=Ve.replace(/ /g,"").toLowerCase();if(fr in Pe)return Pe[fr].slice();if(fr[0]==="#")return fr.length===4?(er=parseInt(fr.substr(1),16))>=0&&er<=4095?[(3840&er)>>4|(3840&er)>>8,240&er|(240&er)>>4,15&er|(15&er)<<4,1]:null:fr.length===7&&(er=parseInt(fr.substr(1),16))>=0&&er<=16777215?[(16711680&er)>>16,(65280&er)>>8,255&er,1]:null;var wr=fr.indexOf("("),Lr=fr.indexOf(")");if(wr!==-1&&Lr+1===fr.length){var cr=fr.substr(0,wr),Mr=fr.substr(wr+1,Lr-(wr+1)).split(","),Er=1;switch(cr){case"rgba":if(Mr.length!==4)return null;Er=De(Mr.pop());case"rgb":return Mr.length!==3?null:[Ce(Mr[0]),Ce(Mr[1]),Ce(Mr[2]),Er];case"hsla":if(Mr.length!==4)return null;Er=De(Mr.pop());case"hsl":if(Mr.length!==3)return null;var xr=(parseFloat(Mr[0])%360+360)%360/360,Sr=De(Mr[1]),Ir=De(Mr[2]),jr=Ir<=.5?Ir*(Sr+1):Ir+Sr-Ir*Sr,Hr=2*Ir-jr;return[de(255*Ke(Hr,jr,xr+1/3)),de(255*Ke(Hr,jr,xr)),de(255*Ke(Hr,jr,xr-1/3)),Er];default:return null}}return null}}catch{}return bd}();class Ca{constructor(de,Ce,De,Ke=1){this.r=de,this.g=Ce,this.b=De,this.a=Ke}static parse(de){if(!de)return;if(de instanceof Ca)return de;if(typeof de!="string")return;const Ce=xd.parseCSSColor(de);return Ce?new Ca(Ce[0]/255*Ce[3],Ce[1]/255*Ce[3],Ce[2]/255*Ce[3],Ce[3]):void 0}toStringPremultipliedAlpha(){const[de,Ce,De,Ke]=this.a===0?[0,0,0,0]:[255*this.r/this.a,255*this.g/this.a,255*this.b/this.a,this.a];return`rgba(${Math.round(de)},${Math.round(Ce)},${Math.round(De)},${Ke})`}toString(){const[de,Ce,De,Ke]=[this.r,this.g,this.b,this.a];return`rgba(${Math.round(255*de)},${Math.round(255*Ce)},${Math.round(255*De)},${Ke})`}toRenderColor(de){const{r:Ce,g:De,b:Ke,a:Ve}=this;return new O0(de,Ce,De,Ke,Ve)}clone(){return new Ca(this.r,this.g,this.b,this.a)}}class O0{constructor(de,Ce,De,Ke,Ve){if(de){const er=de.image.height,fr=er*er;Ce=Ve===0?0:Ce/Ve*(er-1),De=Ve===0?0:De/Ve*(er-1),Ke=Ve===0?0:Ke/Ve*(er-1);const wr=Math.floor(Ce),Lr=Math.floor(De),cr=Math.floor(Ke),Mr=Math.ceil(Ce),Er=Math.ceil(De),xr=Math.ceil(Ke),Sr=Ce-wr,Ir=De-Lr,jr=Ke-cr,Hr=de.image.data,ri=4*(wr+Lr*fr+cr*er),ni=4*(wr+Lr*fr+xr*er),Qr=4*(wr+Er*fr+cr*er),ci=4*(wr+Er*fr+xr*er),yi=4*(Mr+Lr*fr+cr*er),Ei=4*(Mr+Lr*fr+xr*er),$i=4*(Mr+Er*fr+cr*er),Pi=4*(Mr+Er*fr+xr*er);if(ri<0||Pi>=Hr.length)throw new Error("out of range");this.r=Go(Go(Go(Hr[ri],Hr[ni],jr),Go(Hr[Qr],Hr[ci],jr),Ir),Go(Go(Hr[yi],Hr[Ei],jr),Go(Hr[$i],Hr[Pi],jr),Ir),Sr)/255*Ve,this.g=Go(Go(Go(Hr[ri+1],Hr[ni+1],jr),Go(Hr[Qr+1],Hr[ci+1],jr),Ir),Go(Go(Hr[yi+1],Hr[Ei+1],jr),Go(Hr[$i+1],Hr[Pi+1],jr),Ir),Sr)/255*Ve,this.b=Go(Go(Go(Hr[ri+2],Hr[ni+2],jr),Go(Hr[Qr+2],Hr[ci+2],jr),Ir),Go(Go(Hr[yi+2],Hr[Ei+2],jr),Go(Hr[$i+2],Hr[Pi+2],jr),Ir),Sr)/255*Ve,this.a=Ve}else this.r=Ce,this.g=De,this.b=Ke,this.a=Ve}toArray(){const{r:de,g:Ce,b:De,a:Ke}=this;return Ke===0?[0,0,0,0]:[255*de/Ke,255*Ce/Ke,255*De/Ke,Ke]}toHslaArray(){if(this.a===0)return[0,0,0,0];const{r:de,g:Ce,b:De,a:Ke}=this,Ve=Math.min(Math.max(de/Ke,0),1),er=Math.min(Math.max(Ce/Ke,0),1),fr=Math.min(Math.max(De/Ke,0),1),wr=Math.min(Ve,er,fr),Lr=Math.max(Ve,er,fr),cr=(wr+Lr)/2;if(wr===Lr)return[0,0,100*cr,Ke];const Mr=Lr-wr,Er=cr>.5?Mr/(2-Lr-wr):Mr/(Lr+wr);let xr=0;return Lr===Ve?xr=(er-fr)/Mr+(er<fr?6:0):Lr===er?xr=(fr-Ve)/Mr+2:Lr===fr&&(xr=(Ve-er)/Mr+4),xr*=60,[Math.min(Math.max(xr,0),360),Math.min(Math.max(100*Er,0),100),Math.min(Math.max(100*cr,0),100),Ke]}toArray01(){const{r:de,g:Ce,b:De,a:Ke}=this;return Ke===0?[0,0,0,0]:[de/Ke,Ce/Ke,De/Ke,Ke]}toArray01Scaled(de){const{r:Ce,g:De,b:Ke,a:Ve}=this;return Ve===0?[0,0,0]:[Ce/Ve*de,De/Ve*de,Ke/Ve*de]}toArray01PremultipliedAlpha(){const{r:de,g:Ce,b:De,a:Ke}=this;return[de,Ce,De,Ke]}toArray01Linear(){const{r:de,g:Ce,b:De,a:Ke}=this;return Ke===0?[0,0,0,0]:[Math.pow(de/Ke,2.2),Math.pow(Ce/Ke,2.2),Math.pow(De/Ke,2.2),Ke]}}function Go(Pe,de,Ce){return Pe*(1-Ce)+de*Ce}function Sp(Pe,de,Ce){return Pe.map((De,Ke)=>Go(De,de[Ke],Ce))}Ca.black=new Ca(0,0,0,1),Ca.white=new Ca(1,1,1,1),Ca.transparent=new Ca(0,0,0,0),Ca.red=new Ca(1,0,0,1),Ca.blue=new Ca(0,0,1,1);var xa=Object.freeze({__proto__:null,array:Sp,color:function(Pe,de,Ce){return new Ca(Go(Pe.r,de.r,Ce),Go(Pe.g,de.g,Ce),Go(Pe.b,de.b,Ce),Go(Pe.a,de.a,Ce))},number:Go});function Sf(Pe,...de){for(const Ce of de)for(const De in Ce)Pe[De]=Ce[De];return Pe}class hc extends Error{constructor(de,Ce){super(Ce),this.message=Ce,this.key=de}}class Ep{constructor(de,Ce=[]){this.parent=de,this.bindings={};for(const[De,Ke]of Ce)this.bindings[De]=Ke}concat(de){return new Ep(this,de)}get(de){if(this.bindings[de])return this.bindings[de];if(this.parent)return this.parent.get(de);throw new Error(`${de} not found in scope.`)}has(de){return!!this.bindings[de]||!!this.parent&&this.parent.has(de)}}const Ih={kind:"null"},Eo={kind:"number"},$a={kind:"string"},Ta={kind:"boolean"},Dl={kind:"color"},Gu={kind:"object"},va={kind:"value"},gs={kind:"collator"},es={kind:"formatted"},Hu={kind:"resolvedImage"};function dl(Pe,de){return{kind:"array",itemType:Pe,N:de}}function ts(Pe){if(Pe.kind==="array"){const de=ts(Pe.itemType);return typeof Pe.N=="number"?`array<${de}, ${Pe.N}>`:Pe.itemType.kind==="value"?"array":`array<${de}>`}return Pe.kind}const Im=[Ih,Eo,$a,Ta,Dl,es,Gu,dl(va),Hu];function wd(Pe,de){if(de.kind==="error")return null;if(Pe.kind==="array"){if(de.kind==="array"&&(de.N===0&&de.itemType.kind==="value"||!wd(Pe.itemType,de.itemType))&&(typeof Pe.N!="number"||Pe.N===de.N))return null}else{if(Pe.kind===de.kind)return null;if(Pe.kind==="value"){for(const Ce of Im)if(!wd(Ce,de))return null}}return`Expected ${ts(Pe)} but found ${ts(de)} instead.`}function Ef(Pe,de){return de.some(Ce=>Ce.kind===Pe.kind)}function Wu(Pe,de){return de.some(Ce=>Ce==="null"?Pe===null:Ce==="array"?Array.isArray(Pe):Ce==="object"?Pe&&!Array.isArray(Pe)&&typeof Pe=="object":Ce===typeof Pe)}class Cf{constructor(de,Ce,De){this.sensitivity=de?Ce?"variant":"case":Ce?"accent":"base",this.locale=De,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(de,Ce){return this.collator.compare(de,Ce)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class Ps{constructor(de,Ce,De,Ke,Ve){this.text=de.normalize?de.normalize():de,this.image=Ce,this.scale=De,this.fontStack=Ke,this.textColor=Ve}}class Ys{constructor(de){this.sections=de}static fromString(de){return new Ys([new Ps(de,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(de=>de.text.length!==0||de.image&&de.image.namePrimary)}static factory(de){return de instanceof Ys?de:Ys.fromString(de)}toString(){return this.sections.length===0?"":this.sections.map(de=>de.text).join("")}serialize(){const de=["format"];for(const Ce of this.sections){if(Ce.image){de.push(["image",Ce.image.namePrimary]);continue}de.push(Ce.text);const De={};Ce.fontStack&&(De["text-font"]=["literal",Ce.fontStack.split(",")]),Ce.scale&&(De["font-scale"]=Ce.scale),Ce.textColor&&(De["text-color"]=["rgba"].concat(Ce.textColor.toRenderColor(null).toArray())),de.push(De)}return de}}class yl{constructor(de,Ce){if(this.id=de,this.options=Ce||{params:{}},this.options.transform){const{a:De,b:Ke,c:Ve,d:er,e:fr,f:wr}=this.options.transform;this.options.transform=new DOMMatrix([De,Ke,Ve,er,fr,wr])}else this.options.transform=new DOMMatrix([1,0,0,1,0,0])}static deserializeId(de){return JSON.parse(de).id}static deserializeFromString(de){const Ce=JSON.parse(de),{a:De,b:Ke,c:Ve,d:er,e:fr,f:wr}=Ce.options.transform;return new DOMMatrix([De,Ke,Ve,er,fr,wr]),new yl(Ce.id,Ce.options)}scaleSelf(de){return this.options.transform=this.options.transform.scale(de),this}serialize(){const de={id:this.id};this.options&&(de.options=this.options);const{a:Ce,b:De,c:Ke,d:Ve,e:er,f:fr}=this.options.transform;return de.options.transform={a:Ce,b:De,c:Ke,d:Ve,e:er,f:fr},JSON.stringify(de)}}class $s{constructor(de){this.namePrimary=de.namePrimary,de.nameSecondary&&(this.nameSecondary=de.nameSecondary),de.optionsPrimary&&(this.optionsPrimary=de.optionsPrimary),de.optionsSecondary&&(this.optionsSecondary=de.optionsSecondary),this.available=de.available}toString(){return this.namePrimary&&this.nameSecondary?`[${this.namePrimary},${this.nameSecondary}]`:this.namePrimary}getPrimary(){return new yl(this.namePrimary,{params:this.optionsPrimary&&this.optionsPrimary.params||{}})}getSerializedPrimary(){return this.getPrimary().serialize()}getSecondary(){return this.nameSecondary?new yl(this.nameSecondary,{params:this.optionsSecondary&&this.optionsSecondary.params||{}}):null}static from(de){return typeof de=="string"?$s.build(de):de}static build(de,Ce,De,Ke){return de?new $s({namePrimary:de,nameSecondary:Ce,optionsPrimary:De,optionsSecondary:Ke,available:!1}):null}}function iu(Pe,de,Ce,De){return typeof Pe=="number"&&Pe>=0&&Pe<=255&&typeof de=="number"&&de>=0&&de<=255&&typeof Ce=="number"&&Ce>=0&&Ce<=255?De===void 0||typeof De=="number"&&De>=0&&De<=1?null:`Invalid rgba value [${[Pe,de,Ce,De].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof De=="number"?[Pe,de,Ce,De]:[Pe,de,Ce]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function ol(Pe){if(Pe===null||typeof Pe=="string"||typeof Pe=="boolean"||typeof Pe=="number"||Pe instanceof Ca||Pe instanceof Cf||Pe instanceof Ys||Pe instanceof $s)return!0;if(Array.isArray(Pe)){for(const de of Pe)if(!ol(de))return!1;return!0}if(typeof Pe=="object"){for(const de in Pe)if(!ol(Pe[de]))return!1;return!0}return!1}function ds(Pe){if(Pe===null)return Ih;if(typeof Pe=="string")return $a;if(typeof Pe=="boolean")return Ta;if(typeof Pe=="number")return Eo;if(Pe instanceof Ca)return Dl;if(Pe instanceof Cf)return gs;if(Pe instanceof Ys)return es;if(Pe instanceof $s)return Hu;if(Array.isArray(Pe)){const de=Pe.length;let Ce;for(const De of Pe){const Ke=ds(De);if(Ce){if(Ce===Ke)continue;Ce=va;break}Ce=Ke}return dl(Ce||va,de)}return Gu}function dc(Pe){const de=typeof Pe;return Pe===null?"":de==="string"||de==="number"||de==="boolean"?String(Pe):Pe instanceof Ca?Pe.toStringPremultipliedAlpha():Pe instanceof Ys||Pe instanceof $s?Pe.toString():JSON.stringify(Pe)}class Yl{constructor(de,Ce){this.type=de,this.value=Ce}static parse(de,Ce){if(de.length!==2)return Ce.error(`'literal' expression requires exactly one argument, but found ${de.length-1} instead.`);if(!ol(de[1]))return Ce.error("invalid value");const De=de[1];let Ke=ds(De);const Ve=Ce.expectedType;return Ke.kind!=="array"||Ke.N!==0||!Ve||Ve.kind!=="array"||typeof Ve.N=="number"&&Ve.N!==0||(Ke=Ve),new Yl(Ke,De)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return this.type.kind==="array"||this.type.kind==="object"?["literal",this.value]:this.value instanceof Ca?["rgba"].concat(this.value.toRenderColor(null).toArray()):this.value instanceof Ys?this.value.serialize():this.value}}class Ts{constructor(de){this.name="ExpressionEvaluationError",this.message=de}toJSON(){return this.message}}const Rh={string:$a,number:Eo,boolean:Ta,object:Gu};class Jl{constructor(de,Ce){this.type=de,this.args=Ce}static parse(de,Ce){if(de.length<2)return Ce.error("Expected at least one argument.");let De,Ke=1;const Ve=de[0];if(Ve==="array"){let fr,wr;if(de.length>2){const Lr=de[1];if(typeof Lr!="string"||!(Lr in Rh)||Lr==="object")return Ce.error('The item type argument of "array" must be one of string, number, boolean',1);fr=Rh[Lr],Ke++}else fr=va;if(de.length>3){if(de[2]!==null&&(typeof de[2]!="number"||de[2]<0||de[2]!==Math.floor(de[2])))return Ce.error('The length argument to "array" must be a positive integer literal',2);wr=de[2],Ke++}De=dl(fr,wr)}else De=Rh[Ve];const er=[];for(;Ke<de.length;Ke++){const fr=Ce.parse(de[Ke],Ke,va);if(!fr)return null;er.push(fr)}return new Jl(De,er)}evaluate(de){for(let Ce=0;Ce<this.args.length;Ce++){const De=this.args[Ce].evaluate(de);if(!wd(this.type,ds(De)))return De;if(Ce===this.args.length-1)throw new Ts(`The expression ${JSON.stringify(this.args[Ce].serialize())} evaluated to ${ts(ds(De))} but was expected to be of type ${ts(this.type)}.`)}return null}eachChild(de){this.args.forEach(de)}outputDefined(){return this.args.every(de=>de.outputDefined())}serialize(){const de=this.type,Ce=[de.kind];if(de.kind==="array"){const De=de.itemType;if(De.kind==="string"||De.kind==="number"||De.kind==="boolean"){Ce.push(De.kind);const Ke=de.N;(typeof Ke=="number"||this.args.length>1)&&Ce.push(Ke)}}return Ce.concat(this.args.map(De=>De.serialize()))}}class Ds{constructor(de){this.type=es,this.sections=de}static parse(de,Ce){if(de.length<2)return Ce.error("Expected at least one argument.");const De=de[1];if(!Array.isArray(De)&&typeof De=="object")return Ce.error("First argument must be an image or text section.");const Ke=[];let Ve=!1;for(let er=1;er<=de.length-1;++er){const fr=de[er];if(Ve&&typeof fr=="object"&&!Array.isArray(fr)){Ve=!1;let wr=null;if(fr["font-scale"]&&(wr=Ce.parseObjectValue(fr["font-scale"],er,"font-scale",Eo),!wr))return null;let Lr=null;if(fr["text-font"]&&(Lr=Ce.parseObjectValue(fr["text-font"],er,"text-font",dl($a)),!Lr))return null;let cr=null;if(fr["text-color"]&&(cr=Ce.parseObjectValue(fr["text-color"],er,"text-color",Dl),!cr))return null;const Mr=Ke[Ke.length-1];Mr.scale=wr,Mr.font=Lr,Mr.textColor=cr}else{const wr=Ce.parse(de[er],er,va);if(!wr)return null;const Lr=wr.type.kind;if(Lr!=="string"&&Lr!=="value"&&Lr!=="null"&&Lr!=="resolvedImage")return Ce.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ve=!0,Ke.push({content:wr,scale:null,font:null,textColor:null})}}return new Ds(Ke)}evaluate(de){return new Ys(this.sections.map(Ce=>{const De=Ce.content.evaluate(de);return ds(De)===Hu?new Ps("",De,null,null,null):new Ps(dc(De),null,Ce.scale?Ce.scale.evaluate(de):null,Ce.font?Ce.font.evaluate(de).join(","):null,Ce.textColor?Ce.textColor.evaluate(de):null)}))}eachChild(de){for(const Ce of this.sections)de(Ce.content),Ce.scale&&de(Ce.scale),Ce.font&&de(Ce.font),Ce.textColor&&de(Ce.textColor)}outputDefined(){return!1}serialize(){const de=["format"];for(const Ce of this.sections){de.push(Ce.content.serialize());const De={};Ce.scale&&(De["font-scale"]=Ce.scale.serialize()),Ce.font&&(De["text-font"]=Ce.font.serialize()),Ce.textColor&&(De["text-color"]=Ce.textColor.serialize()),de.push(De)}return de}}class Ph{constructor(de,Ce,De,Ke){this._imageWarnHistory={},this.type=Hu,this.inputPrimary=de,this.inputSecondary=Ce,this.inputPrimaryParams=De,this.inputSecondaryParams=Ke}static parse(de,Ce){if(de.length<2)return Ce.error("Expected two or more arguments.");let De=1;const Ke=[];function Ve(){if(De<de.length){const fr=Ce.parse(de[De],De++,$a);return fr?(Ke.push({image:fr,options:void 0}),!0):(Ce.error(Ke.length?"Secondary image variant is not a string.":"No image name provided."),!1)}return!0}function er(){if(De<de.length){if((fr=de[De])===null||typeof fr!="object"||Array.isArray(fr))return!0;const wr=de[De].params,Lr=Ce.concat(De);if(!wr)return De++,!0;if(typeof wr!="object"||wr.constructor!==Object)return Lr.error('Image options "params" should be an object'),!1;const cr={},Mr=Lr.concat(void 0,"params");for(const Er in wr){if(!Er)return Mr.error("Image parameter name should be non-empty"),!1;const xr=Mr.concat(void 0,Er).parse(wr[Er],void 0,Dl,void 0,{typeAnnotation:"coerce"});if(!xr)return!1;cr[Er]=xr}return Ke[Ke.length-1].options=cr,De++,!0}var fr;return!0}for(let fr=0;fr<2;fr++)if(!Ve()||!er())return;return new Ph(Ke[0].image,Ke[1]?Ke[1].image:void 0,Ke[0].options,Ke[1]?Ke[1].options:void 0)}evaluateParams(de,Ce){const De={};if(Ce){for(const Ke in Ce)if(Ce[Ke])try{const Ve=Ce[Ke].evaluate(de),er=`Ignoring image parameter "${Ke}" with semi-transparent color ${Ve.toString()}`;if(Ve.a!==1){this._imageWarnHistory[er]||(console.warn(er),this._imageWarnHistory[er]=!0);continue}De[Ke]=Ve}catch{continue}if(Object.keys(De).length!==0)return{params:De}}}evaluate(de){const Ce=$s.build(this.inputPrimary.evaluate(de),this.inputSecondary?this.inputSecondary.evaluate(de):void 0,this.inputPrimaryParams?this.evaluateParams(de,this.inputPrimaryParams):void 0,this.inputSecondaryParams?this.evaluateParams(de,this.inputSecondaryParams):void 0);return Ce&&de.availableImages&&(Ce.available=de.availableImages.indexOf(Ce.namePrimary)>-1,Ce.nameSecondary&&Ce.available&&de.availableImages&&(Ce.available=de.availableImages.indexOf(Ce.nameSecondary)>-1)),Ce}eachChild(de){if(de(this.inputPrimary),this.inputPrimaryParams)for(const Ce in this.inputPrimaryParams)this.inputPrimaryParams[Ce]&&de(this.inputPrimaryParams[Ce]);if(this.inputSecondary&&(de(this.inputSecondary),this.inputSecondaryParams))for(const Ce in this.inputSecondaryParams)this.inputSecondaryParams[Ce]&&de(this.inputSecondaryParams[Ce])}outputDefined(){return!1}serializeParams(de){const Ce={};if(de){for(const De in de)de[De]&&(Ce[De]=de[De].serialize());return{params:Ce}}}serialize(){const de=["image",this.inputPrimary.serialize()];return this.inputPrimaryParams&&de.push(this.serializeParams(this.inputPrimaryParams)),this.inputSecondary&&(de.push(this.inputSecondary.serialize()),this.inputSecondaryParams&&de.push(this.serializeParams(this.inputSecondaryParams))),de}}function al(Pe){return Pe instanceof Number?"number":Pe instanceof String?"string":Pe instanceof Boolean?"boolean":Array.isArray(Pe)?"array":Pe===null?"null":typeof Pe}const z0={"to-boolean":Ta,"to-color":Dl,"to-number":Eo,"to-string":$a};class Vc{constructor(de,Ce){this.type=de,this.args=Ce}static parse(de,Ce){if(de.length<2)return Ce.error("Expected at least one argument.");const De=de[0],Ke=[];let Ve=Ih;if(De==="to-array"){if(!Array.isArray(de[1]))return null;const er=de[1].length;if(Ce.expectedType){if(Ce.expectedType.kind!=="array")return Ce.error(`Expected ${Ce.expectedType.kind} but found array.`);Ve=dl(Ce.expectedType.itemType,er)}else{if(!(er>0&&ol(de[1][0])))return null;Ve=dl(ds(de[1][0]),er)}for(let fr=0;fr<er;fr++){const wr=de[1][fr];let Lr;if(al(wr)==="array")Lr=Ce.parse(wr,void 0,Ve.itemType);else{const cr=al(wr);if(cr!==Ve.itemType.kind)return Ce.error(`Expected ${Ve.itemType.kind} but found ${cr}.`);Lr=Ce.registry.literal.parse(["literal",wr===void 0?null:wr],Ce)}if(!Lr)return null;Ke.push(Lr)}}else{if((De==="to-boolean"||De==="to-string")&&de.length!==2)return Ce.error("Expected one argument.");Ve=z0[De];for(let er=1;er<de.length;er++){const fr=Ce.parse(de[er],er,va);if(!fr)return null;Ke.push(fr)}}return new Vc(Ve,Ke)}evaluate(de){if(this.type.kind==="boolean")return Boolean(this.args[0].evaluate(de));if(this.type.kind==="color"){let Ce,De;for(const Ke of this.args){if(Ce=Ke.evaluate(de),De=null,Ce instanceof Ca)return Ce;if(typeof Ce=="string"){const Ve=de.parseColor(Ce);if(Ve)return Ve}else if(Array.isArray(Ce)&&(De=Ce.length<3||Ce.length>4?`Invalid rbga value ${JSON.stringify(Ce)}: expected an array containing either three or four numeric values.`:iu(Ce[0],Ce[1],Ce[2],Ce[3]),!De))return new Ca(Ce[0]/255,Ce[1]/255,Ce[2]/255,Ce[3])}throw new Ts(De||`Could not parse color from value '${typeof Ce=="string"?Ce:String(JSON.stringify(Ce))}'`)}if(this.type.kind==="number"){let Ce=null;for(const De of this.args){if(Ce=De.evaluate(de),Ce===null)return 0;const Ke=Number(Ce);if(!isNaN(Ke))return Ke}throw new Ts(`Could not convert ${JSON.stringify(Ce)} to number.`)}return this.type.kind==="formatted"?Ys.fromString(dc(this.args[0].evaluate(de))):this.type.kind==="resolvedImage"?$s.build(dc(this.args[0].evaluate(de))):this.type.kind==="array"?this.args.map(Ce=>Ce.evaluate(de)):dc(this.args[0].evaluate(de))}eachChild(de){this.args.forEach(de)}outputDefined(){return this.args.every(de=>de.outputDefined())}serialize(){if(this.type.kind==="formatted")return new Ds([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if(this.type.kind==="resolvedImage")return new Ph(this.args[0]).serialize();const de=this.type.kind==="array"?[]:[`to-${this.type.kind}`];return this.eachChild(Ce=>{de.push(Ce.serialize())}),de}}const nu=["Unknown","Point","LineString","Polygon"];class Zu{constructor(de,Ce){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null,this.featureTileCoord=null,this.featureDistanceData=null,this.scope=de,this.options=Ce}id(){return this.feature&&this.feature.id!==void 0?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type=="number"?nu[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}measureLight(de){return this.globals.brightness||0}distanceFromCenter(){if(this.featureTileCoord&&this.featureDistanceData){const de=this.featureDistanceData.center,Ce=this.featureDistanceData.scale,{x:De,y:Ke}=this.featureTileCoord;return this.featureDistanceData.bearing[0]*(De*Ce-de[0])+this.featureDistanceData.bearing[1]*(Ke*Ce-de[1])}return 0}parseColor(de){let Ce=this._parseColorCache[de];return Ce||(Ce=this._parseColorCache[de]=Ca.parse(de)),Ce}getConfig(de){return this.options?this.options.get(de):null}}class bl{constructor(de,Ce,De,Ke,Ve){this.name=de,this.type=Ce,this._evaluate=De,this.args=Ke,this._overloadIndex=Ve}evaluate(de){if(!this._evaluate){const Ce=bl.definitions[this.name];this._evaluate=Array.isArray(Ce)?Ce[2]:Ce.overloads[this._overloadIndex][1]}return this._evaluate(de,this.args)}eachChild(de){this.args.forEach(de)}outputDefined(){return!1}serialize(){return[this.name].concat(this.args.map(de=>de.serialize()))}static parse(de,Ce){const De=de[0],Ke=bl.definitions[De];if(!Ke)return Ce.error(`Unknown expression "${De}". If you wanted a literal array, use ["literal", [...]].`,0);const Ve=Array.isArray(Ke)?Ke[0]:Ke.type,er=Array.isArray(Ke)?[[Ke[1],Ke[2]]]:Ke.overloads,fr=[];let wr=null,Lr=-1;for(const[cr,Mr]of er){if(Array.isArray(cr)&&cr.length!==de.length-1)continue;fr.push(cr),Lr++,wr=new Ip(Ce.registry,Ce.path,null,Ce.scope,void 0,Ce._scope,Ce.options);const Er=[];let xr=!1;for(let Sr=1;Sr<de.length;Sr++){const Ir=de[Sr],jr=Array.isArray(cr)?cr[Sr-1]:cr.type,Hr=wr.parse(Ir,1+Er.length,jr);if(!Hr){xr=!0;break}Er.push(Hr)}if(!xr)if(Array.isArray(cr)&&cr.length!==Er.length)wr.error(`Expected ${cr.length} arguments, but found ${Er.length} instead.`);else{for(let Sr=0;Sr<Er.length;Sr++){const Ir=Array.isArray(cr)?cr[Sr]:cr.type,jr=Er[Sr];wr.concat(Sr+1).checkSubtype(Ir,jr.type)}if(wr.errors.length===0)return new bl(De,Ve,Mr,Er,Lr)}}if(fr.length===1)Ce.errors.push(...wr.errors);else{const cr=(fr.length?fr:er.map(([Er])=>Er)).map(Ms).join(" | "),Mr=[];for(let Er=1;Er<de.length;Er++){const xr=Ce.parse(de[Er],1+Mr.length);if(!xr)return null;Mr.push(ts(xr.type))}Ce.error(`Expected arguments of type ${cr}, but found (${Mr.join(", ")}) instead.`)}return null}static register(de,Ce){bl.definitions=Ce;for(const De in Ce)de[De]=bl}}function Ms(Pe){return Array.isArray(Pe)?`(${Pe.map(ts).join(", ")})`:`(${ts(Pe.type)}...)`}class Sc{constructor(de,Ce,De){this.type=gs,this.locale=De,this.caseSensitive=de,this.diacriticSensitive=Ce}static parse(de,Ce){if(de.length!==2)return Ce.error("Expected one argument.");const De=de[1];if(typeof De!="object"||Array.isArray(De))return Ce.error("Collator options argument must be an object.");const Ke=De["case-sensitive"]===void 0?Ce.parse(!1,1,Ta):Ce.parseObjectValue(De["case-sensitive"],1,"case-sensitive",Ta);if(!Ke)return null;const Ve=De["diacritic-sensitive"]===void 0?Ce.parse(!1,1,Ta):Ce.parseObjectValue(De["diacritic-sensitive"],1,"diacritic-sensitive",Ta);if(!Ve)return null;let er=null;return De.locale&&(er=Ce.parseObjectValue(De.locale,1,"locale",$a),!er)?null:new Sc(Ke,Ve,er)}evaluate(de){return new Cf(this.caseSensitive.evaluate(de),this.diacriticSensitive.evaluate(de),this.locale?this.locale.evaluate(de):null)}eachChild(de){de(this.caseSensitive),de(this.diacriticSensitive),this.locale&&de(this.locale)}outputDefined(){return!1}serialize(){const de={};return de["case-sensitive"]=this.caseSensitive.serialize(),de["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(de.locale=this.locale.serialize()),["collator",de]}}function Tf(Pe,de,Ce=0,De=Pe.length-1,Ke=Cp){for(;De>Ce;){if(De-Ce>600){const wr=De-Ce+1,Lr=de-Ce+1,cr=Math.log(wr),Mr=.5*Math.exp(2*cr/3),Er=.5*Math.sqrt(cr*Mr*(wr-Mr)/wr)*(Lr-wr/2<0?-1:1);Tf(Pe,de,Math.max(Ce,Math.floor(de-Lr*Mr/wr+Er)),Math.min(De,Math.floor(de+(wr-Lr)*Mr/wr+Er)),Ke)}const Ve=Pe[de];let er=Ce,fr=De;for(Md(Pe,Ce,de),Ke(Pe[De],Ve)>0&&Md(Pe,Ce,De);er<fr;){for(Md(Pe,er,fr),er++,fr--;Ke(Pe[er],Ve)<0;)er++;for(;Ke(Pe[fr],Ve)>0;)fr--}Ke(Pe[Ce],Ve)===0?Md(Pe,Ce,fr):(fr++,Md(Pe,fr,De)),fr<=de&&(Ce=fr+1),de<=fr&&(De=fr-1)}}function Md(Pe,de,Ce){const De=Pe[de];Pe[de]=Pe[Ce],Pe[Ce]=De}function Cp(Pe,de){return Pe<de?-1:Pe>de?1:0}function F0(Pe){let de=0;for(let Ce,De,Ke=0,Ve=Pe.length,er=Ve-1;Ke<Ve;er=Ke++)Ce=Pe[Ke],De=Pe[er],de+=(De.x-Ce.x)*(Ce.y+De.y);return de}function Sd(Pe,de){Pe[0]=Math.min(Pe[0],de[0]),Pe[1]=Math.min(Pe[1],de[1]),Pe[2]=Math.max(Pe[2],de[0]),Pe[3]=Math.max(Pe[3],de[1])}function Ed(Pe,de){return!(Pe[0]<=de[0]||Pe[2]>=de[2]||Pe[1]<=de[1]||Pe[3]>=de[3])}function Tp(Pe,de,Ce){const De=Pe[0]-de[0],Ke=Pe[1]-de[1],Ve=Pe[0]-Ce[0],er=Pe[1]-Ce[1];return De*er-Ve*Ke==0&&De*Ve<=0&&Ke*er<=0}function Ol(Pe,de,Ce=!1){let De=!1;for(let fr=0,wr=de.length;fr<wr;fr++){const Lr=de[fr];for(let cr=0,Mr=Lr.length,Er=Mr-1;cr<Mr;Er=cr++){const xr=Lr[Er],Sr=Lr[cr];if(Tp(Pe,xr,Sr))return Ce;(Ve=xr)[1]>(Ke=Pe)[1]!=(er=Sr)[1]>Ke[1]&&Ke[0]<(er[0]-Ve[0])*(Ke[1]-Ve[1])/(er[1]-Ve[1])+Ve[0]&&(De=!De)}}var Ke,Ve,er;return De}function Xu(Pe,de,Ce,De){const Ke=De[0]-Ce[0],Ve=De[1]-Ce[1],er=(Pe[0]-Ce[0])*Ve-Ke*(Pe[1]-Ce[1]),fr=(de[0]-Ce[0])*Ve-Ke*(de[1]-Ce[1]);return er>0&&fr<0||er<0&&fr>0}function Af(Pe,de,Ce,De){return(Ke=[De[0]-Ce[0],De[1]-Ce[1]])[0]*(Ve=[de[0]-Pe[0],de[1]-Pe[1]])[1]-Ke[1]*Ve[0]!=0&&!(!Xu(Pe,de,Ce,De)||!Xu(Ce,De,Pe,de));var Ke,Ve}const Ec=8192;function Rm(Pe,de){const Ce=(180+Pe[0])/360,De=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+Pe[1]*Math.PI/360)))/360,Ke=Math.pow(2,de.z);return[Math.round(Ce*Ke*Ec),Math.round(De*Ke*Ec)]}function Ap(Pe,de){for(let Ce=0;Ce<de.length;Ce++)if(Ol(Pe,de[Ce]))return!0;return!1}function kp(Pe,de,Ce){for(const De of Ce)for(let Ke=0,Ve=De.length,er=Ve-1;Ke<Ve;er=Ke++)if(Af(Pe,de,De[er],De[Ke]))return!0;return!1}function Lp(Pe,de){for(let Ce=0;Ce<Pe.length;++Ce)if(!Ol(Pe[Ce],de))return!1;for(let Ce=0;Ce<Pe.length-1;++Ce)if(kp(Pe[Ce],Pe[Ce+1],de))return!1;return!0}function $h(Pe,de){for(let Ce=0;Ce<de.length;Ce++)if(Lp(Pe,de[Ce]))return!0;return!1}function oa(Pe,de,Ce){const De=[];for(let Ke=0;Ke<Pe.length;Ke++){const Ve=[];for(let er=0;er<Pe[Ke].length;er++){const fr=Rm(Pe[Ke][er],Ce);Sd(de,fr),Ve.push(fr)}De.push(Ve)}return De}function Po(Pe,de,Ce){const De=[];for(let Ke=0;Ke<Pe.length;Ke++){const Ve=oa(Pe[Ke],de,Ce);De.push(Ve)}return De}function kf(Pe,de,Ce,De){if(Pe[0]<Ce[0]||Pe[0]>Ce[2]){const Ke=.5*De;let Ve=Pe[0]-Ce[0]>Ke?-De:Ce[0]-Pe[0]>Ke?De:0;Ve===0&&(Ve=Pe[0]-Ce[2]>Ke?-De:Ce[2]-Pe[0]>Ke?De:0),Pe[0]+=Ve}Sd(de,Pe)}function Qo(Pe,de,Ce,De){const Ke=Math.pow(2,De.z)*Ec,Ve=[De.x*Ec,De.y*Ec],er=[];if(!Pe)return er;for(const fr of Pe)for(const wr of fr){const Lr=[wr.x+Ve[0],wr.y+Ve[1]];kf(Lr,de,Ce,Ke),er.push(Lr)}return er}function xl(Pe,de,Ce,De){const Ke=Math.pow(2,De.z)*Ec,Ve=[De.x*Ec,De.y*Ec],er=[];if(!Pe)return er;for(const wr of Pe){const Lr=[];for(const cr of wr){const Mr=[cr.x+Ve[0],cr.y+Ve[1]];Sd(de,Mr),Lr.push(Mr)}er.push(Lr)}if(de[2]-de[0]<=Ke/2){(fr=de)[0]=fr[1]=1/0,fr[2]=fr[3]=-1/0;for(const wr of er)for(const Lr of wr)kf(Lr,de,Ce,Ke)}var fr;return er}class Cc{constructor(de,Ce){this.type=Ta,this.geojson=de,this.geometries=Ce}static parse(de,Ce){if(de.length!==2)return Ce.error(`'within' expression requires exactly one argument, but found ${de.length-1} instead.`);if(ol(de[1])){const De=de[1];if(De.type==="FeatureCollection")for(let Ke=0;Ke<De.features.length;++Ke){const Ve=De.features[Ke].geometry.type;if(Ve==="Polygon"||Ve==="MultiPolygon")return new Cc(De,De.features[Ke].geometry)}else if(De.type==="Feature"){const Ke=De.geometry.type;if(Ke==="Polygon"||Ke==="MultiPolygon")return new Cc(De,De.geometry)}else if(De.type==="Polygon"||De.type==="MultiPolygon")return new Cc(De,De)}return Ce.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(de){if(de.geometry()!=null&&de.canonicalID()!=null){if(de.geometryType()==="Point")return function(Ce,De){const Ke=[1/0,1/0,-1/0,-1/0],Ve=[1/0,1/0,-1/0,-1/0],er=Ce.canonicalID();if(!er)return!1;if(De.type==="Polygon"){const fr=oa(De.coordinates,Ve,er),wr=Qo(Ce.geometry(),Ke,Ve,er);if(!Ed(Ke,Ve))return!1;for(const Lr of wr)if(!Ol(Lr,fr))return!1}if(De.type==="MultiPolygon"){const fr=Po(De.coordinates,Ve,er),wr=Qo(Ce.geometry(),Ke,Ve,er);if(!Ed(Ke,Ve))return!1;for(const Lr of wr)if(!Ap(Lr,fr))return!1}return!0}(de,this.geometries);if(de.geometryType()==="LineString")return function(Ce,De){const Ke=[1/0,1/0,-1/0,-1/0],Ve=[1/0,1/0,-1/0,-1/0],er=Ce.canonicalID();if(!er)return!1;if(De.type==="Polygon"){const fr=oa(De.coordinates,Ve,er),wr=xl(Ce.geometry(),Ke,Ve,er);if(!Ed(Ke,Ve))return!1;for(const Lr of wr)if(!Lp(Lr,fr))return!1}if(De.type==="MultiPolygon"){const fr=Po(De.coordinates,Ve,er),wr=xl(Ce.geometry(),Ke,Ve,er);if(!Ed(Ke,Ve))return!1;for(const Lr of wr)if(!$h(Lr,fr))return!1}return!0}(de,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}serialize(){return["within",this.geojson]}}const Vo={kilometers:1,miles:1e3/1609.344,nauticalmiles:1e3/1852,meters:1e3,metres:1e3,yards:1e3/.9144,feet:1e3/.3048,inches:1e3/.0254},Lf=1/298.257223563,Cd=Lf*(2-Lf),Dh=Math.PI/180;class Oh{static fromTile(de,Ce,De){const Ke=Math.PI*(1-2*(de+.5)/Math.pow(2,Ce)),Ve=Math.atan(.5*(Math.exp(Ke)-Math.exp(-Ke)))/Dh;return new Oh(Ve,De)}static get units(){return Vo}constructor(de,Ce){if(de===void 0)throw new Error("No latitude given.");if(Ce&&!Vo[Ce])throw new Error(`Unknown unit ${Ce}. Use one of: ${Object.keys(Vo).join(", ")}`);const De=6378.137*Dh*(Ce?Vo[Ce]:1),Ke=Math.cos(de*Dh),Ve=1/(1-Cd*(1-Ke*Ke)),er=Math.sqrt(Ve);this.kx=De*er*Ke,this.ky=De*er*Ve*(1-Cd)}distance(de,Ce){const De=Fl(de[0]-Ce[0])*this.kx,Ke=(de[1]-Ce[1])*this.ky;return Math.sqrt(De*De+Ke*Ke)}bearing(de,Ce){const De=Fl(Ce[0]-de[0])*this.kx;return Math.atan2(De,(Ce[1]-de[1])*this.ky)/Dh}destination(de,Ce,De){const Ke=De*Dh;return this.offset(de,Math.sin(Ke)*Ce,Math.cos(Ke)*Ce)}offset(de,Ce,De){return[de[0]+Ce/this.kx,de[1]+De/this.ky]}lineDistance(de){let Ce=0;for(let De=0;De<de.length-1;De++)Ce+=this.distance(de[De],de[De+1]);return Ce}area(de){let Ce=0;for(let De=0;De<de.length;De++){const Ke=de[De];for(let Ve=0,er=Ke.length,fr=er-1;Ve<er;fr=Ve++)Ce+=Fl(Ke[Ve][0]-Ke[fr][0])*(Ke[Ve][1]+Ke[fr][1])*(De?-1:1)}return Math.abs(Ce)/2*this.kx*this.ky}along(de,Ce){let De=0;if(Ce<=0)return de[0];for(let Ke=0;Ke<de.length-1;Ke++){const Ve=de[Ke],er=de[Ke+1],fr=this.distance(Ve,er);if(De+=fr,De>Ce)return ll(Ve,er,(Ce-(De-fr))/fr)}return de[de.length-1]}pointToSegmentDistance(de,Ce,De){let[Ke,Ve]=Ce,er=Fl(De[0]-Ke)*this.kx,fr=(De[1]-Ve)*this.ky;if(er!==0||fr!==0){const wr=(Fl(de[0]-Ke)*this.kx*er+(de[1]-Ve)*this.ky*fr)/(er*er+fr*fr);wr>1?(Ke=De[0],Ve=De[1]):wr>0&&(Ke+=er/this.kx*wr,Ve+=fr/this.ky*wr)}return er=Fl(de[0]-Ke)*this.kx,fr=(de[1]-Ve)*this.ky,Math.sqrt(er*er+fr*fr)}pointOnLine(de,Ce){let De=1/0,Ke=de[0][0],Ve=de[0][1],er=0,fr=0;for(let wr=0;wr<de.length-1;wr++){let Lr=de[wr][0],cr=de[wr][1],Mr=Fl(de[wr+1][0]-Lr)*this.kx,Er=(de[wr+1][1]-cr)*this.ky,xr=0;Mr===0&&Er===0||(xr=(Fl(Ce[0]-Lr)*this.kx*Mr+(Ce[1]-cr)*this.ky*Er)/(Mr*Mr+Er*Er),xr>1?(Lr=de[wr+1][0],cr=de[wr+1][1]):xr>0&&(Lr+=Mr/this.kx*xr,cr+=Er/this.ky*xr)),Mr=Fl(Ce[0]-Lr)*this.kx,Er=(Ce[1]-cr)*this.ky;const Sr=Mr*Mr+Er*Er;Sr<De&&(De=Sr,Ke=Lr,Ve=cr,er=wr,fr=xr)}return{point:[Ke,Ve],index:er,t:Math.max(0,Math.min(1,fr))}}lineSlice(de,Ce,De){let Ke=this.pointOnLine(De,de),Ve=this.pointOnLine(De,Ce);if(Ke.index>Ve.index||Ke.index===Ve.index&&Ke.t>Ve.t){const Lr=Ke;Ke=Ve,Ve=Lr}const er=[Ke.point],fr=Ke.index+1,wr=Ve.index;!Td(De[fr],er[0])&&fr<=wr&&er.push(De[fr]);for(let Lr=fr+1;Lr<=wr;Lr++)er.push(De[Lr]);return Td(De[wr],Ve.point)||er.push(Ve.point),er}lineSliceAlong(de,Ce,De){let Ke=0;const Ve=[];for(let er=0;er<De.length-1;er++){const fr=De[er],wr=De[er+1],Lr=this.distance(fr,wr);if(Ke+=Lr,Ke>de&&Ve.length===0&&Ve.push(ll(fr,wr,(de-(Ke-Lr))/Lr)),Ke>=Ce)return Ve.push(ll(fr,wr,(Ce-(Ke-Lr))/Lr)),Ve;Ke>de&&Ve.push(wr)}return Ve}bufferPoint(de,Ce){const De=Ce/this.ky,Ke=Ce/this.kx;return[de[0]-Ke,de[1]-De,de[0]+Ke,de[1]+De]}bufferBBox(de,Ce){const De=Ce/this.ky,Ke=Ce/this.kx;return[de[0]-Ke,de[1]-De,de[2]+Ke,de[3]+De]}insideBBox(de,Ce){return Fl(de[0]-Ce[0])>=0&&Fl(de[0]-Ce[2])<=0&&de[1]>=Ce[1]&&de[1]<=Ce[3]}}function Td(Pe,de){return Pe[0]===de[0]&&Pe[1]===de[1]}function ll(Pe,de,Ce){const De=Fl(de[0]-Pe[0]);return[Pe[0]+De*Ce,Pe[1]+(de[1]-Pe[1])*Ce]}function Fl(Pe){for(;Pe<-180;)Pe+=360;for(;Pe>180;)Pe-=360;return Pe}class ou{constructor(de=[],Ce=(De,Ke)=>De<Ke?-1:De>Ke?1:0){if(this.data=de,this.length=this.data.length,this.compare=Ce,this.length>0)for(let De=(this.length>>1)-1;De>=0;De--)this._down(De)}push(de){this.data.push(de),this._up(this.length++)}pop(){if(this.length===0)return;const de=this.data[0],Ce=this.data.pop();return--this.length>0&&(this.data[0]=Ce,this._down(0)),de}peek(){return this.data[0]}_up(de){const{data:Ce,compare:De}=this,Ke=Ce[de];for(;de>0;){const Ve=de-1>>1,er=Ce[Ve];if(De(Ke,er)>=0)break;Ce[de]=er,de=Ve}Ce[de]=Ke}_down(de){const{data:Ce,compare:De}=this,Ke=this.length>>1,Ve=Ce[de];for(;de<Ke;){let er=1+(de<<1);const fr=er+1;if(fr<this.length&&De(Ce[fr],Ce[er])<0&&(er=fr),De(Ce[er],Ve)>=0)break;Ce[de]=Ce[er],de=er}Ce[de]=Ve}}var mo=8192;function Bf(Pe,de){return de.dist-Pe.dist}const Tc=100,Js=50;function au(Pe){const de=[1/0,1/0,-1/0,-1/0];if(de.length!==Pe.length)return!1;for(let Ce=0;Ce<de.length;Ce++)if(de[Ce]!==Pe[Ce])return!1;return!0}function Ku(Pe){return Pe[1]-Pe[0]+1}function su(Pe,de){const Ce=Pe[1]>=Pe[0]&&Pe[1]<de;return Ce||console.warn("Distance Expression: Index is out of range"),Ce}function zh(Pe,de){if(Pe[0]>Pe[1])return[null,null];const Ce=Ku(Pe);if(de){if(Ce===2)return[Pe,null];const De=Math.floor(Ce/2);return[[Pe[0],Pe[0]+De],[Pe[0]+De,Pe[1]]]}{if(Ce===1)return[Pe,null];const De=Math.floor(Ce/2)-1;return[[Pe[0],Pe[0]+De],[Pe[0]+De+1,Pe[1]]]}}function Mu(Pe,de){const Ce=[1/0,1/0,-1/0,-1/0];if(!su(de,Pe.length))return Ce;for(let De=de[0];De<=de[1];++De)Sd(Ce,Pe[De]);return Ce}function Ac(Pe){const de=[1/0,1/0,-1/0,-1/0];for(let Ce=0;Ce<Pe.length;++Ce)for(let De=0;De<Pe[Ce].length;++De)Sd(de,Pe[Ce][De]);return de}function wl(Pe,de,Ce){if(au(Pe)||au(de))return NaN;let De=0,Ke=0;return Pe[2]<de[0]&&(De=de[0]-Pe[2]),Pe[0]>de[2]&&(De=Pe[0]-de[2]),Pe[1]>de[3]&&(Ke=Pe[1]-de[3]),Pe[3]<de[1]&&(Ke=de[1]-Pe[3]),Ce.distance([0,0],[De,Ke])}function Pm(Pe){return 360*Pe-180}function N0(Pe){return 360/Math.PI*Math.atan(Math.exp((180-360*Pe)*Math.PI/180))-90}function Bp(Pe,de){const Ce=Math.pow(2,de.z),De=(Pe.y/mo+de.y)/Ce;return[Pm((Pe.x/mo+de.x)/Ce),N0(De)]}function $m(Pe,de){const Ce=[];for(let De=0;De<Pe.length;++De)Ce.push(Bp(Pe[De],de));return Ce}function Dm(Pe,de,Ce){const De=Ce.pointOnLine(de,Pe).point;return Ce.distance(Pe,De)}function Om(Pe,de,Ce,De,Ke){const Ve=Ce.slice(De[0],De[1]+1);let er=1/0;for(let fr=de[0];fr<=de[1];++fr)if((er=Math.min(er,Dm(Pe[fr],Ve,Ke)))===0)return 0;return er}function Nl(Pe,de,Ce,De,Ke){const Ve=Math.min(Ke.pointToSegmentDistance(Pe,Ce,De),Ke.pointToSegmentDistance(de,Ce,De)),er=Math.min(Ke.pointToSegmentDistance(Ce,Pe,de),Ke.pointToSegmentDistance(De,Pe,de));return Math.min(Ve,er)}function zn(Pe,de,Ce,De,Ke){if(!su(de,Pe.length)||!su(De,Ce.length))return NaN;let Ve=1/0;for(let er=de[0];er<de[1];++er)for(let fr=De[0];fr<De[1];++fr){if(Af(Pe[er],Pe[er+1],Ce[fr],Ce[fr+1]))return 0;Ve=Math.min(Ve,Nl(Pe[er],Pe[er+1],Ce[fr],Ce[fr+1],Ke))}return Ve}function po(Pe,de,Ce,De,Ke){if(!su(de,Pe.length)||!su(De,Ce.length))return NaN;let Ve=1/0;for(let er=de[0];er<=de[1];++er)for(let fr=De[0];fr<=De[1];++fr)if((Ve=Math.min(Ve,Ke.distance(Pe[er],Ce[fr])))===0)return Ve;return Ve}function no(Pe,de,Ce){if(Ol(Pe,de,!0))return 0;let De=1/0;for(const Ke of de){const Ve=Ke.length;if(Ve<2)return console.warn("Distance Expression: Invalid polygon!"),NaN;if(Ke[0]!==Ke[Ve-1]&&(De=Math.min(De,Ce.pointToSegmentDistance(Pe,Ke[Ve-1],Ke[0])))===0||(De=Math.min(De,Dm(Pe,Ke,Ce)))===0)return De}return De}function Xo(Pe,de,Ce,De){if(!su(de,Pe.length))return NaN;for(let Ve=de[0];Ve<=de[1];++Ve)if(Ol(Pe[Ve],Ce,!0))return 0;let Ke=1/0;for(let Ve=de[0];Ve<de[1];++Ve)for(const er of Ce)for(let fr=0,wr=er.length,Lr=wr-1;fr<wr;Lr=fr++){if(Af(Pe[Ve],Pe[Ve+1],er[Lr],er[fr]))return 0;Ke=Math.min(Ke,Nl(Pe[Ve],Pe[Ve+1],er[Lr],er[fr],De))}return Ke}function ka(Pe,de){for(const Ce of Pe)for(let De=0;De<=Ce.length-1;++De)if(Ol(Ce[De],de,!0))return!0;return!1}function za(Pe,de,Ce,De=1/0){const Ke=Ac(Pe),Ve=Ac(de);if(De!==1/0&&wl(Ke,Ve,Ce)>=De)return De;if(Ed(Ke,Ve)){if(ka(Pe,de))return 0}else if(ka(de,Pe))return 0;let er=De;for(const fr of Pe)for(let wr=0,Lr=fr.length,cr=Lr-1;wr<Lr;cr=wr++)for(const Mr of de)for(let Er=0,xr=Mr.length,Sr=xr-1;Er<xr;Sr=Er++){if(Af(fr[cr],fr[wr],Mr[Sr],Mr[Er]))return 0;er=Math.min(er,Nl(fr[cr],fr[wr],Mr[Sr],Mr[Er],Ce))}return er}function Ls(Pe,de,Ce,De,Ke,Ve,er){if(Ve===null||er===null)return;const fr=wl(Mu(De,Ve),Mu(Ke,er),Ce);fr<de&&Pe.push({dist:fr,range1:Ve,range2:er})}function _s(Pe,de,Ce,De,Ke=1/0){let Ve=Math.min(De.distance(Pe[0],Ce[0][0]),Ke);if(Ve===0)return Ve;const er=new ou([{dist:0,range1:[0,Pe.length-1],range2:[0,0]}],Bf),fr=de?Js:Tc,wr=Ac(Ce);for(;er.length;){const Lr=er.pop();if(Lr.dist>=Ve)continue;const cr=Lr.range1;if(Ku(cr)<=fr){if(!su(cr,Pe.length))return NaN;if(de){const Mr=Xo(Pe,cr,Ce,De);if((Ve=Math.min(Ve,Mr))===0)return Ve}else for(let Mr=cr[0];Mr<=cr[1];++Mr){const Er=no(Pe[Mr],Ce,De);if((Ve=Math.min(Ve,Er))===0)return Ve}}else{const Mr=zh(cr,de);if(Mr[0]!==null){const Er=wl(Mu(Pe,Mr[0]),wr,De);Er<Ve&&er.push({dist:Er,range1:Mr[0],range2:[0,0]})}if(Mr[1]!==null){const Er=wl(Mu(Pe,Mr[1]),wr,De);Er<Ve&&er.push({dist:Er,range1:Mr[1],range2:[0,0]})}}}return Ve}function Ad(Pe,de,Ce,De,Ke,Ve=1/0){let er=Math.min(Ve,Ke.distance(Pe[0],Ce[0]));if(er===0)return er;const fr=new ou([{dist:0,range1:[0,Pe.length-1],range2:[0,Ce.length-1]}],Bf),wr=de?Js:Tc,Lr=De?Js:Tc;for(;fr.length;){const cr=fr.pop();if(cr.dist>=er)continue;const Mr=cr.range1,Er=cr.range2;if(Ku(Mr)<=wr&&Ku(Er)<=Lr){if(!su(Mr,Pe.length)||!su(Er,Ce.length))return NaN;if(de&&De?er=Math.min(er,zn(Pe,Mr,Ce,Er,Ke)):de||De?de&&!De?er=Math.min(er,Om(Ce,Er,Pe,Mr,Ke)):!de&&De&&(er=Math.min(er,Om(Pe,Mr,Ce,Er,Ke))):er=Math.min(er,po(Pe,Mr,Ce,Er,Ke)),er===0)return er}else{const xr=zh(Mr,de),Sr=zh(Er,De);Ls(fr,er,Ke,Pe,Ce,xr[0],Sr[0]),Ls(fr,er,Ke,Pe,Ce,xr[0],Sr[1]),Ls(fr,er,Ke,Pe,Ce,xr[1],Sr[0]),Ls(fr,er,Ke,Pe,Ce,xr[1],Sr[1])}}return er}function If(Pe,de,Ce,De,Ke=1/0){let Ve=Ke;const er=Mu(Pe,[0,Pe.length-1]);for(const fr of Ce)if(!(Ve!==1/0&&wl(er,Mu(fr,[0,fr.length-1]),De)>=Ve)&&(Ve=Math.min(Ve,Ad(Pe,de,fr,!0,De,Ve)),Ve===0))return Ve;return Ve}function Ml(Pe,de,Ce,De,Ke=1/0){let Ve=Ke;const er=Mu(Pe,[0,Pe.length-1]);for(const fr of Ce){if(Ve!==1/0&&wl(er,Ac(fr),De)>=Ve)continue;const wr=_s(Pe,de,fr,De,Ve);if(isNaN(wr))return wr;if((Ve=Math.min(Ve,wr))===0)return Ve}return Ve}function Yu(Pe){return Pe==="Point"||Pe==="MultiPoint"||Pe==="LineString"||Pe==="MultiLineString"||Pe==="Polygon"||Pe==="MultiPolygon"}class Su{constructor(de,Ce){this.type=Eo,this.geojson=de,this.geometries=Ce}static parse(de,Ce){if(de.length!==2)return Ce.error(`'distance' expression requires either one argument, but found ' ${de.length-1} instead.`);if(ol(de[1])){const De=de[1];if(De.type==="FeatureCollection"){for(let Ke=0;Ke<De.features.length;++Ke)if(Yu(De.features[Ke].geometry.type))return new Su(De,De.features[Ke].geometry)}else if(De.type==="Feature"){if(Yu(De.geometry.type))return new Su(De,De.geometry)}else if(Yu(De.type))return new Su(De,De)}return Ce.error("'distance' expression needs to be an array with format ['Distance', GeoJSONObj].")}evaluate(de){const Ce=de.geometry(),De=de.canonicalID();if(Ce!=null&&De!=null){if(de.geometryType()==="Point")return function(Ke,Ve,er){const fr=[];for(const Lr of Ke)for(const cr of Lr)fr.push(Bp(cr,Ve));const wr=new Oh(fr[0][1],"meters");return er.type==="Point"||er.type==="MultiPoint"||er.type==="LineString"?Ad(fr,!1,er.type==="Point"?[er.coordinates]:er.coordinates,er.type==="LineString",wr):er.type==="MultiLineString"?If(fr,!1,er.coordinates,wr):er.type==="Polygon"||er.type==="MultiPolygon"?Ml(fr,!1,er.type==="Polygon"?[er.coordinates]:er.coordinates,wr):null}(Ce,De,this.geometries);if(de.geometryType()==="LineString")return function(Ke,Ve,er){const fr=[];for(const Lr of Ke){const cr=[];for(const Mr of Lr)cr.push(Bp(Mr,Ve));fr.push(cr)}const wr=new Oh(fr[0][0][1],"meters");if(er.type==="Point"||er.type==="MultiPoint"||er.type==="LineString")return If(er.type==="Point"?[er.coordinates]:er.coordinates,er.type==="LineString",fr,wr);if(er.type==="MultiLineString"){let Lr=1/0;for(let cr=0;cr<er.coordinates.length;cr++){const Mr=If(er.coordinates[cr],!0,fr,wr,Lr);if(isNaN(Mr))return Mr;if((Lr=Math.min(Lr,Mr))===0)return Lr}return Lr}if(er.type==="Polygon"||er.type==="MultiPolygon"){let Lr=1/0;for(let cr=0;cr<fr.length;cr++){const Mr=Ml(fr[cr],!0,er.type==="Polygon"?[er.coordinates]:er.coordinates,wr,Lr);if(isNaN(Mr))return Mr;if((Lr=Math.min(Lr,Mr))===0)return Lr}return Lr}return null}(Ce,De,this.geometries);if(de.geometryType()==="Polygon")return function(Ke,Ve,er){const fr=[];for(const Lr of function(cr,Mr){const Er=cr.length;if(Er<=1)return[cr];const xr=[];let Sr,Ir;for(let jr=0;jr<Er;jr++){const Hr=F0(cr[jr]);Hr!==0&&(cr[jr].area=Math.abs(Hr),Ir===void 0&&(Ir=Hr<0),Ir===Hr<0?(Sr&&xr.push(Sr),Sr=[cr[jr]]):Sr.push(cr[jr]))}return Sr&&xr.push(Sr),xr}(Ke)){const cr=[];for(let Mr=0;Mr<Lr.length;++Mr)cr.push($m(Lr[Mr],Ve));fr.push(cr)}const wr=new Oh(fr[0][0][0][1],"meters");if(er.type==="Point"||er.type==="MultiPoint"||er.type==="LineString")return Ml(er.type==="Point"?[er.coordinates]:er.coordinates,er.type==="LineString",fr,wr);if(er.type==="MultiLineString"){let Lr=1/0;for(let cr=0;cr<er.coordinates.length;cr++){const Mr=Ml(er.coordinates[cr],!0,fr,wr,Lr);if(isNaN(Mr))return Mr;if((Lr=Math.min(Lr,Mr))===0)return Lr}return Lr}return er.type==="Polygon"||er.type==="MultiPolygon"?function(Lr,cr,Mr){let Er=1/0;for(const xr of Lr)for(const Sr of cr){const Ir=za(xr,Sr,Mr,Er);if(isNaN(Ir))return Ir;if((Er=Math.min(Er,Ir))===0)return Er}return Er}(er.type==="Polygon"?[er.coordinates]:er.coordinates,fr,wr):null}(Ce,De,this.geometries);console.warn("Distance Expression: currently only evaluates valid Point/LineString/Polygon geometries.")}else console.warn("Distance Expression: requirs valid feature and canonical information.");return null}eachChild(){}outputDefined(){return!0}serialize(){return["distance",this.geojson]}}function lu(Pe,de){switch(Pe){case"string":return dc(de);case"number":return+de;case"boolean":return!!de;case"color":return Ca.parse(de);case"formatted":return Ys.fromString(dc(de));case"resolvedImage":return $s.build(dc(de))}return de}function Fh(Pe,de,Ce,De){return De!==void 0&&(Pe=De*Math.round(Pe/De)),de!==void 0&&Pe<de&&(Pe=de),Ce!==void 0&&Pe>Ce&&(Pe=Ce),Pe}class Uc{constructor(de,Ce,De){this.type=de,this.key=Ce,this.scope=De}static parse(de,Ce){let De=Ce.expectedType;if(De==null&&(De=va),de.length<2||de.length>3)return Ce.error("Invalid number of arguments for 'config' expression.");const Ke=Ce.parse(de[1],1);if(!(Ke instanceof Yl))return Ce.error("Key name of 'config' expression must be a string literal.");if(de.length>=3){const Ve=Ce.parse(de[2],2);return Ve instanceof Yl?new Uc(De,dc(Ke.value),dc(Ve.value)):Ce.error("Scope of 'config' expression must be a string literal.")}return new Uc(De,dc(Ke.value))}evaluate(de){const Ce=[this.key,this.scope,de.scope].filter(Boolean).join(""),De=de.getConfig(Ce);if(!De)return null;const{type:Ke,value:Ve,values:er,minValue:fr,maxValue:wr,stepValue:Lr}=De,cr=De.default.evaluate(de);let Mr=cr;if(Ve){const Er=de.scope;de.scope=(Er||"").split("").slice(1).join(""),Mr=Ve.evaluate(de),de.scope=Er}return Ke&&(Mr=lu(Ke,Mr)),Mr===void 0||fr===void 0&&wr===void 0&&Lr===void 0||(typeof Mr=="number"?Mr=Fh(Mr,fr,wr,Lr):Array.isArray(Mr)&&(Mr=Mr.map(Er=>typeof Er=="number"?Fh(Er,fr,wr,Lr):Er))),Ve!==void 0&&Mr!==void 0&&er&&!er.includes(Mr)&&(Mr=cr,Ke&&(Mr=lu(Ke,Mr))),(Ke&&Ke!==this.type||Mr!==void 0&&ds(Mr)!==this.type)&&(Mr=lu(this.type.kind,Mr)),Mr}eachChild(){}outputDefined(){return!1}serialize(){const de=["config",this.key];return this.scope&&de.concat(this.key),de}}function rs(Pe){if(Pe instanceof bl&&(Pe.name==="get"&&Pe.args.length===1||Pe.name==="feature-state"||Pe.name==="has"&&Pe.args.length===1||Pe.name==="properties"||Pe.name==="geometry-type"||Pe.name==="id"||/^filter-/.test(Pe.name))||Pe instanceof Cc||Pe instanceof Su)return!1;let de=!0;return Pe.eachChild(Ce=>{de&&!rs(Ce)&&(de=!1)}),de}function Ju(Pe){if(Pe instanceof bl&&Pe.name==="feature-state")return!1;let de=!0;return Pe.eachChild(Ce=>{de&&!Ju(Ce)&&(de=!1)}),de}function Eu(Pe){if(Pe instanceof Uc)return new Set([Pe.key]);let de=new Set;return Pe.eachChild(Ce=>{de=new Set([...de,...Eu(Ce)])}),de}function fc(Pe,de){if(Pe instanceof bl&&de.indexOf(Pe.name)>=0)return!1;let Ce=!0;return Pe.eachChild(De=>{Ce&&!fc(De,de)&&(Ce=!1)}),Ce}class kd{constructor(de,Ce){this.type=Ce.type,this.name=de,this.boundExpression=Ce}static parse(de,Ce){if(de.length!==2||typeof de[1]!="string")return Ce.error("'var' expression requires exactly one string literal argument.");const De=de[1];return Ce.scope.has(De)?new kd(De,Ce.scope.get(De)):Ce.error(`Unknown variable "${De}". Make sure "${De}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(de){return this.boundExpression.evaluate(de)}eachChild(){}outputDefined(){return!1}serialize(){return["var",this.name]}}class Rf{constructor(de,Ce=[],De,Ke=new Ep,Ve=[],er,fr){this.registry=de,this.path=Ce,this.key=Ce.map(wr=>typeof wr=="string"?`['${wr}']`:`[${wr}]`).join(""),this.scope=Ke,this.errors=Ve,this.expectedType=De,this._scope=er,this.options=fr}parse(de,Ce,De,Ke,Ve={}){return Ce||De?this.concat(Ce,null,De,Ke)._parse(de,Ve):this._parse(de,Ve)}parseObjectValue(de,Ce,De,Ke,Ve,er={}){return this.concat(Ce,De,Ke,Ve)._parse(de,er)}_parse(de,Ce){function De(Ke,Ve,er){return er==="assert"?new Jl(Ve,[Ke]):er==="coerce"?new Vc(Ve,[Ke]):Ke}if(de!==null&&typeof de!="string"&&typeof de!="boolean"&&typeof de!="number"||(de=["literal",de]),Array.isArray(de)){if(de.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const Ke=typeof de[0]=="string"?this.registry[de[0]]:void 0;if(Ke){let Ve=Ke.parse(de,this);if(!Ve)return null;if(this.expectedType){const er=this.expectedType,fr=Ve.type;if(er.kind!=="string"&&er.kind!=="number"&&er.kind!=="boolean"&&er.kind!=="object"&&er.kind!=="array"||fr.kind!=="value")if(er.kind!=="color"&&er.kind!=="formatted"&&er.kind!=="resolvedImage"||fr.kind!=="value"&&fr.kind!=="string"){if(this.checkSubtype(er,fr))return null}else Ve=De(Ve,er,Ce.typeAnnotation||"coerce");else Ve=De(Ve,er,Ce.typeAnnotation||"assert")}if(!(Ve instanceof Yl)&&Ve.type.kind!=="resolvedImage"&&kc(Ve)){const er=new Zu(this._scope,this.options);try{Ve=new Yl(Ve.type,Ve.evaluate(er))}catch(fr){return this.error(fr.message),null}}return Ve}return Vc.parse(["to-array",de],this)}return this.error(de===void 0?"'undefined' value invalid. Use null instead.":typeof de=="object"?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof de} instead.`)}concat(de,Ce,De,Ke){let Ve=typeof de=="number"?this.path.concat(de):this.path;Ve=typeof Ce=="string"?Ve.concat(Ce):Ve;const er=Ke?this.scope.concat(Ke):this.scope;return new Rf(this.registry,Ve,De||null,er,this.errors,this._scope,this.options)}error(de,...Ce){const De=`${this.key}${Ce.map(Ke=>`[${Ke}]`).join("")}`;this.errors.push(new hc(De,de))}checkSubtype(de,Ce){const De=wd(de,Ce);return De&&this.error(De),De}}var Ip=Rf;function kc(Pe){if(Pe instanceof kd)return kc(Pe.boundExpression);if(Pe instanceof bl&&Pe.name==="error"||Pe instanceof Sc||Pe instanceof Cc||Pe instanceof Su||Pe instanceof Uc)return!1;const de=Pe instanceof Vc||Pe instanceof Jl;let Ce=!0;return Pe.eachChild(De=>{Ce=de?Ce&&kc(De):Ce&&De instanceof Yl}),!!Ce&&rs(Pe)&&fc(Pe,["zoom","heatmap-density","line-progress","raster-value","sky-radial-progress","accumulated","is-supported-script","pitch","distance-from-center","measure-light","raster-particle-speed"])}function la(Pe,de){const Ce=Pe.length-1;let De,Ke,Ve=0,er=Ce,fr=0;for(;Ve<=er;)if(fr=Math.floor((Ve+er)/2),De=Pe[fr],Ke=Pe[fr+1],De<=de){if(fr===Ce||de<Ke)return fr;Ve=fr+1}else{if(!(De>de))throw new Ts("Input is not a number.");er=fr-1}return 0}class Cu{constructor(de,Ce,De){this.type=de,this.input=Ce,this.labels=[],this.outputs=[];for(const[Ke,Ve]of De)this.labels.push(Ke),this.outputs.push(Ve)}static parse(de,Ce){if(de.length-1<4)return Ce.error(`Expected at least 4 arguments, but found only ${de.length-1}.`);if((de.length-1)%2!=0)return Ce.error("Expected an even number of arguments.");const De=Ce.parse(de[1],1,Eo);if(!De)return null;const Ke=[];let Ve=null;Ce.expectedType&&Ce.expectedType.kind!=="value"&&(Ve=Ce.expectedType);for(let er=1;er<de.length;er+=2){const fr=er===1?-1/0:de[er],wr=de[er+1],Lr=er,cr=er+1;if(typeof fr!="number")return Ce.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',Lr);if(Ke.length&&Ke[Ke.length-1][0]>=fr)return Ce.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',Lr);const Mr=Ce.parse(wr,cr,Ve);if(!Mr)return null;Ve=Ve||Mr.type,Ke.push([fr,Mr])}return new Cu(Ve,De,Ke)}evaluate(de){const Ce=this.labels,De=this.outputs;if(Ce.length===1)return De[0].evaluate(de);const Ke=this.input.evaluate(de);if(Ke<=Ce[0])return De[0].evaluate(de);const Ve=Ce.length;return Ke>=Ce[Ve-1]?De[Ve-1].evaluate(de):De[la(Ce,Ke)].evaluate(de)}eachChild(de){de(this.input);for(const Ce of this.outputs)de(Ce)}outputDefined(){return this.outputs.every(de=>de.outputDefined())}serialize(){const de=["step",this.input.serialize()];for(let Ce=0;Ce<this.labels.length;Ce++)Ce>0&&de.push(this.labels[Ce]),de.push(this.outputs[Ce].serialize());return de}}const Rp=.95047,Ld=1.08883,Pf=4/29,Qu=6/29,Wa=3*Qu*Qu,zm=Qu*Qu*Qu,Bd=Math.PI/180,eh=180/Math.PI;function Nh(Pe){return Pe>zm?Math.pow(Pe,1/3):Pe/Wa+Pf}function Pp(Pe){return Pe>Qu?Pe*Pe*Pe:Wa*(Pe-Pf)}function $p(Pe){return 255*(Pe<=.0031308?12.92*Pe:1.055*Math.pow(Pe,1/2.4)-.055)}function Dp(Pe){return(Pe/=255)<=.04045?Pe/12.92:Math.pow((Pe+.055)/1.055,2.4)}function Id(Pe){const de=Dp(Pe.r),Ce=Dp(Pe.g),De=Dp(Pe.b),Ke=Nh((.4124564*de+.3575761*Ce+.1804375*De)/Rp),Ve=Nh((.2126729*de+.7151522*Ce+.072175*De)/1);return{l:116*Ve-16,a:500*(Ke-Ve),b:200*(Ve-Nh((.0193339*de+.119192*Ce+.9503041*De)/Ld)),alpha:Pe.a}}function Rd(Pe){let de=(Pe.l+16)/116,Ce=isNaN(Pe.a)?de:de+Pe.a/500,De=isNaN(Pe.b)?de:de-Pe.b/200;return de=1*Pp(de),Ce=Rp*Pp(Ce),De=Ld*Pp(De),new Ca($p(3.2404542*Ce-1.5371385*de-.4985314*De),$p(-.969266*Ce+1.8760108*de+.041556*De),$p(.0556434*Ce-.2040259*de+1.0572252*De),Pe.alpha)}function Op(Pe,de,Ce){const De=de-Pe;return Pe+Ce*(De>180||De<-180?De-360*Math.round(De/360):De)}const Pd={forward:Id,reverse:Rd,interpolate:function(Pe,de,Ce){return{l:Go(Pe.l,de.l,Ce),a:Go(Pe.a,de.a,Ce),b:Go(Pe.b,de.b,Ce),alpha:Go(Pe.alpha,de.alpha,Ce)}}},Vh={forward:function(Pe){const{l:de,a:Ce,b:De}=Id(Pe),Ke=Math.atan2(De,Ce)*eh;return{h:Ke<0?Ke+360:Ke,c:Math.sqrt(Ce*Ce+De*De),l:de,alpha:Pe.a}},reverse:function(Pe){const de=Pe.h*Bd,Ce=Pe.c;return Rd({l:Pe.l,a:Math.cos(de)*Ce,b:Math.sin(de)*Ce,alpha:Pe.alpha})},interpolate:function(Pe,de,Ce){return{h:Op(Pe.h,de.h,Ce),c:Go(Pe.c,de.c,Ce),l:Go(Pe.l,de.l,Ce),alpha:Go(Pe.alpha,de.alpha,Ce)}}};var Fm=Object.freeze({__proto__:null,hcl:Vh,lab:Pd});class Vl{constructor(de,Ce,De,Ke,Ve,er){this.type=de,this.operator=Ce,this.interpolation=De,this.input=Ke,this.dynamicStops=Ve,this.labels=[],this.outputs=[];for(const[fr,wr]of er)this.labels.push(fr),this.outputs.push(wr)}static interpolationFactor(de,Ce,De,Ke){let Ve=0;if(de.name==="exponential")Ve=Os(Ce,de.base,De,Ke);else if(de.name==="linear")Ve=Os(Ce,1,De,Ke);else if(de.name==="cubic-bezier"){const er=de.controlPoints;Ve=new vi(er[0],er[1],er[2],er[3]).solve(Os(Ce,1,De,Ke))}return Ve}static parse(de,Ce){let[De,Ke,Ve,...er]=de;if(!Array.isArray(Ke)||Ke.length===0)return Ce.error("Expected an interpolation type expression.",1);if(Ke[0]==="linear")Ke={name:"linear"};else if(Ke[0]==="exponential"){const Lr=Ke[1];if(typeof Lr!="number")return Ce.error("Exponential interpolation requires a numeric base.",1,1);Ke={name:"exponential",base:Lr}}else{if(Ke[0]!=="cubic-bezier")return Ce.error(`Unknown interpolation type ${String(Ke[0])}`,1,0);{const Lr=Ke.slice(1);if(Lr.length!==4||Lr.some(cr=>typeof cr!="number"||cr<0||cr>1))return Ce.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);Ke={name:"cubic-bezier",controlPoints:Lr}}}if(de.length-1<3)return Ce.error(`Expected at least 3 arguments, but found only ${de.length-1}.`);if(de.length-1>3&&(de.length-1)%2!=0)return Ce.error("Expected an even number of arguments.");if(Ve=Ce.parse(Ve,2,Eo),!Ve)return null;const fr=[];let wr=null;if(De==="interpolate-hcl"||De==="interpolate-lab"?wr=Dl:Ce.expectedType&&Ce.expectedType.kind!=="value"&&(wr=Ce.expectedType),de.length-1==3){const Lr=Ce.parse(er[0],3,va);return Lr?new Vl(wr,De,Ke,Ve,Lr,fr):null}for(let Lr=0;Lr<er.length;Lr+=2){const cr=er[Lr],Mr=er[Lr+1],Er=Lr+3,xr=Lr+4;if(typeof cr!="number")return Ce.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',Er);if(fr.length&&fr[fr.length-1][0]>=cr)return Ce.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',Er);const Sr=Ce.parse(Mr,xr,wr);if(!Sr)return null;wr=wr||Sr.type,fr.push([cr,Sr])}return wr.kind==="number"||wr.kind==="color"||wr.kind==="array"&&wr.itemType.kind==="number"&&typeof wr.N=="number"?new Vl(wr,De,Ke,Ve,null,fr):Ce.error(`Type ${ts(wr)} is not interpolatable.`)}evaluate(de){let Ce=this.labels,De=this.outputs;if(this.dynamicStops){const cr=this.dynamicStops.evaluate(de);if(cr.length%2!=0)throw new Ts("Expected an even number of arguments.");Ce=[],De=[];for(let Mr=0;Mr<cr.length;Mr+=2){const Er=cr[Mr],xr=new Yl(Eo,cr[Mr+1]);if(typeof Er!="number")throw new Ts('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.');if(Ce.length&&Ce[Ce.length-1]>=Er)throw new Ts('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.');Ce.push(Er),De.push(xr)}if(Ce.length===0)throw new Ts("Expected at least one input/output pair.")}if(Ce.length===1)return De[0].evaluate(de);const Ke=this.input.evaluate(de);if(Ke<=Ce[0])return De[0].evaluate(de);const Ve=Ce.length;if(Ke>=Ce[Ve-1])return De[Ve-1].evaluate(de);const er=la(Ce,Ke),fr=Vl.interpolationFactor(this.interpolation,Ke,Ce[er],Ce[er+1]),wr=De[er].evaluate(de),Lr=De[er+1].evaluate(de);return this.operator==="interpolate"?xa[this.type.kind.toLowerCase()](wr,Lr,fr):this.operator==="interpolate-hcl"?Vh.reverse(Vh.interpolate(Vh.forward(wr),Vh.forward(Lr),fr)):Pd.reverse(Pd.interpolate(Pd.forward(wr),Pd.forward(Lr),fr))}eachChild(de){de(this.input);for(const Ce of this.outputs)de(Ce)}outputDefined(){return this.outputs.every(de=>de.outputDefined())}serialize(){let de;de=this.interpolation.name==="linear"?["linear"]:this.interpolation.name==="exponential"?this.interpolation.base===1?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const Ce=[this.operator,de,this.input.serialize()];if(this.dynamicStops)Ce.push(this.dynamicStops.serialize());else for(let De=0;De<this.labels.length;De++)Ce.push(this.labels[De],this.outputs[De].serialize());return Ce}}function Os(Pe,de,Ce,De){const Ke=De-Ce,Ve=Pe-Ce;return Ke===0?0:de===1?Ve/Ke:(Math.pow(de,Ve)-1)/(Math.pow(de,Ke)-1)}class Qs{constructor(de,Ce){this.type=de,this.args=Ce}static parse(de,Ce){if(de.length<2)return Ce.error("Expectected at least one argument.");let De=null;const Ke=Ce.expectedType;Ke&&Ke.kind!=="value"&&(De=Ke);const Ve=[];for(const fr of de.slice(1)){const wr=Ce.parse(fr,1+Ve.length,De,void 0,{typeAnnotation:"omit"});if(!wr)return null;De=De||wr.type,Ve.push(wr)}const er=Ke&&Ve.some(fr=>wd(Ke,fr.type));return new Qs(er?va:De,Ve)}evaluate(de){let Ce,De=null,Ke=0;for(const Ve of this.args){if(Ke++,De=Ve.evaluate(de),De&&De instanceof $s&&!De.available&&(Ce||(Ce=De),De=null,Ke===this.args.length))return Ce;if(De!==null)break}return De}eachChild(de){this.args.forEach(de)}outputDefined(){return this.args.every(de=>de.outputDefined())}serialize(){const de=["coalesce"];return this.eachChild(Ce=>{de.push(Ce.serialize())}),de}}class $f{constructor(de,Ce){this.type=Ce.type,this.bindings=[].concat(de),this.result=Ce}evaluate(de){return this.result.evaluate(de)}eachChild(de){for(const Ce of this.bindings)de(Ce[1]);de(this.result)}static parse(de,Ce){if(de.length<4)return Ce.error(`Expected at least 3 arguments, but found ${de.length-1} instead.`);const De=[];for(let Ve=1;Ve<de.length-1;Ve+=2){const er=de[Ve];if(typeof er!="string")return Ce.error(`Expected string, but found ${typeof er} instead.`,Ve);if(/[^a-zA-Z0-9_]/.test(er))return Ce.error("Variable names must contain only alphanumeric characters or '_'.",Ve);const fr=Ce.parse(de[Ve+1],Ve+1);if(!fr)return null;De.push([er,fr])}const Ke=Ce.parse(de[de.length-1],de.length-1,Ce.expectedType,De);return Ke?new $f(De,Ke):null}outputDefined(){return this.result.outputDefined()}serialize(){const de=["let"];for(const[Ce,De]of this.bindings)de.push(Ce,De.serialize());return de.push(this.result.serialize()),de}}class zp{constructor(de,Ce,De){this.type=de,this.index=Ce,this.input=De}static parse(de,Ce){if(de.length!==3)return Ce.error(`Expected 2 arguments, but found ${de.length-1} instead.`);const De=Ce.parse(de[1],1,Eo),Ke=Ce.parse(de[2],2,dl(Ce.expectedType||va));return De&&Ke?new zp(Ke.type.itemType,De,Ke):null}evaluate(de){const Ce=this.index.evaluate(de),De=this.input.evaluate(de);if(Ce<0)throw new Ts(`Array index out of bounds: ${Ce} < 0.`);if(Ce>De.length-1)throw new Ts(`Array index out of bounds: ${Ce} > ${De.length-1}.`);if(Ce===Math.floor(Ce))return De[Ce];const Ke=Math.floor(Ce),Ve=Math.ceil(Ce),er=De[Ke],fr=De[Ve];if(typeof er!="number"||typeof fr!="number")throw new Ts(`Cannot interpolate between non-number values at index ${Ce}.`);const wr=Ce-Ke;return er*(1-wr)+fr*wr}eachChild(de){de(this.index),de(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}class Df{constructor(de,Ce){this.type=Ta,this.needle=de,this.haystack=Ce}static parse(de,Ce){if(de.length!==3)return Ce.error(`Expected 2 arguments, but found ${de.length-1} instead.`);const De=Ce.parse(de[1],1,va),Ke=Ce.parse(de[2],2,va);return De&&Ke?Ef(De.type,[Ta,$a,Eo,Ih,va])?new Df(De,Ke):Ce.error(`Expected first argument to be of type boolean, string, number or null, but found ${ts(De.type)} instead`):null}evaluate(de){const Ce=this.needle.evaluate(de),De=this.haystack.evaluate(de);if(De==null)return!1;if(!Wu(Ce,["boolean","string","number","null"]))throw new Ts(`Expected first argument to be of type boolean, string, number or null, but found ${ts(ds(Ce))} instead.`);if(!Wu(De,["string","array"]))throw new Ts(`Expected second argument to be of type array or string, but found ${ts(ds(De))} instead.`);return De.indexOf(Ce)>=0}eachChild(de){de(this.needle),de(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}class Of{constructor(de,Ce,De){this.type=Eo,this.needle=de,this.haystack=Ce,this.fromIndex=De}static parse(de,Ce){if(de.length<=2||de.length>=5)return Ce.error(`Expected 3 or 4 arguments, but found ${de.length-1} instead.`);const De=Ce.parse(de[1],1,va),Ke=Ce.parse(de[2],2,va);if(!De||!Ke)return null;if(!Ef(De.type,[Ta,$a,Eo,Ih,va]))return Ce.error(`Expected first argument to be of type boolean, string, number or null, but found ${ts(De.type)} instead`);if(de.length===4){const Ve=Ce.parse(de[3],3,Eo);return Ve?new Of(De,Ke,Ve):null}return new Of(De,Ke)}evaluate(de){const Ce=this.needle.evaluate(de),De=this.haystack.evaluate(de);if(!Wu(Ce,["boolean","string","number","null"]))throw new Ts(`Expected first argument to be of type boolean, string, number or null, but found ${ts(ds(Ce))} instead.`);if(!Wu(De,["string","array"]))throw new Ts(`Expected second argument to be of type array or string, but found ${ts(ds(De))} instead.`);if(this.fromIndex){const Ke=this.fromIndex.evaluate(de);return De.indexOf(Ce,Ke)}return De.indexOf(Ce)}eachChild(de){de(this.needle),de(this.haystack),this.fromIndex&&de(this.fromIndex)}outputDefined(){return!1}serialize(){if(this.fromIndex!=null&&this.fromIndex!==void 0){const de=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),de]}return["index-of",this.needle.serialize(),this.haystack.serialize()]}}class $d{constructor(de,Ce,De,Ke,Ve,er){this.inputType=de,this.type=Ce,this.input=De,this.cases=Ke,this.outputs=Ve,this.otherwise=er}static parse(de,Ce){if(de.length<5)return Ce.error(`Expected at least 4 arguments, but found only ${de.length-1}.`);if(de.length%2!=1)return Ce.error("Expected an even number of arguments.");let De,Ke;Ce.expectedType&&Ce.expectedType.kind!=="value"&&(Ke=Ce.expectedType);const Ve={},er=[];for(let Lr=2;Lr<de.length-1;Lr+=2){let cr=de[Lr];const Mr=de[Lr+1];Array.isArray(cr)||(cr=[cr]);const Er=Ce.concat(Lr);if(cr.length===0)return Er.error("Expected at least one branch label.");for(const Sr of cr){if(typeof Sr!="number"&&typeof Sr!="string")return Er.error("Branch labels must be numbers or strings.");if(typeof Sr=="number"&&Math.abs(Sr)>Number.MAX_SAFE_INTEGER)return Er.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof Sr=="number"&&Math.floor(Sr)!==Sr)return Er.error("Numeric branch labels must be integer values.");if(De){if(Er.checkSubtype(De,ds(Sr)))return null}else De=ds(Sr);if(Ve[String(Sr)]!==void 0)return Er.error("Branch labels must be unique.");Ve[String(Sr)]=er.length}const xr=Ce.parse(Mr,Lr,Ke);if(!xr)return null;Ke=Ke||xr.type,er.push(xr)}const fr=Ce.parse(de[1],1,va);if(!fr)return null;const wr=Ce.parse(de[de.length-1],de.length-1,Ke);return wr?fr.type.kind!=="value"&&Ce.concat(1).checkSubtype(De,fr.type)?null:new $d(De,Ke,fr,Ve,er,wr):null}evaluate(de){const Ce=this.input.evaluate(de);return(ds(Ce)===this.inputType&&this.outputs[this.cases[Ce]]||this.otherwise).evaluate(de)}eachChild(de){de(this.input),this.outputs.forEach(de),de(this.otherwise)}outputDefined(){return this.outputs.every(de=>de.outputDefined())&&this.otherwise.outputDefined()}serialize(){const de=["match",this.input.serialize()],Ce=Object.keys(this.cases).sort(),De=[],Ke={};for(const er of Ce){const fr=Ke[this.cases[er]];fr===void 0?(Ke[this.cases[er]]=De.length,De.push([this.cases[er],[er]])):De[fr][1].push(er)}const Ve=er=>this.inputType.kind==="number"?Number(er):er;for(const[er,fr]of De)de.push(fr.length===1?Ve(fr[0]):fr.map(Ve)),de.push(this.outputs[er].serialize());return de.push(this.otherwise.serialize()),de}}class th{constructor(de,Ce,De){this.type=de,this.branches=Ce,this.otherwise=De}static parse(de,Ce){if(de.length<4)return Ce.error(`Expected at least 3 arguments, but found only ${de.length-1}.`);if(de.length%2!=0)return Ce.error("Expected an odd number of arguments.");let De;Ce.expectedType&&Ce.expectedType.kind!=="value"&&(De=Ce.expectedType);const Ke=[];for(let er=1;er<de.length-1;er+=2){const fr=Ce.parse(de[er],er,Ta);if(!fr)return null;const wr=Ce.parse(de[er+1],er+1,De);if(!wr)return null;Ke.push([fr,wr]),De=De||wr.type}const Ve=Ce.parse(de[de.length-1],de.length-1,De);return Ve?new th(De,Ke,Ve):null}evaluate(de){for(const[Ce,De]of this.branches)if(Ce.evaluate(de))return De.evaluate(de);return this.otherwise.evaluate(de)}eachChild(de){for(const[Ce,De]of this.branches)de(Ce),de(De);de(this.otherwise)}outputDefined(){return this.branches.every(([de,Ce])=>Ce.outputDefined())&&this.otherwise.outputDefined()}serialize(){const de=["case"];return this.eachChild(Ce=>{de.push(Ce.serialize())}),de}}class Uh{constructor(de,Ce,De,Ke){this.type=de,this.input=Ce,this.beginIndex=De,this.endIndex=Ke}static parse(de,Ce){if(de.length<=2||de.length>=5)return Ce.error(`Expected 3 or 4 arguments, but found ${de.length-1} instead.`);const De=Ce.parse(de[1],1,va),Ke=Ce.parse(de[2],2,Eo);if(!De||!Ke)return null;if(!Ef(De.type,[dl(va),$a,va]))return Ce.error(`Expected first argument to be of type array or string, but found ${ts(De.type)} instead`);if(de.length===4){const Ve=Ce.parse(de[3],3,Eo);return Ve?new Uh(De.type,De,Ke,Ve):null}return new Uh(De.type,De,Ke)}evaluate(de){const Ce=this.input.evaluate(de),De=this.beginIndex.evaluate(de);if(!Wu(Ce,["string","array"]))throw new Ts(`Expected first argument to be of type array or string, but found ${ts(ds(Ce))} instead.`);if(this.endIndex){const Ke=this.endIndex.evaluate(de);return Ce.slice(De,Ke)}return Ce.slice(De)}eachChild(de){de(this.input),de(this.beginIndex),this.endIndex&&de(this.endIndex)}outputDefined(){return!1}serialize(){if(this.endIndex!=null&&this.endIndex!==void 0){const de=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),de]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}function ih(Pe,de){return Pe==="=="||Pe==="!="?de.kind==="boolean"||de.kind==="string"||de.kind==="number"||de.kind==="null"||de.kind==="value":de.kind==="string"||de.kind==="number"||de.kind==="value"}function jh(Pe,de,Ce,De){return De.compare(de,Ce)===0}function jc(Pe,de,Ce){const De=Pe!=="=="&&Pe!=="!=";return class Hy{constructor(Ve,er,fr){this.type=Ta,this.lhs=Ve,this.rhs=er,this.collator=fr,this.hasUntypedArgument=Ve.type.kind==="value"||er.type.kind==="value"}static parse(Ve,er){if(Ve.length!==3&&Ve.length!==4)return er.error("Expected two or three arguments.");const fr=Ve[0];let wr=er.parse(Ve[1],1,va);if(!wr)return null;if(!ih(fr,wr.type))return er.concat(1).error(`"${fr}" comparisons are not supported for type '${ts(wr.type)}'.`);let Lr=er.parse(Ve[2],2,va);if(!Lr)return null;if(!ih(fr,Lr.type))return er.concat(2).error(`"${fr}" comparisons are not supported for type '${ts(Lr.type)}'.`);if(wr.type.kind!==Lr.type.kind&&wr.type.kind!=="value"&&Lr.type.kind!=="value")return er.error(`Cannot compare types '${ts(wr.type)}' and '${ts(Lr.type)}'.`);De&&(wr.type.kind==="value"&&Lr.type.kind!=="value"?wr=new Jl(Lr.type,[wr]):wr.type.kind!=="value"&&Lr.type.kind==="value"&&(Lr=new Jl(wr.type,[Lr])));let cr=null;if(Ve.length===4){if(wr.type.kind!=="string"&&Lr.type.kind!=="string"&&wr.type.kind!=="value"&&Lr.type.kind!=="value")return er.error("Cannot use collator to compare non-string types.");if(cr=er.parse(Ve[3],3,gs),!cr)return null}return new Hy(wr,Lr,cr)}evaluate(Ve){const er=this.lhs.evaluate(Ve),fr=this.rhs.evaluate(Ve);if(De&&this.hasUntypedArgument){const wr=ds(er),Lr=ds(fr);if(wr.kind!==Lr.kind||wr.kind!=="string"&&wr.kind!=="number")throw new Ts(`Expected arguments for "${Pe}" to be (string, string) or (number, number), but found (${wr.kind}, ${Lr.kind}) instead.`)}if(this.collator&&!De&&this.hasUntypedArgument){const wr=ds(er),Lr=ds(fr);if(wr.kind!=="string"||Lr.kind!=="string")return de(Ve,er,fr)}return this.collator?Ce(Ve,er,fr,this.collator.evaluate(Ve)):de(Ve,er,fr)}eachChild(Ve){Ve(this.lhs),Ve(this.rhs),this.collator&&Ve(this.collator)}outputDefined(){return!0}serialize(){const Ve=[Pe];return this.eachChild(er=>{Ve.push(er.serialize())}),Ve}}}const zf=jc("==",function(Pe,de,Ce){return de===Ce},jh),qh=jc("!=",function(Pe,de,Ce){return de!==Ce},function(Pe,de,Ce,De){return!jh(0,de,Ce,De)}),V0=jc("<",function(Pe,de,Ce){return de<Ce},function(Pe,de,Ce,De){return De.compare(de,Ce)<0}),U0=jc(">",function(Pe,de,Ce){return de>Ce},function(Pe,de,Ce,De){return De.compare(de,Ce)>0}),j0=jc("<=",function(Pe,de,Ce){return de<=Ce},function(Pe,de,Ce,De){return De.compare(de,Ce)<=0}),Fp=jc(">=",function(Pe,de,Ce){return de>=Ce},function(Pe,de,Ce,De){return De.compare(de,Ce)>=0});class Np{constructor(de,Ce,De,Ke,Ve,er){this.type=$a,this.number=de,this.locale=Ce,this.currency=De,this.unit=Ke,this.minFractionDigits=Ve,this.maxFractionDigits=er}static parse(de,Ce){if(de.length!==3)return Ce.error("Expected two arguments.");const De=Ce.parse(de[1],1,Eo);if(!De)return null;const Ke=de[2];if(typeof Ke!="object"||Array.isArray(Ke))return Ce.error("NumberFormat options argument must be an object.");let Ve=null;if(Ke.locale&&(Ve=Ce.parseObjectValue(Ke.locale,2,"locale",$a),!Ve))return null;let er=null;if(Ke.currency&&(er=Ce.parseObjectValue(Ke.currency,2,"currency",$a),!er))return null;let fr=null;if(Ke.unit&&(fr=Ce.parseObjectValue(Ke.unit,2,"unit",$a),!fr))return null;let wr=null;if(Ke["min-fraction-digits"]&&(wr=Ce.parseObjectValue(Ke["min-fraction-digits"],2,"min-fraction-digits",Eo),!wr))return null;let Lr=null;return Ke["max-fraction-digits"]&&(Lr=Ce.parseObjectValue(Ke["max-fraction-digits"],2,"max-fraction-digits",Eo),!Lr)?null:new Np(De,Ve,er,fr,wr,Lr)}evaluate(de){return new Intl.NumberFormat(this.locale?this.locale.evaluate(de):[],{style:(this.currency?"currency":this.unit&&"unit")||"decimal",currency:this.currency?this.currency.evaluate(de):void 0,unit:this.unit?this.unit.evaluate(de):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(de):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(de):void 0}).format(this.number.evaluate(de))}eachChild(de){de(this.number),this.locale&&de(this.locale),this.currency&&de(this.currency),this.unit&&de(this.unit),this.minFractionDigits&&de(this.minFractionDigits),this.maxFractionDigits&&de(this.maxFractionDigits)}outputDefined(){return!1}serialize(){const de={};return this.locale&&(de.locale=this.locale.serialize()),this.currency&&(de.currency=this.currency.serialize()),this.unit&&(de.unit=this.unit.serialize()),this.minFractionDigits&&(de["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(de["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),de]}}class nh{constructor(de){this.type=Eo,this.input=de}static parse(de,Ce){if(de.length!==2)return Ce.error(`Expected 1 argument, but found ${de.length-1} instead.`);const De=Ce.parse(de[1],1);return De?De.type.kind!=="array"&&De.type.kind!=="string"&&De.type.kind!=="value"?Ce.error(`Expected argument of type string or array, but found ${ts(De.type)} instead.`):new nh(De):null}evaluate(de){const Ce=this.input.evaluate(de);if(typeof Ce=="string"||Array.isArray(Ce))return Ce.length;throw new Ts(`Expected value to be of type string or array, but found ${ts(ds(Ce))} instead.`)}eachChild(de){de(this.input)}outputDefined(){return!1}serialize(){const de=["length"];return this.eachChild(Ce=>{de.push(Ce.serialize())}),de}}function Gh(Pe){return function(){Pe=1831565813+(Pe|=0)|0;let de=Math.imul(Pe^Pe>>>15,1|Pe);return de=de+Math.imul(de^de>>>7,61|de)^de,((de^de>>>14)>>>0)/4294967296}}const oh={"==":zf,"!=":qh,">":U0,"<":V0,">=":Fp,"<=":j0,array:Jl,at:zp,boolean:Jl,case:th,coalesce:Qs,collator:Sc,format:Ds,image:Ph,in:Df,"index-of":Of,interpolate:Vl,"interpolate-hcl":Vl,"interpolate-lab":Vl,length:nh,let:$f,literal:Yl,match:$d,number:Jl,"number-format":Np,object:Jl,slice:Uh,step:Cu,string:Jl,"to-boolean":Vc,"to-color":Vc,"to-number":Vc,"to-string":Vc,var:kd,within:Cc,distance:Su,config:Uc};function Gi(Pe,[de,Ce,De,Ke]){de=de.evaluate(Pe),Ce=Ce.evaluate(Pe),De=De.evaluate(Pe);const Ve=Ke?Ke.evaluate(Pe):1,er=iu(de,Ce,De,Ve);if(er)throw new Ts(er);return new Ca(de/255*Ve,Ce/255*Ve,De/255*Ve,Ve)}function Tu(Pe,[de,Ce,De,Ke]){de=de.evaluate(Pe),Ce=Ce.evaluate(Pe),De=De.evaluate(Pe);const Ve=Ke?Ke.evaluate(Pe):1,er=function(Lr,cr,Mr,Er){return typeof Lr=="number"&&Lr>=0&&Lr<=360?typeof cr=="number"&&cr>=0&&cr<=100&&typeof Mr=="number"&&Mr>=0&&Mr<=100?Er===void 0||typeof Er=="number"&&Er>=0&&Er<=1?null:`Invalid hsla value [${[Lr,cr,Mr,Er].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid hsla value [${(typeof Er=="number"?[Lr,cr,Mr,Er]:[Lr,cr,Mr]).join(", ")}]: 's', and 'l' must be between 0 and 100.`:`Invalid hsla value [${(typeof Er=="number"?[Lr,cr,Mr,Er]:[Lr,cr,Mr]).join(", ")}]: 'h' must be between 0 and 360.`}(de,Ce,De,Ve);if(er)throw new Ts(er);const fr=`hsla(${de}, ${Ce}%, ${De}%, ${Ve})`,wr=Ca.parse(fr);if(!wr)throw new Ts(`Failed to parse HSLA color: ${fr}`);return wr}function Hh(Pe,de){return Pe in de}function el(Pe,de){const Ce=de[Pe];return Ce===void 0?null:Ce}function Da(Pe){return{type:Pe}}function Vp(Pe){return{result:"success",value:Pe}}function Au(Pe){return{result:"error",value:Pe}}function Dd(Pe,de){return!!Pe&&!!Pe.parameters&&Pe.parameters.indexOf(de)>-1}function pc(Pe){return Pe["property-type"]==="data-driven"}function Nm(Pe){return Dd(Pe.expression,"measure-light")}function Vm(Pe){return Dd(Pe.expression,"zoom")}function Ff(Pe){return!!Pe.expression&&Pe.expression.interpolated}function Nf(Pe){return typeof Pe=="object"&&Pe!==null&&!Array.isArray(Pe)}function q0(Pe){return Pe}function qc(Pe,de){const Ce=de.type==="color",De=Pe.stops&&typeof Pe.stops[0][0]=="object",Ke=De||!(De||Pe.property!==void 0),Ve=Pe.type||(Ff(de)?"exponential":"interval");if(Ce&&((Pe=Sf({},Pe)).stops&&(Pe.stops=Pe.stops.map(Lr=>[Lr[0],Ca.parse(Lr[1])])),Pe.default=Ca.parse(Pe.default?Pe.default:de.default)),Pe.colorSpace&&Pe.colorSpace!=="rgb"&&!Fm[Pe.colorSpace])throw new Error(`Unknown color space: ${Pe.colorSpace}`);let er,fr,wr;if(Ve==="exponential")er=zd;else if(Ve==="interval")er=jm;else if(Ve==="categorical"){er=Um,fr=Object.create(null);for(const Lr of Pe.stops)fr[Lr[0]]=Lr[1];wr=typeof Pe.stops[0][0]}else{if(Ve!=="identity")throw new Error(`Unknown function type "${Ve}"`);er=G0}if(De){const Lr={},cr=[];for(let xr=0;xr<Pe.stops.length;xr++){const Sr=Pe.stops[xr],Ir=Sr[0].zoom;Lr[Ir]===void 0&&(Lr[Ir]={zoom:Ir,type:Pe.type,property:Pe.property,default:Pe.default,stops:[]},cr.push(Ir)),Lr[Ir].stops.push([Sr[0].value,Sr[1]])}const Mr=[];for(const xr of cr)Mr.push([Lr[xr].zoom,qc(Lr[xr],de)]);const Er={name:"linear"};return{kind:"composite",interpolationType:Er,interpolationFactor:Vl.interpolationFactor.bind(void 0,Er),zoomStops:Mr.map(xr=>xr[0]),evaluate:({zoom:xr},Sr)=>zd({stops:Mr,base:Pe.base},de,xr).evaluate(xr,Sr)}}if(Ke){const Lr=Ve==="exponential"?{name:"exponential",base:Pe.base!==void 0?Pe.base:1}:null;return{kind:"camera",interpolationType:Lr,interpolationFactor:Vl.interpolationFactor.bind(void 0,Lr),zoomStops:Pe.stops.map(cr=>cr[0]),evaluate:({zoom:cr})=>er(Pe,de,cr,fr,wr)}}return{kind:"source",evaluate(Lr,cr){const Mr=cr&&cr.properties?cr.properties[Pe.property]:void 0;return Mr===void 0?Od(Pe.default,de.default):er(Pe,de,Mr,fr,wr)}}}function Od(Pe,de,Ce){return Pe!==void 0?Pe:de!==void 0?de:Ce!==void 0?Ce:void 0}function Um(Pe,de,Ce,De,Ke){return Od(typeof Ce===Ke?De[Ce]:void 0,Pe.default,de.default)}function jm(Pe,de,Ce){if(al(Ce)!=="number")return Od(Pe.default,de.default);const De=Pe.stops.length;if(De===1||Ce<=Pe.stops[0][0])return Pe.stops[0][1];if(Ce>=Pe.stops[De-1][0])return Pe.stops[De-1][1];const Ke=la(Pe.stops.map(Ve=>Ve[0]),Ce);return Pe.stops[Ke][1]}function zd(Pe,de,Ce){const De=Pe.base!==void 0?Pe.base:1;if(al(Ce)!=="number")return Od(Pe.default,de.default);const Ke=Pe.stops.length;if(Ke===1||Ce<=Pe.stops[0][0])return Pe.stops[0][1];if(Ce>=Pe.stops[Ke-1][0])return Pe.stops[Ke-1][1];const Ve=la(Pe.stops.map(cr=>cr[0]),Ce),er=function(cr,Mr,Er,xr){const Sr=xr-Er,Ir=cr-Er;return Sr===0?0:Mr===1?Ir/Sr:(Math.pow(Mr,Ir)-1)/(Math.pow(Mr,Sr)-1)}(Ce,De,Pe.stops[Ve][0],Pe.stops[Ve+1][0]),fr=Pe.stops[Ve][1],wr=Pe.stops[Ve+1][1];let Lr=xa[de.type]||q0;if(Pe.colorSpace&&Pe.colorSpace!=="rgb"){const cr=Fm[Pe.colorSpace];Lr=(Mr,Er)=>cr.reverse(cr.interpolate(cr.forward(Mr),cr.forward(Er),er))}return typeof fr.evaluate=="function"?{evaluate(...cr){const Mr=fr.evaluate.apply(void 0,cr),Er=wr.evaluate.apply(void 0,cr);if(Mr!==void 0&&Er!==void 0)return Lr(Mr,Er,er)}}:Lr(fr,wr,er)}function G0(Pe,de,Ce){return de.type==="color"?Ce=Ca.parse(Ce):de.type==="formatted"?Ce=Ys.fromString(Ce.toString()):de.type==="resolvedImage"?Ce=$s.build(Ce.toString()):al(Ce)===de.type||de.type==="enum"&&de.values[Ce]||(Ce=void 0),Od(Ce,Pe.default,de.default)}bl.register(oh,{error:[{kind:"error"},[$a],(Pe,[de])=>{throw new Ts(de.evaluate(Pe))}],typeof:[$a,[va],(Pe,[de])=>ts(ds(de.evaluate(Pe)))],"to-rgba":[dl(Eo,4),[Dl],(Pe,[de])=>de.evaluate(Pe).toRenderColor(null).toArray()],"to-hsla":[dl(Eo,4),[Dl],(Pe,[de])=>de.evaluate(Pe).toRenderColor(null).toHslaArray()],rgb:[Dl,[Eo,Eo,Eo],Gi],rgba:[Dl,[Eo,Eo,Eo,Eo],Gi],hsl:[Dl,[Eo,Eo,Eo],Tu],hsla:[Dl,[Eo,Eo,Eo,Eo],Tu],has:{type:Ta,overloads:[[[$a],(Pe,[de])=>Hh(de.evaluate(Pe),Pe.properties())],[[$a,Gu],(Pe,[de,Ce])=>Hh(de.evaluate(Pe),Ce.evaluate(Pe))]]},get:{type:va,overloads:[[[$a],(Pe,[de])=>el(de.evaluate(Pe),Pe.properties())],[[$a,Gu],(Pe,[de,Ce])=>el(de.evaluate(Pe),Ce.evaluate(Pe))]]},"feature-state":[va,[$a],(Pe,[de])=>el(de.evaluate(Pe),Pe.featureState||{})],properties:[Gu,[],Pe=>Pe.properties()],"geometry-type":[$a,[],Pe=>Pe.geometryType()],id:[va,[],Pe=>Pe.id()],zoom:[Eo,[],Pe=>Pe.globals.zoom],pitch:[Eo,[],Pe=>Pe.globals.pitch||0],"distance-from-center":[Eo,[],Pe=>Pe.distanceFromCenter()],"measure-light":[Eo,[$a],(Pe,[de])=>Pe.measureLight(de.evaluate(Pe))],"heatmap-density":[Eo,[],Pe=>Pe.globals.heatmapDensity||0],"line-progress":[Eo,[],Pe=>Pe.globals.lineProgress||0],"raster-value":[Eo,[],Pe=>Pe.globals.rasterValue||0],"raster-particle-speed":[Eo,[],Pe=>Pe.globals.rasterParticleSpeed||0],"sky-radial-progress":[Eo,[],Pe=>Pe.globals.skyRadialProgress||0],accumulated:[va,[],Pe=>Pe.globals.accumulated===void 0?null:Pe.globals.accumulated],"+":[Eo,Da(Eo),(Pe,de)=>{let Ce=0;for(const De of de)Ce+=De.evaluate(Pe);return Ce}],"*":[Eo,Da(Eo),(Pe,de)=>{let Ce=1;for(const De of de)Ce*=De.evaluate(Pe);return Ce}],"-":{type:Eo,overloads:[[[Eo,Eo],(Pe,[de,Ce])=>de.evaluate(Pe)-Ce.evaluate(Pe)],[[Eo],(Pe,[de])=>-de.evaluate(Pe)]]},"/":[Eo,[Eo,Eo],(Pe,[de,Ce])=>de.evaluate(Pe)/Ce.evaluate(Pe)],"%":[Eo,[Eo,Eo],(Pe,[de,Ce])=>de.evaluate(Pe)%Ce.evaluate(Pe)],ln2:[Eo,[],()=>Math.LN2],pi:[Eo,[],()=>Math.PI],e:[Eo,[],()=>Math.E],"^":[Eo,[Eo,Eo],(Pe,[de,Ce])=>Math.pow(de.evaluate(Pe),Ce.evaluate(Pe))],sqrt:[Eo,[Eo],(Pe,[de])=>Math.sqrt(de.evaluate(Pe))],log10:[Eo,[Eo],(Pe,[de])=>Math.log(de.evaluate(Pe))/Math.LN10],ln:[Eo,[Eo],(Pe,[de])=>Math.log(de.evaluate(Pe))],log2:[Eo,[Eo],(Pe,[de])=>Math.log(de.evaluate(Pe))/Math.LN2],sin:[Eo,[Eo],(Pe,[de])=>Math.sin(de.evaluate(Pe))],cos:[Eo,[Eo],(Pe,[de])=>Math.cos(de.evaluate(Pe))],tan:[Eo,[Eo],(Pe,[de])=>Math.tan(de.evaluate(Pe))],asin:[Eo,[Eo],(Pe,[de])=>Math.asin(de.evaluate(Pe))],acos:[Eo,[Eo],(Pe,[de])=>Math.acos(de.evaluate(Pe))],atan:[Eo,[Eo],(Pe,[de])=>Math.atan(de.evaluate(Pe))],min:[Eo,Da(Eo),(Pe,de)=>Math.min(...de.map(Ce=>Ce.evaluate(Pe)))],max:[Eo,Da(Eo),(Pe,de)=>Math.max(...de.map(Ce=>Ce.evaluate(Pe)))],abs:[Eo,[Eo],(Pe,[de])=>Math.abs(de.evaluate(Pe))],round:[Eo,[Eo],(Pe,[de])=>{const Ce=de.evaluate(Pe);return Ce<0?-Math.round(-Ce):Math.round(Ce)}],floor:[Eo,[Eo],(Pe,[de])=>Math.floor(de.evaluate(Pe))],ceil:[Eo,[Eo],(Pe,[de])=>Math.ceil(de.evaluate(Pe))],"filter-==":[Ta,[$a,va],(Pe,[de,Ce])=>Pe.properties()[de.value]===Ce.value],"filter-id-==":[Ta,[va],(Pe,[de])=>Pe.id()===de.value],"filter-type-==":[Ta,[$a],(Pe,[de])=>Pe.geometryType()===de.value],"filter-<":[Ta,[$a,va],(Pe,[de,Ce])=>{const De=Pe.properties()[de.value],Ke=Ce.value;return typeof De==typeof Ke&&De<Ke}],"filter-id-<":[Ta,[va],(Pe,[de])=>{const Ce=Pe.id(),De=de.value;return typeof Ce==typeof De&&Ce<De}],"filter->":[Ta,[$a,va],(Pe,[de,Ce])=>{const De=Pe.properties()[de.value],Ke=Ce.value;return typeof De==typeof Ke&&De>Ke}],"filter-id->":[Ta,[va],(Pe,[de])=>{const Ce=Pe.id(),De=de.value;return typeof Ce==typeof De&&Ce>De}],"filter-<=":[Ta,[$a,va],(Pe,[de,Ce])=>{const De=Pe.properties()[de.value],Ke=Ce.value;return typeof De==typeof Ke&&De<=Ke}],"filter-id-<=":[Ta,[va],(Pe,[de])=>{const Ce=Pe.id(),De=de.value;return typeof Ce==typeof De&&Ce<=De}],"filter->=":[Ta,[$a,va],(Pe,[de,Ce])=>{const De=Pe.properties()[de.value],Ke=Ce.value;return typeof De==typeof Ke&&De>=Ke}],"filter-id->=":[Ta,[va],(Pe,[de])=>{const Ce=Pe.id(),De=de.value;return typeof Ce==typeof De&&Ce>=De}],"filter-has":[Ta,[va],(Pe,[de])=>de.value in Pe.properties()],"filter-has-id":[Ta,[],Pe=>Pe.id()!==null&&Pe.id()!==void 0],"filter-type-in":[Ta,[dl($a)],(Pe,[de])=>de.value.indexOf(Pe.geometryType())>=0],"filter-id-in":[Ta,[dl(va)],(Pe,[de])=>de.value.indexOf(Pe.id())>=0],"filter-in-small":[Ta,[$a,dl(va)],(Pe,[de,Ce])=>Ce.value.indexOf(Pe.properties()[de.value])>=0],"filter-in-large":[Ta,[$a,dl(va)],(Pe,[de,Ce])=>function(De,Ke,Ve,er){for(;Ve<=er;){const fr=Ve+er>>1;if(Ke[fr]===De)return!0;Ke[fr]>De?er=fr-1:Ve=fr+1}return!1}(Pe.properties()[de.value],Ce.value,0,Ce.value.length-1)],all:{type:Ta,overloads:[[[Ta,Ta],(Pe,[de,Ce])=>de.evaluate(Pe)&&Ce.evaluate(Pe)],[Da(Ta),(Pe,de)=>{for(const Ce of de)if(!Ce.evaluate(Pe))return!1;return!0}]]},any:{type:Ta,overloads:[[[Ta,Ta],(Pe,[de,Ce])=>de.evaluate(Pe)||Ce.evaluate(Pe)],[Da(Ta),(Pe,de)=>{for(const Ce of de)if(Ce.evaluate(Pe))return!0;return!1}]]},"!":[Ta,[Ta],(Pe,[de])=>!de.evaluate(Pe)],"is-supported-script":[Ta,[$a],(Pe,[de])=>{const Ce=Pe.globals&&Pe.globals.isSupportedScript;return!Ce||Ce(de.evaluate(Pe))}],upcase:[$a,[$a],(Pe,[de])=>de.evaluate(Pe).toUpperCase()],downcase:[$a,[$a],(Pe,[de])=>de.evaluate(Pe).toLowerCase()],concat:[$a,Da(va),(Pe,de)=>de.map(Ce=>dc(Ce.evaluate(Pe))).join("")],"resolved-locale":[$a,[gs],(Pe,[de])=>de.evaluate(Pe).resolvedLocale()],random:[Eo,[Eo,Eo,va],(Pe,de)=>{const[Ce,De,Ke]=de.map(er=>er.evaluate(Pe));if(Ce>De||Ce===De)return Ce;let Ve;if(typeof Ke=="string")Ve=function(er){let fr=0;if(er.length===0)return fr;for(let wr=0;wr<er.length;wr++)fr=(fr<<5)-fr+er.charCodeAt(wr),fr|=0;return fr}(Ke);else{if(typeof Ke!="number")throw new Ts(`Invalid seed input: ${Ke}`);Ve=Ke}return Ce+Gh(Ve)()*(De-Ce)}]});class mc{constructor(de,Ce,De,Ke){this.expression=de,this._warningHistory={},this._evaluator=new Zu(De,Ke),this._defaultValue=Ce?function(Ve){return Ve.type==="color"&&(Nf(Ve.default)||Array.isArray(Ve.default))?new Ca(0,0,0,0):Ve.type==="color"?Ca.parse(Ve.default)||null:Ve.default===void 0?null:Ve.default}(Ce):null,this._enumValues=Ce&&Ce.type==="enum"?Ce.values:null,this.configDependencies=Eu(de)}evaluateWithoutErrorHandling(de,Ce,De,Ke,Ve,er,fr,wr){return this._evaluator.globals=de,this._evaluator.feature=Ce,this._evaluator.featureState=De,this._evaluator.canonical=Ke||null,this._evaluator.availableImages=Ve||null,this._evaluator.formattedSection=er,this._evaluator.featureTileCoord=fr||null,this._evaluator.featureDistanceData=wr||null,this.expression.evaluate(this._evaluator)}evaluate(de,Ce,De,Ke,Ve,er,fr,wr){this._evaluator.globals=de,this._evaluator.feature=Ce||null,this._evaluator.featureState=De||null,this._evaluator.canonical=Ke||null,this._evaluator.availableImages=Ve||null,this._evaluator.formattedSection=er||null,this._evaluator.featureTileCoord=fr||null,this._evaluator.featureDistanceData=wr||null;try{const Lr=this.expression.evaluate(this._evaluator);if(Lr==null||typeof Lr=="number"&&Lr!=Lr)return this._defaultValue;if(this._enumValues&&!(Lr in this._enumValues))throw new Ts(`Expected value to be one of ${Object.keys(this._enumValues).map(cr=>JSON.stringify(cr)).join(", ")}, but found ${JSON.stringify(Lr)} instead.`);return Lr}catch(Lr){return this._warningHistory[Lr.message]||(this._warningHistory[Lr.message]=!0,typeof console<"u"&&console.warn(`Failed to evaluate expression "${JSON.stringify(this.expression.serialize())}". ${Lr.message}`)),this._defaultValue}}}function Up(Pe){return Array.isArray(Pe)&&Pe.length>0&&typeof Pe[0]=="string"&&Pe[0]in oh}function Fd(Pe,de,Ce,De){const Ke=new Ip(oh,[],de?function(er){const fr={color:Dl,string:$a,number:Eo,enum:$a,boolean:Ta,formatted:es,resolvedImage:Hu};return er.type==="array"?dl(fr[er.value]||va,er.length):fr[er.type]}(de):void 0,void 0,void 0,Ce,De),Ve=Ke.parse(Pe,void 0,void 0,void 0,de&&de.type==="string"?{typeAnnotation:"coerce"}:void 0);return Ve?Vp(new mc(Ve,de,Ce,De)):Au(Ke.errors)}class Vf{constructor(de,Ce,De,Ke){this.kind=de,this._styleExpression=Ce,this.isLightConstant=De,this.isLineProgressConstant=Ke,this.isStateDependent=de!=="constant"&&!Ju(Ce.expression),this.configDependencies=Eu(Ce.expression)}evaluateWithoutErrorHandling(de,Ce,De,Ke,Ve,er){return this._styleExpression.evaluateWithoutErrorHandling(de,Ce,De,Ke,Ve,er)}evaluate(de,Ce,De,Ke,Ve,er){return this._styleExpression.evaluate(de,Ce,De,Ke,Ve,er)}}class Wh{constructor(de,Ce,De,Ke,Ve,er){this.kind=de,this.zoomStops=De,this._styleExpression=Ce,this.isStateDependent=de!=="camera"&&!Ju(Ce.expression),this.isLightConstant=Ve,this.isLineProgressConstant=er,this.configDependencies=Eu(Ce.expression),this.interpolationType=Ke}evaluateWithoutErrorHandling(de,Ce,De,Ke,Ve,er){return this._styleExpression.evaluateWithoutErrorHandling(de,Ce,De,Ke,Ve,er)}evaluate(de,Ce,De,Ke,Ve,er){return this._styleExpression.evaluate(de,Ce,De,Ke,Ve,er)}interpolationFactor(de,Ce,De){return this.interpolationType?Vl.interpolationFactor(this.interpolationType,de,Ce,De):0}}function qm(Pe,de,Ce,De){if((Pe=Fd(Pe,de,Ce,De)).result==="error")return Pe;const Ke=Pe.value.expression,Ve=rs(Ke);if(!Ve&&!pc(de))return Au([new hc("","data expressions not supported")]);const er=fc(Ke,["zoom","pitch","distance-from-center"]);if(!er&&!Vm(de))return Au([new hc("","zoom expressions not supported")]);const fr=fc(Ke,["measure-light"]);if(!fr&&!Nm(de))return Au([new hc("","measure-light expression not supported")]);const wr=fc(Ke,["line-progress"]);if(!wr&&!function(Mr){return Dd(Mr.expression,"line-progress")}(de))return Au([new hc("","line-progress expression not supported")]);const Lr=de.expression&&de.expression.relaxZoomRestriction,cr=Uf(Ke);return cr||er||Lr?cr instanceof hc?Au([cr]):cr instanceof Vl&&!Ff(de)?Au([new hc("",'"interpolate" expressions cannot be used with this property')]):Vp(cr?new Wh(Ve&&wr?"camera":"composite",Pe.value,cr.labels,cr instanceof Vl?cr.interpolation:void 0,fr,wr):new Vf(Ve&&wr?"constant":"source",Pe.value,fr,wr)):Au([new hc("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression, or in the properties of atmosphere.')])}class Gc{constructor(de,Ce){this._parameters=de,this._specification=Ce,Sf(this,qc(this._parameters,this._specification))}static deserialize(de){return new Gc(de._parameters,de._specification)}static serialize(de){return{_parameters:de._parameters,_specification:de._specification}}}function Uf(Pe){let de=null;if(Pe instanceof $f)de=Uf(Pe.result);else if(Pe instanceof Qs){for(const Ce of Pe.args)if(de=Uf(Ce),de)break}else(Pe instanceof Cu||Pe instanceof Vl)&&Pe.input instanceof bl&&Pe.input.name==="zoom"&&(de=Pe);return de instanceof hc||Pe.eachChild(Ce=>{const De=Uf(Ce);De instanceof hc?de=De:de&&De&&de!==De&&(de=new hc("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),de}var jf,vc,H0=function(){if(vc)return jf;vc=1,jf=de;var Pe=3;function de(Ce,De,Ke){var Ve=this.cells=[];if(Ce instanceof ArrayBuffer){this.arrayBuffer=Ce;var er=new Int32Array(this.arrayBuffer);Ce=er[0],this.d=(De=er[1])+2*(Ke=er[2]);for(var fr=0;fr<this.d*this.d;fr++){var wr=er[Pe+fr],Lr=er[Pe+fr+1];Ve.push(wr===Lr?null:er.subarray(wr,Lr))}var cr=er[Pe+Ve.length+1];this.keys=er.subarray(er[Pe+Ve.length],cr),this.bboxes=er.subarray(cr),this.insert=this._insertReadonly}else{this.d=De+2*Ke;for(var Mr=0;Mr<this.d*this.d;Mr++)Ve.push([]);this.keys=[],this.bboxes=[]}this.n=De,this.extent=Ce,this.padding=Ke,this.scale=De/Ce,this.uid=0;var Er=Ke/De*Ce;this.min=-Er,this.max=Ce+Er}return de.prototype.insert=function(Ce,De,Ke,Ve,er){this._forEachCell(De,Ke,Ve,er,this._insertCell,this.uid++),this.keys.push(Ce),this.bboxes.push(De),this.bboxes.push(Ke),this.bboxes.push(Ve),this.bboxes.push(er)},de.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},de.prototype._insertCell=function(Ce,De,Ke,Ve,er,fr){this.cells[er].push(fr)},de.prototype.query=function(Ce,De,Ke,Ve,er){var fr=this.min,wr=this.max;if(Ce<=fr&&De<=fr&&wr<=Ke&&wr<=Ve&&!er)return Array.prototype.slice.call(this.keys);var Lr=[];return this._forEachCell(Ce,De,Ke,Ve,this._queryCell,Lr,{},er),Lr},de.prototype._queryCell=function(Ce,De,Ke,Ve,er,fr,wr,Lr){var cr=this.cells[er];if(cr!==null)for(var Mr=this.keys,Er=this.bboxes,xr=0;xr<cr.length;xr++){var Sr=cr[xr];if(wr[Sr]===void 0){var Ir=4*Sr;(Lr?Lr(Er[Ir+0],Er[Ir+1],Er[Ir+2],Er[Ir+3]):Ce<=Er[Ir+2]&&De<=Er[Ir+3]&&Ke>=Er[Ir+0]&&Ve>=Er[Ir+1])?(wr[Sr]=!0,fr.push(Mr[Sr])):wr[Sr]=!1}}},de.prototype._forEachCell=function(Ce,De,Ke,Ve,er,fr,wr,Lr){for(var cr=this._convertToCellCoord(Ce),Mr=this._convertToCellCoord(De),Er=this._convertToCellCoord(Ke),xr=this._convertToCellCoord(Ve),Sr=cr;Sr<=Er;Sr++)for(var Ir=Mr;Ir<=xr;Ir++){var jr=this.d*Ir+Sr;if((!Lr||Lr(this._convertFromCellCoord(Sr),this._convertFromCellCoord(Ir),this._convertFromCellCoord(Sr+1),this._convertFromCellCoord(Ir+1)))&&er.call(this,Ce,De,Ke,Ve,jr,fr,wr,Lr))return}},de.prototype._convertFromCellCoord=function(Ce){return(Ce-this.padding)/this.scale},de.prototype._convertToCellCoord=function(Ce){return Math.max(0,Math.min(this.d-1,Math.floor(Ce*this.scale)+this.padding))},de.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var Ce=this.cells,De=Pe+this.cells.length+1+1,Ke=0,Ve=0;Ve<this.cells.length;Ve++)Ke+=this.cells[Ve].length;var er=new Int32Array(De+Ke+this.keys.length+this.bboxes.length);er[0]=this.extent,er[1]=this.n,er[2]=this.padding;for(var fr=De,wr=0;wr<Ce.length;wr++){var Lr=Ce[wr];er[Pe+wr]=fr,er.set(Lr,fr),fr+=Lr.length}return er[Pe+Ce.length]=fr,er.set(this.keys,fr),er[Pe+Ce.length+1]=fr+=this.keys.length,er.set(this.bboxes,fr),fr+=this.bboxes.length,er.buffer},jf}(),ah=rr(H0);const Nd={};function Co(Pe,de,Ce={}){Object.defineProperty(Pe,"_classRegistryKey",{value:de,writable:!1}),Nd[de]={klass:Pe,omit:Ce.omit||[]}}Co(Object,"Object"),ah.serialize=function(Pe,de){const Ce=Pe.toArrayBuffer();return de&&de.add(Ce),{buffer:Ce}},ah.deserialize=function(Pe){return new ah(Pe.buffer)},Object.defineProperty(ah,"name",{value:"Grid"}),Co(ah,"Grid"),typeof DOMMatrix<"u"&&Co(DOMMatrix,"DOMMatrix"),Co(Ca,"Color"),Co(Error,"Error"),Co(Ys,"Formatted"),Co(Ps,"FormattedSection"),Co(hs,"AJAXError"),Co($s,"ResolvedImage"),Co(Gc,"StylePropertyFunction"),Co(mc,"StyleExpression",{omit:["_evaluator"]}),Co(yl,"ImageIdWithOptions"),Co(Wh,"ZoomDependentExpression"),Co(Vf,"ZoomConstantExpression"),Co(bl,"CompoundExpression",{omit:["_evaluate"]});for(const Pe in oh)Nd[oh[Pe]._classRegistryKey]||Co(oh[Pe],`Expression${Pe}`);function Gm(Pe){return Pe&&typeof ArrayBuffer<"u"&&(Pe instanceof ArrayBuffer||Pe.constructor&&Pe.constructor.name==="ArrayBuffer")}function ku(Pe){return self.ImageBitmap&&Pe instanceof ImageBitmap}function Lu(Pe,de){if(Pe==null||typeof Pe=="boolean"||typeof Pe=="number"||typeof Pe=="string"||Pe instanceof Boolean||Pe instanceof Number||Pe instanceof String||Pe instanceof Date||Pe instanceof RegExp)return Pe;if(Gm(Pe)||ku(Pe))return de&&de.add(Pe),Pe;if(ArrayBuffer.isView(Pe))return de&&de.add(Pe.buffer),Pe;if(Pe instanceof ImageData)return de&&de.add(Pe.data.buffer),Pe;if(Array.isArray(Pe)){const Ce=[];for(const De of Pe)Ce.push(Lu(De,de));return Ce}if(Pe instanceof Map){const Ce={$name:"Map"};for(const[De,Ke]of Pe.entries())Ce[De]=Lu(Ke);return Ce}if(Pe instanceof Set){const Ce={$name:"Set"};let De=0;for(const Ke of Pe.values())Ce[++De]=Lu(Ke);return Ce}if(typeof Pe=="object"){const Ce=Pe.constructor,De=Ce._classRegistryKey;if(!De)throw new Error(`Can't serialize object of unregistered class "${De}".`);const Ke=Ce.serialize?Ce.serialize(Pe,de):{};if(!Ce.serialize){for(const Ve in Pe)Pe.hasOwnProperty(Ve)&&(Nd[De].omit.indexOf(Ve)>=0||(Ke[Ve]=Lu(Pe[Ve],de)));Pe instanceof Error&&(Ke.message=Pe.message)}if(Ke.$name)throw new Error("$name property is reserved for worker serialization logic.");return De!=="Object"&&(Ke.$name=De),Ke}throw new Error("can't serialize object of type "+typeof Pe)}function lh(Pe){if(Pe==null||typeof Pe=="boolean"||typeof Pe=="number"||typeof Pe=="string"||Pe instanceof Boolean||Pe instanceof Number||Pe instanceof String||Pe instanceof Date||Pe instanceof RegExp||Gm(Pe)||ku(Pe)||ArrayBuffer.isView(Pe)||Pe instanceof ImageData)return Pe;if(Array.isArray(Pe))return Pe.map(lh);if(typeof Pe=="object"){const de=Pe.$name||"Object";if(de==="Map"){const Ke=new Map;for(const Ve of Object.keys(Pe))Ve!=="$name"&&Ke.set(Ve,lh(Pe[Ve]));return Ke}if(de==="Set"){const Ke=new Set;for(const Ve of Object.keys(Pe))Ve!=="$name"&&Ke.add(lh(Pe[Ve]));return Ke}const{klass:Ce}=Nd[de];if(!Ce)throw new Error(`Can't deserialize unregistered class "${de}".`);if(Ce.deserialize)return Ce.deserialize(Pe);const De=Object.create(Ce.prototype);for(const Ke of Object.keys(Pe))Ke!=="$name"&&(De[Ke]=lh(Pe[Ke]));return De}throw new Error("can't deserialize object of type "+typeof Pe)}const Ro={"Latin-1 Supplement":Pe=>Pe>=128&&Pe<=255,Arabic:Pe=>Pe>=1536&&Pe<=1791,"Arabic Supplement":Pe=>Pe>=1872&&Pe<=1919,"Arabic Extended-A":Pe=>Pe>=2208&&Pe<=2303,"Hangul Jamo":Pe=>Pe>=4352&&Pe<=4607,"Unified Canadian Aboriginal Syllabics":Pe=>Pe>=5120&&Pe<=5759,Khmer:Pe=>Pe>=6016&&Pe<=6143,"Unified Canadian Aboriginal Syllabics Extended":Pe=>Pe>=6320&&Pe<=6399,"General Punctuation":Pe=>Pe>=8192&&Pe<=8303,"Letterlike Symbols":Pe=>Pe>=8448&&Pe<=8527,"Number Forms":Pe=>Pe>=8528&&Pe<=8591,"Miscellaneous Technical":Pe=>Pe>=8960&&Pe<=9215,"Control Pictures":Pe=>Pe>=9216&&Pe<=9279,"Optical Character Recognition":Pe=>Pe>=9280&&Pe<=9311,"Enclosed Alphanumerics":Pe=>Pe>=9312&&Pe<=9471,"Geometric Shapes":Pe=>Pe>=9632&&Pe<=9727,"Miscellaneous Symbols":Pe=>Pe>=9728&&Pe<=9983,"Miscellaneous Symbols and Arrows":Pe=>Pe>=11008&&Pe<=11263,"CJK Radicals Supplement":Pe=>Pe>=11904&&Pe<=12031,"Kangxi Radicals":Pe=>Pe>=12032&&Pe<=12255,"Ideographic Description Characters":Pe=>Pe>=12272&&Pe<=12287,"CJK Symbols and Punctuation":Pe=>Pe>=12288&&Pe<=12351,Hiragana:Pe=>Pe>=12352&&Pe<=12447,Katakana:Pe=>Pe>=12448&&Pe<=12543,Bopomofo:Pe=>Pe>=12544&&Pe<=12591,"Hangul Compatibility Jamo":Pe=>Pe>=12592&&Pe<=12687,Kanbun:Pe=>Pe>=12688&&Pe<=12703,"Bopomofo Extended":Pe=>Pe>=12704&&Pe<=12735,"CJK Strokes":Pe=>Pe>=12736&&Pe<=12783,"Katakana Phonetic Extensions":Pe=>Pe>=12784&&Pe<=12799,"Enclosed CJK Letters and Months":Pe=>Pe>=12800&&Pe<=13055,"CJK Compatibility":Pe=>Pe>=13056&&Pe<=13311,"CJK Unified Ideographs Extension A":Pe=>Pe>=13312&&Pe<=19903,"Yijing Hexagram Symbols":Pe=>Pe>=19904&&Pe<=19967,"CJK Unified Ideographs":Pe=>Pe>=19968&&Pe<=40959,"Yi Syllables":Pe=>Pe>=40960&&Pe<=42127,"Yi Radicals":Pe=>Pe>=42128&&Pe<=42191,"Hangul Jamo Extended-A":Pe=>Pe>=43360&&Pe<=43391,"Hangul Syllables":Pe=>Pe>=44032&&Pe<=55215,"Hangul Jamo Extended-B":Pe=>Pe>=55216&&Pe<=55295,"Private Use Area":Pe=>Pe>=57344&&Pe<=63743,"CJK Compatibility Ideographs":Pe=>Pe>=63744&&Pe<=64255,"Arabic Presentation Forms-A":Pe=>Pe>=64336&&Pe<=65023,"Vertical Forms":Pe=>Pe>=65040&&Pe<=65055,"CJK Compatibility Forms":Pe=>Pe>=65072&&Pe<=65103,"Small Form Variants":Pe=>Pe>=65104&&Pe<=65135,"Arabic Presentation Forms-B":Pe=>Pe>=65136&&Pe<=65279,"Halfwidth and Fullwidth Forms":Pe=>Pe>=65280&&Pe<=65519,Osage:Pe=>Pe>=66736&&Pe<=66815,"CJK Unified Ideographs Extension B":Pe=>Pe>=131072&&Pe<=173791};function Zh(Pe){for(const de of Pe)if(qf(de.charCodeAt(0)))return!0;return!1}function Xh(Pe){for(const de of Pe)if(!Vd(de.charCodeAt(0)))return!1;return!0}function Vd(Pe){return!(Ro.Arabic(Pe)||Ro["Arabic Supplement"](Pe)||Ro["Arabic Extended-A"](Pe)||Ro["Arabic Presentation Forms-A"](Pe)||Ro["Arabic Presentation Forms-B"](Pe))}function qf(Pe){return!(Pe!==746&&Pe!==747&&(Pe<4352||!(Ro["Bopomofo Extended"](Pe)||Ro.Bopomofo(Pe)||Ro["CJK Compatibility Forms"](Pe)&&!(Pe>=65097&&Pe<=65103)||Ro["CJK Compatibility Ideographs"](Pe)||Ro["CJK Compatibility"](Pe)||Ro["CJK Radicals Supplement"](Pe)||Ro["CJK Strokes"](Pe)||!(!Ro["CJK Symbols and Punctuation"](Pe)||Pe>=12296&&Pe<=12305||Pe>=12308&&Pe<=12319||Pe===12336)||Ro["CJK Unified Ideographs Extension A"](Pe)||Ro["CJK Unified Ideographs"](Pe)||Ro["Enclosed CJK Letters and Months"](Pe)||Ro["Hangul Compatibility Jamo"](Pe)||Ro["Hangul Jamo Extended-A"](Pe)||Ro["Hangul Jamo Extended-B"](Pe)||Ro["Hangul Jamo"](Pe)||Ro["Hangul Syllables"](Pe)||Ro.Hiragana(Pe)||Ro["Ideographic Description Characters"](Pe)||Ro.Kanbun(Pe)||Ro["Kangxi Radicals"](Pe)||Ro["Katakana Phonetic Extensions"](Pe)||Ro.Katakana(Pe)&&Pe!==12540||!(!Ro["Halfwidth and Fullwidth Forms"](Pe)||Pe===65288||Pe===65289||Pe===65293||Pe>=65306&&Pe<=65310||Pe===65339||Pe===65341||Pe===65343||Pe>=65371&&Pe<=65503||Pe===65507||Pe>=65512&&Pe<=65519)||!(!Ro["Small Form Variants"](Pe)||Pe>=65112&&Pe<=65118||Pe>=65123&&Pe<=65126)||Ro["Unified Canadian Aboriginal Syllabics"](Pe)||Ro["Unified Canadian Aboriginal Syllabics Extended"](Pe)||Ro["Vertical Forms"](Pe)||Ro["Yijing Hexagram Symbols"](Pe)||Ro["Yi Syllables"](Pe)||Ro["Yi Radicals"](Pe))))}function Ud(Pe){return!(qf(Pe)||function(de){return!!(Ro["Latin-1 Supplement"](de)&&(de===167||de===169||de===174||de===177||de===188||de===189||de===190||de===215||de===247)||Ro["General Punctuation"](de)&&(de===8214||de===8224||de===8225||de===8240||de===8241||de===8251||de===8252||de===8258||de===8263||de===8264||de===8265||de===8273)||Ro["Letterlike Symbols"](de)||Ro["Number Forms"](de)||Ro["Miscellaneous Technical"](de)&&(de>=8960&&de<=8967||de>=8972&&de<=8991||de>=8996&&de<=9e3||de===9003||de>=9085&&de<=9114||de>=9150&&de<=9165||de===9167||de>=9169&&de<=9179||de>=9186&&de<=9215)||Ro["Control Pictures"](de)&&de!==9251||Ro["Optical Character Recognition"](de)||Ro["Enclosed Alphanumerics"](de)||Ro["Geometric Shapes"](de)||Ro["Miscellaneous Symbols"](de)&&!(de>=9754&&de<=9759)||Ro["Miscellaneous Symbols and Arrows"](de)&&(de>=11026&&de<=11055||de>=11088&&de<=11097||de>=11192&&de<=11243)||Ro["CJK Symbols and Punctuation"](de)||Ro.Katakana(de)||Ro["Private Use Area"](de)||Ro["CJK Compatibility Forms"](de)||Ro["Small Form Variants"](de)||Ro["Halfwidth and Fullwidth Forms"](de)||de===8734||de===8756||de===8757||de>=9984&&de<=10087||de>=10102&&de<=10131||de===65532||de===65533)}(Pe))}function Gf(Pe){return Pe>=1424&&Pe<=2303||Ro["Arabic Presentation Forms-A"](Pe)||Ro["Arabic Presentation Forms-B"](Pe)}function Hc(Pe,de){return!(!de&&Gf(Pe)||Pe>=2304&&Pe<=3583||Pe>=3840&&Pe<=4255||Ro.Khmer(Pe))}function jp(Pe){for(const de of Pe)if(Gf(de.charCodeAt(0)))return!0;return!1}const Sl="deferred",Ul="loading",qp="loaded";let jd=null,kl="unavailable",Ll=null;const Wc=function(Pe){Pe&&typeof Pe=="string"&&Pe.indexOf("NetworkError")>-1&&(kl="error"),jd&&jd(Pe)};function uh(){Hf.fire(new Nc("pluginStateChange",{pluginStatus:kl,pluginURL:Ll}))}const Hf=new Bh,Yh=function(){return kl},Hm=function(){if(kl!==Sl||!Ll)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");kl=Ul,uh(),Ll&&wu({url:Ll},Pe=>{Pe?Wc(Pe):(kl=qp,uh())})},Bl={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:()=>kl===qp||Bl.applyArabicShaping!=null,isLoading:()=>kl===Ul,setState(Pe){kl=Pe.pluginStatus,Ll=Pe.pluginURL},isParsed:()=>Bl.applyArabicShaping!=null&&Bl.processBidirectionalText!=null&&Bl.processStyledBidirectionalText!=null,getPluginURL:()=>Ll};class wa{constructor(de,Ce){this.zoom=de,Ce?(this.now=Ce.now,this.fadeDuration=Ce.fadeDuration,this.transition=Ce.transition,this.pitch=Ce.pitch,this.brightness=Ce.brightness):(this.now=0,this.fadeDuration=0,this.transition={},this.pitch=0,this.brightness=0)}isSupportedScript(de){return function(Ce,De){for(const Ke of Ce)if(!Hc(Ke.charCodeAt(0),De))return!1;return!0}(de,Bl.isLoaded())}}class hh{constructor(de,Ce,De,Ke){this.property=de,this.value=Ce,this.expression=function(Ve,er,fr,wr){if(Nf(Ve))return new Gc(Ve,er);if(Up(Ve)||Array.isArray(Ve)&&Ve.length>0){const Lr=qm(Ve,er,fr,wr);if(Lr.result==="error")throw new Error(Lr.value.map(cr=>`${cr.key}: ${cr.message}`).join(", "));return Lr.value}{let Lr=Ve;return typeof Ve=="string"&&er.type==="color"&&(Lr=Ca.parse(Ve)),{kind:"constant",configDependencies:new Set,evaluate:()=>Lr}}}(Ce===void 0?de.specification.default:Ce,de.specification,De,Ke)}isDataDriven(){return this.expression.kind==="source"||this.expression.kind==="composite"}possiblyEvaluate(de,Ce,De){return this.property.possiblyEvaluate(this,de,Ce,De)}}class fh{constructor(de,Ce,De){this.property=de,this.value=new hh(de,void 0,Ce,De)}transitioned(de,Ce){return new Wf(this.property,this.value,Ce,Wn({},de.transition,this.transition),de.now)}untransitioned(){return new Wf(this.property,this.value,null,{},0)}}class El{constructor(de,Ce,De){this._properties=de,this._values=Object.create(de.defaultTransitionablePropertyValues),this._scope=Ce,this._options=De,this.configDependencies=new Set}getValue(de){return jn(this._values[de].value.value)}setValue(de,Ce){this._values.hasOwnProperty(de)||(this._values[de]=new fh(this._values[de].property,this._scope,this._options)),this._values[de].value=new hh(this._values[de].property,Ce===null?void 0:jn(Ce),this._scope,this._options),this._values[de].value.expression.configDependencies&&(this.configDependencies=new Set([...this.configDependencies,...this._values[de].value.expression.configDependencies]))}setTransitionOrValue(de,Ce){Ce&&(this._options=Ce);const De=this._properties.properties;if(de)for(const Ke in de){const Ve=de[Ke];if(Yn(Ke,"-transition")){const er=Ke.slice(0,-11);De[er]&&this.setTransition(er,Ve)}else De.hasOwnProperty(Ke)&&this.setValue(Ke,Ve)}}getTransition(de){return jn(this._values[de].transition)}setTransition(de,Ce){this._values.hasOwnProperty(de)||(this._values[de]=new fh(this._values[de].property)),this._values[de].transition=jn(Ce)||void 0}serialize(){const de={};for(const Ce of Object.keys(this._values)){const De=this.getValue(Ce);De!==void 0&&(de[Ce]=De);const Ke=this.getTransition(Ce);Ke!==void 0&&(de[`${Ce}-transition`]=Ke)}return de}transitioned(de,Ce){const De=new qd(this._properties);for(const Ke of Object.keys(this._values))De._values[Ke]=this._values[Ke].transitioned(de,Ce._values[Ke]);return De}untransitioned(){const de=new qd(this._properties);for(const Ce of Object.keys(this._values))de._values[Ce]=this._values[Ce].untransitioned();return de}}class Wf{constructor(de,Ce,De,Ke,Ve){const er=Ke.delay||0,fr=Ke.duration||0;Ve=Ve||0,this.property=de,this.value=Ce,this.begin=Ve+er,this.end=this.begin+fr,de.specification.transition&&(Ke.delay||Ke.duration)&&(this.prior=De)}possiblyEvaluate(de,Ce,De){const Ke=de.now||0,Ve=this.value.possiblyEvaluate(de,Ce,De),er=this.prior;if(er){if(Ke>this.end)return this.prior=null,Ve;if(this.value.isDataDriven())return this.prior=null,Ve;if(Ke<this.begin)return er.possiblyEvaluate(de,Ce,De);{const fr=(Ke-this.begin)/(this.end-this.begin);return this.property.interpolate(er.possiblyEvaluate(de,Ce,De),Ve,En(fr))}}return Ve}}class qd{constructor(de){this._properties=de,this._values=Object.create(de.defaultTransitioningPropertyValues)}possiblyEvaluate(de,Ce,De){const Ke=new Zs(this._properties);for(const Ve of Object.keys(this._values))Ke._values[Ve]=this._values[Ve].possiblyEvaluate(de,Ce,De);return Ke}hasTransition(){for(const de of Object.keys(this._values))if(this._values[de].prior)return!0;return!1}}class ph{constructor(de,Ce,De){this._properties=de,this._values=Object.create(de.defaultPropertyValues),this._scope=Ce,this._options=De,this.configDependencies=new Set}getValue(de){return jn(this._values[de].value)}setValue(de,Ce){this._values[de]=new hh(this._values[de].property,Ce===null?void 0:jn(Ce),this._scope,this._options),this._values[de].expression.configDependencies&&(this.configDependencies=new Set([...this.configDependencies,...this._values[de].expression.configDependencies]))}serialize(){const de={};for(const Ce of Object.keys(this._values)){const De=this.getValue(Ce);De!==void 0&&(de[Ce]=De)}return de}possiblyEvaluate(de,Ce,De){const Ke=new Zs(this._properties);for(const Ve of Object.keys(this._values))Ke._values[Ve]=this._values[Ve].possiblyEvaluate(de,Ce,De);return Ke}}class mh{constructor(de,Ce,De){this.property=de,this.value=Ce,this.parameters=De}isConstant(){return this.value.kind==="constant"}constantOr(de){return this.value.kind==="constant"?this.value.value:de}evaluate(de,Ce,De,Ke){return this.property.evaluate(this.value,this.parameters,de,Ce,De,Ke)}}class Zs{constructor(de){this._properties=de,this._values=Object.create(de.defaultPossiblyEvaluatedValues)}get(de){return this._values[de]}}class so{constructor(de){this.specification=de}possiblyEvaluate(de,Ce){return de.expression.evaluate(Ce)}interpolate(de,Ce,De){const Ke=xa[this.specification.type];return Ke?Ke(de,Ce,De):de}}class xo{constructor(de,Ce){this.specification=de,this.overrides=Ce}possiblyEvaluate(de,Ce,De,Ke){return new mh(this,de.expression.kind==="constant"||de.expression.kind==="camera"?{kind:"constant",value:de.expression.evaluate(Ce,null,{},De,Ke)}:de.expression,Ce)}interpolate(de,Ce,De){if(de.value.kind!=="constant"||Ce.value.kind!=="constant")return de;if(de.value.value===void 0||Ce.value.value===void 0)return new mh(this,{kind:"constant",value:void 0},de.parameters);const Ke=xa[this.specification.type];return Ke?new mh(this,{kind:"constant",value:Ke(de.value.value,Ce.value.value,De)},de.parameters):de}evaluate(de,Ce,De,Ke,Ve,er){return de.kind==="constant"?de.value:de.evaluate(Ce,De,Ke,Ve,er)}}class Jh{constructor(de){this.specification=de}possiblyEvaluate(de,Ce,De,Ke){return!!de.expression.evaluate(Ce,null,{},De,Ke)}interpolate(){return!1}}class ys{constructor(de){this.properties=de,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];const Ce=new wa(0,{});for(const De in de){const Ke=de[De];Ke.specification.overridable&&this.overridableProperties.push(De);const Ve=this.defaultPropertyValues[De]=new hh(Ke,void 0),er=this.defaultTransitionablePropertyValues[De]=new fh(Ke);this.defaultTransitioningPropertyValues[De]=er.untransitioned(),this.defaultPossiblyEvaluatedValues[De]=Ve.possiblyEvaluate(Ce)}}}Co(xo,"DataDrivenProperty"),Co(so,"DataConstantProperty"),Co(Jh,"ColorRampProperty");var Cn=JSON.parse('{"$version":8,"$root":{"version":{"required":true,"type":"enum","values":[8]},"fragment":{"type":"boolean"},"name":{"type":"string"},"metadata":{"type":"*"},"center":{"type":"array","value":"number"},"zoom":{"type":"number"},"bearing":{"type":"number","default":0,"period":360},"pitch":{"type":"number","default":0},"light":{"type":"light"},"lights":{"required":false,"type":"array","value":"light-3d"},"terrain":{"type":"terrain","optional":true},"fog":{"type":"fog"},"snow":{"type":"snow","experimental":true},"rain":{"type":"rain","experimental":true},"camera":{"type":"camera"},"color-theme":{"type":"colorTheme"},"indoor":{"type":"indoor","experimental":true},"imports":{"type":"array","value":"import"},"schema":{"type":"schema"},"sources":{"required":true,"type":"sources"},"sprite":{"type":"string"},"glyphs":{"type":"string","default":"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},"transition":{"type":"transition"},"projection":{"type":"projection"},"layers":{"required":true,"type":"array","value":"layer"},"models":{"type":"models"},"featuresets":{"experimental":true,"type":"featuresets"}},"featuresets":{"experimental":true,"*":{"type":"featureset"}},"featureset":{"experimental":true,"metadata":{"type":"*"},"selectors":{"type":"array","value":"selector"}},"selector":{"experimental":true,"layer":{"type":"string","required":true},"properties":{"type":"selectorProperty","required":false},"featureNamespace":{"type":"string","required":false}},"selectorProperty":{"experimental":true,"*":{"type":"*"}},"model":{"type":"string","required":true},"import":{"id":{"type":"string","required":true},"url":{"type":"string","required":true},"config":{"type":"config"},"data":{"type":"$root"},"color-theme":{"type":"colorTheme","optional":true}},"config":{"*":{"type":"*"}},"schema":{"*":{"type":"option"}},"option":{"default":{"type":"*","property-type":"data-constant","expression":{},"required":true},"type":{"type":"enum","values":{"string":1,"number":1,"boolean":1,"color":1}},"array":{"type":"boolean"},"minValue":{"type":"number"},"maxValue":{"type":"number"},"stepValue":{"type":"number"},"values":{"type":"array","value":"*"},"metadata":{"type":"*"}},"models":{"*":{"type":"model"}},"light-3d":{"id":{"type":"string","required":true},"properties":{"type":"properties"},"type":{"type":"enum","values":{"ambient":{},"directional":{},"flat":{}}}},"properties":["properties_light_directional","properties_light_ambient","properties_light_flat"],"properties_light_directional":{"direction":{"type":"array","default":[210,30],"minimum":[0,0],"maximum":[360,90],"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"cast-shadows":{"type":"boolean","default":false,"property-type":"data-constant"},"shadow-quality":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1,"expression":{"parameters":["zoom"]},"experimental":true},"shadow-intensity":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"properties_light_ambient":{"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"properties_light_flat":{"anchor":{"type":"enum","default":"viewport","values":{"map":1,"viewport":1},"property-type":"data-constant","expression":{"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"sources":{"*":{"type":"source"}},"source":["source_vector","source_raster","source_raster_dem","source_raster_array","source_geojson","source_video","source_image","source_model"],"source_vector":{"type":{"required":true,"type":"enum","values":{"vector":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"scheme":{"type":"enum","values":{"xyz":1,"tms":1},"default":"xyz"},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"attribution":{"type":"string"},"promoteId":{"type":"promoteId"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster":{"type":{"required":true,"type":"enum","values":{"raster":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512},"scheme":{"type":"enum","values":{"xyz":1,"tms":1},"default":"xyz"},"attribution":{"type":"string"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_dem":{"type":{"required":true,"type":"enum","values":{"raster-dem":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512},"attribution":{"type":"string"},"encoding":{"type":"enum","values":{"terrarium":1,"mapbox":1},"default":"mapbox"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_array":{"experimental":true,"type":{"required":true,"type":"enum","values":{"raster-array":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512},"attribution":{"type":"string"},"rasterLayers":{"type":"*"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_geojson":{"type":{"required":true,"type":"enum","values":{"geojson":1}},"data":{"type":"*"},"maxzoom":{"type":"number","default":18},"minzoom":{"type":"number","default":0},"attribution":{"type":"string"},"buffer":{"type":"number","default":128,"maximum":512,"minimum":0},"filter":{"type":"*"},"tolerance":{"type":"number","default":0.375},"cluster":{"type":"boolean","default":false},"clusterRadius":{"type":"number","default":50,"minimum":0},"clusterMaxZoom":{"type":"number"},"clusterMinPoints":{"type":"number"},"clusterProperties":{"type":"*"},"lineMetrics":{"type":"boolean","default":false},"generateId":{"type":"boolean","default":false},"promoteId":{"type":"promoteId"},"dynamic":{"type":"boolean","default":false}},"source_video":{"type":{"required":true,"type":"enum","values":{"video":1}},"urls":{"required":true,"type":"array","value":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_image":{"type":{"required":true,"type":"enum","values":{"image":1}},"url":{"required":false,"type":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_model":{"type":{"required":true,"type":"enum","values":{"model":1,"batched-model":1}},"maxzoom":{"type":"number","default":18},"minzoom":{"type":"number","default":0},"tiles":{"type":"array","value":"string"}},"layer":{"id":{"type":"string","required":true},"type":{"type":"enum","values":{"fill":{},"line":{},"symbol":{},"circle":{},"heatmap":{},"fill-extrusion":{},"raster":{},"raster-particle":{"experimental":true},"hillshade":{},"model":{"experimental":true},"background":{},"sky":{},"slot":{},"clip":{}},"required":true},"metadata":{"type":"*"},"source":{"type":"string"},"source-layer":{"type":"string"},"slot":{"type":"string"},"minzoom":{"type":"number","minimum":0,"maximum":24},"maxzoom":{"type":"number","minimum":0,"maximum":24},"filter":{"type":"filter"},"layout":{"type":"layout"},"paint":{"type":"paint"}},"layout":["layout_clip","layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_raster-particle","layout_hillshade","layout_background","layout_sky","layout_model"],"layout_background":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_sky":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_model":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"model-id":{"type":"string","default":"","property-type":"data-driven","expression":{"parameters":["zoom","feature"]}}},"layout_clip":{"clip-layer-types":{"type":"array","value":"enum","values":{"model":1,"symbol":1},"default":[],"expression":{},"property-type":"data-constant"},"clip-layer-scope":{"type":"array","value":"string","default":[],"expression":{},"property-type":"data-constant"}},"layout_fill":{"fill-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"fill-elevation-reference":{"type":"enum","values":{"none":1,"hd-road-base":1,"hd-road-markup":1},"default":"none","experimental":true,"private":true,"expression":{},"property-type":"data-constant"}},"layout_circle":{"circle-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_heatmap":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_fill-extrusion":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"fill-extrusion-edge-radius":{"type":"number","experimental":true,"default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"constant"}},"layout_line":{"line-cap":{"type":"enum","values":{"butt":1,"round":1,"square":1},"default":"butt","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-join":{"type":"enum","values":{"bevel":1,"round":1,"miter":1,"none":1},"default":"miter","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{"type":"number","default":2,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-round-limit":{"type":"number","default":1.05,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-z-offset":{"type":"number","experimental":true,"default":0,"expression":{"parameters":["zoom","feature","line-progress"]},"property-type":"data-driven"},"line-elevation-reference":{"type":"enum","values":{"none":1,"sea":1,"ground":1,"hd-road-markup":1},"default":"none","experimental":true,"expression":{},"property-type":"data-constant"},"line-cross-slope":{"type":"number","experimental":true,"expression":{},"property-type":"constant"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"line-width-unit":{"type":"enum","values":{"pixels":1,"meters":1},"default":"pixels","experimental":true,"private":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"}},"layout_symbol":{"symbol-placement":{"type":"enum","values":{"point":1,"line":1,"line-center":1},"default":"point","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-spacing":{"type":"number","default":250,"minimum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{"type":"enum","values":{"auto":1,"viewport-y":1,"source":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-z-elevate":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-elevation-reference":{"type":"enum","values":{"sea":1,"ground":1,"hd-road-markup":1},"default":"ground","experimental":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-optional":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-size":{"type":"number","default":1,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-size-scale-range":{"type":"array","value":"number","length":2,"default":[0.8,2],"minimum":0.1,"maximum":10,"experimental":true,"private":true,"expression":{},"property-type":"data-constant"},"icon-text-fit":{"type":"enum","values":{"none":1,"width":1,"height":1,"both":1},"default":"none","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit-padding":{"type":"array","value":"number","length":4,"default":[0,0,0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-image":{"type":"resolvedImage","tokens":true,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{"type":"number","default":0,"period":360,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{"type":"number","default":2,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-offset":{"type":"array","value":"number","length":2,"default":[0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{"type":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-field":{"type":"formatted","default":"","tokens":true,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-font":{"type":"array","value":"string","default":["Open Sans Regular","Arial Unicode MS Regular"],"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-size":{"type":"number","default":16,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-size-scale-range":{"type":"array","value":"number","length":2,"default":[0.8,2],"minimum":0.1,"maximum":10,"experimental":true,"private":true,"expression":{},"property-type":"data-constant"},"text-max-width":{"type":"number","default":10,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{"type":"number","default":1.2,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{"type":"number","default":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-justify":{"type":"enum","values":{"auto":1,"left":1,"center":1,"right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{"type":"number","default":0,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["zoom","feature"]}},"text-variable-anchor":{"type":"array","value":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-anchor":{"type":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{"type":"number","default":45,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-writing-mode":{"type":"array","value":"enum","values":{"horizontal":1,"vertical":1},"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-rotate":{"type":"number","default":0,"period":360,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-padding":{"type":"number","default":2,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-keep-upright":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-transform":{"type":"enum","values":{"none":1,"uppercase":1,"lowercase":1},"default":"none","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-offset":{"type":"array","value":"number","length":2,"default":[0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-optional":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_raster":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_raster-particle":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_hillshade":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"filter":{"type":"array","value":"*"},"filter_symbol":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature","pitch","distance-from-center"]}},"filter_fill":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_hillshade":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_raster":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_raster-particle":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_clip":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_model":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_line":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_circle":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_fill-extrusion":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_heatmap":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_operator":{"type":"enum","values":{"==":1,"!=":1,">":1,">=":1,"<":1,"<=":1,"in":1,"!in":1,"all":1,"any":1,"none":1,"has":1,"!has":1}},"geometry_type":{"type":"enum","values":{"Point":1,"LineString":1,"Polygon":1}},"function":{"expression":{"type":"expression"},"stops":{"type":"array","value":"function_stop"},"base":{"type":"number","default":1,"minimum":0},"property":{"type":"string","default":"$zoom"},"type":{"type":"enum","values":{"identity":1,"exponential":1,"interval":1,"categorical":1},"default":"exponential"},"colorSpace":{"type":"enum","values":{"rgb":1,"lab":1,"hcl":1},"default":"rgb"},"default":{"type":"*","required":false}},"function_stop":{"type":"array","minimum":0,"maximum":24,"value":["number","color"],"length":2},"expression":{"type":"array","value":"*","minimum":1},"fog":{"range":{"type":"array","default":[0.5,10],"minimum":-20,"maximum":20,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"high-color":{"type":"color","property-type":"data-constant","default":"#245cdf","expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"space-color":{"type":"color","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"],"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"horizon-blend":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,0.2,7,0.1],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"star-intensity":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],5,0.35,6,0],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"vertical-range":{"type":"array","default":[0,0],"minimum":0,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}}},"snow":{"density":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],11,0,13,0.85],"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"opacity":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"vignette":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],11,0,13,0.3],"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"vignette-color":{"type":"color","property-type":"data-constant","default":"#ffffff","experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"center-thinning":{"type":"number","property-type":"data-constant","default":0.4,"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"direction":{"type":"array","default":[0,50],"minimum":0,"maximum":360,"length":2,"value":"number","property-type":"data-constant","transition":true,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}},"flake-size":{"type":"number","property-type":"data-constant","default":0.71,"minimum":0,"maximum":5,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true}},"rain":{"density":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],11,0,13,0.5],"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"color":{"type":"color","property-type":"data-constant","default":["interpolate",["linear"],["measure-light","brightness"],0,"#03113d",0.3,"#a8adbc"],"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"opacity":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["measure-light","brightness"],0,0.88,1,0.7],"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"vignette":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],11,0,13,1],"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"vignette-color":{"type":"color","property-type":"data-constant","default":["interpolate",["linear"],["measure-light","brightness"],0,"#001736",0.3,"#464646"],"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"center-thinning":{"type":"number","property-type":"data-constant","default":0.57,"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"direction":{"type":"array","default":[0,80],"minimum":0,"maximum":360,"length":2,"value":"number","property-type":"data-constant","transition":true,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}},"droplet-size":{"type":"array","default":[2.6,18.2],"minimum":0,"maximum":50,"length":2,"value":"number","property-type":"data-constant","transition":true,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}},"distortion-strength":{"type":"number","property-type":"data-constant","default":0.7,"minimum":0,"maximum":1,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true}},"camera":{"camera-projection":{"type":"enum","values":{"perspective":1,"orthographic":1},"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"default":"perspective","property-type":"data-constant"}},"colorTheme":{"data":{"type":"string","property-type":"data-constant","expression":{}}},"indoor":{"floorplanFeaturesetId":{"type":"string","experimental":true,"property-type":"data-constant","expression":{}},"buildingFeaturesetId":{"type":"string","experimental":true,"property-type":"data-constant","expression":{}}},"light":{"anchor":{"type":"enum","default":"viewport","values":{"map":1,"viewport":1},"property-type":"data-constant","expression":{"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"projection":{"name":{"type":"enum","values":{"albers":1,"equalEarth":1,"equirectangular":1,"lambertConformalConic":1,"mercator":1,"naturalEarth":1,"winkelTripel":1,"globe":1},"default":"mercator","required":true},"center":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-180,-90],"maximum":[180,90]},"parallels":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-90,-90],"maximum":[90,90]}},"terrain":{"source":{"type":"string","required":true},"exaggeration":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1000,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"paint":["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_raster-particle","paint_hillshade","paint_background","paint_sky","paint_model"],"paint_fill":{"fill-antialias":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-outline-color":{"type":"color","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"fill-z-offset":{"type":"number","default":0,"minimum":0,"transition":true,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-extrusion-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-height-alignment":{"type":"enum","experimental":true,"values":{"terrain":1,"flat":1},"default":"flat","property-type":"data-constant"},"fill-extrusion-base-alignment":{"type":"enum","experimental":true,"values":{"terrain":1,"flat":1},"default":"terrain","property-type":"data-constant"},"fill-extrusion-vertical-gradient":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant","type":"number","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant","type":"number","default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-wall-radius":{"property-type":"data-constant","type":"number","experimental":true,"default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-ground-radius":{"property-type":"data-constant","type":"number","experimental":true,"default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-ground-attenuation":{"property-type":"data-constant","type":"number","experimental":true,"default":0.69,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-flood-light-color":{"property-type":"data-constant","type":"color","experimental":true,"default":"#ffffff","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]}},"fill-extrusion-flood-light-intensity":{"property-type":"data-constant","type":"number","experimental":true,"default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]}},"fill-extrusion-flood-light-wall-radius":{"property-type":"data-driven","type":"number","experimental":true,"default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state"]}},"fill-extrusion-flood-light-ground-radius":{"property-type":"data-driven","type":"number","experimental":true,"default":0,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state"]}},"fill-extrusion-flood-light-ground-attenuation":{"property-type":"data-constant","type":"number","experimental":true,"default":0.69,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-vertical-scale":{"property-type":"data-constant","type":"number","experimental":true,"default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-rounded-roof":{"property-type":"data-constant","type":"boolean","default":true,"experimental":true,"expression":{"parameters":["zoom"]}},"fill-extrusion-cutoff-fade-range":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"},"fill-extrusion-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light","feature-state"]},"property-type":"data-driven"},"fill-extrusion-line-width":{"type":"number","default":0,"minimum":0,"transition":true,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-extrusion-cast-shadows":{"type":"boolean","default":true,"property-type":"data-constant"}},"paint_line":{"line-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"line-width":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light","line-progress"]},"property-type":"data-driven"},"line-gap-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-offset":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-dasharray":{"type":"array","value":"number","minimum":0,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-gradient":{"type":"color","expression":{"interpolated":true,"parameters":["line-progress"]},"property-type":"color-ramp"},"line-trim-offset":{"type":"array","value":"number","length":2,"default":[0,0],"minimum":[0,0],"maximum":[1,1],"property-type":"constant"},"line-trim-fade-range":{"type":"array","value":"number","experimental":true,"length":2,"default":[0,0],"minimum":[0,0],"maximum":[1,1],"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"line-trim-color":{"type":"color","experimental":true,"default":"transparent","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"line-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"line-border-width":{"type":"number","private":true,"default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-border-color":{"type":"color","private":true,"default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-occlusion-opacity":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true,"property-type":"data-constant"}},"paint_circle":{"circle-radius":{"type":"number","default":5,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-blur":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1},"default":"viewport","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-stroke-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-stroke-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_heatmap":{"heatmap-radius":{"type":"number","default":30,"minimum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"heatmap-weight":{"type":"number","default":1,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"heatmap-intensity":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"heatmap-color":{"type":"color","default":["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",0.1,"royalblue",0.3,"cyan",0.5,"lime",0.7,"yellow",1,"red"],"expression":{"interpolated":true,"parameters":["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_symbol":{"icon-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-occlusion-opacity":{"type":"number","minimum":0,"maximum":1,"default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-emissive-strength":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light","feature-state"]},"property-type":"data-driven"},"text-emissive-strength":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light","feature-state"]},"property-type":"data-driven"},"icon-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-image-cross-fade":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"transition":true},"text-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-occlusion-opacity":{"type":"number","minimum":0,"maximum":1,"default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-color":{"type":"color","default":"#000000","transition":true,"overridable":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-color-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"expression":{},"property-type":"data-constant"},"icon-color-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"expression":{},"property-type":"data-constant"},"icon-color-brightness-min":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"},"icon-color-brightness-max":{"type":"number","default":1,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"},"symbol-z-offset":{"type":"number","default":0,"minimum":0,"transition":true,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"}},"paint_raster":{"raster-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-color":{"type":"color","expression":{"interpolated":true,"parameters":["raster-value"]},"property-type":"color-ramp"},"raster-color-mix":{"type":"array","default":[0.2126,0.7152,0.0722,0],"length":4,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"raster-color-range":{"type":"array","length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"raster-hue-rotate":{"type":"number","default":0,"period":360,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{"type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-resampling":{"type":"enum","values":{"linear":1,"nearest":1},"default":"linear","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{"type":"number","default":300,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"raster-array-band":{"type":"string","required":false,"experimental":true,"property-type":"data-constant"},"raster-elevation":{"type":"number","default":0,"minimum":0,"transition":true,"experimental":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_raster-particle":{"raster-particle-array-band":{"type":"string","required":false,"property-type":"data-constant"},"raster-particle-count":{"type":"number","default":512,"minimum":1,"property-type":"data-constant"},"raster-particle-color":{"type":"color","expression":{"interpolated":true,"parameters":["raster-particle-speed"]},"property-type":"color-ramp"},"raster-particle-max-speed":{"type":"number","default":1,"minimum":1,"property-type":"data-constant"},"raster-particle-speed-factor":{"type":"number","default":0.2,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-particle-fade-opacity-factor":{"type":"number","default":0.98,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-particle-reset-rate-factor":{"type":"number","default":0.8,"minimum":0,"maximum":1,"property-type":"data-constant"},"raster-particle-elevation":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_hillshade":{"hillshade-illumination-direction":{"type":"number","default":335,"minimum":0,"maximum":359,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"viewport","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{"type":"number","default":0.5,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-highlight-color":{"type":"color","default":"#FFFFFF","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-accent-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_background":{"background-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":[]},"experimental":true,"property-type":"data-constant"},"background-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"background-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_sky":{"sky-type":{"type":"enum","values":{"gradient":1,"atmosphere":1},"default":"atmosphere","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{"type":"array","value":"number","length":2,"minimum":[0,0],"maximum":[360,180],"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{"type":"number","default":10,"minimum":0,"maximum":100,"property-type":"data-constant"},"sky-gradient-center":{"type":"array","value":"number","default":[0,0],"length":2,"minimum":[0,0],"maximum":[360,180],"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{"type":"number","default":90,"minimum":0,"maximum":180,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient":{"type":"color","default":["interpolate",["linear"],["sky-radial-progress"],0.8,"#87ceeb",1,"white"],"expression":{"interpolated":true,"parameters":["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{"type":"color","default":"white","property-type":"data-constant"},"sky-atmosphere-color":{"type":"color","default":"white","property-type":"data-constant"},"sky-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_model":{"model-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"property-type":"data-driven"},"model-rotation":{"type":"array","value":"number","length":3,"default":[0,0,0],"period":360,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-scale":{"type":"array","value":"number","length":3,"default":[1,1,1],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-translation":{"type":"array","value":"number","length":3,"default":[0,0,0],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-color":{"type":"color","default":"#ffffff","property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light","zoom"]},"transition":true},"model-color-mix-intensity":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-type":{"type":"enum","values":{"common-3d":1,"location-indicator":1},"default":"common-3d","property-type":"data-constant"},"model-cast-shadows":{"type":"boolean","default":true,"property-type":"data-constant"},"model-receive-shadows":{"type":"boolean","default":true,"property-type":"data-constant"},"model-ambient-occlusion-intensity":{"type":"number","default":1,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant","transition":true},"model-emissive-strength":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":5,"expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-roughness":{"type":"number","default":1,"minimum":0,"maximum":1,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state"]},"transition":true},"model-height-based-emissive-strength-multiplier":{"type":"array","default":[1,1,1,1,0],"length":5,"value":"number","property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-cutoff-fade-range":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"},"model-front-cutoff":{"type":"array","private":true,"value":"number","property-type":"data-constant","expression":{"interpolated":true,"parameters":["zoom"]},"length":3,"default":[0,0,1],"minimum":[0,0,0],"maximum":[1,1,1]}},"transition":{"duration":{"type":"number","default":300,"minimum":0},"delay":{"type":"number","default":0,"minimum":0}},"property-type":{"data-driven":{"type":"property-type"},"color-ramp":{"type":"property-type"},"data-constant":{"type":"property-type"},"constant":{"type":"property-type"}},"promoteId":{"*":{"type":"string"}}}');function Wm(Pe){return Pe instanceof Number||Pe instanceof String||Pe instanceof Boolean?Pe.valueOf():Pe}function Bu(Pe){if(Array.isArray(Pe))return Pe.map(Bu);if(Pe instanceof Object&&!(Pe instanceof Number||Pe instanceof String||Pe instanceof Boolean)){const de={};for(const Ce in Pe)de[Ce]=Bu(Pe[Ce]);return de}return Wm(Pe)}function Zf(Pe){if(Pe===!0||Pe===!1)return!0;if(!Array.isArray(Pe)||Pe.length===0)return!1;switch(Pe[0]){case"has":return Pe.length>=2&&Pe[1]!=="$id"&&Pe[1]!=="$type";case"in":return Pe.length>=3&&(typeof Pe[1]!="string"||Array.isArray(Pe[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return Pe.length!==3||Array.isArray(Pe[1])||Array.isArray(Pe[2]);case"any":case"all":for(const de of Pe.slice(1))if(!Zf(de)&&typeof de!="boolean")return!1;return!0;default:return!0}}function Zm(Pe,de="",Ce=null,De="fill"){if(Pe==null)return{filter:()=>!0,needGeometry:!1,needFeature:!1};Zf(Pe)||(Pe=Gd(Pe));const Ke=Pe;let Ve=!0;try{Ve=function(cr){if(!ed(cr))return cr;let Mr=Bu(cr);return Qh(Mr),Mr=Xm(Mr),Mr}(Ke)}catch{console.warn(`Failed to extract static filter. Filter will continue working, but at higher memory usage and slower framerate.
|
|
102
102
|
This is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md
|
|
@@ -2535,7 +2535,7 @@ ${He.vertexSource}`,this.forceManualRenderingForInstanceIDShaders&&(ti=ti.replac
|
|
|
2535
2535
|
|
|
2536
2536
|
|
|
2537
2537
|
}
|
|
2538
|
-
`,document.head.appendChild(ie);const we=vue.createApp({setup(){const Ie=vue.ref(),Me=vue.ref();return{popupProviderRef:Ie,popoverProviderRef:Me}},render(){return[vue.h(PopupProvider,{ref:"popupProviderRef"}),vue.h(PopoverProvider,{ref:"popoverProviderRef"})]}}).mount(c);this.popupProviderRef=we.popupProviderRef,this.popoverProviderRef=we.popoverProviderRef;try{document.body.appendChild(c)}catch(Ie){console.error("Error adding wrapper to body:",Ie)}}}function convertDeprecatedField(m){return m.datatype==="Collection"?{type:"Collection",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{fields:m.props.fields.map(convertDeprecatedField).filter(c=>c!==void 0),min:m.props.min,max:m.props.max,layout:"list"},hitbox:void 0,layout:{maxWidth:"100%",minWidth:"100%"}}:m.datatype==="Dropdown"?{type:"Select",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{size:"medium",layout:"dropdown",showLabels:!0,imageDisplay:"cover",options:m.props.options.map(c=>({label:c.label,value:c.value,image:c.preview}))},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Select"?{type:"Select",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{size:"medium",layout:"button",showLabels:!0,imageDisplay:m.props.imageDisplay,options:m.props.options.map((c,ie)=>({label:`Option ${ie+1}`,value:c.value,image:c.preview}))},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Text"?{type:"Text",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{clearable:m.props.clearable,maxHeight:"150px",maxLength:m.props.maxLength,maxLineLength:m.props.maxLineLength,maxLines:m.props.maxLines,multiline:m.props.multiline,placeholder:m.description??"Text...",showWordCount:m.props.showWordCount,uppercase:!1,richtext:{enabled:m.props.richtext,mixedStyleLabel:{en:m.props.mixedStyleLabel},noStyleLabel:{en:m.props.noStyleLabel},userAgentRichText:m.props.userAgentRichText,options:m.props.richTextOptions}},layout:{minWidth:"120px",maxWidth:"auto"},hitbox:void 0}:m.datatype==="Image"?{type:"Image",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{allowUploadFromDevice:m.props.allowUpload??!0,allowedTypes:["image/png","image/jpeg","image/gif","image/webp","image/svg+xml"],convertTo:void 0,width:m.props.width,height:m.props.height,imageLibraries:m.props.imageLibraries.map(c=>c.props?.sharingUrl?c.props.sharingUrl.indexOf("googledrive")>-1?{type:"sharedDrive",service:"googledrive",label:c.label,sharedUrl:c.props.sharingUrl}:{type:"sharedDrive",service:"onedrive",label:c.label,sharedUrl:c.props.sharingUrl}:{type:"custom",name:c.name,label:c.label,controller:c.controller,props:c.props}),layout:"normal",quality:m.props.quality,removeBackground:!1,uploadLabel:"Upload Image"},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="ImageAdjust"?{type:"ImageAdjust",model:{...m.model,image:m.model.image,adjust:m.model.adjust},description:m.description,detailedDescription:void 0,props:{aspectRatio:m.props.aspectRatio,maxScale:m.props.maxScale,minScale:m.props.minScale,maxX:m.props.maxX,maxY:m.props.maxY,minX:m.props.minX,minY:m.props.minY,type:"popup"},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Switch"?{type:"Checkbox",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{label:"",size:"medium"},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Number"?{type:"Number",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{min:m.props.min,max:m.props.max,step:m.props.step,type:"slider"},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Color"?{type:"Color",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{alpha:!0},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Map"?{type:"Map",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{aspectRatio:m.props.aspectRatio,mapStyle:m.props.mapStyle,mapboxAccessToken:m.props.mapboxAccessToken,padding:m.props.padding,type:m.props.type},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:void 0}function getCloudflareLiveUrl(m,c){return`https://${m?`${m.replaceAll(/\./g,"-")}.`:""}${c.cloudflarePagesHostname}`}function getTemplateSerialUrl(m,c){return`${c.embedApiBaseUrl}/api/public/project/serial/${m}?${new URLSearchParams({env:c.env}).toString()}`}function getTemplatePreviewUrl(m,c){return`${c.embedApiBaseUrl}/api/public/project/preview/${m}?${new URLSearchParams({env:c.env}).toString()}`}function getTemplateLiveUrl(m,c,ie){return`${getCloudflareLiveUrl(c,ie)}?`+new URLSearchParams(Object.fromEntries(Object.entries({fonts:JSON.stringify(ie.config.fonts??[]),webgl:ie.config.webgl,resolution:ie.config.resolution,autoDetectBxCoreVersion:c===void 0,resolveSerial:ie.useBoilerplate?void 0:getTemplateSerialUrl(m,ie)}).filter(([,Ie])=>Ie&&Ie!=="null"))).toString()}function optimizePreviewUrl(m,c,ie,we){try{const Ie=new URL(m);if(Ie.hostname==="imagedelivery.net"){const[,Me,Ze,ne]=Ie.pathname.split("/");return`https://imagedelivery.net/${Me}/${Ze}/${we||`${c||ie?Object.entries({w:c,h:ie}).filter(([rr,pr])=>pr!==void 0).map(([rr,pr])=>[rr,String(pr)]).map(([rr,pr])=>`${rr}=${pr}`).join(","):ne}`}`}else return m}catch(Ie){return console.error(Ie),m}}class EmbeddedController extends EventTarget{iframe;alive;ready;sessionId;$data;constructor(c,ie,we=5){super(),this.iframe=c,this.alive=!0,this.ready=!1,this.sessionId=null,this.initListener();let Ie=!1,Me=!1;this.addEventListener("mounted",async()=>{if(ie!==void 0&&!Me){const rr=await ie;Me=!0,rr?await this.evaluate(pr=>{const lr=JSON.parse(pr);window.bx_serial.value=lr},JSON.stringify(rr)):this.dispatchEvent(new CustomEvent("error",{detail:{code:2}}))}else Ie||(Ie=!0,this.dispatchEvent(new CustomEvent("ready")))}),this.addEventListener("setGlobalScope",rr=>{const pr=Object.fromEntries(Object.entries(rr.detail).map(([yr,kr])=>kr?.__type__==="function"?[yr,new Function(`return (${kr.__value__})()`)]:[yr,kr])),lr=new CustomEvent("globalScope",{detail:pr});this.dispatchEvent(lr)});const Ze=setInterval(async()=>{if(!this.alive)return clearInterval(Ze);try{await this.ping()&&clearInterval(Ze)}catch{}},5);this.$data=new Proxy(this,{get(rr,pr){return rr.get(pr)},set(rr,pr,lr){return rr.set(pr,lr)}});let ne=0;this.addEventListener("http:error",rr=>{const pr=rr.detail?.code;if(pr>=400&&(console.error("ERROR DURING LIVE REQUEST",pr),pr===412))if(ne<we){const lr=new URL(c.src);lr.searchParams.set("force",Date.now().toString()),c.src=lr.toString(),ne++}else this.dispatchEvent(new CustomEvent("error",{detail:{code:412}}))})}destroy(){this.alive=!1}ping(c=100){return new Promise((ie,we)=>{const Ie=Date.now(),Me=Ie,Ze=setTimeout(we,c),ne=({data:rr})=>{this.alive&&rr.type=="pong"&&rr.id==Me&&(ie(Date.now()-Ie),clearTimeout(Ze),window.removeEventListener("message",ne))};window.addEventListener("message",ne);try{this.iframe.contentWindow?.postMessage({type:"ping",id:Me},"*")}catch{}})}getSessionId(){return new Promise(c=>{const ie=nanoid();this.apply("getSessionId",ie),window.addEventListener("message",({data:we})=>{we.scope==="bx"&&we.taskId===ie&&c(we.sessionId)})})}messageIsSession(c){return c.sessionId==this.sessionId}messageIsEvent(c){return c.type=="event"}initListener(){window.addEventListener("message",async({data:c})=>{if(c.error&&(console.error("ERROR FROM LIVE SANDBOX",c),c?.response?.error==="File ist not embedded"?this.dispatchEvent(new CustomEvent("error",{detail:{code:2}})):this.dispatchEvent(new CustomEvent("error",{detail:{code:1}}))),this.messageIsSession(c)&&(c.taskId&&this.dispatchEvent(new CustomEvent("rerender")),this.messageIsEvent(c))){const ie=new CustomEvent(c.message,{detail:c.payload});this.dispatchEvent(ie)}if(c.type==="bx:init"){const ie=await this.getSessionId();ie!=this.sessionId&&(this.sessionId=ie,this.dispatchEvent(new CustomEvent("init"))),this.dispatchEvent(new CustomEvent("roll"))}c.type==="event"&&c.message==="mounted"&&this.dispatchEvent(new CustomEvent("mounted"))},!1)}apply(c,...ie){try{this.iframe.contentWindow?.postMessage({type:"action",name:c,args:ie},"*")}catch(we){console.error(we)}}get(c){return this.evaluate(ie=>this.$data[ie],c)}set(c,ie){return this.apply("set",c,ie),!0}evaluate(c,...ie){return new Promise((we,Ie)=>{const Me=nanoid();this.apply("evaluate",c.toString(),Me,ie);const Ze=({detail:rr})=>{if(rr.processId==Me){try{we(JSON.parse(rr.result))}catch{we(rr.result)}this.removeEventListener("return",Ze),this.removeEventListener("error",ne)}},ne=({detail:rr})=>{rr.processId==Me&&(Ie(rr.error),this.removeEventListener("return",Ze),this.removeEventListener("error",ne))};this.addEventListener("return",Ze),this.addEventListener("error",ne)})}setData(c){return new Promise((ie,we)=>{this.evaluate(Ie=>{const Me=JSON.parse(Ie);for(const Ze in Me)window.bx_data[Ze]=Me[Ze]},JSON.stringify(c)).then(Ie=>{ie(Ie)}).catch(Ie=>{we(Ie)})})}transform(c,ie,we,Ie){this.apply("transform",c,ie,we,Ie)}}function dataUrlToBlob(m){const c=window.atob(m.split(",")[1]),ie=m.split(",")[0].split(":")[1].split(";")[0],we=new ArrayBuffer(c.length),Ie=new Uint8Array(we);for(var Me=0;Me<c.length;Me++)Ie[Me]=c.charCodeAt(Me);return new Blob([we],{type:ie})}var css={},commentre=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,parse$b=function(m,c){c=c||{};var ie=1,we=1;function Ie(nr){var $e=nr.match(/\n/g);$e&&(ie+=$e.length);var ur=nr.lastIndexOf(`
|
|
2538
|
+
`,document.head.appendChild(ie);const we=vue.createApp({setup(){const Ie=vue.ref(),Me=vue.ref();return{popupProviderRef:Ie,popoverProviderRef:Me}},render(){return[vue.h(PopupProvider,{ref:"popupProviderRef"}),vue.h(PopoverProvider,{ref:"popoverProviderRef"})]}}).mount(c);this.popupProviderRef=we.popupProviderRef,this.popoverProviderRef=we.popoverProviderRef;try{document.body.appendChild(c)}catch(Ie){console.error("Error adding wrapper to body:",Ie)}}}const _hoisted_1$k={class:"collection-field-popup"},_sfc_main$p=vue.defineComponent({__name:"CollectionFieldPopup",props:vue.mergeModels({layout:{},fields:{},description:{},detailedDescription:{},bridge:{},defaultValue:{},mobile:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(m){const c=m,ie=vue.useModel(m,"modelValue");return vue.inject("computedPropEvaluator"),vue.inject("bridge"),(we,Ie)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$k,[vue.createVNode(_sfc_main$1d,{trigger:"click",type:"layer","pass-injections":["computedPropEvaluator","bridge"]},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,null,{default:vue.withCtx(()=>Ie[1]||(Ie[1]=[vue.createTextVNode(" Edit collection ")])),_:1})]),content:vue.withCtx(()=>[vue.createVNode(Collection,vue.mergeProps(c,{modelValue:ie.value,"onUpdate:modelValue":Ie[0]||(Ie[0]=Me=>ie.value=Me)}),null,16,["modelValue"])]),_:1})]))}}),CollectionFieldPopup_vue_vue_type_style_index_0_scoped_a0928c6b_lang="",CollectionFieldPopup=_export_sfc(_sfc_main$p,[["__scopeId","data-v-a0928c6b"]]);function convertDeprecatedField(m){return m.datatype==="Collection"?{type:"Collection",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{fields:m.props.fields.map(convertDeprecatedField).filter(c=>c!==void 0),min:m.props.min,max:m.props.max,layout:"list"},hitbox:void 0,layout:{maxWidth:"100%",minWidth:"100%"}}:m.datatype==="Dropdown"?{type:"Select",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{size:"medium",layout:"dropdown",showLabels:!0,imageDisplay:"cover",options:m.props.options.map(c=>({label:c.label,value:c.value,image:c.preview}))},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Select"?{type:"Select",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{size:"medium",layout:"button",showLabels:!0,imageDisplay:m.props.imageDisplay,options:m.props.options.map((c,ie)=>({label:`Option ${ie+1}`,value:c.value,image:c.preview}))},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Text"?{type:"Text",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{clearable:m.props.clearable,maxHeight:"150px",maxLength:m.props.maxLength,maxLineLength:m.props.maxLineLength,maxLines:m.props.maxLines,multiline:m.props.multiline,placeholder:m.description??"Text...",showWordCount:m.props.showWordCount,uppercase:!1,richtext:{enabled:m.props.richtext,mixedStyleLabel:{en:m.props.mixedStyleLabel},noStyleLabel:{en:m.props.noStyleLabel},userAgentRichText:m.props.userAgentRichText,options:m.props.richTextOptions}},layout:{minWidth:"120px",maxWidth:"auto"},hitbox:void 0}:m.datatype==="Image"?{type:"Image",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{allowUploadFromDevice:m.props.allowUpload??!0,allowedTypes:["image/png","image/jpeg","image/gif","image/webp","image/svg+xml"],convertTo:void 0,width:m.props.width,height:m.props.height,imageLibraries:m.props.imageLibraries.map(c=>c.props?.sharingUrl?c.props.sharingUrl.indexOf("googledrive")>-1?{type:"sharedDrive",service:"googledrive",label:c.label,sharedUrl:c.props.sharingUrl}:{type:"sharedDrive",service:"onedrive",label:c.label,sharedUrl:c.props.sharingUrl}:{type:"custom",name:c.name,label:c.label,controller:c.controller,props:c.props}),layout:"normal",quality:m.props.quality,removeBackground:!1,uploadLabel:"Upload Image"},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="ImageAdjust"?{type:"ImageAdjust",model:{...m.model,image:m.model.image,adjust:m.model.adjust},description:m.description,detailedDescription:void 0,props:{aspectRatio:m.props.aspectRatio,maxScale:m.props.maxScale,minScale:m.props.minScale,maxX:m.props.maxX,maxY:m.props.maxY,minX:m.props.minX,minY:m.props.minY,type:"popup"},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Switch"?{type:"Checkbox",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{label:"",size:"medium"},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Number"?{type:"Number",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{min:m.props.min,max:m.props.max,step:m.props.step,type:"slider"},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Color"?{type:"Color",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{alpha:!0},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:m.datatype==="Map"?{type:"Map",model:{modelValue:m.model.modelValue},description:m.description,detailedDescription:void 0,props:{aspectRatio:m.props.aspectRatio,mapStyle:m.props.mapStyle,mapboxAccessToken:m.props.mapboxAccessToken,padding:m.props.padding,type:m.props.type},layout:{minWidth:"100%",maxWidth:"100%"},hitbox:void 0}:void 0}function getCloudflareLiveUrl(m,c){return`https://${m?`${m.replaceAll(/\./g,"-")}.`:""}${c.cloudflarePagesHostname}`}function getTemplateSerialUrl(m,c){return`${c.embedApiBaseUrl}/api/public/project/serial/${m}?${new URLSearchParams({env:c.env}).toString()}`}function getTemplatePreviewUrl(m,c){return`${c.embedApiBaseUrl}/api/public/project/preview/${m}?${new URLSearchParams({env:c.env}).toString()}`}function getTemplateLiveUrl(m,c,ie){return`${getCloudflareLiveUrl(c,ie)}?`+new URLSearchParams(Object.fromEntries(Object.entries({fonts:JSON.stringify(ie.config.fonts??[]),webgl:ie.config.webgl,resolution:ie.config.resolution,autoDetectBxCoreVersion:c===void 0,resolveSerial:ie.useBoilerplate?void 0:getTemplateSerialUrl(m,ie)}).filter(([,Ie])=>Ie&&Ie!=="null"))).toString()}function optimizePreviewUrl(m,c,ie,we){try{const Ie=new URL(m);if(Ie.hostname==="imagedelivery.net"){const[,Me,Ze,ne]=Ie.pathname.split("/");return`https://imagedelivery.net/${Me}/${Ze}/${we||`${c||ie?Object.entries({w:c,h:ie}).filter(([rr,pr])=>pr!==void 0).map(([rr,pr])=>[rr,String(pr)]).map(([rr,pr])=>`${rr}=${pr}`).join(","):ne}`}`}else return m}catch(Ie){return console.error(Ie),m}}class EmbeddedController extends EventTarget{iframe;alive;ready;sessionId;$data;constructor(c,ie,we=5){super(),this.iframe=c,this.alive=!0,this.ready=!1,this.sessionId=null,this.initListener();let Ie=!1,Me=!1;this.addEventListener("mounted",async()=>{if(ie!==void 0&&!Me){const rr=await ie;Me=!0,rr?await this.evaluate(pr=>{const lr=JSON.parse(pr);window.bx_serial.value=lr},JSON.stringify(rr)):this.dispatchEvent(new CustomEvent("error",{detail:{code:2}}))}else Ie||(Ie=!0,this.dispatchEvent(new CustomEvent("ready")))}),this.addEventListener("setGlobalScope",rr=>{const pr=Object.fromEntries(Object.entries(rr.detail).map(([yr,kr])=>kr?.__type__==="function"?[yr,new Function(`return (${kr.__value__})()`)]:[yr,kr])),lr=new CustomEvent("globalScope",{detail:pr});this.dispatchEvent(lr)});const Ze=setInterval(async()=>{if(!this.alive)return clearInterval(Ze);try{await this.ping()&&clearInterval(Ze)}catch{}},5);this.$data=new Proxy(this,{get(rr,pr){return rr.get(pr)},set(rr,pr,lr){return rr.set(pr,lr)}});let ne=0;this.addEventListener("http:error",rr=>{const pr=rr.detail?.code;if(pr>=400&&(console.error("ERROR DURING LIVE REQUEST",pr),pr===412))if(ne<we){const lr=new URL(c.src);lr.searchParams.set("force",Date.now().toString()),c.src=lr.toString(),ne++}else this.dispatchEvent(new CustomEvent("error",{detail:{code:412}}))})}destroy(){this.alive=!1}ping(c=100){return new Promise((ie,we)=>{const Ie=Date.now(),Me=Ie,Ze=setTimeout(we,c),ne=({data:rr})=>{this.alive&&rr.type=="pong"&&rr.id==Me&&(ie(Date.now()-Ie),clearTimeout(Ze),window.removeEventListener("message",ne))};window.addEventListener("message",ne);try{this.iframe.contentWindow?.postMessage({type:"ping",id:Me},"*")}catch{}})}getSessionId(){return new Promise(c=>{const ie=nanoid();this.apply("getSessionId",ie),window.addEventListener("message",({data:we})=>{we.scope==="bx"&&we.taskId===ie&&c(we.sessionId)})})}messageIsSession(c){return c.sessionId==this.sessionId}messageIsEvent(c){return c.type=="event"}initListener(){window.addEventListener("message",async({data:c})=>{if(c.error&&(console.error("ERROR FROM LIVE SANDBOX",c),c?.response?.error==="File ist not embedded"?this.dispatchEvent(new CustomEvent("error",{detail:{code:2}})):this.dispatchEvent(new CustomEvent("error",{detail:{code:1}}))),this.messageIsSession(c)&&(c.taskId&&this.dispatchEvent(new CustomEvent("rerender")),this.messageIsEvent(c))){const ie=new CustomEvent(c.message,{detail:c.payload});this.dispatchEvent(ie)}if(c.type==="bx:init"){const ie=await this.getSessionId();ie!=this.sessionId&&(this.sessionId=ie,this.dispatchEvent(new CustomEvent("init"))),this.dispatchEvent(new CustomEvent("roll"))}c.type==="event"&&c.message==="mounted"&&this.dispatchEvent(new CustomEvent("mounted"))},!1)}apply(c,...ie){try{this.iframe.contentWindow?.postMessage({type:"action",name:c,args:ie},"*")}catch(we){console.error(we)}}get(c){return this.evaluate(ie=>this.$data[ie],c)}set(c,ie){return this.apply("set",c,ie),!0}evaluate(c,...ie){return new Promise((we,Ie)=>{const Me=nanoid();this.apply("evaluate",c.toString(),Me,ie);const Ze=({detail:rr})=>{if(rr.processId==Me){try{we(JSON.parse(rr.result))}catch{we(rr.result)}this.removeEventListener("return",Ze),this.removeEventListener("error",ne)}},ne=({detail:rr})=>{rr.processId==Me&&(Ie(rr.error),this.removeEventListener("return",Ze),this.removeEventListener("error",ne))};this.addEventListener("return",Ze),this.addEventListener("error",ne)})}setData(c){return new Promise((ie,we)=>{this.evaluate(Ie=>{const Me=JSON.parse(Ie);for(const Ze in Me)window.bx_data[Ze]=Me[Ze]},JSON.stringify(c)).then(Ie=>{ie(Ie)}).catch(Ie=>{we(Ie)})})}transform(c,ie,we,Ie){this.apply("transform",c,ie,we,Ie)}}function dataUrlToBlob(m){const c=window.atob(m.split(",")[1]),ie=m.split(",")[0].split(":")[1].split(";")[0],we=new ArrayBuffer(c.length),Ie=new Uint8Array(we);for(var Me=0;Me<c.length;Me++)Ie[Me]=c.charCodeAt(Me);return new Blob([we],{type:ie})}var css={},commentre=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,parse$b=function(m,c){c=c||{};var ie=1,we=1;function Ie(nr){var $e=nr.match(/\n/g);$e&&(ie+=$e.length);var ur=nr.lastIndexOf(`
|
|
2539
2539
|
`);we=~ur?nr.length-ur:we+nr.length}function Me(){var nr={line:ie,column:we};return function($e){return $e.position=new Ze(nr),Ar(),$e}}function Ze(nr){this.start=nr,this.end={line:ie,column:we},this.source=c.source}Ze.prototype.content=m;var ne=[];function rr(nr){var $e=new Error(c.source+":"+ie+":"+we+": "+nr);if($e.reason=nr,$e.filename=c.source,$e.line=ie,$e.column=we,$e.source=m,c.silent)ne.push($e);else throw $e}function pr(){var nr=kr();return{type:"stylesheet",stylesheet:{source:c.source,rules:nr,parsingErrors:ne}}}function lr(){return Br(/^{\s*/)}function yr(){return Br(/^}/)}function kr(){var nr,$e=[];for(Ar(),Pr($e);m.length&&m.charAt(0)!="}"&&(nr=vr()||br());)nr!==!1&&($e.push(nr),Pr($e));return $e}function Br(nr){var $e=nr.exec(m);if(!!$e){var ur=$e[0];return Ie(ur),m=m.slice(ur.length),$e}}function Ar(){Br(/^\s*/)}function Pr(nr){var $e;for(nr=nr||[];$e=Nr();)$e!==!1&&nr.push($e);return nr}function Nr(){var nr=Me();if(!(m.charAt(0)!="/"||m.charAt(1)!="*")){for(var $e=2;m.charAt($e)!=""&&(m.charAt($e)!="*"||m.charAt($e+1)!="/");)++$e;if($e+=2,m.charAt($e-1)==="")return rr("End of comment missing");var ur=m.slice(2,$e-2);return we+=2,Ie(ur),m=m.slice($e),we+=2,nr({type:"comment",comment:ur})}}function ei(){var nr=Br(/^([^{]+)/);if(!!nr)return trim(nr[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function($e){return $e.replace(/,/g,"\u200C")}).split(/\s*(?![^(]*\)),\s*/).map(function($e){return $e.replace(/\u200C/g,",")})}function Vr(){var nr=Me(),$e=Br(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!!$e){if($e=trim($e[0]),!Br(/^:\s*/))return rr("property missing ':'");var ur=Br(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),$r=nr({type:"declaration",property:$e.replace(commentre,""),value:ur?trim(ur[0]).replace(commentre,""):""});return Br(/^[;\s]*/),$r}}function Zr(){var nr=[];if(!lr())return rr("missing '{'");Pr(nr);for(var $e;$e=Vr();)$e!==!1&&(nr.push($e),Pr(nr));return yr()?nr:rr("missing '}'")}function Wr(){for(var nr,$e=[],ur=Me();nr=Br(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)$e.push(nr[1]),Br(/^,\s*/);if(!!$e.length)return ur({type:"keyframe",values:$e,declarations:Zr()})}function ai(){var nr=Me(),ur=Br(/^@([-\w]+)?keyframes\s*/);if(!!ur){var $e=ur[1],ur=Br(/^([-\w]+)\s*/);if(!ur)return rr("@keyframes missing name");var $r=ur[1];if(!lr())return rr("@keyframes missing '{'");for(var Yr,wi=Pr();Yr=Wr();)wi.push(Yr),wi=wi.concat(Pr());return yr()?nr({type:"keyframes",name:$r,vendor:$e,keyframes:wi}):rr("@keyframes missing '}'")}}function ui(){var nr=Me(),$e=Br(/^@supports *([^{]+)/);if(!!$e){var ur=trim($e[1]);if(!lr())return rr("@supports missing '{'");var $r=Pr().concat(kr());return yr()?nr({type:"supports",supports:ur,rules:$r}):rr("@supports missing '}'")}}function di(){var nr=Me(),$e=Br(/^@host\s*/);if(!!$e){if(!lr())return rr("@host missing '{'");var ur=Pr().concat(kr());return yr()?nr({type:"host",rules:ur}):rr("@host missing '}'")}}function fi(){var nr=Me(),$e=Br(/^@media *([^{]+)/);if(!!$e){var ur=trim($e[1]);if(!lr())return rr("@media missing '{'");var $r=Pr().concat(kr());return yr()?nr({type:"media",media:ur,rules:$r}):rr("@media missing '}'")}}function li(){var nr=Me(),$e=Br(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(!!$e)return nr({type:"custom-media",name:trim($e[1]),media:trim($e[2])})}function hi(){var nr=Me(),$e=Br(/^@page */);if(!!$e){var ur=ei()||[];if(!lr())return rr("@page missing '{'");for(var $r=Pr(),Yr;Yr=Vr();)$r.push(Yr),$r=$r.concat(Pr());return yr()?nr({type:"page",selectors:ur,declarations:$r}):rr("@page missing '}'")}}function gr(){var nr=Me(),$e=Br(/^@([-\w]+)?document *([^{]+)/);if(!!$e){var ur=trim($e[1]),$r=trim($e[2]);if(!lr())return rr("@document missing '{'");var Yr=Pr().concat(kr());return yr()?nr({type:"document",document:$r,vendor:ur,rules:Yr}):rr("@document missing '}'")}}function Ae(){var nr=Me(),$e=Br(/^@font-face\s*/);if(!!$e){if(!lr())return rr("@font-face missing '{'");for(var ur=Pr(),$r;$r=Vr();)ur.push($r),ur=ur.concat(Pr());return yr()?nr({type:"font-face",declarations:ur}):rr("@font-face missing '}'")}}var ze=or("import"),Ue=or("charset"),tr=or("namespace");function or(nr){var $e=new RegExp("^@"+nr+"\\s*([^;]+);");return function(){var ur=Me(),$r=Br($e);if(!!$r){var Yr={type:nr};return Yr[nr]=$r[1].trim(),ur(Yr)}}}function vr(){if(m[0]=="@")return ai()||fi()||li()||ui()||ze()||Ue()||tr()||gr()||hi()||di()||Ae()}function br(){var nr=Me(),$e=ei();return $e?(Pr(),nr({type:"rule",selectors:$e,declarations:Zr()})):rr("selector missing")}return addParent(pr())};function trim(m){return m?m.replace(/^\s+|\s+$/g,""):""}function addParent(m,c){var ie=m&&typeof m.type=="string",we=ie?m:c;for(var Ie in m){var Me=m[Ie];Array.isArray(Me)?Me.forEach(function(Ze){addParent(Ze,we)}):Me&&typeof Me=="object"&&addParent(Me,we)}return ie&&Object.defineProperty(m,"parent",{configurable:!0,writable:!0,enumerable:!1,value:c||null}),m}var compiler=Compiler$2;function Compiler$2(m){this.options=m||{}}Compiler$2.prototype.emit=function(m){return m},Compiler$2.prototype.visit=function(m){return this[m.type](m)},Compiler$2.prototype.mapVisit=function(m,c){var ie="";c=c||"";for(var we=0,Ie=m.length;we<Ie;we++)ie+=this.visit(m[we]),c&&we<Ie-1&&(ie+=this.emit(c));return ie};var Base$1=compiler,inherits$1=inherits_browser.exports,compress=Compiler$1;function Compiler$1(m){Base$1.call(this,m)}inherits$1(Compiler$1,Base$1),Compiler$1.prototype.compile=function(m){return m.stylesheet.rules.map(this.visit,this).join("")},Compiler$1.prototype.comment=function(m){return this.emit("",m.position)},Compiler$1.prototype.import=function(m){return this.emit("@import "+m.import+";",m.position)},Compiler$1.prototype.media=function(m){return this.emit("@media "+m.media,m.position)+this.emit("{")+this.mapVisit(m.rules)+this.emit("}")},Compiler$1.prototype.document=function(m){var c="@"+(m.vendor||"")+"document "+m.document;return this.emit(c,m.position)+this.emit("{")+this.mapVisit(m.rules)+this.emit("}")},Compiler$1.prototype.charset=function(m){return this.emit("@charset "+m.charset+";",m.position)},Compiler$1.prototype.namespace=function(m){return this.emit("@namespace "+m.namespace+";",m.position)},Compiler$1.prototype.supports=function(m){return this.emit("@supports "+m.supports,m.position)+this.emit("{")+this.mapVisit(m.rules)+this.emit("}")},Compiler$1.prototype.keyframes=function(m){return this.emit("@"+(m.vendor||"")+"keyframes "+m.name,m.position)+this.emit("{")+this.mapVisit(m.keyframes)+this.emit("}")},Compiler$1.prototype.keyframe=function(m){var c=m.declarations;return this.emit(m.values.join(","),m.position)+this.emit("{")+this.mapVisit(c)+this.emit("}")},Compiler$1.prototype.page=function(m){var c=m.selectors.length?m.selectors.join(", "):"";return this.emit("@page "+c,m.position)+this.emit("{")+this.mapVisit(m.declarations)+this.emit("}")},Compiler$1.prototype["font-face"]=function(m){return this.emit("@font-face",m.position)+this.emit("{")+this.mapVisit(m.declarations)+this.emit("}")},Compiler$1.prototype.host=function(m){return this.emit("@host",m.position)+this.emit("{")+this.mapVisit(m.rules)+this.emit("}")},Compiler$1.prototype["custom-media"]=function(m){return this.emit("@custom-media "+m.name+" "+m.media+";",m.position)},Compiler$1.prototype.rule=function(m){var c=m.declarations;return c.length?this.emit(m.selectors.join(","),m.position)+this.emit("{")+this.mapVisit(c)+this.emit("}"):""},Compiler$1.prototype.declaration=function(m){return this.emit(m.property+":"+m.value,m.position)+this.emit(";")};var Base=compiler,inherits=inherits_browser.exports,identity=Compiler;function Compiler(m){m=m||{},Base.call(this,m),this.indentation=m.indent}inherits(Compiler,Base),Compiler.prototype.compile=function(m){return this.stylesheet(m)},Compiler.prototype.stylesheet=function(m){return this.mapVisit(m.stylesheet.rules,`
|
|
2540
2540
|
|
|
2541
2541
|
`)},Compiler.prototype.comment=function(m){return this.emit(this.indent()+"/*"+m.comment+"*/",m.position)},Compiler.prototype.import=function(m){return this.emit("@import "+m.import+";",m.position)},Compiler.prototype.media=function(m){return this.emit("@media "+m.media,m.position)+this.emit(` {
|
|
@@ -2580,7 +2580,7 @@ return new Buffer$C(Ze,"base64").toString("binary")}:typeof c.base64js=="object"
|
|
|
2580
2580
|
`," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=require$$1$1;function urlParse(m,c,ie){if(m&&typeof m=="object"&&m instanceof Url)return m;var we=new Url;return we.parse(m,c,ie),we}Url.prototype.parse=function(m,c,ie){if(typeof m!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof m);var we=m.indexOf("?"),Ie=we!==-1&&we<m.indexOf("#")?"?":"#",Me=m.split(Ie),Ze=/\\/g;Me[0]=Me[0].replace(Ze,"/"),m=Me.join(Ie);var ne=m;if(ne=ne.trim(),!ie&&m.split("#").length===1){var rr=simplePathPattern.exec(ne);if(rr)return this.path=ne,this.href=ne,this.pathname=rr[1],rr[2]?(this.search=rr[2],c?this.query=querystring.parse(this.search.substr(1)):this.query=this.search.substr(1)):c&&(this.search="",this.query={}),this}var pr=protocolPattern.exec(ne);if(pr){pr=pr[0];var lr=pr.toLowerCase();this.protocol=lr,ne=ne.substr(pr.length)}if(ie||pr||ne.match(/^\/\/[^@/]+@[^@/]+/)){var yr=ne.substr(0,2)==="//";yr&&!(pr&&hostlessProtocol[pr])&&(ne=ne.substr(2),this.slashes=!0)}if(!hostlessProtocol[pr]&&(yr||pr&&!slashedProtocol[pr])){for(var kr=-1,Br=0;Br<hostEndingChars.length;Br++){var Ar=ne.indexOf(hostEndingChars[Br]);Ar!==-1&&(kr===-1||Ar<kr)&&(kr=Ar)}var Pr,Nr;kr===-1?Nr=ne.lastIndexOf("@"):Nr=ne.lastIndexOf("@",kr),Nr!==-1&&(Pr=ne.slice(0,Nr),ne=ne.slice(Nr+1),this.auth=decodeURIComponent(Pr)),kr=-1;for(var Br=0;Br<nonHostChars.length;Br++){var Ar=ne.indexOf(nonHostChars[Br]);Ar!==-1&&(kr===-1||Ar<kr)&&(kr=Ar)}kr===-1&&(kr=ne.length),this.host=ne.slice(0,kr),ne=ne.slice(kr),this.parseHost(),this.hostname=this.hostname||"";var ei=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ei)for(var Vr=this.hostname.split(/\./),Br=0,Zr=Vr.length;Br<Zr;Br++){var Wr=Vr[Br];if(!!Wr&&!Wr.match(hostnamePartPattern)){for(var ai="",ui=0,di=Wr.length;ui<di;ui++)Wr.charCodeAt(ui)>127?ai+="x":ai+=Wr[ui];if(!ai.match(hostnamePartPattern)){var fi=Vr.slice(0,Br),li=Vr.slice(Br+1),hi=Wr.match(hostnamePartStart);hi&&(fi.push(hi[1]),li.unshift(hi[2])),li.length&&(ne="/"+li.join(".")+ne),this.hostname=fi.join(".");break}}}this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase(),ei||(this.hostname=punycode.toASCII(this.hostname));var gr=this.port?":"+this.port:"",Ae=this.hostname||"";this.host=Ae+gr,this.href+=this.host,ei&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),ne[0]!=="/"&&(ne="/"+ne))}if(!unsafeProtocol[lr])for(var Br=0,Zr=autoEscape.length;Br<Zr;Br++){var ze=autoEscape[Br];if(ne.indexOf(ze)!==-1){var Ue=encodeURIComponent(ze);Ue===ze&&(Ue=escape(ze)),ne=ne.split(ze).join(Ue)}}var tr=ne.indexOf("#");tr!==-1&&(this.hash=ne.substr(tr),ne=ne.slice(0,tr));var or=ne.indexOf("?");if(or!==-1?(this.search=ne.substr(or),this.query=ne.substr(or+1),c&&(this.query=querystring.parse(this.query)),ne=ne.slice(0,or)):c&&(this.search="",this.query={}),ne&&(this.pathname=ne),slashedProtocol[lr]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var gr=this.pathname||"",vr=this.search||"";this.path=gr+vr}return this.href=this.format(),this};function urlFormat(m){return typeof m=="string"&&(m=urlParse(m)),m instanceof Url?m.format():Url.prototype.format.call(m)}Url.prototype.format=function(){var m=this.auth||"";m&&(m=encodeURIComponent(m),m=m.replace(/%3A/i,":"),m+="@");var c=this.protocol||"",ie=this.pathname||"",we=this.hash||"",Ie=!1,Me="";this.host?Ie=m+this.host:this.hostname&&(Ie=m+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Ie+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(Me=querystring.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var Ze=this.search||Me&&"?"+Me||"";return c&&c.substr(-1)!==":"&&(c+=":"),this.slashes||(!c||slashedProtocol[c])&&Ie!==!1?(Ie="//"+(Ie||""),ie&&ie.charAt(0)!=="/"&&(ie="/"+ie)):Ie||(Ie=""),we&&we.charAt(0)!=="#"&&(we="#"+we),Ze&&Ze.charAt(0)!=="?"&&(Ze="?"+Ze),ie=ie.replace(/[?#]/g,function(ne){return encodeURIComponent(ne)}),Ze=Ze.replace("#","%23"),c+Ie+ie+Ze+we};function urlResolve(m,c){return urlParse(m,!1,!0).resolve(c)}Url.prototype.resolve=function(m){return this.resolveObject(urlParse(m,!1,!0)).format()};function urlResolveObject(m,c){return m?urlParse(m,!1,!0).resolveObject(c):c}Url.prototype.resolveObject=function(m){if(typeof m=="string"){var c=new Url;c.parse(m,!1,!0),m=c}for(var ie=new Url,we=Object.keys(this),Ie=0;Ie<we.length;Ie++){var Me=we[Ie];ie[Me]=this[Me]}if(ie.hash=m.hash,m.href==="")return ie.href=ie.format(),ie;if(m.slashes&&!m.protocol){for(var Ze=Object.keys(m),ne=0;ne<Ze.length;ne++){var rr=Ze[ne];rr!=="protocol"&&(ie[rr]=m[rr])}return slashedProtocol[ie.protocol]&&ie.hostname&&!ie.pathname&&(ie.pathname="/",ie.path=ie.pathname),ie.href=ie.format(),ie}if(m.protocol&&m.protocol!==ie.protocol){if(!slashedProtocol[m.protocol]){for(var pr=Object.keys(m),lr=0;lr<pr.length;lr++){var yr=pr[lr];ie[yr]=m[yr]}return ie.href=ie.format(),ie}if(ie.protocol=m.protocol,!m.host&&!hostlessProtocol[m.protocol]){for(var Zr=(m.pathname||"").split("/");Zr.length&&!(m.host=Zr.shift()););m.host||(m.host=""),m.hostname||(m.hostname=""),Zr[0]!==""&&Zr.unshift(""),Zr.length<2&&Zr.unshift(""),ie.pathname=Zr.join("/")}else ie.pathname=m.pathname;if(ie.search=m.search,ie.query=m.query,ie.host=m.host||"",ie.auth=m.auth,ie.hostname=m.hostname||m.host,ie.port=m.port,ie.pathname||ie.search){var kr=ie.pathname||"",Br=ie.search||"";ie.path=kr+Br}return ie.slashes=ie.slashes||m.slashes,ie.href=ie.format(),ie}var Ar=ie.pathname&&ie.pathname.charAt(0)==="/",Pr=m.host||m.pathname&&m.pathname.charAt(0)==="/",Nr=Pr||Ar||ie.host&&m.pathname,ei=Nr,Vr=ie.pathname&&ie.pathname.split("/")||[],Zr=m.pathname&&m.pathname.split("/")||[],Wr=ie.protocol&&!slashedProtocol[ie.protocol];if(Wr&&(ie.hostname="",ie.port=null,ie.host&&(Vr[0]===""?Vr[0]=ie.host:Vr.unshift(ie.host)),ie.host="",m.protocol&&(m.hostname=null,m.port=null,m.host&&(Zr[0]===""?Zr[0]=m.host:Zr.unshift(m.host)),m.host=null),Nr=Nr&&(Zr[0]===""||Vr[0]==="")),Pr)ie.host=m.host||m.host===""?m.host:ie.host,ie.hostname=m.hostname||m.hostname===""?m.hostname:ie.hostname,ie.search=m.search,ie.query=m.query,Vr=Zr;else if(Zr.length)Vr||(Vr=[]),Vr.pop(),Vr=Vr.concat(Zr),ie.search=m.search,ie.query=m.query;else if(m.search!=null){if(Wr){ie.host=Vr.shift(),ie.hostname=ie.host;var ai=ie.host&&ie.host.indexOf("@")>0?ie.host.split("@"):!1;ai&&(ie.auth=ai.shift(),ie.hostname=ai.shift(),ie.host=ie.hostname)}return ie.search=m.search,ie.query=m.query,(ie.pathname!==null||ie.search!==null)&&(ie.path=(ie.pathname?ie.pathname:"")+(ie.search?ie.search:"")),ie.href=ie.format(),ie}if(!Vr.length)return ie.pathname=null,ie.search?ie.path="/"+ie.search:ie.path=null,ie.href=ie.format(),ie;for(var ui=Vr.slice(-1)[0],di=(ie.host||m.host||Vr.length>1)&&(ui==="."||ui==="..")||ui==="",fi=0,li=Vr.length;li>=0;li--)ui=Vr[li],ui==="."?Vr.splice(li,1):ui===".."?(Vr.splice(li,1),fi++):fi&&(Vr.splice(li,1),fi--);if(!Nr&&!ei)for(;fi--;fi)Vr.unshift("..");Nr&&Vr[0]!==""&&(!Vr[0]||Vr[0].charAt(0)!=="/")&&Vr.unshift(""),di&&Vr.join("/").substr(-1)!=="/"&&Vr.push("");var hi=Vr[0]===""||Vr[0]&&Vr[0].charAt(0)==="/";if(Wr){ie.hostname=hi?"":Vr.length?Vr.shift():"",ie.host=ie.hostname;var ai=ie.host&&ie.host.indexOf("@")>0?ie.host.split("@"):!1;ai&&(ie.auth=ai.shift(),ie.hostname=ai.shift(),ie.host=ie.hostname)}return Nr=Nr||ie.host&&Vr.length,Nr&&!hi&&Vr.unshift(""),Vr.length>0?ie.pathname=Vr.join("/"):(ie.pathname=null,ie.path=null),(ie.pathname!==null||ie.search!==null)&&(ie.path=(ie.pathname?ie.pathname:"")+(ie.search?ie.search:"")),ie.auth=m.auth||ie.auth,ie.slashes=ie.slashes||m.slashes,ie.href=ie.format(),ie},Url.prototype.parseHost=function(){var m=this.host,c=portPattern.exec(m);c&&(c=c[0],c!==":"&&(this.port=c.substr(1)),m=m.substr(0,m.length-c.length)),m&&(this.hostname=m)};var parse$8=urlParse,resolve$1=urlResolve,resolveObject=urlResolveObject,format=urlFormat,Url_1=Url;function normalizeArray(m,c){for(var ie=0,we=m.length-1;we>=0;we--){var Ie=m[we];Ie==="."?m.splice(we,1):Ie===".."?(m.splice(we,1),ie++):ie&&(m.splice(we,1),ie--)}if(c)for(;ie--;ie)m.unshift("..");return m}function resolve(){for(var m="",c=!1,ie=arguments.length-1;ie>=-1&&!c;ie--){var we=ie>=0?arguments[ie]:"/";if(typeof we!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!we)continue;m=we+"/"+m,c=we.charAt(0)==="/"}return m=normalizeArray(filter(m.split("/"),function(Ie){return!!Ie}),!c).join("/"),(c?"/":"")+m||"."}function filter(m,c){if(m.filter)return m.filter(c);for(var ie=[],we=0;we<m.length;we++)c(m[we],we,m)&&ie.push(m[we]);return ie}var _globalThis=function(m){function c(){var we=this||self;return delete m.prototype.__magic__,we}if(typeof globalThis=="object")return globalThis;if(this)return c();m.defineProperty(m.prototype,"__magic__",{configurable:!0,get:c});var ie=__magic__;return ie}(Object),formatImport=format,parseImport=parse$8,resolveImport=resolve$1,UrlImport=Url_1,URL$1=_globalThis.URL,URLSearchParams$1=_globalThis.URLSearchParams,percentRegEx=/%/g,backslashRegEx=/\\/g,newlineRegEx=/\n/g,carriageReturnRegEx=/\r/g,tabRegEx=/\t/g,CHAR_FORWARD_SLASH=47;function isURLInstance(m){var c=m??null;return Boolean(c!==null&&c?.href&&c?.origin)}function getPathFromURLPosix(m){if(m.hostname!=="")throw new TypeError('File URL host must be "localhost" or empty on browser');for(var c=m.pathname,ie=0;ie<c.length;ie++)if(c[ie]==="%"){var we=c.codePointAt(ie+2)|32;if(c[ie+1]==="2"&&we===102)throw new TypeError("File URL path must not include encoded / characters")}return decodeURIComponent(c)}function encodePathChars(m){return m.includes("%")&&(m=m.replace(percentRegEx,"%25")),m.includes("\\")&&(m=m.replace(backslashRegEx,"%5C")),m.includes(`
|
|
2581
2581
|
`)&&(m=m.replace(newlineRegEx,"%0A")),m.includes("\r")&&(m=m.replace(carriageReturnRegEx,"%0D")),m.includes(" ")&&(m=m.replace(tabRegEx,"%09")),m}var domainToASCII=function m(c){if(typeof c>"u")throw new TypeError('The "domain" argument must be specified');return new URL$1("http://"+c).hostname},domainToUnicode=function m(c){if(typeof c>"u")throw new TypeError('The "domain" argument must be specified');return new URL$1("http://"+c).hostname},pathToFileURL=function m(c){var ie=new URL$1("file://"),we=resolve(c),Ie=c.charCodeAt(c.length-1);return Ie===CHAR_FORWARD_SLASH&&we[we.length-1]!=="/"&&(we+="/"),ie.pathname=encodePathChars(we),ie},fileURLToPath=function m(c){if(!isURLInstance(c)&&typeof c!="string")throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof c+" ("+c+")");var ie=new URL$1(c);if(ie.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return getPathFromURLPosix(ie)},formatImportWithOverloads=function m(c,ie){var we,Ie,Me,Ze;if(ie===void 0&&(ie={}),!(c instanceof URL$1))return formatImport(c);if(typeof ie!="object"||ie===null)throw new TypeError('The "options" argument must be of type object.');var ne=(we=ie.auth)!=null?we:!0,rr=(Ie=ie.fragment)!=null?Ie:!0,pr=(Me=ie.search)!=null?Me:!0;(Ze=ie.unicode)!=null;var lr=new URL$1(c.toString());return ne||(lr.username="",lr.password=""),rr||(lr.hash=""),pr||(lr.search=""),lr.toString()},api={format:formatImportWithOverloads,parse:parseImport,resolve:resolveImport,resolveObject,Url:UrlImport,URL:URL$1,URLSearchParams:URLSearchParams$1,domainToASCII,domainToUnicode,pathToFileURL,fileURLToPath};const url=Object.freeze(Object.defineProperty({__proto__:null,URL:URL$1,URLSearchParams:URLSearchParams$1,Url:UrlImport,default:api,domainToASCII,domainToUnicode,fileURLToPath,format:formatImportWithOverloads,parse:parseImport,pathToFileURL,resolve:resolveImport,resolveObject},Symbol.toStringTag,{value:"Module"})),require$$1=getAugmentedNamespace(url);function assertPath(m){if(typeof m!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(m))}function normalizeStringPosix(m,c){for(var ie="",we=0,Ie=-1,Me=0,Ze,ne=0;ne<=m.length;++ne){if(ne<m.length)Ze=m.charCodeAt(ne);else{if(Ze===47)break;Ze=47}if(Ze===47){if(!(Ie===ne-1||Me===1))if(Ie!==ne-1&&Me===2){if(ie.length<2||we!==2||ie.charCodeAt(ie.length-1)!==46||ie.charCodeAt(ie.length-2)!==46){if(ie.length>2){var rr=ie.lastIndexOf("/");if(rr!==ie.length-1){rr===-1?(ie="",we=0):(ie=ie.slice(0,rr),we=ie.length-1-ie.lastIndexOf("/")),Ie=ne,Me=0;continue}}else if(ie.length===2||ie.length===1){ie="",we=0,Ie=ne,Me=0;continue}}c&&(ie.length>0?ie+="/..":ie="..",we=2)}else ie.length>0?ie+="/"+m.slice(Ie+1,ne):ie=m.slice(Ie+1,ne),we=ne-Ie-1;Ie=ne,Me=0}else Ze===46&&Me!==-1?++Me:Me=-1}return ie}function _format(m,c){var ie=c.dir||c.root,we=c.base||(c.name||"")+(c.ext||"");return ie?ie===c.root?ie+we:ie+m+we:we}var posix={resolve:function m(){for(var c="",ie=!1,we,Ie=arguments.length-1;Ie>=-1&&!ie;Ie--){var Me;Ie>=0?Me=arguments[Ie]:(we===void 0&&(we=process$1.cwd()),Me=we),assertPath(Me),Me.length!==0&&(c=Me+"/"+c,ie=Me.charCodeAt(0)===47)}return c=normalizeStringPosix(c,!ie),ie?c.length>0?"/"+c:"/":c.length>0?c:"."},normalize:function m(c){if(assertPath(c),c.length===0)return".";var ie=c.charCodeAt(0)===47,we=c.charCodeAt(c.length-1)===47;return c=normalizeStringPosix(c,!ie),c.length===0&&!ie&&(c="."),c.length>0&&we&&(c+="/"),ie?"/"+c:c},isAbsolute:function m(c){return assertPath(c),c.length>0&&c.charCodeAt(0)===47},join:function m(){if(arguments.length===0)return".";for(var c,ie=0;ie<arguments.length;++ie){var we=arguments[ie];assertPath(we),we.length>0&&(c===void 0?c=we:c+="/"+we)}return c===void 0?".":posix.normalize(c)},relative:function m(c,ie){if(assertPath(c),assertPath(ie),c===ie||(c=posix.resolve(c),ie=posix.resolve(ie),c===ie))return"";for(var we=1;we<c.length&&c.charCodeAt(we)===47;++we);for(var Ie=c.length,Me=Ie-we,Ze=1;Ze<ie.length&&ie.charCodeAt(Ze)===47;++Ze);for(var ne=ie.length,rr=ne-Ze,pr=Me<rr?Me:rr,lr=-1,yr=0;yr<=pr;++yr){if(yr===pr){if(rr>pr){if(ie.charCodeAt(Ze+yr)===47)return ie.slice(Ze+yr+1);if(yr===0)return ie.slice(Ze+yr)}else Me>pr&&(c.charCodeAt(we+yr)===47?lr=yr:yr===0&&(lr=0));break}var kr=c.charCodeAt(we+yr),Br=ie.charCodeAt(Ze+yr);if(kr!==Br)break;kr===47&&(lr=yr)}var Ar="";for(yr=we+lr+1;yr<=Ie;++yr)(yr===Ie||c.charCodeAt(yr)===47)&&(Ar.length===0?Ar+="..":Ar+="/..");return Ar.length>0?Ar+ie.slice(Ze+lr):(Ze+=lr,ie.charCodeAt(Ze)===47&&++Ze,ie.slice(Ze))},_makeLong:function m(c){return c},dirname:function m(c){if(assertPath(c),c.length===0)return".";for(var ie=c.charCodeAt(0),we=ie===47,Ie=-1,Me=!0,Ze=c.length-1;Ze>=1;--Ze)if(ie=c.charCodeAt(Ze),ie===47){if(!Me){Ie=Ze;break}}else Me=!1;return Ie===-1?we?"/":".":we&&Ie===1?"//":c.slice(0,Ie)},basename:function m(c,ie){if(ie!==void 0&&typeof ie!="string")throw new TypeError('"ext" argument must be a string');assertPath(c);var we=0,Ie=-1,Me=!0,Ze;if(ie!==void 0&&ie.length>0&&ie.length<=c.length){if(ie.length===c.length&&ie===c)return"";var ne=ie.length-1,rr=-1;for(Ze=c.length-1;Ze>=0;--Ze){var pr=c.charCodeAt(Ze);if(pr===47){if(!Me){we=Ze+1;break}}else rr===-1&&(Me=!1,rr=Ze+1),ne>=0&&(pr===ie.charCodeAt(ne)?--ne===-1&&(Ie=Ze):(ne=-1,Ie=rr))}return we===Ie?Ie=rr:Ie===-1&&(Ie=c.length),c.slice(we,Ie)}else{for(Ze=c.length-1;Ze>=0;--Ze)if(c.charCodeAt(Ze)===47){if(!Me){we=Ze+1;break}}else Ie===-1&&(Me=!1,Ie=Ze+1);return Ie===-1?"":c.slice(we,Ie)}},extname:function m(c){assertPath(c);for(var ie=-1,we=0,Ie=-1,Me=!0,Ze=0,ne=c.length-1;ne>=0;--ne){var rr=c.charCodeAt(ne);if(rr===47){if(!Me){we=ne+1;break}continue}Ie===-1&&(Me=!1,Ie=ne+1),rr===46?ie===-1?ie=ne:Ze!==1&&(Ze=1):ie!==-1&&(Ze=-1)}return ie===-1||Ie===-1||Ze===0||Ze===1&&ie===Ie-1&&ie===we+1?"":c.slice(ie,Ie)},format:function m(c){if(c===null||typeof c!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof c);return _format("/",c)},parse:function m(c){assertPath(c);var ie={root:"",dir:"",base:"",ext:"",name:""};if(c.length===0)return ie;var we=c.charCodeAt(0),Ie=we===47,Me;Ie?(ie.root="/",Me=1):Me=0;for(var Ze=-1,ne=0,rr=-1,pr=!0,lr=c.length-1,yr=0;lr>=Me;--lr){if(we=c.charCodeAt(lr),we===47){if(!pr){ne=lr+1;break}continue}rr===-1&&(pr=!1,rr=lr+1),we===46?Ze===-1?Ze=lr:yr!==1&&(yr=1):Ze!==-1&&(yr=-1)}return Ze===-1||rr===-1||yr===0||yr===1&&Ze===rr-1&&Ze===ne+1?rr!==-1&&(ne===0&&Ie?ie.base=ie.name=c.slice(1,rr):ie.base=ie.name=c.slice(ne,rr)):(ne===0&&Ie?(ie.name=c.slice(1,Ze),ie.base=c.slice(1,rr)):(ie.name=c.slice(ne,Ze),ie.base=c.slice(ne,rr)),ie.ext=c.slice(Ze,rr)),ne>0?ie.dir=c.slice(0,ne-1):Ie&&(ie.dir="/"),ie},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix,decodeUriComponent,hasRequiredDecodeUriComponent;function requireDecodeUriComponent(){if(hasRequiredDecodeUriComponent)return decodeUriComponent;hasRequiredDecodeUriComponent=1;var m="%[a-f0-9]{2}",c=new RegExp("("+m+")|([^%]+?)","gi"),ie=new RegExp("("+m+")+","gi");function we(Ze,ne){try{return[decodeURIComponent(Ze.join(""))]}catch{}if(Ze.length===1)return Ze;ne=ne||1;var rr=Ze.slice(0,ne),pr=Ze.slice(ne);return Array.prototype.concat.call([],we(rr),we(pr))}function Ie(Ze){try{return decodeURIComponent(Ze)}catch{for(var ne=Ze.match(c)||[],rr=1;rr<ne.length;rr++)Ze=we(ne,rr).join(""),ne=Ze.match(c)||[];return Ze}}function Me(Ze){for(var ne={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},rr=ie.exec(Ze);rr;){try{ne[rr[0]]=decodeURIComponent(rr[0])}catch{var pr=Ie(rr[0]);pr!==rr[0]&&(ne[rr[0]]=pr)}rr=ie.exec(Ze)}ne["%C2"]="\uFFFD";for(var lr=Object.keys(ne),yr=0;yr<lr.length;yr++){var kr=lr[yr];Ze=Ze.replace(new RegExp(kr,"g"),ne[kr])}return Ze}return decodeUriComponent=function(Ze){if(typeof Ze!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof Ze+"`");try{return Ze=Ze.replace(/\+/g," "),decodeURIComponent(Ze)}catch{return Me(Ze)}},decodeUriComponent}var sourceMapResolve,hasRequiredSourceMapResolve;function requireSourceMapResolve(){if(hasRequiredSourceMapResolve)return sourceMapResolve;hasRequiredSourceMapResolve=1;var m=requireBrowserAtob(),c=require$$1,ie=pathBrowserify,we=requireDecodeUriComponent();function Ie(){return Array.prototype.reduce.call(arguments,function(gr,Ae){return c.resolve(gr,Ae)})}function Me(gr){return ie.sep==="\\"?gr.replace(/\\/g,"/").replace(/^[a-z]:\/?/i,"/"):gr}function Ze(gr){return we(gr.replace(/\+/g,"%2B"))}function ne(gr,Ae,ze){setImmediate(function(){gr(Ae,ze)})}function rr(gr,Ae){try{return JSON.parse(gr.replace(/^\)\]\}'/,""))}catch(ze){throw ze.sourceMapData=Ae,ze}}function pr(gr,Ae,ze){var Ue=Ze(Ae);try{return String(gr(Ue))}catch(tr){throw tr.sourceMapData=ze,tr}}var lr=/[#@] sourceMappingURL=([^\s'"]*)/,yr=RegExp(`(?:/\\*(?:\\s*\r?
|
|
2582
2582
|
(?://)?)?(?:`+lr.source+")\\s*\\*/|//(?:"+lr.source+"))\\s*");function kr(gr){var Ae=gr.match(yr);return Ae?Ae[1]||Ae[2]||"":null}function Br(gr,Ae,ze,Ue){var tr;try{tr=Wr(gr,Ae)}catch(vr){return ne(Ue,vr)}if(!tr||tr.map)return ne(Ue,null,tr);var or=Ze(tr.url);ze(or,function(vr,br){if(vr)return vr.sourceMapData=tr,Ue(vr);tr.map=String(br);try{tr.map=rr(tr.map,tr)}catch(nr){return Ue(nr)}Ue(null,tr)})}function Ar(gr,Ae,ze){var Ue=Wr(gr,Ae);return!Ue||Ue.map||(Ue.map=pr(ze,Ue.url,Ue),Ue.map=rr(Ue.map,Ue)),Ue}var Pr=/^data:([^,;]*)(;[^,;]*)*(?:,(.*))?$/,Nr=/^(?:application|text)\/json$/,ei="utf-8";function Vr(gr){for(var Ae=m(gr),ze=Ae.length,Ue=new Uint8Array(ze),tr=0;tr<ze;tr++)Ue[tr]=Ae.charCodeAt(tr);return Ue}function Zr(gr){if(typeof TextDecoder>"u"||typeof Uint8Array>"u")return m(gr);var Ae=Vr(gr),ze=new TextDecoder(ei,{fatal:!0});return ze.decode(Ae)}function Wr(gr,Ae){Ae=Me(Ae);var ze=kr(gr);if(!ze)return null;var Ue=ze.match(Pr);if(Ue){var tr=Ue[1]||"text/plain",or=Ue[2]||"",vr=Ue[3]||"",br={sourceMappingURL:ze,url:null,sourcesRelativeTo:Ae,map:vr};if(!Nr.test(tr)){var nr=new Error("Unuseful data uri mime type: "+tr);throw nr.sourceMapData=br,nr}try{br.map=rr(or===";base64"?Zr(vr):decodeURIComponent(vr),br)}catch(ur){throw ur.sourceMapData=br,ur}return br}var $e=Ie(Ae,ze);return{sourceMappingURL:ze,url:$e,sourcesRelativeTo:$e,map:null}}function ai(gr,Ae,ze,Ue,tr){typeof Ue=="function"&&(tr=Ue,Ue={});var or=gr.sources?gr.sources.length:0,vr={sourcesResolved:[],sourcesContent:[]};if(or===0){ne(tr,null,vr);return}var br=function(){or--,or===0&&tr(null,vr)};fi(gr,Ae,Ue,function(nr,$e,ur){if(vr.sourcesResolved[ur]=nr,typeof $e=="string")vr.sourcesContent[ur]=$e,ne(br,null);else{var $r=Ze(nr);ze($r,function(Yr,wi){vr.sourcesContent[ur]=Yr||String(wi),br()})}})}function ui(gr,Ae,ze,Ue){var tr={sourcesResolved:[],sourcesContent:[]};return!gr.sources||gr.sources.length===0||fi(gr,Ae,Ue,function(or,vr,br){if(tr.sourcesResolved[br]=or,ze!==null)if(typeof vr=="string")tr.sourcesContent[br]=vr;else{var nr=Ze(or);try{tr.sourcesContent[br]=String(ze(nr))}catch($e){tr.sourcesContent[br]=$e}}}),tr}var di=/\/?$/;function fi(gr,Ae,ze,Ue){ze=ze||{},Ae=Me(Ae);for(var tr,or,vr,br=0,nr=gr.sources.length;br<nr;br++)vr=null,typeof ze.sourceRoot=="string"?vr=ze.sourceRoot:typeof gr.sourceRoot=="string"&&ze.sourceRoot!==!1&&(vr=gr.sourceRoot),vr===null||vr===""?tr=Ie(Ae,gr.sources[br]):tr=Ie(Ae,vr.replace(di,"/"),gr.sources[br]),or=(gr.sourcesContent||[])[br],Ue(tr,or,br)}function li(gr,Ae,ze,Ue,tr){if(typeof Ue=="function"&&(tr=Ue,Ue={}),gr===null){var or=Ae,vr={sourceMappingURL:null,url:or,sourcesRelativeTo:or,map:null},br=Ze(or);ze(br,function($e,ur){if($e)return $e.sourceMapData=vr,tr($e);vr.map=String(ur);try{vr.map=rr(vr.map,vr)}catch($r){return tr($r)}nr(vr)})}else Br(gr,Ae,ze,function($e,ur){if($e)return tr($e);if(!ur)return tr(null,null);nr(ur)});function nr($e){ai($e.map,$e.sourcesRelativeTo,ze,Ue,function(ur,$r){if(ur)return tr(ur);$e.sourcesResolved=$r.sourcesResolved,$e.sourcesContent=$r.sourcesContent,tr(null,$e)})}}function hi(gr,Ae,ze,Ue){var tr;if(gr===null){var or=Ae;tr={sourceMappingURL:null,url:or,sourcesRelativeTo:or,map:null},tr.map=pr(ze,or,tr),tr.map=rr(tr.map,tr)}else if(tr=Ar(gr,Ae,ze),!tr)return null;var vr=ui(tr.map,tr.sourcesRelativeTo,ze,Ue);return tr.sourcesResolved=vr.sourcesResolved,tr.sourcesContent=vr.sourcesContent,tr}return sourceMapResolve={resolveSourceMap:Br,resolveSourceMapSync:Ar,resolveSources:ai,resolveSourcesSync:ui,resolve:li,resolveSync:hi,parseMapToJSON:rr},sourceMapResolve}var empty=null;const empty$1=Object.freeze(Object.defineProperty({__proto__:null,default:empty},Symbol.toStringTag,{value:"Module"})),require$$2=getAugmentedNamespace(empty$1);var hasRequiredSourceMapSupport;function requireSourceMapSupport(){return hasRequiredSourceMapSupport||(hasRequiredSourceMapSupport=1,function(m,c){var ie=requireSourceMap().SourceMapGenerator,we=requireSourceMap().SourceMapConsumer,Ie=requireSourceMapResolve(),Me=require$$2,Ze=pathBrowserify;m.exports=rr;const ne=function(pr){return Ze.sep==="\\"?pr.replace(/\\/g,"/").replace(/^[a-z]:\/?/i,"/"):pr};function rr(pr){pr._comment=pr.comment,pr.map=new ie,pr.position={line:1,column:1},pr.files={};for(var lr in c)pr[lr]=c[lr]}c.updatePosition=function(pr){var lr=pr.match(/\n/g);lr&&(this.position.line+=lr.length);var yr=pr.lastIndexOf(`
|
|
2583
|
-
`);this.position.column=~yr?pr.length-yr:this.position.column+pr.length},c.emit=function(pr,lr){if(lr){var yr=ne(lr.source||"source.css");this.map.addMapping({source:yr,generated:{line:this.position.line,column:Math.max(this.position.column-1,0)},original:{line:lr.start.line,column:lr.start.column-1}}),this.addFile(yr,lr)}return this.updatePosition(pr),pr},c.addFile=function(pr,lr){typeof lr.content=="string"&&(Object.prototype.hasOwnProperty.call(this.files,pr)||(this.files[pr]=lr.content))},c.applySourceMaps=function(){Object.keys(this.files).forEach(function(pr){var lr=this.files[pr];if(this.map.setSourceContent(pr,lr),this.options.inputSourcemaps!==!1){var yr=Ie.resolveSync(lr,pr,Me.readFileSync);if(yr){var kr=new we(yr.map),Br=yr.sourcesRelativeTo;this.map.applySourceMap(kr,pr,ne(Ze.dirname(Br)))}}},this)},c.comment=function(pr){return/^# sourceMappingURL=/.test(pr.comment)?this.emit("",pr.position):this._comment(pr)}}(sourceMapSupport,sourceMapSupport.exports)),sourceMapSupport.exports}var Compressed=compress,Identity=identity,stringify=function(m,c){c=c||{};var ie=c.compress?new Compressed(c):new Identity(c);if(c.sourcemap){var we=requireSourceMapSupport();we(ie);var Me=ie.compile(m);ie.applySourceMaps();var Ie=c.sourcemap==="generator"?ie.map:ie.map.toJSON();return{code:Me,map:Ie}}var Me=ie.compile(m);return Me};css.parse=parse$b,css.stringify=stringify;function blobToDataURL(m){return new Promise(function(c){const ie=new FileReader;ie.addEventListener("load",we=>{typeof we?.target?.result=="string"&&c(we.target.result)}),ie.readAsDataURL(m)})}function indexOf(m,c,ie=0){const we=m.substring(ie).search(c);return we>-1?ie+we:we}function indexOfAll(m,c,ie=0){const we=[];for(;indexOf(m,c,ie)>-1;)we.push(indexOf(m,c,ie)),ie=we[we.length-1]+1;return we}function findExprEnd(m,c,ie,we=[/\(/,/\)/]){let Ie=c;for(;Ie<m.length;){const Me=indexOf(m,ie,Ie)>-1?indexOf(m,ie,Ie):1/0,Ze=m.slice(0,Me+1),ne=indexOfAll(Ze,we[0],c),rr=indexOfAll(Ze,we[1],c);if(ne.length-rr.length<=0)return Me;Ie=Me+1}return-1}function parseArgumentsIndex(m,c,ie,we=[/\(/,/\)/]){let Ie=0;const Me=[];for(;indexOf(m,ie,Ie)>-1;){const Ze=indexOf(m,ie,Ie),ne=findExprEnd(m,Ze,c,we);if(Me.push({start:Ze,end:ne}),Ie=ne+1,ne==-1)break}return Me}function parseArguments(m,c=/,\s*/,ie=/[^\s]/,we){return parseArgumentsIndex(m,c,ie,we).map(({start:Ie,end:Me})=>m.substring(Ie,Me))}function parseExpression(m){const c=[];let ie=0;for(;;){const we=findExprEnd(m,ie,/\s{1,}/);if(we>=0){const Ie=m.substring(ie,we);c.push(Ie);const Me=indexOf(m,/[^\s]/,we);if(Me>=0)ie=Me;else break}else{const Ie=m.substring(ie);c.push(Ie);break}}return c}function parsePrimitive(m){const c=m.search(/[^\.0-9\-]/);if(c>0){const ie=Number(m.slice(0,c)),we=m.slice(c);if(!isNaN(ie))return{value:ie,unit:we}}return{value:isNaN(Number(m))?m:Number(m),unit:null}}const funcRegex=/^([^()\s]{1,})\((.*)\)$/;function isFunctionLiteral(m){return funcRegex.test(m)}function __parse(m){const c=m;if(isFunctionLiteral(m)){const[,ie,we]=m.match(funcRegex);return{raw:c,type:"function",name:ie,args:parseArguments(we,/,\s*/,/[^\s]/).map(parse$7)}}else{const ie=m.replace(/^\((.*)\)$/,"$1"),we=parseExpression(ie);if(we.length===1&&we[0]===m){const{value:Ie,unit:Me}=parsePrimitive(we[0]);return{raw:c,type:"primitive",value:Ie,unit:Me}}else return{raw:c,type:"expression",literals:we.map(__parse)}}}function parse$7(m){var c;const ie=__parse(`(${m})`);return Object.assign(Object.assign({},ie),{raw:(c=ie.raw)===null||c===void 0?void 0:c.slice(1,-1)})}async function fetchWithProgress(m,c,ie="unit8Array",we){const Ie=await fetch(m,c);if(!Ie.body)throw new Error("Response body is undefined");const Me=Number(Ie.headers.get("Content-Length")),Ze=isNaN(Me)?null:Me,ne=Ie.body.getReader();let rr=0;const pr=[];for(;;){const{done:Br,value:Ar}=await ne.read();if(Br)break;rr+=Ar.length,pr.push(Ar),we&&we(Ze,rr)}const lr=new Uint8Array(rr);let yr=0;for(const Br of pr)lr.set(Br,yr),yr+=Br.length;const kr=Ie.headers.get("Content-Type");return{data:lr,contentType:kr}}function fetchWithProgressV1({url:m,method:c="GET",data:ie=null,headers:we={},onUploadProgress:Ie,onDownloadProgress:Me}){return new Promise((Ze,ne)=>{const rr=new XMLHttpRequest;rr.responseType="blob",rr.open(c,m);for(const[pr,lr]of Object.entries(we))rr.setRequestHeader(pr,lr);Ie&&rr.upload&&(rr.upload.onprogress=pr=>{Ie(pr.loaded,pr.total)}),Me&&(rr.onprogress=pr=>{pr.lengthComputable&&Me(pr.loaded,pr.total)}),rr.onload=async()=>{if(rr.status>=200&&rr.status<300)Ze(rr.response);else try{ne(new Error(await rr.response.text()))}catch{ne(new Error(`HTTP error: ${rr.statusText}`))}},rr.onerror=pr=>{ne(new Error("Network error"))},rr.send(ie)})}const cssFontsCache=new Map;function isCharInRange(m,c){const ie=c.split(",").map(we=>we.trim());for(const we of ie)if(we.startsWith("U+")){const[Ie,Me]=we.substring(2).split("-").map(Ze=>parseInt(Ze,16));if(Me?m>=Ie&&m<=Me:m===Ie)return!0}return!1}function textIsInUnicodeRange(m,c){for(const ie of m){const we=ie.codePointAt(0);if(we!==void 0&&isCharInRange(we,c))return!0}return!1}async function resolveCSSFontFile(m,c,ie,we,Ie=!0){if(Ie&&cssFontsCache.has(m))return c(1,1),cssFontsCache.get(m);const Me=await fetch(`https://fontdelivery.fellowblue.dev/proxy?url=${encodeURIComponent(m)}`).then(Ar=>Ar.text()),Ze=pLimit(1),ne=css.parse(Me),{stylesheet:rr}=ne;if(!rr)throw new Error("Invalid CSS file");const{rules:pr}=rr,lr=pr.map(Ar=>{if(!we&&Ar.type==="font-face"){const Pr=Ar;if(Pr.declarations===void 0)throw new Error("no declarations in font-face rule");const Nr=Pr.declarations.find(Zr=>Zr.type==="declaration"?Zr.property==="src":!1),Vr=Pr.declarations.find(Zr=>Zr.type==="declaration"?Zr.property==="unicode-range":null)?.value;if(Vr&&!textIsInUnicodeRange(ie,Vr))return;if(!Nr)throw new Error("no src declaration in font-face rule");return Nr}}).filter(Ar=>Ar!==void 0),yr=lr.length+1;let kr=1;c(kr,yr);for(const Ar of lr){const Pr=Ar.value;if(Pr===void 0)throw new Error("no value in src declaration");const ei=parse$7(Pr).literals.find(ui=>ui.type==="function"&&ui.name==="url");if(ei===void 0)throw new Error("no url function in src declaration");const Vr=ei.args[0].raw;if(Vr===void 0)throw new Error("no url in url function");const Zr=await Ze(()=>fetch(Vr).then(ui=>ui.blob())),Wr=Zr.type.split("/")[1],ai=await blobToDataURL(Zr);Ar.value=`url('${ai}') format('${Wr}')`,kr++,c(kr,yr)}const Br=css.stringify(ne);return Ie&&cssFontsCache.set(m,Br),Br}function uint8ArrayToBase64(m,c=8192){let ie="";for(let we=0;we<m.length;we+=c){const Ie=m.subarray(we,we+c);ie+=String.fromCharCode(...Ie)}return window.btoa(ie)}async function resolveImage(m,c){const ie=m.getAttribute("href");if(ie){const{data:we,contentType:Ie}=await fetchWithProgress(ie,{},"unit8Array",(Ze,ne)=>{Ze!==null&&c(ne/Ze)}),Me=`data:${Ie};base64,${uint8ArrayToBase64(we)}`;c(1),m.setAttribute("href",Me)}}function getTextToCoverByFont(m,c){const ie=Array.from(m.querySelectorAll("text")),we=ie.map(Me=>Array.from(Me.querySelectorAll("tspan"))).flat();return[...ie.map(Me=>Me.textContent??""),...we.map(Me=>Me.textContent??"")].join("")}async function exportSVGDocument(m,c,ie,we){const Me=new DOMParser().parseFromString(m,"image/svg+xml"),Ze=Array.from(Me.querySelectorAll("image")),ne=Ze.map(()=>0),rr=c.map(()=>0),pr=()=>{const Ar=[...rr,...ne],Pr=Ar.reduce((Nr,ei)=>Nr+ei,0)/Ar.length;ie(Pr)},lr=await Promise.all(c.map(async({src:Ar,name:Pr},Nr)=>{const ei=getTextToCoverByFont(Me);return{name:Pr,css:await resolveCSSFontFile(Ar,(Vr,Zr)=>{rr[Nr]=Vr/Zr,pr()},ei,we)}})),yr=Me.createElementNS("http://www.w3.org/2000/svg","defs");for(const{name:Ar,css:Pr}of lr){const Nr=document.createElement("style");Nr.setAttribute("type","text/css"),Nr.setAttribute("data-bx-live-font","true"),Nr.setAttribute("data-bx-font-name",Ar),Nr.innerHTML=Pr,yr.appendChild(Nr)}const kr=Me.documentElement;kr.insertBefore(yr,kr.firstChild);const Br=pLimit(1);return await Promise.all(Ze.map((Ar,Pr)=>Br(()=>resolveImage(Ar,Nr=>{ne[Pr]=Nr,pr()})))),new XMLSerializer().serializeToString(Me)}var re$3={exports:{}};const SEMVER_SPEC_VERSION="2.0.0",MAX_LENGTH$1=256,MAX_SAFE_INTEGER$1=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH$1-6,RELEASE_TYPES=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var constants$1={MAX_LENGTH:MAX_LENGTH$1,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$1,RELEASE_TYPES,SEMVER_SPEC_VERSION,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const debug$1=typeof process$1=="object"&&process$1.env&&process$1.env.NODE_DEBUG&&/\bsemver\b/i.test(process$1.env.NODE_DEBUG)?(...m)=>console.error("SEMVER",...m):()=>{};var debug_1=debug$1;(function(m,c){const{MAX_SAFE_COMPONENT_LENGTH:ie,MAX_SAFE_BUILD_LENGTH:we,MAX_LENGTH:Ie}=constants$1,Me=debug_1;c=m.exports={};const Ze=c.re=[],ne=c.safeRe=[],rr=c.src=[],pr=c.t={};let lr=0;const yr="[a-zA-Z0-9-]",kr=[["\\s",1],["\\d",Ie],[yr,we]],Br=Pr=>{for(const[Nr,ei]of kr)Pr=Pr.split(`${Nr}*`).join(`${Nr}{0,${ei}}`).split(`${Nr}+`).join(`${Nr}{1,${ei}}`);return Pr},Ar=(Pr,Nr,ei)=>{const Vr=Br(Nr),Zr=lr++;Me(Pr,Zr,Nr),pr[Pr]=Zr,rr[Zr]=Nr,Ze[Zr]=new RegExp(Nr,ei?"g":void 0),ne[Zr]=new RegExp(Vr,ei?"g":void 0)};Ar("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ar("NUMERICIDENTIFIERLOOSE","\\d+"),Ar("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${yr}*`),Ar("MAINVERSION",`(${rr[pr.NUMERICIDENTIFIER]})\\.(${rr[pr.NUMERICIDENTIFIER]})\\.(${rr[pr.NUMERICIDENTIFIER]})`),Ar("MAINVERSIONLOOSE",`(${rr[pr.NUMERICIDENTIFIERLOOSE]})\\.(${rr[pr.NUMERICIDENTIFIERLOOSE]})\\.(${rr[pr.NUMERICIDENTIFIERLOOSE]})`),Ar("PRERELEASEIDENTIFIER",`(?:${rr[pr.NUMERICIDENTIFIER]}|${rr[pr.NONNUMERICIDENTIFIER]})`),Ar("PRERELEASEIDENTIFIERLOOSE",`(?:${rr[pr.NUMERICIDENTIFIERLOOSE]}|${rr[pr.NONNUMERICIDENTIFIER]})`),Ar("PRERELEASE",`(?:-(${rr[pr.PRERELEASEIDENTIFIER]}(?:\\.${rr[pr.PRERELEASEIDENTIFIER]})*))`),Ar("PRERELEASELOOSE",`(?:-?(${rr[pr.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${rr[pr.PRERELEASEIDENTIFIERLOOSE]})*))`),Ar("BUILDIDENTIFIER",`${yr}+`),Ar("BUILD",`(?:\\+(${rr[pr.BUILDIDENTIFIER]}(?:\\.${rr[pr.BUILDIDENTIFIER]})*))`),Ar("FULLPLAIN",`v?${rr[pr.MAINVERSION]}${rr[pr.PRERELEASE]}?${rr[pr.BUILD]}?`),Ar("FULL",`^${rr[pr.FULLPLAIN]}$`),Ar("LOOSEPLAIN",`[v=\\s]*${rr[pr.MAINVERSIONLOOSE]}${rr[pr.PRERELEASELOOSE]}?${rr[pr.BUILD]}?`),Ar("LOOSE",`^${rr[pr.LOOSEPLAIN]}$`),Ar("GTLT","((?:<|>)?=?)"),Ar("XRANGEIDENTIFIERLOOSE",`${rr[pr.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ar("XRANGEIDENTIFIER",`${rr[pr.NUMERICIDENTIFIER]}|x|X|\\*`),Ar("XRANGEPLAIN",`[v=\\s]*(${rr[pr.XRANGEIDENTIFIER]})(?:\\.(${rr[pr.XRANGEIDENTIFIER]})(?:\\.(${rr[pr.XRANGEIDENTIFIER]})(?:${rr[pr.PRERELEASE]})?${rr[pr.BUILD]}?)?)?`),Ar("XRANGEPLAINLOOSE",`[v=\\s]*(${rr[pr.XRANGEIDENTIFIERLOOSE]})(?:\\.(${rr[pr.XRANGEIDENTIFIERLOOSE]})(?:\\.(${rr[pr.XRANGEIDENTIFIERLOOSE]})(?:${rr[pr.PRERELEASELOOSE]})?${rr[pr.BUILD]}?)?)?`),Ar("XRANGE",`^${rr[pr.GTLT]}\\s*${rr[pr.XRANGEPLAIN]}$`),Ar("XRANGELOOSE",`^${rr[pr.GTLT]}\\s*${rr[pr.XRANGEPLAINLOOSE]}$`),Ar("COERCEPLAIN",`(^|[^\\d])(\\d{1,${ie}})(?:\\.(\\d{1,${ie}}))?(?:\\.(\\d{1,${ie}}))?`),Ar("COERCE",`${rr[pr.COERCEPLAIN]}(?:$|[^\\d])`),Ar("COERCEFULL",rr[pr.COERCEPLAIN]+`(?:${rr[pr.PRERELEASE]})?(?:${rr[pr.BUILD]})?(?:$|[^\\d])`),Ar("COERCERTL",rr[pr.COERCE],!0),Ar("COERCERTLFULL",rr[pr.COERCEFULL],!0),Ar("LONETILDE","(?:~>?)"),Ar("TILDETRIM",`(\\s*)${rr[pr.LONETILDE]}\\s+`,!0),c.tildeTrimReplace="$1~",Ar("TILDE",`^${rr[pr.LONETILDE]}${rr[pr.XRANGEPLAIN]}$`),Ar("TILDELOOSE",`^${rr[pr.LONETILDE]}${rr[pr.XRANGEPLAINLOOSE]}$`),Ar("LONECARET","(?:\\^)"),Ar("CARETTRIM",`(\\s*)${rr[pr.LONECARET]}\\s+`,!0),c.caretTrimReplace="$1^",Ar("CARET",`^${rr[pr.LONECARET]}${rr[pr.XRANGEPLAIN]}$`),Ar("CARETLOOSE",`^${rr[pr.LONECARET]}${rr[pr.XRANGEPLAINLOOSE]}$`),Ar("COMPARATORLOOSE",`^${rr[pr.GTLT]}\\s*(${rr[pr.LOOSEPLAIN]})$|^$`),Ar("COMPARATOR",`^${rr[pr.GTLT]}\\s*(${rr[pr.FULLPLAIN]})$|^$`),Ar("COMPARATORTRIM",`(\\s*)${rr[pr.GTLT]}\\s*(${rr[pr.LOOSEPLAIN]}|${rr[pr.XRANGEPLAIN]})`,!0),c.comparatorTrimReplace="$1$2$3",Ar("HYPHENRANGE",`^\\s*(${rr[pr.XRANGEPLAIN]})\\s+-\\s+(${rr[pr.XRANGEPLAIN]})\\s*$`),Ar("HYPHENRANGELOOSE",`^\\s*(${rr[pr.XRANGEPLAINLOOSE]})\\s+-\\s+(${rr[pr.XRANGEPLAINLOOSE]})\\s*$`),Ar("STAR","(<|>)?=?\\s*\\*"),Ar("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Ar("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(re$3,re$3.exports);const looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions$1=m=>m?typeof m!="object"?looseOption:m:emptyOpts;var parseOptions_1=parseOptions$1;const numeric=/^[0-9]+$/,compareIdentifiers$1=(m,c)=>{const ie=numeric.test(m),we=numeric.test(c);return ie&&we&&(m=+m,c=+c),m===c?0:ie&&!we?-1:we&&!ie?1:m<c?-1:1},rcompareIdentifiers=(m,c)=>compareIdentifiers$1(c,m);var identifiers$1={compareIdentifiers:compareIdentifiers$1,rcompareIdentifiers};const debug=debug_1,{MAX_LENGTH,MAX_SAFE_INTEGER}=constants$1,{safeRe:re$2,t:t$2}=re$3.exports,parseOptions=parseOptions_1,{compareIdentifiers}=identifiers$1;class SemVer$d{constructor(c,ie){if(ie=parseOptions(ie),c instanceof SemVer$d){if(c.loose===!!ie.loose&&c.includePrerelease===!!ie.includePrerelease)return c;c=c.version}else if(typeof c!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof c}".`);if(c.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug("SemVer",c,ie),this.options=ie,this.loose=!!ie.loose,this.includePrerelease=!!ie.includePrerelease;const we=c.trim().match(ie.loose?re$2[t$2.LOOSE]:re$2[t$2.FULL]);if(!we)throw new TypeError(`Invalid Version: ${c}`);if(this.raw=c,this.major=+we[1],this.minor=+we[2],this.patch=+we[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");we[4]?this.prerelease=we[4].split(".").map(Ie=>{if(/^[0-9]+$/.test(Ie)){const Me=+Ie;if(Me>=0&&Me<MAX_SAFE_INTEGER)return Me}return Ie}):this.prerelease=[],this.build=we[5]?we[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(c){if(debug("SemVer.compare",this.version,this.options,c),!(c instanceof SemVer$d)){if(typeof c=="string"&&c===this.version)return 0;c=new SemVer$d(c,this.options)}return c.version===this.version?0:this.compareMain(c)||this.comparePre(c)}compareMain(c){return c instanceof SemVer$d||(c=new SemVer$d(c,this.options)),compareIdentifiers(this.major,c.major)||compareIdentifiers(this.minor,c.minor)||compareIdentifiers(this.patch,c.patch)}comparePre(c){if(c instanceof SemVer$d||(c=new SemVer$d(c,this.options)),this.prerelease.length&&!c.prerelease.length)return-1;if(!this.prerelease.length&&c.prerelease.length)return 1;if(!this.prerelease.length&&!c.prerelease.length)return 0;let ie=0;do{const we=this.prerelease[ie],Ie=c.prerelease[ie];if(debug("prerelease compare",ie,we,Ie),we===void 0&&Ie===void 0)return 0;if(Ie===void 0)return 1;if(we===void 0)return-1;if(we===Ie)continue;return compareIdentifiers(we,Ie)}while(++ie)}compareBuild(c){c instanceof SemVer$d||(c=new SemVer$d(c,this.options));let ie=0;do{const we=this.build[ie],Ie=c.build[ie];if(debug("build compare",ie,we,Ie),we===void 0&&Ie===void 0)return 0;if(Ie===void 0)return 1;if(we===void 0)return-1;if(we===Ie)continue;return compareIdentifiers(we,Ie)}while(++ie)}inc(c,ie,we){switch(c){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",ie,we);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",ie,we);break;case"prepatch":this.prerelease.length=0,this.inc("patch",ie,we),this.inc("pre",ie,we);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",ie,we),this.inc("pre",ie,we);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const Ie=Number(we)?1:0;if(!ie&&we===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[Ie];else{let Me=this.prerelease.length;for(;--Me>=0;)typeof this.prerelease[Me]=="number"&&(this.prerelease[Me]++,Me=-2);if(Me===-1){if(ie===this.prerelease.join(".")&&we===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(Ie)}}if(ie){let Me=[ie,Ie];we===!1&&(Me=[ie]),compareIdentifiers(this.prerelease[0],ie)===0?isNaN(this.prerelease[1])&&(this.prerelease=Me):this.prerelease=Me}break}default:throw new Error(`invalid increment argument: ${c}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}var semver$1=SemVer$d;const SemVer$c=semver$1,parse$6=(m,c,ie=!1)=>{if(m instanceof SemVer$c)return m;try{return new SemVer$c(m,c)}catch(we){if(!ie)return null;throw we}};var parse_1=parse$6;const parse$5=parse_1,valid$2=(m,c)=>{const ie=parse$5(m,c);return ie?ie.version:null};var valid_1=valid$2;const parse$4=parse_1,clean$1=(m,c)=>{const ie=parse$4(m.trim().replace(/^[=v]+/,""),c);return ie?ie.version:null};var clean_1=clean$1;const SemVer$b=semver$1,inc$1=(m,c,ie,we,Ie)=>{typeof ie=="string"&&(Ie=we,we=ie,ie=void 0);try{return new SemVer$b(m instanceof SemVer$b?m.version:m,ie).inc(c,we,Ie).version}catch{return null}};var inc_1=inc$1;const parse$3=parse_1,diff$1=(m,c)=>{const ie=parse$3(m,null,!0),we=parse$3(c,null,!0),Ie=ie.compare(we);if(Ie===0)return null;const Me=Ie>0,Ze=Me?ie:we,ne=Me?we:ie,rr=!!Ze.prerelease.length;if(!!ne.prerelease.length&&!rr)return!ne.patch&&!ne.minor?"major":Ze.patch?"patch":Ze.minor?"minor":"major";const lr=rr?"pre":"";return ie.major!==we.major?lr+"major":ie.minor!==we.minor?lr+"minor":ie.patch!==we.patch?lr+"patch":"prerelease"};var diff_1=diff$1;const SemVer$a=semver$1,major$1=(m,c)=>new SemVer$a(m,c).major;var major_1=major$1;const SemVer$9=semver$1,minor$1=(m,c)=>new SemVer$9(m,c).minor;var minor_1=minor$1;const SemVer$8=semver$1,patch$1=(m,c)=>new SemVer$8(m,c).patch;var patch_1=patch$1;const parse$2=parse_1,prerelease$1=(m,c)=>{const ie=parse$2(m,c);return ie&&ie.prerelease.length?ie.prerelease:null};var prerelease_1=prerelease$1;const SemVer$7=semver$1,compare$b=(m,c,ie)=>new SemVer$7(m,ie).compare(new SemVer$7(c,ie));var compare_1=compare$b;const compare$a=compare_1,rcompare$1=(m,c,ie)=>compare$a(c,m,ie);var rcompare_1=rcompare$1;const compare$9=compare_1,compareLoose$1=(m,c)=>compare$9(m,c,!0);var compareLoose_1=compareLoose$1;const SemVer$6=semver$1,compareBuild$3=(m,c,ie)=>{const we=new SemVer$6(m,ie),Ie=new SemVer$6(c,ie);return we.compare(Ie)||we.compareBuild(Ie)};var compareBuild_1=compareBuild$3;const compareBuild$2=compareBuild_1,sort$1=(m,c)=>m.sort((ie,we)=>compareBuild$2(ie,we,c));var sort_1=sort$1;const compareBuild$1=compareBuild_1,rsort$1=(m,c)=>m.sort((ie,we)=>compareBuild$1(we,ie,c));var rsort_1=rsort$1;const compare$8=compare_1,gt$5=(m,c,ie)=>compare$8(m,c,ie)>0;var gt_1=gt$5;const compare$7=compare_1,lt$4=(m,c,ie)=>compare$7(m,c,ie)<0;var lt_1=lt$4;const compare$6=compare_1,eq$2=(m,c,ie)=>compare$6(m,c,ie)===0;var eq_1=eq$2;const compare$5=compare_1,neq$2=(m,c,ie)=>compare$5(m,c,ie)!==0;var neq_1=neq$2;const compare$4=compare_1,gte$3=(m,c,ie)=>compare$4(m,c,ie)>=0;var gte_1=gte$3;const compare$3=compare_1,lte$3=(m,c,ie)=>compare$3(m,c,ie)<=0;var lte_1=lte$3;const eq$1=eq_1,neq$1=neq_1,gt$4=gt_1,gte$2=gte_1,lt$3=lt_1,lte$2=lte_1,cmp$1=(m,c,ie,we)=>{switch(c){case"===":return typeof m=="object"&&(m=m.version),typeof ie=="object"&&(ie=ie.version),m===ie;case"!==":return typeof m=="object"&&(m=m.version),typeof ie=="object"&&(ie=ie.version),m!==ie;case"":case"=":case"==":return eq$1(m,ie,we);case"!=":return neq$1(m,ie,we);case">":return gt$4(m,ie,we);case">=":return gte$2(m,ie,we);case"<":return lt$3(m,ie,we);case"<=":return lte$2(m,ie,we);default:throw new TypeError(`Invalid operator: ${c}`)}};var cmp_1=cmp$1;const SemVer$5=semver$1,parse$1=parse_1,{safeRe:re$1,t:t$1}=re$3.exports,coerce$1=(m,c)=>{if(m instanceof SemVer$5)return m;if(typeof m=="number"&&(m=String(m)),typeof m!="string")return null;c=c||{};let ie=null;if(!c.rtl)ie=m.match(c.includePrerelease?re$1[t$1.COERCEFULL]:re$1[t$1.COERCE]);else{const rr=c.includePrerelease?re$1[t$1.COERCERTLFULL]:re$1[t$1.COERCERTL];let pr;for(;(pr=rr.exec(m))&&(!ie||ie.index+ie[0].length!==m.length);)(!ie||pr.index+pr[0].length!==ie.index+ie[0].length)&&(ie=pr),rr.lastIndex=pr.index+pr[1].length+pr[2].length;rr.lastIndex=-1}if(ie===null)return null;const we=ie[2],Ie=ie[3]||"0",Me=ie[4]||"0",Ze=c.includePrerelease&&ie[5]?`-${ie[5]}`:"",ne=c.includePrerelease&&ie[6]?`+${ie[6]}`:"";return parse$1(`${we}.${Ie}.${Me}${Ze}${ne}`,c)};var coerce_1=coerce$1;class LRUCache{constructor(){this.max=1e3,this.map=new Map}get(c){const ie=this.map.get(c);if(ie!==void 0)return this.map.delete(c),this.map.set(c,ie),ie}delete(c){return this.map.delete(c)}set(c,ie){if(!this.delete(c)&&ie!==void 0){if(this.map.size>=this.max){const Ie=this.map.keys().next().value;this.delete(Ie)}this.map.set(c,ie)}return this}}var lrucache=LRUCache,range,hasRequiredRange;function requireRange(){if(hasRequiredRange)return range;hasRequiredRange=1;const m=/\s+/g;class c{constructor(tr,or){if(or=Ie(or),tr instanceof c)return tr.loose===!!or.loose&&tr.includePrerelease===!!or.includePrerelease?tr:new c(tr.raw,or);if(tr instanceof Me)return this.raw=tr.value,this.set=[[tr]],this.formatted=void 0,this;if(this.options=or,this.loose=!!or.loose,this.includePrerelease=!!or.includePrerelease,this.raw=tr.trim().replace(m," "),this.set=this.raw.split("||").map(vr=>this.parseRange(vr.trim())).filter(vr=>vr.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const vr=this.set[0];if(this.set=this.set.filter(br=>!Pr(br[0])),this.set.length===0)this.set=[vr];else if(this.set.length>1){for(const br of this.set)if(br.length===1&&Nr(br[0])){this.set=[br];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let tr=0;tr<this.set.length;tr++){tr>0&&(this.formatted+="||");const or=this.set[tr];for(let vr=0;vr<or.length;vr++)vr>0&&(this.formatted+=" "),this.formatted+=or[vr].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(tr){const vr=((this.options.includePrerelease&&Br)|(this.options.loose&&Ar))+":"+tr,br=we.get(vr);if(br)return br;const nr=this.options.loose,$e=nr?rr[pr.HYPHENRANGELOOSE]:rr[pr.HYPHENRANGE];tr=tr.replace($e,Ae(this.options.includePrerelease)),Ze("hyphen replace",tr),tr=tr.replace(rr[pr.COMPARATORTRIM],lr),Ze("comparator trim",tr),tr=tr.replace(rr[pr.TILDETRIM],yr),Ze("tilde trim",tr),tr=tr.replace(rr[pr.CARETTRIM],kr),Ze("caret trim",tr);let ur=tr.split(" ").map(ki=>Vr(ki,this.options)).join(" ").split(/\s+/).map(ki=>gr(ki,this.options));nr&&(ur=ur.filter(ki=>(Ze("loose invalid filter",ki,this.options),!!ki.match(rr[pr.COMPARATORLOOSE])))),Ze("range list",ur);const $r=new Map,Yr=ur.map(ki=>new Me(ki,this.options));for(const ki of Yr){if(Pr(ki))return[ki];$r.set(ki.value,ki)}$r.size>1&&$r.has("")&&$r.delete("");const wi=[...$r.values()];return we.set(vr,wi),wi}intersects(tr,or){if(!(tr instanceof c))throw new TypeError("a Range is required");return this.set.some(vr=>ei(vr,or)&&tr.set.some(br=>ei(br,or)&&vr.every(nr=>br.every($e=>nr.intersects($e,or)))))}test(tr){if(!tr)return!1;if(typeof tr=="string")try{tr=new ne(tr,this.options)}catch{return!1}for(let or=0;or<this.set.length;or++)if(ze(this.set[or],tr,this.options))return!0;return!1}}range=c;const ie=lrucache,we=new ie,Ie=parseOptions_1,Me=requireComparator(),Ze=debug_1,ne=semver$1,{safeRe:rr,t:pr,comparatorTrimReplace:lr,tildeTrimReplace:yr,caretTrimReplace:kr}=re$3.exports,{FLAG_INCLUDE_PRERELEASE:Br,FLAG_LOOSE:Ar}=constants$1,Pr=Ue=>Ue.value==="<0.0.0-0",Nr=Ue=>Ue.value==="",ei=(Ue,tr)=>{let or=!0;const vr=Ue.slice();let br=vr.pop();for(;or&&vr.length;)or=vr.every(nr=>br.intersects(nr,tr)),br=vr.pop();return or},Vr=(Ue,tr)=>(Ze("comp",Ue,tr),Ue=ui(Ue,tr),Ze("caret",Ue),Ue=Wr(Ue,tr),Ze("tildes",Ue),Ue=fi(Ue,tr),Ze("xrange",Ue),Ue=hi(Ue,tr),Ze("stars",Ue),Ue),Zr=Ue=>!Ue||Ue.toLowerCase()==="x"||Ue==="*",Wr=(Ue,tr)=>Ue.trim().split(/\s+/).map(or=>ai(or,tr)).join(" "),ai=(Ue,tr)=>{const or=tr.loose?rr[pr.TILDELOOSE]:rr[pr.TILDE];return Ue.replace(or,(vr,br,nr,$e,ur)=>{Ze("tilde",Ue,vr,br,nr,$e,ur);let $r;return Zr(br)?$r="":Zr(nr)?$r=`>=${br}.0.0 <${+br+1}.0.0-0`:Zr($e)?$r=`>=${br}.${nr}.0 <${br}.${+nr+1}.0-0`:ur?(Ze("replaceTilde pr",ur),$r=`>=${br}.${nr}.${$e}-${ur} <${br}.${+nr+1}.0-0`):$r=`>=${br}.${nr}.${$e} <${br}.${+nr+1}.0-0`,Ze("tilde return",$r),$r})},ui=(Ue,tr)=>Ue.trim().split(/\s+/).map(or=>di(or,tr)).join(" "),di=(Ue,tr)=>{Ze("caret",Ue,tr);const or=tr.loose?rr[pr.CARETLOOSE]:rr[pr.CARET],vr=tr.includePrerelease?"-0":"";return Ue.replace(or,(br,nr,$e,ur,$r)=>{Ze("caret",Ue,br,nr,$e,ur,$r);let Yr;return Zr(nr)?Yr="":Zr($e)?Yr=`>=${nr}.0.0${vr} <${+nr+1}.0.0-0`:Zr(ur)?nr==="0"?Yr=`>=${nr}.${$e}.0${vr} <${nr}.${+$e+1}.0-0`:Yr=`>=${nr}.${$e}.0${vr} <${+nr+1}.0.0-0`:$r?(Ze("replaceCaret pr",$r),nr==="0"?$e==="0"?Yr=`>=${nr}.${$e}.${ur}-${$r} <${nr}.${$e}.${+ur+1}-0`:Yr=`>=${nr}.${$e}.${ur}-${$r} <${nr}.${+$e+1}.0-0`:Yr=`>=${nr}.${$e}.${ur}-${$r} <${+nr+1}.0.0-0`):(Ze("no pr"),nr==="0"?$e==="0"?Yr=`>=${nr}.${$e}.${ur}${vr} <${nr}.${$e}.${+ur+1}-0`:Yr=`>=${nr}.${$e}.${ur}${vr} <${nr}.${+$e+1}.0-0`:Yr=`>=${nr}.${$e}.${ur} <${+nr+1}.0.0-0`),Ze("caret return",Yr),Yr})},fi=(Ue,tr)=>(Ze("replaceXRanges",Ue,tr),Ue.split(/\s+/).map(or=>li(or,tr)).join(" ")),li=(Ue,tr)=>{Ue=Ue.trim();const or=tr.loose?rr[pr.XRANGELOOSE]:rr[pr.XRANGE];return Ue.replace(or,(vr,br,nr,$e,ur,$r)=>{Ze("xRange",Ue,vr,br,nr,$e,ur,$r);const Yr=Zr(nr),wi=Yr||Zr($e),ki=wi||Zr(ur),Mi=ki;return br==="="&&Mi&&(br=""),$r=tr.includePrerelease?"-0":"",Yr?br===">"||br==="<"?vr="<0.0.0-0":vr="*":br&&Mi?(wi&&($e=0),ur=0,br===">"?(br=">=",wi?(nr=+nr+1,$e=0,ur=0):($e=+$e+1,ur=0)):br==="<="&&(br="<",wi?nr=+nr+1:$e=+$e+1),br==="<"&&($r="-0"),vr=`${br+nr}.${$e}.${ur}${$r}`):wi?vr=`>=${nr}.0.0${$r} <${+nr+1}.0.0-0`:ki&&(vr=`>=${nr}.${$e}.0${$r} <${nr}.${+$e+1}.0-0`),Ze("xRange return",vr),vr})},hi=(Ue,tr)=>(Ze("replaceStars",Ue,tr),Ue.trim().replace(rr[pr.STAR],"")),gr=(Ue,tr)=>(Ze("replaceGTE0",Ue,tr),Ue.trim().replace(rr[tr.includePrerelease?pr.GTE0PRE:pr.GTE0],"")),Ae=Ue=>(tr,or,vr,br,nr,$e,ur,$r,Yr,wi,ki,Mi)=>(Zr(vr)?or="":Zr(br)?or=`>=${vr}.0.0${Ue?"-0":""}`:Zr(nr)?or=`>=${vr}.${br}.0${Ue?"-0":""}`:$e?or=`>=${or}`:or=`>=${or}${Ue?"-0":""}`,Zr(Yr)?$r="":Zr(wi)?$r=`<${+Yr+1}.0.0-0`:Zr(ki)?$r=`<${Yr}.${+wi+1}.0-0`:Mi?$r=`<=${Yr}.${wi}.${ki}-${Mi}`:Ue?$r=`<${Yr}.${wi}.${+ki+1}-0`:$r=`<=${$r}`,`${or} ${$r}`.trim()),ze=(Ue,tr,or)=>{for(let vr=0;vr<Ue.length;vr++)if(!Ue[vr].test(tr))return!1;if(tr.prerelease.length&&!or.includePrerelease){for(let vr=0;vr<Ue.length;vr++)if(Ze(Ue[vr].semver),Ue[vr].semver!==Me.ANY&&Ue[vr].semver.prerelease.length>0){const br=Ue[vr].semver;if(br.major===tr.major&&br.minor===tr.minor&&br.patch===tr.patch)return!0}return!1}return!0};return range}var comparator,hasRequiredComparator;function requireComparator(){if(hasRequiredComparator)return comparator;hasRequiredComparator=1;const m=Symbol("SemVer ANY");class c{static get ANY(){return m}constructor(lr,yr){if(yr=ie(yr),lr instanceof c){if(lr.loose===!!yr.loose)return lr;lr=lr.value}lr=lr.trim().split(/\s+/).join(" "),Ze("comparator",lr,yr),this.options=yr,this.loose=!!yr.loose,this.parse(lr),this.semver===m?this.value="":this.value=this.operator+this.semver.version,Ze("comp",this)}parse(lr){const yr=this.options.loose?we[Ie.COMPARATORLOOSE]:we[Ie.COMPARATOR],kr=lr.match(yr);if(!kr)throw new TypeError(`Invalid comparator: ${lr}`);this.operator=kr[1]!==void 0?kr[1]:"",this.operator==="="&&(this.operator=""),kr[2]?this.semver=new ne(kr[2],this.options.loose):this.semver=m}toString(){return this.value}test(lr){if(Ze("Comparator.test",lr,this.options.loose),this.semver===m||lr===m)return!0;if(typeof lr=="string")try{lr=new ne(lr,this.options)}catch{return!1}return Me(lr,this.operator,this.semver,this.options)}intersects(lr,yr){if(!(lr instanceof c))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new rr(lr.value,yr).test(this.value):lr.operator===""?lr.value===""?!0:new rr(this.value,yr).test(lr.semver):(yr=ie(yr),yr.includePrerelease&&(this.value==="<0.0.0-0"||lr.value==="<0.0.0-0")||!yr.includePrerelease&&(this.value.startsWith("<0.0.0")||lr.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&lr.operator.startsWith(">")||this.operator.startsWith("<")&&lr.operator.startsWith("<")||this.semver.version===lr.semver.version&&this.operator.includes("=")&&lr.operator.includes("=")||Me(this.semver,"<",lr.semver,yr)&&this.operator.startsWith(">")&&lr.operator.startsWith("<")||Me(this.semver,">",lr.semver,yr)&&this.operator.startsWith("<")&&lr.operator.startsWith(">")))}}comparator=c;const ie=parseOptions_1,{safeRe:we,t:Ie}=re$3.exports,Me=cmp_1,Ze=debug_1,ne=semver$1,rr=requireRange();return comparator}const Range$9=requireRange(),satisfies$4=(m,c,ie)=>{try{c=new Range$9(c,ie)}catch{return!1}return c.test(m)};var satisfies_1=satisfies$4;const Range$8=requireRange(),toComparators$1=(m,c)=>new Range$8(m,c).set.map(ie=>ie.map(we=>we.value).join(" ").trim().split(" "));var toComparators_1=toComparators$1;const SemVer$4=semver$1,Range$7=requireRange(),maxSatisfying$1=(m,c,ie)=>{let we=null,Ie=null,Me=null;try{Me=new Range$7(c,ie)}catch{return null}return m.forEach(Ze=>{Me.test(Ze)&&(!we||Ie.compare(Ze)===-1)&&(we=Ze,Ie=new SemVer$4(we,ie))}),we};var maxSatisfying_1=maxSatisfying$1;const SemVer$3=semver$1,Range$6=requireRange(),minSatisfying$1=(m,c,ie)=>{let we=null,Ie=null,Me=null;try{Me=new Range$6(c,ie)}catch{return null}return m.forEach(Ze=>{Me.test(Ze)&&(!we||Ie.compare(Ze)===1)&&(we=Ze,Ie=new SemVer$3(we,ie))}),we};var minSatisfying_1=minSatisfying$1;const SemVer$2=semver$1,Range$5=requireRange(),gt$3=gt_1,minVersion$1=(m,c)=>{m=new Range$5(m,c);let ie=new SemVer$2("0.0.0");if(m.test(ie)||(ie=new SemVer$2("0.0.0-0"),m.test(ie)))return ie;ie=null;for(let we=0;we<m.set.length;++we){const Ie=m.set[we];let Me=null;Ie.forEach(Ze=>{const ne=new SemVer$2(Ze.semver.version);switch(Ze.operator){case">":ne.prerelease.length===0?ne.patch++:ne.prerelease.push(0),ne.raw=ne.format();case"":case">=":(!Me||gt$3(ne,Me))&&(Me=ne);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${Ze.operator}`)}}),Me&&(!ie||gt$3(ie,Me))&&(ie=Me)}return ie&&m.test(ie)?ie:null};var minVersion_1=minVersion$1;const Range$4=requireRange(),validRange$1=(m,c)=>{try{return new Range$4(m,c).range||"*"}catch{return null}};var valid$1=validRange$1;const SemVer$1=semver$1,Comparator$2=requireComparator(),{ANY:ANY$1}=Comparator$2,Range$3=requireRange(),satisfies$3=satisfies_1,gt$2=gt_1,lt$2=lt_1,lte$1=lte_1,gte$1=gte_1,outside$3=(m,c,ie,we)=>{m=new SemVer$1(m,we),c=new Range$3(c,we);let Ie,Me,Ze,ne,rr;switch(ie){case">":Ie=gt$2,Me=lte$1,Ze=lt$2,ne=">",rr=">=";break;case"<":Ie=lt$2,Me=gte$1,Ze=gt$2,ne="<",rr="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies$3(m,c,we))return!1;for(let pr=0;pr<c.set.length;++pr){const lr=c.set[pr];let yr=null,kr=null;if(lr.forEach(Br=>{Br.semver===ANY$1&&(Br=new Comparator$2(">=0.0.0")),yr=yr||Br,kr=kr||Br,Ie(Br.semver,yr.semver,we)?yr=Br:Ze(Br.semver,kr.semver,we)&&(kr=Br)}),yr.operator===ne||yr.operator===rr||(!kr.operator||kr.operator===ne)&&Me(m,kr.semver))return!1;if(kr.operator===rr&&Ze(m,kr.semver))return!1}return!0};var outside_1=outside$3;const outside$2=outside_1,gtr$1=(m,c,ie)=>outside$2(m,c,">",ie);var gtr_1=gtr$1;const outside$1=outside_1,ltr$1=(m,c,ie)=>outside$1(m,c,"<",ie);var ltr_1=ltr$1;const Range$2=requireRange(),intersects$1=(m,c,ie)=>(m=new Range$2(m,ie),c=new Range$2(c,ie),m.intersects(c,ie));var intersects_1=intersects$1;const satisfies$2=satisfies_1,compare$2=compare_1;var simplify=(m,c,ie)=>{const we=[];let Ie=null,Me=null;const Ze=m.sort((lr,yr)=>compare$2(lr,yr,ie));for(const lr of Ze)satisfies$2(lr,c,ie)?(Me=lr,Ie||(Ie=lr)):(Me&&we.push([Ie,Me]),Me=null,Ie=null);Ie&&we.push([Ie,null]);const ne=[];for(const[lr,yr]of we)lr===yr?ne.push(lr):!yr&&lr===Ze[0]?ne.push("*"):yr?lr===Ze[0]?ne.push(`<=${yr}`):ne.push(`${lr} - ${yr}`):ne.push(`>=${lr}`);const rr=ne.join(" || "),pr=typeof c.raw=="string"?c.raw:String(c);return rr.length<pr.length?rr:c};const Range$1=requireRange(),Comparator$1=requireComparator(),{ANY}=Comparator$1,satisfies$1=satisfies_1,compare$1=compare_1,subset$1=(m,c,ie={})=>{if(m===c)return!0;m=new Range$1(m,ie),c=new Range$1(c,ie);let we=!1;e:for(const Ie of m.set){for(const Me of c.set){const Ze=simpleSubset(Ie,Me,ie);if(we=we||Ze!==null,Ze)continue e}if(we)return!1}return!0},minimumVersionWithPreRelease=[new Comparator$1(">=0.0.0-0")],minimumVersion=[new Comparator$1(">=0.0.0")],simpleSubset=(m,c,ie)=>{if(m===c)return!0;if(m.length===1&&m[0].semver===ANY){if(c.length===1&&c[0].semver===ANY)return!0;ie.includePrerelease?m=minimumVersionWithPreRelease:m=minimumVersion}if(c.length===1&&c[0].semver===ANY){if(ie.includePrerelease)return!0;c=minimumVersion}const we=new Set;let Ie,Me;for(const Br of m)Br.operator===">"||Br.operator===">="?Ie=higherGT(Ie,Br,ie):Br.operator==="<"||Br.operator==="<="?Me=lowerLT(Me,Br,ie):we.add(Br.semver);if(we.size>1)return null;let Ze;if(Ie&&Me){if(Ze=compare$1(Ie.semver,Me.semver,ie),Ze>0)return null;if(Ze===0&&(Ie.operator!==">="||Me.operator!=="<="))return null}for(const Br of we){if(Ie&&!satisfies$1(Br,String(Ie),ie)||Me&&!satisfies$1(Br,String(Me),ie))return null;for(const Ar of c)if(!satisfies$1(Br,String(Ar),ie))return!1;return!0}let ne,rr,pr,lr,yr=Me&&!ie.includePrerelease&&Me.semver.prerelease.length?Me.semver:!1,kr=Ie&&!ie.includePrerelease&&Ie.semver.prerelease.length?Ie.semver:!1;yr&&yr.prerelease.length===1&&Me.operator==="<"&&yr.prerelease[0]===0&&(yr=!1);for(const Br of c){if(lr=lr||Br.operator===">"||Br.operator===">=",pr=pr||Br.operator==="<"||Br.operator==="<=",Ie){if(kr&&Br.semver.prerelease&&Br.semver.prerelease.length&&Br.semver.major===kr.major&&Br.semver.minor===kr.minor&&Br.semver.patch===kr.patch&&(kr=!1),Br.operator===">"||Br.operator===">="){if(ne=higherGT(Ie,Br,ie),ne===Br&&ne!==Ie)return!1}else if(Ie.operator===">="&&!satisfies$1(Ie.semver,String(Br),ie))return!1}if(Me){if(yr&&Br.semver.prerelease&&Br.semver.prerelease.length&&Br.semver.major===yr.major&&Br.semver.minor===yr.minor&&Br.semver.patch===yr.patch&&(yr=!1),Br.operator==="<"||Br.operator==="<="){if(rr=lowerLT(Me,Br,ie),rr===Br&&rr!==Me)return!1}else if(Me.operator==="<="&&!satisfies$1(Me.semver,String(Br),ie))return!1}if(!Br.operator&&(Me||Ie)&&Ze!==0)return!1}return!(Ie&&pr&&!Me&&Ze!==0||Me&&lr&&!Ie&&Ze!==0||kr||yr)},higherGT=(m,c,ie)=>{if(!m)return c;const we=compare$1(m.semver,c.semver,ie);return we>0?m:we<0||c.operator===">"&&m.operator===">="?c:m},lowerLT=(m,c,ie)=>{if(!m)return c;const we=compare$1(m.semver,c.semver,ie);return we<0?m:we>0||c.operator==="<"&&m.operator==="<="?c:m};var subset_1=subset$1;const internalRe=re$3.exports,constants=constants$1,SemVer=semver$1,identifiers=identifiers$1,parse=parse_1,valid=valid_1,clean=clean_1,inc=inc_1,diff=diff_1,major=major_1,minor=minor_1,patch=patch_1,prerelease=prerelease_1,compare=compare_1,rcompare=rcompare_1,compareLoose=compareLoose_1,compareBuild=compareBuild_1,sort=sort_1,rsort=rsort_1,gt$1=gt_1,lt$1=lt_1,eq=eq_1,neq=neq_1,gte=gte_1,lte=lte_1,cmp=cmp_1,coerce=coerce_1,Comparator=requireComparator(),Range=requireRange(),satisfies=satisfies_1,toComparators=toComparators_1,maxSatisfying=maxSatisfying_1,minSatisfying=minSatisfying_1,minVersion=minVersion_1,validRange=valid$1,outside=outside_1,gtr=gtr_1,ltr=ltr_1,intersects=intersects_1,simplifyRange=simplify,subset=subset_1;var semver={parse,valid,clean,inc,diff,major,minor,patch,prerelease,compare,rcompare,compareLoose,compareBuild,sort,rsort,gt:gt$1,lt:lt$1,eq,neq,gte,lte,cmp,coerce,Comparator,Range,satisfies,toComparators,maxSatisfying,minSatisfying,minVersion,validRange,outside,gtr,ltr,intersects,simplifyRange,subset,SemVer,re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:constants.SEMVER_SPEC_VERSION,RELEASE_TYPES:constants.RELEASE_TYPES,compareIdentifiers:identifiers.compareIdentifiers,rcompareIdentifiers:identifiers.rcompareIdentifiers};const _hoisted_1$k={class:"bluepic-embedded-wrapper"},_hoisted_2$g=["src"],maxTries=3,_sfc_main$p=vue.defineComponent({__name:"BluepicEmbedded",props:{templateId:{},embedApiBaseUrl:{},env:{},cloudflarePagesHostname:{},bxCoreVersion:{default:"auto"},authorization:{default:void 0},data:{default:()=>({})},fonts:{default:()=>[]},webgl:{type:Boolean,default:!1},resolution:{default:1},asyncSerial:{type:Boolean,default:!1},baseSerial:{}},emits:["update:data","update:ready","update:serial","error","update:globalScope"],setup(m,{expose:c,emit:ie}){const we=m,Ie=ie,Me=vue.computed(()=>we.bxCoreVersion!=="auto"?we.bxCoreVersion:we.baseSerial?.bxCoreVersion),ne=vue.computed(()=>we.asyncSerial&&Me.value&&semver.gte(Me.value,"0.1.200")).value?new Promise(async(Wr,ai)=>{if(we.baseSerial)return Wr(we.baseSerial);const ui=getTemplateSerialUrl(we.templateId,{embedApiBaseUrl:we.embedApiBaseUrl,env:we.env});let di=!1,fi=0;for(;!di&&fi<maxTries;){const li=await fetch(ui);if(li.ok){const hi=await li.json();Wr(hi),di=!0}else fi++}di||ai(new Error("Failed to fetch serial"))}):void 0,rr=vue.computed(()=>getTemplateLiveUrl(we.templateId,Me.value,{embedApiBaseUrl:we.embedApiBaseUrl,env:we.env,cloudflarePagesHostname:we.cloudflarePagesHostname,useBoilerplate:ne!==void 0,config:{fonts:we.fonts,webgl:we.webgl,resolution:we.resolution}})),pr=vue.ref(!1);vue.watchEffect(()=>{Ie("update:ready",pr.value)});const lr=vue.ref();vue.watch(lr,()=>{Ie("update:serial",lr.value)});const yr=vue.ref(),kr=vue.ref();vue.watch(yr,()=>{const Wr=yr.value;if(Wr){kr.value=new EmbeddedController(Wr,ne);const ai=async()=>{pr.value=!0;let ui,di;for(;!ui;)ui=await Nr(),ui||await new Promise(li=>setTimeout(li,50));for(;!di;)kr.value&&(di=await kr.value.evaluate(()=>window.bx_serial?.value)),di||await new Promise(li=>setTimeout(li,50));const fi={...ui,...we.data};lr.value=di,await kr.value?.setData(fi),Ie("update:data",fi),kr.value?.removeEventListener("ready",ai)};kr.value.addEventListener("ready",ai),kr.value.addEventListener("error",ui=>{Ie("error",ui.detail.code)}),kr.value.addEventListener("globalScope",ui=>{Ie("update:globalScope",ui.detail)})}});let Br=!1,Ar=!1;const Pr=()=>{kr.value&&(Br?Ar=!0:(Ar=!1,Br=!0,kr.value.setData(we.data).then(async()=>{if(Br=!1,Ar&&kr.value)return Pr()}).catch(Wr=>{console.error("ERROR!",Wr)})))};vue.watch(()=>we.data,async Wr=>{const ai=await Nr();isEqual(ai,Wr)||Pr()},{deep:!0});const Nr=()=>kr.value?.evaluate(()=>{if(window.bx_data)return window.bx_data});async function ei(){if(kr?.value)try{return!!await kr.value.evaluate(()=>!!window.__serialWrapperWebGL?.value)}catch{return!1}else return!1}async function Vr(Wr){if(!kr.value)throw new Error("Controller is not available");if(!we.webgl)throw new Error("WebGL is not enabled");const ai=await kr.value.evaluate((ui,di,fi)=>{const li=JSON.parse(ui);JSON.parse(di);const hi=fi?JSON.parse(fi):void 0;return window.__serialWrapperWebGL.value.bluepic.renderImage({...li,resultType:"dataUrl",area:hi})},JSON.stringify(Wr),JSON.stringify(lr.value),JSON.stringify(Wr.area));return dataUrlToBlob(ai)}async function Zr(){if(!kr.value)throw new Error("Controller is not available");if(!lr.value)throw new Error("Serial is not available");const Wr=await kr.value.evaluate(()=>window.document.querySelector(".serial-wrapper > svg").outerHTML),ai=lr.value.fonts,ui=await exportSVGDocument(Wr,ai,fi=>{},!0);return new DOMParser().parseFromString(ui,"image/svg+xml")}return c({renderWebGL:Vr,renderSVG:Zr,webglSupported:ei,resolveData:Nr,controller:kr}),(Wr,ai)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$k,[vue.createElementVNode("iframe",{ref_key:"frameRef",ref:yr,src:rr.value,scrolling:"no"},null,8,_hoisted_2$g)]))}}),BluepicEmbedded_vue_vue_type_style_index_0_scoped_dc96db17_lang="",BluepicEmbedded=_export_sfc(_sfc_main$p,[["__scopeId","data-v-dc96db17"]]);function Ee(m){return vue.getCurrentScope()?(vue.onScopeDispose(m),!0):!1}function Te(m){return typeof m=="function"?m():vue.unref(m)}const me=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Je=m=>m!=null,Qe=Object.prototype.toString,Ne=m=>Qe.call(m)==="[object Object]",et=()=>{};function tt(m){return m||vue.getCurrentInstance()}function nt(m,c=!0,ie){tt()?vue.onMounted(m,ie):c?m():vue.nextTick(m)}function ae(m){var c;const ie=Te(m);return(c=ie?.$el)!=null?c:ie}const Se=me?window:void 0;function _e(...m){let c,ie,we,Ie;if(typeof m[0]=="string"||Array.isArray(m[0])?([ie,we,Ie]=m,c=Se):[c,ie,we,Ie]=m,!c)return et;Array.isArray(ie)||(ie=[ie]),Array.isArray(we)||(we=[we]);const Me=[],Ze=()=>{Me.forEach(lr=>lr()),Me.length=0},ne=(lr,yr,kr,Br)=>(lr.addEventListener(yr,kr,Br),()=>lr.removeEventListener(yr,kr,Br)),rr=vue.watch(()=>[ae(c),Te(Ie)],([lr,yr])=>{if(Ze(),!lr)return;const kr=Ne(yr)?{...yr}:yr;Me.push(...ie.flatMap(Br=>we.map(Ar=>ne(lr,Br,Ar,kr))))},{immediate:!0,flush:"post"}),pr=()=>{rr(),Ze()};return Ee(pr),pr}function ot(){const m=vue.ref(!1),c=vue.getCurrentInstance();return c&&vue.onMounted(()=>{m.value=!0},c),m}function je(m){const c=ot();return vue.computed(()=>(c.value,Boolean(m())))}function st(m,c,ie={}){const{window:we=Se,...Ie}=ie;let Me;const Ze=je(()=>we&&"MutationObserver"in we),ne=()=>{Me&&(Me.disconnect(),Me=void 0)},rr=vue.computed(()=>{const kr=Te(m),Br=(Array.isArray(kr)?kr:[kr]).map(ae).filter(Je);return new Set(Br)}),pr=vue.watch(()=>rr.value,kr=>{ne(),Ze.value&&we&&kr.size&&(Me=new MutationObserver(c),kr.forEach(Br=>Me.observe(Br,Ie)))},{immediate:!0,flush:"post"}),lr=()=>Me?.takeRecords(),yr=()=>{ne(),pr()};return Ee(yr),{isSupported:Ze,stop:yr,takeRecords:lr}}function at(m,c,ie={}){const{window:we=Se,...Ie}=ie;let Me;const Ze=je(()=>we&&"ResizeObserver"in we),ne=()=>{Me&&(Me.disconnect(),Me=void 0)},rr=vue.computed(()=>Array.isArray(m)?m.map(yr=>ae(yr)):[ae(m)]),pr=vue.watch(rr,yr=>{if(ne(),Ze.value&&we){Me=new ResizeObserver(c);for(const kr of yr)kr&&Me.observe(kr,Ie)}},{immediate:!0,flush:"post"}),lr=()=>{ne(),pr()};return Ee(lr),{isSupported:Ze,stop:lr}}function rt(m,c={}){const{reset:ie=!0,windowResize:we=!0,windowScroll:Ie=!0,immediate:Me=!0}=c,Ze=vue.ref(0),ne=vue.ref(0),rr=vue.ref(0),pr=vue.ref(0),lr=vue.ref(0),yr=vue.ref(0),kr=vue.ref(0),Br=vue.ref(0);function Ar(){const Pr=ae(m);if(!Pr){ie&&(Ze.value=0,ne.value=0,rr.value=0,pr.value=0,lr.value=0,yr.value=0,kr.value=0,Br.value=0);return}const Nr=Pr.getBoundingClientRect();Ze.value=Nr.height,ne.value=Nr.bottom,rr.value=Nr.left,pr.value=Nr.right,lr.value=Nr.top,yr.value=Nr.width,kr.value=Nr.x,Br.value=Nr.y}return at(m,Ar),vue.watch(()=>ae(m),Pr=>!Pr&&Ar()),st(m,Ar,{attributeFilter:["style","class"]}),Ie&&_e("scroll",Ar,{capture:!0,passive:!0}),we&&_e("resize",Ar,{passive:!0}),nt(()=>{Me&&Ar()}),{height:Ze,bottom:ne,left:rr,right:pr,top:lr,width:yr,x:kr,y:Br,update:Ar}}function Be(m){return m*180/Math.PI}function Fe(m){return m*Math.PI/180}function ce(m,c,ie){return Math.min(Math.max(m,c),ie)}function Re(m,c){return Math.atan2(c[1]-m[1],c[0]-m[0])}function pe(m,c,ie){const[we,Ie]=m,[Me,Ze]=c,ne=Math.cos(ie)*(we-Me)-Math.sin(ie)*(Ie-Ze)+Me,rr=Math.sin(ie)*(we-Me)+Math.cos(ie)*(Ie-Ze)+Ze;return[ne,rr]}function he(m,c){const ie=Math.pow(10,c);return Math.round(m*ie)/ie}function lt({wrapperInnerWidth:m,wrapperInnerHeight:c,canvasNaturalWidth:ie,canvasNaturalHeight:we,translate:Ie,rotate:Me,scale:Ze,offset:ne,rotationEnabled:rr,minScale:pr,maxScale:lr,naturalScale:yr,clientCoordsToWrapperCoords:kr,getCanvasCoords:Br,calcProjectionTranslate:Ar}){let Pr=null,Nr=[0,0];const ei=Vr=>Array.from(Vr).map(Zr=>{const Wr=kr(Zr.clientX,Zr.clientY);return{client:[Zr.clientX,Zr.clientY],canvasRel:Br(Wr[0],Wr[1])}});return{handleTouchstart:Vr=>{Vr.target.closest(".matrix")===null&&(Vr.preventDefault(),Pr=ei(Vr.touches),Ze.value,Nr=[Ie.value[0],Ie.value[1]],Me.value)},handleTouchmove:Vr=>{if(Vr.target.closest(".matrix")!==null)return;Vr.preventDefault();const Zr=Array.from(Vr.touches).map(Wr=>kr(Wr.clientX,Wr.clientY));if(Pr)if(Zr.length>=2&&Pr.length>=2){const Wr=[Pr[0].canvasRel[0]*ie.value,Pr[0].canvasRel[1]*we.value],ai=[Pr[1].canvasRel[0]*ie.value,Pr[1].canvasRel[1]*we.value],ui=Math.sqrt(Math.pow(Wr[0]-ai[0],2)+Math.pow(Wr[1]-ai[1],2)),di=Math.sqrt(Math.pow(Zr[0][0]-Zr[1][0],2)+Math.pow(Zr[0][1]-Zr[1][1],2))/yr.value,fi=ce(di/ui,pr.value,lr.value),li=[Zr[0][0]/m.value,Zr[0][1]/c.value],hi=Pr[0].canvasRel,[gr,Ae]=Ar(fi,li,hi,0);let ze=0,Ue=0,tr=0;if(rr.value){let or=function(ur,$r){return[ne.value.left+ie.value*ur*yr.value*fi+gr,ne.value.top+we.value*$r*yr.value*fi+Ae]};const vr=Re(Wr,ai);tr=Re(Zr[0],Zr[1])-vr,console.log("startAngle",vr);const br=or(0,0),nr=or(Pr[0].canvasRel[0],Pr[0].canvasRel[1]),$e=pe(br,nr,tr);ze=$e[0]-br[0],Ue=$e[1]-br[1]}Ze.value=fi,Me.value=tr,Ie.value=[gr+ze,Ae+Ue],console.log("scale",Ze.value),console.log("rotate",Me.value),console.log("translate",Ie.value[0],Ie.value[1])}else{const Wr=Vr.touches[0].clientX-Pr[0].client[0],ai=Vr.touches[0].clientY-Pr[0].client[1],ui=[Nr[0]+Wr,Nr[1]+ai];Ie.value=ui}},handleTouchend:Vr=>{Vr.target.closest(".matrix")===null&&(Vr.touches.length===0?Pr=null:(Pr=ei(Vr.touches),Ze.value,Nr=[Ie.value[0],Ie.value[1]],Me.value))}}}function ut(m){var c=!1;return m.wheelDeltaY?m.wheelDeltaY===m.deltaY*-3&&(c=!0):m.deltaMode===0&&(c=!0),c}function Ye(m,c){const ie=c.find(we=>m%we===0);return ie?m/ie:1}function it({scale:m,translate:c,minScale:ie,maxScale:we,relativeWrapperCoordinatesFromClientCoords:Ie,normalizeMatrixCoordinates:Me,calcProjectionTranslate:Ze}){function ne(rr){let{deltaX:pr,deltaY:lr,ctrlKey:yr}=rr;const kr=[120,100],Br=2;ut(rr)||((Math.abs(pr)===120||Math.abs(pr)===200)&&(pr=pr/(100/Br*Ye(pr,kr))*Math.sign(pr)),(Math.abs(lr)===120||Math.abs(lr)===200)&&(lr=lr/(100/Br*Ye(lr,kr))*Math.sign(lr)));const Ar=m.value;if(yr){const Pr=-lr/100*Ar,Nr=ce(Ar+Pr,ie.value,we.value),[ei,Vr]=Ze(Nr,Ie(rr.clientX,rr.clientY),Me(rr.clientX,rr.clientY));c.value=[ei,Vr],m.value=Nr}else c.value=[c.value[0]-pr,c.value[1]-lr];rr.preventDefault(),rr.stopPropagation()}return{handleWheel:ne}}function ct(m){let c=null,ie=null,we=null;return{handleMousedown:Ie=>{Ie.preventDefault(),c=[Ie.clientX,Ie.clientY],ie=m.value[0],we=m.value[1]},handleMouseup:Ie=>{Ie.preventDefault(),c=null,ie=null,we=null},handleMousemove:Ie=>{if(Ie.preventDefault(),c&&ie!==null&&we!==null){const Me=Ie.clientX-c[0],Ze=Ie.clientY-c[1],ne=ie- -Me,rr=we- -Ze;m.value=[ne,rr]}}}}function dt(m,c,ie,we){let Ie=0;return{handleGesturestart:Me=>{Ie=m.value},handleGesturechange:Me=>{if(c.value===!1)return;const Ze=Me.rotation;if(Ze===0)return;const ne=we(Me.clientX,Me.clientY);ie(ne[0],ne[1],Ie+Fe(Ze))},handleGestureend:Me=>{}}}function ft({wrapperElementRef:m,canvasNaturalWidth:c,canvasNaturalHeight:ie,offset:we,bounds:Ie,rotationEnabled:Me,minScale:Ze,maxScale:ne}){const{x:rr,y:pr,width:lr,height:yr}=rt(m),kr=vue.computed(()=>({x:rr.value,y:pr.value,width:lr.value,height:yr.value})),Br=vue.computed(()=>rr.value+we.value.left),Ar=vue.computed(()=>pr.value+we.value.top),Pr=vue.computed(()=>lr.value-we.value.left-we.value.right),Nr=vue.computed(()=>yr.value-we.value.top-we.value.bottom),ei=vue.computed(()=>Pr.value/Nr.value),Vr=vue.computed(()=>c.value/ie.value),Zr=vue.computed(()=>Vr.value>=ei.value?Pr.value/c.value:Nr.value/ie.value),Wr=(()=>{const tn=vue.ref(0),Tn=vue.ref(0);return vue.computed({get(){return[tn.value,Tn.value]},set([Ji,Vi]){const Gn=c.value*di.value-Pr.value,En=ie.value*di.value-Nr.value;if(Me.value||!Ie.value)tn.value=Ji,Tn.value=Vi;else{const An=-Gn,To=Math.max(0,-Gn/2),hn=-En,On=Math.max(0,-En/2);tn.value=ce(Ji,An,To),Tn.value=ce(Vi,hn,On)}}})})(),ai=(()=>{const tn=vue.ref(1);return vue.computed({get(){return tn.value},set(Tn){tn.value=ce(Tn,Ze.value,ne.value)}})})(),ui=(()=>{const tn=vue.ref(0);return vue.computed({get(){return tn.value},set(Tn){tn.value=Tn}})})(),di=vue.computed(()=>ai.value*Zr.value),fi=vue.computed(()=>[we.value.left+Wr.value[0],we.value.top+Wr.value[1]]),li=vue.computed(()=>ui.value),hi=vue.ref(!1),gr=vue.ref(.3);let Ae=!1;function ze(tn,Tn,Ji,Vi=!1){const Gn=wi(tn,Tn,Ji,0);ai.value=tn,Wr.value=Gn,hi.value=Vi,Ae=!0,vue.nextTick(()=>{Ae=!1}),setTimeout(()=>{hi.value=!1},gr.value*1e3)}vue.watch([li,di,fi],()=>{Ae||(hi.value=!1)});function Ue(tn,Tn,Ji){const Vi=wi(tn,[.5,.5],[.5,.5],0),Gn=[we.value.left+Vi[0]+c.value*(tn*Zr.value)*.5,we.value.top+Vi[1]+ie.value*(tn*Zr.value)*.5],En=$r(.5,.5,tn,Tn,Ji),An=En[0]-Gn[0],To=En[1]-Gn[1];return[An,To]}function tr(){const tn=Ue(ai.value,[0,0],ui.value);return{x:he(Wr.value[0]+tn[0],6),y:he(Wr.value[1]+tn[1],6),scale:he(ai.value,6),rotate:he(Be(ui.value),6)}}const or=vue.computed({get(){return tr()},set(tn){const Tn=tr();if(tn.x===Tn.x&&tn.y===Tn.y&&tn.scale===Tn.scale&&tn.rotate===Tn.rotate)return;const Ji=Fe(tn.rotate),Vi=Ue(tn.scale,[0,0],Ji);Wr.value=[tn.x-Vi[0],tn.y-Vi[1]],ai.value=tn.scale,ui.value=Ji}});function vr(tn,Tn){return[tn-Br.value,Tn-Ar.value]}function br(tn,Tn){const[Ji,Vi]=vr(tn,Tn);return[Ji/Pr.value,Vi/Nr.value]}function nr(tn,Tn){const Ji=[0,0],Vi=[tn-Wr.value[0],Tn-Wr.value[1]],Gn=pe(Vi,Ji,-ui.value),En=[Gn[0]/di.value,Gn[1]/di.value];return[En[0]/c.value,En[1]/ie.value]}function $e(tn,Tn){const Ji=vr(tn,Tn);return nr(Ji[0],Ji[1])}function ur(tn,Tn){const[Ji,Vi]=$e(tn,Tn);return[Ji*c.value,Vi*ie.value]}function $r(tn,Tn,Ji,Vi,Gn){Ji=Ji??ai.value,Vi=Vi??Wr.value,Gn=Gn??ui.value;const En=[we.value.left,we.value.top],An=[we.value.left+c.value*(Ji*Zr.value)*tn,we.value.top+ie.value*(Ji*Zr.value)*Tn],To=pe(An,En,Gn);return[To[0]+Vi[0],To[1]+Vi[1]]}function Yr(tn,Tn){const Ji=tn/c.value,Vi=Tn/ie.value;return $r(Ji,Vi)}function wi(tn,Tn,Ji,Vi){const Gn=c.value*Zr.value,En=ie.value*Zr.value,An=Ji[0]*Gn*tn,To=Ji[1]*En*tn,hn=pe([An,To],[0,0],Vi??ui.value),On=Tn[0]*Pr.value,Wo=Tn[1]*Nr.value,Fn=On-hn[0],Wn=Wo-hn[1];return[Fn,Wn]}function ki(tn,Tn,Ji){const Vi=Ji,Gn=Ue(ai.value,[0,0],Vi),En=[0-Gn[0],0-Gn[1]],An=ai.value,To=$r(tn,Tn,An,En,Vi),hn=$r(tn,Tn),On=hn[0]-To[0],Wo=hn[1]-To[1];Wr.value=[En[0]+On,En[1]+Wo],ui.value=Vi}const{handleTouchend:Mi,handleTouchmove:si,handleTouchstart:_i}=lt({wrapperInnerWidth:Pr,wrapperInnerHeight:Nr,canvasNaturalWidth:c,canvasNaturalHeight:ie,translate:Wr,rotate:ui,scale:ai,offset:we,rotationEnabled:Me,minScale:Ze,maxScale:ne,naturalScale:Zr,clientCoordsToWrapperCoords:vr,getCanvasCoords:nr,calcProjectionTranslate:wi}),{handleWheel:ii}=it({scale:ai,translate:Wr,minScale:Ze,maxScale:ne,relativeWrapperCoordinatesFromClientCoords:br,normalizeMatrixCoordinates:$e,calcProjectionTranslate:wi}),{handleMousedown:Jr,handleMouseup:bi,handleMousemove:vi}=ct(Wr),{handleGesturestart:Di,handleGesturechange:Ui,handleGestureend:pn}=dt(ui,Me,ki,$e);return{handleTouchend:Mi,handleTouchmove:si,handleTouchstart:_i,handleGesturestart:Di,handleGesturechange:Ui,handleGestureend:pn,translate:Wr,scale:ai,rotate:ui,renderingScale:di,renderingTranslate:fi,renderingRotate:li,exposedTransform:or,rotateCanvas:ki,calcProjectionTranslate:wi,clientCoordsToWrapperCoords:vr,getCanvasCoords:nr,normalizeMatrixCoordinates:$e,clientCoordinatesToCanvasCoordinates:ur,composePoint:$r,compose:Yr,handleWheel:ii,applyTransform:ze,handleMousedown:Jr,handleMouseup:bi,handleMousemove:vi,wrapperBounds:kr,transitionEnabled:hi,transitionDuration:gr,wrapperX:rr,wrapperY:pr,wrapperWidth:lr,wrapperHeight:yr}}const vt=.996,ht=(m,c=vt)=>m*c/(1-c);function pt(m){return m[m.length-1]}function mt(m){return m.reduce((c,ie)=>c+ie)/m.length}const gt=(m,c,ie)=>Math.min(Math.max(c,m),ie);function ye(m,c){if(m.length!==c.length)throw new Error("vectors must be same length");return m.map((ie,we)=>ie+c[we])}function Xe(m){return Math.max(...m.map(Math.abs))}function re(m){return Object.freeze(m),Object.values(m).forEach(c=>{c!==null&&typeof c=="object"&&!Object.isFrozen(c)&&re(c)}),m}function Mt(){const m={};function c(Ie,Me){return m[Ie]=(m[Ie]||[]).concat(Me),()=>ie(Ie,Me)}function ie(Ie,Me){m[Ie]=(m[Ie]||[]).filter(Ze=>Ze!==Me)}function we(Ie,Me){Ie in m&&m[Ie].forEach(Ze=>Ze(Me))}return re({on:c,off:ie,dispatch:we})}function wt(m){let c=[];const ie=Ie=>(Ie.addEventListener("wheel",m,{passive:!1}),c.push(Ie),()=>we(Ie)),we=Ie=>{Ie.removeEventListener("wheel",m),c=c.filter(Me=>Me!==Ie)};return re({observe:ie,unobserve:we,disconnect:()=>{c.forEach(we)}})}const xt=16*1.125,yt=typeof window<"u"&&window.innerHeight||800,be=[1,xt,yt];function bt(m){const c=m.deltaX*be[m.deltaMode],ie=m.deltaY*be[m.deltaMode],we=(m.deltaZ||0)*be[m.deltaMode];return{timeStamp:m.timeStamp,axisDelta:[c,ie,we]}}const Pt=[-1,-1,-1];function Et(m,c){if(!c)return m;const ie=c===!0?Pt:c.map(we=>we?-1:1);return{...m,axisDelta:m.axisDelta.map((we,Ie)=>we*ie[Ie])}}const Oe=700,Tt=m=>({...m,axisDelta:m.axisDelta.map(c=>gt(c,-Oe,Oe))}),St=.6,Dt=.96,Ct=2,Ge=5,We=re({preventWheelAction:!0,reverseSign:[!0,!0,!1]}),At=400;function Le(){return{isStarted:!1,isStartPublished:!1,isMomentum:!1,startTime:0,lastAbsDelta:1/0,axisMovement:[0,0,0],axisVelocity:[0,0,0],accelerationFactors:[],scrollPoints:[],scrollPointsToMerge:[],willEndTimeout:At}}function _t(m={}){const{on:c,off:ie,dispatch:we}=Mt();let Ie=We,Me=Le(),Ze,ne=!1,rr;const pr=gr=>{Array.isArray(gr)?gr.forEach(Ae=>Br(Ae)):Br(gr)},lr=(gr={})=>Object.values(gr).some(Ae=>Ae==null)?Ie:Ie=re({...We,...Ie,...gr}),yr=gr=>{const Ae={event:Ze,isStart:!1,isEnding:!1,isMomentumCancel:!1,isMomentum:Me.isMomentum,axisDelta:[0,0,0],axisVelocity:Me.axisVelocity,axisMovement:Me.axisMovement,get axisMovementProjection(){return ye(Ae.axisMovement,Ae.axisVelocity.map(ze=>ht(ze)))},...gr};we("wheel",{...Ae,previous:rr}),rr=Ae},kr=(gr,Ae)=>{const{preventWheelAction:ze}=Ie,[Ue,tr,or]=Ae;if(typeof ze=="boolean")return ze;switch(ze){case"x":return Math.abs(Ue)>=gr;case"y":return Math.abs(tr)>=gr;case"z":return Math.abs(or)>=gr;default:return!1}},Br=gr=>{const{axisDelta:Ae,timeStamp:ze}=Tt(Et(bt(gr),Ie.reverseSign)),Ue=Xe(Ae);if(gr.preventDefault&&kr(Ue,Ae)&&gr.preventDefault(),Me.isStarted?Me.isMomentum&&Ue>Math.max(2,Me.lastAbsDelta*2)&&(di(!0),ai()):ai(),Ue===0&&Object.is&&Object.is(gr.deltaX,-0)){ne=!0;return}Ze=gr,Me.axisMovement=ye(Me.axisMovement,Ae),Me.lastAbsDelta=Ue,Me.scrollPointsToMerge.push({axisDelta:Ae,timeStamp:ze}),Ar(),yr({axisDelta:Ae,isStart:!Me.isStartPublished}),Me.isStartPublished=!0,ui()},Ar=()=>{Me.scrollPointsToMerge.length===Ct?(Me.scrollPoints.unshift({axisDeltaSum:Me.scrollPointsToMerge.map(gr=>gr.axisDelta).reduce(ye),timeStamp:mt(Me.scrollPointsToMerge.map(gr=>gr.timeStamp))}),Nr(),Me.scrollPointsToMerge.length=0,Me.scrollPoints.length=1,Me.isMomentum||Zr()):Me.isStartPublished||Pr()},Pr=()=>{Me.axisVelocity=pt(Me.scrollPointsToMerge).axisDelta.map(gr=>gr/Me.willEndTimeout)},Nr=()=>{const[gr,Ae]=Me.scrollPoints;if(!Ae||!gr)return;const ze=gr.timeStamp-Ae.timeStamp;if(ze<=0)return;const Ue=gr.axisDeltaSum.map(or=>or/ze),tr=Ue.map((or,vr)=>or/(Me.axisVelocity[vr]||1));Me.axisVelocity=Ue,Me.accelerationFactors.push(tr),ei(ze)},ei=gr=>{let Ae=Math.ceil(gr/10)*10*1.2;Me.isMomentum||(Ae=Math.max(100,Ae*2)),Me.willEndTimeout=Math.min(1e3,Math.round(Ae))},Vr=gr=>gr===0?!0:gr<=Dt&&gr>=St,Zr=()=>{if(Me.accelerationFactors.length>=Ge){if(ne&&(ne=!1,Xe(Me.axisVelocity)>=.2)){Wr();return}const gr=Me.accelerationFactors.slice(Ge*-1);gr.every(Ae=>{const ze=!!Ae.reduce((tr,or)=>tr&&tr<1&&tr===or?1:0),Ue=Ae.filter(Vr).length===Ae.length;return ze||Ue})&&Wr(),Me.accelerationFactors=gr}},Wr=()=>{Me.isMomentum=!0},ai=()=>{Me=Le(),Me.isStarted=!0,Me.startTime=Date.now(),rr=void 0,ne=!1},ui=(()=>{let gr;return()=>{clearTimeout(gr),gr=setTimeout(di,Me.willEndTimeout)}})(),di=(gr=!1)=>{!Me.isStarted||(Me.isMomentum&&gr?yr({isEnding:!0,isMomentumCancel:!0}):yr({isEnding:!0}),Me.isMomentum=!1,Me.isStarted=!1)},{observe:fi,unobserve:li,disconnect:hi}=wt(pr);return lr(m),re({on:c,off:ie,observe:fi,unobserve:li,disconnect:hi,feedWheel:pr,updateOptions:lr})}const Rt=10,Yt=10,Xt=vue.defineComponent({__name:"Zoompinch",props:{transform:{default:()=>({x:0,y:0,scale:1,rotate:0})},width:{},height:{},offset:{default:()=>({left:0,top:0,right:0,bottom:0})},maxScale:{default:10},minScale:{default:.5},bounds:{type:Boolean,default:!1},rotation:{type:Boolean,default:!0},mouse:{type:Boolean,default:!0},wheel:{type:Boolean,default:!0},touch:{type:Boolean,default:!0},gesture:{type:Boolean,default:!0}},emits:["update:transform","dragGestureStart","dragGestureEnd"],setup(m,{expose:c,emit:ie}){const we=m,Ie=ie;console.log("!!!!!! ZOOMPINCH !!!!!!!",we);const Me=vue.ref(),Ze=vue.ref(),ne=vue.ref(),rr=vue.toRef(we,"width"),pr=vue.toRef(we,"height"),lr=vue.toRef(we,"offset"),yr=vue.computed(()=>!we.bounds&&we.rotation),{renderingTranslate:kr,renderingRotate:Br,renderingScale:Ar,composePoint:Pr,handleWheel:Nr,handleMousedown:ei,handleMousemove:Vr,handleMouseup:Zr,handleTouchstart:Wr,handleTouchmove:ai,handleTouchend:ui,handleGesturestart:di,handleGesturechange:fi,handleGestureend:li,applyTransform:hi,rotateCanvas:gr,compose:Ae,exposedTransform:ze,calcProjectionTranslate:Ue,clientCoordinatesToCanvasCoordinates:tr,normalizeMatrixCoordinates:or,transitionEnabled:vr,transitionDuration:br,wrapperX:nr,wrapperY:$e,wrapperWidth:ur,wrapperHeight:$r}=ft({wrapperElementRef:Me,canvasNaturalWidth:rr,canvasNaturalHeight:pr,offset:lr,bounds:vue.toRef(we,"bounds"),rotationEnabled:yr,minScale:vue.toRef(we,"minScale"),maxScale:vue.toRef(we,"maxScale")});vue.watch(ze,()=>{(we.transform.rotate!==ze.value.rotate||we.transform.scale!==ze.value.scale||we.transform.x!==ze.value.x||we.transform.y!==ze.value.y)&&Ie("update:transform",ze.value)}),vue.watch(()=>we.transform,()=>{ze.value={x:we.transform.x,y:we.transform.y,scale:we.transform.scale,rotate:we.transform.rotate}},{deep:!0}),vue.onMounted(()=>{});const Yr=_t();Yr.on("wheel",Gn=>{Gn.isStart&&Ie("dragGestureStart",Gn.event),Nr(Gn.event),Gn.isEnding&&Ie("dragGestureEnd",Gn.event)}),vue.watch([Me,()=>we.wheel],()=>{Me.value&&(we.wheel?Yr.observe(Me.value):Yr.disconnect())}),vue.onUnmounted(()=>{Yr.disconnect()});let wi=!1,ki=null;const Mi=Gn=>{wi=!1,ki={x:Gn.touches[0].clientX,y:Gn.touches[0].clientY},we.touch&&(Ie("dragGestureStart",Gn),Wr(Gn))},si=Gn=>{ki&&Math.sqrt(Math.pow(Gn.touches[0].clientX-ki.x,2)+Math.pow(Gn.touches[0].clientY-ki.y,2))>Rt&&(wi=!0),we.touch&&ai(Gn)},_i=Gn=>{we.touch&&(ui(Gn),Gn.composedPath().includes(Me.value)&&wi&&Ie("dragGestureEnd",Gn))};let ii=!1,Jr=null;const bi=Gn=>{ii=!1,Jr={x:Gn.clientX,y:Gn.clientY},we.mouse&&(Ie("dragGestureStart",Gn),ei(Gn))},vi=Gn=>{Jr&&Math.sqrt(Math.pow(Gn.clientX-Jr.x,2)+Math.pow(Gn.clientY-Jr.y,2))>Yt&&(ii=!0),we.mouse&&Vr(Gn)},Di=Gn=>{we.mouse&&(Zr(Gn),Gn.composedPath().includes(Me.value)&&ii&&Ie("dragGestureEnd",Gn))};function Ui(){return"ontouchstart"in window||navigator.maxTouchPoints>0}const pn=vue.computed(()=>!Ui()&&we.gesture),tn=Gn=>{pn.value&&di(Gn)},Tn=Gn=>{pn.value&&fi(Gn)},Ji=Gn=>{pn.value&&li(Gn)};window.addEventListener("touchmove",si),window.addEventListener("touchend",_i),window.addEventListener("mouseup",Di),window.addEventListener("mousemove",vi),window.addEventListener("gesturechange",Tn),window.addEventListener("gestureend",Ji),vue.onUnmounted(()=>{window.removeEventListener("touchmove",si),window.removeEventListener("touchend",_i),window.removeEventListener("mouseup",Di),window.removeEventListener("mousemove",vi),window.removeEventListener("gesturechange",Tn),window.removeEventListener("gestureend",Ji)});const Vi=vue.computed(()=>({x:nr.value,y:$e.value,width:ur.value,height:$r.value}));return c({compose:Ae,composePoint:Pr,clientCoordinatesToCanvasCoordinates:tr,normalizeMatrixCoordinates:or,applyTransform:hi,calcProjectionTranslate:Ue,rotateCanvas:gr,wrapperBounds:Vi,canvas:Ze,matrix:ne}),(Gn,En)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"zoompinchRef",ref:Me,class:vue.normalizeClass(["zoompinch",{"transition-enabled":vue.unref(vr)}]),style:vue.normalizeStyle({"--canvas-width":`${Gn.width}px`,"--canvas-height":`${Gn.height}px`,"--canvas-ratio":Gn.width/Gn.height,"--rendering-scale":vue.unref(Ar),"--translate-x":`${vue.unref(kr)[0]}px`,"--translate-y":`${vue.unref(kr)[1]}px`,"--rotate":`${vue.unref(Be)(vue.unref(Br))}deg`,"--offset-top":`${we.offset.top}px`,"--offset-right":`${we.offset.right}px`,"--offset-bottom":`${we.offset.bottom}px`,"--offset-left":`${we.offset.left}px`,"--transition-duration":`${vue.unref(br)}s`}),onTouchstart:Mi,onMousedown:bi,onGesturestart:tn},[vue.createElementVNode("div",{ref_key:"canvasRef",ref:Ze,class:"canvas"},[vue.renderSlot(Gn.$slots,"canvas",{},void 0,!0)],512),vue.createElementVNode("div",{ref_key:"matrixRef",ref:ne,class:"matrix"},[vue.renderSlot(Gn.$slots,"matrix",{composePoint:vue.unref(Pr),compose:vue.unref(Ae),clientCoordinatesToCanvasCoordinates:vue.unref(tr),normalizeMatrixCoordinates:vue.unref(or)},void 0,!0)],512)],38))}}),Ot=(m,c)=>{const ie=m.__vccOpts||m;for(const[we,Ie]of c)ie[we]=Ie;return ie},Wt=Ot(Xt,[["__scopeId","data-v-55dbc0c0"]]),style="",_hoisted_1$j={key:0,class:"error-wrapper"},_hoisted_2$f={class:"error-symbol"},_hoisted_3$b={class:"error-message"},_hoisted_4$7={key:0},_hoisted_5$6={key:1},_hoisted_6$3={class:"error-actions"},_hoisted_7$3={xmlns:"http://www.w3.org/2000/svg"},_hoisted_8$3={key:0,class:"scrollbar scrollbar-x"},_hoisted_9$3={key:1,class:"scrollbar scrollbar-y"},_hoisted_10$3={key:2,class:"segment-navigation-wrapper-x"},_hoisted_11$3={class:"frame-dots"},_hoisted_12$2=["onClick"],_hoisted_13$2={key:3,class:"segment-navigation-wrapper-y"},_hoisted_14$2={class:"frame-dots"},_hoisted_15$2=["onClick"],_hoisted_16$2={key:4,class:"fit-btn-wrapper"},_sfc_main$o=vue.defineComponent({__name:"BluepicLiveTemplate",props:vue.mergeModels({templateId:{},embedApiBaseUrl:{},env:{},cloudflarePagesHostname:{},bxCoreVersion:{},authorization:{},asyncSerial:{type:Boolean},resolution:{},webgl:{type:Boolean},fonts:{},zoomAndPan:{type:Boolean,default:!0},baseSerial:{},watermark:{},scrollbars:{type:Boolean,default:!0},offset:{}},{data:{required:!0},dataModifiers:{},serial:{required:!1},serialModifiers:{},ready:{type:Boolean,required:!1},readyModifiers:{}}),emits:vue.mergeModels(["matrix-click"],["update:data","update:serial","update:ready"]),setup(m,{expose:c,emit:ie}){const we=ie,Ie=vue.useModel(m,"data"),Me=vue.useModel(m,"serial"),Ze=vue.useModel(m,"ready"),ne=vue.ref(),rr=vue.ref(),pr=vue.ref(),lr=vue.ref(),{width:yr,height:kr}=useElementBounding(lr),Br=vue.computed(()=>yr.value/kr.value),Ar=vue.computed(()=>{if(!!Me.value)return Me.value.width/Me.value.height}),Pr=vue.computed(()=>{if(!!Ar.value)return Ar.value>Br.value?"width":"height"}),Nr=vue.ref({x:0,y:0,scale:1,rotate:0});window.transform=Nr;function ei(Tn){const Ji=pr.value?.normalizeMatrixCoordinates(Tn.clientX,Tn.clientY);if(!Ji||!Me.value)return;const Vi=Ji[0]*Me.value.width,Gn=Ji[1]*Me.value.height;we("matrix-click",{x:Vi,y:Gn})}const Vr=vue.computed(()=>Me.value?.frames??{x:1,y:1}),Zr=vue.ref([0,0]);window.focusedFrame=Zr,window.zoompinchRef=pr;const Wr=vue.computed(()=>pr.value?.wrapperBounds),ai=vue.computed(()=>{if(Me.value)return Me.value.width/Me.value.height}),ui=vue.computed(()=>{if(Wr.value)return Wr.value.width/Wr.value.height}),di=vue.computed(()=>{if(ai.value&&ui.value)return ai.value>ui.value?"width":"height"}),fi=vue.computed(()=>{if(ai.value&&ui.value)return ui.value<ai.value?ai.value/ui.value:ui.value/ai.value}),li=vue.computed(()=>{if(ai.value)return ai.value/(Vr.value.x/Vr.value.y)}),hi=vue.computed(()=>{if(li.value&&ui.value)return li.value>ui.value?"width":"height"}),gr=vue.computed(()=>{if(!!fi.value)if(hi.value===di.value){if(hi.value==="height")return Vr.value.y;if(hi.value==="width")return Vr.value.x}else{if(hi.value==="height")return fi.value*Vr.value.y;if(hi.value==="width")return fi.value*Vr.value.x}});function Ae(Tn,Ji){const Vi=gr.value;if(!Wr.value||!ai.value||!Vi)return;const Gn=di.value==="width"?Wr.value?.width:Wr.value?.height/ai.value,En=di.value==="height"?Wr.value?.height:Wr.value?.width*ai.value,An=Gn*Vi,To=En*Vi,hn=An/2,On=To/2,Wo=An/Vr.value.x,Fn=To/Vr.value.y,Wn=hn-Wo*.5-Wo*Tn,No=On-Fn*.5-Fn*Ji;return{rotate:0,scale:Vi,x:Wn,y:No}}const ze=vue.computed(()=>Object.values(Me.value?.frames??{x:1,y:1}).reduce((Tn,Ji)=>Ji*Tn,1)>1);function Ue(){if(!Wr.value||!Nr.value||!ai.value){console.error("We can't calculate the focused frame if we don't have the necessary data");return}const Tn=Ae(0,0);if(!Tn){console.error("no target transform");return}if(round$3(Tn.scale,6)!==Nr.value.scale){console.error("The scale is not adjusted, we can't calculate the focused frame in a way that makes sense");return}const Ji=(Tn.x-Tn.scale*Wr.value.width/2)/(Tn.scale*Wr.value.width/Vr.value.x),Vi=(Tn.y-Tn.scale*Wr.value.height/2)/(Tn.scale*Wr.value.height/Vr.value.y);return[Ji,Vi]}const tr=vue.computed(()=>{if(!Wr.value||!Nr.value||!ai.value)return;const Tn=di.value==="width"?Wr.value.width:Wr.value.height*ai.value,Vi=(di.value==="height"?Wr.value.height:Wr.value.width/ai.value)/2*Nr.value.scale-Wr.value.height/2,Gn=Tn/2*Nr.value.scale-Wr.value.width/2,En=-Gn,An=-Vi;return{top:Vi,right:En,bottom:An,left:Gn}}),or=vue.computed(()=>{if(!!tr.value)return[(Nr.value.x-tr.value.left)/(tr.value.right-tr.value.left),(Nr.value.y-tr.value.top)/(tr.value.bottom-tr.value.top)]}),vr=vue.computed(()=>{if(!!gr.value)return Math.abs(1-Nr.value.scale/gr.value)}),br=vue.computed(()=>{if(vr.value===void 0||vr.value>.25||!or.value)return;const Tn=Array.from({length:Vr.value.x*Vr.value.y},(hn,On)=>{const Wo=On%Vr.value.x,Fn=Math.floor(On/Vr.value.x);return{x:Wo,y:Fn,transform:Ae(Wo,Fn)}}).filter(({transform:hn})=>hn),Ji=Nr.value.x,Vi=Nr.value.y,Gn=Tn.map(({x:hn,transform:On})=>({index:hn,distance:Math.abs(On.x-Ji)})),En=Tn.map(({y:hn,transform:On})=>({index:hn,distance:Math.abs(On.y-Vi)})),An=Gn.reduce((hn,On)=>hn.distance<On.distance?hn:On),To=En.reduce((hn,On)=>hn.distance<On.distance?hn:On);return{x:An,y:To}}),nr=vue.computed(()=>{if(!!br.value)return{x:br.value.x.index+1,y:br.value.y.index+1}}),$e=vue.computed(()=>{if(Wr.value)return di.value==="height"?1:Wr.value.height/Wr.value.width}),ur=vue.computed(()=>{if(Wr.value)return di.value==="width"?1:Wr.value.width/Wr.value.height});window.getTransformToFocusFrame=Ae,window.calcCurrFocusedFrame=Ue,window.bluepicEmbeddedRef=rr;const $r=vue.computed(()=>{if(!!Nr.value)return Nr.value.scale!==1||Nr.value.x!==0||Nr.value.y!==0||Nr.value.rotate!==0}),Yr=()=>{pr.value?.applyTransform(1,[.5,.5],[.5,.5],!0)};function wi(Tn,Ji){if(!gr.value)return;const Vi=1/Vr.value.x,Gn=1/Vr.value.y,En=(Tn-1)*Vi+Vi/2,An=(Ji-1)*Gn+Gn/2;pr.value?.applyTransform(gr.value,[.5,.5],[En,An],!0)}function ki(Tn,Ji){const Vi=nr.value?.y??1;wi(Tn,Vi),Ji.stopPropagation()}function Mi(Tn,Ji){const Vi=nr.value?.x??1;wi(Vi,Tn),Ji.stopPropagation()}function si({clientX:Tn,clientY:Ji}){const Vi=pr.value?.normalizeMatrixCoordinates(Tn,Ji);if(!Vi)return console.error("no matrix coords. This should not happen");const Gn=Math.min(Vr.value.x,Math.max(0,Math.trunc(Vi[0]/(1/Vr.value.x))+1)),En=Math.min(Vr.value.y,Math.max(0,Math.trunc(Vi[1]/(1/Vr.value.y))+1));if(nr.value){const An=Ae(nr.value.x,nr.value.y);if(!An)return console.error("no perfect frame fitting transform. This should not happen");if(!br.value)return console.error("no closest frame descriptor. This should not happen");const To=round$3(An?.scale,6)===round$3(Nr.value.scale,6),hn=round$3(An?.rotate,6)===round$3(Nr.value.rotate,6),On=Math.abs(br.value.x.distance)+Math.abs(br.value.y.distance);if(To&&hn&&On!==void 0&&On<5&&Gn===nr.value.x&&En===nr.value.y)return Yr()}wi(Gn,En)}const _i=vue.ref();function ii(Tn){_i.value=Tn}function Jr(){_i.value=void 0}const bi=vue.ref(),vi=Tn=>{const Ji=Date.now();bi.value&&Ji-bi.value<300&&si({clientX:Tn.changedTouches[0].clientX,clientY:Tn.changedTouches[0].clientY}),bi.value=Ji};vue.watch([Ze,gr],()=>{Ze.value&&gr.value&&pr.value?.applyTransform(1,[.5,.5],[.5,.5],!0)});let Di,Ui;function pn(){Di=nr.value?.x??1,Ui=nr.value?.y??1}function tn(Tn){if(ze.value){const Ji=nr.value?.x,Vi=nr.value?.y;wi(Ji??Di,Vi??Ui)}}return vue.watch(Me,()=>{setTimeout(()=>{Nr.value={x:0,y:0,scale:1,rotate:0}})}),c({aspectRatio:Ar,aspectRatioSizingSide:Pr,bluepicLiveTemplateRootWidth:yr,bluepicLiveTemplateRootHeight:kr,bluepicEmbeddedRef:rr,zoompinchRef:pr,isMultiFrame:ze,ready:Ze,transform:Nr,innerScroll:or,focusedFrame:Zr,calcCurrFocusedFrame:Ue,getTransformToFocusFrame:Ae,applyTranformBasedOnFrame:wi,closestFrame:nr,globalScope:ne}),(Tn,Ji)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"bluepicLiveTemplateRootRef",ref:lr,class:vue.normalizeClass(["bluepic-live-template",{[`aspect-ratio-sizing-side-${Pr.value}`]:!0,"zoom-and-pan":Tn.zoomAndPan,"is-ready":Ze.value||!0}]),style:vue.normalizeStyle({"--aspect-ratio":Ar.value}),onClick:ei,onDblclick:si,onTouchend:vi},[_i.value!==void 0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$j,[vue.createVNode(BxCard,null,{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_2$f,[vue.createVNode(vue.unref(BxIcon),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(BandageOutline))]),_:1})]),vue.createElementVNode("div",_hoisted_3$b,[_i.value===2?(vue.openBlock(),vue.createElementBlock("span",_hoisted_4$7," You're not allowed to view this template. ")):(vue.openBlock(),vue.createElementBlock("span",_hoisted_5$6," Embed Template is still processing. Please retry in 3 minutes. "))]),vue.createElementVNode("div",_hoisted_6$3,[vue.createVNode(vue.unref(BxButton),{round:"",onClick:Jr},{icon:vue.withCtx(()=>[vue.createVNode(vue.unref(BxIcon),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(RefreshOutline))]),_:1})]),default:vue.withCtx(()=>[Ji[5]||(Ji[5]=vue.createTextVNode(" Retry "))]),_:1})])]),_:1})])):(vue.openBlock(),vue.createBlock(vue.unref(Wt),{key:1,ref_key:"zoompinchRef",ref:pr,transform:Nr.value,"onUpdate:transform":Ji[4]||(Ji[4]=Vi=>Nr.value=Vi),width:Me.value?Me.value.width:1080,height:Me.value?Me.value.height:1080,offset:Tn.offset,"min-scale":.1,"max-scale":10,rotation:!1,bounds:!1,mouse:Tn.zoomAndPan,touch:Tn.zoomAndPan,wheel:Tn.zoomAndPan,gesture:"",onDragGestureStart:pn,onDragGestureEnd:tn},{canvas:vue.withCtx(()=>[vue.createVNode(BluepicEmbedded,{ref_key:"bluepicEmbeddedRef",ref:rr,"template-id":Tn.templateId,"embed-api-base-url":Tn.embedApiBaseUrl,env:Tn.env,"cloudflare-pages-hostname":Tn.cloudflarePagesHostname,"bx-core-version":Tn.bxCoreVersion,authorization:Tn.authorization,"async-serial":Tn.asyncSerial,resolution:Tn.resolution,webgl:Tn.webgl,fonts:Tn.fonts,"base-serial":Tn.baseSerial,data:Ie.value,"onUpdate:data":Ji[0]||(Ji[0]=Vi=>Ie.value=Vi),serial:Me.value,"onUpdate:serial":Ji[1]||(Ji[1]=Vi=>Me.value=Vi),ready:Ze.value,"onUpdate:ready":Ji[2]||(Ji[2]=Vi=>Ze.value=Vi),"global-scope":ne.value,"onUpdate:globalScope":Ji[3]||(Ji[3]=Vi=>ne.value=Vi),onError:ii},null,8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","authorization","async-serial","resolution","webgl","fonts","base-serial","data","serial","ready","global-scope"])]),matrix:vue.withCtx(({composePoint:Vi})=>[Tn.watermark?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:vue.normalizeClass(["watermark",{}])},[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(32,Gn=>vue.createElementVNode("div",null,[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(32,En=>vue.createElementVNode("span",null,vue.toDisplayString(Tn.watermark),1)),64))])),64))])):vue.createCommentVNode("",!0),(vue.openBlock(),vue.createElementBlock("svg",_hoisted_7$3,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Array.from({length:Vr.value.y},(Gn,En)=>En),Gn=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[],64))),256)),vue.renderSlot(Tn.$slots,"matrix",{composePoint:Vi},void 0,!0)])),vue.renderSlot(Tn.$slots,"matrix",{composePoint:Vi},void 0,!0),Tn.scrollbars&&or.value&&ur.value&&$e.value?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:"controls-layer",style:vue.normalizeStyle({"--scale":Nr.value.scale,"--cover-scale-x":ur.value,"--cover-scale-y":$e.value,"--inner-scroll-x":or.value[0],"--inner-scroll-y":or.value[1]})},[Nr.value.scale>ur.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$3)):vue.createCommentVNode("",!0),Nr.value.scale>$e.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$3)):vue.createCommentVNode("",!0),Vr.value.x>1?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$3,[vue.createElementVNode("div",_hoisted_11$3,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Vr.value.x,Gn=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["frame-dot",{active:nr.value?.x===Gn,disabled:!nr.value}]),onClick:En=>ki(Gn,En)},null,10,_hoisted_12$2))),256))])])):vue.createCommentVNode("",!0),Vr.value.y>1?(vue.openBlock(),vue.createElementBlock("div",_hoisted_13$2,[vue.createElementVNode("div",_hoisted_14$2,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Vr.value.y,Gn=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["frame-dot",{active:nr.value?.y===Gn,disabled:!nr.value}]),onClick:En=>Mi(Gn,En)},null,10,_hoisted_15$2))),256))])])):vue.createCommentVNode("",!0),$r.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_16$2,[vue.createVNode(vue.unref(BxButton),{circle:"",tertiary:"",onClick:Yr},{icon:vue.withCtx(()=>[vue.createVNode(vue.unref(BxIcon),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ExpandOutline))]),_:1})]),_:1})])):vue.createCommentVNode("",!0)],4)):vue.createCommentVNode("",!0)]),_:3},8,["transform","width","height","offset","mouse","touch","wheel"]))],38))}}),BluepicLiveTemplate_vue_vue_type_style_index_0_scoped_bff09f52_lang="",BluepicLiveTemplate_vue_vue_type_style_index_1_scoped_bff09f52_lang="",BluepicLiveTemplate=_export_sfc(_sfc_main$o,[["__scopeId","data-v-bff09f52"]]),_hoisted_1$i={class:"label"},_hoisted_2$e={class:"field-wrapper"},_sfc_main$n=vue.defineComponent({__name:"KioskField",props:{serial:{},field:{},composePoint:{type:Function}},setup(m){const c=m,ie=vue.ref(),we=vue.ref(),Ie=vue.reactive({x:0,y:0});function Me(){!ie.value||!we.value||computePosition(ie.value,ie.value,{middleware:[autoPlacement(),offset(10)]}).then(Ar=>{Ie.x=Ar.x,Ie.y=Ar.y})}const Ze=vue.computed(()=>{if(c.field.hitbox){const[Ar,Pr]=c.composePoint(c.field.hitbox.x/c.serial.width,c.field.hitbox.y/c.serial.height),[Nr,ei]=c.composePoint((c.field.hitbox.x+c.field.hitbox.width)/c.serial.width,(c.field.hitbox.y+c.field.hitbox.height)/c.serial.height);return{x:Ar,y:Pr,width:Nr-Ar,height:ei-Pr}}}),ne=vue.computed(()=>getFieldDescription(c.field)),rr=vue.computed(()=>{if(c.field.hitbox){const[Ar,Pr]=c.composePoint(c.field.hitbox.x/c.serial.width,c.field.hitbox.y/c.serial.height),[Nr,ei]=c.composePoint((c.field.hitbox.x+c.field.hitbox.width)/c.serial.width,(c.field.hitbox.y+c.field.hitbox.height)/c.serial.height);return`${Nr-Ar}px`}return"100%"});vue.watch(()=>c.field,()=>{vue.nextTick(()=>{Me()})},{immediate:!0});const{fields:pr,data:lr,bridge:yr,modelField:kr,wrapFieldProps:Br}=useFields(vue.computed(()=>[c.field]));return(Ar,Pr)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[Ze.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"hitboxAnchorRef",ref:ie,class:"hitbox-anchor",style:vue.normalizeStyle({"--x":`${Ze.value.x}px`,"--y":`${Ze.value.y}px`,"--width":`${Ze.value.width}px`,"--height":`${Ze.value.height}px`})},null,4)):vue.createCommentVNode("",!0),vue.createElementVNode("div",{ref_key:"kioskFieldWindowRef",ref:we,class:vue.normalizeClass(["kiosk-field",{"no-hitbox-pos":!Ar.field.hitbox}]),style:vue.normalizeStyle({"--max-width":rr.value,"--x":`${Ie.x}px`,"--y":`${Ie.y}px`})},[vue.createElementVNode("header",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(renderFieldIcon)(c.field.type,!1))))]),_:1}),vue.createElementVNode("div",_hoisted_1$i,vue.toDisplayString(ne.value),1)]),vue.createElementVNode("main",null,[vue.createElementVNode("div",_hoisted_2$e,[Ar.field.type in BluepciFieldComponents?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(BluepciFieldComponents[Ar.field.type]),vue.normalizeProps(vue.mergeProps({key:0},{...vue.unref(Br)(Ar.field.props),...vue.unref(kr)(Ar.field.model),description:ne.value,detailedDescription:Ar.field.detailedDescription,field:Ar.field,mobile:!1})),null,16)):vue.createCommentVNode("",!0)])])],6)],64))}}),KioskField_vue_vue_type_style_index_0_scoped_f468be80_lang="",KioskField=_export_sfc(_sfc_main$n,[["__scopeId","data-v-f468be80"]]),_sfc_main$m=vue.defineComponent({__name:"SlidesNavigation",props:vue.mergeModels({length:{}},{index:{required:!0},indexModifiers:{}}),emits:["update:index"],setup(m){const c=vue.useModel(m,"index"),ie=m,we=vue.ref(),{width:Ie}=useElementBounding(we);function Me(yr){c.value=yr}function Ze(){c.value=Math.max(1,c.value-1)}function ne(){c.value=Math.min(ie.length,c.value+1)}const rr=vue.computed(()=>Math.max(0,Math.trunc(Ie.value/(26+5))-2)),pr=vue.computed(()=>Math.max(0,ie.length>rr.value?rr.value-1:ie.length)),lr=vue.computed(()=>{if(pr.value<ie.length)return Array(ie.length-rr.value).fill(0).map((yr,kr)=>({label:`${kr+rr.value}`,value:kr+rr.value}))});return(yr,kr)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"slidesNavigationWrapperRef",ref:we,class:"slides-navigation"},[vue.createVNode(BxButton,{circle:"",onClick:Ze,size:"small",disabled:c.value<=1},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronBackOutline))]),_:1})]),_:1},8,["disabled"]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(pr.value,Br=>(vue.openBlock(),vue.createBlock(BxButton,{key:Br,secondary:c.value===Br,circle:"",onClick:Ar=>Me(Br),size:"small"},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(Br),1)]),_:2},1024)]),_:2},1032,["secondary","onClick"]))),128)),lr.value?(vue.openBlock(),vue.createBlock(BxSelect,{key:0,options:lr.value,modelValue:c.value,"onUpdate:modelValue":kr[0]||(kr[0]=Br=>c.value=Br)},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{circle:"",size:"small",secondary:c.value>pr.value},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>kr[1]||(kr[1]=[vue.createTextVNode(" ... ")])),_:1})]),_:1},8,["secondary"])]),_:1},8,["options","modelValue"])):vue.createCommentVNode("",!0),vue.createVNode(BxButton,{circle:"",onClick:ne,size:"small",disabled:c.value>=yr.length},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronForwardOutline))]),_:1})]),_:1},8,["disabled"])],512))}}),SlidesNavigation_vue_vue_type_style_index_0_scoped_afb2cc1e_lang="",SlidesNavigation=_export_sfc(_sfc_main$m,[["__scopeId","data-v-afb2cc1e"]]);function isObject$2(m){return m!==null&&typeof m=="object"&&"constructor"in m&&m.constructor===Object}function extend$2(m,c){m===void 0&&(m={}),c===void 0&&(c={}),Object.keys(c).forEach(ie=>{typeof m[ie]>"u"?m[ie]=c[ie]:isObject$2(c[ie])&&isObject$2(m[ie])&&Object.keys(c[ie]).length>0&&extend$2(m[ie],c[ie])})}const ssrDocument={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function getDocument(){const m=typeof document<"u"?document:{};return extend$2(m,ssrDocument),m}const ssrWindow={document:ssrDocument,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function m(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(m){return typeof setTimeout>"u"?(m(),null):setTimeout(m,0)},cancelAnimationFrame(m){typeof setTimeout>"u"||clearTimeout(m)}};function getWindow(){const m=typeof window<"u"?window:{};return extend$2(m,ssrWindow),m}function classesToTokens(m){return m===void 0&&(m=""),m.trim().split(" ").filter(c=>!!c.trim())}function deleteProps(m){const c=m;Object.keys(c).forEach(ie=>{try{c[ie]=null}catch{}try{delete c[ie]}catch{}})}function nextTick(m,c){return c===void 0&&(c=0),setTimeout(m,c)}function now(){return Date.now()}function getComputedStyle$1(m){const c=getWindow();let ie;return c.getComputedStyle&&(ie=c.getComputedStyle(m,null)),!ie&&m.currentStyle&&(ie=m.currentStyle),ie||(ie=m.style),ie}function getTranslate(m,c){c===void 0&&(c="x");const ie=getWindow();let we,Ie,Me;const Ze=getComputedStyle$1(m);return ie.WebKitCSSMatrix?(Ie=Ze.transform||Ze.webkitTransform,Ie.split(",").length>6&&(Ie=Ie.split(", ").map(ne=>ne.replace(",",".")).join(", ")),Me=new ie.WebKitCSSMatrix(Ie==="none"?"":Ie)):(Me=Ze.MozTransform||Ze.OTransform||Ze.MsTransform||Ze.msTransform||Ze.transform||Ze.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),we=Me.toString().split(",")),c==="x"&&(ie.WebKitCSSMatrix?Ie=Me.m41:we.length===16?Ie=parseFloat(we[12]):Ie=parseFloat(we[4])),c==="y"&&(ie.WebKitCSSMatrix?Ie=Me.m42:we.length===16?Ie=parseFloat(we[13]):Ie=parseFloat(we[5])),Ie||0}function isObject$1(m){return typeof m=="object"&&m!==null&&m.constructor&&Object.prototype.toString.call(m).slice(8,-1)==="Object"}function isNode$1(m){return typeof window<"u"&&typeof window.HTMLElement<"u"?m instanceof HTMLElement:m&&(m.nodeType===1||m.nodeType===11)}function extend$1(){const m=Object(arguments.length<=0?void 0:arguments[0]),c=["__proto__","constructor","prototype"];for(let ie=1;ie<arguments.length;ie+=1){const we=ie<0||arguments.length<=ie?void 0:arguments[ie];if(we!=null&&!isNode$1(we)){const Ie=Object.keys(Object(we)).filter(Me=>c.indexOf(Me)<0);for(let Me=0,Ze=Ie.length;Me<Ze;Me+=1){const ne=Ie[Me],rr=Object.getOwnPropertyDescriptor(we,ne);rr!==void 0&&rr.enumerable&&(isObject$1(m[ne])&&isObject$1(we[ne])?we[ne].__swiper__?m[ne]=we[ne]:extend$1(m[ne],we[ne]):!isObject$1(m[ne])&&isObject$1(we[ne])?(m[ne]={},we[ne].__swiper__?m[ne]=we[ne]:extend$1(m[ne],we[ne])):m[ne]=we[ne])}}}return m}function setCSSProperty(m,c,ie){m.style.setProperty(c,ie)}function animateCSSModeScroll(m){let{swiper:c,targetPosition:ie,side:we}=m;const Ie=getWindow(),Me=-c.translate;let Ze=null,ne;const rr=c.params.speed;c.wrapperEl.style.scrollSnapType="none",Ie.cancelAnimationFrame(c.cssModeFrameID);const pr=ie>Me?"next":"prev",lr=(kr,Br)=>pr==="next"&&kr>=Br||pr==="prev"&&kr<=Br,yr=()=>{ne=new Date().getTime(),Ze===null&&(Ze=ne);const kr=Math.max(Math.min((ne-Ze)/rr,1),0),Br=.5-Math.cos(kr*Math.PI)/2;let Ar=Me+Br*(ie-Me);if(lr(Ar,ie)&&(Ar=ie),c.wrapperEl.scrollTo({[we]:Ar}),lr(Ar,ie)){c.wrapperEl.style.overflow="hidden",c.wrapperEl.style.scrollSnapType="",setTimeout(()=>{c.wrapperEl.style.overflow="",c.wrapperEl.scrollTo({[we]:Ar})}),Ie.cancelAnimationFrame(c.cssModeFrameID);return}c.cssModeFrameID=Ie.requestAnimationFrame(yr)};yr()}function elementChildren(m,c){c===void 0&&(c="");const ie=getWindow(),we=[...m.children];return ie.HTMLSlotElement&&m instanceof HTMLSlotElement&&we.push(...m.assignedElements()),c?we.filter(Ie=>Ie.matches(c)):we}function elementIsChildOfSlot(m,c){const ie=[c];for(;ie.length>0;){const we=ie.shift();if(m===we)return!0;ie.push(...we.children,...we.shadowRoot?.children||[],...we.assignedElements?.()||[])}}function elementIsChildOf(m,c){const ie=getWindow();let we=c.contains(m);return!we&&ie.HTMLSlotElement&&c instanceof HTMLSlotElement&&(we=[...c.assignedElements()].includes(m),we||(we=elementIsChildOfSlot(m,c))),we}function showWarning(m){try{console.warn(m);return}catch{}}function createElement(m,c){c===void 0&&(c=[]);const ie=document.createElement(m);return ie.classList.add(...Array.isArray(c)?c:classesToTokens(c)),ie}function elementOffset(m){const c=getWindow(),ie=getDocument(),we=m.getBoundingClientRect(),Ie=ie.body,Me=m.clientTop||Ie.clientTop||0,Ze=m.clientLeft||Ie.clientLeft||0,ne=m===c?c.scrollY:m.scrollTop,rr=m===c?c.scrollX:m.scrollLeft;return{top:we.top+ne-Me,left:we.left+rr-Ze}}function elementPrevAll(m,c){const ie=[];for(;m.previousElementSibling;){const we=m.previousElementSibling;c?we.matches(c)&&ie.push(we):ie.push(we),m=we}return ie}function elementNextAll(m,c){const ie=[];for(;m.nextElementSibling;){const we=m.nextElementSibling;c?we.matches(c)&&ie.push(we):ie.push(we),m=we}return ie}function elementStyle(m,c){return getWindow().getComputedStyle(m,null).getPropertyValue(c)}function elementIndex(m){let c=m,ie;if(c){for(ie=0;(c=c.previousSibling)!==null;)c.nodeType===1&&(ie+=1);return ie}}function elementParents(m,c){const ie=[];let we=m.parentElement;for(;we;)c?we.matches(c)&&ie.push(we):ie.push(we),we=we.parentElement;return ie}function elementOuterSize(m,c,ie){const we=getWindow();return ie?m[c==="width"?"offsetWidth":"offsetHeight"]+parseFloat(we.getComputedStyle(m,null).getPropertyValue(c==="width"?"margin-right":"margin-top"))+parseFloat(we.getComputedStyle(m,null).getPropertyValue(c==="width"?"margin-left":"margin-bottom")):m.offsetWidth}function makeElementsArray(m){return(Array.isArray(m)?m:[m]).filter(c=>!!c)}function createElementIfNotDefined(m,c,ie,we){return m.params.createElements&&Object.keys(we).forEach(Ie=>{if(!ie[Ie]&&ie.auto===!0){let Me=elementChildren(m.el,`.${we[Ie]}`)[0];Me||(Me=createElement("div",we[Ie]),Me.className=we[Ie],m.el.append(Me)),ie[Ie]=Me,c[Ie]=Me}}),ie}function Navigation(m){let{swiper:c,extendParams:ie,on:we,emit:Ie}=m;ie({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),c.navigation={nextEl:null,prevEl:null};function Me(Ar){let Pr;return Ar&&typeof Ar=="string"&&c.isElement&&(Pr=c.el.querySelector(Ar)||c.hostEl.querySelector(Ar),Pr)?Pr:(Ar&&(typeof Ar=="string"&&(Pr=[...document.querySelectorAll(Ar)]),c.params.uniqueNavElements&&typeof Ar=="string"&&Pr&&Pr.length>1&&c.el.querySelectorAll(Ar).length===1?Pr=c.el.querySelector(Ar):Pr&&Pr.length===1&&(Pr=Pr[0])),Ar&&!Pr?Ar:Pr)}function Ze(Ar,Pr){const Nr=c.params.navigation;Ar=makeElementsArray(Ar),Ar.forEach(ei=>{ei&&(ei.classList[Pr?"add":"remove"](...Nr.disabledClass.split(" ")),ei.tagName==="BUTTON"&&(ei.disabled=Pr),c.params.watchOverflow&&c.enabled&&ei.classList[c.isLocked?"add":"remove"](Nr.lockClass))})}function ne(){const{nextEl:Ar,prevEl:Pr}=c.navigation;if(c.params.loop){Ze(Pr,!1),Ze(Ar,!1);return}Ze(Pr,c.isBeginning&&!c.params.rewind),Ze(Ar,c.isEnd&&!c.params.rewind)}function rr(Ar){Ar.preventDefault(),!(c.isBeginning&&!c.params.loop&&!c.params.rewind)&&(c.slidePrev(),Ie("navigationPrev"))}function pr(Ar){Ar.preventDefault(),!(c.isEnd&&!c.params.loop&&!c.params.rewind)&&(c.slideNext(),Ie("navigationNext"))}function lr(){const Ar=c.params.navigation;if(c.params.navigation=createElementIfNotDefined(c,c.originalParams.navigation,c.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(Ar.nextEl||Ar.prevEl))return;let Pr=Me(Ar.nextEl),Nr=Me(Ar.prevEl);Object.assign(c.navigation,{nextEl:Pr,prevEl:Nr}),Pr=makeElementsArray(Pr),Nr=makeElementsArray(Nr);const ei=(Vr,Zr)=>{Vr&&Vr.addEventListener("click",Zr==="next"?pr:rr),!c.enabled&&Vr&&Vr.classList.add(...Ar.lockClass.split(" "))};Pr.forEach(Vr=>ei(Vr,"next")),Nr.forEach(Vr=>ei(Vr,"prev"))}function yr(){let{nextEl:Ar,prevEl:Pr}=c.navigation;Ar=makeElementsArray(Ar),Pr=makeElementsArray(Pr);const Nr=(ei,Vr)=>{ei.removeEventListener("click",Vr==="next"?pr:rr),ei.classList.remove(...c.params.navigation.disabledClass.split(" "))};Ar.forEach(ei=>Nr(ei,"next")),Pr.forEach(ei=>Nr(ei,"prev"))}we("init",()=>{c.params.navigation.enabled===!1?Br():(lr(),ne())}),we("toEdge fromEdge lock unlock",()=>{ne()}),we("destroy",()=>{yr()}),we("enable disable",()=>{let{nextEl:Ar,prevEl:Pr}=c.navigation;if(Ar=makeElementsArray(Ar),Pr=makeElementsArray(Pr),c.enabled){ne();return}[...Ar,...Pr].filter(Nr=>!!Nr).forEach(Nr=>Nr.classList.add(c.params.navigation.lockClass))}),we("click",(Ar,Pr)=>{let{nextEl:Nr,prevEl:ei}=c.navigation;Nr=makeElementsArray(Nr),ei=makeElementsArray(ei);const Vr=Pr.target;let Zr=ei.includes(Vr)||Nr.includes(Vr);if(c.isElement&&!Zr){const Wr=Pr.path||Pr.composedPath&&Pr.composedPath();Wr&&(Zr=Wr.find(ai=>Nr.includes(ai)||ei.includes(ai)))}if(c.params.navigation.hideOnClick&&!Zr){if(c.pagination&&c.params.pagination&&c.params.pagination.clickable&&(c.pagination.el===Vr||c.pagination.el.contains(Vr)))return;let Wr;Nr.length?Wr=Nr[0].classList.contains(c.params.navigation.hiddenClass):ei.length&&(Wr=ei[0].classList.contains(c.params.navigation.hiddenClass)),Ie(Wr===!0?"navigationShow":"navigationHide"),[...Nr,...ei].filter(ai=>!!ai).forEach(ai=>ai.classList.toggle(c.params.navigation.hiddenClass))}});const kr=()=>{c.el.classList.remove(...c.params.navigation.navigationDisabledClass.split(" ")),lr(),ne()},Br=()=>{c.el.classList.add(...c.params.navigation.navigationDisabledClass.split(" ")),yr()};Object.assign(c.navigation,{enable:kr,disable:Br,update:ne,init:lr,destroy:yr})}function classesToSelector(m){return m===void 0&&(m=""),`.${m.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Pagination(m){let{swiper:c,extendParams:ie,on:we,emit:Ie}=m;const Me="swiper-pagination";ie({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:Vr=>Vr,formatFractionTotal:Vr=>Vr,bulletClass:`${Me}-bullet`,bulletActiveClass:`${Me}-bullet-active`,modifierClass:`${Me}-`,currentClass:`${Me}-current`,totalClass:`${Me}-total`,hiddenClass:`${Me}-hidden`,progressbarFillClass:`${Me}-progressbar-fill`,progressbarOppositeClass:`${Me}-progressbar-opposite`,clickableClass:`${Me}-clickable`,lockClass:`${Me}-lock`,horizontalClass:`${Me}-horizontal`,verticalClass:`${Me}-vertical`,paginationDisabledClass:`${Me}-disabled`}}),c.pagination={el:null,bullets:[]};let Ze,ne=0;function rr(){return!c.params.pagination.el||!c.pagination.el||Array.isArray(c.pagination.el)&&c.pagination.el.length===0}function pr(Vr,Zr){const{bulletActiveClass:Wr}=c.params.pagination;!Vr||(Vr=Vr[`${Zr==="prev"?"previous":"next"}ElementSibling`],Vr&&(Vr.classList.add(`${Wr}-${Zr}`),Vr=Vr[`${Zr==="prev"?"previous":"next"}ElementSibling`],Vr&&Vr.classList.add(`${Wr}-${Zr}-${Zr}`)))}function lr(Vr,Zr,Wr){if(Vr=Vr%Wr,Zr=Zr%Wr,Zr===Vr+1)return"next";if(Zr===Vr-1)return"previous"}function yr(Vr){const Zr=Vr.target.closest(classesToSelector(c.params.pagination.bulletClass));if(!Zr)return;Vr.preventDefault();const Wr=elementIndex(Zr)*c.params.slidesPerGroup;if(c.params.loop){if(c.realIndex===Wr)return;const ai=lr(c.realIndex,Wr,c.slides.length);ai==="next"?c.slideNext():ai==="previous"?c.slidePrev():c.slideToLoop(Wr)}else c.slideTo(Wr)}function kr(){const Vr=c.rtl,Zr=c.params.pagination;if(rr())return;let Wr=c.pagination.el;Wr=makeElementsArray(Wr);let ai,ui;const di=c.virtual&&c.params.virtual.enabled?c.virtual.slides.length:c.slides.length,fi=c.params.loop?Math.ceil(di/c.params.slidesPerGroup):c.snapGrid.length;if(c.params.loop?(ui=c.previousRealIndex||0,ai=c.params.slidesPerGroup>1?Math.floor(c.realIndex/c.params.slidesPerGroup):c.realIndex):typeof c.snapIndex<"u"?(ai=c.snapIndex,ui=c.previousSnapIndex):(ui=c.previousIndex||0,ai=c.activeIndex||0),Zr.type==="bullets"&&c.pagination.bullets&&c.pagination.bullets.length>0){const li=c.pagination.bullets;let hi,gr,Ae;if(Zr.dynamicBullets&&(Ze=elementOuterSize(li[0],c.isHorizontal()?"width":"height",!0),Wr.forEach(ze=>{ze.style[c.isHorizontal()?"width":"height"]=`${Ze*(Zr.dynamicMainBullets+4)}px`}),Zr.dynamicMainBullets>1&&ui!==void 0&&(ne+=ai-(ui||0),ne>Zr.dynamicMainBullets-1?ne=Zr.dynamicMainBullets-1:ne<0&&(ne=0)),hi=Math.max(ai-ne,0),gr=hi+(Math.min(li.length,Zr.dynamicMainBullets)-1),Ae=(gr+hi)/2),li.forEach(ze=>{const Ue=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(tr=>`${Zr.bulletActiveClass}${tr}`)].map(tr=>typeof tr=="string"&&tr.includes(" ")?tr.split(" "):tr).flat();ze.classList.remove(...Ue)}),Wr.length>1)li.forEach(ze=>{const Ue=elementIndex(ze);Ue===ai?ze.classList.add(...Zr.bulletActiveClass.split(" ")):c.isElement&&ze.setAttribute("part","bullet"),Zr.dynamicBullets&&(Ue>=hi&&Ue<=gr&&ze.classList.add(...`${Zr.bulletActiveClass}-main`.split(" ")),Ue===hi&&pr(ze,"prev"),Ue===gr&&pr(ze,"next"))});else{const ze=li[ai];if(ze&&ze.classList.add(...Zr.bulletActiveClass.split(" ")),c.isElement&&li.forEach((Ue,tr)=>{Ue.setAttribute("part",tr===ai?"bullet-active":"bullet")}),Zr.dynamicBullets){const Ue=li[hi],tr=li[gr];for(let or=hi;or<=gr;or+=1)li[or]&&li[or].classList.add(...`${Zr.bulletActiveClass}-main`.split(" "));pr(Ue,"prev"),pr(tr,"next")}}if(Zr.dynamicBullets){const ze=Math.min(li.length,Zr.dynamicMainBullets+4),Ue=(Ze*ze-Ze)/2-Ae*Ze,tr=Vr?"right":"left";li.forEach(or=>{or.style[c.isHorizontal()?tr:"top"]=`${Ue}px`})}}Wr.forEach((li,hi)=>{if(Zr.type==="fraction"&&(li.querySelectorAll(classesToSelector(Zr.currentClass)).forEach(gr=>{gr.textContent=Zr.formatFractionCurrent(ai+1)}),li.querySelectorAll(classesToSelector(Zr.totalClass)).forEach(gr=>{gr.textContent=Zr.formatFractionTotal(fi)})),Zr.type==="progressbar"){let gr;Zr.progressbarOpposite?gr=c.isHorizontal()?"vertical":"horizontal":gr=c.isHorizontal()?"horizontal":"vertical";const Ae=(ai+1)/fi;let ze=1,Ue=1;gr==="horizontal"?ze=Ae:Ue=Ae,li.querySelectorAll(classesToSelector(Zr.progressbarFillClass)).forEach(tr=>{tr.style.transform=`translate3d(0,0,0) scaleX(${ze}) scaleY(${Ue})`,tr.style.transitionDuration=`${c.params.speed}ms`})}Zr.type==="custom"&&Zr.renderCustom?(li.innerHTML=Zr.renderCustom(c,ai+1,fi),hi===0&&Ie("paginationRender",li)):(hi===0&&Ie("paginationRender",li),Ie("paginationUpdate",li)),c.params.watchOverflow&&c.enabled&&li.classList[c.isLocked?"add":"remove"](Zr.lockClass)})}function Br(){const Vr=c.params.pagination;if(rr())return;const Zr=c.virtual&&c.params.virtual.enabled?c.virtual.slides.length:c.grid&&c.params.grid.rows>1?c.slides.length/Math.ceil(c.params.grid.rows):c.slides.length;let Wr=c.pagination.el;Wr=makeElementsArray(Wr);let ai="";if(Vr.type==="bullets"){let ui=c.params.loop?Math.ceil(Zr/c.params.slidesPerGroup):c.snapGrid.length;c.params.freeMode&&c.params.freeMode.enabled&&ui>Zr&&(ui=Zr);for(let di=0;di<ui;di+=1)Vr.renderBullet?ai+=Vr.renderBullet.call(c,di,Vr.bulletClass):ai+=`<${Vr.bulletElement} ${c.isElement?'part="bullet"':""} class="${Vr.bulletClass}"></${Vr.bulletElement}>`}Vr.type==="fraction"&&(Vr.renderFraction?ai=Vr.renderFraction.call(c,Vr.currentClass,Vr.totalClass):ai=`<span class="${Vr.currentClass}"></span> / <span class="${Vr.totalClass}"></span>`),Vr.type==="progressbar"&&(Vr.renderProgressbar?ai=Vr.renderProgressbar.call(c,Vr.progressbarFillClass):ai=`<span class="${Vr.progressbarFillClass}"></span>`),c.pagination.bullets=[],Wr.forEach(ui=>{Vr.type!=="custom"&&(ui.innerHTML=ai||""),Vr.type==="bullets"&&c.pagination.bullets.push(...ui.querySelectorAll(classesToSelector(Vr.bulletClass)))}),Vr.type!=="custom"&&Ie("paginationRender",Wr[0])}function Ar(){c.params.pagination=createElementIfNotDefined(c,c.originalParams.pagination,c.params.pagination,{el:"swiper-pagination"});const Vr=c.params.pagination;if(!Vr.el)return;let Zr;typeof Vr.el=="string"&&c.isElement&&(Zr=c.el.querySelector(Vr.el)),!Zr&&typeof Vr.el=="string"&&(Zr=[...document.querySelectorAll(Vr.el)]),Zr||(Zr=Vr.el),!(!Zr||Zr.length===0)&&(c.params.uniqueNavElements&&typeof Vr.el=="string"&&Array.isArray(Zr)&&Zr.length>1&&(Zr=[...c.el.querySelectorAll(Vr.el)],Zr.length>1&&(Zr=Zr.find(Wr=>elementParents(Wr,".swiper")[0]===c.el))),Array.isArray(Zr)&&Zr.length===1&&(Zr=Zr[0]),Object.assign(c.pagination,{el:Zr}),Zr=makeElementsArray(Zr),Zr.forEach(Wr=>{Vr.type==="bullets"&&Vr.clickable&&Wr.classList.add(...(Vr.clickableClass||"").split(" ")),Wr.classList.add(Vr.modifierClass+Vr.type),Wr.classList.add(c.isHorizontal()?Vr.horizontalClass:Vr.verticalClass),Vr.type==="bullets"&&Vr.dynamicBullets&&(Wr.classList.add(`${Vr.modifierClass}${Vr.type}-dynamic`),ne=0,Vr.dynamicMainBullets<1&&(Vr.dynamicMainBullets=1)),Vr.type==="progressbar"&&Vr.progressbarOpposite&&Wr.classList.add(Vr.progressbarOppositeClass),Vr.clickable&&Wr.addEventListener("click",yr),c.enabled||Wr.classList.add(Vr.lockClass)}))}function Pr(){const Vr=c.params.pagination;if(rr())return;let Zr=c.pagination.el;Zr&&(Zr=makeElementsArray(Zr),Zr.forEach(Wr=>{Wr.classList.remove(Vr.hiddenClass),Wr.classList.remove(Vr.modifierClass+Vr.type),Wr.classList.remove(c.isHorizontal()?Vr.horizontalClass:Vr.verticalClass),Vr.clickable&&(Wr.classList.remove(...(Vr.clickableClass||"").split(" ")),Wr.removeEventListener("click",yr))})),c.pagination.bullets&&c.pagination.bullets.forEach(Wr=>Wr.classList.remove(...Vr.bulletActiveClass.split(" ")))}we("changeDirection",()=>{if(!c.pagination||!c.pagination.el)return;const Vr=c.params.pagination;let{el:Zr}=c.pagination;Zr=makeElementsArray(Zr),Zr.forEach(Wr=>{Wr.classList.remove(Vr.horizontalClass,Vr.verticalClass),Wr.classList.add(c.isHorizontal()?Vr.horizontalClass:Vr.verticalClass)})}),we("init",()=>{c.params.pagination.enabled===!1?ei():(Ar(),Br(),kr())}),we("activeIndexChange",()=>{typeof c.snapIndex>"u"&&kr()}),we("snapIndexChange",()=>{kr()}),we("snapGridLengthChange",()=>{Br(),kr()}),we("destroy",()=>{Pr()}),we("enable disable",()=>{let{el:Vr}=c.pagination;Vr&&(Vr=makeElementsArray(Vr),Vr.forEach(Zr=>Zr.classList[c.enabled?"remove":"add"](c.params.pagination.lockClass)))}),we("lock unlock",()=>{kr()}),we("click",(Vr,Zr)=>{const Wr=Zr.target,ai=makeElementsArray(c.pagination.el);if(c.params.pagination.el&&c.params.pagination.hideOnClick&&ai&&ai.length>0&&!Wr.classList.contains(c.params.pagination.bulletClass)){if(c.navigation&&(c.navigation.nextEl&&Wr===c.navigation.nextEl||c.navigation.prevEl&&Wr===c.navigation.prevEl))return;const ui=ai[0].classList.contains(c.params.pagination.hiddenClass);Ie(ui===!0?"paginationShow":"paginationHide"),ai.forEach(di=>di.classList.toggle(c.params.pagination.hiddenClass))}});const Nr=()=>{c.el.classList.remove(c.params.pagination.paginationDisabledClass);let{el:Vr}=c.pagination;Vr&&(Vr=makeElementsArray(Vr),Vr.forEach(Zr=>Zr.classList.remove(c.params.pagination.paginationDisabledClass))),Ar(),Br(),kr()},ei=()=>{c.el.classList.add(c.params.pagination.paginationDisabledClass);let{el:Vr}=c.pagination;Vr&&(Vr=makeElementsArray(Vr),Vr.forEach(Zr=>Zr.classList.add(c.params.pagination.paginationDisabledClass))),Pr()};Object.assign(c.pagination,{enable:Nr,disable:ei,render:Br,update:kr,init:Ar,destroy:Pr})}function Scrollbar(m){let{swiper:c,extendParams:ie,on:we,emit:Ie}=m;const Me=getDocument();let Ze=!1,ne=null,rr=null,pr,lr,yr,kr;ie({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),c.scrollbar={el:null,dragEl:null};function Br(){if(!c.params.scrollbar.el||!c.scrollbar.el)return;const{scrollbar:Ae,rtlTranslate:ze}=c,{dragEl:Ue,el:tr}=Ae,or=c.params.scrollbar,vr=c.params.loop?c.progressLoop:c.progress;let br=lr,nr=(yr-lr)*vr;ze?(nr=-nr,nr>0?(br=lr-nr,nr=0):-nr+lr>yr&&(br=yr+nr)):nr<0?(br=lr+nr,nr=0):nr+lr>yr&&(br=yr-nr),c.isHorizontal()?(Ue.style.transform=`translate3d(${nr}px, 0, 0)`,Ue.style.width=`${br}px`):(Ue.style.transform=`translate3d(0px, ${nr}px, 0)`,Ue.style.height=`${br}px`),or.hide&&(clearTimeout(ne),tr.style.opacity=1,ne=setTimeout(()=>{tr.style.opacity=0,tr.style.transitionDuration="400ms"},1e3))}function Ar(Ae){!c.params.scrollbar.el||!c.scrollbar.el||(c.scrollbar.dragEl.style.transitionDuration=`${Ae}ms`)}function Pr(){if(!c.params.scrollbar.el||!c.scrollbar.el)return;const{scrollbar:Ae}=c,{dragEl:ze,el:Ue}=Ae;ze.style.width="",ze.style.height="",yr=c.isHorizontal()?Ue.offsetWidth:Ue.offsetHeight,kr=c.size/(c.virtualSize+c.params.slidesOffsetBefore-(c.params.centeredSlides?c.snapGrid[0]:0)),c.params.scrollbar.dragSize==="auto"?lr=yr*kr:lr=parseInt(c.params.scrollbar.dragSize,10),c.isHorizontal()?ze.style.width=`${lr}px`:ze.style.height=`${lr}px`,kr>=1?Ue.style.display="none":Ue.style.display="",c.params.scrollbar.hide&&(Ue.style.opacity=0),c.params.watchOverflow&&c.enabled&&Ae.el.classList[c.isLocked?"add":"remove"](c.params.scrollbar.lockClass)}function Nr(Ae){return c.isHorizontal()?Ae.clientX:Ae.clientY}function ei(Ae){const{scrollbar:ze,rtlTranslate:Ue}=c,{el:tr}=ze;let or;or=(Nr(Ae)-elementOffset(tr)[c.isHorizontal()?"left":"top"]-(pr!==null?pr:lr/2))/(yr-lr),or=Math.max(Math.min(or,1),0),Ue&&(or=1-or);const vr=c.minTranslate()+(c.maxTranslate()-c.minTranslate())*or;c.updateProgress(vr),c.setTranslate(vr),c.updateActiveIndex(),c.updateSlidesClasses()}function Vr(Ae){const ze=c.params.scrollbar,{scrollbar:Ue,wrapperEl:tr}=c,{el:or,dragEl:vr}=Ue;Ze=!0,pr=Ae.target===vr?Nr(Ae)-Ae.target.getBoundingClientRect()[c.isHorizontal()?"left":"top"]:null,Ae.preventDefault(),Ae.stopPropagation(),tr.style.transitionDuration="100ms",vr.style.transitionDuration="100ms",ei(Ae),clearTimeout(rr),or.style.transitionDuration="0ms",ze.hide&&(or.style.opacity=1),c.params.cssMode&&(c.wrapperEl.style["scroll-snap-type"]="none"),Ie("scrollbarDragStart",Ae)}function Zr(Ae){const{scrollbar:ze,wrapperEl:Ue}=c,{el:tr,dragEl:or}=ze;!Ze||(Ae.preventDefault&&Ae.cancelable?Ae.preventDefault():Ae.returnValue=!1,ei(Ae),Ue.style.transitionDuration="0ms",tr.style.transitionDuration="0ms",or.style.transitionDuration="0ms",Ie("scrollbarDragMove",Ae))}function Wr(Ae){const ze=c.params.scrollbar,{scrollbar:Ue,wrapperEl:tr}=c,{el:or}=Ue;!Ze||(Ze=!1,c.params.cssMode&&(c.wrapperEl.style["scroll-snap-type"]="",tr.style.transitionDuration=""),ze.hide&&(clearTimeout(rr),rr=nextTick(()=>{or.style.opacity=0,or.style.transitionDuration="400ms"},1e3)),Ie("scrollbarDragEnd",Ae),ze.snapOnRelease&&c.slideToClosest())}function ai(Ae){const{scrollbar:ze,params:Ue}=c,tr=ze.el;if(!tr)return;const or=tr,vr=Ue.passiveListeners?{passive:!1,capture:!1}:!1,br=Ue.passiveListeners?{passive:!0,capture:!1}:!1;if(!or)return;const nr=Ae==="on"?"addEventListener":"removeEventListener";or[nr]("pointerdown",Vr,vr),Me[nr]("pointermove",Zr,vr),Me[nr]("pointerup",Wr,br)}function ui(){!c.params.scrollbar.el||!c.scrollbar.el||ai("on")}function di(){!c.params.scrollbar.el||!c.scrollbar.el||ai("off")}function fi(){const{scrollbar:Ae,el:ze}=c;c.params.scrollbar=createElementIfNotDefined(c,c.originalParams.scrollbar,c.params.scrollbar,{el:"swiper-scrollbar"});const Ue=c.params.scrollbar;if(!Ue.el)return;let tr;if(typeof Ue.el=="string"&&c.isElement&&(tr=c.el.querySelector(Ue.el)),!tr&&typeof Ue.el=="string"){if(tr=Me.querySelectorAll(Ue.el),!tr.length)return}else tr||(tr=Ue.el);c.params.uniqueNavElements&&typeof Ue.el=="string"&&tr.length>1&&ze.querySelectorAll(Ue.el).length===1&&(tr=ze.querySelector(Ue.el)),tr.length>0&&(tr=tr[0]),tr.classList.add(c.isHorizontal()?Ue.horizontalClass:Ue.verticalClass);let or;tr&&(or=tr.querySelector(classesToSelector(c.params.scrollbar.dragClass)),or||(or=createElement("div",c.params.scrollbar.dragClass),tr.append(or))),Object.assign(Ae,{el:tr,dragEl:or}),Ue.draggable&&ui(),tr&&tr.classList[c.enabled?"remove":"add"](...classesToTokens(c.params.scrollbar.lockClass))}function li(){const Ae=c.params.scrollbar,ze=c.scrollbar.el;ze&&ze.classList.remove(...classesToTokens(c.isHorizontal()?Ae.horizontalClass:Ae.verticalClass)),di()}we("changeDirection",()=>{if(!c.scrollbar||!c.scrollbar.el)return;const Ae=c.params.scrollbar;let{el:ze}=c.scrollbar;ze=makeElementsArray(ze),ze.forEach(Ue=>{Ue.classList.remove(Ae.horizontalClass,Ae.verticalClass),Ue.classList.add(c.isHorizontal()?Ae.horizontalClass:Ae.verticalClass)})}),we("init",()=>{c.params.scrollbar.enabled===!1?gr():(fi(),Pr(),Br())}),we("update resize observerUpdate lock unlock changeDirection",()=>{Pr()}),we("setTranslate",()=>{Br()}),we("setTransition",(Ae,ze)=>{Ar(ze)}),we("enable disable",()=>{const{el:Ae}=c.scrollbar;Ae&&Ae.classList[c.enabled?"remove":"add"](...classesToTokens(c.params.scrollbar.lockClass))}),we("destroy",()=>{li()});const hi=()=>{c.el.classList.remove(...classesToTokens(c.params.scrollbar.scrollbarDisabledClass)),c.scrollbar.el&&c.scrollbar.el.classList.remove(...classesToTokens(c.params.scrollbar.scrollbarDisabledClass)),fi(),Pr(),Br()},gr=()=>{c.el.classList.add(...classesToTokens(c.params.scrollbar.scrollbarDisabledClass)),c.scrollbar.el&&c.scrollbar.el.classList.add(...classesToTokens(c.params.scrollbar.scrollbarDisabledClass)),li()};Object.assign(c.scrollbar,{enable:hi,disable:gr,updateSize:Pr,setTranslate:Br,init:fi,destroy:li})}function A11y(m){let{swiper:c,extendParams:ie,on:we}=m;ie({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),c.a11y={clicked:!1};let Ie=null,Me,Ze,ne=new Date().getTime();function rr(vr){const br=Ie;br.length!==0&&(br.innerHTML="",br.innerHTML=vr)}function pr(vr){vr===void 0&&(vr=16);const br=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(vr).replace(/x/g,br)}function lr(vr){vr=makeElementsArray(vr),vr.forEach(br=>{br.setAttribute("tabIndex","0")})}function yr(vr){vr=makeElementsArray(vr),vr.forEach(br=>{br.setAttribute("tabIndex","-1")})}function kr(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("role",br)})}function Br(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("aria-roledescription",br)})}function Ar(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("aria-controls",br)})}function Pr(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("aria-label",br)})}function Nr(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("id",br)})}function ei(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("aria-live",br)})}function Vr(vr){vr=makeElementsArray(vr),vr.forEach(br=>{br.setAttribute("aria-disabled",!0)})}function Zr(vr){vr=makeElementsArray(vr),vr.forEach(br=>{br.setAttribute("aria-disabled",!1)})}function Wr(vr){if(vr.keyCode!==13&&vr.keyCode!==32)return;const br=c.params.a11y,nr=vr.target;if(!(c.pagination&&c.pagination.el&&(nr===c.pagination.el||c.pagination.el.contains(vr.target))&&!vr.target.matches(classesToSelector(c.params.pagination.bulletClass)))){if(c.navigation&&c.navigation.prevEl&&c.navigation.nextEl){const $e=makeElementsArray(c.navigation.prevEl);makeElementsArray(c.navigation.nextEl).includes(nr)&&(c.isEnd&&!c.params.loop||c.slideNext(),c.isEnd?rr(br.lastSlideMessage):rr(br.nextSlideMessage)),$e.includes(nr)&&(c.isBeginning&&!c.params.loop||c.slidePrev(),c.isBeginning?rr(br.firstSlideMessage):rr(br.prevSlideMessage))}c.pagination&&nr.matches(classesToSelector(c.params.pagination.bulletClass))&&nr.click()}}function ai(){if(c.params.loop||c.params.rewind||!c.navigation)return;const{nextEl:vr,prevEl:br}=c.navigation;br&&(c.isBeginning?(Vr(br),yr(br)):(Zr(br),lr(br))),vr&&(c.isEnd?(Vr(vr),yr(vr)):(Zr(vr),lr(vr)))}function ui(){return c.pagination&&c.pagination.bullets&&c.pagination.bullets.length}function di(){return ui()&&c.params.pagination.clickable}function fi(){const vr=c.params.a11y;!ui()||c.pagination.bullets.forEach(br=>{c.params.pagination.clickable&&(lr(br),c.params.pagination.renderBullet||(kr(br,"button"),Pr(br,vr.paginationBulletMessage.replace(/\{\{index\}\}/,elementIndex(br)+1)))),br.matches(classesToSelector(c.params.pagination.bulletActiveClass))?br.setAttribute("aria-current","true"):br.removeAttribute("aria-current")})}const li=(vr,br,nr)=>{lr(vr),vr.tagName!=="BUTTON"&&(kr(vr,"button"),vr.addEventListener("keydown",Wr)),Pr(vr,nr),Ar(vr,br)},hi=vr=>{Ze&&Ze!==vr.target&&!Ze.contains(vr.target)&&(Me=!0),c.a11y.clicked=!0},gr=()=>{Me=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{c.destroyed||(c.a11y.clicked=!1)})})},Ae=vr=>{ne=new Date().getTime()},ze=vr=>{if(c.a11y.clicked||!c.params.a11y.scrollOnFocus||new Date().getTime()-ne<100)return;const br=vr.target.closest(`.${c.params.slideClass}, swiper-slide`);if(!br||!c.slides.includes(br))return;Ze=br;const nr=c.slides.indexOf(br)===c.activeIndex,$e=c.params.watchSlidesProgress&&c.visibleSlides&&c.visibleSlides.includes(br);nr||$e||vr.sourceCapabilities&&vr.sourceCapabilities.firesTouchEvents||(c.isHorizontal()?c.el.scrollLeft=0:c.el.scrollTop=0,requestAnimationFrame(()=>{Me||(c.params.loop?c.slideToLoop(parseInt(br.getAttribute("data-swiper-slide-index")),0):c.slideTo(c.slides.indexOf(br),0),Me=!1)}))},Ue=()=>{const vr=c.params.a11y;vr.itemRoleDescriptionMessage&&Br(c.slides,vr.itemRoleDescriptionMessage),vr.slideRole&&kr(c.slides,vr.slideRole);const br=c.slides.length;vr.slideLabelMessage&&c.slides.forEach((nr,$e)=>{const ur=c.params.loop?parseInt(nr.getAttribute("data-swiper-slide-index"),10):$e,$r=vr.slideLabelMessage.replace(/\{\{index\}\}/,ur+1).replace(/\{\{slidesLength\}\}/,br);Pr(nr,$r)})},tr=()=>{const vr=c.params.a11y;c.el.append(Ie);const br=c.el;vr.containerRoleDescriptionMessage&&Br(br,vr.containerRoleDescriptionMessage),vr.containerMessage&&Pr(br,vr.containerMessage),vr.containerRole&&kr(br,vr.containerRole);const nr=c.wrapperEl,$e=vr.id||nr.getAttribute("id")||`swiper-wrapper-${pr(16)}`,ur=c.params.autoplay&&c.params.autoplay.enabled?"off":"polite";Nr(nr,$e),ei(nr,ur),Ue();let{nextEl:$r,prevEl:Yr}=c.navigation?c.navigation:{};$r=makeElementsArray($r),Yr=makeElementsArray(Yr),$r&&$r.forEach(ki=>li(ki,$e,vr.nextSlideMessage)),Yr&&Yr.forEach(ki=>li(ki,$e,vr.prevSlideMessage)),di()&&makeElementsArray(c.pagination.el).forEach(Mi=>{Mi.addEventListener("keydown",Wr)}),getDocument().addEventListener("visibilitychange",Ae),c.el.addEventListener("focus",ze,!0),c.el.addEventListener("focus",ze,!0),c.el.addEventListener("pointerdown",hi,!0),c.el.addEventListener("pointerup",gr,!0)};function or(){Ie&&Ie.remove();let{nextEl:vr,prevEl:br}=c.navigation?c.navigation:{};vr=makeElementsArray(vr),br=makeElementsArray(br),vr&&vr.forEach($e=>$e.removeEventListener("keydown",Wr)),br&&br.forEach($e=>$e.removeEventListener("keydown",Wr)),di()&&makeElementsArray(c.pagination.el).forEach(ur=>{ur.removeEventListener("keydown",Wr)}),getDocument().removeEventListener("visibilitychange",Ae),c.el&&typeof c.el!="string"&&(c.el.removeEventListener("focus",ze,!0),c.el.removeEventListener("pointerdown",hi,!0),c.el.removeEventListener("pointerup",gr,!0))}we("beforeInit",()=>{Ie=createElement("span",c.params.a11y.notificationClass),Ie.setAttribute("aria-live","assertive"),Ie.setAttribute("aria-atomic","true")}),we("afterInit",()=>{!c.params.a11y.enabled||tr()}),we("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{!c.params.a11y.enabled||Ue()}),we("fromEdge toEdge afterInit lock unlock",()=>{!c.params.a11y.enabled||ai()}),we("paginationUpdate",()=>{!c.params.a11y.enabled||fi()}),we("destroy",()=>{!c.params.a11y.enabled||or()})}let support;function calcSupport(){const m=getWindow(),c=getDocument();return{smoothScroll:c.documentElement&&c.documentElement.style&&"scrollBehavior"in c.documentElement.style,touch:!!("ontouchstart"in m||m.DocumentTouch&&c instanceof m.DocumentTouch)}}function getSupport(){return support||(support=calcSupport()),support}let deviceCached;function calcDevice(m){let{userAgent:c}=m===void 0?{}:m;const ie=getSupport(),we=getWindow(),Ie=we.navigator.platform,Me=c||we.navigator.userAgent,Ze={ios:!1,android:!1},ne=we.screen.width,rr=we.screen.height,pr=Me.match(/(Android);?[\s\/]+([\d.]+)?/);let lr=Me.match(/(iPad).*OS\s([\d_]+)/);const yr=Me.match(/(iPod)(.*OS\s([\d_]+))?/),kr=!lr&&Me.match(/(iPhone\sOS|iOS)\s([\d_]+)/),Br=Ie==="Win32";let Ar=Ie==="MacIntel";const Pr=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!lr&&Ar&&ie.touch&&Pr.indexOf(`${ne}x${rr}`)>=0&&(lr=Me.match(/(Version)\/([\d.]+)/),lr||(lr=[0,1,"13_0_0"]),Ar=!1),pr&&!Br&&(Ze.os="android",Ze.android=!0),(lr||kr||yr)&&(Ze.os="ios",Ze.ios=!0),Ze}function getDevice(m){return m===void 0&&(m={}),deviceCached||(deviceCached=calcDevice(m)),deviceCached}let browser;function calcBrowser(){const m=getWindow(),c=getDevice();let ie=!1;function we(){const ne=m.navigator.userAgent.toLowerCase();return ne.indexOf("safari")>=0&&ne.indexOf("chrome")<0&&ne.indexOf("android")<0}if(we()){const ne=String(m.navigator.userAgent);if(ne.includes("Version/")){const[rr,pr]=ne.split("Version/")[1].split(" ")[0].split(".").map(lr=>Number(lr));ie=rr<16||rr===16&&pr<2}}const Ie=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(m.navigator.userAgent),Me=we(),Ze=Me||Ie&&c.ios;return{isSafari:ie||Me,needPerspectiveFix:ie,need3dFix:Ze,isWebView:Ie}}function getBrowser(){return browser||(browser=calcBrowser()),browser}function Resize(m){let{swiper:c,on:ie,emit:we}=m;const Ie=getWindow();let Me=null,Ze=null;const ne=()=>{!c||c.destroyed||!c.initialized||(we("beforeResize"),we("resize"))},rr=()=>{!c||c.destroyed||!c.initialized||(Me=new ResizeObserver(yr=>{Ze=Ie.requestAnimationFrame(()=>{const{width:kr,height:Br}=c;let Ar=kr,Pr=Br;yr.forEach(Nr=>{let{contentBoxSize:ei,contentRect:Vr,target:Zr}=Nr;Zr&&Zr!==c.el||(Ar=Vr?Vr.width:(ei[0]||ei).inlineSize,Pr=Vr?Vr.height:(ei[0]||ei).blockSize)}),(Ar!==kr||Pr!==Br)&&ne()})}),Me.observe(c.el))},pr=()=>{Ze&&Ie.cancelAnimationFrame(Ze),Me&&Me.unobserve&&c.el&&(Me.unobserve(c.el),Me=null)},lr=()=>{!c||c.destroyed||!c.initialized||we("orientationchange")};ie("init",()=>{if(c.params.resizeObserver&&typeof Ie.ResizeObserver<"u"){rr();return}Ie.addEventListener("resize",ne),Ie.addEventListener("orientationchange",lr)}),ie("destroy",()=>{pr(),Ie.removeEventListener("resize",ne),Ie.removeEventListener("orientationchange",lr)})}function Observer(m){let{swiper:c,extendParams:ie,on:we,emit:Ie}=m;const Me=[],Ze=getWindow(),ne=function(lr,yr){yr===void 0&&(yr={});const kr=Ze.MutationObserver||Ze.WebkitMutationObserver,Br=new kr(Ar=>{if(c.__preventObserver__)return;if(Ar.length===1){Ie("observerUpdate",Ar[0]);return}const Pr=function(){Ie("observerUpdate",Ar[0])};Ze.requestAnimationFrame?Ze.requestAnimationFrame(Pr):Ze.setTimeout(Pr,0)});Br.observe(lr,{attributes:typeof yr.attributes>"u"?!0:yr.attributes,childList:c.isElement||(typeof yr.childList>"u"?!0:yr).childList,characterData:typeof yr.characterData>"u"?!0:yr.characterData}),Me.push(Br)},rr=()=>{if(!!c.params.observer){if(c.params.observeParents){const lr=elementParents(c.hostEl);for(let yr=0;yr<lr.length;yr+=1)ne(lr[yr])}ne(c.hostEl,{childList:c.params.observeSlideChildren}),ne(c.wrapperEl,{attributes:!1})}},pr=()=>{Me.forEach(lr=>{lr.disconnect()}),Me.splice(0,Me.length)};ie({observer:!1,observeParents:!1,observeSlideChildren:!1}),we("init",rr),we("destroy",pr)}var eventsEmitter={on(m,c,ie){const we=this;if(!we.eventsListeners||we.destroyed||typeof c!="function")return we;const Ie=ie?"unshift":"push";return m.split(" ").forEach(Me=>{we.eventsListeners[Me]||(we.eventsListeners[Me]=[]),we.eventsListeners[Me][Ie](c)}),we},once(m,c,ie){const we=this;if(!we.eventsListeners||we.destroyed||typeof c!="function")return we;function Ie(){we.off(m,Ie),Ie.__emitterProxy&&delete Ie.__emitterProxy;for(var Me=arguments.length,Ze=new Array(Me),ne=0;ne<Me;ne++)Ze[ne]=arguments[ne];c.apply(we,Ze)}return Ie.__emitterProxy=c,we.on(m,Ie,ie)},onAny(m,c){const ie=this;if(!ie.eventsListeners||ie.destroyed||typeof m!="function")return ie;const we=c?"unshift":"push";return ie.eventsAnyListeners.indexOf(m)<0&&ie.eventsAnyListeners[we](m),ie},offAny(m){const c=this;if(!c.eventsListeners||c.destroyed||!c.eventsAnyListeners)return c;const ie=c.eventsAnyListeners.indexOf(m);return ie>=0&&c.eventsAnyListeners.splice(ie,1),c},off(m,c){const ie=this;return!ie.eventsListeners||ie.destroyed||!ie.eventsListeners||m.split(" ").forEach(we=>{typeof c>"u"?ie.eventsListeners[we]=[]:ie.eventsListeners[we]&&ie.eventsListeners[we].forEach((Ie,Me)=>{(Ie===c||Ie.__emitterProxy&&Ie.__emitterProxy===c)&&ie.eventsListeners[we].splice(Me,1)})}),ie},emit(){const m=this;if(!m.eventsListeners||m.destroyed||!m.eventsListeners)return m;let c,ie,we;for(var Ie=arguments.length,Me=new Array(Ie),Ze=0;Ze<Ie;Ze++)Me[Ze]=arguments[Ze];return typeof Me[0]=="string"||Array.isArray(Me[0])?(c=Me[0],ie=Me.slice(1,Me.length),we=m):(c=Me[0].events,ie=Me[0].data,we=Me[0].context||m),ie.unshift(we),(Array.isArray(c)?c:c.split(" ")).forEach(rr=>{m.eventsAnyListeners&&m.eventsAnyListeners.length&&m.eventsAnyListeners.forEach(pr=>{pr.apply(we,[rr,...ie])}),m.eventsListeners&&m.eventsListeners[rr]&&m.eventsListeners[rr].forEach(pr=>{pr.apply(we,ie)})}),m}};function updateSize(){const m=this;let c,ie;const we=m.el;typeof m.params.width<"u"&&m.params.width!==null?c=m.params.width:c=we.clientWidth,typeof m.params.height<"u"&&m.params.height!==null?ie=m.params.height:ie=we.clientHeight,!(c===0&&m.isHorizontal()||ie===0&&m.isVertical())&&(c=c-parseInt(elementStyle(we,"padding-left")||0,10)-parseInt(elementStyle(we,"padding-right")||0,10),ie=ie-parseInt(elementStyle(we,"padding-top")||0,10)-parseInt(elementStyle(we,"padding-bottom")||0,10),Number.isNaN(c)&&(c=0),Number.isNaN(ie)&&(ie=0),Object.assign(m,{width:c,height:ie,size:m.isHorizontal()?c:ie}))}function updateSlides(){const m=this;function c(hi,gr){return parseFloat(hi.getPropertyValue(m.getDirectionLabel(gr))||0)}const ie=m.params,{wrapperEl:we,slidesEl:Ie,size:Me,rtlTranslate:Ze,wrongRTL:ne}=m,rr=m.virtual&&ie.virtual.enabled,pr=rr?m.virtual.slides.length:m.slides.length,lr=elementChildren(Ie,`.${m.params.slideClass}, swiper-slide`),yr=rr?m.virtual.slides.length:lr.length;let kr=[];const Br=[],Ar=[];let Pr=ie.slidesOffsetBefore;typeof Pr=="function"&&(Pr=ie.slidesOffsetBefore.call(m));let Nr=ie.slidesOffsetAfter;typeof Nr=="function"&&(Nr=ie.slidesOffsetAfter.call(m));const ei=m.snapGrid.length,Vr=m.slidesGrid.length;let Zr=ie.spaceBetween,Wr=-Pr,ai=0,ui=0;if(typeof Me>"u")return;typeof Zr=="string"&&Zr.indexOf("%")>=0?Zr=parseFloat(Zr.replace("%",""))/100*Me:typeof Zr=="string"&&(Zr=parseFloat(Zr)),m.virtualSize=-Zr,lr.forEach(hi=>{Ze?hi.style.marginLeft="":hi.style.marginRight="",hi.style.marginBottom="",hi.style.marginTop=""}),ie.centeredSlides&&ie.cssMode&&(setCSSProperty(we,"--swiper-centered-offset-before",""),setCSSProperty(we,"--swiper-centered-offset-after",""));const di=ie.grid&&ie.grid.rows>1&&m.grid;di?m.grid.initSlides(lr):m.grid&&m.grid.unsetSlides();let fi;const li=ie.slidesPerView==="auto"&&ie.breakpoints&&Object.keys(ie.breakpoints).filter(hi=>typeof ie.breakpoints[hi].slidesPerView<"u").length>0;for(let hi=0;hi<yr;hi+=1){fi=0;let gr;if(lr[hi]&&(gr=lr[hi]),di&&m.grid.updateSlide(hi,gr,lr),!(lr[hi]&&elementStyle(gr,"display")==="none")){if(ie.slidesPerView==="auto"){li&&(lr[hi].style[m.getDirectionLabel("width")]="");const Ae=getComputedStyle(gr),ze=gr.style.transform,Ue=gr.style.webkitTransform;if(ze&&(gr.style.transform="none"),Ue&&(gr.style.webkitTransform="none"),ie.roundLengths)fi=m.isHorizontal()?elementOuterSize(gr,"width",!0):elementOuterSize(gr,"height",!0);else{const tr=c(Ae,"width"),or=c(Ae,"padding-left"),vr=c(Ae,"padding-right"),br=c(Ae,"margin-left"),nr=c(Ae,"margin-right"),$e=Ae.getPropertyValue("box-sizing");if($e&&$e==="border-box")fi=tr+br+nr;else{const{clientWidth:ur,offsetWidth:$r}=gr;fi=tr+or+vr+br+nr+($r-ur)}}ze&&(gr.style.transform=ze),Ue&&(gr.style.webkitTransform=Ue),ie.roundLengths&&(fi=Math.floor(fi))}else fi=(Me-(ie.slidesPerView-1)*Zr)/ie.slidesPerView,ie.roundLengths&&(fi=Math.floor(fi)),lr[hi]&&(lr[hi].style[m.getDirectionLabel("width")]=`${fi}px`);lr[hi]&&(lr[hi].swiperSlideSize=fi),Ar.push(fi),ie.centeredSlides?(Wr=Wr+fi/2+ai/2+Zr,ai===0&&hi!==0&&(Wr=Wr-Me/2-Zr),hi===0&&(Wr=Wr-Me/2-Zr),Math.abs(Wr)<1/1e3&&(Wr=0),ie.roundLengths&&(Wr=Math.floor(Wr)),ui%ie.slidesPerGroup===0&&kr.push(Wr),Br.push(Wr)):(ie.roundLengths&&(Wr=Math.floor(Wr)),(ui-Math.min(m.params.slidesPerGroupSkip,ui))%m.params.slidesPerGroup===0&&kr.push(Wr),Br.push(Wr),Wr=Wr+fi+Zr),m.virtualSize+=fi+Zr,ai=fi,ui+=1}}if(m.virtualSize=Math.max(m.virtualSize,Me)+Nr,Ze&&ne&&(ie.effect==="slide"||ie.effect==="coverflow")&&(we.style.width=`${m.virtualSize+Zr}px`),ie.setWrapperSize&&(we.style[m.getDirectionLabel("width")]=`${m.virtualSize+Zr}px`),di&&m.grid.updateWrapperSize(fi,kr),!ie.centeredSlides){const hi=[];for(let gr=0;gr<kr.length;gr+=1){let Ae=kr[gr];ie.roundLengths&&(Ae=Math.floor(Ae)),kr[gr]<=m.virtualSize-Me&&hi.push(Ae)}kr=hi,Math.floor(m.virtualSize-Me)-Math.floor(kr[kr.length-1])>1&&kr.push(m.virtualSize-Me)}if(rr&&ie.loop){const hi=Ar[0]+Zr;if(ie.slidesPerGroup>1){const gr=Math.ceil((m.virtual.slidesBefore+m.virtual.slidesAfter)/ie.slidesPerGroup),Ae=hi*ie.slidesPerGroup;for(let ze=0;ze<gr;ze+=1)kr.push(kr[kr.length-1]+Ae)}for(let gr=0;gr<m.virtual.slidesBefore+m.virtual.slidesAfter;gr+=1)ie.slidesPerGroup===1&&kr.push(kr[kr.length-1]+hi),Br.push(Br[Br.length-1]+hi),m.virtualSize+=hi}if(kr.length===0&&(kr=[0]),Zr!==0){const hi=m.isHorizontal()&&Ze?"marginLeft":m.getDirectionLabel("marginRight");lr.filter((gr,Ae)=>!ie.cssMode||ie.loop?!0:Ae!==lr.length-1).forEach(gr=>{gr.style[hi]=`${Zr}px`})}if(ie.centeredSlides&&ie.centeredSlidesBounds){let hi=0;Ar.forEach(Ae=>{hi+=Ae+(Zr||0)}),hi-=Zr;const gr=hi>Me?hi-Me:0;kr=kr.map(Ae=>Ae<=0?-Pr:Ae>gr?gr+Nr:Ae)}if(ie.centerInsufficientSlides){let hi=0;Ar.forEach(Ae=>{hi+=Ae+(Zr||0)}),hi-=Zr;const gr=(ie.slidesOffsetBefore||0)+(ie.slidesOffsetAfter||0);if(hi+gr<Me){const Ae=(Me-hi-gr)/2;kr.forEach((ze,Ue)=>{kr[Ue]=ze-Ae}),Br.forEach((ze,Ue)=>{Br[Ue]=ze+Ae})}}if(Object.assign(m,{slides:lr,snapGrid:kr,slidesGrid:Br,slidesSizesGrid:Ar}),ie.centeredSlides&&ie.cssMode&&!ie.centeredSlidesBounds){setCSSProperty(we,"--swiper-centered-offset-before",`${-kr[0]}px`),setCSSProperty(we,"--swiper-centered-offset-after",`${m.size/2-Ar[Ar.length-1]/2}px`);const hi=-m.snapGrid[0],gr=-m.slidesGrid[0];m.snapGrid=m.snapGrid.map(Ae=>Ae+hi),m.slidesGrid=m.slidesGrid.map(Ae=>Ae+gr)}if(yr!==pr&&m.emit("slidesLengthChange"),kr.length!==ei&&(m.params.watchOverflow&&m.checkOverflow(),m.emit("snapGridLengthChange")),Br.length!==Vr&&m.emit("slidesGridLengthChange"),ie.watchSlidesProgress&&m.updateSlidesOffset(),m.emit("slidesUpdated"),!rr&&!ie.cssMode&&(ie.effect==="slide"||ie.effect==="fade")){const hi=`${ie.containerModifierClass}backface-hidden`,gr=m.el.classList.contains(hi);yr<=ie.maxBackfaceHiddenSlides?gr||m.el.classList.add(hi):gr&&m.el.classList.remove(hi)}}function updateAutoHeight(m){const c=this,ie=[],we=c.virtual&&c.params.virtual.enabled;let Ie=0,Me;typeof m=="number"?c.setTransition(m):m===!0&&c.setTransition(c.params.speed);const Ze=ne=>we?c.slides[c.getSlideIndexByData(ne)]:c.slides[ne];if(c.params.slidesPerView!=="auto"&&c.params.slidesPerView>1)if(c.params.centeredSlides)(c.visibleSlides||[]).forEach(ne=>{ie.push(ne)});else for(Me=0;Me<Math.ceil(c.params.slidesPerView);Me+=1){const ne=c.activeIndex+Me;if(ne>c.slides.length&&!we)break;ie.push(Ze(ne))}else ie.push(Ze(c.activeIndex));for(Me=0;Me<ie.length;Me+=1)if(typeof ie[Me]<"u"){const ne=ie[Me].offsetHeight;Ie=ne>Ie?ne:Ie}(Ie||Ie===0)&&(c.wrapperEl.style.height=`${Ie}px`)}function updateSlidesOffset(){const m=this,c=m.slides,ie=m.isElement?m.isHorizontal()?m.wrapperEl.offsetLeft:m.wrapperEl.offsetTop:0;for(let we=0;we<c.length;we+=1)c[we].swiperSlideOffset=(m.isHorizontal()?c[we].offsetLeft:c[we].offsetTop)-ie-m.cssOverflowAdjustment()}const toggleSlideClasses$1=(m,c,ie)=>{c&&!m.classList.contains(ie)?m.classList.add(ie):!c&&m.classList.contains(ie)&&m.classList.remove(ie)};function updateSlidesProgress(m){m===void 0&&(m=this&&this.translate||0);const c=this,ie=c.params,{slides:we,rtlTranslate:Ie,snapGrid:Me}=c;if(we.length===0)return;typeof we[0].swiperSlideOffset>"u"&&c.updateSlidesOffset();let Ze=-m;Ie&&(Ze=m),c.visibleSlidesIndexes=[],c.visibleSlides=[];let ne=ie.spaceBetween;typeof ne=="string"&&ne.indexOf("%")>=0?ne=parseFloat(ne.replace("%",""))/100*c.size:typeof ne=="string"&&(ne=parseFloat(ne));for(let rr=0;rr<we.length;rr+=1){const pr=we[rr];let lr=pr.swiperSlideOffset;ie.cssMode&&ie.centeredSlides&&(lr-=we[0].swiperSlideOffset);const yr=(Ze+(ie.centeredSlides?c.minTranslate():0)-lr)/(pr.swiperSlideSize+ne),kr=(Ze-Me[0]+(ie.centeredSlides?c.minTranslate():0)-lr)/(pr.swiperSlideSize+ne),Br=-(Ze-lr),Ar=Br+c.slidesSizesGrid[rr],Pr=Br>=0&&Br<=c.size-c.slidesSizesGrid[rr],Nr=Br>=0&&Br<c.size-1||Ar>1&&Ar<=c.size||Br<=0&&Ar>=c.size;Nr&&(c.visibleSlides.push(pr),c.visibleSlidesIndexes.push(rr)),toggleSlideClasses$1(pr,Nr,ie.slideVisibleClass),toggleSlideClasses$1(pr,Pr,ie.slideFullyVisibleClass),pr.progress=Ie?-yr:yr,pr.originalProgress=Ie?-kr:kr}}function updateProgress(m){const c=this;if(typeof m>"u"){const lr=c.rtlTranslate?-1:1;m=c&&c.translate&&c.translate*lr||0}const ie=c.params,we=c.maxTranslate()-c.minTranslate();let{progress:Ie,isBeginning:Me,isEnd:Ze,progressLoop:ne}=c;const rr=Me,pr=Ze;if(we===0)Ie=0,Me=!0,Ze=!0;else{Ie=(m-c.minTranslate())/we;const lr=Math.abs(m-c.minTranslate())<1,yr=Math.abs(m-c.maxTranslate())<1;Me=lr||Ie<=0,Ze=yr||Ie>=1,lr&&(Ie=0),yr&&(Ie=1)}if(ie.loop){const lr=c.getSlideIndexByData(0),yr=c.getSlideIndexByData(c.slides.length-1),kr=c.slidesGrid[lr],Br=c.slidesGrid[yr],Ar=c.slidesGrid[c.slidesGrid.length-1],Pr=Math.abs(m);Pr>=kr?ne=(Pr-kr)/Ar:ne=(Pr+Ar-Br)/Ar,ne>1&&(ne-=1)}Object.assign(c,{progress:Ie,progressLoop:ne,isBeginning:Me,isEnd:Ze}),(ie.watchSlidesProgress||ie.centeredSlides&&ie.autoHeight)&&c.updateSlidesProgress(m),Me&&!rr&&c.emit("reachBeginning toEdge"),Ze&&!pr&&c.emit("reachEnd toEdge"),(rr&&!Me||pr&&!Ze)&&c.emit("fromEdge"),c.emit("progress",Ie)}const toggleSlideClasses=(m,c,ie)=>{c&&!m.classList.contains(ie)?m.classList.add(ie):!c&&m.classList.contains(ie)&&m.classList.remove(ie)};function updateSlidesClasses(){const m=this,{slides:c,params:ie,slidesEl:we,activeIndex:Ie}=m,Me=m.virtual&&ie.virtual.enabled,Ze=m.grid&&ie.grid&&ie.grid.rows>1,ne=yr=>elementChildren(we,`.${ie.slideClass}${yr}, swiper-slide${yr}`)[0];let rr,pr,lr;if(Me)if(ie.loop){let yr=Ie-m.virtual.slidesBefore;yr<0&&(yr=m.virtual.slides.length+yr),yr>=m.virtual.slides.length&&(yr-=m.virtual.slides.length),rr=ne(`[data-swiper-slide-index="${yr}"]`)}else rr=ne(`[data-swiper-slide-index="${Ie}"]`);else Ze?(rr=c.find(yr=>yr.column===Ie),lr=c.find(yr=>yr.column===Ie+1),pr=c.find(yr=>yr.column===Ie-1)):rr=c[Ie];rr&&(Ze||(lr=elementNextAll(rr,`.${ie.slideClass}, swiper-slide`)[0],ie.loop&&!lr&&(lr=c[0]),pr=elementPrevAll(rr,`.${ie.slideClass}, swiper-slide`)[0],ie.loop&&!pr===0&&(pr=c[c.length-1]))),c.forEach(yr=>{toggleSlideClasses(yr,yr===rr,ie.slideActiveClass),toggleSlideClasses(yr,yr===lr,ie.slideNextClass),toggleSlideClasses(yr,yr===pr,ie.slidePrevClass)}),m.emitSlidesClasses()}const processLazyPreloader=(m,c)=>{if(!m||m.destroyed||!m.params)return;const ie=()=>m.isElement?"swiper-slide":`.${m.params.slideClass}`,we=c.closest(ie());if(we){let Ie=we.querySelector(`.${m.params.lazyPreloaderClass}`);!Ie&&m.isElement&&(we.shadowRoot?Ie=we.shadowRoot.querySelector(`.${m.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{we.shadowRoot&&(Ie=we.shadowRoot.querySelector(`.${m.params.lazyPreloaderClass}`),Ie&&Ie.remove())})),Ie&&Ie.remove()}},unlazy=(m,c)=>{if(!m.slides[c])return;const ie=m.slides[c].querySelector('[loading="lazy"]');ie&&ie.removeAttribute("loading")},preload=m=>{if(!m||m.destroyed||!m.params)return;let c=m.params.lazyPreloadPrevNext;const ie=m.slides.length;if(!ie||!c||c<0)return;c=Math.min(c,ie);const we=m.params.slidesPerView==="auto"?m.slidesPerViewDynamic():Math.ceil(m.params.slidesPerView),Ie=m.activeIndex;if(m.params.grid&&m.params.grid.rows>1){const Ze=Ie,ne=[Ze-c];ne.push(...Array.from({length:c}).map((rr,pr)=>Ze+we+pr)),m.slides.forEach((rr,pr)=>{ne.includes(rr.column)&&unlazy(m,pr)});return}const Me=Ie+we-1;if(m.params.rewind||m.params.loop)for(let Ze=Ie-c;Ze<=Me+c;Ze+=1){const ne=(Ze%ie+ie)%ie;(ne<Ie||ne>Me)&&unlazy(m,ne)}else for(let Ze=Math.max(Ie-c,0);Ze<=Math.min(Me+c,ie-1);Ze+=1)Ze!==Ie&&(Ze>Me||Ze<Ie)&&unlazy(m,Ze)};function getActiveIndexByTranslate(m){const{slidesGrid:c,params:ie}=m,we=m.rtlTranslate?m.translate:-m.translate;let Ie;for(let Me=0;Me<c.length;Me+=1)typeof c[Me+1]<"u"?we>=c[Me]&&we<c[Me+1]-(c[Me+1]-c[Me])/2?Ie=Me:we>=c[Me]&&we<c[Me+1]&&(Ie=Me+1):we>=c[Me]&&(Ie=Me);return ie.normalizeSlideIndex&&(Ie<0||typeof Ie>"u")&&(Ie=0),Ie}function updateActiveIndex(m){const c=this,ie=c.rtlTranslate?c.translate:-c.translate,{snapGrid:we,params:Ie,activeIndex:Me,realIndex:Ze,snapIndex:ne}=c;let rr=m,pr;const lr=Br=>{let Ar=Br-c.virtual.slidesBefore;return Ar<0&&(Ar=c.virtual.slides.length+Ar),Ar>=c.virtual.slides.length&&(Ar-=c.virtual.slides.length),Ar};if(typeof rr>"u"&&(rr=getActiveIndexByTranslate(c)),we.indexOf(ie)>=0)pr=we.indexOf(ie);else{const Br=Math.min(Ie.slidesPerGroupSkip,rr);pr=Br+Math.floor((rr-Br)/Ie.slidesPerGroup)}if(pr>=we.length&&(pr=we.length-1),rr===Me&&!c.params.loop){pr!==ne&&(c.snapIndex=pr,c.emit("snapIndexChange"));return}if(rr===Me&&c.params.loop&&c.virtual&&c.params.virtual.enabled){c.realIndex=lr(rr);return}const yr=c.grid&&Ie.grid&&Ie.grid.rows>1;let kr;if(c.virtual&&Ie.virtual.enabled&&Ie.loop)kr=lr(rr);else if(yr){const Br=c.slides.find(Pr=>Pr.column===rr);let Ar=parseInt(Br.getAttribute("data-swiper-slide-index"),10);Number.isNaN(Ar)&&(Ar=Math.max(c.slides.indexOf(Br),0)),kr=Math.floor(Ar/Ie.grid.rows)}else if(c.slides[rr]){const Br=c.slides[rr].getAttribute("data-swiper-slide-index");Br?kr=parseInt(Br,10):kr=rr}else kr=rr;Object.assign(c,{previousSnapIndex:ne,snapIndex:pr,previousRealIndex:Ze,realIndex:kr,previousIndex:Me,activeIndex:rr}),c.initialized&&preload(c),c.emit("activeIndexChange"),c.emit("snapIndexChange"),(c.initialized||c.params.runCallbacksOnInit)&&(Ze!==kr&&c.emit("realIndexChange"),c.emit("slideChange"))}function updateClickedSlide(m,c){const ie=this,we=ie.params;let Ie=m.closest(`.${we.slideClass}, swiper-slide`);!Ie&&ie.isElement&&c&&c.length>1&&c.includes(m)&&[...c.slice(c.indexOf(m)+1,c.length)].forEach(ne=>{!Ie&&ne.matches&&ne.matches(`.${we.slideClass}, swiper-slide`)&&(Ie=ne)});let Me=!1,Ze;if(Ie){for(let ne=0;ne<ie.slides.length;ne+=1)if(ie.slides[ne]===Ie){Me=!0,Ze=ne;break}}if(Ie&&Me)ie.clickedSlide=Ie,ie.virtual&&ie.params.virtual.enabled?ie.clickedIndex=parseInt(Ie.getAttribute("data-swiper-slide-index"),10):ie.clickedIndex=Ze;else{ie.clickedSlide=void 0,ie.clickedIndex=void 0;return}we.slideToClickedSlide&&ie.clickedIndex!==void 0&&ie.clickedIndex!==ie.activeIndex&&ie.slideToClickedSlide()}var update={updateSize,updateSlides,updateAutoHeight,updateSlidesOffset,updateSlidesProgress,updateProgress,updateSlidesClasses,updateActiveIndex,updateClickedSlide};function getSwiperTranslate(m){m===void 0&&(m=this.isHorizontal()?"x":"y");const c=this,{params:ie,rtlTranslate:we,translate:Ie,wrapperEl:Me}=c;if(ie.virtualTranslate)return we?-Ie:Ie;if(ie.cssMode)return Ie;let Ze=getTranslate(Me,m);return Ze+=c.cssOverflowAdjustment(),we&&(Ze=-Ze),Ze||0}function setTranslate(m,c){const ie=this,{rtlTranslate:we,params:Ie,wrapperEl:Me,progress:Ze}=ie;let ne=0,rr=0;const pr=0;ie.isHorizontal()?ne=we?-m:m:rr=m,Ie.roundLengths&&(ne=Math.floor(ne),rr=Math.floor(rr)),ie.previousTranslate=ie.translate,ie.translate=ie.isHorizontal()?ne:rr,Ie.cssMode?Me[ie.isHorizontal()?"scrollLeft":"scrollTop"]=ie.isHorizontal()?-ne:-rr:Ie.virtualTranslate||(ie.isHorizontal()?ne-=ie.cssOverflowAdjustment():rr-=ie.cssOverflowAdjustment(),Me.style.transform=`translate3d(${ne}px, ${rr}px, ${pr}px)`);let lr;const yr=ie.maxTranslate()-ie.minTranslate();yr===0?lr=0:lr=(m-ie.minTranslate())/yr,lr!==Ze&&ie.updateProgress(m),ie.emit("setTranslate",ie.translate,c)}function minTranslate(){return-this.snapGrid[0]}function maxTranslate(){return-this.snapGrid[this.snapGrid.length-1]}function translateTo(m,c,ie,we,Ie){m===void 0&&(m=0),c===void 0&&(c=this.params.speed),ie===void 0&&(ie=!0),we===void 0&&(we=!0);const Me=this,{params:Ze,wrapperEl:ne}=Me;if(Me.animating&&Ze.preventInteractionOnTransition)return!1;const rr=Me.minTranslate(),pr=Me.maxTranslate();let lr;if(we&&m>rr?lr=rr:we&&m<pr?lr=pr:lr=m,Me.updateProgress(lr),Ze.cssMode){const yr=Me.isHorizontal();if(c===0)ne[yr?"scrollLeft":"scrollTop"]=-lr;else{if(!Me.support.smoothScroll)return animateCSSModeScroll({swiper:Me,targetPosition:-lr,side:yr?"left":"top"}),!0;ne.scrollTo({[yr?"left":"top"]:-lr,behavior:"smooth"})}return!0}return c===0?(Me.setTransition(0),Me.setTranslate(lr),ie&&(Me.emit("beforeTransitionStart",c,Ie),Me.emit("transitionEnd"))):(Me.setTransition(c),Me.setTranslate(lr),ie&&(Me.emit("beforeTransitionStart",c,Ie),Me.emit("transitionStart")),Me.animating||(Me.animating=!0,Me.onTranslateToWrapperTransitionEnd||(Me.onTranslateToWrapperTransitionEnd=function(kr){!Me||Me.destroyed||kr.target===this&&(Me.wrapperEl.removeEventListener("transitionend",Me.onTranslateToWrapperTransitionEnd),Me.onTranslateToWrapperTransitionEnd=null,delete Me.onTranslateToWrapperTransitionEnd,Me.animating=!1,ie&&Me.emit("transitionEnd"))}),Me.wrapperEl.addEventListener("transitionend",Me.onTranslateToWrapperTransitionEnd))),!0}var translate={getTranslate:getSwiperTranslate,setTranslate,minTranslate,maxTranslate,translateTo};function setTransition(m,c){const ie=this;ie.params.cssMode||(ie.wrapperEl.style.transitionDuration=`${m}ms`,ie.wrapperEl.style.transitionDelay=m===0?"0ms":""),ie.emit("setTransition",m,c)}function transitionEmit(m){let{swiper:c,runCallbacks:ie,direction:we,step:Ie}=m;const{activeIndex:Me,previousIndex:Ze}=c;let ne=we;if(ne||(Me>Ze?ne="next":Me<Ze?ne="prev":ne="reset"),c.emit(`transition${Ie}`),ie&&Me!==Ze){if(ne==="reset"){c.emit(`slideResetTransition${Ie}`);return}c.emit(`slideChangeTransition${Ie}`),ne==="next"?c.emit(`slideNextTransition${Ie}`):c.emit(`slidePrevTransition${Ie}`)}}function transitionStart(m,c){m===void 0&&(m=!0);const ie=this,{params:we}=ie;we.cssMode||(we.autoHeight&&ie.updateAutoHeight(),transitionEmit({swiper:ie,runCallbacks:m,direction:c,step:"Start"}))}function transitionEnd(m,c){m===void 0&&(m=!0);const ie=this,{params:we}=ie;ie.animating=!1,!we.cssMode&&(ie.setTransition(0),transitionEmit({swiper:ie,runCallbacks:m,direction:c,step:"End"}))}var transition={setTransition,transitionStart,transitionEnd};function slideTo(m,c,ie,we,Ie){m===void 0&&(m=0),ie===void 0&&(ie=!0),typeof m=="string"&&(m=parseInt(m,10));const Me=this;let Ze=m;Ze<0&&(Ze=0);const{params:ne,snapGrid:rr,slidesGrid:pr,previousIndex:lr,activeIndex:yr,rtlTranslate:kr,wrapperEl:Br,enabled:Ar}=Me;if(!Ar&&!we&&!Ie||Me.destroyed||Me.animating&&ne.preventInteractionOnTransition)return!1;typeof c>"u"&&(c=Me.params.speed);const Pr=Math.min(Me.params.slidesPerGroupSkip,Ze);let Nr=Pr+Math.floor((Ze-Pr)/Me.params.slidesPerGroup);Nr>=rr.length&&(Nr=rr.length-1);const ei=-rr[Nr];if(ne.normalizeSlideIndex)for(let ai=0;ai<pr.length;ai+=1){const ui=-Math.floor(ei*100),di=Math.floor(pr[ai]*100),fi=Math.floor(pr[ai+1]*100);typeof pr[ai+1]<"u"?ui>=di&&ui<fi-(fi-di)/2?Ze=ai:ui>=di&&ui<fi&&(Ze=ai+1):ui>=di&&(Ze=ai)}if(Me.initialized&&Ze!==yr&&(!Me.allowSlideNext&&(kr?ei>Me.translate&&ei>Me.minTranslate():ei<Me.translate&&ei<Me.minTranslate())||!Me.allowSlidePrev&&ei>Me.translate&&ei>Me.maxTranslate()&&(yr||0)!==Ze))return!1;Ze!==(lr||0)&&ie&&Me.emit("beforeSlideChangeStart"),Me.updateProgress(ei);let Vr;Ze>yr?Vr="next":Ze<yr?Vr="prev":Vr="reset";const Zr=Me.virtual&&Me.params.virtual.enabled;if(!(Zr&&Ie)&&(kr&&-ei===Me.translate||!kr&&ei===Me.translate))return Me.updateActiveIndex(Ze),ne.autoHeight&&Me.updateAutoHeight(),Me.updateSlidesClasses(),ne.effect!=="slide"&&Me.setTranslate(ei),Vr!=="reset"&&(Me.transitionStart(ie,Vr),Me.transitionEnd(ie,Vr)),!1;if(ne.cssMode){const ai=Me.isHorizontal(),ui=kr?ei:-ei;if(c===0)Zr&&(Me.wrapperEl.style.scrollSnapType="none",Me._immediateVirtual=!0),Zr&&!Me._cssModeVirtualInitialSet&&Me.params.initialSlide>0?(Me._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{Br[ai?"scrollLeft":"scrollTop"]=ui})):Br[ai?"scrollLeft":"scrollTop"]=ui,Zr&&requestAnimationFrame(()=>{Me.wrapperEl.style.scrollSnapType="",Me._immediateVirtual=!1});else{if(!Me.support.smoothScroll)return animateCSSModeScroll({swiper:Me,targetPosition:ui,side:ai?"left":"top"}),!0;Br.scrollTo({[ai?"left":"top"]:ui,behavior:"smooth"})}return!0}return Me.setTransition(c),Me.setTranslate(ei),Me.updateActiveIndex(Ze),Me.updateSlidesClasses(),Me.emit("beforeTransitionStart",c,we),Me.transitionStart(ie,Vr),c===0?Me.transitionEnd(ie,Vr):Me.animating||(Me.animating=!0,Me.onSlideToWrapperTransitionEnd||(Me.onSlideToWrapperTransitionEnd=function(ui){!Me||Me.destroyed||ui.target===this&&(Me.wrapperEl.removeEventListener("transitionend",Me.onSlideToWrapperTransitionEnd),Me.onSlideToWrapperTransitionEnd=null,delete Me.onSlideToWrapperTransitionEnd,Me.transitionEnd(ie,Vr))}),Me.wrapperEl.addEventListener("transitionend",Me.onSlideToWrapperTransitionEnd)),!0}function slideToLoop(m,c,ie,we){m===void 0&&(m=0),ie===void 0&&(ie=!0),typeof m=="string"&&(m=parseInt(m,10));const Ie=this;if(Ie.destroyed)return;typeof c>"u"&&(c=Ie.params.speed);const Me=Ie.grid&&Ie.params.grid&&Ie.params.grid.rows>1;let Ze=m;if(Ie.params.loop)if(Ie.virtual&&Ie.params.virtual.enabled)Ze=Ze+Ie.virtual.slidesBefore;else{let ne;if(Me){const kr=Ze*Ie.params.grid.rows;ne=Ie.slides.find(Br=>Br.getAttribute("data-swiper-slide-index")*1===kr).column}else ne=Ie.getSlideIndexByData(Ze);const rr=Me?Math.ceil(Ie.slides.length/Ie.params.grid.rows):Ie.slides.length,{centeredSlides:pr}=Ie.params;let lr=Ie.params.slidesPerView;lr==="auto"?lr=Ie.slidesPerViewDynamic():(lr=Math.ceil(parseFloat(Ie.params.slidesPerView,10)),pr&&lr%2===0&&(lr=lr+1));let yr=rr-ne<lr;if(pr&&(yr=yr||ne<Math.ceil(lr/2)),we&&pr&&Ie.params.slidesPerView!=="auto"&&!Me&&(yr=!1),yr){const kr=pr?ne<Ie.activeIndex?"prev":"next":ne-Ie.activeIndex-1<Ie.params.slidesPerView?"next":"prev";Ie.loopFix({direction:kr,slideTo:!0,activeSlideIndex:kr==="next"?ne+1:ne-rr+1,slideRealIndex:kr==="next"?Ie.realIndex:void 0})}if(Me){const kr=Ze*Ie.params.grid.rows;Ze=Ie.slides.find(Br=>Br.getAttribute("data-swiper-slide-index")*1===kr).column}else Ze=Ie.getSlideIndexByData(Ze)}return requestAnimationFrame(()=>{Ie.slideTo(Ze,c,ie,we)}),Ie}function slideNext(m,c,ie){c===void 0&&(c=!0);const we=this,{enabled:Ie,params:Me,animating:Ze}=we;if(!Ie||we.destroyed)return we;typeof m>"u"&&(m=we.params.speed);let ne=Me.slidesPerGroup;Me.slidesPerView==="auto"&&Me.slidesPerGroup===1&&Me.slidesPerGroupAuto&&(ne=Math.max(we.slidesPerViewDynamic("current",!0),1));const rr=we.activeIndex<Me.slidesPerGroupSkip?1:ne,pr=we.virtual&&Me.virtual.enabled;if(Me.loop){if(Ze&&!pr&&Me.loopPreventsSliding)return!1;if(we.loopFix({direction:"next"}),we._clientLeft=we.wrapperEl.clientLeft,we.activeIndex===we.slides.length-1&&Me.cssMode)return requestAnimationFrame(()=>{we.slideTo(we.activeIndex+rr,m,c,ie)}),!0}return Me.rewind&&we.isEnd?we.slideTo(0,m,c,ie):we.slideTo(we.activeIndex+rr,m,c,ie)}function slidePrev(m,c,ie){c===void 0&&(c=!0);const we=this,{params:Ie,snapGrid:Me,slidesGrid:Ze,rtlTranslate:ne,enabled:rr,animating:pr}=we;if(!rr||we.destroyed)return we;typeof m>"u"&&(m=we.params.speed);const lr=we.virtual&&Ie.virtual.enabled;if(Ie.loop){if(pr&&!lr&&Ie.loopPreventsSliding)return!1;we.loopFix({direction:"prev"}),we._clientLeft=we.wrapperEl.clientLeft}const yr=ne?we.translate:-we.translate;function kr(ei){return ei<0?-Math.floor(Math.abs(ei)):Math.floor(ei)}const Br=kr(yr),Ar=Me.map(ei=>kr(ei));let Pr=Me[Ar.indexOf(Br)-1];if(typeof Pr>"u"&&Ie.cssMode){let ei;Me.forEach((Vr,Zr)=>{Br>=Vr&&(ei=Zr)}),typeof ei<"u"&&(Pr=Me[ei>0?ei-1:ei])}let Nr=0;if(typeof Pr<"u"&&(Nr=Ze.indexOf(Pr),Nr<0&&(Nr=we.activeIndex-1),Ie.slidesPerView==="auto"&&Ie.slidesPerGroup===1&&Ie.slidesPerGroupAuto&&(Nr=Nr-we.slidesPerViewDynamic("previous",!0)+1,Nr=Math.max(Nr,0))),Ie.rewind&&we.isBeginning){const ei=we.params.virtual&&we.params.virtual.enabled&&we.virtual?we.virtual.slides.length-1:we.slides.length-1;return we.slideTo(ei,m,c,ie)}else if(Ie.loop&&we.activeIndex===0&&Ie.cssMode)return requestAnimationFrame(()=>{we.slideTo(Nr,m,c,ie)}),!0;return we.slideTo(Nr,m,c,ie)}function slideReset(m,c,ie){c===void 0&&(c=!0);const we=this;if(!we.destroyed)return typeof m>"u"&&(m=we.params.speed),we.slideTo(we.activeIndex,m,c,ie)}function slideToClosest(m,c,ie,we){c===void 0&&(c=!0),we===void 0&&(we=.5);const Ie=this;if(Ie.destroyed)return;typeof m>"u"&&(m=Ie.params.speed);let Me=Ie.activeIndex;const Ze=Math.min(Ie.params.slidesPerGroupSkip,Me),ne=Ze+Math.floor((Me-Ze)/Ie.params.slidesPerGroup),rr=Ie.rtlTranslate?Ie.translate:-Ie.translate;if(rr>=Ie.snapGrid[ne]){const pr=Ie.snapGrid[ne],lr=Ie.snapGrid[ne+1];rr-pr>(lr-pr)*we&&(Me+=Ie.params.slidesPerGroup)}else{const pr=Ie.snapGrid[ne-1],lr=Ie.snapGrid[ne];rr-pr<=(lr-pr)*we&&(Me-=Ie.params.slidesPerGroup)}return Me=Math.max(Me,0),Me=Math.min(Me,Ie.slidesGrid.length-1),Ie.slideTo(Me,m,c,ie)}function slideToClickedSlide(){const m=this;if(m.destroyed)return;const{params:c,slidesEl:ie}=m,we=c.slidesPerView==="auto"?m.slidesPerViewDynamic():c.slidesPerView;let Ie=m.clickedIndex,Me;const Ze=m.isElement?"swiper-slide":`.${c.slideClass}`;if(c.loop){if(m.animating)return;Me=parseInt(m.clickedSlide.getAttribute("data-swiper-slide-index"),10),c.centeredSlides?Ie<m.loopedSlides-we/2||Ie>m.slides.length-m.loopedSlides+we/2?(m.loopFix(),Ie=m.getSlideIndex(elementChildren(ie,`${Ze}[data-swiper-slide-index="${Me}"]`)[0]),nextTick(()=>{m.slideTo(Ie)})):m.slideTo(Ie):Ie>m.slides.length-we?(m.loopFix(),Ie=m.getSlideIndex(elementChildren(ie,`${Ze}[data-swiper-slide-index="${Me}"]`)[0]),nextTick(()=>{m.slideTo(Ie)})):m.slideTo(Ie)}else m.slideTo(Ie)}var slide={slideTo,slideToLoop,slideNext,slidePrev,slideReset,slideToClosest,slideToClickedSlide};function loopCreate(m){const c=this,{params:ie,slidesEl:we}=c;if(!ie.loop||c.virtual&&c.params.virtual.enabled)return;const Ie=()=>{elementChildren(we,`.${ie.slideClass}, swiper-slide`).forEach((yr,kr)=>{yr.setAttribute("data-swiper-slide-index",kr)})},Me=c.grid&&ie.grid&&ie.grid.rows>1,Ze=ie.slidesPerGroup*(Me?ie.grid.rows:1),ne=c.slides.length%Ze!==0,rr=Me&&c.slides.length%ie.grid.rows!==0,pr=lr=>{for(let yr=0;yr<lr;yr+=1){const kr=c.isElement?createElement("swiper-slide",[ie.slideBlankClass]):createElement("div",[ie.slideClass,ie.slideBlankClass]);c.slidesEl.append(kr)}};if(ne){if(ie.loopAddBlankSlides){const lr=Ze-c.slides.length%Ze;pr(lr),c.recalcSlides(),c.updateSlides()}else showWarning("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");Ie()}else if(rr){if(ie.loopAddBlankSlides){const lr=ie.grid.rows-c.slides.length%ie.grid.rows;pr(lr),c.recalcSlides(),c.updateSlides()}else showWarning("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");Ie()}else Ie();c.loopFix({slideRealIndex:m,direction:ie.centeredSlides?void 0:"next"})}function loopFix(m){let{slideRealIndex:c,slideTo:ie=!0,direction:we,setTranslate:Ie,activeSlideIndex:Me,byController:Ze,byMousewheel:ne}=m===void 0?{}:m;const rr=this;if(!rr.params.loop)return;rr.emit("beforeLoopFix");const{slides:pr,allowSlidePrev:lr,allowSlideNext:yr,slidesEl:kr,params:Br}=rr,{centeredSlides:Ar}=Br;if(rr.allowSlidePrev=!0,rr.allowSlideNext=!0,rr.virtual&&Br.virtual.enabled){ie&&(!Br.centeredSlides&&rr.snapIndex===0?rr.slideTo(rr.virtual.slides.length,0,!1,!0):Br.centeredSlides&&rr.snapIndex<Br.slidesPerView?rr.slideTo(rr.virtual.slides.length+rr.snapIndex,0,!1,!0):rr.snapIndex===rr.snapGrid.length-1&&rr.slideTo(rr.virtual.slidesBefore,0,!1,!0)),rr.allowSlidePrev=lr,rr.allowSlideNext=yr,rr.emit("loopFix");return}let Pr=Br.slidesPerView;Pr==="auto"?Pr=rr.slidesPerViewDynamic():(Pr=Math.ceil(parseFloat(Br.slidesPerView,10)),Ar&&Pr%2===0&&(Pr=Pr+1));const Nr=Br.slidesPerGroupAuto?Pr:Br.slidesPerGroup;let ei=Nr;ei%Nr!==0&&(ei+=Nr-ei%Nr),ei+=Br.loopAdditionalSlides,rr.loopedSlides=ei;const Vr=rr.grid&&Br.grid&&Br.grid.rows>1;pr.length<Pr+ei?showWarning("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):Vr&&Br.grid.fill==="row"&&showWarning("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const Zr=[],Wr=[];let ai=rr.activeIndex;typeof Me>"u"?Me=rr.getSlideIndex(pr.find(ze=>ze.classList.contains(Br.slideActiveClass))):ai=Me;const ui=we==="next"||!we,di=we==="prev"||!we;let fi=0,li=0;const hi=Vr?Math.ceil(pr.length/Br.grid.rows):pr.length,Ae=(Vr?pr[Me].column:Me)+(Ar&&typeof Ie>"u"?-Pr/2+.5:0);if(Ae<ei){fi=Math.max(ei-Ae,Nr);for(let ze=0;ze<ei-Ae;ze+=1){const Ue=ze-Math.floor(ze/hi)*hi;if(Vr){const tr=hi-Ue-1;for(let or=pr.length-1;or>=0;or-=1)pr[or].column===tr&&Zr.push(or)}else Zr.push(hi-Ue-1)}}else if(Ae+Pr>hi-ei){li=Math.max(Ae-(hi-ei*2),Nr);for(let ze=0;ze<li;ze+=1){const Ue=ze-Math.floor(ze/hi)*hi;Vr?pr.forEach((tr,or)=>{tr.column===Ue&&Wr.push(or)}):Wr.push(Ue)}}if(rr.__preventObserver__=!0,requestAnimationFrame(()=>{rr.__preventObserver__=!1}),di&&Zr.forEach(ze=>{pr[ze].swiperLoopMoveDOM=!0,kr.prepend(pr[ze]),pr[ze].swiperLoopMoveDOM=!1}),ui&&Wr.forEach(ze=>{pr[ze].swiperLoopMoveDOM=!0,kr.append(pr[ze]),pr[ze].swiperLoopMoveDOM=!1}),rr.recalcSlides(),Br.slidesPerView==="auto"?rr.updateSlides():Vr&&(Zr.length>0&&di||Wr.length>0&&ui)&&rr.slides.forEach((ze,Ue)=>{rr.grid.updateSlide(Ue,ze,rr.slides)}),Br.watchSlidesProgress&&rr.updateSlidesOffset(),ie){if(Zr.length>0&&di){if(typeof c>"u"){const ze=rr.slidesGrid[ai],tr=rr.slidesGrid[ai+fi]-ze;ne?rr.setTranslate(rr.translate-tr):(rr.slideTo(ai+Math.ceil(fi),0,!1,!0),Ie&&(rr.touchEventsData.startTranslate=rr.touchEventsData.startTranslate-tr,rr.touchEventsData.currentTranslate=rr.touchEventsData.currentTranslate-tr))}else if(Ie){const ze=Vr?Zr.length/Br.grid.rows:Zr.length;rr.slideTo(rr.activeIndex+ze,0,!1,!0),rr.touchEventsData.currentTranslate=rr.translate}}else if(Wr.length>0&&ui)if(typeof c>"u"){const ze=rr.slidesGrid[ai],tr=rr.slidesGrid[ai-li]-ze;ne?rr.setTranslate(rr.translate-tr):(rr.slideTo(ai-li,0,!1,!0),Ie&&(rr.touchEventsData.startTranslate=rr.touchEventsData.startTranslate-tr,rr.touchEventsData.currentTranslate=rr.touchEventsData.currentTranslate-tr))}else{const ze=Vr?Wr.length/Br.grid.rows:Wr.length;rr.slideTo(rr.activeIndex-ze,0,!1,!0)}}if(rr.allowSlidePrev=lr,rr.allowSlideNext=yr,rr.controller&&rr.controller.control&&!Ze){const ze={slideRealIndex:c,direction:we,setTranslate:Ie,activeSlideIndex:Me,byController:!0};Array.isArray(rr.controller.control)?rr.controller.control.forEach(Ue=>{!Ue.destroyed&&Ue.params.loop&&Ue.loopFix({...ze,slideTo:Ue.params.slidesPerView===Br.slidesPerView?ie:!1})}):rr.controller.control instanceof rr.constructor&&rr.controller.control.params.loop&&rr.controller.control.loopFix({...ze,slideTo:rr.controller.control.params.slidesPerView===Br.slidesPerView?ie:!1})}rr.emit("loopFix")}function loopDestroy(){const m=this,{params:c,slidesEl:ie}=m;if(!c.loop||m.virtual&&m.params.virtual.enabled)return;m.recalcSlides();const we=[];m.slides.forEach(Ie=>{const Me=typeof Ie.swiperSlideIndex>"u"?Ie.getAttribute("data-swiper-slide-index")*1:Ie.swiperSlideIndex;we[Me]=Ie}),m.slides.forEach(Ie=>{Ie.removeAttribute("data-swiper-slide-index")}),we.forEach(Ie=>{ie.append(Ie)}),m.recalcSlides(),m.slideTo(m.realIndex,0)}var loop={loopCreate,loopFix,loopDestroy};function setGrabCursor(m){const c=this;if(!c.params.simulateTouch||c.params.watchOverflow&&c.isLocked||c.params.cssMode)return;const ie=c.params.touchEventsTarget==="container"?c.el:c.wrapperEl;c.isElement&&(c.__preventObserver__=!0),ie.style.cursor="move",ie.style.cursor=m?"grabbing":"grab",c.isElement&&requestAnimationFrame(()=>{c.__preventObserver__=!1})}function unsetGrabCursor(){const m=this;m.params.watchOverflow&&m.isLocked||m.params.cssMode||(m.isElement&&(m.__preventObserver__=!0),m[m.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",m.isElement&&requestAnimationFrame(()=>{m.__preventObserver__=!1}))}var grabCursor={setGrabCursor,unsetGrabCursor};function closestElement(m,c){c===void 0&&(c=this);function ie(we){if(!we||we===getDocument()||we===getWindow())return null;we.assignedSlot&&(we=we.assignedSlot);const Ie=we.closest(m);return!Ie&&!we.getRootNode?null:Ie||ie(we.getRootNode().host)}return ie(c)}function preventEdgeSwipe(m,c,ie){const we=getWindow(),{params:Ie}=m,Me=Ie.edgeSwipeDetection,Ze=Ie.edgeSwipeThreshold;return Me&&(ie<=Ze||ie>=we.innerWidth-Ze)?Me==="prevent"?(c.preventDefault(),!0):!1:!0}function onTouchStart(m){const c=this,ie=getDocument();let we=m;we.originalEvent&&(we=we.originalEvent);const Ie=c.touchEventsData;if(we.type==="pointerdown"){if(Ie.pointerId!==null&&Ie.pointerId!==we.pointerId)return;Ie.pointerId=we.pointerId}else we.type==="touchstart"&&we.targetTouches.length===1&&(Ie.touchId=we.targetTouches[0].identifier);if(we.type==="touchstart"){preventEdgeSwipe(c,we,we.targetTouches[0].pageX);return}const{params:Me,touches:Ze,enabled:ne}=c;if(!ne||!Me.simulateTouch&&we.pointerType==="mouse"||c.animating&&Me.preventInteractionOnTransition)return;!c.animating&&Me.cssMode&&Me.loop&&c.loopFix();let rr=we.target;if(Me.touchEventsTarget==="wrapper"&&!elementIsChildOf(rr,c.wrapperEl)||"which"in we&&we.which===3||"button"in we&&we.button>0||Ie.isTouched&&Ie.isMoved)return;const pr=!!Me.noSwipingClass&&Me.noSwipingClass!=="",lr=we.composedPath?we.composedPath():we.path;pr&&we.target&&we.target.shadowRoot&&lr&&(rr=lr[0]);const yr=Me.noSwipingSelector?Me.noSwipingSelector:`.${Me.noSwipingClass}`,kr=!!(we.target&&we.target.shadowRoot);if(Me.noSwiping&&(kr?closestElement(yr,rr):rr.closest(yr))){c.allowClick=!0;return}if(Me.swipeHandler&&!rr.closest(Me.swipeHandler))return;Ze.currentX=we.pageX,Ze.currentY=we.pageY;const Br=Ze.currentX,Ar=Ze.currentY;if(!preventEdgeSwipe(c,we,Br))return;Object.assign(Ie,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),Ze.startX=Br,Ze.startY=Ar,Ie.touchStartTime=now(),c.allowClick=!0,c.updateSize(),c.swipeDirection=void 0,Me.threshold>0&&(Ie.allowThresholdMove=!1);let Pr=!0;rr.matches(Ie.focusableElements)&&(Pr=!1,rr.nodeName==="SELECT"&&(Ie.isTouched=!1)),ie.activeElement&&ie.activeElement.matches(Ie.focusableElements)&&ie.activeElement!==rr&&(we.pointerType==="mouse"||we.pointerType!=="mouse"&&!rr.matches(Ie.focusableElements))&&ie.activeElement.blur();const Nr=Pr&&c.allowTouchMove&&Me.touchStartPreventDefault;(Me.touchStartForcePreventDefault||Nr)&&!rr.isContentEditable&&we.preventDefault(),Me.freeMode&&Me.freeMode.enabled&&c.freeMode&&c.animating&&!Me.cssMode&&c.freeMode.onTouchStart(),c.emit("touchStart",we)}function onTouchMove(m){const c=getDocument(),ie=this,we=ie.touchEventsData,{params:Ie,touches:Me,rtlTranslate:Ze,enabled:ne}=ie;if(!ne||!Ie.simulateTouch&&m.pointerType==="mouse")return;let rr=m;if(rr.originalEvent&&(rr=rr.originalEvent),rr.type==="pointermove"&&(we.touchId!==null||rr.pointerId!==we.pointerId))return;let pr;if(rr.type==="touchmove"){if(pr=[...rr.changedTouches].find(ui=>ui.identifier===we.touchId),!pr||pr.identifier!==we.touchId)return}else pr=rr;if(!we.isTouched){we.startMoving&&we.isScrolling&&ie.emit("touchMoveOpposite",rr);return}const lr=pr.pageX,yr=pr.pageY;if(rr.preventedByNestedSwiper){Me.startX=lr,Me.startY=yr;return}if(!ie.allowTouchMove){rr.target.matches(we.focusableElements)||(ie.allowClick=!1),we.isTouched&&(Object.assign(Me,{startX:lr,startY:yr,currentX:lr,currentY:yr}),we.touchStartTime=now());return}if(Ie.touchReleaseOnEdges&&!Ie.loop){if(ie.isVertical()){if(yr<Me.startY&&ie.translate<=ie.maxTranslate()||yr>Me.startY&&ie.translate>=ie.minTranslate()){we.isTouched=!1,we.isMoved=!1;return}}else if(lr<Me.startX&&ie.translate<=ie.maxTranslate()||lr>Me.startX&&ie.translate>=ie.minTranslate())return}if(c.activeElement&&c.activeElement.matches(we.focusableElements)&&c.activeElement!==rr.target&&rr.pointerType!=="mouse"&&c.activeElement.blur(),c.activeElement&&rr.target===c.activeElement&&rr.target.matches(we.focusableElements)){we.isMoved=!0,ie.allowClick=!1;return}we.allowTouchCallbacks&&ie.emit("touchMove",rr),Me.previousX=Me.currentX,Me.previousY=Me.currentY,Me.currentX=lr,Me.currentY=yr;const kr=Me.currentX-Me.startX,Br=Me.currentY-Me.startY;if(ie.params.threshold&&Math.sqrt(kr**2+Br**2)<ie.params.threshold)return;if(typeof we.isScrolling>"u"){let ui;ie.isHorizontal()&&Me.currentY===Me.startY||ie.isVertical()&&Me.currentX===Me.startX?we.isScrolling=!1:kr*kr+Br*Br>=25&&(ui=Math.atan2(Math.abs(Br),Math.abs(kr))*180/Math.PI,we.isScrolling=ie.isHorizontal()?ui>Ie.touchAngle:90-ui>Ie.touchAngle)}if(we.isScrolling&&ie.emit("touchMoveOpposite",rr),typeof we.startMoving>"u"&&(Me.currentX!==Me.startX||Me.currentY!==Me.startY)&&(we.startMoving=!0),we.isScrolling||rr.type==="touchmove"&&we.preventTouchMoveFromPointerMove){we.isTouched=!1;return}if(!we.startMoving)return;ie.allowClick=!1,!Ie.cssMode&&rr.cancelable&&rr.preventDefault(),Ie.touchMoveStopPropagation&&!Ie.nested&&rr.stopPropagation();let Ar=ie.isHorizontal()?kr:Br,Pr=ie.isHorizontal()?Me.currentX-Me.previousX:Me.currentY-Me.previousY;Ie.oneWayMovement&&(Ar=Math.abs(Ar)*(Ze?1:-1),Pr=Math.abs(Pr)*(Ze?1:-1)),Me.diff=Ar,Ar*=Ie.touchRatio,Ze&&(Ar=-Ar,Pr=-Pr);const Nr=ie.touchesDirection;ie.swipeDirection=Ar>0?"prev":"next",ie.touchesDirection=Pr>0?"prev":"next";const ei=ie.params.loop&&!Ie.cssMode,Vr=ie.touchesDirection==="next"&&ie.allowSlideNext||ie.touchesDirection==="prev"&&ie.allowSlidePrev;if(!we.isMoved){if(ei&&Vr&&ie.loopFix({direction:ie.swipeDirection}),we.startTranslate=ie.getTranslate(),ie.setTransition(0),ie.animating){const ui=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});ie.wrapperEl.dispatchEvent(ui)}we.allowMomentumBounce=!1,Ie.grabCursor&&(ie.allowSlideNext===!0||ie.allowSlidePrev===!0)&&ie.setGrabCursor(!0),ie.emit("sliderFirstMove",rr)}let Zr;if(new Date().getTime(),we.isMoved&&we.allowThresholdMove&&Nr!==ie.touchesDirection&&ei&&Vr&&Math.abs(Ar)>=1){Object.assign(Me,{startX:lr,startY:yr,currentX:lr,currentY:yr,startTranslate:we.currentTranslate}),we.loopSwapReset=!0,we.startTranslate=we.currentTranslate;return}ie.emit("sliderMove",rr),we.isMoved=!0,we.currentTranslate=Ar+we.startTranslate;let Wr=!0,ai=Ie.resistanceRatio;if(Ie.touchReleaseOnEdges&&(ai=0),Ar>0?(ei&&Vr&&!Zr&&we.allowThresholdMove&&we.currentTranslate>(Ie.centeredSlides?ie.minTranslate()-ie.slidesSizesGrid[ie.activeIndex+1]-(Ie.slidesPerView!=="auto"&&ie.slides.length-Ie.slidesPerView>=2?ie.slidesSizesGrid[ie.activeIndex+1]+ie.params.spaceBetween:0)-ie.params.spaceBetween:ie.minTranslate())&&ie.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),we.currentTranslate>ie.minTranslate()&&(Wr=!1,Ie.resistance&&(we.currentTranslate=ie.minTranslate()-1+(-ie.minTranslate()+we.startTranslate+Ar)**ai))):Ar<0&&(ei&&Vr&&!Zr&&we.allowThresholdMove&&we.currentTranslate<(Ie.centeredSlides?ie.maxTranslate()+ie.slidesSizesGrid[ie.slidesSizesGrid.length-1]+ie.params.spaceBetween+(Ie.slidesPerView!=="auto"&&ie.slides.length-Ie.slidesPerView>=2?ie.slidesSizesGrid[ie.slidesSizesGrid.length-1]+ie.params.spaceBetween:0):ie.maxTranslate())&&ie.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:ie.slides.length-(Ie.slidesPerView==="auto"?ie.slidesPerViewDynamic():Math.ceil(parseFloat(Ie.slidesPerView,10)))}),we.currentTranslate<ie.maxTranslate()&&(Wr=!1,Ie.resistance&&(we.currentTranslate=ie.maxTranslate()+1-(ie.maxTranslate()-we.startTranslate-Ar)**ai))),Wr&&(rr.preventedByNestedSwiper=!0),!ie.allowSlideNext&&ie.swipeDirection==="next"&&we.currentTranslate<we.startTranslate&&(we.currentTranslate=we.startTranslate),!ie.allowSlidePrev&&ie.swipeDirection==="prev"&&we.currentTranslate>we.startTranslate&&(we.currentTranslate=we.startTranslate),!ie.allowSlidePrev&&!ie.allowSlideNext&&(we.currentTranslate=we.startTranslate),Ie.threshold>0)if(Math.abs(Ar)>Ie.threshold||we.allowThresholdMove){if(!we.allowThresholdMove){we.allowThresholdMove=!0,Me.startX=Me.currentX,Me.startY=Me.currentY,we.currentTranslate=we.startTranslate,Me.diff=ie.isHorizontal()?Me.currentX-Me.startX:Me.currentY-Me.startY;return}}else{we.currentTranslate=we.startTranslate;return}!Ie.followFinger||Ie.cssMode||((Ie.freeMode&&Ie.freeMode.enabled&&ie.freeMode||Ie.watchSlidesProgress)&&(ie.updateActiveIndex(),ie.updateSlidesClasses()),Ie.freeMode&&Ie.freeMode.enabled&&ie.freeMode&&ie.freeMode.onTouchMove(),ie.updateProgress(we.currentTranslate),ie.setTranslate(we.currentTranslate))}function onTouchEnd(m){const c=this,ie=c.touchEventsData;let we=m;we.originalEvent&&(we=we.originalEvent);let Ie;if(we.type==="touchend"||we.type==="touchcancel"){if(Ie=[...we.changedTouches].find(ai=>ai.identifier===ie.touchId),!Ie||Ie.identifier!==ie.touchId)return}else{if(ie.touchId!==null||we.pointerId!==ie.pointerId)return;Ie=we}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(we.type)&&!(["pointercancel","contextmenu"].includes(we.type)&&(c.browser.isSafari||c.browser.isWebView)))return;ie.pointerId=null,ie.touchId=null;const{params:Ze,touches:ne,rtlTranslate:rr,slidesGrid:pr,enabled:lr}=c;if(!lr||!Ze.simulateTouch&&we.pointerType==="mouse")return;if(ie.allowTouchCallbacks&&c.emit("touchEnd",we),ie.allowTouchCallbacks=!1,!ie.isTouched){ie.isMoved&&Ze.grabCursor&&c.setGrabCursor(!1),ie.isMoved=!1,ie.startMoving=!1;return}Ze.grabCursor&&ie.isMoved&&ie.isTouched&&(c.allowSlideNext===!0||c.allowSlidePrev===!0)&&c.setGrabCursor(!1);const yr=now(),kr=yr-ie.touchStartTime;if(c.allowClick){const ai=we.path||we.composedPath&&we.composedPath();c.updateClickedSlide(ai&&ai[0]||we.target,ai),c.emit("tap click",we),kr<300&&yr-ie.lastClickTime<300&&c.emit("doubleTap doubleClick",we)}if(ie.lastClickTime=now(),nextTick(()=>{c.destroyed||(c.allowClick=!0)}),!ie.isTouched||!ie.isMoved||!c.swipeDirection||ne.diff===0&&!ie.loopSwapReset||ie.currentTranslate===ie.startTranslate&&!ie.loopSwapReset){ie.isTouched=!1,ie.isMoved=!1,ie.startMoving=!1;return}ie.isTouched=!1,ie.isMoved=!1,ie.startMoving=!1;let Br;if(Ze.followFinger?Br=rr?c.translate:-c.translate:Br=-ie.currentTranslate,Ze.cssMode)return;if(Ze.freeMode&&Ze.freeMode.enabled){c.freeMode.onTouchEnd({currentPos:Br});return}const Ar=Br>=-c.maxTranslate()&&!c.params.loop;let Pr=0,Nr=c.slidesSizesGrid[0];for(let ai=0;ai<pr.length;ai+=ai<Ze.slidesPerGroupSkip?1:Ze.slidesPerGroup){const ui=ai<Ze.slidesPerGroupSkip-1?1:Ze.slidesPerGroup;typeof pr[ai+ui]<"u"?(Ar||Br>=pr[ai]&&Br<pr[ai+ui])&&(Pr=ai,Nr=pr[ai+ui]-pr[ai]):(Ar||Br>=pr[ai])&&(Pr=ai,Nr=pr[pr.length-1]-pr[pr.length-2])}let ei=null,Vr=null;Ze.rewind&&(c.isBeginning?Vr=Ze.virtual&&Ze.virtual.enabled&&c.virtual?c.virtual.slides.length-1:c.slides.length-1:c.isEnd&&(ei=0));const Zr=(Br-pr[Pr])/Nr,Wr=Pr<Ze.slidesPerGroupSkip-1?1:Ze.slidesPerGroup;if(kr>Ze.longSwipesMs){if(!Ze.longSwipes){c.slideTo(c.activeIndex);return}c.swipeDirection==="next"&&(Zr>=Ze.longSwipesRatio?c.slideTo(Ze.rewind&&c.isEnd?ei:Pr+Wr):c.slideTo(Pr)),c.swipeDirection==="prev"&&(Zr>1-Ze.longSwipesRatio?c.slideTo(Pr+Wr):Vr!==null&&Zr<0&&Math.abs(Zr)>Ze.longSwipesRatio?c.slideTo(Vr):c.slideTo(Pr))}else{if(!Ze.shortSwipes){c.slideTo(c.activeIndex);return}c.navigation&&(we.target===c.navigation.nextEl||we.target===c.navigation.prevEl)?we.target===c.navigation.nextEl?c.slideTo(Pr+Wr):c.slideTo(Pr):(c.swipeDirection==="next"&&c.slideTo(ei!==null?ei:Pr+Wr),c.swipeDirection==="prev"&&c.slideTo(Vr!==null?Vr:Pr))}}function onResize(){const m=this,{params:c,el:ie}=m;if(ie&&ie.offsetWidth===0)return;c.breakpoints&&m.setBreakpoint();const{allowSlideNext:we,allowSlidePrev:Ie,snapGrid:Me}=m,Ze=m.virtual&&m.params.virtual.enabled;m.allowSlideNext=!0,m.allowSlidePrev=!0,m.updateSize(),m.updateSlides(),m.updateSlidesClasses();const ne=Ze&&c.loop;(c.slidesPerView==="auto"||c.slidesPerView>1)&&m.isEnd&&!m.isBeginning&&!m.params.centeredSlides&&!ne?m.slideTo(m.slides.length-1,0,!1,!0):m.params.loop&&!Ze?m.slideToLoop(m.realIndex,0,!1,!0):m.slideTo(m.activeIndex,0,!1,!0),m.autoplay&&m.autoplay.running&&m.autoplay.paused&&(clearTimeout(m.autoplay.resizeTimeout),m.autoplay.resizeTimeout=setTimeout(()=>{m.autoplay&&m.autoplay.running&&m.autoplay.paused&&m.autoplay.resume()},500)),m.allowSlidePrev=Ie,m.allowSlideNext=we,m.params.watchOverflow&&Me!==m.snapGrid&&m.checkOverflow()}function onClick(m){const c=this;!c.enabled||c.allowClick||(c.params.preventClicks&&m.preventDefault(),c.params.preventClicksPropagation&&c.animating&&(m.stopPropagation(),m.stopImmediatePropagation()))}function onScroll(){const m=this,{wrapperEl:c,rtlTranslate:ie,enabled:we}=m;if(!we)return;m.previousTranslate=m.translate,m.isHorizontal()?m.translate=-c.scrollLeft:m.translate=-c.scrollTop,m.translate===0&&(m.translate=0),m.updateActiveIndex(),m.updateSlidesClasses();let Ie;const Me=m.maxTranslate()-m.minTranslate();Me===0?Ie=0:Ie=(m.translate-m.minTranslate())/Me,Ie!==m.progress&&m.updateProgress(ie?-m.translate:m.translate),m.emit("setTranslate",m.translate,!1)}function onLoad(m){const c=this;processLazyPreloader(c,m.target),!(c.params.cssMode||c.params.slidesPerView!=="auto"&&!c.params.autoHeight)&&c.update()}function onDocumentTouchStart(){const m=this;m.documentTouchHandlerProceeded||(m.documentTouchHandlerProceeded=!0,m.params.touchReleaseOnEdges&&(m.el.style.touchAction="auto"))}const events=(m,c)=>{const ie=getDocument(),{params:we,el:Ie,wrapperEl:Me,device:Ze}=m,ne=!!we.nested,rr=c==="on"?"addEventListener":"removeEventListener",pr=c;!Ie||typeof Ie=="string"||(ie[rr]("touchstart",m.onDocumentTouchStart,{passive:!1,capture:ne}),Ie[rr]("touchstart",m.onTouchStart,{passive:!1}),Ie[rr]("pointerdown",m.onTouchStart,{passive:!1}),ie[rr]("touchmove",m.onTouchMove,{passive:!1,capture:ne}),ie[rr]("pointermove",m.onTouchMove,{passive:!1,capture:ne}),ie[rr]("touchend",m.onTouchEnd,{passive:!0}),ie[rr]("pointerup",m.onTouchEnd,{passive:!0}),ie[rr]("pointercancel",m.onTouchEnd,{passive:!0}),ie[rr]("touchcancel",m.onTouchEnd,{passive:!0}),ie[rr]("pointerout",m.onTouchEnd,{passive:!0}),ie[rr]("pointerleave",m.onTouchEnd,{passive:!0}),ie[rr]("contextmenu",m.onTouchEnd,{passive:!0}),(we.preventClicks||we.preventClicksPropagation)&&Ie[rr]("click",m.onClick,!0),we.cssMode&&Me[rr]("scroll",m.onScroll),we.updateOnWindowResize?m[pr](Ze.ios||Ze.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0):m[pr]("observerUpdate",onResize,!0),Ie[rr]("load",m.onLoad,{capture:!0}))};function attachEvents(){const m=this,{params:c}=m;m.onTouchStart=onTouchStart.bind(m),m.onTouchMove=onTouchMove.bind(m),m.onTouchEnd=onTouchEnd.bind(m),m.onDocumentTouchStart=onDocumentTouchStart.bind(m),c.cssMode&&(m.onScroll=onScroll.bind(m)),m.onClick=onClick.bind(m),m.onLoad=onLoad.bind(m),events(m,"on")}function detachEvents(){events(this,"off")}var events$1={attachEvents,detachEvents};const isGridEnabled=(m,c)=>m.grid&&c.grid&&c.grid.rows>1;function setBreakpoint(){const m=this,{realIndex:c,initialized:ie,params:we,el:Ie}=m,Me=we.breakpoints;if(!Me||Me&&Object.keys(Me).length===0)return;const Ze=getDocument(),ne=we.breakpointsBase==="window"||!we.breakpointsBase?we.breakpointsBase:"container",rr=["window","container"].includes(we.breakpointsBase)||!we.breakpointsBase?m.el:Ze.querySelector(we.breakpointsBase),pr=m.getBreakpoint(Me,ne,rr);if(!pr||m.currentBreakpoint===pr)return;const yr=(pr in Me?Me[pr]:void 0)||m.originalParams,kr=isGridEnabled(m,we),Br=isGridEnabled(m,yr),Ar=m.params.grabCursor,Pr=yr.grabCursor,Nr=we.enabled;kr&&!Br?(Ie.classList.remove(`${we.containerModifierClass}grid`,`${we.containerModifierClass}grid-column`),m.emitContainerClasses()):!kr&&Br&&(Ie.classList.add(`${we.containerModifierClass}grid`),(yr.grid.fill&&yr.grid.fill==="column"||!yr.grid.fill&&we.grid.fill==="column")&&Ie.classList.add(`${we.containerModifierClass}grid-column`),m.emitContainerClasses()),Ar&&!Pr?m.unsetGrabCursor():!Ar&&Pr&&m.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(ui=>{if(typeof yr[ui]>"u")return;const di=we[ui]&&we[ui].enabled,fi=yr[ui]&&yr[ui].enabled;di&&!fi&&m[ui].disable(),!di&&fi&&m[ui].enable()});const ei=yr.direction&&yr.direction!==we.direction,Vr=we.loop&&(yr.slidesPerView!==we.slidesPerView||ei),Zr=we.loop;ei&&ie&&m.changeDirection(),extend$1(m.params,yr);const Wr=m.params.enabled,ai=m.params.loop;Object.assign(m,{allowTouchMove:m.params.allowTouchMove,allowSlideNext:m.params.allowSlideNext,allowSlidePrev:m.params.allowSlidePrev}),Nr&&!Wr?m.disable():!Nr&&Wr&&m.enable(),m.currentBreakpoint=pr,m.emit("_beforeBreakpoint",yr),ie&&(Vr?(m.loopDestroy(),m.loopCreate(c),m.updateSlides()):!Zr&&ai?(m.loopCreate(c),m.updateSlides()):Zr&&!ai&&m.loopDestroy()),m.emit("breakpoint",yr)}function getBreakpoint(m,c,ie){if(c===void 0&&(c="window"),!m||c==="container"&&!ie)return;let we=!1;const Ie=getWindow(),Me=c==="window"?Ie.innerHeight:ie.clientHeight,Ze=Object.keys(m).map(ne=>{if(typeof ne=="string"&&ne.indexOf("@")===0){const rr=parseFloat(ne.substr(1));return{value:Me*rr,point:ne}}return{value:ne,point:ne}});Ze.sort((ne,rr)=>parseInt(ne.value,10)-parseInt(rr.value,10));for(let ne=0;ne<Ze.length;ne+=1){const{point:rr,value:pr}=Ze[ne];c==="window"?Ie.matchMedia(`(min-width: ${pr}px)`).matches&&(we=rr):pr<=ie.clientWidth&&(we=rr)}return we||"max"}var breakpoints={setBreakpoint,getBreakpoint};function prepareClasses(m,c){const ie=[];return m.forEach(we=>{typeof we=="object"?Object.keys(we).forEach(Ie=>{we[Ie]&&ie.push(c+Ie)}):typeof we=="string"&&ie.push(c+we)}),ie}function addClasses(){const m=this,{classNames:c,params:ie,rtl:we,el:Ie,device:Me}=m,Ze=prepareClasses(["initialized",ie.direction,{"free-mode":m.params.freeMode&&ie.freeMode.enabled},{autoheight:ie.autoHeight},{rtl:we},{grid:ie.grid&&ie.grid.rows>1},{"grid-column":ie.grid&&ie.grid.rows>1&&ie.grid.fill==="column"},{android:Me.android},{ios:Me.ios},{"css-mode":ie.cssMode},{centered:ie.cssMode&&ie.centeredSlides},{"watch-progress":ie.watchSlidesProgress}],ie.containerModifierClass);c.push(...Ze),Ie.classList.add(...c),m.emitContainerClasses()}function removeClasses(){const m=this,{el:c,classNames:ie}=m;!c||typeof c=="string"||(c.classList.remove(...ie),m.emitContainerClasses())}var classes={addClasses,removeClasses};function checkOverflow(){const m=this,{isLocked:c,params:ie}=m,{slidesOffsetBefore:we}=ie;if(we){const Ie=m.slides.length-1,Me=m.slidesGrid[Ie]+m.slidesSizesGrid[Ie]+we*2;m.isLocked=m.size>Me}else m.isLocked=m.snapGrid.length===1;ie.allowSlideNext===!0&&(m.allowSlideNext=!m.isLocked),ie.allowSlidePrev===!0&&(m.allowSlidePrev=!m.isLocked),c&&c!==m.isLocked&&(m.isEnd=!1),c!==m.isLocked&&m.emit(m.isLocked?"lock":"unlock")}var checkOverflow$1={checkOverflow},defaults={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function moduleExtendParams(m,c){return function(we){we===void 0&&(we={});const Ie=Object.keys(we)[0],Me=we[Ie];if(typeof Me!="object"||Me===null){extend$1(c,we);return}if(m[Ie]===!0&&(m[Ie]={enabled:!0}),Ie==="navigation"&&m[Ie]&&m[Ie].enabled&&!m[Ie].prevEl&&!m[Ie].nextEl&&(m[Ie].auto=!0),["pagination","scrollbar"].indexOf(Ie)>=0&&m[Ie]&&m[Ie].enabled&&!m[Ie].el&&(m[Ie].auto=!0),!(Ie in m&&"enabled"in Me)){extend$1(c,we);return}typeof m[Ie]=="object"&&!("enabled"in m[Ie])&&(m[Ie].enabled=!0),m[Ie]||(m[Ie]={enabled:!1}),extend$1(c,we)}}const prototypes={eventsEmitter,update,translate,transition,slide,loop,grabCursor,events:events$1,breakpoints,checkOverflow:checkOverflow$1,classes},extendedDefaults={};class Swiper$1{constructor(){let c,ie;for(var we=arguments.length,Ie=new Array(we),Me=0;Me<we;Me++)Ie[Me]=arguments[Me];Ie.length===1&&Ie[0].constructor&&Object.prototype.toString.call(Ie[0]).slice(8,-1)==="Object"?ie=Ie[0]:[c,ie]=Ie,ie||(ie={}),ie=extend$1({},ie),c&&!ie.el&&(ie.el=c);const Ze=getDocument();if(ie.el&&typeof ie.el=="string"&&Ze.querySelectorAll(ie.el).length>1){const lr=[];return Ze.querySelectorAll(ie.el).forEach(yr=>{const kr=extend$1({},ie,{el:yr});lr.push(new Swiper$1(kr))}),lr}const ne=this;ne.__swiper__=!0,ne.support=getSupport(),ne.device=getDevice({userAgent:ie.userAgent}),ne.browser=getBrowser(),ne.eventsListeners={},ne.eventsAnyListeners=[],ne.modules=[...ne.__modules__],ie.modules&&Array.isArray(ie.modules)&&ne.modules.push(...ie.modules);const rr={};ne.modules.forEach(lr=>{lr({params:ie,swiper:ne,extendParams:moduleExtendParams(ie,rr),on:ne.on.bind(ne),once:ne.once.bind(ne),off:ne.off.bind(ne),emit:ne.emit.bind(ne)})});const pr=extend$1({},defaults,rr);return ne.params=extend$1({},pr,extendedDefaults,ie),ne.originalParams=extend$1({},ne.params),ne.passedParams=extend$1({},ie),ne.params&&ne.params.on&&Object.keys(ne.params.on).forEach(lr=>{ne.on(lr,ne.params.on[lr])}),ne.params&&ne.params.onAny&&ne.onAny(ne.params.onAny),Object.assign(ne,{enabled:ne.params.enabled,el:c,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return ne.params.direction==="horizontal"},isVertical(){return ne.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:ne.params.allowSlideNext,allowSlidePrev:ne.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:ne.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:ne.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),ne.emit("_swiper"),ne.params.init&&ne.init(),ne}getDirectionLabel(c){return this.isHorizontal()?c:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[c]}getSlideIndex(c){const{slidesEl:ie,params:we}=this,Ie=elementChildren(ie,`.${we.slideClass}, swiper-slide`),Me=elementIndex(Ie[0]);return elementIndex(c)-Me}getSlideIndexByData(c){return this.getSlideIndex(this.slides.find(ie=>ie.getAttribute("data-swiper-slide-index")*1===c))}recalcSlides(){const c=this,{slidesEl:ie,params:we}=c;c.slides=elementChildren(ie,`.${we.slideClass}, swiper-slide`)}enable(){const c=this;c.enabled||(c.enabled=!0,c.params.grabCursor&&c.setGrabCursor(),c.emit("enable"))}disable(){const c=this;!c.enabled||(c.enabled=!1,c.params.grabCursor&&c.unsetGrabCursor(),c.emit("disable"))}setProgress(c,ie){const we=this;c=Math.min(Math.max(c,0),1);const Ie=we.minTranslate(),Ze=(we.maxTranslate()-Ie)*c+Ie;we.translateTo(Ze,typeof ie>"u"?0:ie),we.updateActiveIndex(),we.updateSlidesClasses()}emitContainerClasses(){const c=this;if(!c.params._emitClasses||!c.el)return;const ie=c.el.className.split(" ").filter(we=>we.indexOf("swiper")===0||we.indexOf(c.params.containerModifierClass)===0);c.emit("_containerClasses",ie.join(" "))}getSlideClasses(c){const ie=this;return ie.destroyed?"":c.className.split(" ").filter(we=>we.indexOf("swiper-slide")===0||we.indexOf(ie.params.slideClass)===0).join(" ")}emitSlidesClasses(){const c=this;if(!c.params._emitClasses||!c.el)return;const ie=[];c.slides.forEach(we=>{const Ie=c.getSlideClasses(we);ie.push({slideEl:we,classNames:Ie}),c.emit("_slideClass",we,Ie)}),c.emit("_slideClasses",ie)}slidesPerViewDynamic(c,ie){c===void 0&&(c="current"),ie===void 0&&(ie=!1);const we=this,{params:Ie,slides:Me,slidesGrid:Ze,slidesSizesGrid:ne,size:rr,activeIndex:pr}=we;let lr=1;if(typeof Ie.slidesPerView=="number")return Ie.slidesPerView;if(Ie.centeredSlides){let yr=Me[pr]?Math.ceil(Me[pr].swiperSlideSize):0,kr;for(let Br=pr+1;Br<Me.length;Br+=1)Me[Br]&&!kr&&(yr+=Math.ceil(Me[Br].swiperSlideSize),lr+=1,yr>rr&&(kr=!0));for(let Br=pr-1;Br>=0;Br-=1)Me[Br]&&!kr&&(yr+=Me[Br].swiperSlideSize,lr+=1,yr>rr&&(kr=!0))}else if(c==="current")for(let yr=pr+1;yr<Me.length;yr+=1)(ie?Ze[yr]+ne[yr]-Ze[pr]<rr:Ze[yr]-Ze[pr]<rr)&&(lr+=1);else for(let yr=pr-1;yr>=0;yr-=1)Ze[pr]-Ze[yr]<rr&&(lr+=1);return lr}update(){const c=this;if(!c||c.destroyed)return;const{snapGrid:ie,params:we}=c;we.breakpoints&&c.setBreakpoint(),[...c.el.querySelectorAll('[loading="lazy"]')].forEach(Ze=>{Ze.complete&&processLazyPreloader(c,Ze)}),c.updateSize(),c.updateSlides(),c.updateProgress(),c.updateSlidesClasses();function Ie(){const Ze=c.rtlTranslate?c.translate*-1:c.translate,ne=Math.min(Math.max(Ze,c.maxTranslate()),c.minTranslate());c.setTranslate(ne),c.updateActiveIndex(),c.updateSlidesClasses()}let Me;if(we.freeMode&&we.freeMode.enabled&&!we.cssMode)Ie(),we.autoHeight&&c.updateAutoHeight();else{if((we.slidesPerView==="auto"||we.slidesPerView>1)&&c.isEnd&&!we.centeredSlides){const Ze=c.virtual&&we.virtual.enabled?c.virtual.slides:c.slides;Me=c.slideTo(Ze.length-1,0,!1,!0)}else Me=c.slideTo(c.activeIndex,0,!1,!0);Me||Ie()}we.watchOverflow&&ie!==c.snapGrid&&c.checkOverflow(),c.emit("update")}changeDirection(c,ie){ie===void 0&&(ie=!0);const we=this,Ie=we.params.direction;return c||(c=Ie==="horizontal"?"vertical":"horizontal"),c===Ie||c!=="horizontal"&&c!=="vertical"||(we.el.classList.remove(`${we.params.containerModifierClass}${Ie}`),we.el.classList.add(`${we.params.containerModifierClass}${c}`),we.emitContainerClasses(),we.params.direction=c,we.slides.forEach(Me=>{c==="vertical"?Me.style.width="":Me.style.height=""}),we.emit("changeDirection"),ie&&we.update()),we}changeLanguageDirection(c){const ie=this;ie.rtl&&c==="rtl"||!ie.rtl&&c==="ltr"||(ie.rtl=c==="rtl",ie.rtlTranslate=ie.params.direction==="horizontal"&&ie.rtl,ie.rtl?(ie.el.classList.add(`${ie.params.containerModifierClass}rtl`),ie.el.dir="rtl"):(ie.el.classList.remove(`${ie.params.containerModifierClass}rtl`),ie.el.dir="ltr"),ie.update())}mount(c){const ie=this;if(ie.mounted)return!0;let we=c||ie.params.el;if(typeof we=="string"&&(we=document.querySelector(we)),!we)return!1;we.swiper=ie,we.parentNode&&we.parentNode.host&&we.parentNode.host.nodeName===ie.params.swiperElementNodeName.toUpperCase()&&(ie.isElement=!0);const Ie=()=>`.${(ie.params.wrapperClass||"").trim().split(" ").join(".")}`;let Ze=(()=>we&&we.shadowRoot&&we.shadowRoot.querySelector?we.shadowRoot.querySelector(Ie()):elementChildren(we,Ie())[0])();return!Ze&&ie.params.createElements&&(Ze=createElement("div",ie.params.wrapperClass),we.append(Ze),elementChildren(we,`.${ie.params.slideClass}`).forEach(ne=>{Ze.append(ne)})),Object.assign(ie,{el:we,wrapperEl:Ze,slidesEl:ie.isElement&&!we.parentNode.host.slideSlots?we.parentNode.host:Ze,hostEl:ie.isElement?we.parentNode.host:we,mounted:!0,rtl:we.dir.toLowerCase()==="rtl"||elementStyle(we,"direction")==="rtl",rtlTranslate:ie.params.direction==="horizontal"&&(we.dir.toLowerCase()==="rtl"||elementStyle(we,"direction")==="rtl"),wrongRTL:elementStyle(Ze,"display")==="-webkit-box"}),!0}init(c){const ie=this;if(ie.initialized||ie.mount(c)===!1)return ie;ie.emit("beforeInit"),ie.params.breakpoints&&ie.setBreakpoint(),ie.addClasses(),ie.updateSize(),ie.updateSlides(),ie.params.watchOverflow&&ie.checkOverflow(),ie.params.grabCursor&&ie.enabled&&ie.setGrabCursor(),ie.params.loop&&ie.virtual&&ie.params.virtual.enabled?ie.slideTo(ie.params.initialSlide+ie.virtual.slidesBefore,0,ie.params.runCallbacksOnInit,!1,!0):ie.slideTo(ie.params.initialSlide,0,ie.params.runCallbacksOnInit,!1,!0),ie.params.loop&&ie.loopCreate(),ie.attachEvents();const Ie=[...ie.el.querySelectorAll('[loading="lazy"]')];return ie.isElement&&Ie.push(...ie.hostEl.querySelectorAll('[loading="lazy"]')),Ie.forEach(Me=>{Me.complete?processLazyPreloader(ie,Me):Me.addEventListener("load",Ze=>{processLazyPreloader(ie,Ze.target)})}),preload(ie),ie.initialized=!0,preload(ie),ie.emit("init"),ie.emit("afterInit"),ie}destroy(c,ie){c===void 0&&(c=!0),ie===void 0&&(ie=!0);const we=this,{params:Ie,el:Me,wrapperEl:Ze,slides:ne}=we;return typeof we.params>"u"||we.destroyed||(we.emit("beforeDestroy"),we.initialized=!1,we.detachEvents(),Ie.loop&&we.loopDestroy(),ie&&(we.removeClasses(),Me&&typeof Me!="string"&&Me.removeAttribute("style"),Ze&&Ze.removeAttribute("style"),ne&&ne.length&&ne.forEach(rr=>{rr.classList.remove(Ie.slideVisibleClass,Ie.slideFullyVisibleClass,Ie.slideActiveClass,Ie.slideNextClass,Ie.slidePrevClass),rr.removeAttribute("style"),rr.removeAttribute("data-swiper-slide-index")})),we.emit("destroy"),Object.keys(we.eventsListeners).forEach(rr=>{we.off(rr)}),c!==!1&&(we.el&&typeof we.el!="string"&&(we.el.swiper=null),deleteProps(we)),we.destroyed=!0),null}static extendDefaults(c){extend$1(extendedDefaults,c)}static get extendedDefaults(){return extendedDefaults}static get defaults(){return defaults}static installModule(c){Swiper$1.prototype.__modules__||(Swiper$1.prototype.__modules__=[]);const ie=Swiper$1.prototype.__modules__;typeof c=="function"&&ie.indexOf(c)<0&&ie.push(c)}static use(c){return Array.isArray(c)?(c.forEach(ie=>Swiper$1.installModule(ie)),Swiper$1):(Swiper$1.installModule(c),Swiper$1)}}Object.keys(prototypes).forEach(m=>{Object.keys(prototypes[m]).forEach(c=>{Swiper$1.prototype[c]=prototypes[m][c]})}),Swiper$1.use([Resize,Observer]);const paramsList=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function isObject(m){return typeof m=="object"&&m!==null&&m.constructor&&Object.prototype.toString.call(m).slice(8,-1)==="Object"&&!m.__swiper__}function extend(m,c){const ie=["__proto__","constructor","prototype"];Object.keys(c).filter(we=>ie.indexOf(we)<0).forEach(we=>{typeof m[we]>"u"?m[we]=c[we]:isObject(c[we])&&isObject(m[we])&&Object.keys(c[we]).length>0?c[we].__swiper__?m[we]=c[we]:extend(m[we],c[we]):m[we]=c[we]})}function needsNavigation(m){return m===void 0&&(m={}),m.navigation&&typeof m.navigation.nextEl>"u"&&typeof m.navigation.prevEl>"u"}function needsPagination(m){return m===void 0&&(m={}),m.pagination&&typeof m.pagination.el>"u"}function needsScrollbar(m){return m===void 0&&(m={}),m.scrollbar&&typeof m.scrollbar.el>"u"}function uniqueClasses(m){m===void 0&&(m="");const c=m.split(" ").map(we=>we.trim()).filter(we=>!!we),ie=[];return c.forEach(we=>{ie.indexOf(we)<0&&ie.push(we)}),ie.join(" ")}function wrapperClass(m){return m===void 0&&(m=""),m?m.includes("swiper-wrapper")?m:`swiper-wrapper ${m}`:"swiper-wrapper"}function updateSwiper(m){let{swiper:c,slides:ie,passedParams:we,changedParams:Ie,nextEl:Me,prevEl:Ze,scrollbarEl:ne,paginationEl:rr}=m;const pr=Ie.filter(li=>li!=="children"&&li!=="direction"&&li!=="wrapperClass"),{params:lr,pagination:yr,navigation:kr,scrollbar:Br,virtual:Ar,thumbs:Pr}=c;let Nr,ei,Vr,Zr,Wr,ai,ui,di;Ie.includes("thumbs")&&we.thumbs&&we.thumbs.swiper&&!we.thumbs.swiper.destroyed&&lr.thumbs&&(!lr.thumbs.swiper||lr.thumbs.swiper.destroyed)&&(Nr=!0),Ie.includes("controller")&&we.controller&&we.controller.control&&lr.controller&&!lr.controller.control&&(ei=!0),Ie.includes("pagination")&&we.pagination&&(we.pagination.el||rr)&&(lr.pagination||lr.pagination===!1)&&yr&&!yr.el&&(Vr=!0),Ie.includes("scrollbar")&&we.scrollbar&&(we.scrollbar.el||ne)&&(lr.scrollbar||lr.scrollbar===!1)&&Br&&!Br.el&&(Zr=!0),Ie.includes("navigation")&&we.navigation&&(we.navigation.prevEl||Ze)&&(we.navigation.nextEl||Me)&&(lr.navigation||lr.navigation===!1)&&kr&&!kr.prevEl&&!kr.nextEl&&(Wr=!0);const fi=li=>{!c[li]||(c[li].destroy(),li==="navigation"?(c.isElement&&(c[li].prevEl.remove(),c[li].nextEl.remove()),lr[li].prevEl=void 0,lr[li].nextEl=void 0,c[li].prevEl=void 0,c[li].nextEl=void 0):(c.isElement&&c[li].el.remove(),lr[li].el=void 0,c[li].el=void 0))};Ie.includes("loop")&&c.isElement&&(lr.loop&&!we.loop?ai=!0:!lr.loop&&we.loop?ui=!0:di=!0),pr.forEach(li=>{if(isObject(lr[li])&&isObject(we[li]))Object.assign(lr[li],we[li]),(li==="navigation"||li==="pagination"||li==="scrollbar")&&"enabled"in we[li]&&!we[li].enabled&&fi(li);else{const hi=we[li];(hi===!0||hi===!1)&&(li==="navigation"||li==="pagination"||li==="scrollbar")?hi===!1&&fi(li):lr[li]=we[li]}}),pr.includes("controller")&&!ei&&c.controller&&c.controller.control&&lr.controller&&lr.controller.control&&(c.controller.control=lr.controller.control),Ie.includes("children")&&ie&&Ar&&lr.virtual.enabled?(Ar.slides=ie,Ar.update(!0)):Ie.includes("virtual")&&Ar&&lr.virtual.enabled&&(ie&&(Ar.slides=ie),Ar.update(!0)),Ie.includes("children")&&ie&&lr.loop&&(di=!0),Nr&&Pr.init()&&Pr.update(!0),ei&&(c.controller.control=lr.controller.control),Vr&&(c.isElement&&(!rr||typeof rr=="string")&&(rr=document.createElement("div"),rr.classList.add("swiper-pagination"),rr.part.add("pagination"),c.el.appendChild(rr)),rr&&(lr.pagination.el=rr),yr.init(),yr.render(),yr.update()),Zr&&(c.isElement&&(!ne||typeof ne=="string")&&(ne=document.createElement("div"),ne.classList.add("swiper-scrollbar"),ne.part.add("scrollbar"),c.el.appendChild(ne)),ne&&(lr.scrollbar.el=ne),Br.init(),Br.updateSize(),Br.setTranslate()),Wr&&(c.isElement&&((!Me||typeof Me=="string")&&(Me=document.createElement("div"),Me.classList.add("swiper-button-next"),Me.innerHTML=c.hostEl.constructor.nextButtonSvg,Me.part.add("button-next"),c.el.appendChild(Me)),(!Ze||typeof Ze=="string")&&(Ze=document.createElement("div"),Ze.classList.add("swiper-button-prev"),Ze.innerHTML=c.hostEl.constructor.prevButtonSvg,Ze.part.add("button-prev"),c.el.appendChild(Ze))),Me&&(lr.navigation.nextEl=Me),Ze&&(lr.navigation.prevEl=Ze),kr.init(),kr.update()),Ie.includes("allowSlideNext")&&(c.allowSlideNext=we.allowSlideNext),Ie.includes("allowSlidePrev")&&(c.allowSlidePrev=we.allowSlidePrev),Ie.includes("direction")&&c.changeDirection(we.direction,!1),(ai||di)&&c.loopDestroy(),(ui||di)&&c.loopCreate(),c.update()}function getParams(m,c){m===void 0&&(m={}),c===void 0&&(c=!0);const ie={on:{}},we={},Ie={};extend(ie,defaults),ie._emitClasses=!0,ie.init=!1;const Me={},Ze=paramsList.map(rr=>rr.replace(/_/,"")),ne=Object.assign({},m);return Object.keys(ne).forEach(rr=>{typeof m[rr]>"u"||(Ze.indexOf(rr)>=0?isObject(m[rr])?(ie[rr]={},Ie[rr]={},extend(ie[rr],m[rr]),extend(Ie[rr],m[rr])):(ie[rr]=m[rr],Ie[rr]=m[rr]):rr.search(/on[A-Z]/)===0&&typeof m[rr]=="function"?c?we[`${rr[2].toLowerCase()}${rr.substr(3)}`]=m[rr]:ie.on[`${rr[2].toLowerCase()}${rr.substr(3)}`]=m[rr]:Me[rr]=m[rr])}),["navigation","pagination","scrollbar"].forEach(rr=>{ie[rr]===!0&&(ie[rr]={}),ie[rr]===!1&&delete ie[rr]}),{params:ie,passedParams:Ie,rest:Me,events:we}}function mountSwiper(m,c){let{el:ie,nextEl:we,prevEl:Ie,paginationEl:Me,scrollbarEl:Ze,swiper:ne}=m;needsNavigation(c)&&we&&Ie&&(ne.params.navigation.nextEl=we,ne.originalParams.navigation.nextEl=we,ne.params.navigation.prevEl=Ie,ne.originalParams.navigation.prevEl=Ie),needsPagination(c)&&Me&&(ne.params.pagination.el=Me,ne.originalParams.pagination.el=Me),needsScrollbar(c)&&Ze&&(ne.params.scrollbar.el=Ze,ne.originalParams.scrollbar.el=Ze),ne.init(ie)}function getChangedParams(m,c,ie,we,Ie){const Me=[];if(!c)return Me;const Ze=rr=>{Me.indexOf(rr)<0&&Me.push(rr)};if(ie&&we){const rr=we.map(Ie),pr=ie.map(Ie);rr.join("")!==pr.join("")&&Ze("children"),we.length!==ie.length&&Ze("children")}return paramsList.filter(rr=>rr[0]==="_").map(rr=>rr.replace(/_/,"")).forEach(rr=>{if(rr in m&&rr in c)if(isObject(m[rr])&&isObject(c[rr])){const pr=Object.keys(m[rr]),lr=Object.keys(c[rr]);pr.length!==lr.length?Ze(rr):(pr.forEach(yr=>{m[rr][yr]!==c[rr][yr]&&Ze(rr)}),lr.forEach(yr=>{m[rr][yr]!==c[rr][yr]&&Ze(rr)}))}else m[rr]!==c[rr]&&Ze(rr)}),Me}const updateOnVirtualData=m=>{!m||m.destroyed||!m.params.virtual||m.params.virtual&&!m.params.virtual.enabled||(m.updateSlides(),m.updateProgress(),m.updateSlidesClasses(),m.parallax&&m.params.parallax&&m.params.parallax.enabled&&m.parallax.setTranslate())};function getChildren(m,c,ie){m===void 0&&(m={});const we=[],Ie={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},Me=(Ze,ne)=>{!Array.isArray(Ze)||Ze.forEach(rr=>{const pr=typeof rr.type=="symbol";ne==="default"&&(ne="container-end"),pr&&rr.children?Me(rr.children,ne):rr.type&&(rr.type.name==="SwiperSlide"||rr.type.name==="AsyncComponentWrapper")||rr.componentOptions&&rr.componentOptions.tag==="SwiperSlide"?we.push(rr):Ie[ne]&&Ie[ne].push(rr)})};return Object.keys(m).forEach(Ze=>{if(typeof m[Ze]!="function")return;const ne=m[Ze]();Me(ne,Ze)}),ie.value=c.value,c.value=we,{slides:we,slots:Ie}}function renderVirtual(m,c,ie){if(!ie)return null;const we=lr=>{let yr=lr;return lr<0?yr=c.length+lr:yr>=c.length&&(yr=yr-c.length),yr},Ie=m.value.isHorizontal()?{[m.value.rtlTranslate?"right":"left"]:`${ie.offset}px`}:{top:`${ie.offset}px`},{from:Me,to:Ze}=ie,ne=m.value.params.loop?-c.length:0,rr=m.value.params.loop?c.length*2:c.length,pr=[];for(let lr=ne;lr<rr;lr+=1)lr>=Me&&lr<=Ze&&pr.length<c.length&&pr.push(c[we(lr)]);return pr.map(lr=>{if(lr.props||(lr.props={}),lr.props.style||(lr.props.style={}),lr.props.swiperRef=m,lr.props.style=Ie,lr.type)return vue.h(lr.type,{...lr.props},lr.children);if(lr.componentOptions)return vue.h(lr.componentOptions.Ctor,{...lr.props},lr.componentOptions.children)})}const Swiper={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},swiperElementNodeName:{type:String,default:"SWIPER-CONTAINER"},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},breakpointsBase:{type:String,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideFullyVisibleClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","autoplayPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slidesUpdated","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(m,c){let{slots:ie,emit:we}=c;const{tag:Ie,wrapperTag:Me}=m,Ze=vue.ref("swiper"),ne=vue.ref(null),rr=vue.ref(!1),pr=vue.ref(!1),lr=vue.ref(null),yr=vue.ref(null),kr=vue.ref(null),Br={value:[]},Ar={value:[]},Pr=vue.ref(null),Nr=vue.ref(null),ei=vue.ref(null),Vr=vue.ref(null),{params:Zr,passedParams:Wr}=getParams(m,!1);getChildren(ie,Br,Ar),kr.value=Wr,Ar.value=Br.value;const ai=()=>{getChildren(ie,Br,Ar),rr.value=!0};Zr.onAny=function(fi){for(var li=arguments.length,hi=new Array(li>1?li-1:0),gr=1;gr<li;gr++)hi[gr-1]=arguments[gr];we(fi,...hi)},Object.assign(Zr.on,{_beforeBreakpoint:ai,_containerClasses(fi,li){Ze.value=li}});const ui={...Zr};if(delete ui.wrapperClass,yr.value=new Swiper$1(ui),yr.value.virtual&&yr.value.params.virtual.enabled){yr.value.virtual.slides=Br.value;const fi={cache:!1,slides:Br.value,renderExternal:li=>{ne.value=li},renderExternalUpdate:!1};extend(yr.value.params.virtual,fi),extend(yr.value.originalParams.virtual,fi)}vue.onUpdated(()=>{!pr.value&&yr.value&&(yr.value.emitSlidesClasses(),pr.value=!0);const{passedParams:fi}=getParams(m,!1),li=getChangedParams(fi,kr.value,Br.value,Ar.value,hi=>hi.props&&hi.props.key);kr.value=fi,(li.length||rr.value)&&yr.value&&!yr.value.destroyed&&updateSwiper({swiper:yr.value,slides:Br.value,passedParams:fi,changedParams:li,nextEl:Pr.value,prevEl:Nr.value,scrollbarEl:Vr.value,paginationEl:ei.value}),rr.value=!1}),vue.provide("swiper",yr),vue.watch(ne,()=>{vue.nextTick(()=>{updateOnVirtualData(yr.value)})}),vue.onMounted(()=>{!lr.value||(mountSwiper({el:lr.value,nextEl:Pr.value,prevEl:Nr.value,paginationEl:ei.value,scrollbarEl:Vr.value,swiper:yr.value},Zr),we("swiper",yr.value))}),vue.onBeforeUnmount(()=>{yr.value&&!yr.value.destroyed&&yr.value.destroy(!0,!1)});function di(fi){return Zr.virtual?renderVirtual(yr,fi,ne.value):(fi.forEach((li,hi)=>{li.props||(li.props={}),li.props.swiperRef=yr,li.props.swiperSlideIndex=hi}),fi)}return()=>{const{slides:fi,slots:li}=getChildren(ie,Br,Ar);return vue.h(Ie,{ref:lr,class:uniqueClasses(Ze.value)},[li["container-start"],vue.h(Me,{class:wrapperClass(Zr.wrapperClass)},[li["wrapper-start"],di(fi),li["wrapper-end"]]),needsNavigation(m)&&[vue.h("div",{ref:Nr,class:"swiper-button-prev"}),vue.h("div",{ref:Pr,class:"swiper-button-next"})],needsScrollbar(m)&&vue.h("div",{ref:Vr,class:"swiper-scrollbar"}),needsPagination(m)&&vue.h("div",{ref:ei,class:"swiper-pagination"}),li["container-end"]])}}},SwiperSlide={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(m,c){let{slots:ie}=c,we=!1;const{swiperRef:Ie}=m,Me=vue.ref(null),Ze=vue.ref("swiper-slide"),ne=vue.ref(!1);function rr(yr,kr,Br){kr===Me.value&&(Ze.value=Br)}vue.onMounted(()=>{!Ie||!Ie.value||(Ie.value.on("_slideClass",rr),we=!0)}),vue.onBeforeUpdate(()=>{we||!Ie||!Ie.value||(Ie.value.on("_slideClass",rr),we=!0)}),vue.onUpdated(()=>{!Me.value||!Ie||!Ie.value||(typeof m.swiperSlideIndex<"u"&&(Me.value.swiperSlideIndex=m.swiperSlideIndex),Ie.value.destroyed&&Ze.value!=="swiper-slide"&&(Ze.value="swiper-slide"))}),vue.onBeforeUnmount(()=>{!Ie||!Ie.value||Ie.value.off("_slideClass",rr)});const pr=vue.computed(()=>({isActive:Ze.value.indexOf("swiper-slide-active")>=0,isVisible:Ze.value.indexOf("swiper-slide-visible")>=0,isPrev:Ze.value.indexOf("swiper-slide-prev")>=0,isNext:Ze.value.indexOf("swiper-slide-next")>=0}));vue.provide("swiperSlide",pr);const lr=()=>{ne.value=!0};return()=>vue.h(m.tag,{class:uniqueClasses(`${Ze.value}`),ref:Me,"data-swiper-slide-index":typeof m.virtualIndex>"u"&&Ie&&Ie.value&&Ie.value.params.loop?m.swiperSlideIndex:m.virtualIndex,onLoadCapture:lr},m.zoom?vue.h("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof m.zoom=="number"?m.zoom:void 0},[ie.default&&ie.default(pr.value),m.lazy&&!ne.value&&vue.h("div",{class:"swiper-lazy-preloader"})]):[ie.default&&ie.default(pr.value),m.lazy&&!ne.value&&vue.h("div",{class:"swiper-lazy-preloader"})])}};async function cropImage({imageSource:m,cropX:c,cropY:ie,cropWidth:we,cropHeight:Ie,type:Me,quality:Ze},ne){function rr(yr){return new Promise((kr,Br)=>{const Ar=new Image;Ar.crossOrigin="anonymous",Ar.onload=()=>kr(Ar),Ar.onerror=Pr=>Br(new Error("Failed to load image: "+Pr)),Ar.src=yr})}const pr=document.createElement("canvas"),lr=pr.getContext("2d");if(!lr)throw new Error("Failed to create 2D context");return pr.width=we,pr.height=Ie,lr.drawImage(typeof m=="string"?await rr(m):m,c,ie,we,Ie,0,0,we,Ie),ne==="canvas"?pr:ne==="blob"?await new Promise((yr,kr)=>{pr.toBlob(Br=>{Br?yr(Br):kr(new Error("Failed to create Blob from canvas"))},Me,Ze)}):ne==="dataUrl"?pr.toDataURL(Me,Ze):await new Promise((yr,kr)=>{pr.toBlob(Br=>{Br?Br.arrayBuffer().then(Ar=>{yr(Ar)}).catch(kr):kr(new Error("Failed to create Blob from canvas"))},Me,Ze)})}var mimeTypes={},mimeDb={exports:{}};const require$$0={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};/*!
|
|
2583
|
+
`);this.position.column=~yr?pr.length-yr:this.position.column+pr.length},c.emit=function(pr,lr){if(lr){var yr=ne(lr.source||"source.css");this.map.addMapping({source:yr,generated:{line:this.position.line,column:Math.max(this.position.column-1,0)},original:{line:lr.start.line,column:lr.start.column-1}}),this.addFile(yr,lr)}return this.updatePosition(pr),pr},c.addFile=function(pr,lr){typeof lr.content=="string"&&(Object.prototype.hasOwnProperty.call(this.files,pr)||(this.files[pr]=lr.content))},c.applySourceMaps=function(){Object.keys(this.files).forEach(function(pr){var lr=this.files[pr];if(this.map.setSourceContent(pr,lr),this.options.inputSourcemaps!==!1){var yr=Ie.resolveSync(lr,pr,Me.readFileSync);if(yr){var kr=new we(yr.map),Br=yr.sourcesRelativeTo;this.map.applySourceMap(kr,pr,ne(Ze.dirname(Br)))}}},this)},c.comment=function(pr){return/^# sourceMappingURL=/.test(pr.comment)?this.emit("",pr.position):this._comment(pr)}}(sourceMapSupport,sourceMapSupport.exports)),sourceMapSupport.exports}var Compressed=compress,Identity=identity,stringify=function(m,c){c=c||{};var ie=c.compress?new Compressed(c):new Identity(c);if(c.sourcemap){var we=requireSourceMapSupport();we(ie);var Me=ie.compile(m);ie.applySourceMaps();var Ie=c.sourcemap==="generator"?ie.map:ie.map.toJSON();return{code:Me,map:Ie}}var Me=ie.compile(m);return Me};css.parse=parse$b,css.stringify=stringify;function blobToDataURL(m){return new Promise(function(c){const ie=new FileReader;ie.addEventListener("load",we=>{typeof we?.target?.result=="string"&&c(we.target.result)}),ie.readAsDataURL(m)})}function indexOf(m,c,ie=0){const we=m.substring(ie).search(c);return we>-1?ie+we:we}function indexOfAll(m,c,ie=0){const we=[];for(;indexOf(m,c,ie)>-1;)we.push(indexOf(m,c,ie)),ie=we[we.length-1]+1;return we}function findExprEnd(m,c,ie,we=[/\(/,/\)/]){let Ie=c;for(;Ie<m.length;){const Me=indexOf(m,ie,Ie)>-1?indexOf(m,ie,Ie):1/0,Ze=m.slice(0,Me+1),ne=indexOfAll(Ze,we[0],c),rr=indexOfAll(Ze,we[1],c);if(ne.length-rr.length<=0)return Me;Ie=Me+1}return-1}function parseArgumentsIndex(m,c,ie,we=[/\(/,/\)/]){let Ie=0;const Me=[];for(;indexOf(m,ie,Ie)>-1;){const Ze=indexOf(m,ie,Ie),ne=findExprEnd(m,Ze,c,we);if(Me.push({start:Ze,end:ne}),Ie=ne+1,ne==-1)break}return Me}function parseArguments(m,c=/,\s*/,ie=/[^\s]/,we){return parseArgumentsIndex(m,c,ie,we).map(({start:Ie,end:Me})=>m.substring(Ie,Me))}function parseExpression(m){const c=[];let ie=0;for(;;){const we=findExprEnd(m,ie,/\s{1,}/);if(we>=0){const Ie=m.substring(ie,we);c.push(Ie);const Me=indexOf(m,/[^\s]/,we);if(Me>=0)ie=Me;else break}else{const Ie=m.substring(ie);c.push(Ie);break}}return c}function parsePrimitive(m){const c=m.search(/[^\.0-9\-]/);if(c>0){const ie=Number(m.slice(0,c)),we=m.slice(c);if(!isNaN(ie))return{value:ie,unit:we}}return{value:isNaN(Number(m))?m:Number(m),unit:null}}const funcRegex=/^([^()\s]{1,})\((.*)\)$/;function isFunctionLiteral(m){return funcRegex.test(m)}function __parse(m){const c=m;if(isFunctionLiteral(m)){const[,ie,we]=m.match(funcRegex);return{raw:c,type:"function",name:ie,args:parseArguments(we,/,\s*/,/[^\s]/).map(parse$7)}}else{const ie=m.replace(/^\((.*)\)$/,"$1"),we=parseExpression(ie);if(we.length===1&&we[0]===m){const{value:Ie,unit:Me}=parsePrimitive(we[0]);return{raw:c,type:"primitive",value:Ie,unit:Me}}else return{raw:c,type:"expression",literals:we.map(__parse)}}}function parse$7(m){var c;const ie=__parse(`(${m})`);return Object.assign(Object.assign({},ie),{raw:(c=ie.raw)===null||c===void 0?void 0:c.slice(1,-1)})}async function fetchWithProgress(m,c,ie="unit8Array",we){const Ie=await fetch(m,c);if(!Ie.body)throw new Error("Response body is undefined");const Me=Number(Ie.headers.get("Content-Length")),Ze=isNaN(Me)?null:Me,ne=Ie.body.getReader();let rr=0;const pr=[];for(;;){const{done:Br,value:Ar}=await ne.read();if(Br)break;rr+=Ar.length,pr.push(Ar),we&&we(Ze,rr)}const lr=new Uint8Array(rr);let yr=0;for(const Br of pr)lr.set(Br,yr),yr+=Br.length;const kr=Ie.headers.get("Content-Type");return{data:lr,contentType:kr}}function fetchWithProgressV1({url:m,method:c="GET",data:ie=null,headers:we={},onUploadProgress:Ie,onDownloadProgress:Me}){return new Promise((Ze,ne)=>{const rr=new XMLHttpRequest;rr.responseType="blob",rr.open(c,m);for(const[pr,lr]of Object.entries(we))rr.setRequestHeader(pr,lr);Ie&&rr.upload&&(rr.upload.onprogress=pr=>{Ie(pr.loaded,pr.total)}),Me&&(rr.onprogress=pr=>{pr.lengthComputable&&Me(pr.loaded,pr.total)}),rr.onload=async()=>{if(rr.status>=200&&rr.status<300)Ze(rr.response);else try{ne(new Error(await rr.response.text()))}catch{ne(new Error(`HTTP error: ${rr.statusText}`))}},rr.onerror=pr=>{ne(new Error("Network error"))},rr.send(ie)})}const cssFontsCache=new Map;function isCharInRange(m,c){const ie=c.split(",").map(we=>we.trim());for(const we of ie)if(we.startsWith("U+")){const[Ie,Me]=we.substring(2).split("-").map(Ze=>parseInt(Ze,16));if(Me?m>=Ie&&m<=Me:m===Ie)return!0}return!1}function textIsInUnicodeRange(m,c){for(const ie of m){const we=ie.codePointAt(0);if(we!==void 0&&isCharInRange(we,c))return!0}return!1}async function resolveCSSFontFile(m,c,ie,we,Ie=!0){if(Ie&&cssFontsCache.has(m))return c(1,1),cssFontsCache.get(m);const Me=await fetch(`https://fontdelivery.fellowblue.dev/proxy?url=${encodeURIComponent(m)}`).then(Ar=>Ar.text()),Ze=pLimit(1),ne=css.parse(Me),{stylesheet:rr}=ne;if(!rr)throw new Error("Invalid CSS file");const{rules:pr}=rr,lr=pr.map(Ar=>{if(!we&&Ar.type==="font-face"){const Pr=Ar;if(Pr.declarations===void 0)throw new Error("no declarations in font-face rule");const Nr=Pr.declarations.find(Zr=>Zr.type==="declaration"?Zr.property==="src":!1),Vr=Pr.declarations.find(Zr=>Zr.type==="declaration"?Zr.property==="unicode-range":null)?.value;if(Vr&&!textIsInUnicodeRange(ie,Vr))return;if(!Nr)throw new Error("no src declaration in font-face rule");return Nr}}).filter(Ar=>Ar!==void 0),yr=lr.length+1;let kr=1;c(kr,yr);for(const Ar of lr){const Pr=Ar.value;if(Pr===void 0)throw new Error("no value in src declaration");const ei=parse$7(Pr).literals.find(ui=>ui.type==="function"&&ui.name==="url");if(ei===void 0)throw new Error("no url function in src declaration");const Vr=ei.args[0].raw;if(Vr===void 0)throw new Error("no url in url function");const Zr=await Ze(()=>fetch(Vr).then(ui=>ui.blob())),Wr=Zr.type.split("/")[1],ai=await blobToDataURL(Zr);Ar.value=`url('${ai}') format('${Wr}')`,kr++,c(kr,yr)}const Br=css.stringify(ne);return Ie&&cssFontsCache.set(m,Br),Br}function uint8ArrayToBase64(m,c=8192){let ie="";for(let we=0;we<m.length;we+=c){const Ie=m.subarray(we,we+c);ie+=String.fromCharCode(...Ie)}return window.btoa(ie)}async function resolveImage(m,c){const ie=m.getAttribute("href");if(ie){const{data:we,contentType:Ie}=await fetchWithProgress(ie,{},"unit8Array",(Ze,ne)=>{Ze!==null&&c(ne/Ze)}),Me=`data:${Ie};base64,${uint8ArrayToBase64(we)}`;c(1),m.setAttribute("href",Me)}}function getTextToCoverByFont(m,c){const ie=Array.from(m.querySelectorAll("text")),we=ie.map(Me=>Array.from(Me.querySelectorAll("tspan"))).flat();return[...ie.map(Me=>Me.textContent??""),...we.map(Me=>Me.textContent??"")].join("")}async function exportSVGDocument(m,c,ie,we){const Me=new DOMParser().parseFromString(m,"image/svg+xml"),Ze=Array.from(Me.querySelectorAll("image")),ne=Ze.map(()=>0),rr=c.map(()=>0),pr=()=>{const Ar=[...rr,...ne],Pr=Ar.reduce((Nr,ei)=>Nr+ei,0)/Ar.length;ie(Pr)},lr=await Promise.all(c.map(async({src:Ar,name:Pr},Nr)=>{const ei=getTextToCoverByFont(Me);return{name:Pr,css:await resolveCSSFontFile(Ar,(Vr,Zr)=>{rr[Nr]=Vr/Zr,pr()},ei,we)}})),yr=Me.createElementNS("http://www.w3.org/2000/svg","defs");for(const{name:Ar,css:Pr}of lr){const Nr=document.createElement("style");Nr.setAttribute("type","text/css"),Nr.setAttribute("data-bx-live-font","true"),Nr.setAttribute("data-bx-font-name",Ar),Nr.innerHTML=Pr,yr.appendChild(Nr)}const kr=Me.documentElement;kr.insertBefore(yr,kr.firstChild);const Br=pLimit(1);return await Promise.all(Ze.map((Ar,Pr)=>Br(()=>resolveImage(Ar,Nr=>{ne[Pr]=Nr,pr()})))),new XMLSerializer().serializeToString(Me)}var re$3={exports:{}};const SEMVER_SPEC_VERSION="2.0.0",MAX_LENGTH$1=256,MAX_SAFE_INTEGER$1=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH$1-6,RELEASE_TYPES=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var constants$1={MAX_LENGTH:MAX_LENGTH$1,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$1,RELEASE_TYPES,SEMVER_SPEC_VERSION,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const debug$1=typeof process$1=="object"&&process$1.env&&process$1.env.NODE_DEBUG&&/\bsemver\b/i.test(process$1.env.NODE_DEBUG)?(...m)=>console.error("SEMVER",...m):()=>{};var debug_1=debug$1;(function(m,c){const{MAX_SAFE_COMPONENT_LENGTH:ie,MAX_SAFE_BUILD_LENGTH:we,MAX_LENGTH:Ie}=constants$1,Me=debug_1;c=m.exports={};const Ze=c.re=[],ne=c.safeRe=[],rr=c.src=[],pr=c.t={};let lr=0;const yr="[a-zA-Z0-9-]",kr=[["\\s",1],["\\d",Ie],[yr,we]],Br=Pr=>{for(const[Nr,ei]of kr)Pr=Pr.split(`${Nr}*`).join(`${Nr}{0,${ei}}`).split(`${Nr}+`).join(`${Nr}{1,${ei}}`);return Pr},Ar=(Pr,Nr,ei)=>{const Vr=Br(Nr),Zr=lr++;Me(Pr,Zr,Nr),pr[Pr]=Zr,rr[Zr]=Nr,Ze[Zr]=new RegExp(Nr,ei?"g":void 0),ne[Zr]=new RegExp(Vr,ei?"g":void 0)};Ar("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ar("NUMERICIDENTIFIERLOOSE","\\d+"),Ar("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${yr}*`),Ar("MAINVERSION",`(${rr[pr.NUMERICIDENTIFIER]})\\.(${rr[pr.NUMERICIDENTIFIER]})\\.(${rr[pr.NUMERICIDENTIFIER]})`),Ar("MAINVERSIONLOOSE",`(${rr[pr.NUMERICIDENTIFIERLOOSE]})\\.(${rr[pr.NUMERICIDENTIFIERLOOSE]})\\.(${rr[pr.NUMERICIDENTIFIERLOOSE]})`),Ar("PRERELEASEIDENTIFIER",`(?:${rr[pr.NUMERICIDENTIFIER]}|${rr[pr.NONNUMERICIDENTIFIER]})`),Ar("PRERELEASEIDENTIFIERLOOSE",`(?:${rr[pr.NUMERICIDENTIFIERLOOSE]}|${rr[pr.NONNUMERICIDENTIFIER]})`),Ar("PRERELEASE",`(?:-(${rr[pr.PRERELEASEIDENTIFIER]}(?:\\.${rr[pr.PRERELEASEIDENTIFIER]})*))`),Ar("PRERELEASELOOSE",`(?:-?(${rr[pr.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${rr[pr.PRERELEASEIDENTIFIERLOOSE]})*))`),Ar("BUILDIDENTIFIER",`${yr}+`),Ar("BUILD",`(?:\\+(${rr[pr.BUILDIDENTIFIER]}(?:\\.${rr[pr.BUILDIDENTIFIER]})*))`),Ar("FULLPLAIN",`v?${rr[pr.MAINVERSION]}${rr[pr.PRERELEASE]}?${rr[pr.BUILD]}?`),Ar("FULL",`^${rr[pr.FULLPLAIN]}$`),Ar("LOOSEPLAIN",`[v=\\s]*${rr[pr.MAINVERSIONLOOSE]}${rr[pr.PRERELEASELOOSE]}?${rr[pr.BUILD]}?`),Ar("LOOSE",`^${rr[pr.LOOSEPLAIN]}$`),Ar("GTLT","((?:<|>)?=?)"),Ar("XRANGEIDENTIFIERLOOSE",`${rr[pr.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ar("XRANGEIDENTIFIER",`${rr[pr.NUMERICIDENTIFIER]}|x|X|\\*`),Ar("XRANGEPLAIN",`[v=\\s]*(${rr[pr.XRANGEIDENTIFIER]})(?:\\.(${rr[pr.XRANGEIDENTIFIER]})(?:\\.(${rr[pr.XRANGEIDENTIFIER]})(?:${rr[pr.PRERELEASE]})?${rr[pr.BUILD]}?)?)?`),Ar("XRANGEPLAINLOOSE",`[v=\\s]*(${rr[pr.XRANGEIDENTIFIERLOOSE]})(?:\\.(${rr[pr.XRANGEIDENTIFIERLOOSE]})(?:\\.(${rr[pr.XRANGEIDENTIFIERLOOSE]})(?:${rr[pr.PRERELEASELOOSE]})?${rr[pr.BUILD]}?)?)?`),Ar("XRANGE",`^${rr[pr.GTLT]}\\s*${rr[pr.XRANGEPLAIN]}$`),Ar("XRANGELOOSE",`^${rr[pr.GTLT]}\\s*${rr[pr.XRANGEPLAINLOOSE]}$`),Ar("COERCEPLAIN",`(^|[^\\d])(\\d{1,${ie}})(?:\\.(\\d{1,${ie}}))?(?:\\.(\\d{1,${ie}}))?`),Ar("COERCE",`${rr[pr.COERCEPLAIN]}(?:$|[^\\d])`),Ar("COERCEFULL",rr[pr.COERCEPLAIN]+`(?:${rr[pr.PRERELEASE]})?(?:${rr[pr.BUILD]})?(?:$|[^\\d])`),Ar("COERCERTL",rr[pr.COERCE],!0),Ar("COERCERTLFULL",rr[pr.COERCEFULL],!0),Ar("LONETILDE","(?:~>?)"),Ar("TILDETRIM",`(\\s*)${rr[pr.LONETILDE]}\\s+`,!0),c.tildeTrimReplace="$1~",Ar("TILDE",`^${rr[pr.LONETILDE]}${rr[pr.XRANGEPLAIN]}$`),Ar("TILDELOOSE",`^${rr[pr.LONETILDE]}${rr[pr.XRANGEPLAINLOOSE]}$`),Ar("LONECARET","(?:\\^)"),Ar("CARETTRIM",`(\\s*)${rr[pr.LONECARET]}\\s+`,!0),c.caretTrimReplace="$1^",Ar("CARET",`^${rr[pr.LONECARET]}${rr[pr.XRANGEPLAIN]}$`),Ar("CARETLOOSE",`^${rr[pr.LONECARET]}${rr[pr.XRANGEPLAINLOOSE]}$`),Ar("COMPARATORLOOSE",`^${rr[pr.GTLT]}\\s*(${rr[pr.LOOSEPLAIN]})$|^$`),Ar("COMPARATOR",`^${rr[pr.GTLT]}\\s*(${rr[pr.FULLPLAIN]})$|^$`),Ar("COMPARATORTRIM",`(\\s*)${rr[pr.GTLT]}\\s*(${rr[pr.LOOSEPLAIN]}|${rr[pr.XRANGEPLAIN]})`,!0),c.comparatorTrimReplace="$1$2$3",Ar("HYPHENRANGE",`^\\s*(${rr[pr.XRANGEPLAIN]})\\s+-\\s+(${rr[pr.XRANGEPLAIN]})\\s*$`),Ar("HYPHENRANGELOOSE",`^\\s*(${rr[pr.XRANGEPLAINLOOSE]})\\s+-\\s+(${rr[pr.XRANGEPLAINLOOSE]})\\s*$`),Ar("STAR","(<|>)?=?\\s*\\*"),Ar("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Ar("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(re$3,re$3.exports);const looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions$1=m=>m?typeof m!="object"?looseOption:m:emptyOpts;var parseOptions_1=parseOptions$1;const numeric=/^[0-9]+$/,compareIdentifiers$1=(m,c)=>{const ie=numeric.test(m),we=numeric.test(c);return ie&&we&&(m=+m,c=+c),m===c?0:ie&&!we?-1:we&&!ie?1:m<c?-1:1},rcompareIdentifiers=(m,c)=>compareIdentifiers$1(c,m);var identifiers$1={compareIdentifiers:compareIdentifiers$1,rcompareIdentifiers};const debug=debug_1,{MAX_LENGTH,MAX_SAFE_INTEGER}=constants$1,{safeRe:re$2,t:t$2}=re$3.exports,parseOptions=parseOptions_1,{compareIdentifiers}=identifiers$1;class SemVer$d{constructor(c,ie){if(ie=parseOptions(ie),c instanceof SemVer$d){if(c.loose===!!ie.loose&&c.includePrerelease===!!ie.includePrerelease)return c;c=c.version}else if(typeof c!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof c}".`);if(c.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug("SemVer",c,ie),this.options=ie,this.loose=!!ie.loose,this.includePrerelease=!!ie.includePrerelease;const we=c.trim().match(ie.loose?re$2[t$2.LOOSE]:re$2[t$2.FULL]);if(!we)throw new TypeError(`Invalid Version: ${c}`);if(this.raw=c,this.major=+we[1],this.minor=+we[2],this.patch=+we[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");we[4]?this.prerelease=we[4].split(".").map(Ie=>{if(/^[0-9]+$/.test(Ie)){const Me=+Ie;if(Me>=0&&Me<MAX_SAFE_INTEGER)return Me}return Ie}):this.prerelease=[],this.build=we[5]?we[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(c){if(debug("SemVer.compare",this.version,this.options,c),!(c instanceof SemVer$d)){if(typeof c=="string"&&c===this.version)return 0;c=new SemVer$d(c,this.options)}return c.version===this.version?0:this.compareMain(c)||this.comparePre(c)}compareMain(c){return c instanceof SemVer$d||(c=new SemVer$d(c,this.options)),compareIdentifiers(this.major,c.major)||compareIdentifiers(this.minor,c.minor)||compareIdentifiers(this.patch,c.patch)}comparePre(c){if(c instanceof SemVer$d||(c=new SemVer$d(c,this.options)),this.prerelease.length&&!c.prerelease.length)return-1;if(!this.prerelease.length&&c.prerelease.length)return 1;if(!this.prerelease.length&&!c.prerelease.length)return 0;let ie=0;do{const we=this.prerelease[ie],Ie=c.prerelease[ie];if(debug("prerelease compare",ie,we,Ie),we===void 0&&Ie===void 0)return 0;if(Ie===void 0)return 1;if(we===void 0)return-1;if(we===Ie)continue;return compareIdentifiers(we,Ie)}while(++ie)}compareBuild(c){c instanceof SemVer$d||(c=new SemVer$d(c,this.options));let ie=0;do{const we=this.build[ie],Ie=c.build[ie];if(debug("build compare",ie,we,Ie),we===void 0&&Ie===void 0)return 0;if(Ie===void 0)return 1;if(we===void 0)return-1;if(we===Ie)continue;return compareIdentifiers(we,Ie)}while(++ie)}inc(c,ie,we){switch(c){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",ie,we);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",ie,we);break;case"prepatch":this.prerelease.length=0,this.inc("patch",ie,we),this.inc("pre",ie,we);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",ie,we),this.inc("pre",ie,we);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const Ie=Number(we)?1:0;if(!ie&&we===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[Ie];else{let Me=this.prerelease.length;for(;--Me>=0;)typeof this.prerelease[Me]=="number"&&(this.prerelease[Me]++,Me=-2);if(Me===-1){if(ie===this.prerelease.join(".")&&we===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(Ie)}}if(ie){let Me=[ie,Ie];we===!1&&(Me=[ie]),compareIdentifiers(this.prerelease[0],ie)===0?isNaN(this.prerelease[1])&&(this.prerelease=Me):this.prerelease=Me}break}default:throw new Error(`invalid increment argument: ${c}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}var semver$1=SemVer$d;const SemVer$c=semver$1,parse$6=(m,c,ie=!1)=>{if(m instanceof SemVer$c)return m;try{return new SemVer$c(m,c)}catch(we){if(!ie)return null;throw we}};var parse_1=parse$6;const parse$5=parse_1,valid$2=(m,c)=>{const ie=parse$5(m,c);return ie?ie.version:null};var valid_1=valid$2;const parse$4=parse_1,clean$1=(m,c)=>{const ie=parse$4(m.trim().replace(/^[=v]+/,""),c);return ie?ie.version:null};var clean_1=clean$1;const SemVer$b=semver$1,inc$1=(m,c,ie,we,Ie)=>{typeof ie=="string"&&(Ie=we,we=ie,ie=void 0);try{return new SemVer$b(m instanceof SemVer$b?m.version:m,ie).inc(c,we,Ie).version}catch{return null}};var inc_1=inc$1;const parse$3=parse_1,diff$1=(m,c)=>{const ie=parse$3(m,null,!0),we=parse$3(c,null,!0),Ie=ie.compare(we);if(Ie===0)return null;const Me=Ie>0,Ze=Me?ie:we,ne=Me?we:ie,rr=!!Ze.prerelease.length;if(!!ne.prerelease.length&&!rr)return!ne.patch&&!ne.minor?"major":Ze.patch?"patch":Ze.minor?"minor":"major";const lr=rr?"pre":"";return ie.major!==we.major?lr+"major":ie.minor!==we.minor?lr+"minor":ie.patch!==we.patch?lr+"patch":"prerelease"};var diff_1=diff$1;const SemVer$a=semver$1,major$1=(m,c)=>new SemVer$a(m,c).major;var major_1=major$1;const SemVer$9=semver$1,minor$1=(m,c)=>new SemVer$9(m,c).minor;var minor_1=minor$1;const SemVer$8=semver$1,patch$1=(m,c)=>new SemVer$8(m,c).patch;var patch_1=patch$1;const parse$2=parse_1,prerelease$1=(m,c)=>{const ie=parse$2(m,c);return ie&&ie.prerelease.length?ie.prerelease:null};var prerelease_1=prerelease$1;const SemVer$7=semver$1,compare$b=(m,c,ie)=>new SemVer$7(m,ie).compare(new SemVer$7(c,ie));var compare_1=compare$b;const compare$a=compare_1,rcompare$1=(m,c,ie)=>compare$a(c,m,ie);var rcompare_1=rcompare$1;const compare$9=compare_1,compareLoose$1=(m,c)=>compare$9(m,c,!0);var compareLoose_1=compareLoose$1;const SemVer$6=semver$1,compareBuild$3=(m,c,ie)=>{const we=new SemVer$6(m,ie),Ie=new SemVer$6(c,ie);return we.compare(Ie)||we.compareBuild(Ie)};var compareBuild_1=compareBuild$3;const compareBuild$2=compareBuild_1,sort$1=(m,c)=>m.sort((ie,we)=>compareBuild$2(ie,we,c));var sort_1=sort$1;const compareBuild$1=compareBuild_1,rsort$1=(m,c)=>m.sort((ie,we)=>compareBuild$1(we,ie,c));var rsort_1=rsort$1;const compare$8=compare_1,gt$5=(m,c,ie)=>compare$8(m,c,ie)>0;var gt_1=gt$5;const compare$7=compare_1,lt$4=(m,c,ie)=>compare$7(m,c,ie)<0;var lt_1=lt$4;const compare$6=compare_1,eq$2=(m,c,ie)=>compare$6(m,c,ie)===0;var eq_1=eq$2;const compare$5=compare_1,neq$2=(m,c,ie)=>compare$5(m,c,ie)!==0;var neq_1=neq$2;const compare$4=compare_1,gte$3=(m,c,ie)=>compare$4(m,c,ie)>=0;var gte_1=gte$3;const compare$3=compare_1,lte$3=(m,c,ie)=>compare$3(m,c,ie)<=0;var lte_1=lte$3;const eq$1=eq_1,neq$1=neq_1,gt$4=gt_1,gte$2=gte_1,lt$3=lt_1,lte$2=lte_1,cmp$1=(m,c,ie,we)=>{switch(c){case"===":return typeof m=="object"&&(m=m.version),typeof ie=="object"&&(ie=ie.version),m===ie;case"!==":return typeof m=="object"&&(m=m.version),typeof ie=="object"&&(ie=ie.version),m!==ie;case"":case"=":case"==":return eq$1(m,ie,we);case"!=":return neq$1(m,ie,we);case">":return gt$4(m,ie,we);case">=":return gte$2(m,ie,we);case"<":return lt$3(m,ie,we);case"<=":return lte$2(m,ie,we);default:throw new TypeError(`Invalid operator: ${c}`)}};var cmp_1=cmp$1;const SemVer$5=semver$1,parse$1=parse_1,{safeRe:re$1,t:t$1}=re$3.exports,coerce$1=(m,c)=>{if(m instanceof SemVer$5)return m;if(typeof m=="number"&&(m=String(m)),typeof m!="string")return null;c=c||{};let ie=null;if(!c.rtl)ie=m.match(c.includePrerelease?re$1[t$1.COERCEFULL]:re$1[t$1.COERCE]);else{const rr=c.includePrerelease?re$1[t$1.COERCERTLFULL]:re$1[t$1.COERCERTL];let pr;for(;(pr=rr.exec(m))&&(!ie||ie.index+ie[0].length!==m.length);)(!ie||pr.index+pr[0].length!==ie.index+ie[0].length)&&(ie=pr),rr.lastIndex=pr.index+pr[1].length+pr[2].length;rr.lastIndex=-1}if(ie===null)return null;const we=ie[2],Ie=ie[3]||"0",Me=ie[4]||"0",Ze=c.includePrerelease&&ie[5]?`-${ie[5]}`:"",ne=c.includePrerelease&&ie[6]?`+${ie[6]}`:"";return parse$1(`${we}.${Ie}.${Me}${Ze}${ne}`,c)};var coerce_1=coerce$1;class LRUCache{constructor(){this.max=1e3,this.map=new Map}get(c){const ie=this.map.get(c);if(ie!==void 0)return this.map.delete(c),this.map.set(c,ie),ie}delete(c){return this.map.delete(c)}set(c,ie){if(!this.delete(c)&&ie!==void 0){if(this.map.size>=this.max){const Ie=this.map.keys().next().value;this.delete(Ie)}this.map.set(c,ie)}return this}}var lrucache=LRUCache,range,hasRequiredRange;function requireRange(){if(hasRequiredRange)return range;hasRequiredRange=1;const m=/\s+/g;class c{constructor(tr,or){if(or=Ie(or),tr instanceof c)return tr.loose===!!or.loose&&tr.includePrerelease===!!or.includePrerelease?tr:new c(tr.raw,or);if(tr instanceof Me)return this.raw=tr.value,this.set=[[tr]],this.formatted=void 0,this;if(this.options=or,this.loose=!!or.loose,this.includePrerelease=!!or.includePrerelease,this.raw=tr.trim().replace(m," "),this.set=this.raw.split("||").map(vr=>this.parseRange(vr.trim())).filter(vr=>vr.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const vr=this.set[0];if(this.set=this.set.filter(br=>!Pr(br[0])),this.set.length===0)this.set=[vr];else if(this.set.length>1){for(const br of this.set)if(br.length===1&&Nr(br[0])){this.set=[br];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let tr=0;tr<this.set.length;tr++){tr>0&&(this.formatted+="||");const or=this.set[tr];for(let vr=0;vr<or.length;vr++)vr>0&&(this.formatted+=" "),this.formatted+=or[vr].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(tr){const vr=((this.options.includePrerelease&&Br)|(this.options.loose&&Ar))+":"+tr,br=we.get(vr);if(br)return br;const nr=this.options.loose,$e=nr?rr[pr.HYPHENRANGELOOSE]:rr[pr.HYPHENRANGE];tr=tr.replace($e,Ae(this.options.includePrerelease)),Ze("hyphen replace",tr),tr=tr.replace(rr[pr.COMPARATORTRIM],lr),Ze("comparator trim",tr),tr=tr.replace(rr[pr.TILDETRIM],yr),Ze("tilde trim",tr),tr=tr.replace(rr[pr.CARETTRIM],kr),Ze("caret trim",tr);let ur=tr.split(" ").map(ki=>Vr(ki,this.options)).join(" ").split(/\s+/).map(ki=>gr(ki,this.options));nr&&(ur=ur.filter(ki=>(Ze("loose invalid filter",ki,this.options),!!ki.match(rr[pr.COMPARATORLOOSE])))),Ze("range list",ur);const $r=new Map,Yr=ur.map(ki=>new Me(ki,this.options));for(const ki of Yr){if(Pr(ki))return[ki];$r.set(ki.value,ki)}$r.size>1&&$r.has("")&&$r.delete("");const wi=[...$r.values()];return we.set(vr,wi),wi}intersects(tr,or){if(!(tr instanceof c))throw new TypeError("a Range is required");return this.set.some(vr=>ei(vr,or)&&tr.set.some(br=>ei(br,or)&&vr.every(nr=>br.every($e=>nr.intersects($e,or)))))}test(tr){if(!tr)return!1;if(typeof tr=="string")try{tr=new ne(tr,this.options)}catch{return!1}for(let or=0;or<this.set.length;or++)if(ze(this.set[or],tr,this.options))return!0;return!1}}range=c;const ie=lrucache,we=new ie,Ie=parseOptions_1,Me=requireComparator(),Ze=debug_1,ne=semver$1,{safeRe:rr,t:pr,comparatorTrimReplace:lr,tildeTrimReplace:yr,caretTrimReplace:kr}=re$3.exports,{FLAG_INCLUDE_PRERELEASE:Br,FLAG_LOOSE:Ar}=constants$1,Pr=Ue=>Ue.value==="<0.0.0-0",Nr=Ue=>Ue.value==="",ei=(Ue,tr)=>{let or=!0;const vr=Ue.slice();let br=vr.pop();for(;or&&vr.length;)or=vr.every(nr=>br.intersects(nr,tr)),br=vr.pop();return or},Vr=(Ue,tr)=>(Ze("comp",Ue,tr),Ue=ui(Ue,tr),Ze("caret",Ue),Ue=Wr(Ue,tr),Ze("tildes",Ue),Ue=fi(Ue,tr),Ze("xrange",Ue),Ue=hi(Ue,tr),Ze("stars",Ue),Ue),Zr=Ue=>!Ue||Ue.toLowerCase()==="x"||Ue==="*",Wr=(Ue,tr)=>Ue.trim().split(/\s+/).map(or=>ai(or,tr)).join(" "),ai=(Ue,tr)=>{const or=tr.loose?rr[pr.TILDELOOSE]:rr[pr.TILDE];return Ue.replace(or,(vr,br,nr,$e,ur)=>{Ze("tilde",Ue,vr,br,nr,$e,ur);let $r;return Zr(br)?$r="":Zr(nr)?$r=`>=${br}.0.0 <${+br+1}.0.0-0`:Zr($e)?$r=`>=${br}.${nr}.0 <${br}.${+nr+1}.0-0`:ur?(Ze("replaceTilde pr",ur),$r=`>=${br}.${nr}.${$e}-${ur} <${br}.${+nr+1}.0-0`):$r=`>=${br}.${nr}.${$e} <${br}.${+nr+1}.0-0`,Ze("tilde return",$r),$r})},ui=(Ue,tr)=>Ue.trim().split(/\s+/).map(or=>di(or,tr)).join(" "),di=(Ue,tr)=>{Ze("caret",Ue,tr);const or=tr.loose?rr[pr.CARETLOOSE]:rr[pr.CARET],vr=tr.includePrerelease?"-0":"";return Ue.replace(or,(br,nr,$e,ur,$r)=>{Ze("caret",Ue,br,nr,$e,ur,$r);let Yr;return Zr(nr)?Yr="":Zr($e)?Yr=`>=${nr}.0.0${vr} <${+nr+1}.0.0-0`:Zr(ur)?nr==="0"?Yr=`>=${nr}.${$e}.0${vr} <${nr}.${+$e+1}.0-0`:Yr=`>=${nr}.${$e}.0${vr} <${+nr+1}.0.0-0`:$r?(Ze("replaceCaret pr",$r),nr==="0"?$e==="0"?Yr=`>=${nr}.${$e}.${ur}-${$r} <${nr}.${$e}.${+ur+1}-0`:Yr=`>=${nr}.${$e}.${ur}-${$r} <${nr}.${+$e+1}.0-0`:Yr=`>=${nr}.${$e}.${ur}-${$r} <${+nr+1}.0.0-0`):(Ze("no pr"),nr==="0"?$e==="0"?Yr=`>=${nr}.${$e}.${ur}${vr} <${nr}.${$e}.${+ur+1}-0`:Yr=`>=${nr}.${$e}.${ur}${vr} <${nr}.${+$e+1}.0-0`:Yr=`>=${nr}.${$e}.${ur} <${+nr+1}.0.0-0`),Ze("caret return",Yr),Yr})},fi=(Ue,tr)=>(Ze("replaceXRanges",Ue,tr),Ue.split(/\s+/).map(or=>li(or,tr)).join(" ")),li=(Ue,tr)=>{Ue=Ue.trim();const or=tr.loose?rr[pr.XRANGELOOSE]:rr[pr.XRANGE];return Ue.replace(or,(vr,br,nr,$e,ur,$r)=>{Ze("xRange",Ue,vr,br,nr,$e,ur,$r);const Yr=Zr(nr),wi=Yr||Zr($e),ki=wi||Zr(ur),Mi=ki;return br==="="&&Mi&&(br=""),$r=tr.includePrerelease?"-0":"",Yr?br===">"||br==="<"?vr="<0.0.0-0":vr="*":br&&Mi?(wi&&($e=0),ur=0,br===">"?(br=">=",wi?(nr=+nr+1,$e=0,ur=0):($e=+$e+1,ur=0)):br==="<="&&(br="<",wi?nr=+nr+1:$e=+$e+1),br==="<"&&($r="-0"),vr=`${br+nr}.${$e}.${ur}${$r}`):wi?vr=`>=${nr}.0.0${$r} <${+nr+1}.0.0-0`:ki&&(vr=`>=${nr}.${$e}.0${$r} <${nr}.${+$e+1}.0-0`),Ze("xRange return",vr),vr})},hi=(Ue,tr)=>(Ze("replaceStars",Ue,tr),Ue.trim().replace(rr[pr.STAR],"")),gr=(Ue,tr)=>(Ze("replaceGTE0",Ue,tr),Ue.trim().replace(rr[tr.includePrerelease?pr.GTE0PRE:pr.GTE0],"")),Ae=Ue=>(tr,or,vr,br,nr,$e,ur,$r,Yr,wi,ki,Mi)=>(Zr(vr)?or="":Zr(br)?or=`>=${vr}.0.0${Ue?"-0":""}`:Zr(nr)?or=`>=${vr}.${br}.0${Ue?"-0":""}`:$e?or=`>=${or}`:or=`>=${or}${Ue?"-0":""}`,Zr(Yr)?$r="":Zr(wi)?$r=`<${+Yr+1}.0.0-0`:Zr(ki)?$r=`<${Yr}.${+wi+1}.0-0`:Mi?$r=`<=${Yr}.${wi}.${ki}-${Mi}`:Ue?$r=`<${Yr}.${wi}.${+ki+1}-0`:$r=`<=${$r}`,`${or} ${$r}`.trim()),ze=(Ue,tr,or)=>{for(let vr=0;vr<Ue.length;vr++)if(!Ue[vr].test(tr))return!1;if(tr.prerelease.length&&!or.includePrerelease){for(let vr=0;vr<Ue.length;vr++)if(Ze(Ue[vr].semver),Ue[vr].semver!==Me.ANY&&Ue[vr].semver.prerelease.length>0){const br=Ue[vr].semver;if(br.major===tr.major&&br.minor===tr.minor&&br.patch===tr.patch)return!0}return!1}return!0};return range}var comparator,hasRequiredComparator;function requireComparator(){if(hasRequiredComparator)return comparator;hasRequiredComparator=1;const m=Symbol("SemVer ANY");class c{static get ANY(){return m}constructor(lr,yr){if(yr=ie(yr),lr instanceof c){if(lr.loose===!!yr.loose)return lr;lr=lr.value}lr=lr.trim().split(/\s+/).join(" "),Ze("comparator",lr,yr),this.options=yr,this.loose=!!yr.loose,this.parse(lr),this.semver===m?this.value="":this.value=this.operator+this.semver.version,Ze("comp",this)}parse(lr){const yr=this.options.loose?we[Ie.COMPARATORLOOSE]:we[Ie.COMPARATOR],kr=lr.match(yr);if(!kr)throw new TypeError(`Invalid comparator: ${lr}`);this.operator=kr[1]!==void 0?kr[1]:"",this.operator==="="&&(this.operator=""),kr[2]?this.semver=new ne(kr[2],this.options.loose):this.semver=m}toString(){return this.value}test(lr){if(Ze("Comparator.test",lr,this.options.loose),this.semver===m||lr===m)return!0;if(typeof lr=="string")try{lr=new ne(lr,this.options)}catch{return!1}return Me(lr,this.operator,this.semver,this.options)}intersects(lr,yr){if(!(lr instanceof c))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new rr(lr.value,yr).test(this.value):lr.operator===""?lr.value===""?!0:new rr(this.value,yr).test(lr.semver):(yr=ie(yr),yr.includePrerelease&&(this.value==="<0.0.0-0"||lr.value==="<0.0.0-0")||!yr.includePrerelease&&(this.value.startsWith("<0.0.0")||lr.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&lr.operator.startsWith(">")||this.operator.startsWith("<")&&lr.operator.startsWith("<")||this.semver.version===lr.semver.version&&this.operator.includes("=")&&lr.operator.includes("=")||Me(this.semver,"<",lr.semver,yr)&&this.operator.startsWith(">")&&lr.operator.startsWith("<")||Me(this.semver,">",lr.semver,yr)&&this.operator.startsWith("<")&&lr.operator.startsWith(">")))}}comparator=c;const ie=parseOptions_1,{safeRe:we,t:Ie}=re$3.exports,Me=cmp_1,Ze=debug_1,ne=semver$1,rr=requireRange();return comparator}const Range$9=requireRange(),satisfies$4=(m,c,ie)=>{try{c=new Range$9(c,ie)}catch{return!1}return c.test(m)};var satisfies_1=satisfies$4;const Range$8=requireRange(),toComparators$1=(m,c)=>new Range$8(m,c).set.map(ie=>ie.map(we=>we.value).join(" ").trim().split(" "));var toComparators_1=toComparators$1;const SemVer$4=semver$1,Range$7=requireRange(),maxSatisfying$1=(m,c,ie)=>{let we=null,Ie=null,Me=null;try{Me=new Range$7(c,ie)}catch{return null}return m.forEach(Ze=>{Me.test(Ze)&&(!we||Ie.compare(Ze)===-1)&&(we=Ze,Ie=new SemVer$4(we,ie))}),we};var maxSatisfying_1=maxSatisfying$1;const SemVer$3=semver$1,Range$6=requireRange(),minSatisfying$1=(m,c,ie)=>{let we=null,Ie=null,Me=null;try{Me=new Range$6(c,ie)}catch{return null}return m.forEach(Ze=>{Me.test(Ze)&&(!we||Ie.compare(Ze)===1)&&(we=Ze,Ie=new SemVer$3(we,ie))}),we};var minSatisfying_1=minSatisfying$1;const SemVer$2=semver$1,Range$5=requireRange(),gt$3=gt_1,minVersion$1=(m,c)=>{m=new Range$5(m,c);let ie=new SemVer$2("0.0.0");if(m.test(ie)||(ie=new SemVer$2("0.0.0-0"),m.test(ie)))return ie;ie=null;for(let we=0;we<m.set.length;++we){const Ie=m.set[we];let Me=null;Ie.forEach(Ze=>{const ne=new SemVer$2(Ze.semver.version);switch(Ze.operator){case">":ne.prerelease.length===0?ne.patch++:ne.prerelease.push(0),ne.raw=ne.format();case"":case">=":(!Me||gt$3(ne,Me))&&(Me=ne);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${Ze.operator}`)}}),Me&&(!ie||gt$3(ie,Me))&&(ie=Me)}return ie&&m.test(ie)?ie:null};var minVersion_1=minVersion$1;const Range$4=requireRange(),validRange$1=(m,c)=>{try{return new Range$4(m,c).range||"*"}catch{return null}};var valid$1=validRange$1;const SemVer$1=semver$1,Comparator$2=requireComparator(),{ANY:ANY$1}=Comparator$2,Range$3=requireRange(),satisfies$3=satisfies_1,gt$2=gt_1,lt$2=lt_1,lte$1=lte_1,gte$1=gte_1,outside$3=(m,c,ie,we)=>{m=new SemVer$1(m,we),c=new Range$3(c,we);let Ie,Me,Ze,ne,rr;switch(ie){case">":Ie=gt$2,Me=lte$1,Ze=lt$2,ne=">",rr=">=";break;case"<":Ie=lt$2,Me=gte$1,Ze=gt$2,ne="<",rr="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies$3(m,c,we))return!1;for(let pr=0;pr<c.set.length;++pr){const lr=c.set[pr];let yr=null,kr=null;if(lr.forEach(Br=>{Br.semver===ANY$1&&(Br=new Comparator$2(">=0.0.0")),yr=yr||Br,kr=kr||Br,Ie(Br.semver,yr.semver,we)?yr=Br:Ze(Br.semver,kr.semver,we)&&(kr=Br)}),yr.operator===ne||yr.operator===rr||(!kr.operator||kr.operator===ne)&&Me(m,kr.semver))return!1;if(kr.operator===rr&&Ze(m,kr.semver))return!1}return!0};var outside_1=outside$3;const outside$2=outside_1,gtr$1=(m,c,ie)=>outside$2(m,c,">",ie);var gtr_1=gtr$1;const outside$1=outside_1,ltr$1=(m,c,ie)=>outside$1(m,c,"<",ie);var ltr_1=ltr$1;const Range$2=requireRange(),intersects$1=(m,c,ie)=>(m=new Range$2(m,ie),c=new Range$2(c,ie),m.intersects(c,ie));var intersects_1=intersects$1;const satisfies$2=satisfies_1,compare$2=compare_1;var simplify=(m,c,ie)=>{const we=[];let Ie=null,Me=null;const Ze=m.sort((lr,yr)=>compare$2(lr,yr,ie));for(const lr of Ze)satisfies$2(lr,c,ie)?(Me=lr,Ie||(Ie=lr)):(Me&&we.push([Ie,Me]),Me=null,Ie=null);Ie&&we.push([Ie,null]);const ne=[];for(const[lr,yr]of we)lr===yr?ne.push(lr):!yr&&lr===Ze[0]?ne.push("*"):yr?lr===Ze[0]?ne.push(`<=${yr}`):ne.push(`${lr} - ${yr}`):ne.push(`>=${lr}`);const rr=ne.join(" || "),pr=typeof c.raw=="string"?c.raw:String(c);return rr.length<pr.length?rr:c};const Range$1=requireRange(),Comparator$1=requireComparator(),{ANY}=Comparator$1,satisfies$1=satisfies_1,compare$1=compare_1,subset$1=(m,c,ie={})=>{if(m===c)return!0;m=new Range$1(m,ie),c=new Range$1(c,ie);let we=!1;e:for(const Ie of m.set){for(const Me of c.set){const Ze=simpleSubset(Ie,Me,ie);if(we=we||Ze!==null,Ze)continue e}if(we)return!1}return!0},minimumVersionWithPreRelease=[new Comparator$1(">=0.0.0-0")],minimumVersion=[new Comparator$1(">=0.0.0")],simpleSubset=(m,c,ie)=>{if(m===c)return!0;if(m.length===1&&m[0].semver===ANY){if(c.length===1&&c[0].semver===ANY)return!0;ie.includePrerelease?m=minimumVersionWithPreRelease:m=minimumVersion}if(c.length===1&&c[0].semver===ANY){if(ie.includePrerelease)return!0;c=minimumVersion}const we=new Set;let Ie,Me;for(const Br of m)Br.operator===">"||Br.operator===">="?Ie=higherGT(Ie,Br,ie):Br.operator==="<"||Br.operator==="<="?Me=lowerLT(Me,Br,ie):we.add(Br.semver);if(we.size>1)return null;let Ze;if(Ie&&Me){if(Ze=compare$1(Ie.semver,Me.semver,ie),Ze>0)return null;if(Ze===0&&(Ie.operator!==">="||Me.operator!=="<="))return null}for(const Br of we){if(Ie&&!satisfies$1(Br,String(Ie),ie)||Me&&!satisfies$1(Br,String(Me),ie))return null;for(const Ar of c)if(!satisfies$1(Br,String(Ar),ie))return!1;return!0}let ne,rr,pr,lr,yr=Me&&!ie.includePrerelease&&Me.semver.prerelease.length?Me.semver:!1,kr=Ie&&!ie.includePrerelease&&Ie.semver.prerelease.length?Ie.semver:!1;yr&&yr.prerelease.length===1&&Me.operator==="<"&&yr.prerelease[0]===0&&(yr=!1);for(const Br of c){if(lr=lr||Br.operator===">"||Br.operator===">=",pr=pr||Br.operator==="<"||Br.operator==="<=",Ie){if(kr&&Br.semver.prerelease&&Br.semver.prerelease.length&&Br.semver.major===kr.major&&Br.semver.minor===kr.minor&&Br.semver.patch===kr.patch&&(kr=!1),Br.operator===">"||Br.operator===">="){if(ne=higherGT(Ie,Br,ie),ne===Br&&ne!==Ie)return!1}else if(Ie.operator===">="&&!satisfies$1(Ie.semver,String(Br),ie))return!1}if(Me){if(yr&&Br.semver.prerelease&&Br.semver.prerelease.length&&Br.semver.major===yr.major&&Br.semver.minor===yr.minor&&Br.semver.patch===yr.patch&&(yr=!1),Br.operator==="<"||Br.operator==="<="){if(rr=lowerLT(Me,Br,ie),rr===Br&&rr!==Me)return!1}else if(Me.operator==="<="&&!satisfies$1(Me.semver,String(Br),ie))return!1}if(!Br.operator&&(Me||Ie)&&Ze!==0)return!1}return!(Ie&&pr&&!Me&&Ze!==0||Me&&lr&&!Ie&&Ze!==0||kr||yr)},higherGT=(m,c,ie)=>{if(!m)return c;const we=compare$1(m.semver,c.semver,ie);return we>0?m:we<0||c.operator===">"&&m.operator===">="?c:m},lowerLT=(m,c,ie)=>{if(!m)return c;const we=compare$1(m.semver,c.semver,ie);return we<0?m:we>0||c.operator==="<"&&m.operator==="<="?c:m};var subset_1=subset$1;const internalRe=re$3.exports,constants=constants$1,SemVer=semver$1,identifiers=identifiers$1,parse=parse_1,valid=valid_1,clean=clean_1,inc=inc_1,diff=diff_1,major=major_1,minor=minor_1,patch=patch_1,prerelease=prerelease_1,compare=compare_1,rcompare=rcompare_1,compareLoose=compareLoose_1,compareBuild=compareBuild_1,sort=sort_1,rsort=rsort_1,gt$1=gt_1,lt$1=lt_1,eq=eq_1,neq=neq_1,gte=gte_1,lte=lte_1,cmp=cmp_1,coerce=coerce_1,Comparator=requireComparator(),Range=requireRange(),satisfies=satisfies_1,toComparators=toComparators_1,maxSatisfying=maxSatisfying_1,minSatisfying=minSatisfying_1,minVersion=minVersion_1,validRange=valid$1,outside=outside_1,gtr=gtr_1,ltr=ltr_1,intersects=intersects_1,simplifyRange=simplify,subset=subset_1;var semver={parse,valid,clean,inc,diff,major,minor,patch,prerelease,compare,rcompare,compareLoose,compareBuild,sort,rsort,gt:gt$1,lt:lt$1,eq,neq,gte,lte,cmp,coerce,Comparator,Range,satisfies,toComparators,maxSatisfying,minSatisfying,minVersion,validRange,outside,gtr,ltr,intersects,simplifyRange,subset,SemVer,re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:constants.SEMVER_SPEC_VERSION,RELEASE_TYPES:constants.RELEASE_TYPES,compareIdentifiers:identifiers.compareIdentifiers,rcompareIdentifiers:identifiers.rcompareIdentifiers};const _hoisted_1$j={class:"bluepic-embedded-wrapper"},_hoisted_2$g=["src"],maxTries=3,_sfc_main$o=vue.defineComponent({__name:"BluepicEmbedded",props:{templateId:{},embedApiBaseUrl:{},env:{},cloudflarePagesHostname:{},bxCoreVersion:{default:"auto"},data:{default:()=>({})},fonts:{default:()=>[]},webgl:{type:Boolean,default:!1},resolution:{default:1},asyncSerial:{type:Boolean,default:!1},baseSerial:{}},emits:["update:data","update:ready","update:serial","error","update:globalScope"],setup(m,{expose:c,emit:ie}){const we=m,Ie=ie,Me=vue.computed(()=>we.bxCoreVersion!=="auto"?we.bxCoreVersion:we.baseSerial?.bxCoreVersion),ne=vue.computed(()=>we.asyncSerial&&Me.value&&semver.gte(Me.value,"0.1.200")).value?new Promise(async(Wr,ai)=>{if(we.baseSerial)return Wr(we.baseSerial);const ui=getTemplateSerialUrl(we.templateId,{embedApiBaseUrl:we.embedApiBaseUrl,env:we.env});let di=!1,fi=0;for(;!di&&fi<maxTries;){const li=await fetch(ui);if(li.ok){const hi=await li.json();Wr(hi),di=!0}else fi++}di||ai(new Error("Failed to fetch serial"))}):void 0,rr=vue.computed(()=>getTemplateLiveUrl(we.templateId,Me.value,{embedApiBaseUrl:we.embedApiBaseUrl,env:we.env,cloudflarePagesHostname:we.cloudflarePagesHostname,useBoilerplate:ne!==void 0,config:{fonts:we.fonts,webgl:we.webgl,resolution:we.resolution}})),pr=vue.ref(!1);vue.watchEffect(()=>{Ie("update:ready",pr.value)});const lr=vue.ref();vue.watch(lr,()=>{Ie("update:serial",lr.value)});const yr=vue.ref(),kr=vue.ref();vue.watch(yr,()=>{const Wr=yr.value;if(Wr){kr.value=new EmbeddedController(Wr,ne);const ai=async()=>{pr.value=!0;let ui,di;for(;!ui;)ui=await Nr(),ui||await new Promise(li=>setTimeout(li,50));for(;!di;)kr.value&&(di=await kr.value.evaluate(()=>window.bx_serial?.value)),di||await new Promise(li=>setTimeout(li,50));const fi={...ui,...we.data};lr.value=di,await kr.value?.setData(fi),Ie("update:data",fi),kr.value?.removeEventListener("ready",ai)};kr.value.addEventListener("ready",ai),kr.value.addEventListener("error",ui=>{Ie("error",ui.detail.code)}),kr.value.addEventListener("globalScope",ui=>{Ie("update:globalScope",ui.detail)})}});let Br=!1,Ar=!1;const Pr=()=>{kr.value&&(Br?Ar=!0:(Ar=!1,Br=!0,kr.value.setData(we.data).then(async()=>{if(Br=!1,Ar&&kr.value)return Pr()}).catch(Wr=>{console.error("ERROR!",Wr)})))};vue.watch(()=>we.data,async Wr=>{const ai=await Nr();isEqual(ai,Wr)||Pr()},{deep:!0});const Nr=()=>kr.value?.evaluate(()=>{if(window.bx_data)return window.bx_data});async function ei(){if(kr?.value)try{return!!await kr.value.evaluate(()=>!!window.__serialWrapperWebGL?.value)}catch{return!1}else return!1}async function Vr(Wr){if(!kr.value)throw new Error("Controller is not available");if(!we.webgl)throw new Error("WebGL is not enabled");const ai=await kr.value.evaluate((ui,di,fi)=>{const li=JSON.parse(ui);JSON.parse(di);const hi=fi?JSON.parse(fi):void 0;return window.__serialWrapperWebGL.value.bluepic.renderImage({...li,resultType:"dataUrl",area:hi})},JSON.stringify(Wr),JSON.stringify(lr.value),JSON.stringify(Wr.area));return dataUrlToBlob(ai)}async function Zr(){if(!kr.value)throw new Error("Controller is not available");if(!lr.value)throw new Error("Serial is not available");const Wr=await kr.value.evaluate(()=>window.document.querySelector(".serial-wrapper > svg").outerHTML),ai=lr.value.fonts,ui=await exportSVGDocument(Wr,ai,fi=>{},!0);return new DOMParser().parseFromString(ui,"image/svg+xml")}return c({renderWebGL:Vr,renderSVG:Zr,webglSupported:ei,resolveData:Nr,controller:kr}),(Wr,ai)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$j,[vue.createElementVNode("iframe",{ref_key:"frameRef",ref:yr,src:rr.value,scrolling:"no"},null,8,_hoisted_2$g)]))}}),BluepicEmbedded_vue_vue_type_style_index_0_scoped_08f1dabd_lang="",BluepicEmbedded=_export_sfc(_sfc_main$o,[["__scopeId","data-v-08f1dabd"]]);function Ee(m){return vue.getCurrentScope()?(vue.onScopeDispose(m),!0):!1}function Te(m){return typeof m=="function"?m():vue.unref(m)}const me=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Je=m=>m!=null,Qe=Object.prototype.toString,Ne=m=>Qe.call(m)==="[object Object]",et=()=>{};function tt(m){return m||vue.getCurrentInstance()}function nt(m,c=!0,ie){tt()?vue.onMounted(m,ie):c?m():vue.nextTick(m)}function ae(m){var c;const ie=Te(m);return(c=ie?.$el)!=null?c:ie}const Se=me?window:void 0;function _e(...m){let c,ie,we,Ie;if(typeof m[0]=="string"||Array.isArray(m[0])?([ie,we,Ie]=m,c=Se):[c,ie,we,Ie]=m,!c)return et;Array.isArray(ie)||(ie=[ie]),Array.isArray(we)||(we=[we]);const Me=[],Ze=()=>{Me.forEach(lr=>lr()),Me.length=0},ne=(lr,yr,kr,Br)=>(lr.addEventListener(yr,kr,Br),()=>lr.removeEventListener(yr,kr,Br)),rr=vue.watch(()=>[ae(c),Te(Ie)],([lr,yr])=>{if(Ze(),!lr)return;const kr=Ne(yr)?{...yr}:yr;Me.push(...ie.flatMap(Br=>we.map(Ar=>ne(lr,Br,Ar,kr))))},{immediate:!0,flush:"post"}),pr=()=>{rr(),Ze()};return Ee(pr),pr}function ot(){const m=vue.ref(!1),c=vue.getCurrentInstance();return c&&vue.onMounted(()=>{m.value=!0},c),m}function je(m){const c=ot();return vue.computed(()=>(c.value,Boolean(m())))}function st(m,c,ie={}){const{window:we=Se,...Ie}=ie;let Me;const Ze=je(()=>we&&"MutationObserver"in we),ne=()=>{Me&&(Me.disconnect(),Me=void 0)},rr=vue.computed(()=>{const kr=Te(m),Br=(Array.isArray(kr)?kr:[kr]).map(ae).filter(Je);return new Set(Br)}),pr=vue.watch(()=>rr.value,kr=>{ne(),Ze.value&&we&&kr.size&&(Me=new MutationObserver(c),kr.forEach(Br=>Me.observe(Br,Ie)))},{immediate:!0,flush:"post"}),lr=()=>Me?.takeRecords(),yr=()=>{ne(),pr()};return Ee(yr),{isSupported:Ze,stop:yr,takeRecords:lr}}function at(m,c,ie={}){const{window:we=Se,...Ie}=ie;let Me;const Ze=je(()=>we&&"ResizeObserver"in we),ne=()=>{Me&&(Me.disconnect(),Me=void 0)},rr=vue.computed(()=>Array.isArray(m)?m.map(yr=>ae(yr)):[ae(m)]),pr=vue.watch(rr,yr=>{if(ne(),Ze.value&&we){Me=new ResizeObserver(c);for(const kr of yr)kr&&Me.observe(kr,Ie)}},{immediate:!0,flush:"post"}),lr=()=>{ne(),pr()};return Ee(lr),{isSupported:Ze,stop:lr}}function rt(m,c={}){const{reset:ie=!0,windowResize:we=!0,windowScroll:Ie=!0,immediate:Me=!0}=c,Ze=vue.ref(0),ne=vue.ref(0),rr=vue.ref(0),pr=vue.ref(0),lr=vue.ref(0),yr=vue.ref(0),kr=vue.ref(0),Br=vue.ref(0);function Ar(){const Pr=ae(m);if(!Pr){ie&&(Ze.value=0,ne.value=0,rr.value=0,pr.value=0,lr.value=0,yr.value=0,kr.value=0,Br.value=0);return}const Nr=Pr.getBoundingClientRect();Ze.value=Nr.height,ne.value=Nr.bottom,rr.value=Nr.left,pr.value=Nr.right,lr.value=Nr.top,yr.value=Nr.width,kr.value=Nr.x,Br.value=Nr.y}return at(m,Ar),vue.watch(()=>ae(m),Pr=>!Pr&&Ar()),st(m,Ar,{attributeFilter:["style","class"]}),Ie&&_e("scroll",Ar,{capture:!0,passive:!0}),we&&_e("resize",Ar,{passive:!0}),nt(()=>{Me&&Ar()}),{height:Ze,bottom:ne,left:rr,right:pr,top:lr,width:yr,x:kr,y:Br,update:Ar}}function Be(m){return m*180/Math.PI}function Fe(m){return m*Math.PI/180}function ce(m,c,ie){return Math.min(Math.max(m,c),ie)}function Re(m,c){return Math.atan2(c[1]-m[1],c[0]-m[0])}function pe(m,c,ie){const[we,Ie]=m,[Me,Ze]=c,ne=Math.cos(ie)*(we-Me)-Math.sin(ie)*(Ie-Ze)+Me,rr=Math.sin(ie)*(we-Me)+Math.cos(ie)*(Ie-Ze)+Ze;return[ne,rr]}function he(m,c){const ie=Math.pow(10,c);return Math.round(m*ie)/ie}function lt({wrapperInnerWidth:m,wrapperInnerHeight:c,canvasNaturalWidth:ie,canvasNaturalHeight:we,translate:Ie,rotate:Me,scale:Ze,offset:ne,rotationEnabled:rr,minScale:pr,maxScale:lr,naturalScale:yr,clientCoordsToWrapperCoords:kr,getCanvasCoords:Br,calcProjectionTranslate:Ar}){let Pr=null,Nr=[0,0];const ei=Vr=>Array.from(Vr).map(Zr=>{const Wr=kr(Zr.clientX,Zr.clientY);return{client:[Zr.clientX,Zr.clientY],canvasRel:Br(Wr[0],Wr[1])}});return{handleTouchstart:Vr=>{Vr.target.closest(".matrix")===null&&(Vr.preventDefault(),Pr=ei(Vr.touches),Ze.value,Nr=[Ie.value[0],Ie.value[1]],Me.value)},handleTouchmove:Vr=>{if(Vr.target.closest(".matrix")!==null)return;Vr.preventDefault();const Zr=Array.from(Vr.touches).map(Wr=>kr(Wr.clientX,Wr.clientY));if(Pr)if(Zr.length>=2&&Pr.length>=2){const Wr=[Pr[0].canvasRel[0]*ie.value,Pr[0].canvasRel[1]*we.value],ai=[Pr[1].canvasRel[0]*ie.value,Pr[1].canvasRel[1]*we.value],ui=Math.sqrt(Math.pow(Wr[0]-ai[0],2)+Math.pow(Wr[1]-ai[1],2)),di=Math.sqrt(Math.pow(Zr[0][0]-Zr[1][0],2)+Math.pow(Zr[0][1]-Zr[1][1],2))/yr.value,fi=ce(di/ui,pr.value,lr.value),li=[Zr[0][0]/m.value,Zr[0][1]/c.value],hi=Pr[0].canvasRel,[gr,Ae]=Ar(fi,li,hi,0);let ze=0,Ue=0,tr=0;if(rr.value){let or=function(ur,$r){return[ne.value.left+ie.value*ur*yr.value*fi+gr,ne.value.top+we.value*$r*yr.value*fi+Ae]};const vr=Re(Wr,ai);tr=Re(Zr[0],Zr[1])-vr,console.log("startAngle",vr);const br=or(0,0),nr=or(Pr[0].canvasRel[0],Pr[0].canvasRel[1]),$e=pe(br,nr,tr);ze=$e[0]-br[0],Ue=$e[1]-br[1]}Ze.value=fi,Me.value=tr,Ie.value=[gr+ze,Ae+Ue],console.log("scale",Ze.value),console.log("rotate",Me.value),console.log("translate",Ie.value[0],Ie.value[1])}else{const Wr=Vr.touches[0].clientX-Pr[0].client[0],ai=Vr.touches[0].clientY-Pr[0].client[1],ui=[Nr[0]+Wr,Nr[1]+ai];Ie.value=ui}},handleTouchend:Vr=>{Vr.target.closest(".matrix")===null&&(Vr.touches.length===0?Pr=null:(Pr=ei(Vr.touches),Ze.value,Nr=[Ie.value[0],Ie.value[1]],Me.value))}}}function ut(m){var c=!1;return m.wheelDeltaY?m.wheelDeltaY===m.deltaY*-3&&(c=!0):m.deltaMode===0&&(c=!0),c}function Ye(m,c){const ie=c.find(we=>m%we===0);return ie?m/ie:1}function it({scale:m,translate:c,minScale:ie,maxScale:we,relativeWrapperCoordinatesFromClientCoords:Ie,normalizeMatrixCoordinates:Me,calcProjectionTranslate:Ze}){function ne(rr){let{deltaX:pr,deltaY:lr,ctrlKey:yr}=rr;const kr=[120,100],Br=2;ut(rr)||((Math.abs(pr)===120||Math.abs(pr)===200)&&(pr=pr/(100/Br*Ye(pr,kr))*Math.sign(pr)),(Math.abs(lr)===120||Math.abs(lr)===200)&&(lr=lr/(100/Br*Ye(lr,kr))*Math.sign(lr)));const Ar=m.value;if(yr){const Pr=-lr/100*Ar,Nr=ce(Ar+Pr,ie.value,we.value),[ei,Vr]=Ze(Nr,Ie(rr.clientX,rr.clientY),Me(rr.clientX,rr.clientY));c.value=[ei,Vr],m.value=Nr}else c.value=[c.value[0]-pr,c.value[1]-lr];rr.preventDefault(),rr.stopPropagation()}return{handleWheel:ne}}function ct(m){let c=null,ie=null,we=null;return{handleMousedown:Ie=>{Ie.preventDefault(),c=[Ie.clientX,Ie.clientY],ie=m.value[0],we=m.value[1]},handleMouseup:Ie=>{Ie.preventDefault(),c=null,ie=null,we=null},handleMousemove:Ie=>{if(Ie.preventDefault(),c&&ie!==null&&we!==null){const Me=Ie.clientX-c[0],Ze=Ie.clientY-c[1],ne=ie- -Me,rr=we- -Ze;m.value=[ne,rr]}}}}function dt(m,c,ie,we){let Ie=0;return{handleGesturestart:Me=>{Ie=m.value},handleGesturechange:Me=>{if(c.value===!1)return;const Ze=Me.rotation;if(Ze===0)return;const ne=we(Me.clientX,Me.clientY);ie(ne[0],ne[1],Ie+Fe(Ze))},handleGestureend:Me=>{}}}function ft({wrapperElementRef:m,canvasNaturalWidth:c,canvasNaturalHeight:ie,offset:we,bounds:Ie,rotationEnabled:Me,minScale:Ze,maxScale:ne}){const{x:rr,y:pr,width:lr,height:yr}=rt(m),kr=vue.computed(()=>({x:rr.value,y:pr.value,width:lr.value,height:yr.value})),Br=vue.computed(()=>rr.value+we.value.left),Ar=vue.computed(()=>pr.value+we.value.top),Pr=vue.computed(()=>lr.value-we.value.left-we.value.right),Nr=vue.computed(()=>yr.value-we.value.top-we.value.bottom),ei=vue.computed(()=>Pr.value/Nr.value),Vr=vue.computed(()=>c.value/ie.value),Zr=vue.computed(()=>Vr.value>=ei.value?Pr.value/c.value:Nr.value/ie.value),Wr=(()=>{const tn=vue.ref(0),Tn=vue.ref(0);return vue.computed({get(){return[tn.value,Tn.value]},set([Ji,Vi]){const Gn=c.value*di.value-Pr.value,En=ie.value*di.value-Nr.value;if(Me.value||!Ie.value)tn.value=Ji,Tn.value=Vi;else{const An=-Gn,To=Math.max(0,-Gn/2),hn=-En,On=Math.max(0,-En/2);tn.value=ce(Ji,An,To),Tn.value=ce(Vi,hn,On)}}})})(),ai=(()=>{const tn=vue.ref(1);return vue.computed({get(){return tn.value},set(Tn){tn.value=ce(Tn,Ze.value,ne.value)}})})(),ui=(()=>{const tn=vue.ref(0);return vue.computed({get(){return tn.value},set(Tn){tn.value=Tn}})})(),di=vue.computed(()=>ai.value*Zr.value),fi=vue.computed(()=>[we.value.left+Wr.value[0],we.value.top+Wr.value[1]]),li=vue.computed(()=>ui.value),hi=vue.ref(!1),gr=vue.ref(.3);let Ae=!1;function ze(tn,Tn,Ji,Vi=!1){const Gn=wi(tn,Tn,Ji,0);ai.value=tn,Wr.value=Gn,hi.value=Vi,Ae=!0,vue.nextTick(()=>{Ae=!1}),setTimeout(()=>{hi.value=!1},gr.value*1e3)}vue.watch([li,di,fi],()=>{Ae||(hi.value=!1)});function Ue(tn,Tn,Ji){const Vi=wi(tn,[.5,.5],[.5,.5],0),Gn=[we.value.left+Vi[0]+c.value*(tn*Zr.value)*.5,we.value.top+Vi[1]+ie.value*(tn*Zr.value)*.5],En=$r(.5,.5,tn,Tn,Ji),An=En[0]-Gn[0],To=En[1]-Gn[1];return[An,To]}function tr(){const tn=Ue(ai.value,[0,0],ui.value);return{x:he(Wr.value[0]+tn[0],6),y:he(Wr.value[1]+tn[1],6),scale:he(ai.value,6),rotate:he(Be(ui.value),6)}}const or=vue.computed({get(){return tr()},set(tn){const Tn=tr();if(tn.x===Tn.x&&tn.y===Tn.y&&tn.scale===Tn.scale&&tn.rotate===Tn.rotate)return;const Ji=Fe(tn.rotate),Vi=Ue(tn.scale,[0,0],Ji);Wr.value=[tn.x-Vi[0],tn.y-Vi[1]],ai.value=tn.scale,ui.value=Ji}});function vr(tn,Tn){return[tn-Br.value,Tn-Ar.value]}function br(tn,Tn){const[Ji,Vi]=vr(tn,Tn);return[Ji/Pr.value,Vi/Nr.value]}function nr(tn,Tn){const Ji=[0,0],Vi=[tn-Wr.value[0],Tn-Wr.value[1]],Gn=pe(Vi,Ji,-ui.value),En=[Gn[0]/di.value,Gn[1]/di.value];return[En[0]/c.value,En[1]/ie.value]}function $e(tn,Tn){const Ji=vr(tn,Tn);return nr(Ji[0],Ji[1])}function ur(tn,Tn){const[Ji,Vi]=$e(tn,Tn);return[Ji*c.value,Vi*ie.value]}function $r(tn,Tn,Ji,Vi,Gn){Ji=Ji??ai.value,Vi=Vi??Wr.value,Gn=Gn??ui.value;const En=[we.value.left,we.value.top],An=[we.value.left+c.value*(Ji*Zr.value)*tn,we.value.top+ie.value*(Ji*Zr.value)*Tn],To=pe(An,En,Gn);return[To[0]+Vi[0],To[1]+Vi[1]]}function Yr(tn,Tn){const Ji=tn/c.value,Vi=Tn/ie.value;return $r(Ji,Vi)}function wi(tn,Tn,Ji,Vi){const Gn=c.value*Zr.value,En=ie.value*Zr.value,An=Ji[0]*Gn*tn,To=Ji[1]*En*tn,hn=pe([An,To],[0,0],Vi??ui.value),On=Tn[0]*Pr.value,Wo=Tn[1]*Nr.value,Fn=On-hn[0],Wn=Wo-hn[1];return[Fn,Wn]}function ki(tn,Tn,Ji){const Vi=Ji,Gn=Ue(ai.value,[0,0],Vi),En=[0-Gn[0],0-Gn[1]],An=ai.value,To=$r(tn,Tn,An,En,Vi),hn=$r(tn,Tn),On=hn[0]-To[0],Wo=hn[1]-To[1];Wr.value=[En[0]+On,En[1]+Wo],ui.value=Vi}const{handleTouchend:Mi,handleTouchmove:si,handleTouchstart:_i}=lt({wrapperInnerWidth:Pr,wrapperInnerHeight:Nr,canvasNaturalWidth:c,canvasNaturalHeight:ie,translate:Wr,rotate:ui,scale:ai,offset:we,rotationEnabled:Me,minScale:Ze,maxScale:ne,naturalScale:Zr,clientCoordsToWrapperCoords:vr,getCanvasCoords:nr,calcProjectionTranslate:wi}),{handleWheel:ii}=it({scale:ai,translate:Wr,minScale:Ze,maxScale:ne,relativeWrapperCoordinatesFromClientCoords:br,normalizeMatrixCoordinates:$e,calcProjectionTranslate:wi}),{handleMousedown:Jr,handleMouseup:bi,handleMousemove:vi}=ct(Wr),{handleGesturestart:Di,handleGesturechange:Ui,handleGestureend:pn}=dt(ui,Me,ki,$e);return{handleTouchend:Mi,handleTouchmove:si,handleTouchstart:_i,handleGesturestart:Di,handleGesturechange:Ui,handleGestureend:pn,translate:Wr,scale:ai,rotate:ui,renderingScale:di,renderingTranslate:fi,renderingRotate:li,exposedTransform:or,rotateCanvas:ki,calcProjectionTranslate:wi,clientCoordsToWrapperCoords:vr,getCanvasCoords:nr,normalizeMatrixCoordinates:$e,clientCoordinatesToCanvasCoordinates:ur,composePoint:$r,compose:Yr,handleWheel:ii,applyTransform:ze,handleMousedown:Jr,handleMouseup:bi,handleMousemove:vi,wrapperBounds:kr,transitionEnabled:hi,transitionDuration:gr,wrapperX:rr,wrapperY:pr,wrapperWidth:lr,wrapperHeight:yr}}const vt=.996,ht=(m,c=vt)=>m*c/(1-c);function pt(m){return m[m.length-1]}function mt(m){return m.reduce((c,ie)=>c+ie)/m.length}const gt=(m,c,ie)=>Math.min(Math.max(c,m),ie);function ye(m,c){if(m.length!==c.length)throw new Error("vectors must be same length");return m.map((ie,we)=>ie+c[we])}function Xe(m){return Math.max(...m.map(Math.abs))}function re(m){return Object.freeze(m),Object.values(m).forEach(c=>{c!==null&&typeof c=="object"&&!Object.isFrozen(c)&&re(c)}),m}function Mt(){const m={};function c(Ie,Me){return m[Ie]=(m[Ie]||[]).concat(Me),()=>ie(Ie,Me)}function ie(Ie,Me){m[Ie]=(m[Ie]||[]).filter(Ze=>Ze!==Me)}function we(Ie,Me){Ie in m&&m[Ie].forEach(Ze=>Ze(Me))}return re({on:c,off:ie,dispatch:we})}function wt(m){let c=[];const ie=Ie=>(Ie.addEventListener("wheel",m,{passive:!1}),c.push(Ie),()=>we(Ie)),we=Ie=>{Ie.removeEventListener("wheel",m),c=c.filter(Me=>Me!==Ie)};return re({observe:ie,unobserve:we,disconnect:()=>{c.forEach(we)}})}const xt=16*1.125,yt=typeof window<"u"&&window.innerHeight||800,be=[1,xt,yt];function bt(m){const c=m.deltaX*be[m.deltaMode],ie=m.deltaY*be[m.deltaMode],we=(m.deltaZ||0)*be[m.deltaMode];return{timeStamp:m.timeStamp,axisDelta:[c,ie,we]}}const Pt=[-1,-1,-1];function Et(m,c){if(!c)return m;const ie=c===!0?Pt:c.map(we=>we?-1:1);return{...m,axisDelta:m.axisDelta.map((we,Ie)=>we*ie[Ie])}}const Oe=700,Tt=m=>({...m,axisDelta:m.axisDelta.map(c=>gt(c,-Oe,Oe))}),St=.6,Dt=.96,Ct=2,Ge=5,We=re({preventWheelAction:!0,reverseSign:[!0,!0,!1]}),At=400;function Le(){return{isStarted:!1,isStartPublished:!1,isMomentum:!1,startTime:0,lastAbsDelta:1/0,axisMovement:[0,0,0],axisVelocity:[0,0,0],accelerationFactors:[],scrollPoints:[],scrollPointsToMerge:[],willEndTimeout:At}}function _t(m={}){const{on:c,off:ie,dispatch:we}=Mt();let Ie=We,Me=Le(),Ze,ne=!1,rr;const pr=gr=>{Array.isArray(gr)?gr.forEach(Ae=>Br(Ae)):Br(gr)},lr=(gr={})=>Object.values(gr).some(Ae=>Ae==null)?Ie:Ie=re({...We,...Ie,...gr}),yr=gr=>{const Ae={event:Ze,isStart:!1,isEnding:!1,isMomentumCancel:!1,isMomentum:Me.isMomentum,axisDelta:[0,0,0],axisVelocity:Me.axisVelocity,axisMovement:Me.axisMovement,get axisMovementProjection(){return ye(Ae.axisMovement,Ae.axisVelocity.map(ze=>ht(ze)))},...gr};we("wheel",{...Ae,previous:rr}),rr=Ae},kr=(gr,Ae)=>{const{preventWheelAction:ze}=Ie,[Ue,tr,or]=Ae;if(typeof ze=="boolean")return ze;switch(ze){case"x":return Math.abs(Ue)>=gr;case"y":return Math.abs(tr)>=gr;case"z":return Math.abs(or)>=gr;default:return!1}},Br=gr=>{const{axisDelta:Ae,timeStamp:ze}=Tt(Et(bt(gr),Ie.reverseSign)),Ue=Xe(Ae);if(gr.preventDefault&&kr(Ue,Ae)&&gr.preventDefault(),Me.isStarted?Me.isMomentum&&Ue>Math.max(2,Me.lastAbsDelta*2)&&(di(!0),ai()):ai(),Ue===0&&Object.is&&Object.is(gr.deltaX,-0)){ne=!0;return}Ze=gr,Me.axisMovement=ye(Me.axisMovement,Ae),Me.lastAbsDelta=Ue,Me.scrollPointsToMerge.push({axisDelta:Ae,timeStamp:ze}),Ar(),yr({axisDelta:Ae,isStart:!Me.isStartPublished}),Me.isStartPublished=!0,ui()},Ar=()=>{Me.scrollPointsToMerge.length===Ct?(Me.scrollPoints.unshift({axisDeltaSum:Me.scrollPointsToMerge.map(gr=>gr.axisDelta).reduce(ye),timeStamp:mt(Me.scrollPointsToMerge.map(gr=>gr.timeStamp))}),Nr(),Me.scrollPointsToMerge.length=0,Me.scrollPoints.length=1,Me.isMomentum||Zr()):Me.isStartPublished||Pr()},Pr=()=>{Me.axisVelocity=pt(Me.scrollPointsToMerge).axisDelta.map(gr=>gr/Me.willEndTimeout)},Nr=()=>{const[gr,Ae]=Me.scrollPoints;if(!Ae||!gr)return;const ze=gr.timeStamp-Ae.timeStamp;if(ze<=0)return;const Ue=gr.axisDeltaSum.map(or=>or/ze),tr=Ue.map((or,vr)=>or/(Me.axisVelocity[vr]||1));Me.axisVelocity=Ue,Me.accelerationFactors.push(tr),ei(ze)},ei=gr=>{let Ae=Math.ceil(gr/10)*10*1.2;Me.isMomentum||(Ae=Math.max(100,Ae*2)),Me.willEndTimeout=Math.min(1e3,Math.round(Ae))},Vr=gr=>gr===0?!0:gr<=Dt&&gr>=St,Zr=()=>{if(Me.accelerationFactors.length>=Ge){if(ne&&(ne=!1,Xe(Me.axisVelocity)>=.2)){Wr();return}const gr=Me.accelerationFactors.slice(Ge*-1);gr.every(Ae=>{const ze=!!Ae.reduce((tr,or)=>tr&&tr<1&&tr===or?1:0),Ue=Ae.filter(Vr).length===Ae.length;return ze||Ue})&&Wr(),Me.accelerationFactors=gr}},Wr=()=>{Me.isMomentum=!0},ai=()=>{Me=Le(),Me.isStarted=!0,Me.startTime=Date.now(),rr=void 0,ne=!1},ui=(()=>{let gr;return()=>{clearTimeout(gr),gr=setTimeout(di,Me.willEndTimeout)}})(),di=(gr=!1)=>{!Me.isStarted||(Me.isMomentum&&gr?yr({isEnding:!0,isMomentumCancel:!0}):yr({isEnding:!0}),Me.isMomentum=!1,Me.isStarted=!1)},{observe:fi,unobserve:li,disconnect:hi}=wt(pr);return lr(m),re({on:c,off:ie,observe:fi,unobserve:li,disconnect:hi,feedWheel:pr,updateOptions:lr})}const Rt=10,Yt=10,Xt=vue.defineComponent({__name:"Zoompinch",props:{transform:{default:()=>({x:0,y:0,scale:1,rotate:0})},width:{},height:{},offset:{default:()=>({left:0,top:0,right:0,bottom:0})},maxScale:{default:10},minScale:{default:.5},bounds:{type:Boolean,default:!1},rotation:{type:Boolean,default:!0},mouse:{type:Boolean,default:!0},wheel:{type:Boolean,default:!0},touch:{type:Boolean,default:!0},gesture:{type:Boolean,default:!0}},emits:["update:transform","dragGestureStart","dragGestureEnd"],setup(m,{expose:c,emit:ie}){const we=m,Ie=ie;console.log("!!!!!! ZOOMPINCH !!!!!!!",we);const Me=vue.ref(),Ze=vue.ref(),ne=vue.ref(),rr=vue.toRef(we,"width"),pr=vue.toRef(we,"height"),lr=vue.toRef(we,"offset"),yr=vue.computed(()=>!we.bounds&&we.rotation),{renderingTranslate:kr,renderingRotate:Br,renderingScale:Ar,composePoint:Pr,handleWheel:Nr,handleMousedown:ei,handleMousemove:Vr,handleMouseup:Zr,handleTouchstart:Wr,handleTouchmove:ai,handleTouchend:ui,handleGesturestart:di,handleGesturechange:fi,handleGestureend:li,applyTransform:hi,rotateCanvas:gr,compose:Ae,exposedTransform:ze,calcProjectionTranslate:Ue,clientCoordinatesToCanvasCoordinates:tr,normalizeMatrixCoordinates:or,transitionEnabled:vr,transitionDuration:br,wrapperX:nr,wrapperY:$e,wrapperWidth:ur,wrapperHeight:$r}=ft({wrapperElementRef:Me,canvasNaturalWidth:rr,canvasNaturalHeight:pr,offset:lr,bounds:vue.toRef(we,"bounds"),rotationEnabled:yr,minScale:vue.toRef(we,"minScale"),maxScale:vue.toRef(we,"maxScale")});vue.watch(ze,()=>{(we.transform.rotate!==ze.value.rotate||we.transform.scale!==ze.value.scale||we.transform.x!==ze.value.x||we.transform.y!==ze.value.y)&&Ie("update:transform",ze.value)}),vue.watch(()=>we.transform,()=>{ze.value={x:we.transform.x,y:we.transform.y,scale:we.transform.scale,rotate:we.transform.rotate}},{deep:!0}),vue.onMounted(()=>{});const Yr=_t();Yr.on("wheel",Gn=>{Gn.isStart&&Ie("dragGestureStart",Gn.event),Nr(Gn.event),Gn.isEnding&&Ie("dragGestureEnd",Gn.event)}),vue.watch([Me,()=>we.wheel],()=>{Me.value&&(we.wheel?Yr.observe(Me.value):Yr.disconnect())}),vue.onUnmounted(()=>{Yr.disconnect()});let wi=!1,ki=null;const Mi=Gn=>{wi=!1,ki={x:Gn.touches[0].clientX,y:Gn.touches[0].clientY},we.touch&&(Ie("dragGestureStart",Gn),Wr(Gn))},si=Gn=>{ki&&Math.sqrt(Math.pow(Gn.touches[0].clientX-ki.x,2)+Math.pow(Gn.touches[0].clientY-ki.y,2))>Rt&&(wi=!0),we.touch&&ai(Gn)},_i=Gn=>{we.touch&&(ui(Gn),Gn.composedPath().includes(Me.value)&&wi&&Ie("dragGestureEnd",Gn))};let ii=!1,Jr=null;const bi=Gn=>{ii=!1,Jr={x:Gn.clientX,y:Gn.clientY},we.mouse&&(Ie("dragGestureStart",Gn),ei(Gn))},vi=Gn=>{Jr&&Math.sqrt(Math.pow(Gn.clientX-Jr.x,2)+Math.pow(Gn.clientY-Jr.y,2))>Yt&&(ii=!0),we.mouse&&Vr(Gn)},Di=Gn=>{we.mouse&&(Zr(Gn),Gn.composedPath().includes(Me.value)&&ii&&Ie("dragGestureEnd",Gn))};function Ui(){return"ontouchstart"in window||navigator.maxTouchPoints>0}const pn=vue.computed(()=>!Ui()&&we.gesture),tn=Gn=>{pn.value&&di(Gn)},Tn=Gn=>{pn.value&&fi(Gn)},Ji=Gn=>{pn.value&&li(Gn)};window.addEventListener("touchmove",si),window.addEventListener("touchend",_i),window.addEventListener("mouseup",Di),window.addEventListener("mousemove",vi),window.addEventListener("gesturechange",Tn),window.addEventListener("gestureend",Ji),vue.onUnmounted(()=>{window.removeEventListener("touchmove",si),window.removeEventListener("touchend",_i),window.removeEventListener("mouseup",Di),window.removeEventListener("mousemove",vi),window.removeEventListener("gesturechange",Tn),window.removeEventListener("gestureend",Ji)});const Vi=vue.computed(()=>({x:nr.value,y:$e.value,width:ur.value,height:$r.value}));return c({compose:Ae,composePoint:Pr,clientCoordinatesToCanvasCoordinates:tr,normalizeMatrixCoordinates:or,applyTransform:hi,calcProjectionTranslate:Ue,rotateCanvas:gr,wrapperBounds:Vi,canvas:Ze,matrix:ne}),(Gn,En)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"zoompinchRef",ref:Me,class:vue.normalizeClass(["zoompinch",{"transition-enabled":vue.unref(vr)}]),style:vue.normalizeStyle({"--canvas-width":`${Gn.width}px`,"--canvas-height":`${Gn.height}px`,"--canvas-ratio":Gn.width/Gn.height,"--rendering-scale":vue.unref(Ar),"--translate-x":`${vue.unref(kr)[0]}px`,"--translate-y":`${vue.unref(kr)[1]}px`,"--rotate":`${vue.unref(Be)(vue.unref(Br))}deg`,"--offset-top":`${we.offset.top}px`,"--offset-right":`${we.offset.right}px`,"--offset-bottom":`${we.offset.bottom}px`,"--offset-left":`${we.offset.left}px`,"--transition-duration":`${vue.unref(br)}s`}),onTouchstart:Mi,onMousedown:bi,onGesturestart:tn},[vue.createElementVNode("div",{ref_key:"canvasRef",ref:Ze,class:"canvas"},[vue.renderSlot(Gn.$slots,"canvas",{},void 0,!0)],512),vue.createElementVNode("div",{ref_key:"matrixRef",ref:ne,class:"matrix"},[vue.renderSlot(Gn.$slots,"matrix",{composePoint:vue.unref(Pr),compose:vue.unref(Ae),clientCoordinatesToCanvasCoordinates:vue.unref(tr),normalizeMatrixCoordinates:vue.unref(or)},void 0,!0)],512)],38))}}),Ot=(m,c)=>{const ie=m.__vccOpts||m;for(const[we,Ie]of c)ie[we]=Ie;return ie},Wt=Ot(Xt,[["__scopeId","data-v-55dbc0c0"]]),style="",_hoisted_1$i={key:0,class:"error-wrapper"},_hoisted_2$f={class:"error-symbol"},_hoisted_3$b={class:"error-message"},_hoisted_4$7={key:0},_hoisted_5$6={key:1},_hoisted_6$3={class:"error-actions"},_hoisted_7$3={xmlns:"http://www.w3.org/2000/svg"},_hoisted_8$3={key:0,class:"scrollbar scrollbar-x"},_hoisted_9$3={key:1,class:"scrollbar scrollbar-y"},_hoisted_10$3={key:2,class:"segment-navigation-wrapper-x"},_hoisted_11$3={class:"frame-dots"},_hoisted_12$2=["onClick"],_hoisted_13$2={key:3,class:"segment-navigation-wrapper-y"},_hoisted_14$2={class:"frame-dots"},_hoisted_15$2=["onClick"],_hoisted_16$2={key:4,class:"fit-btn-wrapper"},_sfc_main$n=vue.defineComponent({__name:"BluepicLiveTemplate",props:vue.mergeModels({templateId:{},embedApiBaseUrl:{},env:{},cloudflarePagesHostname:{},bxCoreVersion:{},asyncSerial:{type:Boolean},resolution:{},webgl:{type:Boolean},fonts:{},zoomAndPan:{type:Boolean,default:!0},baseSerial:{},watermark:{},scrollbars:{type:Boolean,default:!0},offset:{}},{data:{required:!0},dataModifiers:{},serial:{required:!1},serialModifiers:{},ready:{type:Boolean,required:!1},readyModifiers:{}}),emits:vue.mergeModels(["matrix-click"],["update:data","update:serial","update:ready"]),setup(m,{expose:c,emit:ie}){const we=ie,Ie=vue.useModel(m,"data"),Me=vue.useModel(m,"serial"),Ze=vue.useModel(m,"ready"),ne=vue.ref(),rr=vue.ref(),pr=vue.ref(),lr=vue.ref(),{width:yr,height:kr}=useElementBounding(lr),Br=vue.computed(()=>yr.value/kr.value),Ar=vue.computed(()=>{if(!!Me.value)return Me.value.width/Me.value.height}),Pr=vue.computed(()=>{if(!!Ar.value)return Ar.value>Br.value?"width":"height"}),Nr=vue.ref({x:0,y:0,scale:1,rotate:0});window.transform=Nr;function ei(Tn){const Ji=pr.value?.normalizeMatrixCoordinates(Tn.clientX,Tn.clientY);if(!Ji||!Me.value)return;const Vi=Ji[0]*Me.value.width,Gn=Ji[1]*Me.value.height;we("matrix-click",{x:Vi,y:Gn})}const Vr=vue.computed(()=>Me.value?.frames??{x:1,y:1}),Zr=vue.ref([0,0]);window.focusedFrame=Zr,window.zoompinchRef=pr;const Wr=vue.computed(()=>pr.value?.wrapperBounds),ai=vue.computed(()=>{if(Me.value)return Me.value.width/Me.value.height}),ui=vue.computed(()=>{if(Wr.value)return Wr.value.width/Wr.value.height}),di=vue.computed(()=>{if(ai.value&&ui.value)return ai.value>ui.value?"width":"height"}),fi=vue.computed(()=>{if(ai.value&&ui.value)return ui.value<ai.value?ai.value/ui.value:ui.value/ai.value}),li=vue.computed(()=>{if(ai.value)return ai.value/(Vr.value.x/Vr.value.y)}),hi=vue.computed(()=>{if(li.value&&ui.value)return li.value>ui.value?"width":"height"}),gr=vue.computed(()=>{if(!!fi.value)if(hi.value===di.value){if(hi.value==="height")return Vr.value.y;if(hi.value==="width")return Vr.value.x}else{if(hi.value==="height")return fi.value*Vr.value.y;if(hi.value==="width")return fi.value*Vr.value.x}});function Ae(Tn,Ji){const Vi=gr.value;if(!Wr.value||!ai.value||!Vi)return;const Gn=di.value==="width"?Wr.value?.width:Wr.value?.height/ai.value,En=di.value==="height"?Wr.value?.height:Wr.value?.width*ai.value,An=Gn*Vi,To=En*Vi,hn=An/2,On=To/2,Wo=An/Vr.value.x,Fn=To/Vr.value.y,Wn=hn-Wo*.5-Wo*Tn,No=On-Fn*.5-Fn*Ji;return{rotate:0,scale:Vi,x:Wn,y:No}}const ze=vue.computed(()=>Object.values(Me.value?.frames??{x:1,y:1}).reduce((Tn,Ji)=>Ji*Tn,1)>1);function Ue(){if(!Wr.value||!Nr.value||!ai.value){console.error("We can't calculate the focused frame if we don't have the necessary data");return}const Tn=Ae(0,0);if(!Tn){console.error("no target transform");return}if(round$3(Tn.scale,6)!==Nr.value.scale){console.error("The scale is not adjusted, we can't calculate the focused frame in a way that makes sense");return}const Ji=(Tn.x-Tn.scale*Wr.value.width/2)/(Tn.scale*Wr.value.width/Vr.value.x),Vi=(Tn.y-Tn.scale*Wr.value.height/2)/(Tn.scale*Wr.value.height/Vr.value.y);return[Ji,Vi]}const tr=vue.computed(()=>{if(!Wr.value||!Nr.value||!ai.value)return;const Tn=di.value==="width"?Wr.value.width:Wr.value.height*ai.value,Vi=(di.value==="height"?Wr.value.height:Wr.value.width/ai.value)/2*Nr.value.scale-Wr.value.height/2,Gn=Tn/2*Nr.value.scale-Wr.value.width/2,En=-Gn,An=-Vi;return{top:Vi,right:En,bottom:An,left:Gn}}),or=vue.computed(()=>{if(!!tr.value)return[(Nr.value.x-tr.value.left)/(tr.value.right-tr.value.left),(Nr.value.y-tr.value.top)/(tr.value.bottom-tr.value.top)]}),vr=vue.computed(()=>{if(!!gr.value)return Math.abs(1-Nr.value.scale/gr.value)}),br=vue.computed(()=>{if(vr.value===void 0||vr.value>.25||!or.value)return;const Tn=Array.from({length:Vr.value.x*Vr.value.y},(hn,On)=>{const Wo=On%Vr.value.x,Fn=Math.floor(On/Vr.value.x);return{x:Wo,y:Fn,transform:Ae(Wo,Fn)}}).filter(({transform:hn})=>hn),Ji=Nr.value.x,Vi=Nr.value.y,Gn=Tn.map(({x:hn,transform:On})=>({index:hn,distance:Math.abs(On.x-Ji)})),En=Tn.map(({y:hn,transform:On})=>({index:hn,distance:Math.abs(On.y-Vi)})),An=Gn.reduce((hn,On)=>hn.distance<On.distance?hn:On),To=En.reduce((hn,On)=>hn.distance<On.distance?hn:On);return{x:An,y:To}}),nr=vue.computed(()=>{if(!!br.value)return{x:br.value.x.index+1,y:br.value.y.index+1}}),$e=vue.computed(()=>{if(Wr.value)return di.value==="height"?1:Wr.value.height/Wr.value.width}),ur=vue.computed(()=>{if(Wr.value)return di.value==="width"?1:Wr.value.width/Wr.value.height});window.getTransformToFocusFrame=Ae,window.calcCurrFocusedFrame=Ue,window.bluepicEmbeddedRef=rr;const $r=vue.computed(()=>{if(!!Nr.value)return Nr.value.scale!==1||Nr.value.x!==0||Nr.value.y!==0||Nr.value.rotate!==0}),Yr=()=>{pr.value?.applyTransform(1,[.5,.5],[.5,.5],!0)};function wi(Tn,Ji){if(!gr.value)return;const Vi=1/Vr.value.x,Gn=1/Vr.value.y,En=(Tn-1)*Vi+Vi/2,An=(Ji-1)*Gn+Gn/2;pr.value?.applyTransform(gr.value,[.5,.5],[En,An],!0)}function ki(Tn,Ji){const Vi=nr.value?.y??1;wi(Tn,Vi),Ji.stopPropagation()}function Mi(Tn,Ji){const Vi=nr.value?.x??1;wi(Vi,Tn),Ji.stopPropagation()}function si({clientX:Tn,clientY:Ji}){const Vi=pr.value?.normalizeMatrixCoordinates(Tn,Ji);if(!Vi)return console.error("no matrix coords. This should not happen");const Gn=Math.min(Vr.value.x,Math.max(0,Math.trunc(Vi[0]/(1/Vr.value.x))+1)),En=Math.min(Vr.value.y,Math.max(0,Math.trunc(Vi[1]/(1/Vr.value.y))+1));if(nr.value){const An=Ae(nr.value.x,nr.value.y);if(!An)return console.error("no perfect frame fitting transform. This should not happen");if(!br.value)return console.error("no closest frame descriptor. This should not happen");const To=round$3(An?.scale,6)===round$3(Nr.value.scale,6),hn=round$3(An?.rotate,6)===round$3(Nr.value.rotate,6),On=Math.abs(br.value.x.distance)+Math.abs(br.value.y.distance);if(To&&hn&&On!==void 0&&On<5&&Gn===nr.value.x&&En===nr.value.y)return Yr()}wi(Gn,En)}const _i=vue.ref();function ii(Tn){_i.value=Tn}function Jr(){_i.value=void 0}const bi=vue.ref(),vi=Tn=>{const Ji=Date.now();bi.value&&Ji-bi.value<300&&si({clientX:Tn.changedTouches[0].clientX,clientY:Tn.changedTouches[0].clientY}),bi.value=Ji};vue.watch([Ze,gr],()=>{Ze.value&&gr.value&&pr.value?.applyTransform(1,[.5,.5],[.5,.5],!0)});let Di,Ui;function pn(){Di=nr.value?.x??1,Ui=nr.value?.y??1}function tn(Tn){if(ze.value){const Ji=nr.value?.x,Vi=nr.value?.y;wi(Ji??Di,Vi??Ui)}}return vue.watch(Me,()=>{setTimeout(()=>{Nr.value={x:0,y:0,scale:1,rotate:0}})}),c({aspectRatio:Ar,aspectRatioSizingSide:Pr,bluepicLiveTemplateRootWidth:yr,bluepicLiveTemplateRootHeight:kr,bluepicEmbeddedRef:rr,zoompinchRef:pr,isMultiFrame:ze,ready:Ze,transform:Nr,innerScroll:or,focusedFrame:Zr,calcCurrFocusedFrame:Ue,getTransformToFocusFrame:Ae,applyTranformBasedOnFrame:wi,closestFrame:nr,globalScope:ne}),(Tn,Ji)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"bluepicLiveTemplateRootRef",ref:lr,class:vue.normalizeClass(["bluepic-live-template",{[`aspect-ratio-sizing-side-${Pr.value}`]:!0,"zoom-and-pan":Tn.zoomAndPan,"is-ready":Ze.value||!0}]),style:vue.normalizeStyle({"--aspect-ratio":Ar.value}),onClick:ei,onDblclick:si,onTouchend:vi},[_i.value!==void 0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$i,[vue.createVNode(BxCard,null,{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_2$f,[vue.createVNode(vue.unref(BxIcon),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(BandageOutline))]),_:1})]),vue.createElementVNode("div",_hoisted_3$b,[_i.value===2?(vue.openBlock(),vue.createElementBlock("span",_hoisted_4$7," You're not allowed to view this template. ")):(vue.openBlock(),vue.createElementBlock("span",_hoisted_5$6," Embed Template is still processing. Please retry in 3 minutes. "))]),vue.createElementVNode("div",_hoisted_6$3,[vue.createVNode(vue.unref(BxButton),{round:"",onClick:Jr},{icon:vue.withCtx(()=>[vue.createVNode(vue.unref(BxIcon),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(RefreshOutline))]),_:1})]),default:vue.withCtx(()=>[Ji[5]||(Ji[5]=vue.createTextVNode(" Retry "))]),_:1})])]),_:1})])):(vue.openBlock(),vue.createBlock(vue.unref(Wt),{key:1,ref_key:"zoompinchRef",ref:pr,transform:Nr.value,"onUpdate:transform":Ji[4]||(Ji[4]=Vi=>Nr.value=Vi),width:Me.value?Me.value.width:1080,height:Me.value?Me.value.height:1080,offset:Tn.offset,"min-scale":.1,"max-scale":10,rotation:!1,bounds:!1,mouse:Tn.zoomAndPan,touch:Tn.zoomAndPan,wheel:Tn.zoomAndPan,gesture:"",onDragGestureStart:pn,onDragGestureEnd:tn},{canvas:vue.withCtx(()=>[vue.createVNode(BluepicEmbedded,{ref_key:"bluepicEmbeddedRef",ref:rr,"template-id":Tn.templateId,"embed-api-base-url":Tn.embedApiBaseUrl,env:Tn.env,"cloudflare-pages-hostname":Tn.cloudflarePagesHostname,"bx-core-version":Tn.bxCoreVersion,"async-serial":Tn.asyncSerial,resolution:Tn.resolution,webgl:Tn.webgl,fonts:Tn.fonts,"base-serial":Tn.baseSerial,data:Ie.value,"onUpdate:data":Ji[0]||(Ji[0]=Vi=>Ie.value=Vi),serial:Me.value,"onUpdate:serial":Ji[1]||(Ji[1]=Vi=>Me.value=Vi),ready:Ze.value,"onUpdate:ready":Ji[2]||(Ji[2]=Vi=>Ze.value=Vi),"global-scope":ne.value,"onUpdate:globalScope":Ji[3]||(Ji[3]=Vi=>ne.value=Vi),onError:ii},null,8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","async-serial","resolution","webgl","fonts","base-serial","data","serial","ready","global-scope"])]),matrix:vue.withCtx(({composePoint:Vi})=>[Tn.watermark?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:vue.normalizeClass(["watermark",{}])},[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(32,Gn=>vue.createElementVNode("div",null,[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(32,En=>vue.createElementVNode("span",null,vue.toDisplayString(Tn.watermark),1)),64))])),64))])):vue.createCommentVNode("",!0),(vue.openBlock(),vue.createElementBlock("svg",_hoisted_7$3,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Array.from({length:Vr.value.y},(Gn,En)=>En),Gn=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[],64))),256)),vue.renderSlot(Tn.$slots,"matrix",{composePoint:Vi},void 0,!0)])),vue.renderSlot(Tn.$slots,"matrix",{composePoint:Vi},void 0,!0),Tn.scrollbars&&or.value&&ur.value&&$e.value?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:"controls-layer",style:vue.normalizeStyle({"--scale":Nr.value.scale,"--cover-scale-x":ur.value,"--cover-scale-y":$e.value,"--inner-scroll-x":or.value[0],"--inner-scroll-y":or.value[1]})},[Nr.value.scale>ur.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$3)):vue.createCommentVNode("",!0),Nr.value.scale>$e.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$3)):vue.createCommentVNode("",!0),Vr.value.x>1?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$3,[vue.createElementVNode("div",_hoisted_11$3,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Vr.value.x,Gn=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["frame-dot",{active:nr.value?.x===Gn,disabled:!nr.value}]),onClick:En=>ki(Gn,En)},null,10,_hoisted_12$2))),256))])])):vue.createCommentVNode("",!0),Vr.value.y>1?(vue.openBlock(),vue.createElementBlock("div",_hoisted_13$2,[vue.createElementVNode("div",_hoisted_14$2,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Vr.value.y,Gn=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["frame-dot",{active:nr.value?.y===Gn,disabled:!nr.value}]),onClick:En=>Mi(Gn,En)},null,10,_hoisted_15$2))),256))])])):vue.createCommentVNode("",!0),$r.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_16$2,[vue.createVNode(vue.unref(BxButton),{circle:"",tertiary:"",onClick:Yr},{icon:vue.withCtx(()=>[vue.createVNode(vue.unref(BxIcon),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ExpandOutline))]),_:1})]),_:1})])):vue.createCommentVNode("",!0)],4)):vue.createCommentVNode("",!0)]),_:3},8,["transform","width","height","offset","mouse","touch","wheel"]))],38))}}),BluepicLiveTemplate_vue_vue_type_style_index_0_scoped_33bec26b_lang="",BluepicLiveTemplate_vue_vue_type_style_index_1_scoped_33bec26b_lang="",BluepicLiveTemplate=_export_sfc(_sfc_main$n,[["__scopeId","data-v-33bec26b"]]),_hoisted_1$h={class:"label"},_hoisted_2$e={class:"field-wrapper"},_sfc_main$m=vue.defineComponent({__name:"KioskField",props:{serial:{},field:{},composePoint:{type:Function}},setup(m){const c=m,ie=vue.ref(),we=vue.ref(),Ie=vue.reactive({x:0,y:0});function Me(){!ie.value||!we.value||computePosition(ie.value,ie.value,{middleware:[autoPlacement(),offset(10)]}).then(Ar=>{Ie.x=Ar.x,Ie.y=Ar.y})}const Ze=vue.computed(()=>{if(c.field.hitbox){const[Ar,Pr]=c.composePoint(c.field.hitbox.x/c.serial.width,c.field.hitbox.y/c.serial.height),[Nr,ei]=c.composePoint((c.field.hitbox.x+c.field.hitbox.width)/c.serial.width,(c.field.hitbox.y+c.field.hitbox.height)/c.serial.height);return{x:Ar,y:Pr,width:Nr-Ar,height:ei-Pr}}}),ne=vue.computed(()=>getFieldDescription(c.field)),rr=vue.computed(()=>{if(c.field.hitbox){const[Ar,Pr]=c.composePoint(c.field.hitbox.x/c.serial.width,c.field.hitbox.y/c.serial.height),[Nr,ei]=c.composePoint((c.field.hitbox.x+c.field.hitbox.width)/c.serial.width,(c.field.hitbox.y+c.field.hitbox.height)/c.serial.height);return`${Nr-Ar}px`}return"100%"});vue.watch(()=>c.field,()=>{vue.nextTick(()=>{Me()})},{immediate:!0});const{fields:pr,data:lr,bridge:yr,modelField:kr,wrapFieldProps:Br}=useFields(vue.computed(()=>[c.field]));return(Ar,Pr)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[Ze.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"hitboxAnchorRef",ref:ie,class:"hitbox-anchor",style:vue.normalizeStyle({"--x":`${Ze.value.x}px`,"--y":`${Ze.value.y}px`,"--width":`${Ze.value.width}px`,"--height":`${Ze.value.height}px`})},null,4)):vue.createCommentVNode("",!0),vue.createElementVNode("div",{ref_key:"kioskFieldWindowRef",ref:we,class:vue.normalizeClass(["kiosk-field",{"no-hitbox-pos":!Ar.field.hitbox}]),style:vue.normalizeStyle({"--max-width":rr.value,"--x":`${Ie.x}px`,"--y":`${Ie.y}px`})},[vue.createElementVNode("header",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(renderFieldIcon)(c.field.type,!1))))]),_:1}),vue.createElementVNode("div",_hoisted_1$h,vue.toDisplayString(ne.value),1)]),vue.createElementVNode("main",null,[vue.createElementVNode("div",_hoisted_2$e,[Ar.field.type in BluepciFieldComponents?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(BluepciFieldComponents[Ar.field.type]),vue.normalizeProps(vue.mergeProps({key:0},{...vue.unref(Br)(Ar.field.props),...vue.unref(kr)(Ar.field.model),description:ne.value,detailedDescription:Ar.field.detailedDescription,field:Ar.field,mobile:!1})),null,16)):vue.createCommentVNode("",!0)])])],6)],64))}}),KioskField_vue_vue_type_style_index_0_scoped_f468be80_lang="",KioskField=_export_sfc(_sfc_main$m,[["__scopeId","data-v-f468be80"]]),_sfc_main$l=vue.defineComponent({__name:"SlidesNavigation",props:vue.mergeModels({length:{}},{index:{required:!0},indexModifiers:{}}),emits:["update:index"],setup(m){const c=vue.useModel(m,"index"),ie=m,we=vue.ref(),{width:Ie}=useElementBounding(we);function Me(yr){c.value=yr}function Ze(){c.value=Math.max(1,c.value-1)}function ne(){c.value=Math.min(ie.length,c.value+1)}const rr=vue.computed(()=>Math.max(0,Math.trunc(Ie.value/(26+5))-2)),pr=vue.computed(()=>Math.max(0,ie.length>rr.value?rr.value-1:ie.length)),lr=vue.computed(()=>{if(pr.value<ie.length)return Array(ie.length-rr.value).fill(0).map((yr,kr)=>({label:`${kr+rr.value}`,value:kr+rr.value}))});return(yr,kr)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"slidesNavigationWrapperRef",ref:we,class:"slides-navigation"},[vue.createVNode(BxButton,{circle:"",onClick:Ze,size:"small",disabled:c.value<=1},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronBackOutline))]),_:1})]),_:1},8,["disabled"]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(pr.value,Br=>(vue.openBlock(),vue.createBlock(BxButton,{key:Br,secondary:c.value===Br,circle:"",onClick:Ar=>Me(Br),size:"small"},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(Br),1)]),_:2},1024)]),_:2},1032,["secondary","onClick"]))),128)),lr.value?(vue.openBlock(),vue.createBlock(BxSelect,{key:0,options:lr.value,modelValue:c.value,"onUpdate:modelValue":kr[0]||(kr[0]=Br=>c.value=Br)},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{circle:"",size:"small",secondary:c.value>pr.value},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>kr[1]||(kr[1]=[vue.createTextVNode(" ... ")])),_:1})]),_:1},8,["secondary"])]),_:1},8,["options","modelValue"])):vue.createCommentVNode("",!0),vue.createVNode(BxButton,{circle:"",onClick:ne,size:"small",disabled:c.value>=yr.length},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronForwardOutline))]),_:1})]),_:1},8,["disabled"])],512))}}),SlidesNavigation_vue_vue_type_style_index_0_scoped_afb2cc1e_lang="",SlidesNavigation=_export_sfc(_sfc_main$l,[["__scopeId","data-v-afb2cc1e"]]);function isObject$2(m){return m!==null&&typeof m=="object"&&"constructor"in m&&m.constructor===Object}function extend$2(m,c){m===void 0&&(m={}),c===void 0&&(c={}),Object.keys(c).forEach(ie=>{typeof m[ie]>"u"?m[ie]=c[ie]:isObject$2(c[ie])&&isObject$2(m[ie])&&Object.keys(c[ie]).length>0&&extend$2(m[ie],c[ie])})}const ssrDocument={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function getDocument(){const m=typeof document<"u"?document:{};return extend$2(m,ssrDocument),m}const ssrWindow={document:ssrDocument,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function m(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(m){return typeof setTimeout>"u"?(m(),null):setTimeout(m,0)},cancelAnimationFrame(m){typeof setTimeout>"u"||clearTimeout(m)}};function getWindow(){const m=typeof window<"u"?window:{};return extend$2(m,ssrWindow),m}function classesToTokens(m){return m===void 0&&(m=""),m.trim().split(" ").filter(c=>!!c.trim())}function deleteProps(m){const c=m;Object.keys(c).forEach(ie=>{try{c[ie]=null}catch{}try{delete c[ie]}catch{}})}function nextTick(m,c){return c===void 0&&(c=0),setTimeout(m,c)}function now(){return Date.now()}function getComputedStyle$1(m){const c=getWindow();let ie;return c.getComputedStyle&&(ie=c.getComputedStyle(m,null)),!ie&&m.currentStyle&&(ie=m.currentStyle),ie||(ie=m.style),ie}function getTranslate(m,c){c===void 0&&(c="x");const ie=getWindow();let we,Ie,Me;const Ze=getComputedStyle$1(m);return ie.WebKitCSSMatrix?(Ie=Ze.transform||Ze.webkitTransform,Ie.split(",").length>6&&(Ie=Ie.split(", ").map(ne=>ne.replace(",",".")).join(", ")),Me=new ie.WebKitCSSMatrix(Ie==="none"?"":Ie)):(Me=Ze.MozTransform||Ze.OTransform||Ze.MsTransform||Ze.msTransform||Ze.transform||Ze.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),we=Me.toString().split(",")),c==="x"&&(ie.WebKitCSSMatrix?Ie=Me.m41:we.length===16?Ie=parseFloat(we[12]):Ie=parseFloat(we[4])),c==="y"&&(ie.WebKitCSSMatrix?Ie=Me.m42:we.length===16?Ie=parseFloat(we[13]):Ie=parseFloat(we[5])),Ie||0}function isObject$1(m){return typeof m=="object"&&m!==null&&m.constructor&&Object.prototype.toString.call(m).slice(8,-1)==="Object"}function isNode$1(m){return typeof window<"u"&&typeof window.HTMLElement<"u"?m instanceof HTMLElement:m&&(m.nodeType===1||m.nodeType===11)}function extend$1(){const m=Object(arguments.length<=0?void 0:arguments[0]),c=["__proto__","constructor","prototype"];for(let ie=1;ie<arguments.length;ie+=1){const we=ie<0||arguments.length<=ie?void 0:arguments[ie];if(we!=null&&!isNode$1(we)){const Ie=Object.keys(Object(we)).filter(Me=>c.indexOf(Me)<0);for(let Me=0,Ze=Ie.length;Me<Ze;Me+=1){const ne=Ie[Me],rr=Object.getOwnPropertyDescriptor(we,ne);rr!==void 0&&rr.enumerable&&(isObject$1(m[ne])&&isObject$1(we[ne])?we[ne].__swiper__?m[ne]=we[ne]:extend$1(m[ne],we[ne]):!isObject$1(m[ne])&&isObject$1(we[ne])?(m[ne]={},we[ne].__swiper__?m[ne]=we[ne]:extend$1(m[ne],we[ne])):m[ne]=we[ne])}}}return m}function setCSSProperty(m,c,ie){m.style.setProperty(c,ie)}function animateCSSModeScroll(m){let{swiper:c,targetPosition:ie,side:we}=m;const Ie=getWindow(),Me=-c.translate;let Ze=null,ne;const rr=c.params.speed;c.wrapperEl.style.scrollSnapType="none",Ie.cancelAnimationFrame(c.cssModeFrameID);const pr=ie>Me?"next":"prev",lr=(kr,Br)=>pr==="next"&&kr>=Br||pr==="prev"&&kr<=Br,yr=()=>{ne=new Date().getTime(),Ze===null&&(Ze=ne);const kr=Math.max(Math.min((ne-Ze)/rr,1),0),Br=.5-Math.cos(kr*Math.PI)/2;let Ar=Me+Br*(ie-Me);if(lr(Ar,ie)&&(Ar=ie),c.wrapperEl.scrollTo({[we]:Ar}),lr(Ar,ie)){c.wrapperEl.style.overflow="hidden",c.wrapperEl.style.scrollSnapType="",setTimeout(()=>{c.wrapperEl.style.overflow="",c.wrapperEl.scrollTo({[we]:Ar})}),Ie.cancelAnimationFrame(c.cssModeFrameID);return}c.cssModeFrameID=Ie.requestAnimationFrame(yr)};yr()}function elementChildren(m,c){c===void 0&&(c="");const ie=getWindow(),we=[...m.children];return ie.HTMLSlotElement&&m instanceof HTMLSlotElement&&we.push(...m.assignedElements()),c?we.filter(Ie=>Ie.matches(c)):we}function elementIsChildOfSlot(m,c){const ie=[c];for(;ie.length>0;){const we=ie.shift();if(m===we)return!0;ie.push(...we.children,...we.shadowRoot?.children||[],...we.assignedElements?.()||[])}}function elementIsChildOf(m,c){const ie=getWindow();let we=c.contains(m);return!we&&ie.HTMLSlotElement&&c instanceof HTMLSlotElement&&(we=[...c.assignedElements()].includes(m),we||(we=elementIsChildOfSlot(m,c))),we}function showWarning(m){try{console.warn(m);return}catch{}}function createElement(m,c){c===void 0&&(c=[]);const ie=document.createElement(m);return ie.classList.add(...Array.isArray(c)?c:classesToTokens(c)),ie}function elementOffset(m){const c=getWindow(),ie=getDocument(),we=m.getBoundingClientRect(),Ie=ie.body,Me=m.clientTop||Ie.clientTop||0,Ze=m.clientLeft||Ie.clientLeft||0,ne=m===c?c.scrollY:m.scrollTop,rr=m===c?c.scrollX:m.scrollLeft;return{top:we.top+ne-Me,left:we.left+rr-Ze}}function elementPrevAll(m,c){const ie=[];for(;m.previousElementSibling;){const we=m.previousElementSibling;c?we.matches(c)&&ie.push(we):ie.push(we),m=we}return ie}function elementNextAll(m,c){const ie=[];for(;m.nextElementSibling;){const we=m.nextElementSibling;c?we.matches(c)&&ie.push(we):ie.push(we),m=we}return ie}function elementStyle(m,c){return getWindow().getComputedStyle(m,null).getPropertyValue(c)}function elementIndex(m){let c=m,ie;if(c){for(ie=0;(c=c.previousSibling)!==null;)c.nodeType===1&&(ie+=1);return ie}}function elementParents(m,c){const ie=[];let we=m.parentElement;for(;we;)c?we.matches(c)&&ie.push(we):ie.push(we),we=we.parentElement;return ie}function elementOuterSize(m,c,ie){const we=getWindow();return ie?m[c==="width"?"offsetWidth":"offsetHeight"]+parseFloat(we.getComputedStyle(m,null).getPropertyValue(c==="width"?"margin-right":"margin-top"))+parseFloat(we.getComputedStyle(m,null).getPropertyValue(c==="width"?"margin-left":"margin-bottom")):m.offsetWidth}function makeElementsArray(m){return(Array.isArray(m)?m:[m]).filter(c=>!!c)}function createElementIfNotDefined(m,c,ie,we){return m.params.createElements&&Object.keys(we).forEach(Ie=>{if(!ie[Ie]&&ie.auto===!0){let Me=elementChildren(m.el,`.${we[Ie]}`)[0];Me||(Me=createElement("div",we[Ie]),Me.className=we[Ie],m.el.append(Me)),ie[Ie]=Me,c[Ie]=Me}}),ie}function Navigation(m){let{swiper:c,extendParams:ie,on:we,emit:Ie}=m;ie({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),c.navigation={nextEl:null,prevEl:null};function Me(Ar){let Pr;return Ar&&typeof Ar=="string"&&c.isElement&&(Pr=c.el.querySelector(Ar)||c.hostEl.querySelector(Ar),Pr)?Pr:(Ar&&(typeof Ar=="string"&&(Pr=[...document.querySelectorAll(Ar)]),c.params.uniqueNavElements&&typeof Ar=="string"&&Pr&&Pr.length>1&&c.el.querySelectorAll(Ar).length===1?Pr=c.el.querySelector(Ar):Pr&&Pr.length===1&&(Pr=Pr[0])),Ar&&!Pr?Ar:Pr)}function Ze(Ar,Pr){const Nr=c.params.navigation;Ar=makeElementsArray(Ar),Ar.forEach(ei=>{ei&&(ei.classList[Pr?"add":"remove"](...Nr.disabledClass.split(" ")),ei.tagName==="BUTTON"&&(ei.disabled=Pr),c.params.watchOverflow&&c.enabled&&ei.classList[c.isLocked?"add":"remove"](Nr.lockClass))})}function ne(){const{nextEl:Ar,prevEl:Pr}=c.navigation;if(c.params.loop){Ze(Pr,!1),Ze(Ar,!1);return}Ze(Pr,c.isBeginning&&!c.params.rewind),Ze(Ar,c.isEnd&&!c.params.rewind)}function rr(Ar){Ar.preventDefault(),!(c.isBeginning&&!c.params.loop&&!c.params.rewind)&&(c.slidePrev(),Ie("navigationPrev"))}function pr(Ar){Ar.preventDefault(),!(c.isEnd&&!c.params.loop&&!c.params.rewind)&&(c.slideNext(),Ie("navigationNext"))}function lr(){const Ar=c.params.navigation;if(c.params.navigation=createElementIfNotDefined(c,c.originalParams.navigation,c.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(Ar.nextEl||Ar.prevEl))return;let Pr=Me(Ar.nextEl),Nr=Me(Ar.prevEl);Object.assign(c.navigation,{nextEl:Pr,prevEl:Nr}),Pr=makeElementsArray(Pr),Nr=makeElementsArray(Nr);const ei=(Vr,Zr)=>{Vr&&Vr.addEventListener("click",Zr==="next"?pr:rr),!c.enabled&&Vr&&Vr.classList.add(...Ar.lockClass.split(" "))};Pr.forEach(Vr=>ei(Vr,"next")),Nr.forEach(Vr=>ei(Vr,"prev"))}function yr(){let{nextEl:Ar,prevEl:Pr}=c.navigation;Ar=makeElementsArray(Ar),Pr=makeElementsArray(Pr);const Nr=(ei,Vr)=>{ei.removeEventListener("click",Vr==="next"?pr:rr),ei.classList.remove(...c.params.navigation.disabledClass.split(" "))};Ar.forEach(ei=>Nr(ei,"next")),Pr.forEach(ei=>Nr(ei,"prev"))}we("init",()=>{c.params.navigation.enabled===!1?Br():(lr(),ne())}),we("toEdge fromEdge lock unlock",()=>{ne()}),we("destroy",()=>{yr()}),we("enable disable",()=>{let{nextEl:Ar,prevEl:Pr}=c.navigation;if(Ar=makeElementsArray(Ar),Pr=makeElementsArray(Pr),c.enabled){ne();return}[...Ar,...Pr].filter(Nr=>!!Nr).forEach(Nr=>Nr.classList.add(c.params.navigation.lockClass))}),we("click",(Ar,Pr)=>{let{nextEl:Nr,prevEl:ei}=c.navigation;Nr=makeElementsArray(Nr),ei=makeElementsArray(ei);const Vr=Pr.target;let Zr=ei.includes(Vr)||Nr.includes(Vr);if(c.isElement&&!Zr){const Wr=Pr.path||Pr.composedPath&&Pr.composedPath();Wr&&(Zr=Wr.find(ai=>Nr.includes(ai)||ei.includes(ai)))}if(c.params.navigation.hideOnClick&&!Zr){if(c.pagination&&c.params.pagination&&c.params.pagination.clickable&&(c.pagination.el===Vr||c.pagination.el.contains(Vr)))return;let Wr;Nr.length?Wr=Nr[0].classList.contains(c.params.navigation.hiddenClass):ei.length&&(Wr=ei[0].classList.contains(c.params.navigation.hiddenClass)),Ie(Wr===!0?"navigationShow":"navigationHide"),[...Nr,...ei].filter(ai=>!!ai).forEach(ai=>ai.classList.toggle(c.params.navigation.hiddenClass))}});const kr=()=>{c.el.classList.remove(...c.params.navigation.navigationDisabledClass.split(" ")),lr(),ne()},Br=()=>{c.el.classList.add(...c.params.navigation.navigationDisabledClass.split(" ")),yr()};Object.assign(c.navigation,{enable:kr,disable:Br,update:ne,init:lr,destroy:yr})}function classesToSelector(m){return m===void 0&&(m=""),`.${m.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Pagination(m){let{swiper:c,extendParams:ie,on:we,emit:Ie}=m;const Me="swiper-pagination";ie({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:Vr=>Vr,formatFractionTotal:Vr=>Vr,bulletClass:`${Me}-bullet`,bulletActiveClass:`${Me}-bullet-active`,modifierClass:`${Me}-`,currentClass:`${Me}-current`,totalClass:`${Me}-total`,hiddenClass:`${Me}-hidden`,progressbarFillClass:`${Me}-progressbar-fill`,progressbarOppositeClass:`${Me}-progressbar-opposite`,clickableClass:`${Me}-clickable`,lockClass:`${Me}-lock`,horizontalClass:`${Me}-horizontal`,verticalClass:`${Me}-vertical`,paginationDisabledClass:`${Me}-disabled`}}),c.pagination={el:null,bullets:[]};let Ze,ne=0;function rr(){return!c.params.pagination.el||!c.pagination.el||Array.isArray(c.pagination.el)&&c.pagination.el.length===0}function pr(Vr,Zr){const{bulletActiveClass:Wr}=c.params.pagination;!Vr||(Vr=Vr[`${Zr==="prev"?"previous":"next"}ElementSibling`],Vr&&(Vr.classList.add(`${Wr}-${Zr}`),Vr=Vr[`${Zr==="prev"?"previous":"next"}ElementSibling`],Vr&&Vr.classList.add(`${Wr}-${Zr}-${Zr}`)))}function lr(Vr,Zr,Wr){if(Vr=Vr%Wr,Zr=Zr%Wr,Zr===Vr+1)return"next";if(Zr===Vr-1)return"previous"}function yr(Vr){const Zr=Vr.target.closest(classesToSelector(c.params.pagination.bulletClass));if(!Zr)return;Vr.preventDefault();const Wr=elementIndex(Zr)*c.params.slidesPerGroup;if(c.params.loop){if(c.realIndex===Wr)return;const ai=lr(c.realIndex,Wr,c.slides.length);ai==="next"?c.slideNext():ai==="previous"?c.slidePrev():c.slideToLoop(Wr)}else c.slideTo(Wr)}function kr(){const Vr=c.rtl,Zr=c.params.pagination;if(rr())return;let Wr=c.pagination.el;Wr=makeElementsArray(Wr);let ai,ui;const di=c.virtual&&c.params.virtual.enabled?c.virtual.slides.length:c.slides.length,fi=c.params.loop?Math.ceil(di/c.params.slidesPerGroup):c.snapGrid.length;if(c.params.loop?(ui=c.previousRealIndex||0,ai=c.params.slidesPerGroup>1?Math.floor(c.realIndex/c.params.slidesPerGroup):c.realIndex):typeof c.snapIndex<"u"?(ai=c.snapIndex,ui=c.previousSnapIndex):(ui=c.previousIndex||0,ai=c.activeIndex||0),Zr.type==="bullets"&&c.pagination.bullets&&c.pagination.bullets.length>0){const li=c.pagination.bullets;let hi,gr,Ae;if(Zr.dynamicBullets&&(Ze=elementOuterSize(li[0],c.isHorizontal()?"width":"height",!0),Wr.forEach(ze=>{ze.style[c.isHorizontal()?"width":"height"]=`${Ze*(Zr.dynamicMainBullets+4)}px`}),Zr.dynamicMainBullets>1&&ui!==void 0&&(ne+=ai-(ui||0),ne>Zr.dynamicMainBullets-1?ne=Zr.dynamicMainBullets-1:ne<0&&(ne=0)),hi=Math.max(ai-ne,0),gr=hi+(Math.min(li.length,Zr.dynamicMainBullets)-1),Ae=(gr+hi)/2),li.forEach(ze=>{const Ue=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(tr=>`${Zr.bulletActiveClass}${tr}`)].map(tr=>typeof tr=="string"&&tr.includes(" ")?tr.split(" "):tr).flat();ze.classList.remove(...Ue)}),Wr.length>1)li.forEach(ze=>{const Ue=elementIndex(ze);Ue===ai?ze.classList.add(...Zr.bulletActiveClass.split(" ")):c.isElement&&ze.setAttribute("part","bullet"),Zr.dynamicBullets&&(Ue>=hi&&Ue<=gr&&ze.classList.add(...`${Zr.bulletActiveClass}-main`.split(" ")),Ue===hi&&pr(ze,"prev"),Ue===gr&&pr(ze,"next"))});else{const ze=li[ai];if(ze&&ze.classList.add(...Zr.bulletActiveClass.split(" ")),c.isElement&&li.forEach((Ue,tr)=>{Ue.setAttribute("part",tr===ai?"bullet-active":"bullet")}),Zr.dynamicBullets){const Ue=li[hi],tr=li[gr];for(let or=hi;or<=gr;or+=1)li[or]&&li[or].classList.add(...`${Zr.bulletActiveClass}-main`.split(" "));pr(Ue,"prev"),pr(tr,"next")}}if(Zr.dynamicBullets){const ze=Math.min(li.length,Zr.dynamicMainBullets+4),Ue=(Ze*ze-Ze)/2-Ae*Ze,tr=Vr?"right":"left";li.forEach(or=>{or.style[c.isHorizontal()?tr:"top"]=`${Ue}px`})}}Wr.forEach((li,hi)=>{if(Zr.type==="fraction"&&(li.querySelectorAll(classesToSelector(Zr.currentClass)).forEach(gr=>{gr.textContent=Zr.formatFractionCurrent(ai+1)}),li.querySelectorAll(classesToSelector(Zr.totalClass)).forEach(gr=>{gr.textContent=Zr.formatFractionTotal(fi)})),Zr.type==="progressbar"){let gr;Zr.progressbarOpposite?gr=c.isHorizontal()?"vertical":"horizontal":gr=c.isHorizontal()?"horizontal":"vertical";const Ae=(ai+1)/fi;let ze=1,Ue=1;gr==="horizontal"?ze=Ae:Ue=Ae,li.querySelectorAll(classesToSelector(Zr.progressbarFillClass)).forEach(tr=>{tr.style.transform=`translate3d(0,0,0) scaleX(${ze}) scaleY(${Ue})`,tr.style.transitionDuration=`${c.params.speed}ms`})}Zr.type==="custom"&&Zr.renderCustom?(li.innerHTML=Zr.renderCustom(c,ai+1,fi),hi===0&&Ie("paginationRender",li)):(hi===0&&Ie("paginationRender",li),Ie("paginationUpdate",li)),c.params.watchOverflow&&c.enabled&&li.classList[c.isLocked?"add":"remove"](Zr.lockClass)})}function Br(){const Vr=c.params.pagination;if(rr())return;const Zr=c.virtual&&c.params.virtual.enabled?c.virtual.slides.length:c.grid&&c.params.grid.rows>1?c.slides.length/Math.ceil(c.params.grid.rows):c.slides.length;let Wr=c.pagination.el;Wr=makeElementsArray(Wr);let ai="";if(Vr.type==="bullets"){let ui=c.params.loop?Math.ceil(Zr/c.params.slidesPerGroup):c.snapGrid.length;c.params.freeMode&&c.params.freeMode.enabled&&ui>Zr&&(ui=Zr);for(let di=0;di<ui;di+=1)Vr.renderBullet?ai+=Vr.renderBullet.call(c,di,Vr.bulletClass):ai+=`<${Vr.bulletElement} ${c.isElement?'part="bullet"':""} class="${Vr.bulletClass}"></${Vr.bulletElement}>`}Vr.type==="fraction"&&(Vr.renderFraction?ai=Vr.renderFraction.call(c,Vr.currentClass,Vr.totalClass):ai=`<span class="${Vr.currentClass}"></span> / <span class="${Vr.totalClass}"></span>`),Vr.type==="progressbar"&&(Vr.renderProgressbar?ai=Vr.renderProgressbar.call(c,Vr.progressbarFillClass):ai=`<span class="${Vr.progressbarFillClass}"></span>`),c.pagination.bullets=[],Wr.forEach(ui=>{Vr.type!=="custom"&&(ui.innerHTML=ai||""),Vr.type==="bullets"&&c.pagination.bullets.push(...ui.querySelectorAll(classesToSelector(Vr.bulletClass)))}),Vr.type!=="custom"&&Ie("paginationRender",Wr[0])}function Ar(){c.params.pagination=createElementIfNotDefined(c,c.originalParams.pagination,c.params.pagination,{el:"swiper-pagination"});const Vr=c.params.pagination;if(!Vr.el)return;let Zr;typeof Vr.el=="string"&&c.isElement&&(Zr=c.el.querySelector(Vr.el)),!Zr&&typeof Vr.el=="string"&&(Zr=[...document.querySelectorAll(Vr.el)]),Zr||(Zr=Vr.el),!(!Zr||Zr.length===0)&&(c.params.uniqueNavElements&&typeof Vr.el=="string"&&Array.isArray(Zr)&&Zr.length>1&&(Zr=[...c.el.querySelectorAll(Vr.el)],Zr.length>1&&(Zr=Zr.find(Wr=>elementParents(Wr,".swiper")[0]===c.el))),Array.isArray(Zr)&&Zr.length===1&&(Zr=Zr[0]),Object.assign(c.pagination,{el:Zr}),Zr=makeElementsArray(Zr),Zr.forEach(Wr=>{Vr.type==="bullets"&&Vr.clickable&&Wr.classList.add(...(Vr.clickableClass||"").split(" ")),Wr.classList.add(Vr.modifierClass+Vr.type),Wr.classList.add(c.isHorizontal()?Vr.horizontalClass:Vr.verticalClass),Vr.type==="bullets"&&Vr.dynamicBullets&&(Wr.classList.add(`${Vr.modifierClass}${Vr.type}-dynamic`),ne=0,Vr.dynamicMainBullets<1&&(Vr.dynamicMainBullets=1)),Vr.type==="progressbar"&&Vr.progressbarOpposite&&Wr.classList.add(Vr.progressbarOppositeClass),Vr.clickable&&Wr.addEventListener("click",yr),c.enabled||Wr.classList.add(Vr.lockClass)}))}function Pr(){const Vr=c.params.pagination;if(rr())return;let Zr=c.pagination.el;Zr&&(Zr=makeElementsArray(Zr),Zr.forEach(Wr=>{Wr.classList.remove(Vr.hiddenClass),Wr.classList.remove(Vr.modifierClass+Vr.type),Wr.classList.remove(c.isHorizontal()?Vr.horizontalClass:Vr.verticalClass),Vr.clickable&&(Wr.classList.remove(...(Vr.clickableClass||"").split(" ")),Wr.removeEventListener("click",yr))})),c.pagination.bullets&&c.pagination.bullets.forEach(Wr=>Wr.classList.remove(...Vr.bulletActiveClass.split(" ")))}we("changeDirection",()=>{if(!c.pagination||!c.pagination.el)return;const Vr=c.params.pagination;let{el:Zr}=c.pagination;Zr=makeElementsArray(Zr),Zr.forEach(Wr=>{Wr.classList.remove(Vr.horizontalClass,Vr.verticalClass),Wr.classList.add(c.isHorizontal()?Vr.horizontalClass:Vr.verticalClass)})}),we("init",()=>{c.params.pagination.enabled===!1?ei():(Ar(),Br(),kr())}),we("activeIndexChange",()=>{typeof c.snapIndex>"u"&&kr()}),we("snapIndexChange",()=>{kr()}),we("snapGridLengthChange",()=>{Br(),kr()}),we("destroy",()=>{Pr()}),we("enable disable",()=>{let{el:Vr}=c.pagination;Vr&&(Vr=makeElementsArray(Vr),Vr.forEach(Zr=>Zr.classList[c.enabled?"remove":"add"](c.params.pagination.lockClass)))}),we("lock unlock",()=>{kr()}),we("click",(Vr,Zr)=>{const Wr=Zr.target,ai=makeElementsArray(c.pagination.el);if(c.params.pagination.el&&c.params.pagination.hideOnClick&&ai&&ai.length>0&&!Wr.classList.contains(c.params.pagination.bulletClass)){if(c.navigation&&(c.navigation.nextEl&&Wr===c.navigation.nextEl||c.navigation.prevEl&&Wr===c.navigation.prevEl))return;const ui=ai[0].classList.contains(c.params.pagination.hiddenClass);Ie(ui===!0?"paginationShow":"paginationHide"),ai.forEach(di=>di.classList.toggle(c.params.pagination.hiddenClass))}});const Nr=()=>{c.el.classList.remove(c.params.pagination.paginationDisabledClass);let{el:Vr}=c.pagination;Vr&&(Vr=makeElementsArray(Vr),Vr.forEach(Zr=>Zr.classList.remove(c.params.pagination.paginationDisabledClass))),Ar(),Br(),kr()},ei=()=>{c.el.classList.add(c.params.pagination.paginationDisabledClass);let{el:Vr}=c.pagination;Vr&&(Vr=makeElementsArray(Vr),Vr.forEach(Zr=>Zr.classList.add(c.params.pagination.paginationDisabledClass))),Pr()};Object.assign(c.pagination,{enable:Nr,disable:ei,render:Br,update:kr,init:Ar,destroy:Pr})}function Scrollbar(m){let{swiper:c,extendParams:ie,on:we,emit:Ie}=m;const Me=getDocument();let Ze=!1,ne=null,rr=null,pr,lr,yr,kr;ie({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),c.scrollbar={el:null,dragEl:null};function Br(){if(!c.params.scrollbar.el||!c.scrollbar.el)return;const{scrollbar:Ae,rtlTranslate:ze}=c,{dragEl:Ue,el:tr}=Ae,or=c.params.scrollbar,vr=c.params.loop?c.progressLoop:c.progress;let br=lr,nr=(yr-lr)*vr;ze?(nr=-nr,nr>0?(br=lr-nr,nr=0):-nr+lr>yr&&(br=yr+nr)):nr<0?(br=lr+nr,nr=0):nr+lr>yr&&(br=yr-nr),c.isHorizontal()?(Ue.style.transform=`translate3d(${nr}px, 0, 0)`,Ue.style.width=`${br}px`):(Ue.style.transform=`translate3d(0px, ${nr}px, 0)`,Ue.style.height=`${br}px`),or.hide&&(clearTimeout(ne),tr.style.opacity=1,ne=setTimeout(()=>{tr.style.opacity=0,tr.style.transitionDuration="400ms"},1e3))}function Ar(Ae){!c.params.scrollbar.el||!c.scrollbar.el||(c.scrollbar.dragEl.style.transitionDuration=`${Ae}ms`)}function Pr(){if(!c.params.scrollbar.el||!c.scrollbar.el)return;const{scrollbar:Ae}=c,{dragEl:ze,el:Ue}=Ae;ze.style.width="",ze.style.height="",yr=c.isHorizontal()?Ue.offsetWidth:Ue.offsetHeight,kr=c.size/(c.virtualSize+c.params.slidesOffsetBefore-(c.params.centeredSlides?c.snapGrid[0]:0)),c.params.scrollbar.dragSize==="auto"?lr=yr*kr:lr=parseInt(c.params.scrollbar.dragSize,10),c.isHorizontal()?ze.style.width=`${lr}px`:ze.style.height=`${lr}px`,kr>=1?Ue.style.display="none":Ue.style.display="",c.params.scrollbar.hide&&(Ue.style.opacity=0),c.params.watchOverflow&&c.enabled&&Ae.el.classList[c.isLocked?"add":"remove"](c.params.scrollbar.lockClass)}function Nr(Ae){return c.isHorizontal()?Ae.clientX:Ae.clientY}function ei(Ae){const{scrollbar:ze,rtlTranslate:Ue}=c,{el:tr}=ze;let or;or=(Nr(Ae)-elementOffset(tr)[c.isHorizontal()?"left":"top"]-(pr!==null?pr:lr/2))/(yr-lr),or=Math.max(Math.min(or,1),0),Ue&&(or=1-or);const vr=c.minTranslate()+(c.maxTranslate()-c.minTranslate())*or;c.updateProgress(vr),c.setTranslate(vr),c.updateActiveIndex(),c.updateSlidesClasses()}function Vr(Ae){const ze=c.params.scrollbar,{scrollbar:Ue,wrapperEl:tr}=c,{el:or,dragEl:vr}=Ue;Ze=!0,pr=Ae.target===vr?Nr(Ae)-Ae.target.getBoundingClientRect()[c.isHorizontal()?"left":"top"]:null,Ae.preventDefault(),Ae.stopPropagation(),tr.style.transitionDuration="100ms",vr.style.transitionDuration="100ms",ei(Ae),clearTimeout(rr),or.style.transitionDuration="0ms",ze.hide&&(or.style.opacity=1),c.params.cssMode&&(c.wrapperEl.style["scroll-snap-type"]="none"),Ie("scrollbarDragStart",Ae)}function Zr(Ae){const{scrollbar:ze,wrapperEl:Ue}=c,{el:tr,dragEl:or}=ze;!Ze||(Ae.preventDefault&&Ae.cancelable?Ae.preventDefault():Ae.returnValue=!1,ei(Ae),Ue.style.transitionDuration="0ms",tr.style.transitionDuration="0ms",or.style.transitionDuration="0ms",Ie("scrollbarDragMove",Ae))}function Wr(Ae){const ze=c.params.scrollbar,{scrollbar:Ue,wrapperEl:tr}=c,{el:or}=Ue;!Ze||(Ze=!1,c.params.cssMode&&(c.wrapperEl.style["scroll-snap-type"]="",tr.style.transitionDuration=""),ze.hide&&(clearTimeout(rr),rr=nextTick(()=>{or.style.opacity=0,or.style.transitionDuration="400ms"},1e3)),Ie("scrollbarDragEnd",Ae),ze.snapOnRelease&&c.slideToClosest())}function ai(Ae){const{scrollbar:ze,params:Ue}=c,tr=ze.el;if(!tr)return;const or=tr,vr=Ue.passiveListeners?{passive:!1,capture:!1}:!1,br=Ue.passiveListeners?{passive:!0,capture:!1}:!1;if(!or)return;const nr=Ae==="on"?"addEventListener":"removeEventListener";or[nr]("pointerdown",Vr,vr),Me[nr]("pointermove",Zr,vr),Me[nr]("pointerup",Wr,br)}function ui(){!c.params.scrollbar.el||!c.scrollbar.el||ai("on")}function di(){!c.params.scrollbar.el||!c.scrollbar.el||ai("off")}function fi(){const{scrollbar:Ae,el:ze}=c;c.params.scrollbar=createElementIfNotDefined(c,c.originalParams.scrollbar,c.params.scrollbar,{el:"swiper-scrollbar"});const Ue=c.params.scrollbar;if(!Ue.el)return;let tr;if(typeof Ue.el=="string"&&c.isElement&&(tr=c.el.querySelector(Ue.el)),!tr&&typeof Ue.el=="string"){if(tr=Me.querySelectorAll(Ue.el),!tr.length)return}else tr||(tr=Ue.el);c.params.uniqueNavElements&&typeof Ue.el=="string"&&tr.length>1&&ze.querySelectorAll(Ue.el).length===1&&(tr=ze.querySelector(Ue.el)),tr.length>0&&(tr=tr[0]),tr.classList.add(c.isHorizontal()?Ue.horizontalClass:Ue.verticalClass);let or;tr&&(or=tr.querySelector(classesToSelector(c.params.scrollbar.dragClass)),or||(or=createElement("div",c.params.scrollbar.dragClass),tr.append(or))),Object.assign(Ae,{el:tr,dragEl:or}),Ue.draggable&&ui(),tr&&tr.classList[c.enabled?"remove":"add"](...classesToTokens(c.params.scrollbar.lockClass))}function li(){const Ae=c.params.scrollbar,ze=c.scrollbar.el;ze&&ze.classList.remove(...classesToTokens(c.isHorizontal()?Ae.horizontalClass:Ae.verticalClass)),di()}we("changeDirection",()=>{if(!c.scrollbar||!c.scrollbar.el)return;const Ae=c.params.scrollbar;let{el:ze}=c.scrollbar;ze=makeElementsArray(ze),ze.forEach(Ue=>{Ue.classList.remove(Ae.horizontalClass,Ae.verticalClass),Ue.classList.add(c.isHorizontal()?Ae.horizontalClass:Ae.verticalClass)})}),we("init",()=>{c.params.scrollbar.enabled===!1?gr():(fi(),Pr(),Br())}),we("update resize observerUpdate lock unlock changeDirection",()=>{Pr()}),we("setTranslate",()=>{Br()}),we("setTransition",(Ae,ze)=>{Ar(ze)}),we("enable disable",()=>{const{el:Ae}=c.scrollbar;Ae&&Ae.classList[c.enabled?"remove":"add"](...classesToTokens(c.params.scrollbar.lockClass))}),we("destroy",()=>{li()});const hi=()=>{c.el.classList.remove(...classesToTokens(c.params.scrollbar.scrollbarDisabledClass)),c.scrollbar.el&&c.scrollbar.el.classList.remove(...classesToTokens(c.params.scrollbar.scrollbarDisabledClass)),fi(),Pr(),Br()},gr=()=>{c.el.classList.add(...classesToTokens(c.params.scrollbar.scrollbarDisabledClass)),c.scrollbar.el&&c.scrollbar.el.classList.add(...classesToTokens(c.params.scrollbar.scrollbarDisabledClass)),li()};Object.assign(c.scrollbar,{enable:hi,disable:gr,updateSize:Pr,setTranslate:Br,init:fi,destroy:li})}function A11y(m){let{swiper:c,extendParams:ie,on:we}=m;ie({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),c.a11y={clicked:!1};let Ie=null,Me,Ze,ne=new Date().getTime();function rr(vr){const br=Ie;br.length!==0&&(br.innerHTML="",br.innerHTML=vr)}function pr(vr){vr===void 0&&(vr=16);const br=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(vr).replace(/x/g,br)}function lr(vr){vr=makeElementsArray(vr),vr.forEach(br=>{br.setAttribute("tabIndex","0")})}function yr(vr){vr=makeElementsArray(vr),vr.forEach(br=>{br.setAttribute("tabIndex","-1")})}function kr(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("role",br)})}function Br(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("aria-roledescription",br)})}function Ar(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("aria-controls",br)})}function Pr(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("aria-label",br)})}function Nr(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("id",br)})}function ei(vr,br){vr=makeElementsArray(vr),vr.forEach(nr=>{nr.setAttribute("aria-live",br)})}function Vr(vr){vr=makeElementsArray(vr),vr.forEach(br=>{br.setAttribute("aria-disabled",!0)})}function Zr(vr){vr=makeElementsArray(vr),vr.forEach(br=>{br.setAttribute("aria-disabled",!1)})}function Wr(vr){if(vr.keyCode!==13&&vr.keyCode!==32)return;const br=c.params.a11y,nr=vr.target;if(!(c.pagination&&c.pagination.el&&(nr===c.pagination.el||c.pagination.el.contains(vr.target))&&!vr.target.matches(classesToSelector(c.params.pagination.bulletClass)))){if(c.navigation&&c.navigation.prevEl&&c.navigation.nextEl){const $e=makeElementsArray(c.navigation.prevEl);makeElementsArray(c.navigation.nextEl).includes(nr)&&(c.isEnd&&!c.params.loop||c.slideNext(),c.isEnd?rr(br.lastSlideMessage):rr(br.nextSlideMessage)),$e.includes(nr)&&(c.isBeginning&&!c.params.loop||c.slidePrev(),c.isBeginning?rr(br.firstSlideMessage):rr(br.prevSlideMessage))}c.pagination&&nr.matches(classesToSelector(c.params.pagination.bulletClass))&&nr.click()}}function ai(){if(c.params.loop||c.params.rewind||!c.navigation)return;const{nextEl:vr,prevEl:br}=c.navigation;br&&(c.isBeginning?(Vr(br),yr(br)):(Zr(br),lr(br))),vr&&(c.isEnd?(Vr(vr),yr(vr)):(Zr(vr),lr(vr)))}function ui(){return c.pagination&&c.pagination.bullets&&c.pagination.bullets.length}function di(){return ui()&&c.params.pagination.clickable}function fi(){const vr=c.params.a11y;!ui()||c.pagination.bullets.forEach(br=>{c.params.pagination.clickable&&(lr(br),c.params.pagination.renderBullet||(kr(br,"button"),Pr(br,vr.paginationBulletMessage.replace(/\{\{index\}\}/,elementIndex(br)+1)))),br.matches(classesToSelector(c.params.pagination.bulletActiveClass))?br.setAttribute("aria-current","true"):br.removeAttribute("aria-current")})}const li=(vr,br,nr)=>{lr(vr),vr.tagName!=="BUTTON"&&(kr(vr,"button"),vr.addEventListener("keydown",Wr)),Pr(vr,nr),Ar(vr,br)},hi=vr=>{Ze&&Ze!==vr.target&&!Ze.contains(vr.target)&&(Me=!0),c.a11y.clicked=!0},gr=()=>{Me=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{c.destroyed||(c.a11y.clicked=!1)})})},Ae=vr=>{ne=new Date().getTime()},ze=vr=>{if(c.a11y.clicked||!c.params.a11y.scrollOnFocus||new Date().getTime()-ne<100)return;const br=vr.target.closest(`.${c.params.slideClass}, swiper-slide`);if(!br||!c.slides.includes(br))return;Ze=br;const nr=c.slides.indexOf(br)===c.activeIndex,$e=c.params.watchSlidesProgress&&c.visibleSlides&&c.visibleSlides.includes(br);nr||$e||vr.sourceCapabilities&&vr.sourceCapabilities.firesTouchEvents||(c.isHorizontal()?c.el.scrollLeft=0:c.el.scrollTop=0,requestAnimationFrame(()=>{Me||(c.params.loop?c.slideToLoop(parseInt(br.getAttribute("data-swiper-slide-index")),0):c.slideTo(c.slides.indexOf(br),0),Me=!1)}))},Ue=()=>{const vr=c.params.a11y;vr.itemRoleDescriptionMessage&&Br(c.slides,vr.itemRoleDescriptionMessage),vr.slideRole&&kr(c.slides,vr.slideRole);const br=c.slides.length;vr.slideLabelMessage&&c.slides.forEach((nr,$e)=>{const ur=c.params.loop?parseInt(nr.getAttribute("data-swiper-slide-index"),10):$e,$r=vr.slideLabelMessage.replace(/\{\{index\}\}/,ur+1).replace(/\{\{slidesLength\}\}/,br);Pr(nr,$r)})},tr=()=>{const vr=c.params.a11y;c.el.append(Ie);const br=c.el;vr.containerRoleDescriptionMessage&&Br(br,vr.containerRoleDescriptionMessage),vr.containerMessage&&Pr(br,vr.containerMessage),vr.containerRole&&kr(br,vr.containerRole);const nr=c.wrapperEl,$e=vr.id||nr.getAttribute("id")||`swiper-wrapper-${pr(16)}`,ur=c.params.autoplay&&c.params.autoplay.enabled?"off":"polite";Nr(nr,$e),ei(nr,ur),Ue();let{nextEl:$r,prevEl:Yr}=c.navigation?c.navigation:{};$r=makeElementsArray($r),Yr=makeElementsArray(Yr),$r&&$r.forEach(ki=>li(ki,$e,vr.nextSlideMessage)),Yr&&Yr.forEach(ki=>li(ki,$e,vr.prevSlideMessage)),di()&&makeElementsArray(c.pagination.el).forEach(Mi=>{Mi.addEventListener("keydown",Wr)}),getDocument().addEventListener("visibilitychange",Ae),c.el.addEventListener("focus",ze,!0),c.el.addEventListener("focus",ze,!0),c.el.addEventListener("pointerdown",hi,!0),c.el.addEventListener("pointerup",gr,!0)};function or(){Ie&&Ie.remove();let{nextEl:vr,prevEl:br}=c.navigation?c.navigation:{};vr=makeElementsArray(vr),br=makeElementsArray(br),vr&&vr.forEach($e=>$e.removeEventListener("keydown",Wr)),br&&br.forEach($e=>$e.removeEventListener("keydown",Wr)),di()&&makeElementsArray(c.pagination.el).forEach(ur=>{ur.removeEventListener("keydown",Wr)}),getDocument().removeEventListener("visibilitychange",Ae),c.el&&typeof c.el!="string"&&(c.el.removeEventListener("focus",ze,!0),c.el.removeEventListener("pointerdown",hi,!0),c.el.removeEventListener("pointerup",gr,!0))}we("beforeInit",()=>{Ie=createElement("span",c.params.a11y.notificationClass),Ie.setAttribute("aria-live","assertive"),Ie.setAttribute("aria-atomic","true")}),we("afterInit",()=>{!c.params.a11y.enabled||tr()}),we("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{!c.params.a11y.enabled||Ue()}),we("fromEdge toEdge afterInit lock unlock",()=>{!c.params.a11y.enabled||ai()}),we("paginationUpdate",()=>{!c.params.a11y.enabled||fi()}),we("destroy",()=>{!c.params.a11y.enabled||or()})}let support;function calcSupport(){const m=getWindow(),c=getDocument();return{smoothScroll:c.documentElement&&c.documentElement.style&&"scrollBehavior"in c.documentElement.style,touch:!!("ontouchstart"in m||m.DocumentTouch&&c instanceof m.DocumentTouch)}}function getSupport(){return support||(support=calcSupport()),support}let deviceCached;function calcDevice(m){let{userAgent:c}=m===void 0?{}:m;const ie=getSupport(),we=getWindow(),Ie=we.navigator.platform,Me=c||we.navigator.userAgent,Ze={ios:!1,android:!1},ne=we.screen.width,rr=we.screen.height,pr=Me.match(/(Android);?[\s\/]+([\d.]+)?/);let lr=Me.match(/(iPad).*OS\s([\d_]+)/);const yr=Me.match(/(iPod)(.*OS\s([\d_]+))?/),kr=!lr&&Me.match(/(iPhone\sOS|iOS)\s([\d_]+)/),Br=Ie==="Win32";let Ar=Ie==="MacIntel";const Pr=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!lr&&Ar&&ie.touch&&Pr.indexOf(`${ne}x${rr}`)>=0&&(lr=Me.match(/(Version)\/([\d.]+)/),lr||(lr=[0,1,"13_0_0"]),Ar=!1),pr&&!Br&&(Ze.os="android",Ze.android=!0),(lr||kr||yr)&&(Ze.os="ios",Ze.ios=!0),Ze}function getDevice(m){return m===void 0&&(m={}),deviceCached||(deviceCached=calcDevice(m)),deviceCached}let browser;function calcBrowser(){const m=getWindow(),c=getDevice();let ie=!1;function we(){const ne=m.navigator.userAgent.toLowerCase();return ne.indexOf("safari")>=0&&ne.indexOf("chrome")<0&&ne.indexOf("android")<0}if(we()){const ne=String(m.navigator.userAgent);if(ne.includes("Version/")){const[rr,pr]=ne.split("Version/")[1].split(" ")[0].split(".").map(lr=>Number(lr));ie=rr<16||rr===16&&pr<2}}const Ie=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(m.navigator.userAgent),Me=we(),Ze=Me||Ie&&c.ios;return{isSafari:ie||Me,needPerspectiveFix:ie,need3dFix:Ze,isWebView:Ie}}function getBrowser(){return browser||(browser=calcBrowser()),browser}function Resize(m){let{swiper:c,on:ie,emit:we}=m;const Ie=getWindow();let Me=null,Ze=null;const ne=()=>{!c||c.destroyed||!c.initialized||(we("beforeResize"),we("resize"))},rr=()=>{!c||c.destroyed||!c.initialized||(Me=new ResizeObserver(yr=>{Ze=Ie.requestAnimationFrame(()=>{const{width:kr,height:Br}=c;let Ar=kr,Pr=Br;yr.forEach(Nr=>{let{contentBoxSize:ei,contentRect:Vr,target:Zr}=Nr;Zr&&Zr!==c.el||(Ar=Vr?Vr.width:(ei[0]||ei).inlineSize,Pr=Vr?Vr.height:(ei[0]||ei).blockSize)}),(Ar!==kr||Pr!==Br)&&ne()})}),Me.observe(c.el))},pr=()=>{Ze&&Ie.cancelAnimationFrame(Ze),Me&&Me.unobserve&&c.el&&(Me.unobserve(c.el),Me=null)},lr=()=>{!c||c.destroyed||!c.initialized||we("orientationchange")};ie("init",()=>{if(c.params.resizeObserver&&typeof Ie.ResizeObserver<"u"){rr();return}Ie.addEventListener("resize",ne),Ie.addEventListener("orientationchange",lr)}),ie("destroy",()=>{pr(),Ie.removeEventListener("resize",ne),Ie.removeEventListener("orientationchange",lr)})}function Observer(m){let{swiper:c,extendParams:ie,on:we,emit:Ie}=m;const Me=[],Ze=getWindow(),ne=function(lr,yr){yr===void 0&&(yr={});const kr=Ze.MutationObserver||Ze.WebkitMutationObserver,Br=new kr(Ar=>{if(c.__preventObserver__)return;if(Ar.length===1){Ie("observerUpdate",Ar[0]);return}const Pr=function(){Ie("observerUpdate",Ar[0])};Ze.requestAnimationFrame?Ze.requestAnimationFrame(Pr):Ze.setTimeout(Pr,0)});Br.observe(lr,{attributes:typeof yr.attributes>"u"?!0:yr.attributes,childList:c.isElement||(typeof yr.childList>"u"?!0:yr).childList,characterData:typeof yr.characterData>"u"?!0:yr.characterData}),Me.push(Br)},rr=()=>{if(!!c.params.observer){if(c.params.observeParents){const lr=elementParents(c.hostEl);for(let yr=0;yr<lr.length;yr+=1)ne(lr[yr])}ne(c.hostEl,{childList:c.params.observeSlideChildren}),ne(c.wrapperEl,{attributes:!1})}},pr=()=>{Me.forEach(lr=>{lr.disconnect()}),Me.splice(0,Me.length)};ie({observer:!1,observeParents:!1,observeSlideChildren:!1}),we("init",rr),we("destroy",pr)}var eventsEmitter={on(m,c,ie){const we=this;if(!we.eventsListeners||we.destroyed||typeof c!="function")return we;const Ie=ie?"unshift":"push";return m.split(" ").forEach(Me=>{we.eventsListeners[Me]||(we.eventsListeners[Me]=[]),we.eventsListeners[Me][Ie](c)}),we},once(m,c,ie){const we=this;if(!we.eventsListeners||we.destroyed||typeof c!="function")return we;function Ie(){we.off(m,Ie),Ie.__emitterProxy&&delete Ie.__emitterProxy;for(var Me=arguments.length,Ze=new Array(Me),ne=0;ne<Me;ne++)Ze[ne]=arguments[ne];c.apply(we,Ze)}return Ie.__emitterProxy=c,we.on(m,Ie,ie)},onAny(m,c){const ie=this;if(!ie.eventsListeners||ie.destroyed||typeof m!="function")return ie;const we=c?"unshift":"push";return ie.eventsAnyListeners.indexOf(m)<0&&ie.eventsAnyListeners[we](m),ie},offAny(m){const c=this;if(!c.eventsListeners||c.destroyed||!c.eventsAnyListeners)return c;const ie=c.eventsAnyListeners.indexOf(m);return ie>=0&&c.eventsAnyListeners.splice(ie,1),c},off(m,c){const ie=this;return!ie.eventsListeners||ie.destroyed||!ie.eventsListeners||m.split(" ").forEach(we=>{typeof c>"u"?ie.eventsListeners[we]=[]:ie.eventsListeners[we]&&ie.eventsListeners[we].forEach((Ie,Me)=>{(Ie===c||Ie.__emitterProxy&&Ie.__emitterProxy===c)&&ie.eventsListeners[we].splice(Me,1)})}),ie},emit(){const m=this;if(!m.eventsListeners||m.destroyed||!m.eventsListeners)return m;let c,ie,we;for(var Ie=arguments.length,Me=new Array(Ie),Ze=0;Ze<Ie;Ze++)Me[Ze]=arguments[Ze];return typeof Me[0]=="string"||Array.isArray(Me[0])?(c=Me[0],ie=Me.slice(1,Me.length),we=m):(c=Me[0].events,ie=Me[0].data,we=Me[0].context||m),ie.unshift(we),(Array.isArray(c)?c:c.split(" ")).forEach(rr=>{m.eventsAnyListeners&&m.eventsAnyListeners.length&&m.eventsAnyListeners.forEach(pr=>{pr.apply(we,[rr,...ie])}),m.eventsListeners&&m.eventsListeners[rr]&&m.eventsListeners[rr].forEach(pr=>{pr.apply(we,ie)})}),m}};function updateSize(){const m=this;let c,ie;const we=m.el;typeof m.params.width<"u"&&m.params.width!==null?c=m.params.width:c=we.clientWidth,typeof m.params.height<"u"&&m.params.height!==null?ie=m.params.height:ie=we.clientHeight,!(c===0&&m.isHorizontal()||ie===0&&m.isVertical())&&(c=c-parseInt(elementStyle(we,"padding-left")||0,10)-parseInt(elementStyle(we,"padding-right")||0,10),ie=ie-parseInt(elementStyle(we,"padding-top")||0,10)-parseInt(elementStyle(we,"padding-bottom")||0,10),Number.isNaN(c)&&(c=0),Number.isNaN(ie)&&(ie=0),Object.assign(m,{width:c,height:ie,size:m.isHorizontal()?c:ie}))}function updateSlides(){const m=this;function c(hi,gr){return parseFloat(hi.getPropertyValue(m.getDirectionLabel(gr))||0)}const ie=m.params,{wrapperEl:we,slidesEl:Ie,size:Me,rtlTranslate:Ze,wrongRTL:ne}=m,rr=m.virtual&&ie.virtual.enabled,pr=rr?m.virtual.slides.length:m.slides.length,lr=elementChildren(Ie,`.${m.params.slideClass}, swiper-slide`),yr=rr?m.virtual.slides.length:lr.length;let kr=[];const Br=[],Ar=[];let Pr=ie.slidesOffsetBefore;typeof Pr=="function"&&(Pr=ie.slidesOffsetBefore.call(m));let Nr=ie.slidesOffsetAfter;typeof Nr=="function"&&(Nr=ie.slidesOffsetAfter.call(m));const ei=m.snapGrid.length,Vr=m.slidesGrid.length;let Zr=ie.spaceBetween,Wr=-Pr,ai=0,ui=0;if(typeof Me>"u")return;typeof Zr=="string"&&Zr.indexOf("%")>=0?Zr=parseFloat(Zr.replace("%",""))/100*Me:typeof Zr=="string"&&(Zr=parseFloat(Zr)),m.virtualSize=-Zr,lr.forEach(hi=>{Ze?hi.style.marginLeft="":hi.style.marginRight="",hi.style.marginBottom="",hi.style.marginTop=""}),ie.centeredSlides&&ie.cssMode&&(setCSSProperty(we,"--swiper-centered-offset-before",""),setCSSProperty(we,"--swiper-centered-offset-after",""));const di=ie.grid&&ie.grid.rows>1&&m.grid;di?m.grid.initSlides(lr):m.grid&&m.grid.unsetSlides();let fi;const li=ie.slidesPerView==="auto"&&ie.breakpoints&&Object.keys(ie.breakpoints).filter(hi=>typeof ie.breakpoints[hi].slidesPerView<"u").length>0;for(let hi=0;hi<yr;hi+=1){fi=0;let gr;if(lr[hi]&&(gr=lr[hi]),di&&m.grid.updateSlide(hi,gr,lr),!(lr[hi]&&elementStyle(gr,"display")==="none")){if(ie.slidesPerView==="auto"){li&&(lr[hi].style[m.getDirectionLabel("width")]="");const Ae=getComputedStyle(gr),ze=gr.style.transform,Ue=gr.style.webkitTransform;if(ze&&(gr.style.transform="none"),Ue&&(gr.style.webkitTransform="none"),ie.roundLengths)fi=m.isHorizontal()?elementOuterSize(gr,"width",!0):elementOuterSize(gr,"height",!0);else{const tr=c(Ae,"width"),or=c(Ae,"padding-left"),vr=c(Ae,"padding-right"),br=c(Ae,"margin-left"),nr=c(Ae,"margin-right"),$e=Ae.getPropertyValue("box-sizing");if($e&&$e==="border-box")fi=tr+br+nr;else{const{clientWidth:ur,offsetWidth:$r}=gr;fi=tr+or+vr+br+nr+($r-ur)}}ze&&(gr.style.transform=ze),Ue&&(gr.style.webkitTransform=Ue),ie.roundLengths&&(fi=Math.floor(fi))}else fi=(Me-(ie.slidesPerView-1)*Zr)/ie.slidesPerView,ie.roundLengths&&(fi=Math.floor(fi)),lr[hi]&&(lr[hi].style[m.getDirectionLabel("width")]=`${fi}px`);lr[hi]&&(lr[hi].swiperSlideSize=fi),Ar.push(fi),ie.centeredSlides?(Wr=Wr+fi/2+ai/2+Zr,ai===0&&hi!==0&&(Wr=Wr-Me/2-Zr),hi===0&&(Wr=Wr-Me/2-Zr),Math.abs(Wr)<1/1e3&&(Wr=0),ie.roundLengths&&(Wr=Math.floor(Wr)),ui%ie.slidesPerGroup===0&&kr.push(Wr),Br.push(Wr)):(ie.roundLengths&&(Wr=Math.floor(Wr)),(ui-Math.min(m.params.slidesPerGroupSkip,ui))%m.params.slidesPerGroup===0&&kr.push(Wr),Br.push(Wr),Wr=Wr+fi+Zr),m.virtualSize+=fi+Zr,ai=fi,ui+=1}}if(m.virtualSize=Math.max(m.virtualSize,Me)+Nr,Ze&&ne&&(ie.effect==="slide"||ie.effect==="coverflow")&&(we.style.width=`${m.virtualSize+Zr}px`),ie.setWrapperSize&&(we.style[m.getDirectionLabel("width")]=`${m.virtualSize+Zr}px`),di&&m.grid.updateWrapperSize(fi,kr),!ie.centeredSlides){const hi=[];for(let gr=0;gr<kr.length;gr+=1){let Ae=kr[gr];ie.roundLengths&&(Ae=Math.floor(Ae)),kr[gr]<=m.virtualSize-Me&&hi.push(Ae)}kr=hi,Math.floor(m.virtualSize-Me)-Math.floor(kr[kr.length-1])>1&&kr.push(m.virtualSize-Me)}if(rr&&ie.loop){const hi=Ar[0]+Zr;if(ie.slidesPerGroup>1){const gr=Math.ceil((m.virtual.slidesBefore+m.virtual.slidesAfter)/ie.slidesPerGroup),Ae=hi*ie.slidesPerGroup;for(let ze=0;ze<gr;ze+=1)kr.push(kr[kr.length-1]+Ae)}for(let gr=0;gr<m.virtual.slidesBefore+m.virtual.slidesAfter;gr+=1)ie.slidesPerGroup===1&&kr.push(kr[kr.length-1]+hi),Br.push(Br[Br.length-1]+hi),m.virtualSize+=hi}if(kr.length===0&&(kr=[0]),Zr!==0){const hi=m.isHorizontal()&&Ze?"marginLeft":m.getDirectionLabel("marginRight");lr.filter((gr,Ae)=>!ie.cssMode||ie.loop?!0:Ae!==lr.length-1).forEach(gr=>{gr.style[hi]=`${Zr}px`})}if(ie.centeredSlides&&ie.centeredSlidesBounds){let hi=0;Ar.forEach(Ae=>{hi+=Ae+(Zr||0)}),hi-=Zr;const gr=hi>Me?hi-Me:0;kr=kr.map(Ae=>Ae<=0?-Pr:Ae>gr?gr+Nr:Ae)}if(ie.centerInsufficientSlides){let hi=0;Ar.forEach(Ae=>{hi+=Ae+(Zr||0)}),hi-=Zr;const gr=(ie.slidesOffsetBefore||0)+(ie.slidesOffsetAfter||0);if(hi+gr<Me){const Ae=(Me-hi-gr)/2;kr.forEach((ze,Ue)=>{kr[Ue]=ze-Ae}),Br.forEach((ze,Ue)=>{Br[Ue]=ze+Ae})}}if(Object.assign(m,{slides:lr,snapGrid:kr,slidesGrid:Br,slidesSizesGrid:Ar}),ie.centeredSlides&&ie.cssMode&&!ie.centeredSlidesBounds){setCSSProperty(we,"--swiper-centered-offset-before",`${-kr[0]}px`),setCSSProperty(we,"--swiper-centered-offset-after",`${m.size/2-Ar[Ar.length-1]/2}px`);const hi=-m.snapGrid[0],gr=-m.slidesGrid[0];m.snapGrid=m.snapGrid.map(Ae=>Ae+hi),m.slidesGrid=m.slidesGrid.map(Ae=>Ae+gr)}if(yr!==pr&&m.emit("slidesLengthChange"),kr.length!==ei&&(m.params.watchOverflow&&m.checkOverflow(),m.emit("snapGridLengthChange")),Br.length!==Vr&&m.emit("slidesGridLengthChange"),ie.watchSlidesProgress&&m.updateSlidesOffset(),m.emit("slidesUpdated"),!rr&&!ie.cssMode&&(ie.effect==="slide"||ie.effect==="fade")){const hi=`${ie.containerModifierClass}backface-hidden`,gr=m.el.classList.contains(hi);yr<=ie.maxBackfaceHiddenSlides?gr||m.el.classList.add(hi):gr&&m.el.classList.remove(hi)}}function updateAutoHeight(m){const c=this,ie=[],we=c.virtual&&c.params.virtual.enabled;let Ie=0,Me;typeof m=="number"?c.setTransition(m):m===!0&&c.setTransition(c.params.speed);const Ze=ne=>we?c.slides[c.getSlideIndexByData(ne)]:c.slides[ne];if(c.params.slidesPerView!=="auto"&&c.params.slidesPerView>1)if(c.params.centeredSlides)(c.visibleSlides||[]).forEach(ne=>{ie.push(ne)});else for(Me=0;Me<Math.ceil(c.params.slidesPerView);Me+=1){const ne=c.activeIndex+Me;if(ne>c.slides.length&&!we)break;ie.push(Ze(ne))}else ie.push(Ze(c.activeIndex));for(Me=0;Me<ie.length;Me+=1)if(typeof ie[Me]<"u"){const ne=ie[Me].offsetHeight;Ie=ne>Ie?ne:Ie}(Ie||Ie===0)&&(c.wrapperEl.style.height=`${Ie}px`)}function updateSlidesOffset(){const m=this,c=m.slides,ie=m.isElement?m.isHorizontal()?m.wrapperEl.offsetLeft:m.wrapperEl.offsetTop:0;for(let we=0;we<c.length;we+=1)c[we].swiperSlideOffset=(m.isHorizontal()?c[we].offsetLeft:c[we].offsetTop)-ie-m.cssOverflowAdjustment()}const toggleSlideClasses$1=(m,c,ie)=>{c&&!m.classList.contains(ie)?m.classList.add(ie):!c&&m.classList.contains(ie)&&m.classList.remove(ie)};function updateSlidesProgress(m){m===void 0&&(m=this&&this.translate||0);const c=this,ie=c.params,{slides:we,rtlTranslate:Ie,snapGrid:Me}=c;if(we.length===0)return;typeof we[0].swiperSlideOffset>"u"&&c.updateSlidesOffset();let Ze=-m;Ie&&(Ze=m),c.visibleSlidesIndexes=[],c.visibleSlides=[];let ne=ie.spaceBetween;typeof ne=="string"&&ne.indexOf("%")>=0?ne=parseFloat(ne.replace("%",""))/100*c.size:typeof ne=="string"&&(ne=parseFloat(ne));for(let rr=0;rr<we.length;rr+=1){const pr=we[rr];let lr=pr.swiperSlideOffset;ie.cssMode&&ie.centeredSlides&&(lr-=we[0].swiperSlideOffset);const yr=(Ze+(ie.centeredSlides?c.minTranslate():0)-lr)/(pr.swiperSlideSize+ne),kr=(Ze-Me[0]+(ie.centeredSlides?c.minTranslate():0)-lr)/(pr.swiperSlideSize+ne),Br=-(Ze-lr),Ar=Br+c.slidesSizesGrid[rr],Pr=Br>=0&&Br<=c.size-c.slidesSizesGrid[rr],Nr=Br>=0&&Br<c.size-1||Ar>1&&Ar<=c.size||Br<=0&&Ar>=c.size;Nr&&(c.visibleSlides.push(pr),c.visibleSlidesIndexes.push(rr)),toggleSlideClasses$1(pr,Nr,ie.slideVisibleClass),toggleSlideClasses$1(pr,Pr,ie.slideFullyVisibleClass),pr.progress=Ie?-yr:yr,pr.originalProgress=Ie?-kr:kr}}function updateProgress(m){const c=this;if(typeof m>"u"){const lr=c.rtlTranslate?-1:1;m=c&&c.translate&&c.translate*lr||0}const ie=c.params,we=c.maxTranslate()-c.minTranslate();let{progress:Ie,isBeginning:Me,isEnd:Ze,progressLoop:ne}=c;const rr=Me,pr=Ze;if(we===0)Ie=0,Me=!0,Ze=!0;else{Ie=(m-c.minTranslate())/we;const lr=Math.abs(m-c.minTranslate())<1,yr=Math.abs(m-c.maxTranslate())<1;Me=lr||Ie<=0,Ze=yr||Ie>=1,lr&&(Ie=0),yr&&(Ie=1)}if(ie.loop){const lr=c.getSlideIndexByData(0),yr=c.getSlideIndexByData(c.slides.length-1),kr=c.slidesGrid[lr],Br=c.slidesGrid[yr],Ar=c.slidesGrid[c.slidesGrid.length-1],Pr=Math.abs(m);Pr>=kr?ne=(Pr-kr)/Ar:ne=(Pr+Ar-Br)/Ar,ne>1&&(ne-=1)}Object.assign(c,{progress:Ie,progressLoop:ne,isBeginning:Me,isEnd:Ze}),(ie.watchSlidesProgress||ie.centeredSlides&&ie.autoHeight)&&c.updateSlidesProgress(m),Me&&!rr&&c.emit("reachBeginning toEdge"),Ze&&!pr&&c.emit("reachEnd toEdge"),(rr&&!Me||pr&&!Ze)&&c.emit("fromEdge"),c.emit("progress",Ie)}const toggleSlideClasses=(m,c,ie)=>{c&&!m.classList.contains(ie)?m.classList.add(ie):!c&&m.classList.contains(ie)&&m.classList.remove(ie)};function updateSlidesClasses(){const m=this,{slides:c,params:ie,slidesEl:we,activeIndex:Ie}=m,Me=m.virtual&&ie.virtual.enabled,Ze=m.grid&&ie.grid&&ie.grid.rows>1,ne=yr=>elementChildren(we,`.${ie.slideClass}${yr}, swiper-slide${yr}`)[0];let rr,pr,lr;if(Me)if(ie.loop){let yr=Ie-m.virtual.slidesBefore;yr<0&&(yr=m.virtual.slides.length+yr),yr>=m.virtual.slides.length&&(yr-=m.virtual.slides.length),rr=ne(`[data-swiper-slide-index="${yr}"]`)}else rr=ne(`[data-swiper-slide-index="${Ie}"]`);else Ze?(rr=c.find(yr=>yr.column===Ie),lr=c.find(yr=>yr.column===Ie+1),pr=c.find(yr=>yr.column===Ie-1)):rr=c[Ie];rr&&(Ze||(lr=elementNextAll(rr,`.${ie.slideClass}, swiper-slide`)[0],ie.loop&&!lr&&(lr=c[0]),pr=elementPrevAll(rr,`.${ie.slideClass}, swiper-slide`)[0],ie.loop&&!pr===0&&(pr=c[c.length-1]))),c.forEach(yr=>{toggleSlideClasses(yr,yr===rr,ie.slideActiveClass),toggleSlideClasses(yr,yr===lr,ie.slideNextClass),toggleSlideClasses(yr,yr===pr,ie.slidePrevClass)}),m.emitSlidesClasses()}const processLazyPreloader=(m,c)=>{if(!m||m.destroyed||!m.params)return;const ie=()=>m.isElement?"swiper-slide":`.${m.params.slideClass}`,we=c.closest(ie());if(we){let Ie=we.querySelector(`.${m.params.lazyPreloaderClass}`);!Ie&&m.isElement&&(we.shadowRoot?Ie=we.shadowRoot.querySelector(`.${m.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{we.shadowRoot&&(Ie=we.shadowRoot.querySelector(`.${m.params.lazyPreloaderClass}`),Ie&&Ie.remove())})),Ie&&Ie.remove()}},unlazy=(m,c)=>{if(!m.slides[c])return;const ie=m.slides[c].querySelector('[loading="lazy"]');ie&&ie.removeAttribute("loading")},preload=m=>{if(!m||m.destroyed||!m.params)return;let c=m.params.lazyPreloadPrevNext;const ie=m.slides.length;if(!ie||!c||c<0)return;c=Math.min(c,ie);const we=m.params.slidesPerView==="auto"?m.slidesPerViewDynamic():Math.ceil(m.params.slidesPerView),Ie=m.activeIndex;if(m.params.grid&&m.params.grid.rows>1){const Ze=Ie,ne=[Ze-c];ne.push(...Array.from({length:c}).map((rr,pr)=>Ze+we+pr)),m.slides.forEach((rr,pr)=>{ne.includes(rr.column)&&unlazy(m,pr)});return}const Me=Ie+we-1;if(m.params.rewind||m.params.loop)for(let Ze=Ie-c;Ze<=Me+c;Ze+=1){const ne=(Ze%ie+ie)%ie;(ne<Ie||ne>Me)&&unlazy(m,ne)}else for(let Ze=Math.max(Ie-c,0);Ze<=Math.min(Me+c,ie-1);Ze+=1)Ze!==Ie&&(Ze>Me||Ze<Ie)&&unlazy(m,Ze)};function getActiveIndexByTranslate(m){const{slidesGrid:c,params:ie}=m,we=m.rtlTranslate?m.translate:-m.translate;let Ie;for(let Me=0;Me<c.length;Me+=1)typeof c[Me+1]<"u"?we>=c[Me]&&we<c[Me+1]-(c[Me+1]-c[Me])/2?Ie=Me:we>=c[Me]&&we<c[Me+1]&&(Ie=Me+1):we>=c[Me]&&(Ie=Me);return ie.normalizeSlideIndex&&(Ie<0||typeof Ie>"u")&&(Ie=0),Ie}function updateActiveIndex(m){const c=this,ie=c.rtlTranslate?c.translate:-c.translate,{snapGrid:we,params:Ie,activeIndex:Me,realIndex:Ze,snapIndex:ne}=c;let rr=m,pr;const lr=Br=>{let Ar=Br-c.virtual.slidesBefore;return Ar<0&&(Ar=c.virtual.slides.length+Ar),Ar>=c.virtual.slides.length&&(Ar-=c.virtual.slides.length),Ar};if(typeof rr>"u"&&(rr=getActiveIndexByTranslate(c)),we.indexOf(ie)>=0)pr=we.indexOf(ie);else{const Br=Math.min(Ie.slidesPerGroupSkip,rr);pr=Br+Math.floor((rr-Br)/Ie.slidesPerGroup)}if(pr>=we.length&&(pr=we.length-1),rr===Me&&!c.params.loop){pr!==ne&&(c.snapIndex=pr,c.emit("snapIndexChange"));return}if(rr===Me&&c.params.loop&&c.virtual&&c.params.virtual.enabled){c.realIndex=lr(rr);return}const yr=c.grid&&Ie.grid&&Ie.grid.rows>1;let kr;if(c.virtual&&Ie.virtual.enabled&&Ie.loop)kr=lr(rr);else if(yr){const Br=c.slides.find(Pr=>Pr.column===rr);let Ar=parseInt(Br.getAttribute("data-swiper-slide-index"),10);Number.isNaN(Ar)&&(Ar=Math.max(c.slides.indexOf(Br),0)),kr=Math.floor(Ar/Ie.grid.rows)}else if(c.slides[rr]){const Br=c.slides[rr].getAttribute("data-swiper-slide-index");Br?kr=parseInt(Br,10):kr=rr}else kr=rr;Object.assign(c,{previousSnapIndex:ne,snapIndex:pr,previousRealIndex:Ze,realIndex:kr,previousIndex:Me,activeIndex:rr}),c.initialized&&preload(c),c.emit("activeIndexChange"),c.emit("snapIndexChange"),(c.initialized||c.params.runCallbacksOnInit)&&(Ze!==kr&&c.emit("realIndexChange"),c.emit("slideChange"))}function updateClickedSlide(m,c){const ie=this,we=ie.params;let Ie=m.closest(`.${we.slideClass}, swiper-slide`);!Ie&&ie.isElement&&c&&c.length>1&&c.includes(m)&&[...c.slice(c.indexOf(m)+1,c.length)].forEach(ne=>{!Ie&&ne.matches&&ne.matches(`.${we.slideClass}, swiper-slide`)&&(Ie=ne)});let Me=!1,Ze;if(Ie){for(let ne=0;ne<ie.slides.length;ne+=1)if(ie.slides[ne]===Ie){Me=!0,Ze=ne;break}}if(Ie&&Me)ie.clickedSlide=Ie,ie.virtual&&ie.params.virtual.enabled?ie.clickedIndex=parseInt(Ie.getAttribute("data-swiper-slide-index"),10):ie.clickedIndex=Ze;else{ie.clickedSlide=void 0,ie.clickedIndex=void 0;return}we.slideToClickedSlide&&ie.clickedIndex!==void 0&&ie.clickedIndex!==ie.activeIndex&&ie.slideToClickedSlide()}var update={updateSize,updateSlides,updateAutoHeight,updateSlidesOffset,updateSlidesProgress,updateProgress,updateSlidesClasses,updateActiveIndex,updateClickedSlide};function getSwiperTranslate(m){m===void 0&&(m=this.isHorizontal()?"x":"y");const c=this,{params:ie,rtlTranslate:we,translate:Ie,wrapperEl:Me}=c;if(ie.virtualTranslate)return we?-Ie:Ie;if(ie.cssMode)return Ie;let Ze=getTranslate(Me,m);return Ze+=c.cssOverflowAdjustment(),we&&(Ze=-Ze),Ze||0}function setTranslate(m,c){const ie=this,{rtlTranslate:we,params:Ie,wrapperEl:Me,progress:Ze}=ie;let ne=0,rr=0;const pr=0;ie.isHorizontal()?ne=we?-m:m:rr=m,Ie.roundLengths&&(ne=Math.floor(ne),rr=Math.floor(rr)),ie.previousTranslate=ie.translate,ie.translate=ie.isHorizontal()?ne:rr,Ie.cssMode?Me[ie.isHorizontal()?"scrollLeft":"scrollTop"]=ie.isHorizontal()?-ne:-rr:Ie.virtualTranslate||(ie.isHorizontal()?ne-=ie.cssOverflowAdjustment():rr-=ie.cssOverflowAdjustment(),Me.style.transform=`translate3d(${ne}px, ${rr}px, ${pr}px)`);let lr;const yr=ie.maxTranslate()-ie.minTranslate();yr===0?lr=0:lr=(m-ie.minTranslate())/yr,lr!==Ze&&ie.updateProgress(m),ie.emit("setTranslate",ie.translate,c)}function minTranslate(){return-this.snapGrid[0]}function maxTranslate(){return-this.snapGrid[this.snapGrid.length-1]}function translateTo(m,c,ie,we,Ie){m===void 0&&(m=0),c===void 0&&(c=this.params.speed),ie===void 0&&(ie=!0),we===void 0&&(we=!0);const Me=this,{params:Ze,wrapperEl:ne}=Me;if(Me.animating&&Ze.preventInteractionOnTransition)return!1;const rr=Me.minTranslate(),pr=Me.maxTranslate();let lr;if(we&&m>rr?lr=rr:we&&m<pr?lr=pr:lr=m,Me.updateProgress(lr),Ze.cssMode){const yr=Me.isHorizontal();if(c===0)ne[yr?"scrollLeft":"scrollTop"]=-lr;else{if(!Me.support.smoothScroll)return animateCSSModeScroll({swiper:Me,targetPosition:-lr,side:yr?"left":"top"}),!0;ne.scrollTo({[yr?"left":"top"]:-lr,behavior:"smooth"})}return!0}return c===0?(Me.setTransition(0),Me.setTranslate(lr),ie&&(Me.emit("beforeTransitionStart",c,Ie),Me.emit("transitionEnd"))):(Me.setTransition(c),Me.setTranslate(lr),ie&&(Me.emit("beforeTransitionStart",c,Ie),Me.emit("transitionStart")),Me.animating||(Me.animating=!0,Me.onTranslateToWrapperTransitionEnd||(Me.onTranslateToWrapperTransitionEnd=function(kr){!Me||Me.destroyed||kr.target===this&&(Me.wrapperEl.removeEventListener("transitionend",Me.onTranslateToWrapperTransitionEnd),Me.onTranslateToWrapperTransitionEnd=null,delete Me.onTranslateToWrapperTransitionEnd,Me.animating=!1,ie&&Me.emit("transitionEnd"))}),Me.wrapperEl.addEventListener("transitionend",Me.onTranslateToWrapperTransitionEnd))),!0}var translate={getTranslate:getSwiperTranslate,setTranslate,minTranslate,maxTranslate,translateTo};function setTransition(m,c){const ie=this;ie.params.cssMode||(ie.wrapperEl.style.transitionDuration=`${m}ms`,ie.wrapperEl.style.transitionDelay=m===0?"0ms":""),ie.emit("setTransition",m,c)}function transitionEmit(m){let{swiper:c,runCallbacks:ie,direction:we,step:Ie}=m;const{activeIndex:Me,previousIndex:Ze}=c;let ne=we;if(ne||(Me>Ze?ne="next":Me<Ze?ne="prev":ne="reset"),c.emit(`transition${Ie}`),ie&&Me!==Ze){if(ne==="reset"){c.emit(`slideResetTransition${Ie}`);return}c.emit(`slideChangeTransition${Ie}`),ne==="next"?c.emit(`slideNextTransition${Ie}`):c.emit(`slidePrevTransition${Ie}`)}}function transitionStart(m,c){m===void 0&&(m=!0);const ie=this,{params:we}=ie;we.cssMode||(we.autoHeight&&ie.updateAutoHeight(),transitionEmit({swiper:ie,runCallbacks:m,direction:c,step:"Start"}))}function transitionEnd(m,c){m===void 0&&(m=!0);const ie=this,{params:we}=ie;ie.animating=!1,!we.cssMode&&(ie.setTransition(0),transitionEmit({swiper:ie,runCallbacks:m,direction:c,step:"End"}))}var transition={setTransition,transitionStart,transitionEnd};function slideTo(m,c,ie,we,Ie){m===void 0&&(m=0),ie===void 0&&(ie=!0),typeof m=="string"&&(m=parseInt(m,10));const Me=this;let Ze=m;Ze<0&&(Ze=0);const{params:ne,snapGrid:rr,slidesGrid:pr,previousIndex:lr,activeIndex:yr,rtlTranslate:kr,wrapperEl:Br,enabled:Ar}=Me;if(!Ar&&!we&&!Ie||Me.destroyed||Me.animating&&ne.preventInteractionOnTransition)return!1;typeof c>"u"&&(c=Me.params.speed);const Pr=Math.min(Me.params.slidesPerGroupSkip,Ze);let Nr=Pr+Math.floor((Ze-Pr)/Me.params.slidesPerGroup);Nr>=rr.length&&(Nr=rr.length-1);const ei=-rr[Nr];if(ne.normalizeSlideIndex)for(let ai=0;ai<pr.length;ai+=1){const ui=-Math.floor(ei*100),di=Math.floor(pr[ai]*100),fi=Math.floor(pr[ai+1]*100);typeof pr[ai+1]<"u"?ui>=di&&ui<fi-(fi-di)/2?Ze=ai:ui>=di&&ui<fi&&(Ze=ai+1):ui>=di&&(Ze=ai)}if(Me.initialized&&Ze!==yr&&(!Me.allowSlideNext&&(kr?ei>Me.translate&&ei>Me.minTranslate():ei<Me.translate&&ei<Me.minTranslate())||!Me.allowSlidePrev&&ei>Me.translate&&ei>Me.maxTranslate()&&(yr||0)!==Ze))return!1;Ze!==(lr||0)&&ie&&Me.emit("beforeSlideChangeStart"),Me.updateProgress(ei);let Vr;Ze>yr?Vr="next":Ze<yr?Vr="prev":Vr="reset";const Zr=Me.virtual&&Me.params.virtual.enabled;if(!(Zr&&Ie)&&(kr&&-ei===Me.translate||!kr&&ei===Me.translate))return Me.updateActiveIndex(Ze),ne.autoHeight&&Me.updateAutoHeight(),Me.updateSlidesClasses(),ne.effect!=="slide"&&Me.setTranslate(ei),Vr!=="reset"&&(Me.transitionStart(ie,Vr),Me.transitionEnd(ie,Vr)),!1;if(ne.cssMode){const ai=Me.isHorizontal(),ui=kr?ei:-ei;if(c===0)Zr&&(Me.wrapperEl.style.scrollSnapType="none",Me._immediateVirtual=!0),Zr&&!Me._cssModeVirtualInitialSet&&Me.params.initialSlide>0?(Me._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{Br[ai?"scrollLeft":"scrollTop"]=ui})):Br[ai?"scrollLeft":"scrollTop"]=ui,Zr&&requestAnimationFrame(()=>{Me.wrapperEl.style.scrollSnapType="",Me._immediateVirtual=!1});else{if(!Me.support.smoothScroll)return animateCSSModeScroll({swiper:Me,targetPosition:ui,side:ai?"left":"top"}),!0;Br.scrollTo({[ai?"left":"top"]:ui,behavior:"smooth"})}return!0}return Me.setTransition(c),Me.setTranslate(ei),Me.updateActiveIndex(Ze),Me.updateSlidesClasses(),Me.emit("beforeTransitionStart",c,we),Me.transitionStart(ie,Vr),c===0?Me.transitionEnd(ie,Vr):Me.animating||(Me.animating=!0,Me.onSlideToWrapperTransitionEnd||(Me.onSlideToWrapperTransitionEnd=function(ui){!Me||Me.destroyed||ui.target===this&&(Me.wrapperEl.removeEventListener("transitionend",Me.onSlideToWrapperTransitionEnd),Me.onSlideToWrapperTransitionEnd=null,delete Me.onSlideToWrapperTransitionEnd,Me.transitionEnd(ie,Vr))}),Me.wrapperEl.addEventListener("transitionend",Me.onSlideToWrapperTransitionEnd)),!0}function slideToLoop(m,c,ie,we){m===void 0&&(m=0),ie===void 0&&(ie=!0),typeof m=="string"&&(m=parseInt(m,10));const Ie=this;if(Ie.destroyed)return;typeof c>"u"&&(c=Ie.params.speed);const Me=Ie.grid&&Ie.params.grid&&Ie.params.grid.rows>1;let Ze=m;if(Ie.params.loop)if(Ie.virtual&&Ie.params.virtual.enabled)Ze=Ze+Ie.virtual.slidesBefore;else{let ne;if(Me){const kr=Ze*Ie.params.grid.rows;ne=Ie.slides.find(Br=>Br.getAttribute("data-swiper-slide-index")*1===kr).column}else ne=Ie.getSlideIndexByData(Ze);const rr=Me?Math.ceil(Ie.slides.length/Ie.params.grid.rows):Ie.slides.length,{centeredSlides:pr}=Ie.params;let lr=Ie.params.slidesPerView;lr==="auto"?lr=Ie.slidesPerViewDynamic():(lr=Math.ceil(parseFloat(Ie.params.slidesPerView,10)),pr&&lr%2===0&&(lr=lr+1));let yr=rr-ne<lr;if(pr&&(yr=yr||ne<Math.ceil(lr/2)),we&&pr&&Ie.params.slidesPerView!=="auto"&&!Me&&(yr=!1),yr){const kr=pr?ne<Ie.activeIndex?"prev":"next":ne-Ie.activeIndex-1<Ie.params.slidesPerView?"next":"prev";Ie.loopFix({direction:kr,slideTo:!0,activeSlideIndex:kr==="next"?ne+1:ne-rr+1,slideRealIndex:kr==="next"?Ie.realIndex:void 0})}if(Me){const kr=Ze*Ie.params.grid.rows;Ze=Ie.slides.find(Br=>Br.getAttribute("data-swiper-slide-index")*1===kr).column}else Ze=Ie.getSlideIndexByData(Ze)}return requestAnimationFrame(()=>{Ie.slideTo(Ze,c,ie,we)}),Ie}function slideNext(m,c,ie){c===void 0&&(c=!0);const we=this,{enabled:Ie,params:Me,animating:Ze}=we;if(!Ie||we.destroyed)return we;typeof m>"u"&&(m=we.params.speed);let ne=Me.slidesPerGroup;Me.slidesPerView==="auto"&&Me.slidesPerGroup===1&&Me.slidesPerGroupAuto&&(ne=Math.max(we.slidesPerViewDynamic("current",!0),1));const rr=we.activeIndex<Me.slidesPerGroupSkip?1:ne,pr=we.virtual&&Me.virtual.enabled;if(Me.loop){if(Ze&&!pr&&Me.loopPreventsSliding)return!1;if(we.loopFix({direction:"next"}),we._clientLeft=we.wrapperEl.clientLeft,we.activeIndex===we.slides.length-1&&Me.cssMode)return requestAnimationFrame(()=>{we.slideTo(we.activeIndex+rr,m,c,ie)}),!0}return Me.rewind&&we.isEnd?we.slideTo(0,m,c,ie):we.slideTo(we.activeIndex+rr,m,c,ie)}function slidePrev(m,c,ie){c===void 0&&(c=!0);const we=this,{params:Ie,snapGrid:Me,slidesGrid:Ze,rtlTranslate:ne,enabled:rr,animating:pr}=we;if(!rr||we.destroyed)return we;typeof m>"u"&&(m=we.params.speed);const lr=we.virtual&&Ie.virtual.enabled;if(Ie.loop){if(pr&&!lr&&Ie.loopPreventsSliding)return!1;we.loopFix({direction:"prev"}),we._clientLeft=we.wrapperEl.clientLeft}const yr=ne?we.translate:-we.translate;function kr(ei){return ei<0?-Math.floor(Math.abs(ei)):Math.floor(ei)}const Br=kr(yr),Ar=Me.map(ei=>kr(ei));let Pr=Me[Ar.indexOf(Br)-1];if(typeof Pr>"u"&&Ie.cssMode){let ei;Me.forEach((Vr,Zr)=>{Br>=Vr&&(ei=Zr)}),typeof ei<"u"&&(Pr=Me[ei>0?ei-1:ei])}let Nr=0;if(typeof Pr<"u"&&(Nr=Ze.indexOf(Pr),Nr<0&&(Nr=we.activeIndex-1),Ie.slidesPerView==="auto"&&Ie.slidesPerGroup===1&&Ie.slidesPerGroupAuto&&(Nr=Nr-we.slidesPerViewDynamic("previous",!0)+1,Nr=Math.max(Nr,0))),Ie.rewind&&we.isBeginning){const ei=we.params.virtual&&we.params.virtual.enabled&&we.virtual?we.virtual.slides.length-1:we.slides.length-1;return we.slideTo(ei,m,c,ie)}else if(Ie.loop&&we.activeIndex===0&&Ie.cssMode)return requestAnimationFrame(()=>{we.slideTo(Nr,m,c,ie)}),!0;return we.slideTo(Nr,m,c,ie)}function slideReset(m,c,ie){c===void 0&&(c=!0);const we=this;if(!we.destroyed)return typeof m>"u"&&(m=we.params.speed),we.slideTo(we.activeIndex,m,c,ie)}function slideToClosest(m,c,ie,we){c===void 0&&(c=!0),we===void 0&&(we=.5);const Ie=this;if(Ie.destroyed)return;typeof m>"u"&&(m=Ie.params.speed);let Me=Ie.activeIndex;const Ze=Math.min(Ie.params.slidesPerGroupSkip,Me),ne=Ze+Math.floor((Me-Ze)/Ie.params.slidesPerGroup),rr=Ie.rtlTranslate?Ie.translate:-Ie.translate;if(rr>=Ie.snapGrid[ne]){const pr=Ie.snapGrid[ne],lr=Ie.snapGrid[ne+1];rr-pr>(lr-pr)*we&&(Me+=Ie.params.slidesPerGroup)}else{const pr=Ie.snapGrid[ne-1],lr=Ie.snapGrid[ne];rr-pr<=(lr-pr)*we&&(Me-=Ie.params.slidesPerGroup)}return Me=Math.max(Me,0),Me=Math.min(Me,Ie.slidesGrid.length-1),Ie.slideTo(Me,m,c,ie)}function slideToClickedSlide(){const m=this;if(m.destroyed)return;const{params:c,slidesEl:ie}=m,we=c.slidesPerView==="auto"?m.slidesPerViewDynamic():c.slidesPerView;let Ie=m.clickedIndex,Me;const Ze=m.isElement?"swiper-slide":`.${c.slideClass}`;if(c.loop){if(m.animating)return;Me=parseInt(m.clickedSlide.getAttribute("data-swiper-slide-index"),10),c.centeredSlides?Ie<m.loopedSlides-we/2||Ie>m.slides.length-m.loopedSlides+we/2?(m.loopFix(),Ie=m.getSlideIndex(elementChildren(ie,`${Ze}[data-swiper-slide-index="${Me}"]`)[0]),nextTick(()=>{m.slideTo(Ie)})):m.slideTo(Ie):Ie>m.slides.length-we?(m.loopFix(),Ie=m.getSlideIndex(elementChildren(ie,`${Ze}[data-swiper-slide-index="${Me}"]`)[0]),nextTick(()=>{m.slideTo(Ie)})):m.slideTo(Ie)}else m.slideTo(Ie)}var slide={slideTo,slideToLoop,slideNext,slidePrev,slideReset,slideToClosest,slideToClickedSlide};function loopCreate(m){const c=this,{params:ie,slidesEl:we}=c;if(!ie.loop||c.virtual&&c.params.virtual.enabled)return;const Ie=()=>{elementChildren(we,`.${ie.slideClass}, swiper-slide`).forEach((yr,kr)=>{yr.setAttribute("data-swiper-slide-index",kr)})},Me=c.grid&&ie.grid&&ie.grid.rows>1,Ze=ie.slidesPerGroup*(Me?ie.grid.rows:1),ne=c.slides.length%Ze!==0,rr=Me&&c.slides.length%ie.grid.rows!==0,pr=lr=>{for(let yr=0;yr<lr;yr+=1){const kr=c.isElement?createElement("swiper-slide",[ie.slideBlankClass]):createElement("div",[ie.slideClass,ie.slideBlankClass]);c.slidesEl.append(kr)}};if(ne){if(ie.loopAddBlankSlides){const lr=Ze-c.slides.length%Ze;pr(lr),c.recalcSlides(),c.updateSlides()}else showWarning("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");Ie()}else if(rr){if(ie.loopAddBlankSlides){const lr=ie.grid.rows-c.slides.length%ie.grid.rows;pr(lr),c.recalcSlides(),c.updateSlides()}else showWarning("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");Ie()}else Ie();c.loopFix({slideRealIndex:m,direction:ie.centeredSlides?void 0:"next"})}function loopFix(m){let{slideRealIndex:c,slideTo:ie=!0,direction:we,setTranslate:Ie,activeSlideIndex:Me,byController:Ze,byMousewheel:ne}=m===void 0?{}:m;const rr=this;if(!rr.params.loop)return;rr.emit("beforeLoopFix");const{slides:pr,allowSlidePrev:lr,allowSlideNext:yr,slidesEl:kr,params:Br}=rr,{centeredSlides:Ar}=Br;if(rr.allowSlidePrev=!0,rr.allowSlideNext=!0,rr.virtual&&Br.virtual.enabled){ie&&(!Br.centeredSlides&&rr.snapIndex===0?rr.slideTo(rr.virtual.slides.length,0,!1,!0):Br.centeredSlides&&rr.snapIndex<Br.slidesPerView?rr.slideTo(rr.virtual.slides.length+rr.snapIndex,0,!1,!0):rr.snapIndex===rr.snapGrid.length-1&&rr.slideTo(rr.virtual.slidesBefore,0,!1,!0)),rr.allowSlidePrev=lr,rr.allowSlideNext=yr,rr.emit("loopFix");return}let Pr=Br.slidesPerView;Pr==="auto"?Pr=rr.slidesPerViewDynamic():(Pr=Math.ceil(parseFloat(Br.slidesPerView,10)),Ar&&Pr%2===0&&(Pr=Pr+1));const Nr=Br.slidesPerGroupAuto?Pr:Br.slidesPerGroup;let ei=Nr;ei%Nr!==0&&(ei+=Nr-ei%Nr),ei+=Br.loopAdditionalSlides,rr.loopedSlides=ei;const Vr=rr.grid&&Br.grid&&Br.grid.rows>1;pr.length<Pr+ei?showWarning("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):Vr&&Br.grid.fill==="row"&&showWarning("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const Zr=[],Wr=[];let ai=rr.activeIndex;typeof Me>"u"?Me=rr.getSlideIndex(pr.find(ze=>ze.classList.contains(Br.slideActiveClass))):ai=Me;const ui=we==="next"||!we,di=we==="prev"||!we;let fi=0,li=0;const hi=Vr?Math.ceil(pr.length/Br.grid.rows):pr.length,Ae=(Vr?pr[Me].column:Me)+(Ar&&typeof Ie>"u"?-Pr/2+.5:0);if(Ae<ei){fi=Math.max(ei-Ae,Nr);for(let ze=0;ze<ei-Ae;ze+=1){const Ue=ze-Math.floor(ze/hi)*hi;if(Vr){const tr=hi-Ue-1;for(let or=pr.length-1;or>=0;or-=1)pr[or].column===tr&&Zr.push(or)}else Zr.push(hi-Ue-1)}}else if(Ae+Pr>hi-ei){li=Math.max(Ae-(hi-ei*2),Nr);for(let ze=0;ze<li;ze+=1){const Ue=ze-Math.floor(ze/hi)*hi;Vr?pr.forEach((tr,or)=>{tr.column===Ue&&Wr.push(or)}):Wr.push(Ue)}}if(rr.__preventObserver__=!0,requestAnimationFrame(()=>{rr.__preventObserver__=!1}),di&&Zr.forEach(ze=>{pr[ze].swiperLoopMoveDOM=!0,kr.prepend(pr[ze]),pr[ze].swiperLoopMoveDOM=!1}),ui&&Wr.forEach(ze=>{pr[ze].swiperLoopMoveDOM=!0,kr.append(pr[ze]),pr[ze].swiperLoopMoveDOM=!1}),rr.recalcSlides(),Br.slidesPerView==="auto"?rr.updateSlides():Vr&&(Zr.length>0&&di||Wr.length>0&&ui)&&rr.slides.forEach((ze,Ue)=>{rr.grid.updateSlide(Ue,ze,rr.slides)}),Br.watchSlidesProgress&&rr.updateSlidesOffset(),ie){if(Zr.length>0&&di){if(typeof c>"u"){const ze=rr.slidesGrid[ai],tr=rr.slidesGrid[ai+fi]-ze;ne?rr.setTranslate(rr.translate-tr):(rr.slideTo(ai+Math.ceil(fi),0,!1,!0),Ie&&(rr.touchEventsData.startTranslate=rr.touchEventsData.startTranslate-tr,rr.touchEventsData.currentTranslate=rr.touchEventsData.currentTranslate-tr))}else if(Ie){const ze=Vr?Zr.length/Br.grid.rows:Zr.length;rr.slideTo(rr.activeIndex+ze,0,!1,!0),rr.touchEventsData.currentTranslate=rr.translate}}else if(Wr.length>0&&ui)if(typeof c>"u"){const ze=rr.slidesGrid[ai],tr=rr.slidesGrid[ai-li]-ze;ne?rr.setTranslate(rr.translate-tr):(rr.slideTo(ai-li,0,!1,!0),Ie&&(rr.touchEventsData.startTranslate=rr.touchEventsData.startTranslate-tr,rr.touchEventsData.currentTranslate=rr.touchEventsData.currentTranslate-tr))}else{const ze=Vr?Wr.length/Br.grid.rows:Wr.length;rr.slideTo(rr.activeIndex-ze,0,!1,!0)}}if(rr.allowSlidePrev=lr,rr.allowSlideNext=yr,rr.controller&&rr.controller.control&&!Ze){const ze={slideRealIndex:c,direction:we,setTranslate:Ie,activeSlideIndex:Me,byController:!0};Array.isArray(rr.controller.control)?rr.controller.control.forEach(Ue=>{!Ue.destroyed&&Ue.params.loop&&Ue.loopFix({...ze,slideTo:Ue.params.slidesPerView===Br.slidesPerView?ie:!1})}):rr.controller.control instanceof rr.constructor&&rr.controller.control.params.loop&&rr.controller.control.loopFix({...ze,slideTo:rr.controller.control.params.slidesPerView===Br.slidesPerView?ie:!1})}rr.emit("loopFix")}function loopDestroy(){const m=this,{params:c,slidesEl:ie}=m;if(!c.loop||m.virtual&&m.params.virtual.enabled)return;m.recalcSlides();const we=[];m.slides.forEach(Ie=>{const Me=typeof Ie.swiperSlideIndex>"u"?Ie.getAttribute("data-swiper-slide-index")*1:Ie.swiperSlideIndex;we[Me]=Ie}),m.slides.forEach(Ie=>{Ie.removeAttribute("data-swiper-slide-index")}),we.forEach(Ie=>{ie.append(Ie)}),m.recalcSlides(),m.slideTo(m.realIndex,0)}var loop={loopCreate,loopFix,loopDestroy};function setGrabCursor(m){const c=this;if(!c.params.simulateTouch||c.params.watchOverflow&&c.isLocked||c.params.cssMode)return;const ie=c.params.touchEventsTarget==="container"?c.el:c.wrapperEl;c.isElement&&(c.__preventObserver__=!0),ie.style.cursor="move",ie.style.cursor=m?"grabbing":"grab",c.isElement&&requestAnimationFrame(()=>{c.__preventObserver__=!1})}function unsetGrabCursor(){const m=this;m.params.watchOverflow&&m.isLocked||m.params.cssMode||(m.isElement&&(m.__preventObserver__=!0),m[m.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",m.isElement&&requestAnimationFrame(()=>{m.__preventObserver__=!1}))}var grabCursor={setGrabCursor,unsetGrabCursor};function closestElement(m,c){c===void 0&&(c=this);function ie(we){if(!we||we===getDocument()||we===getWindow())return null;we.assignedSlot&&(we=we.assignedSlot);const Ie=we.closest(m);return!Ie&&!we.getRootNode?null:Ie||ie(we.getRootNode().host)}return ie(c)}function preventEdgeSwipe(m,c,ie){const we=getWindow(),{params:Ie}=m,Me=Ie.edgeSwipeDetection,Ze=Ie.edgeSwipeThreshold;return Me&&(ie<=Ze||ie>=we.innerWidth-Ze)?Me==="prevent"?(c.preventDefault(),!0):!1:!0}function onTouchStart(m){const c=this,ie=getDocument();let we=m;we.originalEvent&&(we=we.originalEvent);const Ie=c.touchEventsData;if(we.type==="pointerdown"){if(Ie.pointerId!==null&&Ie.pointerId!==we.pointerId)return;Ie.pointerId=we.pointerId}else we.type==="touchstart"&&we.targetTouches.length===1&&(Ie.touchId=we.targetTouches[0].identifier);if(we.type==="touchstart"){preventEdgeSwipe(c,we,we.targetTouches[0].pageX);return}const{params:Me,touches:Ze,enabled:ne}=c;if(!ne||!Me.simulateTouch&&we.pointerType==="mouse"||c.animating&&Me.preventInteractionOnTransition)return;!c.animating&&Me.cssMode&&Me.loop&&c.loopFix();let rr=we.target;if(Me.touchEventsTarget==="wrapper"&&!elementIsChildOf(rr,c.wrapperEl)||"which"in we&&we.which===3||"button"in we&&we.button>0||Ie.isTouched&&Ie.isMoved)return;const pr=!!Me.noSwipingClass&&Me.noSwipingClass!=="",lr=we.composedPath?we.composedPath():we.path;pr&&we.target&&we.target.shadowRoot&&lr&&(rr=lr[0]);const yr=Me.noSwipingSelector?Me.noSwipingSelector:`.${Me.noSwipingClass}`,kr=!!(we.target&&we.target.shadowRoot);if(Me.noSwiping&&(kr?closestElement(yr,rr):rr.closest(yr))){c.allowClick=!0;return}if(Me.swipeHandler&&!rr.closest(Me.swipeHandler))return;Ze.currentX=we.pageX,Ze.currentY=we.pageY;const Br=Ze.currentX,Ar=Ze.currentY;if(!preventEdgeSwipe(c,we,Br))return;Object.assign(Ie,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),Ze.startX=Br,Ze.startY=Ar,Ie.touchStartTime=now(),c.allowClick=!0,c.updateSize(),c.swipeDirection=void 0,Me.threshold>0&&(Ie.allowThresholdMove=!1);let Pr=!0;rr.matches(Ie.focusableElements)&&(Pr=!1,rr.nodeName==="SELECT"&&(Ie.isTouched=!1)),ie.activeElement&&ie.activeElement.matches(Ie.focusableElements)&&ie.activeElement!==rr&&(we.pointerType==="mouse"||we.pointerType!=="mouse"&&!rr.matches(Ie.focusableElements))&&ie.activeElement.blur();const Nr=Pr&&c.allowTouchMove&&Me.touchStartPreventDefault;(Me.touchStartForcePreventDefault||Nr)&&!rr.isContentEditable&&we.preventDefault(),Me.freeMode&&Me.freeMode.enabled&&c.freeMode&&c.animating&&!Me.cssMode&&c.freeMode.onTouchStart(),c.emit("touchStart",we)}function onTouchMove(m){const c=getDocument(),ie=this,we=ie.touchEventsData,{params:Ie,touches:Me,rtlTranslate:Ze,enabled:ne}=ie;if(!ne||!Ie.simulateTouch&&m.pointerType==="mouse")return;let rr=m;if(rr.originalEvent&&(rr=rr.originalEvent),rr.type==="pointermove"&&(we.touchId!==null||rr.pointerId!==we.pointerId))return;let pr;if(rr.type==="touchmove"){if(pr=[...rr.changedTouches].find(ui=>ui.identifier===we.touchId),!pr||pr.identifier!==we.touchId)return}else pr=rr;if(!we.isTouched){we.startMoving&&we.isScrolling&&ie.emit("touchMoveOpposite",rr);return}const lr=pr.pageX,yr=pr.pageY;if(rr.preventedByNestedSwiper){Me.startX=lr,Me.startY=yr;return}if(!ie.allowTouchMove){rr.target.matches(we.focusableElements)||(ie.allowClick=!1),we.isTouched&&(Object.assign(Me,{startX:lr,startY:yr,currentX:lr,currentY:yr}),we.touchStartTime=now());return}if(Ie.touchReleaseOnEdges&&!Ie.loop){if(ie.isVertical()){if(yr<Me.startY&&ie.translate<=ie.maxTranslate()||yr>Me.startY&&ie.translate>=ie.minTranslate()){we.isTouched=!1,we.isMoved=!1;return}}else if(lr<Me.startX&&ie.translate<=ie.maxTranslate()||lr>Me.startX&&ie.translate>=ie.minTranslate())return}if(c.activeElement&&c.activeElement.matches(we.focusableElements)&&c.activeElement!==rr.target&&rr.pointerType!=="mouse"&&c.activeElement.blur(),c.activeElement&&rr.target===c.activeElement&&rr.target.matches(we.focusableElements)){we.isMoved=!0,ie.allowClick=!1;return}we.allowTouchCallbacks&&ie.emit("touchMove",rr),Me.previousX=Me.currentX,Me.previousY=Me.currentY,Me.currentX=lr,Me.currentY=yr;const kr=Me.currentX-Me.startX,Br=Me.currentY-Me.startY;if(ie.params.threshold&&Math.sqrt(kr**2+Br**2)<ie.params.threshold)return;if(typeof we.isScrolling>"u"){let ui;ie.isHorizontal()&&Me.currentY===Me.startY||ie.isVertical()&&Me.currentX===Me.startX?we.isScrolling=!1:kr*kr+Br*Br>=25&&(ui=Math.atan2(Math.abs(Br),Math.abs(kr))*180/Math.PI,we.isScrolling=ie.isHorizontal()?ui>Ie.touchAngle:90-ui>Ie.touchAngle)}if(we.isScrolling&&ie.emit("touchMoveOpposite",rr),typeof we.startMoving>"u"&&(Me.currentX!==Me.startX||Me.currentY!==Me.startY)&&(we.startMoving=!0),we.isScrolling||rr.type==="touchmove"&&we.preventTouchMoveFromPointerMove){we.isTouched=!1;return}if(!we.startMoving)return;ie.allowClick=!1,!Ie.cssMode&&rr.cancelable&&rr.preventDefault(),Ie.touchMoveStopPropagation&&!Ie.nested&&rr.stopPropagation();let Ar=ie.isHorizontal()?kr:Br,Pr=ie.isHorizontal()?Me.currentX-Me.previousX:Me.currentY-Me.previousY;Ie.oneWayMovement&&(Ar=Math.abs(Ar)*(Ze?1:-1),Pr=Math.abs(Pr)*(Ze?1:-1)),Me.diff=Ar,Ar*=Ie.touchRatio,Ze&&(Ar=-Ar,Pr=-Pr);const Nr=ie.touchesDirection;ie.swipeDirection=Ar>0?"prev":"next",ie.touchesDirection=Pr>0?"prev":"next";const ei=ie.params.loop&&!Ie.cssMode,Vr=ie.touchesDirection==="next"&&ie.allowSlideNext||ie.touchesDirection==="prev"&&ie.allowSlidePrev;if(!we.isMoved){if(ei&&Vr&&ie.loopFix({direction:ie.swipeDirection}),we.startTranslate=ie.getTranslate(),ie.setTransition(0),ie.animating){const ui=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});ie.wrapperEl.dispatchEvent(ui)}we.allowMomentumBounce=!1,Ie.grabCursor&&(ie.allowSlideNext===!0||ie.allowSlidePrev===!0)&&ie.setGrabCursor(!0),ie.emit("sliderFirstMove",rr)}let Zr;if(new Date().getTime(),we.isMoved&&we.allowThresholdMove&&Nr!==ie.touchesDirection&&ei&&Vr&&Math.abs(Ar)>=1){Object.assign(Me,{startX:lr,startY:yr,currentX:lr,currentY:yr,startTranslate:we.currentTranslate}),we.loopSwapReset=!0,we.startTranslate=we.currentTranslate;return}ie.emit("sliderMove",rr),we.isMoved=!0,we.currentTranslate=Ar+we.startTranslate;let Wr=!0,ai=Ie.resistanceRatio;if(Ie.touchReleaseOnEdges&&(ai=0),Ar>0?(ei&&Vr&&!Zr&&we.allowThresholdMove&&we.currentTranslate>(Ie.centeredSlides?ie.minTranslate()-ie.slidesSizesGrid[ie.activeIndex+1]-(Ie.slidesPerView!=="auto"&&ie.slides.length-Ie.slidesPerView>=2?ie.slidesSizesGrid[ie.activeIndex+1]+ie.params.spaceBetween:0)-ie.params.spaceBetween:ie.minTranslate())&&ie.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),we.currentTranslate>ie.minTranslate()&&(Wr=!1,Ie.resistance&&(we.currentTranslate=ie.minTranslate()-1+(-ie.minTranslate()+we.startTranslate+Ar)**ai))):Ar<0&&(ei&&Vr&&!Zr&&we.allowThresholdMove&&we.currentTranslate<(Ie.centeredSlides?ie.maxTranslate()+ie.slidesSizesGrid[ie.slidesSizesGrid.length-1]+ie.params.spaceBetween+(Ie.slidesPerView!=="auto"&&ie.slides.length-Ie.slidesPerView>=2?ie.slidesSizesGrid[ie.slidesSizesGrid.length-1]+ie.params.spaceBetween:0):ie.maxTranslate())&&ie.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:ie.slides.length-(Ie.slidesPerView==="auto"?ie.slidesPerViewDynamic():Math.ceil(parseFloat(Ie.slidesPerView,10)))}),we.currentTranslate<ie.maxTranslate()&&(Wr=!1,Ie.resistance&&(we.currentTranslate=ie.maxTranslate()+1-(ie.maxTranslate()-we.startTranslate-Ar)**ai))),Wr&&(rr.preventedByNestedSwiper=!0),!ie.allowSlideNext&&ie.swipeDirection==="next"&&we.currentTranslate<we.startTranslate&&(we.currentTranslate=we.startTranslate),!ie.allowSlidePrev&&ie.swipeDirection==="prev"&&we.currentTranslate>we.startTranslate&&(we.currentTranslate=we.startTranslate),!ie.allowSlidePrev&&!ie.allowSlideNext&&(we.currentTranslate=we.startTranslate),Ie.threshold>0)if(Math.abs(Ar)>Ie.threshold||we.allowThresholdMove){if(!we.allowThresholdMove){we.allowThresholdMove=!0,Me.startX=Me.currentX,Me.startY=Me.currentY,we.currentTranslate=we.startTranslate,Me.diff=ie.isHorizontal()?Me.currentX-Me.startX:Me.currentY-Me.startY;return}}else{we.currentTranslate=we.startTranslate;return}!Ie.followFinger||Ie.cssMode||((Ie.freeMode&&Ie.freeMode.enabled&&ie.freeMode||Ie.watchSlidesProgress)&&(ie.updateActiveIndex(),ie.updateSlidesClasses()),Ie.freeMode&&Ie.freeMode.enabled&&ie.freeMode&&ie.freeMode.onTouchMove(),ie.updateProgress(we.currentTranslate),ie.setTranslate(we.currentTranslate))}function onTouchEnd(m){const c=this,ie=c.touchEventsData;let we=m;we.originalEvent&&(we=we.originalEvent);let Ie;if(we.type==="touchend"||we.type==="touchcancel"){if(Ie=[...we.changedTouches].find(ai=>ai.identifier===ie.touchId),!Ie||Ie.identifier!==ie.touchId)return}else{if(ie.touchId!==null||we.pointerId!==ie.pointerId)return;Ie=we}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(we.type)&&!(["pointercancel","contextmenu"].includes(we.type)&&(c.browser.isSafari||c.browser.isWebView)))return;ie.pointerId=null,ie.touchId=null;const{params:Ze,touches:ne,rtlTranslate:rr,slidesGrid:pr,enabled:lr}=c;if(!lr||!Ze.simulateTouch&&we.pointerType==="mouse")return;if(ie.allowTouchCallbacks&&c.emit("touchEnd",we),ie.allowTouchCallbacks=!1,!ie.isTouched){ie.isMoved&&Ze.grabCursor&&c.setGrabCursor(!1),ie.isMoved=!1,ie.startMoving=!1;return}Ze.grabCursor&&ie.isMoved&&ie.isTouched&&(c.allowSlideNext===!0||c.allowSlidePrev===!0)&&c.setGrabCursor(!1);const yr=now(),kr=yr-ie.touchStartTime;if(c.allowClick){const ai=we.path||we.composedPath&&we.composedPath();c.updateClickedSlide(ai&&ai[0]||we.target,ai),c.emit("tap click",we),kr<300&&yr-ie.lastClickTime<300&&c.emit("doubleTap doubleClick",we)}if(ie.lastClickTime=now(),nextTick(()=>{c.destroyed||(c.allowClick=!0)}),!ie.isTouched||!ie.isMoved||!c.swipeDirection||ne.diff===0&&!ie.loopSwapReset||ie.currentTranslate===ie.startTranslate&&!ie.loopSwapReset){ie.isTouched=!1,ie.isMoved=!1,ie.startMoving=!1;return}ie.isTouched=!1,ie.isMoved=!1,ie.startMoving=!1;let Br;if(Ze.followFinger?Br=rr?c.translate:-c.translate:Br=-ie.currentTranslate,Ze.cssMode)return;if(Ze.freeMode&&Ze.freeMode.enabled){c.freeMode.onTouchEnd({currentPos:Br});return}const Ar=Br>=-c.maxTranslate()&&!c.params.loop;let Pr=0,Nr=c.slidesSizesGrid[0];for(let ai=0;ai<pr.length;ai+=ai<Ze.slidesPerGroupSkip?1:Ze.slidesPerGroup){const ui=ai<Ze.slidesPerGroupSkip-1?1:Ze.slidesPerGroup;typeof pr[ai+ui]<"u"?(Ar||Br>=pr[ai]&&Br<pr[ai+ui])&&(Pr=ai,Nr=pr[ai+ui]-pr[ai]):(Ar||Br>=pr[ai])&&(Pr=ai,Nr=pr[pr.length-1]-pr[pr.length-2])}let ei=null,Vr=null;Ze.rewind&&(c.isBeginning?Vr=Ze.virtual&&Ze.virtual.enabled&&c.virtual?c.virtual.slides.length-1:c.slides.length-1:c.isEnd&&(ei=0));const Zr=(Br-pr[Pr])/Nr,Wr=Pr<Ze.slidesPerGroupSkip-1?1:Ze.slidesPerGroup;if(kr>Ze.longSwipesMs){if(!Ze.longSwipes){c.slideTo(c.activeIndex);return}c.swipeDirection==="next"&&(Zr>=Ze.longSwipesRatio?c.slideTo(Ze.rewind&&c.isEnd?ei:Pr+Wr):c.slideTo(Pr)),c.swipeDirection==="prev"&&(Zr>1-Ze.longSwipesRatio?c.slideTo(Pr+Wr):Vr!==null&&Zr<0&&Math.abs(Zr)>Ze.longSwipesRatio?c.slideTo(Vr):c.slideTo(Pr))}else{if(!Ze.shortSwipes){c.slideTo(c.activeIndex);return}c.navigation&&(we.target===c.navigation.nextEl||we.target===c.navigation.prevEl)?we.target===c.navigation.nextEl?c.slideTo(Pr+Wr):c.slideTo(Pr):(c.swipeDirection==="next"&&c.slideTo(ei!==null?ei:Pr+Wr),c.swipeDirection==="prev"&&c.slideTo(Vr!==null?Vr:Pr))}}function onResize(){const m=this,{params:c,el:ie}=m;if(ie&&ie.offsetWidth===0)return;c.breakpoints&&m.setBreakpoint();const{allowSlideNext:we,allowSlidePrev:Ie,snapGrid:Me}=m,Ze=m.virtual&&m.params.virtual.enabled;m.allowSlideNext=!0,m.allowSlidePrev=!0,m.updateSize(),m.updateSlides(),m.updateSlidesClasses();const ne=Ze&&c.loop;(c.slidesPerView==="auto"||c.slidesPerView>1)&&m.isEnd&&!m.isBeginning&&!m.params.centeredSlides&&!ne?m.slideTo(m.slides.length-1,0,!1,!0):m.params.loop&&!Ze?m.slideToLoop(m.realIndex,0,!1,!0):m.slideTo(m.activeIndex,0,!1,!0),m.autoplay&&m.autoplay.running&&m.autoplay.paused&&(clearTimeout(m.autoplay.resizeTimeout),m.autoplay.resizeTimeout=setTimeout(()=>{m.autoplay&&m.autoplay.running&&m.autoplay.paused&&m.autoplay.resume()},500)),m.allowSlidePrev=Ie,m.allowSlideNext=we,m.params.watchOverflow&&Me!==m.snapGrid&&m.checkOverflow()}function onClick(m){const c=this;!c.enabled||c.allowClick||(c.params.preventClicks&&m.preventDefault(),c.params.preventClicksPropagation&&c.animating&&(m.stopPropagation(),m.stopImmediatePropagation()))}function onScroll(){const m=this,{wrapperEl:c,rtlTranslate:ie,enabled:we}=m;if(!we)return;m.previousTranslate=m.translate,m.isHorizontal()?m.translate=-c.scrollLeft:m.translate=-c.scrollTop,m.translate===0&&(m.translate=0),m.updateActiveIndex(),m.updateSlidesClasses();let Ie;const Me=m.maxTranslate()-m.minTranslate();Me===0?Ie=0:Ie=(m.translate-m.minTranslate())/Me,Ie!==m.progress&&m.updateProgress(ie?-m.translate:m.translate),m.emit("setTranslate",m.translate,!1)}function onLoad(m){const c=this;processLazyPreloader(c,m.target),!(c.params.cssMode||c.params.slidesPerView!=="auto"&&!c.params.autoHeight)&&c.update()}function onDocumentTouchStart(){const m=this;m.documentTouchHandlerProceeded||(m.documentTouchHandlerProceeded=!0,m.params.touchReleaseOnEdges&&(m.el.style.touchAction="auto"))}const events=(m,c)=>{const ie=getDocument(),{params:we,el:Ie,wrapperEl:Me,device:Ze}=m,ne=!!we.nested,rr=c==="on"?"addEventListener":"removeEventListener",pr=c;!Ie||typeof Ie=="string"||(ie[rr]("touchstart",m.onDocumentTouchStart,{passive:!1,capture:ne}),Ie[rr]("touchstart",m.onTouchStart,{passive:!1}),Ie[rr]("pointerdown",m.onTouchStart,{passive:!1}),ie[rr]("touchmove",m.onTouchMove,{passive:!1,capture:ne}),ie[rr]("pointermove",m.onTouchMove,{passive:!1,capture:ne}),ie[rr]("touchend",m.onTouchEnd,{passive:!0}),ie[rr]("pointerup",m.onTouchEnd,{passive:!0}),ie[rr]("pointercancel",m.onTouchEnd,{passive:!0}),ie[rr]("touchcancel",m.onTouchEnd,{passive:!0}),ie[rr]("pointerout",m.onTouchEnd,{passive:!0}),ie[rr]("pointerleave",m.onTouchEnd,{passive:!0}),ie[rr]("contextmenu",m.onTouchEnd,{passive:!0}),(we.preventClicks||we.preventClicksPropagation)&&Ie[rr]("click",m.onClick,!0),we.cssMode&&Me[rr]("scroll",m.onScroll),we.updateOnWindowResize?m[pr](Ze.ios||Ze.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0):m[pr]("observerUpdate",onResize,!0),Ie[rr]("load",m.onLoad,{capture:!0}))};function attachEvents(){const m=this,{params:c}=m;m.onTouchStart=onTouchStart.bind(m),m.onTouchMove=onTouchMove.bind(m),m.onTouchEnd=onTouchEnd.bind(m),m.onDocumentTouchStart=onDocumentTouchStart.bind(m),c.cssMode&&(m.onScroll=onScroll.bind(m)),m.onClick=onClick.bind(m),m.onLoad=onLoad.bind(m),events(m,"on")}function detachEvents(){events(this,"off")}var events$1={attachEvents,detachEvents};const isGridEnabled=(m,c)=>m.grid&&c.grid&&c.grid.rows>1;function setBreakpoint(){const m=this,{realIndex:c,initialized:ie,params:we,el:Ie}=m,Me=we.breakpoints;if(!Me||Me&&Object.keys(Me).length===0)return;const Ze=getDocument(),ne=we.breakpointsBase==="window"||!we.breakpointsBase?we.breakpointsBase:"container",rr=["window","container"].includes(we.breakpointsBase)||!we.breakpointsBase?m.el:Ze.querySelector(we.breakpointsBase),pr=m.getBreakpoint(Me,ne,rr);if(!pr||m.currentBreakpoint===pr)return;const yr=(pr in Me?Me[pr]:void 0)||m.originalParams,kr=isGridEnabled(m,we),Br=isGridEnabled(m,yr),Ar=m.params.grabCursor,Pr=yr.grabCursor,Nr=we.enabled;kr&&!Br?(Ie.classList.remove(`${we.containerModifierClass}grid`,`${we.containerModifierClass}grid-column`),m.emitContainerClasses()):!kr&&Br&&(Ie.classList.add(`${we.containerModifierClass}grid`),(yr.grid.fill&&yr.grid.fill==="column"||!yr.grid.fill&&we.grid.fill==="column")&&Ie.classList.add(`${we.containerModifierClass}grid-column`),m.emitContainerClasses()),Ar&&!Pr?m.unsetGrabCursor():!Ar&&Pr&&m.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(ui=>{if(typeof yr[ui]>"u")return;const di=we[ui]&&we[ui].enabled,fi=yr[ui]&&yr[ui].enabled;di&&!fi&&m[ui].disable(),!di&&fi&&m[ui].enable()});const ei=yr.direction&&yr.direction!==we.direction,Vr=we.loop&&(yr.slidesPerView!==we.slidesPerView||ei),Zr=we.loop;ei&&ie&&m.changeDirection(),extend$1(m.params,yr);const Wr=m.params.enabled,ai=m.params.loop;Object.assign(m,{allowTouchMove:m.params.allowTouchMove,allowSlideNext:m.params.allowSlideNext,allowSlidePrev:m.params.allowSlidePrev}),Nr&&!Wr?m.disable():!Nr&&Wr&&m.enable(),m.currentBreakpoint=pr,m.emit("_beforeBreakpoint",yr),ie&&(Vr?(m.loopDestroy(),m.loopCreate(c),m.updateSlides()):!Zr&&ai?(m.loopCreate(c),m.updateSlides()):Zr&&!ai&&m.loopDestroy()),m.emit("breakpoint",yr)}function getBreakpoint(m,c,ie){if(c===void 0&&(c="window"),!m||c==="container"&&!ie)return;let we=!1;const Ie=getWindow(),Me=c==="window"?Ie.innerHeight:ie.clientHeight,Ze=Object.keys(m).map(ne=>{if(typeof ne=="string"&&ne.indexOf("@")===0){const rr=parseFloat(ne.substr(1));return{value:Me*rr,point:ne}}return{value:ne,point:ne}});Ze.sort((ne,rr)=>parseInt(ne.value,10)-parseInt(rr.value,10));for(let ne=0;ne<Ze.length;ne+=1){const{point:rr,value:pr}=Ze[ne];c==="window"?Ie.matchMedia(`(min-width: ${pr}px)`).matches&&(we=rr):pr<=ie.clientWidth&&(we=rr)}return we||"max"}var breakpoints={setBreakpoint,getBreakpoint};function prepareClasses(m,c){const ie=[];return m.forEach(we=>{typeof we=="object"?Object.keys(we).forEach(Ie=>{we[Ie]&&ie.push(c+Ie)}):typeof we=="string"&&ie.push(c+we)}),ie}function addClasses(){const m=this,{classNames:c,params:ie,rtl:we,el:Ie,device:Me}=m,Ze=prepareClasses(["initialized",ie.direction,{"free-mode":m.params.freeMode&&ie.freeMode.enabled},{autoheight:ie.autoHeight},{rtl:we},{grid:ie.grid&&ie.grid.rows>1},{"grid-column":ie.grid&&ie.grid.rows>1&&ie.grid.fill==="column"},{android:Me.android},{ios:Me.ios},{"css-mode":ie.cssMode},{centered:ie.cssMode&&ie.centeredSlides},{"watch-progress":ie.watchSlidesProgress}],ie.containerModifierClass);c.push(...Ze),Ie.classList.add(...c),m.emitContainerClasses()}function removeClasses(){const m=this,{el:c,classNames:ie}=m;!c||typeof c=="string"||(c.classList.remove(...ie),m.emitContainerClasses())}var classes={addClasses,removeClasses};function checkOverflow(){const m=this,{isLocked:c,params:ie}=m,{slidesOffsetBefore:we}=ie;if(we){const Ie=m.slides.length-1,Me=m.slidesGrid[Ie]+m.slidesSizesGrid[Ie]+we*2;m.isLocked=m.size>Me}else m.isLocked=m.snapGrid.length===1;ie.allowSlideNext===!0&&(m.allowSlideNext=!m.isLocked),ie.allowSlidePrev===!0&&(m.allowSlidePrev=!m.isLocked),c&&c!==m.isLocked&&(m.isEnd=!1),c!==m.isLocked&&m.emit(m.isLocked?"lock":"unlock")}var checkOverflow$1={checkOverflow},defaults={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function moduleExtendParams(m,c){return function(we){we===void 0&&(we={});const Ie=Object.keys(we)[0],Me=we[Ie];if(typeof Me!="object"||Me===null){extend$1(c,we);return}if(m[Ie]===!0&&(m[Ie]={enabled:!0}),Ie==="navigation"&&m[Ie]&&m[Ie].enabled&&!m[Ie].prevEl&&!m[Ie].nextEl&&(m[Ie].auto=!0),["pagination","scrollbar"].indexOf(Ie)>=0&&m[Ie]&&m[Ie].enabled&&!m[Ie].el&&(m[Ie].auto=!0),!(Ie in m&&"enabled"in Me)){extend$1(c,we);return}typeof m[Ie]=="object"&&!("enabled"in m[Ie])&&(m[Ie].enabled=!0),m[Ie]||(m[Ie]={enabled:!1}),extend$1(c,we)}}const prototypes={eventsEmitter,update,translate,transition,slide,loop,grabCursor,events:events$1,breakpoints,checkOverflow:checkOverflow$1,classes},extendedDefaults={};class Swiper$1{constructor(){let c,ie;for(var we=arguments.length,Ie=new Array(we),Me=0;Me<we;Me++)Ie[Me]=arguments[Me];Ie.length===1&&Ie[0].constructor&&Object.prototype.toString.call(Ie[0]).slice(8,-1)==="Object"?ie=Ie[0]:[c,ie]=Ie,ie||(ie={}),ie=extend$1({},ie),c&&!ie.el&&(ie.el=c);const Ze=getDocument();if(ie.el&&typeof ie.el=="string"&&Ze.querySelectorAll(ie.el).length>1){const lr=[];return Ze.querySelectorAll(ie.el).forEach(yr=>{const kr=extend$1({},ie,{el:yr});lr.push(new Swiper$1(kr))}),lr}const ne=this;ne.__swiper__=!0,ne.support=getSupport(),ne.device=getDevice({userAgent:ie.userAgent}),ne.browser=getBrowser(),ne.eventsListeners={},ne.eventsAnyListeners=[],ne.modules=[...ne.__modules__],ie.modules&&Array.isArray(ie.modules)&&ne.modules.push(...ie.modules);const rr={};ne.modules.forEach(lr=>{lr({params:ie,swiper:ne,extendParams:moduleExtendParams(ie,rr),on:ne.on.bind(ne),once:ne.once.bind(ne),off:ne.off.bind(ne),emit:ne.emit.bind(ne)})});const pr=extend$1({},defaults,rr);return ne.params=extend$1({},pr,extendedDefaults,ie),ne.originalParams=extend$1({},ne.params),ne.passedParams=extend$1({},ie),ne.params&&ne.params.on&&Object.keys(ne.params.on).forEach(lr=>{ne.on(lr,ne.params.on[lr])}),ne.params&&ne.params.onAny&&ne.onAny(ne.params.onAny),Object.assign(ne,{enabled:ne.params.enabled,el:c,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return ne.params.direction==="horizontal"},isVertical(){return ne.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:ne.params.allowSlideNext,allowSlidePrev:ne.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:ne.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:ne.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),ne.emit("_swiper"),ne.params.init&&ne.init(),ne}getDirectionLabel(c){return this.isHorizontal()?c:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[c]}getSlideIndex(c){const{slidesEl:ie,params:we}=this,Ie=elementChildren(ie,`.${we.slideClass}, swiper-slide`),Me=elementIndex(Ie[0]);return elementIndex(c)-Me}getSlideIndexByData(c){return this.getSlideIndex(this.slides.find(ie=>ie.getAttribute("data-swiper-slide-index")*1===c))}recalcSlides(){const c=this,{slidesEl:ie,params:we}=c;c.slides=elementChildren(ie,`.${we.slideClass}, swiper-slide`)}enable(){const c=this;c.enabled||(c.enabled=!0,c.params.grabCursor&&c.setGrabCursor(),c.emit("enable"))}disable(){const c=this;!c.enabled||(c.enabled=!1,c.params.grabCursor&&c.unsetGrabCursor(),c.emit("disable"))}setProgress(c,ie){const we=this;c=Math.min(Math.max(c,0),1);const Ie=we.minTranslate(),Ze=(we.maxTranslate()-Ie)*c+Ie;we.translateTo(Ze,typeof ie>"u"?0:ie),we.updateActiveIndex(),we.updateSlidesClasses()}emitContainerClasses(){const c=this;if(!c.params._emitClasses||!c.el)return;const ie=c.el.className.split(" ").filter(we=>we.indexOf("swiper")===0||we.indexOf(c.params.containerModifierClass)===0);c.emit("_containerClasses",ie.join(" "))}getSlideClasses(c){const ie=this;return ie.destroyed?"":c.className.split(" ").filter(we=>we.indexOf("swiper-slide")===0||we.indexOf(ie.params.slideClass)===0).join(" ")}emitSlidesClasses(){const c=this;if(!c.params._emitClasses||!c.el)return;const ie=[];c.slides.forEach(we=>{const Ie=c.getSlideClasses(we);ie.push({slideEl:we,classNames:Ie}),c.emit("_slideClass",we,Ie)}),c.emit("_slideClasses",ie)}slidesPerViewDynamic(c,ie){c===void 0&&(c="current"),ie===void 0&&(ie=!1);const we=this,{params:Ie,slides:Me,slidesGrid:Ze,slidesSizesGrid:ne,size:rr,activeIndex:pr}=we;let lr=1;if(typeof Ie.slidesPerView=="number")return Ie.slidesPerView;if(Ie.centeredSlides){let yr=Me[pr]?Math.ceil(Me[pr].swiperSlideSize):0,kr;for(let Br=pr+1;Br<Me.length;Br+=1)Me[Br]&&!kr&&(yr+=Math.ceil(Me[Br].swiperSlideSize),lr+=1,yr>rr&&(kr=!0));for(let Br=pr-1;Br>=0;Br-=1)Me[Br]&&!kr&&(yr+=Me[Br].swiperSlideSize,lr+=1,yr>rr&&(kr=!0))}else if(c==="current")for(let yr=pr+1;yr<Me.length;yr+=1)(ie?Ze[yr]+ne[yr]-Ze[pr]<rr:Ze[yr]-Ze[pr]<rr)&&(lr+=1);else for(let yr=pr-1;yr>=0;yr-=1)Ze[pr]-Ze[yr]<rr&&(lr+=1);return lr}update(){const c=this;if(!c||c.destroyed)return;const{snapGrid:ie,params:we}=c;we.breakpoints&&c.setBreakpoint(),[...c.el.querySelectorAll('[loading="lazy"]')].forEach(Ze=>{Ze.complete&&processLazyPreloader(c,Ze)}),c.updateSize(),c.updateSlides(),c.updateProgress(),c.updateSlidesClasses();function Ie(){const Ze=c.rtlTranslate?c.translate*-1:c.translate,ne=Math.min(Math.max(Ze,c.maxTranslate()),c.minTranslate());c.setTranslate(ne),c.updateActiveIndex(),c.updateSlidesClasses()}let Me;if(we.freeMode&&we.freeMode.enabled&&!we.cssMode)Ie(),we.autoHeight&&c.updateAutoHeight();else{if((we.slidesPerView==="auto"||we.slidesPerView>1)&&c.isEnd&&!we.centeredSlides){const Ze=c.virtual&&we.virtual.enabled?c.virtual.slides:c.slides;Me=c.slideTo(Ze.length-1,0,!1,!0)}else Me=c.slideTo(c.activeIndex,0,!1,!0);Me||Ie()}we.watchOverflow&&ie!==c.snapGrid&&c.checkOverflow(),c.emit("update")}changeDirection(c,ie){ie===void 0&&(ie=!0);const we=this,Ie=we.params.direction;return c||(c=Ie==="horizontal"?"vertical":"horizontal"),c===Ie||c!=="horizontal"&&c!=="vertical"||(we.el.classList.remove(`${we.params.containerModifierClass}${Ie}`),we.el.classList.add(`${we.params.containerModifierClass}${c}`),we.emitContainerClasses(),we.params.direction=c,we.slides.forEach(Me=>{c==="vertical"?Me.style.width="":Me.style.height=""}),we.emit("changeDirection"),ie&&we.update()),we}changeLanguageDirection(c){const ie=this;ie.rtl&&c==="rtl"||!ie.rtl&&c==="ltr"||(ie.rtl=c==="rtl",ie.rtlTranslate=ie.params.direction==="horizontal"&&ie.rtl,ie.rtl?(ie.el.classList.add(`${ie.params.containerModifierClass}rtl`),ie.el.dir="rtl"):(ie.el.classList.remove(`${ie.params.containerModifierClass}rtl`),ie.el.dir="ltr"),ie.update())}mount(c){const ie=this;if(ie.mounted)return!0;let we=c||ie.params.el;if(typeof we=="string"&&(we=document.querySelector(we)),!we)return!1;we.swiper=ie,we.parentNode&&we.parentNode.host&&we.parentNode.host.nodeName===ie.params.swiperElementNodeName.toUpperCase()&&(ie.isElement=!0);const Ie=()=>`.${(ie.params.wrapperClass||"").trim().split(" ").join(".")}`;let Ze=(()=>we&&we.shadowRoot&&we.shadowRoot.querySelector?we.shadowRoot.querySelector(Ie()):elementChildren(we,Ie())[0])();return!Ze&&ie.params.createElements&&(Ze=createElement("div",ie.params.wrapperClass),we.append(Ze),elementChildren(we,`.${ie.params.slideClass}`).forEach(ne=>{Ze.append(ne)})),Object.assign(ie,{el:we,wrapperEl:Ze,slidesEl:ie.isElement&&!we.parentNode.host.slideSlots?we.parentNode.host:Ze,hostEl:ie.isElement?we.parentNode.host:we,mounted:!0,rtl:we.dir.toLowerCase()==="rtl"||elementStyle(we,"direction")==="rtl",rtlTranslate:ie.params.direction==="horizontal"&&(we.dir.toLowerCase()==="rtl"||elementStyle(we,"direction")==="rtl"),wrongRTL:elementStyle(Ze,"display")==="-webkit-box"}),!0}init(c){const ie=this;if(ie.initialized||ie.mount(c)===!1)return ie;ie.emit("beforeInit"),ie.params.breakpoints&&ie.setBreakpoint(),ie.addClasses(),ie.updateSize(),ie.updateSlides(),ie.params.watchOverflow&&ie.checkOverflow(),ie.params.grabCursor&&ie.enabled&&ie.setGrabCursor(),ie.params.loop&&ie.virtual&&ie.params.virtual.enabled?ie.slideTo(ie.params.initialSlide+ie.virtual.slidesBefore,0,ie.params.runCallbacksOnInit,!1,!0):ie.slideTo(ie.params.initialSlide,0,ie.params.runCallbacksOnInit,!1,!0),ie.params.loop&&ie.loopCreate(),ie.attachEvents();const Ie=[...ie.el.querySelectorAll('[loading="lazy"]')];return ie.isElement&&Ie.push(...ie.hostEl.querySelectorAll('[loading="lazy"]')),Ie.forEach(Me=>{Me.complete?processLazyPreloader(ie,Me):Me.addEventListener("load",Ze=>{processLazyPreloader(ie,Ze.target)})}),preload(ie),ie.initialized=!0,preload(ie),ie.emit("init"),ie.emit("afterInit"),ie}destroy(c,ie){c===void 0&&(c=!0),ie===void 0&&(ie=!0);const we=this,{params:Ie,el:Me,wrapperEl:Ze,slides:ne}=we;return typeof we.params>"u"||we.destroyed||(we.emit("beforeDestroy"),we.initialized=!1,we.detachEvents(),Ie.loop&&we.loopDestroy(),ie&&(we.removeClasses(),Me&&typeof Me!="string"&&Me.removeAttribute("style"),Ze&&Ze.removeAttribute("style"),ne&&ne.length&&ne.forEach(rr=>{rr.classList.remove(Ie.slideVisibleClass,Ie.slideFullyVisibleClass,Ie.slideActiveClass,Ie.slideNextClass,Ie.slidePrevClass),rr.removeAttribute("style"),rr.removeAttribute("data-swiper-slide-index")})),we.emit("destroy"),Object.keys(we.eventsListeners).forEach(rr=>{we.off(rr)}),c!==!1&&(we.el&&typeof we.el!="string"&&(we.el.swiper=null),deleteProps(we)),we.destroyed=!0),null}static extendDefaults(c){extend$1(extendedDefaults,c)}static get extendedDefaults(){return extendedDefaults}static get defaults(){return defaults}static installModule(c){Swiper$1.prototype.__modules__||(Swiper$1.prototype.__modules__=[]);const ie=Swiper$1.prototype.__modules__;typeof c=="function"&&ie.indexOf(c)<0&&ie.push(c)}static use(c){return Array.isArray(c)?(c.forEach(ie=>Swiper$1.installModule(ie)),Swiper$1):(Swiper$1.installModule(c),Swiper$1)}}Object.keys(prototypes).forEach(m=>{Object.keys(prototypes[m]).forEach(c=>{Swiper$1.prototype[c]=prototypes[m][c]})}),Swiper$1.use([Resize,Observer]);const paramsList=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function isObject(m){return typeof m=="object"&&m!==null&&m.constructor&&Object.prototype.toString.call(m).slice(8,-1)==="Object"&&!m.__swiper__}function extend(m,c){const ie=["__proto__","constructor","prototype"];Object.keys(c).filter(we=>ie.indexOf(we)<0).forEach(we=>{typeof m[we]>"u"?m[we]=c[we]:isObject(c[we])&&isObject(m[we])&&Object.keys(c[we]).length>0?c[we].__swiper__?m[we]=c[we]:extend(m[we],c[we]):m[we]=c[we]})}function needsNavigation(m){return m===void 0&&(m={}),m.navigation&&typeof m.navigation.nextEl>"u"&&typeof m.navigation.prevEl>"u"}function needsPagination(m){return m===void 0&&(m={}),m.pagination&&typeof m.pagination.el>"u"}function needsScrollbar(m){return m===void 0&&(m={}),m.scrollbar&&typeof m.scrollbar.el>"u"}function uniqueClasses(m){m===void 0&&(m="");const c=m.split(" ").map(we=>we.trim()).filter(we=>!!we),ie=[];return c.forEach(we=>{ie.indexOf(we)<0&&ie.push(we)}),ie.join(" ")}function wrapperClass(m){return m===void 0&&(m=""),m?m.includes("swiper-wrapper")?m:`swiper-wrapper ${m}`:"swiper-wrapper"}function updateSwiper(m){let{swiper:c,slides:ie,passedParams:we,changedParams:Ie,nextEl:Me,prevEl:Ze,scrollbarEl:ne,paginationEl:rr}=m;const pr=Ie.filter(li=>li!=="children"&&li!=="direction"&&li!=="wrapperClass"),{params:lr,pagination:yr,navigation:kr,scrollbar:Br,virtual:Ar,thumbs:Pr}=c;let Nr,ei,Vr,Zr,Wr,ai,ui,di;Ie.includes("thumbs")&&we.thumbs&&we.thumbs.swiper&&!we.thumbs.swiper.destroyed&&lr.thumbs&&(!lr.thumbs.swiper||lr.thumbs.swiper.destroyed)&&(Nr=!0),Ie.includes("controller")&&we.controller&&we.controller.control&&lr.controller&&!lr.controller.control&&(ei=!0),Ie.includes("pagination")&&we.pagination&&(we.pagination.el||rr)&&(lr.pagination||lr.pagination===!1)&&yr&&!yr.el&&(Vr=!0),Ie.includes("scrollbar")&&we.scrollbar&&(we.scrollbar.el||ne)&&(lr.scrollbar||lr.scrollbar===!1)&&Br&&!Br.el&&(Zr=!0),Ie.includes("navigation")&&we.navigation&&(we.navigation.prevEl||Ze)&&(we.navigation.nextEl||Me)&&(lr.navigation||lr.navigation===!1)&&kr&&!kr.prevEl&&!kr.nextEl&&(Wr=!0);const fi=li=>{!c[li]||(c[li].destroy(),li==="navigation"?(c.isElement&&(c[li].prevEl.remove(),c[li].nextEl.remove()),lr[li].prevEl=void 0,lr[li].nextEl=void 0,c[li].prevEl=void 0,c[li].nextEl=void 0):(c.isElement&&c[li].el.remove(),lr[li].el=void 0,c[li].el=void 0))};Ie.includes("loop")&&c.isElement&&(lr.loop&&!we.loop?ai=!0:!lr.loop&&we.loop?ui=!0:di=!0),pr.forEach(li=>{if(isObject(lr[li])&&isObject(we[li]))Object.assign(lr[li],we[li]),(li==="navigation"||li==="pagination"||li==="scrollbar")&&"enabled"in we[li]&&!we[li].enabled&&fi(li);else{const hi=we[li];(hi===!0||hi===!1)&&(li==="navigation"||li==="pagination"||li==="scrollbar")?hi===!1&&fi(li):lr[li]=we[li]}}),pr.includes("controller")&&!ei&&c.controller&&c.controller.control&&lr.controller&&lr.controller.control&&(c.controller.control=lr.controller.control),Ie.includes("children")&&ie&&Ar&&lr.virtual.enabled?(Ar.slides=ie,Ar.update(!0)):Ie.includes("virtual")&&Ar&&lr.virtual.enabled&&(ie&&(Ar.slides=ie),Ar.update(!0)),Ie.includes("children")&&ie&&lr.loop&&(di=!0),Nr&&Pr.init()&&Pr.update(!0),ei&&(c.controller.control=lr.controller.control),Vr&&(c.isElement&&(!rr||typeof rr=="string")&&(rr=document.createElement("div"),rr.classList.add("swiper-pagination"),rr.part.add("pagination"),c.el.appendChild(rr)),rr&&(lr.pagination.el=rr),yr.init(),yr.render(),yr.update()),Zr&&(c.isElement&&(!ne||typeof ne=="string")&&(ne=document.createElement("div"),ne.classList.add("swiper-scrollbar"),ne.part.add("scrollbar"),c.el.appendChild(ne)),ne&&(lr.scrollbar.el=ne),Br.init(),Br.updateSize(),Br.setTranslate()),Wr&&(c.isElement&&((!Me||typeof Me=="string")&&(Me=document.createElement("div"),Me.classList.add("swiper-button-next"),Me.innerHTML=c.hostEl.constructor.nextButtonSvg,Me.part.add("button-next"),c.el.appendChild(Me)),(!Ze||typeof Ze=="string")&&(Ze=document.createElement("div"),Ze.classList.add("swiper-button-prev"),Ze.innerHTML=c.hostEl.constructor.prevButtonSvg,Ze.part.add("button-prev"),c.el.appendChild(Ze))),Me&&(lr.navigation.nextEl=Me),Ze&&(lr.navigation.prevEl=Ze),kr.init(),kr.update()),Ie.includes("allowSlideNext")&&(c.allowSlideNext=we.allowSlideNext),Ie.includes("allowSlidePrev")&&(c.allowSlidePrev=we.allowSlidePrev),Ie.includes("direction")&&c.changeDirection(we.direction,!1),(ai||di)&&c.loopDestroy(),(ui||di)&&c.loopCreate(),c.update()}function getParams(m,c){m===void 0&&(m={}),c===void 0&&(c=!0);const ie={on:{}},we={},Ie={};extend(ie,defaults),ie._emitClasses=!0,ie.init=!1;const Me={},Ze=paramsList.map(rr=>rr.replace(/_/,"")),ne=Object.assign({},m);return Object.keys(ne).forEach(rr=>{typeof m[rr]>"u"||(Ze.indexOf(rr)>=0?isObject(m[rr])?(ie[rr]={},Ie[rr]={},extend(ie[rr],m[rr]),extend(Ie[rr],m[rr])):(ie[rr]=m[rr],Ie[rr]=m[rr]):rr.search(/on[A-Z]/)===0&&typeof m[rr]=="function"?c?we[`${rr[2].toLowerCase()}${rr.substr(3)}`]=m[rr]:ie.on[`${rr[2].toLowerCase()}${rr.substr(3)}`]=m[rr]:Me[rr]=m[rr])}),["navigation","pagination","scrollbar"].forEach(rr=>{ie[rr]===!0&&(ie[rr]={}),ie[rr]===!1&&delete ie[rr]}),{params:ie,passedParams:Ie,rest:Me,events:we}}function mountSwiper(m,c){let{el:ie,nextEl:we,prevEl:Ie,paginationEl:Me,scrollbarEl:Ze,swiper:ne}=m;needsNavigation(c)&&we&&Ie&&(ne.params.navigation.nextEl=we,ne.originalParams.navigation.nextEl=we,ne.params.navigation.prevEl=Ie,ne.originalParams.navigation.prevEl=Ie),needsPagination(c)&&Me&&(ne.params.pagination.el=Me,ne.originalParams.pagination.el=Me),needsScrollbar(c)&&Ze&&(ne.params.scrollbar.el=Ze,ne.originalParams.scrollbar.el=Ze),ne.init(ie)}function getChangedParams(m,c,ie,we,Ie){const Me=[];if(!c)return Me;const Ze=rr=>{Me.indexOf(rr)<0&&Me.push(rr)};if(ie&&we){const rr=we.map(Ie),pr=ie.map(Ie);rr.join("")!==pr.join("")&&Ze("children"),we.length!==ie.length&&Ze("children")}return paramsList.filter(rr=>rr[0]==="_").map(rr=>rr.replace(/_/,"")).forEach(rr=>{if(rr in m&&rr in c)if(isObject(m[rr])&&isObject(c[rr])){const pr=Object.keys(m[rr]),lr=Object.keys(c[rr]);pr.length!==lr.length?Ze(rr):(pr.forEach(yr=>{m[rr][yr]!==c[rr][yr]&&Ze(rr)}),lr.forEach(yr=>{m[rr][yr]!==c[rr][yr]&&Ze(rr)}))}else m[rr]!==c[rr]&&Ze(rr)}),Me}const updateOnVirtualData=m=>{!m||m.destroyed||!m.params.virtual||m.params.virtual&&!m.params.virtual.enabled||(m.updateSlides(),m.updateProgress(),m.updateSlidesClasses(),m.parallax&&m.params.parallax&&m.params.parallax.enabled&&m.parallax.setTranslate())};function getChildren(m,c,ie){m===void 0&&(m={});const we=[],Ie={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},Me=(Ze,ne)=>{!Array.isArray(Ze)||Ze.forEach(rr=>{const pr=typeof rr.type=="symbol";ne==="default"&&(ne="container-end"),pr&&rr.children?Me(rr.children,ne):rr.type&&(rr.type.name==="SwiperSlide"||rr.type.name==="AsyncComponentWrapper")||rr.componentOptions&&rr.componentOptions.tag==="SwiperSlide"?we.push(rr):Ie[ne]&&Ie[ne].push(rr)})};return Object.keys(m).forEach(Ze=>{if(typeof m[Ze]!="function")return;const ne=m[Ze]();Me(ne,Ze)}),ie.value=c.value,c.value=we,{slides:we,slots:Ie}}function renderVirtual(m,c,ie){if(!ie)return null;const we=lr=>{let yr=lr;return lr<0?yr=c.length+lr:yr>=c.length&&(yr=yr-c.length),yr},Ie=m.value.isHorizontal()?{[m.value.rtlTranslate?"right":"left"]:`${ie.offset}px`}:{top:`${ie.offset}px`},{from:Me,to:Ze}=ie,ne=m.value.params.loop?-c.length:0,rr=m.value.params.loop?c.length*2:c.length,pr=[];for(let lr=ne;lr<rr;lr+=1)lr>=Me&&lr<=Ze&&pr.length<c.length&&pr.push(c[we(lr)]);return pr.map(lr=>{if(lr.props||(lr.props={}),lr.props.style||(lr.props.style={}),lr.props.swiperRef=m,lr.props.style=Ie,lr.type)return vue.h(lr.type,{...lr.props},lr.children);if(lr.componentOptions)return vue.h(lr.componentOptions.Ctor,{...lr.props},lr.componentOptions.children)})}const Swiper={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},swiperElementNodeName:{type:String,default:"SWIPER-CONTAINER"},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},breakpointsBase:{type:String,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideFullyVisibleClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","autoplayPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slidesUpdated","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(m,c){let{slots:ie,emit:we}=c;const{tag:Ie,wrapperTag:Me}=m,Ze=vue.ref("swiper"),ne=vue.ref(null),rr=vue.ref(!1),pr=vue.ref(!1),lr=vue.ref(null),yr=vue.ref(null),kr=vue.ref(null),Br={value:[]},Ar={value:[]},Pr=vue.ref(null),Nr=vue.ref(null),ei=vue.ref(null),Vr=vue.ref(null),{params:Zr,passedParams:Wr}=getParams(m,!1);getChildren(ie,Br,Ar),kr.value=Wr,Ar.value=Br.value;const ai=()=>{getChildren(ie,Br,Ar),rr.value=!0};Zr.onAny=function(fi){for(var li=arguments.length,hi=new Array(li>1?li-1:0),gr=1;gr<li;gr++)hi[gr-1]=arguments[gr];we(fi,...hi)},Object.assign(Zr.on,{_beforeBreakpoint:ai,_containerClasses(fi,li){Ze.value=li}});const ui={...Zr};if(delete ui.wrapperClass,yr.value=new Swiper$1(ui),yr.value.virtual&&yr.value.params.virtual.enabled){yr.value.virtual.slides=Br.value;const fi={cache:!1,slides:Br.value,renderExternal:li=>{ne.value=li},renderExternalUpdate:!1};extend(yr.value.params.virtual,fi),extend(yr.value.originalParams.virtual,fi)}vue.onUpdated(()=>{!pr.value&&yr.value&&(yr.value.emitSlidesClasses(),pr.value=!0);const{passedParams:fi}=getParams(m,!1),li=getChangedParams(fi,kr.value,Br.value,Ar.value,hi=>hi.props&&hi.props.key);kr.value=fi,(li.length||rr.value)&&yr.value&&!yr.value.destroyed&&updateSwiper({swiper:yr.value,slides:Br.value,passedParams:fi,changedParams:li,nextEl:Pr.value,prevEl:Nr.value,scrollbarEl:Vr.value,paginationEl:ei.value}),rr.value=!1}),vue.provide("swiper",yr),vue.watch(ne,()=>{vue.nextTick(()=>{updateOnVirtualData(yr.value)})}),vue.onMounted(()=>{!lr.value||(mountSwiper({el:lr.value,nextEl:Pr.value,prevEl:Nr.value,paginationEl:ei.value,scrollbarEl:Vr.value,swiper:yr.value},Zr),we("swiper",yr.value))}),vue.onBeforeUnmount(()=>{yr.value&&!yr.value.destroyed&&yr.value.destroy(!0,!1)});function di(fi){return Zr.virtual?renderVirtual(yr,fi,ne.value):(fi.forEach((li,hi)=>{li.props||(li.props={}),li.props.swiperRef=yr,li.props.swiperSlideIndex=hi}),fi)}return()=>{const{slides:fi,slots:li}=getChildren(ie,Br,Ar);return vue.h(Ie,{ref:lr,class:uniqueClasses(Ze.value)},[li["container-start"],vue.h(Me,{class:wrapperClass(Zr.wrapperClass)},[li["wrapper-start"],di(fi),li["wrapper-end"]]),needsNavigation(m)&&[vue.h("div",{ref:Nr,class:"swiper-button-prev"}),vue.h("div",{ref:Pr,class:"swiper-button-next"})],needsScrollbar(m)&&vue.h("div",{ref:Vr,class:"swiper-scrollbar"}),needsPagination(m)&&vue.h("div",{ref:ei,class:"swiper-pagination"}),li["container-end"]])}}},SwiperSlide={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(m,c){let{slots:ie}=c,we=!1;const{swiperRef:Ie}=m,Me=vue.ref(null),Ze=vue.ref("swiper-slide"),ne=vue.ref(!1);function rr(yr,kr,Br){kr===Me.value&&(Ze.value=Br)}vue.onMounted(()=>{!Ie||!Ie.value||(Ie.value.on("_slideClass",rr),we=!0)}),vue.onBeforeUpdate(()=>{we||!Ie||!Ie.value||(Ie.value.on("_slideClass",rr),we=!0)}),vue.onUpdated(()=>{!Me.value||!Ie||!Ie.value||(typeof m.swiperSlideIndex<"u"&&(Me.value.swiperSlideIndex=m.swiperSlideIndex),Ie.value.destroyed&&Ze.value!=="swiper-slide"&&(Ze.value="swiper-slide"))}),vue.onBeforeUnmount(()=>{!Ie||!Ie.value||Ie.value.off("_slideClass",rr)});const pr=vue.computed(()=>({isActive:Ze.value.indexOf("swiper-slide-active")>=0,isVisible:Ze.value.indexOf("swiper-slide-visible")>=0,isPrev:Ze.value.indexOf("swiper-slide-prev")>=0,isNext:Ze.value.indexOf("swiper-slide-next")>=0}));vue.provide("swiperSlide",pr);const lr=()=>{ne.value=!0};return()=>vue.h(m.tag,{class:uniqueClasses(`${Ze.value}`),ref:Me,"data-swiper-slide-index":typeof m.virtualIndex>"u"&&Ie&&Ie.value&&Ie.value.params.loop?m.swiperSlideIndex:m.virtualIndex,onLoadCapture:lr},m.zoom?vue.h("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof m.zoom=="number"?m.zoom:void 0},[ie.default&&ie.default(pr.value),m.lazy&&!ne.value&&vue.h("div",{class:"swiper-lazy-preloader"})]):[ie.default&&ie.default(pr.value),m.lazy&&!ne.value&&vue.h("div",{class:"swiper-lazy-preloader"})])}};async function cropImage({imageSource:m,cropX:c,cropY:ie,cropWidth:we,cropHeight:Ie,type:Me,quality:Ze},ne){function rr(yr){return new Promise((kr,Br)=>{const Ar=new Image;Ar.crossOrigin="anonymous",Ar.onload=()=>kr(Ar),Ar.onerror=Pr=>Br(new Error("Failed to load image: "+Pr)),Ar.src=yr})}const pr=document.createElement("canvas"),lr=pr.getContext("2d");if(!lr)throw new Error("Failed to create 2D context");return pr.width=we,pr.height=Ie,lr.drawImage(typeof m=="string"?await rr(m):m,c,ie,we,Ie,0,0,we,Ie),ne==="canvas"?pr:ne==="blob"?await new Promise((yr,kr)=>{pr.toBlob(Br=>{Br?yr(Br):kr(new Error("Failed to create Blob from canvas"))},Me,Ze)}):ne==="dataUrl"?pr.toDataURL(Me,Ze):await new Promise((yr,kr)=>{pr.toBlob(Br=>{Br?Br.arrayBuffer().then(Ar=>{yr(Ar)}).catch(kr):kr(new Error("Failed to create Blob from canvas"))},Me,Ze)})}var mimeTypes={},mimeDb={exports:{}};const require$$0={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};/*!
|
|
2584
2584
|
* mime-db
|
|
2585
2585
|
* Copyright(c) 2014 Jonathan Ong
|
|
2586
2586
|
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
|
@@ -2596,7 +2596,7 @@ Use Save As... to download, then click back to return to this page.`)&&(location
|
|
|
2596
2596
|
|
|
2597
2597
|
`);for(;fi!==-1;){const li=Wr.slice(0,fi).trim();Wr=Wr.slice(fi+2),fi=Wr.indexOf(`
|
|
2598
2598
|
|
|
2599
|
-
`);const hi=li.split(/\r?\n/);let gr="";for(const Ae of hi)Ae.startsWith("data:")&&(gr+=Ae.slice(5).trim());Pr(gr)}}if(!Ar||Ar.length===0){kr(new Error("No files found"));return}yr({files:Ar,creditsConsumed:0})})}function useRenderer(m,c,ie,we,Ie,Me,Ze,ne,rr,pr){const lr=vue.ref();async function yr(Nr,ei,Vr){const Zr=Ie.value;if(!Zr)throw console.error("Serial not available"),new Error("Serial not available");let Wr=0;const ai=!0;if(lr.value={},Nr==="pdf"||ai){if(Nr==="idml")throw new Error("IDML rendering is not supported");const ui=await renderRemote(m,c,ie,Me.value,Ze.value,pr.value,Zr.width,Zr.height,Nr,95,Zr.frames??{x:1,y:1},ne.value,rr.value);if(ui.type==="application/zip"){const di=await unzip(ui);lr.value=Object.fromEntries(await Promise.all(Object.entries(di.entries).map(async([fi,li])=>[fi,await li.blob(mimeTypes.lookup(fi)||"png")])))}else{const di=mimeTypes.extension(ui.type)??"png";lr.value={[`${Zr.name}.${di}`]:ui}}}else{const ui=we.value?.bluepicEmbeddedRef?.renderSVG(),di=Ie.value;if(!ui)throw console.error("SVG document not available"),new Error("SVG document not available");if(!di)throw console.error("Serial not available"),new Error("Serial not available");lr.value=Object.fromEntries((await renderLocal(await ui,{width:di.width,height:di.height,format:mime.getType(Nr),quality:.95,frames:di.frames,idmlOptions:{keepGroupTransforms:!1,rasterizeAllMasks:!1,vectorizeAllTexts:!1,keepFontRemoteUrls:!1},svgOptions:{vectorizeAllTexts:!1},fileBasename:ei??`${di.name}_export`,watermark:Vr})).map(fi=>[fi.name,fi.blob]))}return{files:lr.value,creditsConsumed:Wr}}const kr=vue.ref(!1),Br=vue.ref(),Ar=vue.ref();async function Pr(Nr,ei,Vr){kr.value=!0,Br.value=void 0;const Zr=await renderVideoRemote(m,c,ie,Ze.value,pr.value,Ie.value?.width??0,Ie.value?.height??0,Nr,ei,{fps:30,vcodec:"libx264",pix_fmt:"yuv420p",acodec:"aac",audio:[]},Wr=>{Ar.value=Wr});return kr.value=!1,Br.value=[{name:`${Vr??"video"}.mp4`,url:Zr.files[0]}],Ar.value=void 0,{files:Br.value.map(Wr=>Wr.url),creditsConsumed:Zr.creditsConsumed}}return{renderFiles:lr.value,render:yr,renderVideo:Pr,videoFiles:Br,videoRendering:kr,videoProgress:Ar}}async function downloadFiles(m,c){const ie=await Promise.all(m.map(async(we,Ie)=>{if(we instanceof Blob)return{name:`${m.length>1?`${c}_${Ie+1}`:c}.${mimeTypes.extension(we.type)}`,blob:we};const Ze=we.split("/").pop().split(".").pop(),ne=await fetch(we);if(!ne.ok)throw new Error(`Failed to download file: ${ne.status}`);const rr=await ne.blob();return{name:m.length>1?`${c}_${Ie+1}.${Ze}`:`${c}.${Ze}`,blob:rr}}));if(ie.length>1){const we=await A(ie.map(({name:Ie,blob:Me})=>({name:Ie,input:Me}))).blob();download(we,`${c}.zip`)}else download(ie[0].blob,ie[0].name)}const swiper="",navigation="",pagination="",scrollbar="",_hoisted_1$h={class:"fields-wrapper"},_hoisted_2$d={class:"nav-wrapper"},_hoisted_3$a={class:"nav-button"},_sfc_main$l=vue.defineComponent({__name:"MobileFieldsSlide",props:{fields:{},originalField:{},active:{type:Boolean},mobileFieldsSlides:{},naturalFieldsViewMaxHeight:{},slideIndex:{}},emits:["select-nav"],setup(m,{emit:c}){const ie=m,we=c,{fields:Ie,data:Me,bridge:Ze,modelField:ne,wrapFieldProps:rr}=useFields(vue.toRef(ie,"fields")),pr=vue.computed(()=>ie.originalField&&ie.fields.length>=2?getFieldDescription(ie.originalField):getFieldsDescription(ie.fields)),lr=vue.computed(()=>ie.mobileFieldsSlides.map(({fields:kr,originalField:Br},Ar)=>({label:(kr.length===1?kr[0]:Br)?.description??getFieldsDescription(kr),value:Ar,icon:()=>renderFieldIcon(kr[0].type,Ar===ie.slideIndex)})));function yr(kr){we("select-nav",kr)}return(kr,Br)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["mobile-fields-slide",{active:kr.active}])},[vue.createElementVNode("div",_hoisted_1$h,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(Ie),({type:Ar,model:Pr,props:Nr,description:ei,detailedDescription:Vr,layout:Zr})=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["field-wrapper",{["field-wrapper-"+Ar]:!0}])},[Ar in BluepciFieldComponents?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(BluepciFieldComponents[Ar]),vue.mergeProps({key:0,ref_for:!0},{...vue.unref(rr)(Nr),...vue.unref(ne)(Pr),maxHeight:`${kr.naturalFieldsViewMaxHeight-37-20-5}px`,description:ei,detailedDescription:Vr,bridge:vue.unref(Ze),...(()=>{if(Ar==="Text")return{...Zr}})(),mobile:!0}),null,16)):(vue.openBlock(),vue.createBlock(BxEmpty,{key:1,title:"Field not supported"},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(AlertOutline))]),_:1})]),_:1}))],2))),256))]),vue.createElementVNode("div",_hoisted_2$d,[vue.createVNode(BxDropdown,{"allowed-placements":["top"],trigger:"click",options:lr.value,onSelect:yr,"mobile-layout":""},{trigger:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$a,[vue.createElementVNode("span",null,vue.toDisplayString(pr.value),1)])]),optionLabel:vue.withCtx(({option:Ar})=>[vue.createElementVNode("span",{style:vue.normalizeStyle({color:Ar.value===kr.slideIndex?"rgba(var(--primary-color-base), 1)":"inherit"})},vue.toDisplayString(Ar.label),5)]),_:1},8,["options"])])],2))}}),MobileFieldsSlide_vue_vue_type_style_index_0_scoped_88d3f1fe_lang="",MobileFieldsSlide=_export_sfc(_sfc_main$l,[["__scopeId","data-v-88d3f1fe"]]);function splitTimestamp(m){const c=Math.floor(m/36e5),ie=m%(1e3*60*60),we=Math.floor(ie/(1e3*60)),Ie=ie%(1e3*60),Me=Math.floor(Ie/1e3),Ze=Math.round(Ie%1e3);return{hours:c,minutes:we,seconds:Me,milliseconds:Ze}}function timestampToTimecode(m,c){const{hours:ie,minutes:we,seconds:Ie,milliseconds:Me}=splitTimestamp(m);return`${ie.toString().padStart(2,"0")}:${we.toString().padStart(2,"0")}:${Ie.toString().padStart(2,"0")}${c}${Me.toString().padEnd(3,"0")}`}const _hoisted_1$g={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",class:"arctic-progress"},_hoisted_2$c=["d"],_sfc_main$k=vue.defineComponent({__name:"CircularProgress",props:{progress:{},strokeWidth:{default:10},color:{default:"#00f"},backgroundColor:{default:"#e0e0e0"}},setup(m){function c(we,Ie,Me,Ze){const ne=(Ze-90)*Math.PI/180;return{x:we+Me*Math.cos(ne),y:Ie+Me*Math.sin(ne)}}function ie(we,Ie,Me,Ze){const rr=Math.max(0,Math.min(100,Ze))/100*360,pr=c(we,Ie,Me,0),lr=c(we,Ie,Me,rr),yr=rr>180?1:0;return[`M ${we} ${Ie}`,`L ${pr.x} ${pr.y}`,`A ${Me} ${Me} 0 ${yr} 1 ${lr.x} ${lr.y}`,"Z"].join(" ")}return(we,Ie)=>(vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$g,[vue.createElementVNode("path",{d:ie(50,50,50,we.progress),style:vue.normalizeStyle({fill:we.color}),class:"progress-sector"},null,12,_hoisted_2$c)]))}}),CircularProgress_vue_vue_type_style_index_0_scoped_0b06477e_lang="",CircularProgress=_export_sfc(_sfc_main$k,[["__scopeId","data-v-0b06477e"]]),_sfc_main$j={},_hoisted_1$f={viewBox:"0 0 344 350",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _sfc_render$2(m,c){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$f,c[0]||(c[0]=[vue.createStaticVNode('<ellipse cx="220.755" cy="202.159" rx="49.9896" ry="39.3918" fill="white"></ellipse><circle cx="172.765" cy="177.564" r="137.571" fill="#09275E"></circle><path d="M289.161 117.691L290.189 119.025L290.264 118.986C290.267 118.995 290.269 119.005 290.271 119.014C290.292 119.111 290.315 119.215 290.34 119.326L290.342 119.337C290.487 119.99 290.731 121.089 291.275 121.912C291.58 122.375 292.096 122.935 292.913 123.191C293.415 123.348 293.903 123.35 294.35 123.263L295.779 123.684C301.037 125.446 304.551 126.122 307.811 126.749C308.154 126.815 308.493 126.88 308.832 126.946C312.104 127.583 315.343 128.293 320.317 130.209C320.307 130.996 320.033 131.826 319.597 132.943C319.558 133.042 319.517 133.144 319.475 133.25C318.931 134.621 318.158 136.569 318.569 138.743L319.03 141.184L321.316 140.213C322.688 139.63 326.238 138.076 329.797 136.444C333.29 134.843 336.992 133.075 338.526 132.093L339.723 131.327L339.394 129.946C338.672 126.916 337.967 123.872 337.258 120.815C335.248 112.147 333.214 103.376 330.737 94.5409L330.308 93.0091L328.719 93.0832C321.431 93.4233 314.301 94.1966 307.29 94.9568C303.561 95.3612 299.866 95.7619 296.2 96.0918L295.311 96.1717L294.777 96.886C294.246 97.5964 293.707 98.3078 293.165 99.0223C290.635 102.358 288.052 105.763 286.025 109.468L285.631 110.188L285.857 110.977C286.583 113.52 287.614 115.684 289.161 117.691ZM289.933 117.746C289.934 117.745 289.938 117.753 289.947 117.771C289.937 117.756 289.933 117.747 289.933 117.746Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M93.1862 189.025L93.1862 189.025C92.3418 188.723 91.58 188.994 91.2708 189.119C90.8714 189.28 90.4932 189.512 90.169 189.738C89.5089 190.198 88.7881 190.834 88.1038 191.51C86.7464 192.85 85.2731 194.605 84.4485 196.015L84.4467 196.018C76.1322 210.301 75.0953 225.446 78.6265 241.168C81.8267 255.475 89.6272 267.326 97.2042 278.836L97.5148 279.308L97.5213 279.318C99.8514 282.814 102.915 285.581 106.291 287.871L106.293 287.872C107.63 288.777 109.408 289.807 111.751 289.538C115.478 289.131 119.188 287.275 122.147 284.723C125.106 282.171 127.493 278.77 128.373 275.08C129.463 270.553 128.601 266.205 127.362 262.489L127.241 262.126L126.995 261.833C125.807 260.423 124.367 259.601 123.334 259.011C123.1 258.878 122.887 258.756 122.702 258.642C115.356 254.059 109.017 248.779 104.649 241.416L104.646 241.412C96.802 228.252 93.2533 214.222 94.7986 198.973C94.8225 198.747 94.8517 198.49 94.8837 198.208C95.0138 197.06 95.1886 195.518 95.2329 194.155C95.2603 193.311 95.2447 192.396 95.0956 191.61C95.0214 191.219 94.8947 190.75 94.6514 190.309C94.4038 189.861 93.9521 189.299 93.1862 189.025Z" fill="#FFBB34" stroke="#09275E" stroke-width="3.99916"></path><path d="M290.005 121.129L289.656 121.988L290.085 122.809C292.75 127.905 294.192 132.59 293.907 136.956C293.627 141.238 291.665 145.483 286.961 149.719L284.446 151.984L287.643 153.094C293.842 155.247 299.66 157.273 305.479 159.3C307.974 160.168 310.469 161.037 312.995 161.916L314.796 162.543L315.508 160.774C317.768 155.15 319.921 149.776 322.065 144.425C324.217 139.052 326.36 133.704 328.592 128.152L329.356 126.251L327.438 125.533C322.371 123.638 317.397 121.775 312.491 119.939C307.134 117.933 301.858 115.958 296.635 114.004L295.405 113.544L294.494 114.49C292.435 116.629 291.012 118.653 290.005 121.129Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M162.722 197.574H162.695L162.668 197.575C158.965 197.676 156.646 200.15 155.153 202.449C151.761 207.638 150.294 213.427 150.531 219.592C150.634 222.464 152.176 224.391 153.955 225.873L153.963 225.88L153.972 225.887C158.318 229.429 163.337 231.194 168.536 232.158C169.167 232.282 169.957 232.298 170.744 231.972C171.586 231.623 172.225 230.962 172.6 230.102L172.707 229.854L172.745 229.587C172.745 229.587 172.747 229.579 172.75 229.557C172.754 229.538 172.757 229.52 172.762 229.495C172.764 229.485 172.766 229.474 172.768 229.462C172.782 229.388 172.806 229.258 172.824 229.117C172.841 228.98 172.861 228.764 172.844 228.515C172.827 228.277 172.766 227.874 172.518 227.46L172.518 227.46L172.513 227.453C168.063 220.106 166.241 212.24 167.157 203.718C167.321 202.2 166.665 200.739 166.017 199.78C165.672 199.268 165.252 198.783 164.786 198.401C164.396 198.082 163.661 197.574 162.722 197.574Z" fill="#FFBB34" stroke="#09275E" stroke-width="3.99916"></path><path d="M180.399 40.1741C181.974 40.3116 183.454 40.4408 184.909 40.6792C184.228 45.2675 183.241 49.756 182.237 54.3138L182.214 54.4178C181.085 59.5414 179.935 64.7558 179.241 70.1416L179.016 71.8853L180.717 72.3314C185.308 73.5358 189.672 74.411 193.947 74.8692C196.831 75.1782 199.928 75.7588 202.811 76.2992C203.941 76.511 205.038 76.7166 206.076 76.8973C207.852 77.2063 209.528 77.4544 210.793 77.4711C211.397 77.4791 212.131 77.4419 212.783 77.2014C213.128 77.0746 213.569 76.8483 213.937 76.4293C214.337 75.9731 214.545 75.407 214.556 74.8219L214.556 74.8168C214.6 72.0297 213.488 69.3888 212.568 67.2043C212.54 67.1397 212.513 67.0755 212.486 67.0117C211.477 64.6117 210.713 62.7036 210.757 60.8354C210.764 60.5351 210.756 60.1602 210.749 59.8186C210.746 59.6678 210.743 59.5234 210.741 59.3948C210.736 58.9128 210.744 58.4628 210.791 58.0449C210.847 57.5513 210.945 57.2092 211.066 56.9696C212.585 56.8593 213.855 56.3467 214.708 55.2183C215.492 54.1819 215.665 52.8597 215.762 52.1245C215.771 52.0554 215.779 51.9915 215.787 51.9335C215.918 51.001 216.027 50.6767 216.19 50.4815C216.269 50.3865 216.628 49.9996 218.159 49.93L220.201 49.8372L220.063 47.7982C219.845 44.5492 220.16 41.3975 220.492 38.0783C220.533 37.6678 220.574 37.2547 220.614 36.8385C220.977 33.124 221.274 29.2037 220.597 25.1391L220.347 23.6407L218.836 23.4795C209.196 22.4508 199.693 21.4527 190.202 20.4559C184.985 19.908 179.771 19.3604 174.54 18.8083L172.779 18.6226L172.381 20.3473C171.008 26.298 170.555 31.6249 170.367 36.7755L170.311 38.3068L171.775 38.7589C174.514 39.6048 177.162 39.8863 179.615 40.1051C179.879 40.1287 180.14 40.1515 180.399 40.1741Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M134.234 79.9717L134.458 81.5862L136.085 81.6917C139.271 81.8981 142.447 82.132 145.618 82.3656C155.449 83.0898 165.234 83.8105 175.12 83.6975L176.711 83.6793L177.051 82.1246C178.105 77.2955 179.195 72.5212 180.279 67.7721C182.531 57.9086 184.758 48.154 186.59 38.244L186.918 36.4649L185.181 35.9604C179.24 34.2354 171.076 33.8622 165.486 33.6068L165.258 33.5963L163.101 33.4976L163.168 35.6559C163.268 38.8806 163.968 41.9624 164.79 44.889C165.136 46.118 165.488 47.2779 165.834 48.413C166.158 49.4805 166.476 50.5261 166.775 51.5867C159.115 53.946 151.592 56.2745 144.101 58.5932C140.914 59.5797 137.733 60.5644 134.549 61.549L133.317 61.9301L133.156 63.2098C132.517 68.2858 133.206 72.9608 133.893 77.6183C134.009 78.4026 134.125 79.1865 134.234 79.9717Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M235.987 77.2978L237.597 75.9449L236.164 74.4049C234.927 73.0743 233.511 72.8335 232.527 72.7119C232.424 72.6991 232.327 72.6874 232.236 72.6764C231.957 72.6427 231.729 72.6152 231.533 72.5831C231.441 69.4098 231.536 66.2292 231.633 62.9588C231.654 62.2493 231.676 61.5355 231.695 60.8167C231.816 56.3655 231.867 51.7646 231.35 47.0422L231.155 45.2528L229.355 45.2599C225.882 45.2737 222.492 44.9896 219.022 44.6988C217.931 44.6073 216.832 44.5152 215.719 44.4315C211.131 44.086 206.409 43.8946 201.565 44.6144L199.731 44.887L199.865 46.7367C200.233 51.8147 200.432 56.8294 200.631 61.8463C200.691 63.3646 200.751 64.8832 200.816 66.4037C201.095 72.9254 201.459 79.4532 202.285 85.9895L202.486 87.5836L204.087 87.73C206.257 87.9285 208.273 88.3083 210.351 88.6997C211.078 88.8366 211.812 88.9749 212.562 89.1073C215.396 89.6071 218.362 89.9982 221.547 89.694L222.312 89.6208L222.831 89.0534C226.01 85.5803 229.634 82.5749 233.426 79.4307C234.272 78.7289 235.127 78.0202 235.987 77.2978Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M238.43 76.8741L238.524 76.883H238.619H238.656H239.416L239.984 76.3784C240.606 75.8255 241.206 75.2772 241.793 74.7413C244.015 72.7114 246.04 70.8607 248.334 69.623C251.027 68.1703 253.99 67.6423 257.9 69.2771L259.41 69.9081L260.327 68.5536C263.376 64.052 266.319 59.7631 268.842 56.1056C269.214 55.8165 269.59 55.7012 270.152 55.5731C270.2 55.5622 270.256 55.5505 270.318 55.5375C270.918 55.4115 272.136 55.156 273.036 54.187L273.432 53.7603L273.537 53.1876C274.04 50.4526 273.895 47.6874 273.127 44.9153L272.797 43.7231L271.582 43.4867C263.347 41.8831 255 40.2479 246.437 38.5701C241.936 37.6882 237.375 36.7945 232.738 35.8876L230.648 35.4788L230.372 37.5901C229.226 46.3333 229.305 54.9129 229.382 63.2284C229.413 66.6176 229.444 69.9628 229.391 73.2575L229.369 74.6691L230.692 75.1628C233.369 76.1618 235.547 76.6013 238.43 76.8741Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M113.263 17.2528L111.592 17.7788L111.894 19.5045C112.563 23.3331 113.21 27.1511 113.856 30.9674C115.742 42.1 117.626 53.2183 120.063 64.5472L120.527 66.7031L122.627 66.0311C137.343 61.3231 151.356 56.837 165.739 52.2025L167.448 51.652L167.084 49.8942C166.341 46.3024 165.618 42.7407 164.899 39.1967C162.612 27.9303 160.361 16.8421 157.618 5.52881L157.112 3.44522L155.069 4.09424C145.819 7.03208 136.764 9.87348 127.677 12.7249C122.892 14.2262 118.098 15.7303 113.263 17.2528Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M262.342 65.8041L260.526 68.8324H263.185C272.563 79.6925 278.667 92.1168 284.494 105.834L285.903 109.152L287.972 106.2C289.795 103.598 291.611 101.061 293.405 98.5547C297.793 92.425 302.05 86.4771 305.97 80.1993L306.956 78.6203L305.452 77.5241C301.19 74.4193 296.984 71.3585 292.795 68.3103C285.976 63.3488 279.204 58.421 272.316 53.3923L270.548 52.1018L269.422 53.9786C268.143 56.1116 266.956 58.096 265.797 60.0328L265.719 60.1647C264.588 62.0558 263.483 63.9035 262.342 65.8041Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M328.052 237.274L328.894 236.501L328.655 235.383C328.524 234.766 328.393 234.15 328.261 233.533C326.622 225.832 324.984 218.135 322.767 210.307L322.338 208.792L320.764 208.854C316.093 209.038 311.535 209.802 307.19 210.53C307.035 210.556 306.879 210.582 306.724 210.608C302.583 211.301 298.643 211.941 294.779 212.087C294.32 211.174 294.184 210.152 294.067 208.823C294.058 208.717 294.048 208.609 294.039 208.498C293.905 206.915 293.726 204.792 292.391 202.858L291.489 201.552L290.012 202.133C289.048 202.513 288.07 202.885 287.083 203.26C283.205 204.735 279.196 206.259 275.417 208.502L274.451 209.076L274.438 210.199C274.402 213.408 274.138 216.128 272.948 218.512C271.647 221.054 271.503 223.443 272.081 225.711C272.635 227.88 273.834 229.865 275.028 231.674L276.226 233.49L277.934 232.144C280.24 230.329 282.202 228.249 284.059 226.282C284.211 226.121 284.361 225.962 284.511 225.803C286.164 224.056 287.767 222.4 289.577 220.93C293.737 224.62 297.869 228.288 302.002 231.957C306.542 235.989 311.083 240.021 315.662 244.08L316.757 245.052L318.014 244.3C318.127 244.233 318.239 244.166 318.351 244.099C321.621 242.146 324.837 240.224 328.052 237.274Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><mask id="path-14-outside-1_503_366" maskUnits="userSpaceOnUse" x="25" y="63" width="271" height="287" fill="black"><rect fill="white" x="25" y="63" width="271" height="287"></rect><path fill-rule="evenodd" clip-rule="evenodd" d="M177.294 229.437C176.864 227.937 176.002 226.893 175.17 225.884C175.007 225.686 174.844 225.489 174.686 225.29C170.498 220.137 169.015 213.946 167.977 207.644C166.827 200.707 169.684 194.677 172.528 188.674C172.617 188.485 172.707 188.297 172.796 188.108C178.096 176.839 186.066 167.46 194.368 158.377L194.69 158.028C197.991 154.438 201.278 150.864 205.155 147.812C206.415 146.811 207.601 145.662 208.343 143.809C207.687 142.861 207.043 141.883 206.392 140.896C204.982 138.756 203.542 136.57 201.893 134.541C196.333 127.646 196.481 120.899 201.596 113.893C202.11 113.19 202.619 112.484 203.128 111.779C205.999 107.799 208.862 103.832 212.42 100.399L213.332 99.5236C222.33 90.882 231.31 82.2574 240.776 74.1532C243.852 71.5211 247.225 69.4823 250.932 67.8882C254.602 66.2942 257.789 66.8503 260.755 69.5193C266.352 74.5609 270.169 80.9 273.765 87.3873C280.066 98.6939 284.848 110.631 288.999 122.827C290.519 127.312 291.853 131.835 291.705 136.691C291.557 141.473 289.778 145.18 285.923 148.109C282.216 150.926 278.213 153.039 274.061 155.041C273.717 155.209 273.366 155.366 273.017 155.523C271.903 156.022 270.812 156.512 270.021 157.302C269.227 158.529 269.382 159.721 269.527 160.844L269.539 160.935C269.88 163.671 270.21 166.41 270.54 169.149C271.431 176.544 272.322 183.949 273.431 191.333C275.396 204.456 273.95 217.097 268.168 228.997C265.054 235.41 260.384 240.896 253.712 244.159C252.251 244.879 250.808 245.627 249.37 246.372C245.849 248.198 242.359 250.008 238.7 251.35C238.632 253.023 239.281 254.296 239.965 255.639C240.404 256.499 240.857 257.389 241.146 258.431C238.441 262.782 235.715 267.171 232.964 271.601C227.534 280.342 222.007 289.24 216.349 298.319C224.689 304.176 232.658 309.773 240.553 315.334C242.149 319.235 240.081 322.186 238.179 324.9C238.093 325.024 238.007 325.147 237.922 325.269C230.063 336.576 218.758 342.062 205.377 343.73C205.133 343.755 204.888 343.771 204.645 343.787C204.151 343.82 203.662 343.853 203.19 343.953C184.954 348.104 171.313 340.32 159.637 327.271C158.981 326.533 158.365 325.774 157.745 325.01C157.524 324.739 157.303 324.466 157.08 324.194C156.756 323.763 156.453 323.312 156.097 322.785C155.964 322.587 155.823 322.378 155.671 322.155C151.683 322.98 147.796 323.152 143.951 323.323C142.615 323.382 141.284 323.441 139.955 323.527C137.362 323.702 134.772 323.941 132.183 324.18C125.481 324.799 118.781 325.417 112.044 324.935C105.817 324.49 99.6635 323.378 93.844 321.154C86.2454 318.263 78.9062 314.667 71.8636 310.515C63.746 305.733 57.0741 299.208 51.1434 291.943C39.6157 277.893 32.499 261.804 29.6448 243.899C28.5671 237.073 29.0562 230.211 29.5598 223.147C29.5758 222.922 29.5918 222.697 29.6078 222.472C34.1855 219.729 38.7261 217.014 43.2667 214.298C47.8074 211.583 52.3481 208.867 56.9258 206.124C55.058 200.68 53.2461 195.375 51.4645 190.159C50.3469 186.887 49.2412 183.65 48.141 180.434C57.1111 168.349 69.0095 160.861 82.5388 155.745C87.8022 153.744 93.1398 152.001 98.5144 150.333C108.263 147.256 115.528 140.991 121.31 132.799C123.201 130.13 124.342 128.784 126.092 129.092C128.761 129.561 129.205 133.837 128.761 136.914C127.945 142.734 124.72 147.367 120.903 151.556C117.789 154.967 114.156 157.784 110.153 160.12C108.715 160.961 107.281 161.806 105.847 162.652C100.516 165.795 95.1918 168.934 89.7297 171.797C70.6033 181.769 61.5591 198.451 57.8525 218.802C54.9613 234.78 58.6679 249.608 66.8226 263.102C76.7193 279.45 91.9166 288.087 110.969 289.978C122.274 291.127 132.616 277.114 131.244 267.661C130.503 262.434 128.724 257.652 126.129 253.093C124.043 249.467 121.708 246.025 119.369 242.576C118.216 240.876 117.061 239.174 115.936 237.449C110.265 228.774 106.15 219.433 105.742 208.942C104.964 188.256 112.674 171.834 130.132 160.157C133.247 158.075 136.493 156.205 139.741 154.334C144.185 151.774 148.631 149.213 152.743 146.107C156.301 143.438 159.637 140.509 162.936 137.507C172.981 128.387 168.644 106.701 152.446 102.067C147.183 100.547 142.179 102.216 137.508 104.81C135.655 105.848 132.341 106.989 131.763 105.774C131.141 103.989 132.467 101.771 134.098 100.51C142.068 94.4307 151.149 92.4289 160.934 93.9859C164.135 94.4929 167.254 95.7044 170.338 96.9022C170.862 97.1056 171.384 97.3085 171.906 97.5076C174.871 98.6197 177.207 100.696 179.171 103.179C179.486 103.578 179.764 104 180.041 104.418C180.254 104.74 180.465 105.06 180.691 105.367C192.775 120.64 189.661 137.247 180.728 150.741C175.205 159.082 167.903 165.866 160.082 172.019C154.374 176.505 148.814 181.176 144.662 187.255C140.437 193.446 137.879 200.045 139.176 207.718C140.511 215.54 145.07 221.36 151.371 225.549C156.82 229.182 163.047 231.258 169.793 231.184C172.331 231.184 174.723 230.819 177.294 229.437ZM175.835 317.966C172.277 318.856 168.681 319.597 164.011 319.338C165.729 318.563 167.323 317.826 168.846 317.123C171.331 315.974 173.625 314.914 175.946 313.925C177.726 313.147 179.764 313.184 181.618 313.629C186.214 314.704 190.588 316.409 195.555 318.819C193.071 319.894 191.329 319.634 189.661 318.782C185.139 316.446 180.506 316.78 175.835 317.966Z"></path></mask><path fill-rule="evenodd" clip-rule="evenodd" d="M177.294 229.437C176.864 227.937 176.002 226.893 175.17 225.884C175.007 225.686 174.844 225.489 174.686 225.29C170.498 220.137 169.015 213.946 167.977 207.644C166.827 200.707 169.684 194.677 172.528 188.674C172.617 188.485 172.707 188.297 172.796 188.108C178.096 176.839 186.066 167.46 194.368 158.377L194.69 158.028C197.991 154.438 201.278 150.864 205.155 147.812C206.415 146.811 207.601 145.662 208.343 143.809C207.687 142.861 207.043 141.883 206.392 140.896C204.982 138.756 203.542 136.57 201.893 134.541C196.333 127.646 196.481 120.899 201.596 113.893C202.11 113.19 202.619 112.484 203.128 111.779C205.999 107.799 208.862 103.832 212.42 100.399L213.332 99.5236C222.33 90.882 231.31 82.2574 240.776 74.1532C243.852 71.5211 247.225 69.4823 250.932 67.8882C254.602 66.2942 257.789 66.8503 260.755 69.5193C266.352 74.5609 270.169 80.9 273.765 87.3873C280.066 98.6939 284.848 110.631 288.999 122.827C290.519 127.312 291.853 131.835 291.705 136.691C291.557 141.473 289.778 145.18 285.923 148.109C282.216 150.926 278.213 153.039 274.061 155.041C273.717 155.209 273.366 155.366 273.017 155.523C271.903 156.022 270.812 156.512 270.021 157.302C269.227 158.529 269.382 159.721 269.527 160.844L269.539 160.935C269.88 163.671 270.21 166.41 270.54 169.149C271.431 176.544 272.322 183.949 273.431 191.333C275.396 204.456 273.95 217.097 268.168 228.997C265.054 235.41 260.384 240.896 253.712 244.159C252.251 244.879 250.808 245.627 249.37 246.372C245.849 248.198 242.359 250.008 238.7 251.35C238.632 253.023 239.281 254.296 239.965 255.639C240.404 256.499 240.857 257.389 241.146 258.431C238.441 262.782 235.715 267.171 232.964 271.601C227.534 280.342 222.007 289.24 216.349 298.319C224.689 304.176 232.658 309.773 240.553 315.334C242.149 319.235 240.081 322.186 238.179 324.9C238.093 325.024 238.007 325.147 237.922 325.269C230.063 336.576 218.758 342.062 205.377 343.73C205.133 343.755 204.888 343.771 204.645 343.787C204.151 343.82 203.662 343.853 203.19 343.953C184.954 348.104 171.313 340.32 159.637 327.271C158.981 326.533 158.365 325.774 157.745 325.01C157.524 324.739 157.303 324.466 157.08 324.194C156.756 323.763 156.453 323.312 156.097 322.785C155.964 322.587 155.823 322.378 155.671 322.155C151.683 322.98 147.796 323.152 143.951 323.323C142.615 323.382 141.284 323.441 139.955 323.527C137.362 323.702 134.772 323.941 132.183 324.18C125.481 324.799 118.781 325.417 112.044 324.935C105.817 324.49 99.6635 323.378 93.844 321.154C86.2454 318.263 78.9062 314.667 71.8636 310.515C63.746 305.733 57.0741 299.208 51.1434 291.943C39.6157 277.893 32.499 261.804 29.6448 243.899C28.5671 237.073 29.0562 230.211 29.5598 223.147C29.5758 222.922 29.5918 222.697 29.6078 222.472C34.1855 219.729 38.7261 217.014 43.2667 214.298C47.8074 211.583 52.3481 208.867 56.9258 206.124C55.058 200.68 53.2461 195.375 51.4645 190.159C50.3469 186.887 49.2412 183.65 48.141 180.434C57.1111 168.349 69.0095 160.861 82.5388 155.745C87.8022 153.744 93.1398 152.001 98.5144 150.333C108.263 147.256 115.528 140.991 121.31 132.799C123.201 130.13 124.342 128.784 126.092 129.092C128.761 129.561 129.205 133.837 128.761 136.914C127.945 142.734 124.72 147.367 120.903 151.556C117.789 154.967 114.156 157.784 110.153 160.12C108.715 160.961 107.281 161.806 105.847 162.652C100.516 165.795 95.1918 168.934 89.7297 171.797C70.6033 181.769 61.5591 198.451 57.8525 218.802C54.9613 234.78 58.6679 249.608 66.8226 263.102C76.7193 279.45 91.9166 288.087 110.969 289.978C122.274 291.127 132.616 277.114 131.244 267.661C130.503 262.434 128.724 257.652 126.129 253.093C124.043 249.467 121.708 246.025 119.369 242.576C118.216 240.876 117.061 239.174 115.936 237.449C110.265 228.774 106.15 219.433 105.742 208.942C104.964 188.256 112.674 171.834 130.132 160.157C133.247 158.075 136.493 156.205 139.741 154.334C144.185 151.774 148.631 149.213 152.743 146.107C156.301 143.438 159.637 140.509 162.936 137.507C172.981 128.387 168.644 106.701 152.446 102.067C147.183 100.547 142.179 102.216 137.508 104.81C135.655 105.848 132.341 106.989 131.763 105.774C131.141 103.989 132.467 101.771 134.098 100.51C142.068 94.4307 151.149 92.4289 160.934 93.9859C164.135 94.4929 167.254 95.7044 170.338 96.9022C170.862 97.1056 171.384 97.3085 171.906 97.5076C174.871 98.6197 177.207 100.696 179.171 103.179C179.486 103.578 179.764 104 180.041 104.418C180.254 104.74 180.465 105.06 180.691 105.367C192.775 120.64 189.661 137.247 180.728 150.741C175.205 159.082 167.903 165.866 160.082 172.019C154.374 176.505 148.814 181.176 144.662 187.255C140.437 193.446 137.879 200.045 139.176 207.718C140.511 215.54 145.07 221.36 151.371 225.549C156.82 229.182 163.047 231.258 169.793 231.184C172.331 231.184 174.723 230.819 177.294 229.437ZM175.835 317.966C172.277 318.856 168.681 319.597 164.011 319.338C165.729 318.563 167.323 317.826 168.846 317.123C171.331 315.974 173.625 314.914 175.946 313.925C177.726 313.147 179.764 313.184 181.618 313.629C186.214 314.704 190.588 316.409 195.555 318.819C193.071 319.894 191.329 319.634 189.661 318.782C185.139 316.446 180.506 316.78 175.835 317.966Z" fill="#FFBB34"></path><path d="M214.718 207.496L212.718 207.489V207.496H214.718ZM234.511 227.106H236.511V225.093L234.498 225.107L234.511 227.106ZM174.167 194.521L176.167 194.549L176.167 194.544L174.167 194.521ZM192.182 212.871L192.174 210.872L192.167 210.872L192.182 212.871ZM234.599 185.923C222.452 185.842 212.759 195.441 212.718 207.489L216.718 207.503C216.751 197.679 224.628 189.855 234.572 189.922L234.599 185.923ZM212.718 207.496C212.718 219.58 222.371 229.187 234.525 229.106L234.498 225.107C224.56 225.173 216.718 217.357 216.718 207.496H212.718ZM232.512 227.106V227.143H236.511V227.106H232.512ZM192.123 174.913C181.272 174.831 172.291 183.648 172.168 194.498L176.167 194.544C176.265 185.895 183.446 178.846 192.092 178.912L192.123 174.913ZM172.168 194.493C172.004 206.083 180.674 214.953 192.196 214.871L192.167 210.872C182.932 210.938 176.034 203.942 176.167 194.549L172.168 194.493ZM192.189 214.871C203.259 214.83 211.858 206.229 211.899 195.159L207.9 195.144C207.867 204.018 201.046 210.839 192.174 210.872L192.189 214.871ZM177.294 229.437L179.187 232.96L182.028 231.434L181.138 228.334L177.294 229.437ZM175.17 225.884L178.255 223.339L178.255 223.339L175.17 225.884ZM174.686 225.29L177.818 222.803L177.804 222.785L177.789 222.767L174.686 225.29ZM167.977 207.644L171.923 206.994L171.922 206.99L167.977 207.644ZM172.528 188.674L176.142 190.386L176.142 190.386L172.528 188.674ZM172.796 188.108L176.411 189.818L176.415 189.81L172.796 188.108ZM194.368 158.377L191.425 155.67L191.417 155.679L194.368 158.377ZM194.69 158.028L197.634 160.735L197.634 160.735L194.69 158.028ZM205.155 147.812L207.628 150.955L207.635 150.949L207.642 150.944L205.155 147.812ZM208.343 143.809L212.056 145.294L212.853 143.301L211.632 141.535L208.343 143.809ZM206.392 140.896L203.053 143.097L203.053 143.097L206.392 140.896ZM201.893 134.541L198.78 137.051L198.784 137.057L198.789 137.063L201.893 134.541ZM201.596 113.893L198.366 111.535L198.366 111.535L201.596 113.893ZM203.128 111.779L199.884 109.439V109.439L203.128 111.779ZM212.42 100.399L209.65 97.5147L209.643 97.5209L212.42 100.399ZM213.332 99.5236L216.102 102.408L216.102 102.408L213.332 99.5236ZM240.776 74.1532L238.176 71.1143L238.175 71.1153L240.776 74.1532ZM250.932 67.8882L252.512 71.5621L252.519 71.5592L252.525 71.5563L250.932 67.8882ZM260.755 69.5193L263.431 66.5479L263.43 66.5469L260.755 69.5193ZM273.765 87.3873L270.267 89.326L270.272 89.3342L273.765 87.3873ZM288.999 122.827L292.787 121.543L292.785 121.538L288.999 122.827ZM291.705 136.691L295.702 136.815L295.702 136.813L291.705 136.691ZM285.923 148.109L283.503 144.924L283.503 144.925L285.923 148.109ZM274.061 155.041L272.324 151.439L272.317 151.442L272.31 151.446L274.061 155.041ZM273.017 155.523L271.381 151.874L271.381 151.874L273.017 155.523ZM270.021 157.302L267.193 154.475L266.894 154.774L266.663 155.13L270.021 157.302ZM269.527 160.844L273.494 160.33L273.493 160.329L269.527 160.844ZM269.539 160.935L273.508 160.441L273.507 160.432L273.505 160.422L269.539 160.935ZM270.54 169.149L274.51 168.671V168.671L270.54 169.149ZM273.431 191.333L277.386 190.741L277.386 190.739L273.431 191.333ZM268.168 228.997L264.571 227.249L264.57 227.25L268.168 228.997ZM253.712 244.159L251.955 240.566L251.944 240.571L253.712 244.159ZM249.37 246.372L251.211 249.922L251.211 249.922L249.37 246.372ZM238.7 251.35L237.322 247.596L234.812 248.517L234.704 251.188L238.7 251.35ZM239.965 255.639L236.402 257.455L236.402 257.455L239.965 255.639ZM241.146 258.431L244.543 260.542L245.469 259.052L245 257.361L241.146 258.431ZM232.964 271.601L236.361 273.711V273.711L232.964 271.601ZM216.349 298.319L212.955 296.203L210.953 299.416L214.05 301.591L216.349 298.319ZM240.553 315.334L244.255 313.82L243.812 312.738L242.856 312.064L240.553 315.334ZM238.179 324.9L241.454 327.195L241.455 327.195L238.179 324.9ZM237.922 325.269L234.641 322.982L234.638 322.987L237.922 325.269ZM205.377 343.73L205.775 347.709L205.824 347.705L205.872 347.699L205.377 343.73ZM204.645 343.787L204.913 347.777L204.913 347.777L204.645 343.787ZM203.19 343.953L202.366 340.039L202.334 340.046L202.303 340.053L203.19 343.953ZM159.637 327.271L156.648 329.928L156.657 329.938L159.637 327.271ZM157.745 325.01L160.85 322.49L160.85 322.489L157.745 325.01ZM157.08 324.194L153.88 326.593L153.933 326.664L153.989 326.732L157.08 324.194ZM156.097 322.785L152.781 325.02L152.781 325.02L156.097 322.785ZM155.671 322.155L158.975 319.902L157.473 317.698L154.861 318.239L155.671 322.155ZM143.951 323.323L143.774 319.327L143.951 323.323ZM139.955 323.527L139.696 319.536L139.685 319.537L139.955 323.527ZM132.183 324.18L132.55 328.162H132.55L132.183 324.18ZM112.044 324.935L111.759 328.924L112.044 324.935ZM93.844 321.154L95.2718 317.419L95.2663 317.416L93.844 321.154ZM71.8636 310.515L73.8946 307.07L73.8935 307.069L71.8636 310.515ZM51.1434 291.943L54.2416 289.414L54.2351 289.406L51.1434 291.943ZM29.6448 243.899L25.6946 244.523L25.6955 244.529L29.6448 243.899ZM29.5598 223.147L25.5707 222.862H25.5707L29.5598 223.147ZM29.6078 222.472L27.5521 219.042L25.7662 220.112L25.6187 222.189L29.6078 222.472ZM43.2667 214.298L41.2141 210.866H41.2141L43.2667 214.298ZM56.9258 206.124L58.9815 209.555L61.7595 207.89L60.7086 204.827L56.9258 206.124ZM51.4645 190.159L47.68 191.451V191.451L51.4645 190.159ZM48.141 180.434L44.9298 178.051L43.6764 179.739L44.3573 181.729L48.141 180.434ZM82.5388 155.745L83.9532 159.486L83.9604 159.483L82.5388 155.745ZM98.5144 150.333L99.6999 154.153L99.709 154.15L99.7181 154.147L98.5144 150.333ZM121.31 132.799L118.047 130.487L118.043 130.493L121.31 132.799ZM126.092 129.092L126.785 125.153H126.785L126.092 129.092ZM128.761 136.914L124.803 136.341L124.801 136.35L124.8 136.359L128.761 136.914ZM120.903 151.556L123.856 154.253L123.858 154.25L120.903 151.556ZM110.153 160.12L108.138 156.665L108.135 156.667L110.153 160.12ZM105.847 162.652L103.816 159.207H103.816L105.847 162.652ZM89.7297 171.797L91.5785 175.343L91.5862 175.339L89.7297 171.797ZM57.8525 218.802L53.918 218.086L53.9172 218.09L57.8525 218.802ZM66.8226 263.102L63.3999 265.17L63.4014 265.173L66.8226 263.102ZM110.969 289.978L111.373 285.999L111.364 285.998L110.969 289.978ZM131.244 267.661L127.285 268.223L127.286 268.236L131.244 267.661ZM126.129 253.093L129.605 251.115L129.6 251.107L129.595 251.098L126.129 253.093ZM119.369 242.576L116.059 244.821L119.369 242.576ZM115.936 237.449L119.285 235.264L119.283 235.26L115.936 237.449ZM105.742 208.942L101.746 209.092L101.746 209.097L105.742 208.942ZM130.132 160.157L127.91 156.832L127.909 156.833L130.132 160.157ZM139.741 154.334L137.745 150.869V150.869L139.741 154.334ZM152.743 146.107L150.343 142.908L150.332 142.916L152.743 146.107ZM162.936 137.507L160.248 134.546L160.244 134.549L162.936 137.507ZM152.446 102.067L151.337 105.909L151.346 105.912L152.446 102.067ZM137.508 104.81L135.566 101.315L135.554 101.321L137.508 104.81ZM131.763 105.774L127.987 107.09L128.058 107.296L128.152 107.492L131.763 105.774ZM134.098 100.51L131.673 97.3307L131.663 97.3383L131.653 97.346L134.098 100.51ZM160.934 93.9859L160.306 97.9354L160.309 97.9358L160.934 93.9859ZM170.338 96.9022L171.786 93.1743L171.786 93.1743L170.338 96.9022ZM171.906 97.5076L170.481 101.244L170.491 101.248L170.502 101.252L171.906 97.5076ZM179.171 103.179L182.31 100.701L182.308 100.698L179.171 103.179ZM180.041 104.418L176.705 106.623V106.623L180.041 104.418ZM180.691 105.367L177.471 107.739L177.512 107.794L177.555 107.848L180.691 105.367ZM180.728 150.741L184.062 152.949L184.063 152.948L180.728 150.741ZM160.082 172.019L162.553 175.164L162.555 175.162L160.082 172.019ZM144.662 187.255L141.36 185L141.359 185.001L144.662 187.255ZM139.176 207.718L135.233 208.385L135.234 208.391L139.176 207.718ZM151.371 225.549L153.59 222.222L153.585 222.219L151.371 225.549ZM169.793 231.184V227.185H169.771L169.749 227.185L169.793 231.184ZM164.011 319.338L162.367 315.692L163.789 323.331L164.011 319.338ZM175.835 317.966L176.805 321.846L176.812 321.844L176.82 321.842L175.835 317.966ZM168.846 317.123L170.524 320.753L170.524 320.753L168.846 317.123ZM175.946 313.925L177.513 317.605L177.531 317.597L177.549 317.589L175.946 313.925ZM181.618 313.629L180.684 317.518L180.695 317.52L180.707 317.523L181.618 313.629ZM195.555 318.819L197.143 322.489L205.143 319.026L197.3 315.221L195.555 318.819ZM189.661 318.782L187.826 322.335L187.833 322.339L187.841 322.343L189.661 318.782ZM181.138 228.334C180.449 225.934 179.051 224.304 178.255 223.339L172.085 228.429C172.953 229.481 173.278 229.94 173.45 230.54L181.138 228.334ZM178.255 223.339C178.087 223.136 177.949 222.968 177.818 222.803L171.554 227.777C171.739 228.01 171.926 228.235 172.085 228.429L178.255 223.339ZM177.789 222.767C174.304 218.479 172.944 213.195 171.923 206.994L164.031 208.294C165.086 214.697 166.691 221.794 171.583 227.812L177.789 222.767ZM171.922 206.99C171.009 201.481 173.207 196.581 176.142 190.386L168.914 186.962C166.161 192.773 162.645 199.934 164.032 208.298L171.922 206.99ZM176.142 190.386C176.231 190.198 176.321 190.008 176.411 189.818L169.181 186.398C169.092 186.585 169.003 186.773 168.914 186.962L176.142 190.386ZM176.415 189.81C181.438 179.13 189.043 170.13 197.32 161.076L191.417 155.679C183.088 164.79 174.754 174.548 169.177 186.406L176.415 189.81ZM197.312 161.085L197.634 160.735L191.747 155.321L191.425 155.67L197.312 161.085ZM197.634 160.735C200.97 157.107 204.045 153.775 207.628 150.955L202.681 144.67C198.51 147.953 195.013 151.768 191.746 155.321L197.634 160.735ZM207.642 150.944C209.139 149.755 210.941 148.081 212.056 145.294L204.629 142.324C204.261 143.244 203.691 143.868 202.668 144.681L207.642 150.944ZM211.632 141.535C211.006 140.629 210.387 139.689 209.732 138.695L203.053 143.097C203.699 144.077 204.368 145.092 205.053 146.083L211.632 141.535ZM209.732 138.695C208.339 136.583 206.792 134.229 204.997 132.019L198.789 137.063C200.291 138.912 201.625 140.93 203.053 143.097L209.732 138.695ZM205.006 132.031C202.644 129.102 201.753 126.541 201.741 124.237C201.728 121.907 202.611 119.285 204.826 116.251L198.366 111.535C195.467 115.506 193.718 119.762 193.742 124.28C193.767 128.825 195.582 133.085 198.78 137.051L205.006 132.031ZM204.826 116.251C205.347 115.537 205.863 114.823 206.371 114.119L199.884 109.439C199.375 110.146 198.872 110.842 198.366 111.535L204.826 116.251ZM206.371 114.119C209.276 110.092 211.938 106.421 215.196 103.277L209.643 97.5209C205.786 101.243 202.722 105.506 199.884 109.439L206.371 114.119ZM215.19 103.284L216.102 102.408L210.561 96.6391L209.65 97.5147L215.19 103.284ZM216.102 102.408C225.113 93.7532 234.012 85.2086 243.377 77.191L238.175 71.1153C228.608 79.3063 219.546 88.0108 210.561 96.6392L216.102 102.408ZM243.376 77.192C246.12 74.8439 249.143 73.011 252.512 71.5621L249.352 64.2144C245.308 65.9535 241.584 68.1984 238.176 71.1143L243.376 77.192ZM252.525 71.5563C253.803 71.0012 254.73 70.9289 255.444 71.0489C256.164 71.1699 257.03 71.5471 258.079 72.4918L263.43 66.5469C261.514 64.8225 259.304 63.5871 256.77 63.1613C254.232 62.7346 251.73 63.1813 249.339 64.2202L252.525 71.5563ZM258.078 72.4908C263.137 77.0481 266.685 82.8635 270.267 89.3259L277.263 85.4487C273.654 78.9365 269.566 72.0738 263.431 66.5479L258.078 72.4908ZM270.272 89.3342C276.412 100.353 281.104 112.043 285.213 124.115L292.785 121.538C288.591 109.218 283.72 97.0349 277.258 85.4405L270.272 89.3342ZM285.212 124.11C286.719 128.559 287.832 132.489 287.708 136.569L295.702 136.813C295.874 131.18 294.319 126.065 292.787 121.543L285.212 124.11ZM287.708 136.567C287.595 140.218 286.34 142.77 283.503 144.924L288.342 151.293C293.215 147.591 295.519 142.729 295.702 136.815L287.708 136.567ZM283.503 144.925C280.122 147.494 276.41 149.469 272.324 151.439L275.798 158.643C280.016 156.61 284.31 154.358 288.343 151.293L283.503 144.925ZM272.31 151.446C272.032 151.581 271.739 151.713 271.381 151.874L274.654 159.172C274.993 159.02 275.402 158.837 275.813 158.636L272.31 151.446ZM271.381 151.874C270.427 152.302 268.6 153.067 267.193 154.475L272.849 160.13C273.023 159.956 273.38 159.743 274.654 159.172L271.381 151.874ZM266.663 155.13C264.987 157.722 265.427 160.319 265.561 161.358L273.493 160.329C273.455 160.033 273.432 159.848 273.419 159.678C273.406 159.519 273.408 159.437 273.411 159.398C273.413 159.366 273.415 159.378 273.404 159.415C273.391 159.454 273.377 159.477 273.379 159.475L266.663 155.13ZM265.561 161.357L265.573 161.448L273.505 160.422L273.494 160.33L265.561 161.357ZM265.571 161.429C265.91 164.156 266.239 166.886 266.569 169.628L274.51 168.671C274.18 165.933 273.85 163.186 273.508 160.441L265.571 161.429ZM266.569 169.628C267.459 177.013 268.357 184.475 269.477 191.927L277.386 190.739C276.287 183.422 275.402 176.076 274.51 168.671L266.569 169.628ZM269.476 191.925C271.338 204.36 269.955 216.169 264.571 227.249L271.765 230.745C277.946 218.025 279.454 204.553 277.386 190.741L269.476 191.925ZM264.57 227.25C261.751 233.057 257.648 237.783 251.955 240.566L255.469 247.751C263.12 244.01 268.357 237.763 271.765 230.743L264.57 227.25ZM251.944 240.571C250.44 241.312 248.961 242.08 247.53 242.822L251.211 249.922C252.655 249.174 254.061 248.445 255.479 247.746L251.944 240.571ZM247.53 242.822C243.968 244.668 240.703 246.356 237.322 247.596L240.078 255.105C244.015 253.66 247.73 251.727 251.211 249.922L247.53 242.822ZM234.704 251.188C234.588 254.042 235.76 256.195 236.402 257.455L243.529 253.823C242.801 252.396 242.676 252.003 242.696 251.512L234.704 251.188ZM236.402 257.455C236.859 258.352 237.127 258.902 237.293 259.501L245 257.361C244.587 255.876 243.948 254.647 243.529 253.823L236.402 257.455ZM237.75 256.319C235.044 260.671 232.318 265.061 229.566 269.491L236.361 273.711C239.112 269.281 241.838 264.893 244.543 260.542L237.75 256.319ZM229.566 269.491C224.137 278.232 218.611 287.128 212.955 296.203L219.743 300.434C225.403 291.353 230.932 282.451 236.361 273.711L229.566 269.491ZM214.05 301.591C222.391 307.449 230.358 313.045 238.251 318.604L242.856 312.064C234.958 306.502 226.987 300.903 218.647 295.046L214.05 301.591ZM236.852 316.848C237.23 317.772 237.18 318.461 236.909 319.225C236.567 320.188 235.916 321.161 234.904 322.606L241.455 327.195C243.177 324.737 246.778 319.989 244.255 313.82L236.852 316.848ZM234.904 322.605C234.818 322.729 234.729 322.855 234.641 322.982L241.202 327.556C241.284 327.438 241.368 327.319 241.454 327.195L234.904 322.605ZM234.638 322.987C227.567 333.161 217.403 338.201 204.882 339.762L205.872 347.699C220.113 345.923 232.56 339.99 241.206 327.551L234.638 322.987ZM204.979 339.751C204.811 339.768 204.632 339.78 204.378 339.797L204.913 347.777C205.145 347.762 205.455 347.741 205.775 347.709L204.979 339.751ZM204.378 339.797C203.935 339.827 203.161 339.872 202.366 340.039L204.014 347.866C204.163 347.834 204.367 347.814 204.913 347.777L204.378 339.797ZM202.303 340.053C186.013 343.762 173.75 337.046 162.617 324.604L156.657 329.938C168.876 343.593 183.894 352.447 204.078 347.852L202.303 340.053ZM162.626 324.614C162.039 323.953 161.479 323.264 160.85 322.49L154.64 327.531C155.251 328.284 155.923 329.112 156.648 329.928L162.626 324.614ZM160.85 322.489C160.63 322.219 160.402 321.938 160.17 321.656L153.989 326.732C154.205 326.994 154.419 327.258 154.64 327.531L160.85 322.489ZM160.279 321.795C160.027 321.459 159.781 321.095 159.414 320.55L152.781 325.02C153.124 325.529 153.485 326.067 153.88 326.593L160.279 321.795ZM159.414 320.55C159.281 320.353 159.134 320.135 158.975 319.902L152.367 324.408C152.512 324.62 152.647 324.821 152.781 325.02L159.414 320.55ZM154.861 318.239C151.234 318.989 147.662 319.155 143.774 319.327L144.128 327.318C147.931 327.149 152.131 326.971 156.481 326.071L154.861 318.239ZM143.774 319.327C142.445 319.386 141.073 319.447 139.696 319.536L140.213 327.517C141.495 327.434 142.785 327.377 144.128 327.318L143.774 319.327ZM139.685 319.537C137.035 319.716 134.397 319.96 131.815 320.198L132.55 328.162C135.148 327.923 137.689 327.688 140.225 327.517L139.685 319.537ZM131.815 320.198C125.059 320.821 118.686 321.4 112.329 320.946L111.759 328.924C118.877 329.433 125.902 328.776 132.55 328.162L131.815 320.198ZM112.329 320.946C106.379 320.521 100.631 319.467 95.2718 317.419L92.4163 324.89C98.6956 327.29 105.254 328.46 111.759 328.924L112.329 320.946ZM95.2663 317.416C87.8973 314.612 80.7611 311.118 73.8946 307.07L69.8326 313.96C77.0514 318.216 84.5935 321.913 92.4218 324.892L95.2663 317.416ZM73.8935 307.069C66.3209 302.608 59.9941 296.461 54.2416 289.414L48.0453 294.471C54.154 301.955 61.1712 308.857 69.8337 313.961L73.8935 307.069ZM54.2351 289.406C43.1675 275.917 36.3391 260.49 33.5941 243.27L25.6955 244.529C28.6588 263.118 36.064 279.869 48.0517 294.479L54.2351 289.406ZM33.5951 243.275C32.6007 236.977 33.0395 230.576 33.5488 223.431L25.5707 222.862C25.0729 229.846 24.5335 237.168 25.6946 244.523L33.5951 243.275ZM33.5488 223.431C33.5648 223.206 33.5809 222.981 33.5969 222.756L25.6187 222.189C25.6027 222.413 25.5867 222.638 25.5707 222.862L33.5488 223.431ZM31.6634 225.903C36.2393 223.161 40.7784 220.446 45.3193 217.731L41.2141 210.866C36.6738 213.581 32.1316 216.298 27.5521 219.042L31.6634 225.903ZM45.3193 217.731C49.8597 215.015 54.4019 212.299 58.9815 209.555L54.8701 202.694C50.2942 205.436 45.7551 208.151 41.2141 210.866L45.3193 217.731ZM60.7086 204.827C58.8417 199.385 57.0308 194.083 55.249 188.866L47.68 191.451C49.4615 196.667 51.2742 201.974 53.143 207.422L60.7086 204.827ZM55.249 188.866C54.1315 185.594 53.0254 182.356 51.9248 179.14L44.3573 181.729C45.457 184.943 46.5624 188.179 47.68 191.451L55.249 188.866ZM51.3523 182.818C59.7438 171.512 70.9214 164.414 83.9532 159.486L81.1243 152.005C67.0976 157.309 54.4785 165.186 44.9298 178.051L51.3523 182.818ZM83.9604 159.483C89.11 157.525 94.3568 155.811 99.6999 154.153L97.329 146.514C91.9228 148.192 86.4944 149.962 81.1171 152.007L83.9604 159.483ZM99.7181 154.147C110.497 150.745 118.424 143.824 124.578 135.105L118.043 130.493C112.632 138.159 106.029 143.768 97.3107 146.519L99.7181 154.147ZM124.574 135.11C125.038 134.455 125.404 133.955 125.723 133.559C126.046 133.159 126.244 132.961 126.349 132.871C126.443 132.791 126.359 132.888 126.111 132.968C125.828 133.061 125.561 133.059 125.399 133.03L126.785 125.153C124.467 124.745 122.577 125.577 121.159 126.786C119.975 127.796 118.943 129.223 118.047 130.487L124.574 135.11ZM125.399 133.03C124.967 132.954 124.673 132.702 124.569 132.57C124.515 132.503 124.613 132.602 124.721 133.022C124.941 133.878 124.974 135.157 124.803 136.341L132.719 137.486C132.992 135.594 133.025 133.196 132.467 131.028C131.954 129.035 130.498 125.806 126.785 125.153L125.399 133.03ZM124.8 136.359C124.152 140.986 121.574 144.883 117.947 148.863L123.858 154.25C127.867 149.852 131.739 144.482 132.721 137.468L124.8 136.359ZM117.949 148.86C115.144 151.933 111.84 154.505 108.138 156.665L112.169 163.574C116.473 161.063 120.434 158.001 123.856 154.253L117.949 148.86ZM108.135 156.667C106.689 157.513 105.249 158.362 103.816 159.207L107.878 166.097C109.313 165.251 110.741 164.409 112.172 163.572L108.135 156.667ZM103.816 159.207C98.4701 162.359 93.2319 165.446 87.8732 168.255L91.5862 175.339C97.1517 172.422 102.562 169.231 107.878 166.097L103.816 159.207ZM87.8808 168.251C67.3449 178.958 57.7733 196.918 53.918 218.086L61.7869 219.519C65.3449 199.983 73.8618 184.58 91.5785 175.343L87.8808 168.251ZM53.9172 218.09C50.8244 235.182 54.83 250.989 63.3999 265.17L70.2453 261.033C62.5059 248.227 59.0982 234.378 61.7877 219.514L53.9172 218.09ZM63.4014 265.173C74.0208 282.714 90.4108 291.957 110.574 293.957L111.364 285.998C93.4224 284.218 79.4178 276.185 70.2437 261.031L63.4014 265.173ZM110.564 293.956C118.019 294.714 124.613 290.481 128.918 285.373C133.197 280.296 136.106 273.319 135.202 267.087L127.286 268.236C127.754 271.457 126.178 276.213 122.802 280.218C119.454 284.192 115.224 286.391 111.373 285.999L110.564 293.956ZM135.204 267.1C134.382 261.306 132.412 256.048 129.605 251.115L122.653 255.071C125.035 259.257 126.624 263.563 127.285 268.223L135.204 267.1ZM129.595 251.098C127.424 247.323 125.004 243.76 122.678 240.331L116.059 244.821C118.412 248.29 120.663 251.611 122.663 255.087L129.595 251.098ZM122.678 240.331C121.522 238.626 120.388 236.954 119.285 235.264L112.586 239.634C113.735 241.395 114.909 243.126 116.059 244.821L122.678 240.331ZM119.283 235.26C113.834 226.926 110.108 218.291 109.739 208.786L101.746 209.097C102.192 220.574 106.695 230.622 112.588 239.637L119.283 235.26ZM109.739 208.791C109.009 189.404 116.123 174.338 132.356 163.481L127.909 156.833C109.224 169.33 100.919 187.108 101.746 209.092L109.739 208.791ZM132.355 163.482C135.34 161.486 138.47 159.681 141.737 157.799L137.745 150.869C134.516 152.728 131.153 154.664 127.91 156.832L132.355 163.482ZM141.737 157.799C146.146 155.26 150.81 152.579 155.153 149.298L150.332 142.916C146.452 145.847 142.224 148.288 137.745 150.869L141.737 157.799ZM155.142 149.306C158.855 146.521 162.303 143.491 165.628 140.464L160.244 134.549C156.971 137.528 153.747 140.355 150.343 142.908L155.142 149.306ZM165.624 140.468C172.056 134.628 173.512 125.226 171.403 117.1C169.264 108.858 163.254 100.999 153.546 98.2223L151.346 105.912C157.837 107.769 162.094 113.071 163.661 119.11C165.259 125.266 163.861 131.266 160.248 134.546L165.624 140.468ZM153.556 98.2251C146.763 96.2635 140.573 98.5327 135.566 101.315L139.451 108.306C143.785 105.898 147.603 104.831 151.337 105.909L153.556 98.2251ZM135.554 101.321C134.889 101.694 133.949 102.08 133.253 102.241C132.876 102.329 132.86 102.282 133.094 102.308C133.23 102.324 133.596 102.381 134.041 102.627C134.534 102.901 135.049 103.372 135.374 104.056L128.152 107.492C129.155 109.601 131.153 110.138 132.194 110.256C133.27 110.377 134.307 110.208 135.062 110.032C136.63 109.668 138.274 108.965 139.463 108.3L135.554 101.321ZM135.54 104.458C135.701 104.922 135.498 105.071 135.678 104.703C135.752 104.553 135.869 104.368 136.031 104.172C136.193 103.978 136.372 103.807 136.544 103.675L131.653 97.346C130.398 98.3155 129.245 99.6521 128.494 101.188C127.758 102.691 127.203 104.842 127.987 107.09L135.54 104.458ZM136.524 103.69C143.56 98.3219 151.52 96.5375 160.306 97.9354L161.563 90.0364C150.778 88.3204 140.575 90.5395 131.673 97.3307L136.524 103.69ZM160.309 97.9358C163.013 98.3642 165.729 99.4023 168.89 100.63L171.786 93.1743C168.779 92.0064 165.257 90.6217 161.56 90.036L160.309 97.9358ZM168.89 100.63C169.412 100.833 169.946 101.04 170.481 101.244L173.332 93.7711C172.823 93.577 172.311 93.3784 171.786 93.1743L168.89 100.63ZM170.502 101.252C172.555 102.022 174.339 103.517 176.035 105.66L182.308 100.698C180.074 97.8741 177.188 95.2174 173.31 93.7631L170.502 101.252ZM176.032 105.657C176.225 105.901 176.413 106.181 176.705 106.623L183.378 102.214C183.116 101.818 182.746 101.254 182.31 100.701L176.032 105.657ZM176.705 106.623C176.908 106.93 177.175 107.336 177.471 107.739L183.911 102.994C183.756 102.784 183.6 102.55 183.378 102.214L176.705 106.623ZM177.555 107.848C183.007 114.739 184.932 121.761 184.596 128.523C184.257 135.37 181.579 142.211 177.393 148.533L184.063 152.948C188.81 145.777 192.156 137.567 192.585 128.919C193.018 120.185 190.459 111.267 183.827 102.885L177.555 107.848ZM177.394 148.533C172.208 156.364 165.28 162.841 157.609 168.876L162.555 175.162C170.526 168.89 178.202 161.799 184.062 152.949L177.394 148.533ZM157.611 168.875C151.884 173.375 145.888 178.369 141.36 185L147.965 189.511C151.74 183.982 156.864 179.635 162.553 175.164L157.611 168.875ZM141.359 185.001C136.809 191.667 133.7 199.315 135.233 208.385L143.12 207.052C142.058 200.775 144.064 195.225 147.965 189.51L141.359 185.001ZM135.234 208.391C136.791 217.516 142.14 224.214 149.157 228.88L153.585 222.219C148 218.506 144.231 213.564 143.119 207.046L135.234 208.391ZM149.153 228.877C155.201 232.91 162.207 235.267 169.837 235.183L169.749 227.185C163.888 227.249 158.439 225.455 153.59 222.222L149.153 228.877ZM169.793 235.183C172.778 235.183 175.871 234.742 179.187 232.96L175.401 225.915C173.574 226.896 171.884 227.185 169.793 227.185V235.183ZM163.789 323.331C169.053 323.623 173.104 322.771 176.805 321.846L174.865 314.086C171.45 314.94 168.31 315.571 164.233 315.345L163.789 323.331ZM167.168 313.492C165.644 314.197 164.065 314.926 162.367 315.692L165.655 322.983C167.392 322.2 169.003 321.456 170.524 320.753L167.168 313.492ZM174.38 310.246C171.992 311.262 169.643 312.348 167.168 313.492L170.524 320.753C173.02 319.599 175.257 318.565 177.513 317.605L174.38 310.246ZM182.551 309.74C180.174 309.17 177.18 309.02 174.343 310.262L177.549 317.589C178.271 317.273 179.354 317.198 180.684 317.518L182.551 309.74ZM197.3 315.221C192.169 312.731 187.506 310.899 182.528 309.735L180.707 317.523C184.922 318.509 189.007 320.087 193.809 322.417L197.3 315.221ZM187.841 322.343C189.046 322.958 190.468 323.454 192.147 323.519C193.818 323.584 195.473 323.212 197.143 322.489L193.966 315.149C193.153 315.5 192.695 315.536 192.457 315.527C192.227 315.518 191.944 315.458 191.481 315.221L187.841 322.343ZM176.82 321.842C181.084 320.759 184.566 320.651 187.826 322.335L191.496 315.228C185.712 312.241 179.927 312.801 174.851 314.09L176.82 321.842Z" fill="#09275E" mask="url(#path-14-outside-1_503_366)"></path><path d="M89.8915 57.0404L88.8306 56.4518L87.8186 57.121C83.1444 60.2119 78.8785 63.8126 74.7973 67.2575C72.8793 68.8764 71.0021 70.4608 69.1426 71.9418L68.5392 72.4223L68.4148 73.1836C67.5559 78.4416 67.2125 83.6401 66.8775 88.7105C66.7295 90.952 66.583 93.1685 66.3945 95.3539L66.2979 96.4726L67.2029 97.1374C73.7731 101.964 80.2245 106.589 87.0594 110.997L88.5282 111.944L89.6634 110.615C99.2102 99.4404 108.42 88.6371 117.806 77.6265L119.17 76.0265L120.755 74.1671L118.619 72.9811C109.997 68.1945 101.84 63.6689 93.2746 58.9173C92.1545 58.2959 91.0275 57.6706 89.8915 57.0404Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M234.144 227.534C245.264 227.497 253.864 218.785 253.752 207.738C253.641 196.876 245.116 188.387 234.218 188.313C223.173 188.239 214.388 196.95 214.351 207.886C214.351 218.859 223.098 227.571 234.144 227.497V227.534ZM209.495 195.542C209.569 185.421 201.711 177.377 191.74 177.303C181.992 177.229 173.911 185.162 173.8 194.912C173.652 205.402 181.436 213.336 191.814 213.261C201.785 213.224 209.495 205.514 209.532 195.542H209.495Z" fill="white"></path><path d="M326.03 255.941L327.06 254.494L325.746 253.3C314.068 242.697 302.688 232.39 290.938 221.751L289.436 220.391L288.096 221.911C283.602 227.006 279.159 232.049 274.717 237.092C269.007 243.574 263.297 250.056 257.48 256.645L256.053 258.262L257.773 259.563C263.62 263.986 269.634 267.923 275.55 271.755C276.01 272.053 276.47 272.351 276.929 272.648C281.952 275.898 286.886 279.092 291.64 282.498C291.145 283.634 290.505 284.695 289.809 285.85C289.759 285.934 289.708 286.018 289.657 286.103C288.682 287.723 287.577 289.599 287.15 291.848L286.96 292.846L287.654 293.588C289.462 295.519 291.386 296.901 293.747 298.2L295.305 299.056L296.338 297.61C303.314 287.843 310.216 278.15 317.28 268.227C320.164 264.177 323.075 260.088 326.03 255.941Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M338.304 204.327L340.616 203.887L339.809 201.677C337.196 194.522 334.629 187.488 332.062 180.454L332.06 180.448C329.493 173.416 326.927 166.384 324.315 159.231L323.572 157.196L321.603 158.099C312.602 162.228 303.999 166.201 295.438 170.155C292.927 171.315 290.419 172.474 287.905 173.634L286.432 174.314L286.794 175.895C287.483 178.907 288.165 181.885 288.842 184.842C290.824 193.497 292.764 201.972 294.726 210.591L295.153 212.471L297.048 212.112C303.286 210.93 309.385 209.783 315.447 208.643C323.058 207.212 330.611 205.792 338.304 204.327Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M37.3088 70.9943L35.2298 70.8135L35.1379 72.8983C34.8368 79.7309 35.1199 86.2832 35.4538 92.655C35.4925 93.3945 35.5319 94.1312 35.5712 94.8654C35.8716 100.484 36.1646 105.96 36.0998 111.479L36.0783 113.317L37.9082 113.493C49.9545 114.649 61.3173 115.099 73.3255 114.575L74.9709 114.504L75.2157 112.875C76.5829 103.776 77.4526 94.7227 78.3254 85.6351C78.6885 81.8548 79.0522 78.0687 79.4525 74.271L79.676 72.1506L77.5456 72.0635C72.0999 71.8409 66.7299 71.813 61.4159 71.7853C60.05 71.7782 58.6877 71.7711 57.3289 71.7607C50.6626 71.7098 44.0466 71.5803 37.3088 70.9943Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M293.135 284.096L294.283 282.389L292.544 281.29C285.636 276.922 278.849 272.64 272.089 268.375C264.438 263.547 256.821 258.742 249.103 253.858L247.365 252.759L246.315 254.526C242.757 260.514 239.237 266.431 235.729 272.329C230.832 280.561 225.958 288.754 221.035 297.047L220.055 298.697L221.664 299.744C226.371 302.807 231.013 305.901 235.644 308.988C244.5 314.891 253.318 320.77 262.487 326.355L264.121 327.35L265.187 325.762C269.467 319.393 273.673 313.115 277.875 306.842C282.927 299.301 287.973 291.769 293.135 284.096Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M4.6069 136.87L3.32656 138.114L4.41714 139.527C5.45766 140.875 6.49509 142.219 7.53067 143.56C13.6143 151.443 19.6343 159.242 25.8437 167.258L26.9528 168.69L28.4871 167.727C34.6363 163.87 40.6597 160.096 46.7543 156.277C50.6154 153.858 54.505 151.421 58.4733 148.933L60.4036 147.723L58.9534 145.966C49.8109 134.89 40.7098 124.525 31.3269 113.991L29.9405 112.435L28.4429 113.884C24.7686 117.442 21.1619 120.91 17.5712 124.363C13.2568 128.511 8.96536 132.638 4.6069 136.87Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M24.1438 220.764L24.7235 223.219L26.9813 222.095C35.2305 217.986 42.7267 213.623 50.2998 209.214C51.4696 208.534 52.6413 207.852 53.8179 207.169L55.3098 206.304L54.6731 204.701C53.3352 201.333 52.2061 197.943 51.0558 194.489C50.8421 193.847 50.6276 193.203 50.411 192.557C49.0368 188.457 47.5826 184.287 45.7024 180.146L44.9085 178.398L43.1293 179.12C41.6769 179.71 40.2302 180.291 38.7892 180.87C31.8672 183.65 25.0751 186.377 18.3958 189.795L17.0028 190.508L17.3598 192.031C18.8458 198.372 20.3156 204.583 21.8347 211.001C22.5895 214.19 23.3566 217.431 24.1438 220.764Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M223.136 212.372C225.063 210.629 227.658 211.037 228.733 208.553C228.918 204.179 224.841 205.959 222.765 204.921C221.876 199.99 224.1 195.468 228.066 193.985C231.735 192.576 236.369 194.244 238.741 198.211C241.669 203.141 241.558 208.405 239.297 213.521C238.111 216.227 235.664 217.895 232.551 217.747C228.659 217.525 224.952 216.82 223.136 212.409V212.372Z" fill="#09275E"></path><path d="M190.814 197.247C188.923 196.024 186.996 196.802 185.365 196.098C183.919 191.538 186.625 185.57 190.999 183.716C194.891 182.085 199.784 184.198 201.971 188.721C204.046 193.021 204.195 197.655 202.638 202.066C200.303 208.739 193.445 209.406 187.811 203.512C188.404 201.992 190.517 202.363 190.851 201.362C191.926 199.62 191.815 198.433 190.851 197.21L190.814 197.247Z" fill="#09275E"></path><path d="M258.547 165.167C259.667 168.526 263.813 172.965 265.746 174.765C266.945 172.765 265.182 164.595 264.946 163.767C264.346 159.768 264.546 158.768 264.946 155.369C265.346 151.97 273.544 151.17 281.342 146.771C289.141 142.372 287.541 134.373 286.341 130.374C285.307 126.927 283.142 122.976 281.742 119.776C280.342 116.577 271.944 101.98 269.945 98.3807C267.945 94.7815 266.145 93.5817 265.746 93.5817C265.346 93.5817 264.346 93.5817 265.346 98.3807C265.876 100.926 267.345 108.779 267.745 110.378C268.145 111.978 268.945 124.175 268.345 129.174C267.865 133.173 266.145 137.639 265.346 139.372C265.012 137.906 264.106 134.533 263.146 132.774C261.946 130.574 260.147 126.775 258.547 125.175C256.948 123.575 255.748 122.176 253.748 121.776C251.748 121.376 255.548 127.775 257.147 132.774C258.747 137.773 256.948 142.372 257.147 147.97C257.347 153.569 257.147 160.968 258.547 165.167Z" fill="#FFA220"></path><path d="M232.123 270.553C232.123 267.25 229.599 264.176 227.693 261.583C226.593 260.086 225.628 258.278 224.349 256.998" stroke="#FFBB34" stroke-width="1.19975" stroke-linecap="round"></path><path d="M232.521 269.158C232.057 267.59 231.444 266.408 230.373 265.104C228.229 262.495 226.282 259.735 224.216 257.065C222.613 254.994 220.993 252.315 220.163 249.822" stroke="#FFBB34" stroke-width="1.19975" stroke-linecap="round"></path><path d="M229.953 263.546C231.553 266.266 232.753 269.611 233.153 270.945L238.352 262.746L234.752 255.348C233.553 253.548 233.553 251.349 233.553 249.549C233.553 247.749 237.552 247.35 238.752 246.55C239.951 245.75 240.751 245.75 242.751 244.15C244.75 242.551 247.95 240.351 248.349 238.751C248.749 237.152 241.151 240.151 239.151 240.751C237.152 241.351 233.953 242.55 232.353 243.35C230.753 244.15 226.354 245.35 223.155 246.55C219.955 247.749 220.155 250.549 220.355 251.949C220.555 253.348 223.955 255.948 224.554 256.348C225.154 256.748 227.954 260.147 229.953 263.546Z" fill="#FFA220"></path>',30)]))}const BluepicLogo=_export_sfc(_sfc_main$j,[["render",_sfc_render$2]]),_hoisted_1$e={key:0,class:"nav-wrapper"},_hoisted_2$b={class:"back-btn-wrapper"},_hoisted_3$9={key:0,class:"branding"},_hoisted_4$6={class:"logo"},_hoisted_5$5={class:"actions"},_hoisted_6$2={class:"editor-inner"},_hoisted_7$2={key:0,class:"view-desktop"},_hoisted_8$2={class:"fields-view"},_hoisted_9$2={key:0,class:"slides-nav-wrapper"},_hoisted_10$2={key:1,class:"form-extra-wrapper"},_hoisted_11$2={class:"time-meta-wrapper"},_hoisted_12$1={class:"play-controls"},_hoisted_13$1={class:"live-view-inner"},_hoisted_14$1=["src"],_hoisted_15$1=["src"],_hoisted_16$1={class:"time-meta-wrapper"},_hoisted_17={class:"play-controls"},_hoisted_18={class:"form-extra-wrapper"},_hoisted_19=["src"],_hoisted_20={key:0,class:"timeline-wrapper"},_hoisted_21={class:"time-meta-wrapper"},_hoisted_22={class:"play-controls"},_hoisted_23={class:"fields-view"},_hoisted_24={key:0,class:"slides-nav-wrapper"},_hoisted_25={key:1,class:"form-extra-wrapper"},_hoisted_26={class:"stack-nav-wrapper"},_hoisted_27={key:0,class:"branding"},_hoisted_28={class:"logo"},_hoisted_29={class:"actions"},_hoisted_30={key:3,class:"view-kiosk"},_hoisted_31={class:"kiosk-field-wrapper"},_hoisted_32={key:0,class:"navigation-view"},_hoisted_33={class:"toolbar"},_sfc_main$i=vue.defineComponent({__name:"BluepicEmbeddedEditor",props:vue.mergeModels({data:{},displayMode:{},templateId:{},name:{},embedApiBaseUrl:{},env:{},cloudflarePagesHostname:{},bxCoreVersion:{},authorization:{},asyncSerial:{type:Boolean},baseSerial:{},preview:{},resolution:{},webgl:{type:Boolean},fonts:{},bridge:{},watermark:{},zoomAndPan:{type:Boolean},exportActions:{},embedProjectId:{},branding:{type:Boolean},showNavBar:{type:Boolean,default:!0},showBackBtn:{type:Boolean,default:!1},bearerToken:{},password:{},liveViewOffsetDesktop:{default:()=>({top:0,right:20,bottom:0,left:0})},liveViewOffsetMobile:{default:()=>({top:0,right:0,bottom:0,left:0})},liveViewOffsetStack:{default:()=>({top:0,right:0,bottom:0,left:0})},liveViewOffsetKiosk:{default:()=>({top:0,right:0,bottom:0,left:0})}},{serial:{required:!1},serialModifiers:{},ready:{type:Boolean,required:!1},readyModifiers:{}}),emits:vue.mergeModels(["back","update:data","update:globalScope","handle-export-action","before-export","after-export"],["update:serial","update:ready"]),setup(m,{expose:c,emit:ie}){const we=m,Ie=ie,Me=vue.ref(we.data??{});vue.watch(()=>we.data,gn=>{gn&&!lodash.exports.isEqual(gn,Me.value)&&(Me.value=gn)});const Ze=vue.useModel(m,"serial"),ne=vue.useModel(m,"ready"),rr=vue.ref(),{width:pr,height:lr}=useElementBounding(rr);vue.watchEffect(()=>{Ie("update:data",Me.value)});const yr=vue.computed(()=>we.embedProjectId),kr=vue.computed(()=>we.templateId);vue.provide("data",Me),vue.provide("bridge",we.bridge);const Br=vue.ref(),{width:Ar,height:Pr}=useElementBounding(Br),Nr=vue.ref(),{width:ei}=useWindowSize(),Vr=vue.ref([]),Zr=vue.computed(()=>{if(!Nr.value?.aspectRatio)return;const gn=Nr.value.bluepicLiveTemplateRootWidth*Nr.value.aspectRatio;return Pr.value-gn}),Wr=vue.computed(()=>we.displayMode==="auto"?ei.value>768?"desktop":"mobile":we.displayMode);function ai(){!Nr.value||(Nr.value.transform={x:0,y:0,scale:1,rotate:0})}const ui=vue.computed(()=>Nr.value?.bluepicLiveTemplateRootWidth),di=vue.computed(()=>Nr.value?.bluepicLiveTemplateRootHeight);vue.watch([ui,di],ai);const fi=vue.ref(!1),li=()=>fi.value=!0,hi=vue.ref();function gr(gn){hi.value=gn}function Ae(){if(!(!Ze.value?.frames||!hi.value)&&Wr.value==="mobile"){const gn=ze.value[hi.value.activeIndex],dn=[gn.originalField,...gn.fields].find(Pn=>Pn?.frameIndex!==void 0)?.frameIndex;if(dn!==void 0&&Ze.value.frames&&Ze.value.frames.x>0&&Ze.value.frames.y>0){const Pn=(dn-1)%Ze.value.frames.x,zo=Math.floor((dn-1)/Ze.value.frames.x);Nr.value?.applyTranformBasedOnFrame(Pn+1,zo+1)}}}const{mobileFields:ze}=useMobileFields(Vr),Ue=[Navigation,Pagination,Scrollbar,A11y];vue.computed(()=>Vr.value.map(gn=>gn.hitbox).filter(gn=>gn));function tr({x:gn,y:dn}){}const or=vue.computed(()=>ze.value.reduce((gn,dn)=>[...gn,...dn.fields],[])),vr=vue.ref(0),br=vue.ref(!1),nr=vue.computed(()=>or.value.map((gn,dn)=>({label:getFieldDescription(gn),value:dn,icon:()=>renderFieldIcon(gn.type,dn===vr.value)}))),$e=vue.computed(()=>nr.value.find(({value:gn})=>gn===vr.value)?.label),ur=vue.computed(()=>ei.value<=768);function $r(gn){vr.value=gn,br.value=!0,or.value[gn]}const Yr=vue.computed(()=>vr.value<or.value.length-1),wi=vue.computed(()=>vr.value>0);function ki(){Yr.value&&$r(vr.value+1)}function Mi(){wi.value&&$r(vr.value-1)}const si=vue.computed(()=>or.value[vr.value]),_i=vue.computed(()=>Object.values(Ze.value?.frames??{x:1,y:1}).reduce((gn,dn)=>dn*gn,1)),ii=vue.computed(()=>_i.value>1),Jr=vue.computed({get(){if(!Ze.value?.frames||!ii.value)return;const{x:gn,y:dn}=Nr.value?.closestFrame??{x:1,y:1},Pn=gn-1;return(dn-1)*Ze.value.frames.x+Pn+1},set(gn){if(gn===void 0||!ii.value||!Ze.value?.frames)return;const dn=gn-1,Pn=dn%Ze.value.frames.x,zo=Math.floor(dn/Ze.value.frames.x);Nr.value?.applyTranformBasedOnFrame(Pn+1,zo+1)}}),bi=vue.computed(()=>Nr.value?.globalScope??{});vue.watchEffect(()=>{Ie("update:globalScope",bi.value)});const vi=gn=>new Function(...Object.keys(bi.value),`return (${gn.toString()})()`)(...Object.values(bi.value));vue.provide("computedPropEvaluator",vi);const Di=vue.useSlots(),Ui=gn=>{!gn||(Vr.value=(gn.fields??gn?.meta.fields.map(convertDeprecatedField).filter(dn=>dn!==void 0)).map(realizeField).filter(dn=>ii.value&&Wr.value!=="mobile"?(dn.frameIndex??1)===Jr.value:!0),Me.value={...gn.bindings,...Me.value})};we.baseSerial&&Ui(we.baseSerial);const pn=vue.computed(()=>(Ze.value??we.baseSerial)?.animation);vue.watch(Ze,()=>{Ui(Ze.value)}),vue.watch(Jr,()=>{Wr.value!=="mobile"&&Ui(Ze.value)}),vue.watch(Wr,()=>{Ui(Ze.value)});const tn=vue.ref(0);vue.watchEffect(()=>{Ze.value?.animation&&(Me.value.TIME=tn.value)});const Tn=vue.computed(()=>1/(Ze.value?.animation?.fps??30)),Ji=vue.ref(Tn.value),Vi=vue.ref(!1),Gn=vue.ref(!0);let En=0,An=0;function To(){Vi.value=!Vi.value,Vi.value&&(En=Date.now(),An=tn.value);function gn(){const dn=Ze.value?.animation.duration??120;if(Vi.value){const Pn=(Date.now()-En)/1e3%dn,Dn=An-An%Ji.value+Pn,Xn=Dn-Dn%Ji.value;Xn>dn?Gn.value?tn.value=0:(Vi.value=!1,tn.value=dn):tn.value=Xn,requestAnimationFrame(gn)}}gn()}const hn=vue.computed(()=>{const gn=we.exportActions??[];return gn.length===0?[{renderFormat:"png",trigger:"user-gesture",label:"Download",download:!0,successMessage:"Image downloaded",webhook:void 0,redirect:void 0}]:gn}),On=vue.computed(()=>hn.value.filter(gn=>gn.trigger==="user-gesture"||!gn.trigger).map((gn,dn)=>({label:gn.label,value:dn}))),Wo=vue.computed(()=>hn.value.some(gn=>gn.download===!1&&gn.trigger==="user-gesture")),Fn=vue.computed(()=>hn.value.filter(gn=>gn.trigger==="onupdate"));vue.watch(Me,useDebounceFn(()=>{for(const gn of Fn.value)Zn(hn.value.indexOf(gn))},1e3),{deep:!0});const Wn=nanoid(),No=vue.ref(!1);async function Zn(gn){const dn=hn.value[gn];if(!dn)return;const Pn={PRIMARY_COLOR:"#47AFD5FF",SECONDARY_COLOR:"#474FB1FF",TERTIARY_COLOR:"#D6AFC7FF",LOGO_IMAGE_LIGHT:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/94fda3e8-3770-4052-21df-a669c761c600/public",LOGO_IMAGE_DARK:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/894acbb8-37a0-452a-5c10-2ca63b487800/public",DISPLAY_FONT:"Unbounded",BODY_FONT:"Inter",FOO:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIC8+Cjwvc3ZnPg==",MAPBOX_ACCESS_TOKEN:"pk.eyJ1IjoibWF1cmljZS1jb25yYWQiLCJhIjoiY2w5eTllbnNwMDMycTNubG5mYmd5bDl1MCJ9.VjV0KzTnJ6nbK2kZejkHaQ"},zo={exportAction:dn,templateId:kr.value,data:Object.fromEntries(Object.entries(Me.value).filter(([Dn,Xn])=>!(Dn==="TIME"&&!Ze.value?.animation?.enabled||Dn in Pn&&Xn===Pn[Dn]))),embedProjectId:yr.value,files:null,creditsConsumed:null,sessionId:Wn,userAgent:navigator.userAgent,visitorId:"foo",visitorConfidence:0};if(Ie("handle-export-action",dn),Ie("before-export",zo),No.value=!0,dn.renderFormat!=="none")if(Ze.value?.animation?.enabled){if(dn.trigger==="onupdate")return No.value=!1,console.error("onupdate is not supported for video export");const Dn=await ma("mp4",Ze.value.animation.duration*1e3,`${we.name}`);zo.files=Object.fromEntries(await Promise.all(Dn.files.map(async Xn=>{const ha=await fetch(Xn).then(Jn=>Jn.blob());return[`video.${mimeTypes.extension(ha.type)}`,ha]}))),zo.creditsConsumed=Dn.creditsConsumed}else{if(dn.trigger==="onupdate")return No.value=!1,console.error("onupdate is not supported for image export");const Dn=await oo(dn.renderFormat,`${we.name}`,void 0);zo.files=Dn.files??null,zo.creditsConsumed=Dn.creditsConsumed}if(zo.files!==null&&dn.download&&dn.trigger==="user-gesture"&&await downloadFiles(Object.values(zo.files),`${we.name}`),dn.webhook)try{const Dn=await fetch(dn.webhook,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(zo)}),Xn=await Dn.text();Dn.ok||console.error("Webhook failed",Xn),console.log("Webhook result",Xn),dn.successMessage&&createMessage({type:"success",message:dn.successMessage,closeAfter:5e3})}catch(Dn){console.error("Webhook error",Dn)}if((zo.files!==null||dn.webhook)&&dn.successMessage&&dn.successMessage,No.value=!1,Ie("after-export",zo),dn.redirect&&dn.trigger==="user-gesture"){const Dn=new URL(dn.redirect);Dn.searchParams.set("context",JSON.stringify(zo)),window.location=Dn.toString()}}const{render:oo,renderVideo:ma,videoFiles:Yn,videoProgress:eo,videoRendering:ta}=useRenderer(we.embedApiBaseUrl,we.cloudflarePagesHostname,we.env,Nr,Ze,yr,kr,vue.toRef(we,"bearerToken"),vue.toRef(we,"password"),Me),jn=vue.computed(()=>{if(!eo.value||!(eo.value.type==="keyframe"||eo.value.type==="encode_video"||eo.value.type==="encode_audio"))return;const gn={keyframe:.8,encode_video:.1,encode_audio:.1},dn=Object.values(gn).reduce((Xn,ha)=>Xn+ha,0),Pn=Object.keys(gn).findIndex(Xn=>Xn===eo.value?.type),zo=Object.values(gn).slice(0,Pn).reduce((Xn,ha)=>Xn+ha,0),Dn=gn[eo.value.type]*(eo.value.frame/eo.value.totalFrames);return(zo+Dn)/dn*100});c({bluepicLiveTemplateRef:Nr,slidesNavIndex:Jr,serial:Ze,ready:ne});function ao(){window.open("https://bluepic.io","_blank")}return(gn,dn)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bluepic-embedded-editor",{"display-mode-stack":Wr.value==="stack"}])},[Wr.value!=="stack"&&gn.showNavBar?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$e,[vue.createElementVNode("div",_hoisted_2$b,[gn.showBackBtn?(vue.openBlock(),vue.createElementBlock("button",{key:0,class:"btn-nav-back",onClick:dn[0]||(dn[0]=Pn=>Ie("back"))},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronBackOutline))]),_:1})])):vue.createCommentVNode("",!0)]),gn.branding?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$9,[vue.createElementVNode("div",{class:"branding-wrapper",onClick:ao},[vue.createElementVNode("div",_hoisted_4$6,[vue.createVNode(BluepicLogo)]),dn[23]||(dn[23]=vue.createElementVNode("div",{class:"content"},[vue.createElementVNode("span",{class:"main"}," Design Template "),vue.createElementVNode("span",{class:"sub"}," shared with Bluepic ")],-1))])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_5$5,[On.value.length>=2?(vue.openBlock(),vue.createBlock(BxDropdown,{key:0,options:On.value,onSelect:Zn},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{secondary:"",loading:(No.value||vue.unref(ta))&&jn.value===void 0,disabled:No.value||vue.unref(ta)||!ne.value},{icon:vue.withCtx(()=>[jn.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000000",class:"export-button-circular-progress",progress:jn.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[vue.createTextVNode(" "+vue.toDisplayString(Wo.value?"Export":"Download"),1)]),_:1},8,["loading","disabled"])]),_:1},8,["options"])):On.value.length===1?(vue.openBlock(),vue.createBlock(BxButton,{key:1,secondary:"",onClick:dn[1]||(dn[1]=Pn=>Zn(0)),loading:(No.value||vue.unref(ta))&&jn.value===void 0,disabled:No.value||vue.unref(ta)},{icon:vue.withCtx(()=>[jn.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000",class:"export-button-circular-progress",progress:jn.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[vue.createTextVNode(" "+vue.toDisplayString(hn.value[0].label),1)]),_:1},8,["loading","disabled"])):vue.createCommentVNode("",!0)])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_6$2,[Wr.value==="desktop"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$2,[vue.createElementVNode("div",_hoisted_8$2,[ii.value&&Jr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$2,[vue.createVNode(SlidesNavigation,{length:_i.value,index:Jr.value,"onUpdate:index":dn[2]||(dn[2]=Pn=>Jr.value=Pn)},null,8,["length","index"])])):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$s,{fields:Vr.value},null,8,["fields"]),Di["form-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$2,[vue.renderSlot(gn.$slots,"form-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[pn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"timelineWrapperRef",ref:rr,class:"timeline-wrapper"},[vue.createElementVNode("div",_hoisted_11$2,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((pn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":dn[3]||(dn[3]=Pn=>tn.value=Pn),min:0,step:Ji.value,max:pn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_12$1,[vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayBack))]),_:1})]),vue.createElementVNode("button",{onClick:To},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[Vi.value?(vue.openBlock(),vue.createBlock(vue.unref(Pause),{key:0})):(vue.openBlock(),vue.createBlock(vue.unref(Play),{key:1}))]),_:1})]),vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayForward))]),_:1})])])],512)):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_13$1,[vue.createVNode(vue.Transition,{name:"ghost-loading-preview-image-fade"},{default:vue.withCtx(()=>[gn.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":gn.baseSerial.width/gn.baseSerial.height,"--timeline-height":`${vue.unref(lr)}px`,"--offset-top":`${gn.liveViewOffsetDesktop.top}px`,"--offset-right":`${gn.liveViewOffsetDesktop.right}px`,"--offset-bottom":`${gn.liveViewOffsetDesktop.bottom}px`,"--offset-left":`${gn.liveViewOffsetDesktop.left}px`})},[vue.createElementVNode("img",{src:gn.preview?vue.unref(optimizePreviewUrl)(gn.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:gn.embedApiBaseUrl,env:gn.env}),onLoad:li},null,40,_hoisted_14$1),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":fi.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Nr,"template-id":kr.value,"embed-api-base-url":gn.embedApiBaseUrl,env:gn.env,"cloudflare-pages-hostname":gn.cloudflarePagesHostname,"bx-core-version":gn.bxCoreVersion,authorization:gn.authorization,"async-serial":gn.asyncSerial,resolution:gn.resolution,webgl:gn.webgl,fonts:gn.fonts,"base-serial":gn.baseSerial,data:Me.value,"onUpdate:data":dn[4]||(dn[4]=Pn=>Me.value=Pn),serial:Ze.value,"onUpdate:serial":dn[5]||(dn[5]=Pn=>Ze.value=Pn),ready:ne.value,"onUpdate:ready":dn[6]||(dn[6]=Pn=>ne.value=Pn),onMatrixClick:tr,watermark:gn.watermark,"zoom-and-pan":gn.zoomAndPan,scrollbars:gn.zoomAndPan,offset:gn.liveViewOffsetDesktop},null,8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","authorization","async-serial","resolution","webgl","fonts","base-serial","data","serial","ready","watermark","zoom-and-pan","scrollbars","offset"])])],2)])):Wr.value==="mobile"?(vue.openBlock(),vue.createElementBlock("div",{key:1,ref_key:"viewMobileRef",ref:Br,class:"view-mobile"},[vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[vue.createVNode(vue.Transition,{name:"ghost-loading-preview-image-fade"},{default:vue.withCtx(()=>[gn.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":gn.baseSerial.width/gn.baseSerial.height})},[vue.createElementVNode("img",{src:gn.preview?vue.unref(optimizePreviewUrl)(gn.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:gn.embedApiBaseUrl,env:gn.env}),onLoad:li},null,40,_hoisted_15$1),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":fi.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Nr,"template-id":kr.value,"embed-api-base-url":gn.embedApiBaseUrl,env:gn.env,"cloudflare-pages-hostname":gn.cloudflarePagesHostname,"bx-core-version":gn.bxCoreVersion,authorization:gn.authorization,"async-serial":gn.asyncSerial,resolution:gn.resolution,webgl:gn.webgl,fonts:gn.fonts,"base-serial":gn.baseSerial,data:Me.value,"onUpdate:data":dn[7]||(dn[7]=Pn=>Me.value=Pn),serial:Ze.value,"onUpdate:serial":dn[8]||(dn[8]=Pn=>Ze.value=Pn),ready:ne.value,"onUpdate:ready":dn[9]||(dn[9]=Pn=>ne.value=Pn),onMatrixClick:tr,watermark:gn.watermark,"zoom-and-pan":gn.zoomAndPan,scrollbars:gn.zoomAndPan,offset:gn.liveViewOffsetMobile},null,8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","authorization","async-serial","resolution","webgl","fonts","base-serial","data","serial","ready","watermark","zoom-and-pan","scrollbars","offset"])],2),pn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"timelineWrapperRef",ref:rr,class:"timeline-wrapper"},[vue.createElementVNode("div",_hoisted_16$1,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((pn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":dn[10]||(dn[10]=Pn=>tn.value=Pn),min:0,step:Ji.value,max:pn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_17,[vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayBack))]),_:1})]),vue.createElementVNode("button",{onClick:To},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[Vi.value?(vue.openBlock(),vue.createBlock(vue.unref(Pause),{key:0})):(vue.openBlock(),vue.createBlock(vue.unref(Play),{key:1}))]),_:1})]),vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayForward))]),_:1})])])],512)):vue.createCommentVNode("",!0),Me.value?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:"fields-view",style:vue.normalizeStyle({"--view-mobile-height":`${vue.unref(Pr)}px`})},[vue.createVNode(vue.unref(Swiper),{modules:Ue,"slides-per-view":1,"space-between":0,onSwiper:gr,onSlideChange:Ae},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(ze),({fields:Pn,originalField:zo},Dn)=>(vue.openBlock(),vue.createBlock(vue.unref(SwiperSlide),null,{default:vue.withCtx(()=>[vue.createVNode(MobileFieldsSlide,{fields:Pn,"original-field":zo,active:hi.value?.activeIndex===Dn,"mobile-fields-slides":vue.unref(ze),"natural-fields-view-max-height":Math.max(180,Zr.value??180),onSelectNav:dn[11]||(dn[11]=Xn=>hi.value?.slideTo(Xn)),"slide-index":Dn},null,8,["fields","original-field","active","mobile-fields-slides","natural-fields-view-max-height","slide-index"])]),_:2},1024))),256)),Di["form-extra"]?(vue.openBlock(),vue.createBlock(vue.unref(SwiperSlide),{key:0},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_18,[vue.renderSlot(gn.$slots,"form-extra",{},void 0,!0)])]),_:3})):vue.createCommentVNode("",!0)]),_:3}),vue.createElementVNode("div",{class:vue.normalizeClass(["swiper-nav-prev",{disabled:hi.value?.activeIndex===0}]),onClick:dn[12]||(dn[12]=Pn=>hi.value?.slidePrev())},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronBackOutline))]),_:1})],2),vue.createElementVNode("div",{class:vue.normalizeClass(["swiper-nav-next",{disabled:hi.value?.activeIndex===vue.unref(ze).length-1}]),onClick:dn[13]||(dn[13]=Pn=>hi.value?.slideNext())},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronForwardOutline))]),_:1})],2)],4)):vue.createCommentVNode("",!0)],512)):Wr.value==="stack"?(vue.openBlock(),vue.createElementBlock("div",{key:2,class:vue.normalizeClass(["view-stack",{}])},[vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[vue.createVNode(vue.Transition,{name:"ghost-loading-preview-image-fade"},{default:vue.withCtx(()=>[gn.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":gn.baseSerial.width/gn.baseSerial.height})},[vue.createElementVNode("img",{src:gn.preview?vue.unref(optimizePreviewUrl)(gn.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:gn.embedApiBaseUrl,env:gn.env}),onLoad:li},null,40,_hoisted_19),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":fi.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Nr,"template-id":kr.value,"embed-api-base-url":gn.embedApiBaseUrl,env:gn.env,"cloudflare-pages-hostname":gn.cloudflarePagesHostname,"bx-core-version":gn.bxCoreVersion,authorization:gn.authorization,"async-serial":gn.asyncSerial,resolution:gn.resolution,webgl:gn.webgl,fonts:gn.fonts,"base-serial":gn.baseSerial,data:Me.value,"onUpdate:data":dn[14]||(dn[14]=Pn=>Me.value=Pn),serial:Ze.value,"onUpdate:serial":dn[15]||(dn[15]=Pn=>Ze.value=Pn),ready:ne.value,"onUpdate:ready":dn[16]||(dn[16]=Pn=>ne.value=Pn),onMatrixClick:tr,watermark:gn.watermark,"zoom-and-pan":gn.zoomAndPan,scrollbars:gn.zoomAndPan,offset:gn.liveViewOffsetStack},null,8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","authorization","async-serial","resolution","webgl","fonts","base-serial","data","serial","ready","watermark","zoom-and-pan","scrollbars","offset"])],2),pn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",_hoisted_20,[vue.createElementVNode("div",_hoisted_21,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((pn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":dn[17]||(dn[17]=Pn=>tn.value=Pn),min:0,step:Ji.value,max:pn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_22,[vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayBack))]),_:1})]),vue.createElementVNode("button",{onClick:To},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[Vi.value?(vue.openBlock(),vue.createBlock(vue.unref(Pause),{key:0})):(vue.openBlock(),vue.createBlock(vue.unref(Play),{key:1}))]),_:1})]),vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayForward))]),_:1})])])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_23,[ii.value&&Jr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_24,[vue.createVNode(SlidesNavigation,{length:_i.value,index:Jr.value,"onUpdate:index":dn[18]||(dn[18]=Pn=>Jr.value=Pn)},null,8,["length","index"])])):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$s,{fields:Vr.value},null,8,["fields"]),Di["form-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_25,[vue.renderSlot(gn.$slots,"form-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_26,[gn.branding?(vue.openBlock(),vue.createElementBlock("div",_hoisted_27,[vue.createElementVNode("div",{class:"branding-wrapper",onClick:ao},[vue.createElementVNode("div",_hoisted_28,[vue.createVNode(BluepicLogo)]),dn[24]||(dn[24]=vue.createElementVNode("div",{class:"content"},[vue.createElementVNode("span",{class:"main"}," Design Template "),vue.createElementVNode("span",{class:"sub"}," shared with Bluepic ")],-1))])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_29,[On.value.length>=2?(vue.openBlock(),vue.createBlock(BxDropdown,{key:0,options:On.value,onSelect:Zn},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{secondary:"",loading:(No.value||vue.unref(ta))&&jn.value===void 0,disabled:No.value||vue.unref(ta)},{icon:vue.withCtx(()=>[jn.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000000",class:"export-button-circular-progress",progress:jn.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[dn[25]||(dn[25]=vue.createTextVNode(" Download "))]),_:1},8,["loading","disabled"])]),_:1},8,["options"])):On.value.length===1?(vue.openBlock(),vue.createBlock(BxButton,{key:1,secondary:"",onClick:dn[19]||(dn[19]=Pn=>Zn(0)),loading:(No.value||vue.unref(ta))&&jn.value===void 0,disabled:No.value||vue.unref(ta)},{icon:vue.withCtx(()=>[jn.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000",class:"export-button-circular-progress",progress:jn.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[vue.createTextVNode(" "+vue.toDisplayString(hn.value[0].label),1)]),_:1},8,["loading","disabled"])):vue.createCommentVNode("",!0)])])])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_30,[vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Nr,"template-id":kr.value,"embed-api-base-url":gn.embedApiBaseUrl,env:gn.env,"cloudflare-pages-hostname":gn.cloudflarePagesHostname,"bx-core-version":gn.bxCoreVersion,authorization:gn.authorization,"async-serial":gn.asyncSerial,resolution:gn.resolution,webgl:gn.webgl,fonts:gn.fonts,data:Me.value,"onUpdate:data":dn[20]||(dn[20]=Pn=>Me.value=Pn),serial:Ze.value,"onUpdate:serial":dn[21]||(dn[21]=Pn=>Ze.value=Pn),ready:ne.value,"onUpdate:ready":dn[22]||(dn[22]=Pn=>ne.value=Pn),onMatrixClick:tr,watermark:gn.watermark,"zoom-and-pan":gn.zoomAndPan,scrollbars:gn.zoomAndPan,offset:gn.liveViewOffsetKiosk},{matrix:vue.withCtx(({composePoint:Pn})=>[vue.createElementVNode("div",_hoisted_31,[Ze.value&&si.value&&br.value?(vue.openBlock(),vue.createBlock(KioskField,{key:0,field:si.value,"compose-point":Pn,serial:Ze.value},null,8,["field","compose-point","serial"])):vue.createCommentVNode("",!0)])]),_:1},8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","authorization","async-serial","resolution","webgl","fonts","data","serial","ready","watermark","zoom-and-pan","scrollbars","offset"])],2),ne.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_32,[vue.createElementVNode("div",_hoisted_33,[vue.createElementVNode("button",{class:vue.normalizeClass(["icon-only",{disabled:!wi.value}]),onClick:Mi},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronBackOutline))]),_:1})],2),vue.createVNode(BxDropdown,{options:nr.value,"mobile-layout":ur.value,onSelect:$r},{trigger:vue.withCtx(()=>[vue.createElementVNode("button",null,vue.toDisplayString($e.value),1)]),_:1},8,["options","mobile-layout"]),vue.createElementVNode("button",{class:vue.normalizeClass(["icon-only",{disabled:!Yr.value}]),onClick:ki},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronForwardOutline))]),_:1})],2)])])):vue.createCommentVNode("",!0)]))])],2))}}),BluepicEmbeddedEditor_vue_vue_type_style_index_0_scoped_62223e55_lang="",BluepicEmbeddedEditor=_export_sfc(_sfc_main$i,[["__scopeId","data-v-62223e55"]]),_hoisted_1$d={class:"collection-field-popup"},_sfc_main$h=vue.defineComponent({__name:"CollectionFieldPopup",props:vue.mergeModels({layout:{},fields:{},description:{},detailedDescription:{},bridge:{},defaultValue:{},mobile:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(m){const c=m,ie=vue.useModel(m,"modelValue");return vue.inject("computedPropEvaluator"),vue.inject("bridge"),(we,Ie)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$d,[vue.createVNode(_sfc_main$1d,{trigger:"click",type:"layer","pass-injections":["computedPropEvaluator","bridge"]},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,null,{default:vue.withCtx(()=>Ie[1]||(Ie[1]=[vue.createTextVNode(" Edit collection ")])),_:1})]),content:vue.withCtx(()=>[vue.createVNode(Collection,vue.mergeProps(c,{modelValue:ie.value,"onUpdate:modelValue":Ie[0]||(Ie[0]=Me=>ie.value=Me)}),null,16,["modelValue"])]),_:1})]))}}),CollectionFieldPopup_vue_vue_type_style_index_0_scoped_a0928c6b_lang="",CollectionFieldPopup=_export_sfc(_sfc_main$h,[["__scopeId","data-v-a0928c6b"]]),_sfc_main$g=vue.defineComponent({__name:"TableFieldsList",props:vue.mergeModels({fields:{}},{data:{required:!0},dataModifiers:{}}),emits:vue.mergeModels(["change"],["update:data"]),setup(m,{emit:c}){const ie={Text,Image:Image$1,Select,Collection:CollectionFieldPopup,Checkbox,Color,ImageAdjust,Map:Map$1,Number:Number$1,ImageEdit,SelectText,SelectImage,SelectColor},we=vue.useModel(m,"data"),Ie=c,Me=vue.inject("bridge"),Ze=vue.inject("computedPropEvaluator");Ze||console.error("computedPropEvaluator is not provided");const ne=pr=>{if("pos"in pr&&"scale"in pr){const yr=pr.image,kr=pr.pos,Br=pr.scale;return{image:we.value[yr],"onUpdate:image":Pr=>{we.value[yr]=Pr},adjust:{scale:we.value[Br],innerPos:we.value[kr]},"onUpdate:adjust":Pr=>{we.value[Br]=Pr.scale,we.value[kr]=Pr.innerPos}}}return{...Object.fromEntries(Object.entries(pr).map(([yr,kr])=>[yr,we.value[kr]])),...Object.fromEntries(Object.entries(pr).map(([yr])=>[`onUpdate:${yr}`,kr=>{we.value[pr[yr]]=kr,Ie("change")}]))}};function rr(pr){return Object.fromEntries(Object.entries(pr).map(([lr,yr])=>typeof yr=="function"?[lr,Ze(yr)]:[lr,yr]))}return(pr,lr)=>(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(pr.fields,yr=>(vue.openBlock(),vue.createElementBlock("td",{style:vue.normalizeStyle({"--min-width":yr.layout?.minWidth,"--max-width":yr.layout?.maxWidth})},[vue.createElementVNode("div",{class:"table-cell-wrapper-field-wrapper",style:vue.normalizeStyle({"--min-width":yr.layout?.minWidth,"--max-width":yr.layout?.maxWidth})},[yr.type in ie?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(ie[yr.type]),vue.mergeProps({key:0,bridge:vue.unref(Me),ref_for:!0},{...rr(yr.props),...ne(yr.model),description:yr.description,detailedDescription:yr.detailedDescription,field:yr,...(()=>{if(yr.type==="Text")return{...yr.layout,minWidth:"120px"};if(yr.type==="Select")return{...yr.layout,cardSize:"small"}})()}),null,16,["bridge"])):vue.createCommentVNode("",!0)],4)],4))),256))}}),TableFieldsList_vue_vue_type_style_index_0_scoped_b7b49ece_lang="",TableFieldsList=_export_sfc(_sfc_main$g,[["__scopeId","data-v-b7b49ece"]]),_hoisted_1$c=["onClick"],_hoisted_2$a={class:"label"},_hoisted_3$8={class:"indicator-wrapper"},_sfc_main$f=vue.defineComponent({__name:"BxTabs",props:vue.mergeModels({tabs:{},type:{default:"inline"},fullWidth:{type:Boolean,default:!1},fitWidth:{type:Boolean,default:!1}},{modelValue:{required:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(m){const c=m,ie=vue.ref(),we=vue.useModel(m,"modelValue");we.value||(we.value=c.tabs[0].name);const Ie=vue.ref();function Me(){if(!ie.value)return;const Ze=ie.value.getBoundingClientRect().left,ne=c.tabs.findIndex(pr=>pr.name===we.value);ie.value.children.item(ne);const rr=ie.value.children.item(ne)?.getBoundingClientRect();!rr||(Ie.value={x:rr?.left-Ze,width:rr?.width})}return vue.onMounted(()=>{vue.nextTick(()=>{Me()})}),vue.watch(we,Me),(Ze,ne)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-tabs-wrapper",{"full-width":Ze.fullWidth,"fit-width":Ze.fitWidth}])},[vue.createElementVNode("div",{class:vue.normalizeClass(["bx-tabs",{[`type-${Ze.type}`]:!0}])},[vue.createElementVNode("div",{class:"tabs",ref_key:"tabsRef",ref:ie},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(c.tabs,(rr,pr)=>(vue.openBlock(),vue.createElementBlock("div",{key:pr,class:vue.normalizeClass(["tab",{active:we.value===rr.name}]),onClick:lr=>we.value=rr.name},[vue.createElementVNode("span",_hoisted_2$a,vue.toDisplayString(rr.label),1)],10,_hoisted_1$c))),128))],512),vue.createElementVNode("div",_hoisted_3$8,[vue.createElementVNode("div",{class:"indicator",style:vue.normalizeStyle({"--width":`${Ie.value?.width}px`,"--x":`${Ie.value?.x}px`})},null,4)])],2)],2))}}),BxTabs_vue_vue_type_style_index_0_scoped_56b2b10c_lang="",BxTabs=_export_sfc(_sfc_main$f,[["__scopeId","data-v-56b2b10c"]]),_hoisted_1$b={class:"table-data-matcher"},_hoisted_2$9={class:"table-wrapper"},_hoisted_3$7={class:"value"},_sfc_main$e=vue.defineComponent({__name:"TableDataMatcher",props:{data:{},fields:{}},emits:["update:partial-data"],setup(m,{emit:c}){const ie=m,we=c,Ie=vue.ref(ie.data[0].map(()=>{})),Me=vue.ref(ie.data),Ze=vue.computed(()=>Object.fromEntries(Ie.value.map((lr,yr)=>lr?[Object.values(lr.model)[0],Me.value.map(Br=>Br[yr])]:void 0).filter(lr=>lr!==void 0)));function ne(lr){Me.value=Me.value.filter((yr,kr)=>kr!==lr)}function rr(lr){return ie.fields.filter(yr=>{const kr=Ie.value.indexOf(yr);return kr===lr||kr===-1}).map(yr=>({label:getFieldDescription(yr),value:yr,icon:()=>renderFieldIcon(yr.type,!1)}))}function pr(lr,yr){Ie.value[yr]=lr}return vue.watch(Ze,()=>{we("update:partial-data",Ze.value)},{immediate:!0}),(lr,yr)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$b,[vue.createElementVNode("div",_hoisted_2$9,[vue.createElementVNode("table",null,[vue.createElementVNode("thead",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Me.value[0].length,kr=>(vue.openBlock(),vue.createElementBlock("th",null,[vue.createVNode(BxSelect,{options:rr(kr-1),value:Ie.value[kr-1],"onUpdate:modelValue":Br=>pr(Br,kr-1),"placeholder-active-label":"Select field"},null,8,["options","value","onUpdate:modelValue"])]))),256))]),vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Me.value,(kr,Br)=>(vue.openBlock(),vue.createElementBlock("tr",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(kr,Ar=>(vue.openBlock(),vue.createElementBlock("td",null,[vue.createElementVNode("span",_hoisted_3$7,vue.toDisplayString(Ar),1)]))),256)),vue.createElementVNode("td",null,[vue.createVNode(BxButton,{circle:"",state:"error",quarternary:"",onClick:Ar=>ne(Br)},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),_:2},1032,["onClick"])])]))),256))])])])]))}}),TableDataMatcher_vue_vue_type_style_index_0_scoped_54220f31_lang="",TableDataMatcher=_export_sfc(_sfc_main$e,[["__scopeId","data-v-54220f31"]]);function parseCSV(m,c){return m.split(`
|
|
2599
|
+
`);const hi=li.split(/\r?\n/);let gr="";for(const Ae of hi)Ae.startsWith("data:")&&(gr+=Ae.slice(5).trim());Pr(gr)}}if(!Ar||Ar.length===0){kr(new Error("No files found"));return}yr({files:Ar,creditsConsumed:0})})}function useRenderer(m,c,ie,we,Ie,Me,Ze,ne,rr,pr){const lr=vue.ref();async function yr(Nr,ei,Vr){const Zr=Ie.value;if(!Zr)throw console.error("Serial not available"),new Error("Serial not available");let Wr=0;const ai=!0;if(lr.value={},Nr==="pdf"||ai){if(Nr==="idml")throw new Error("IDML rendering is not supported");const ui=await renderRemote(m,c,ie,Me.value,Ze.value,pr.value,Zr.width,Zr.height,Nr,95,Zr.frames??{x:1,y:1},ne.value,rr.value);if(ui.type==="application/zip"){const di=await unzip(ui);lr.value=Object.fromEntries(await Promise.all(Object.entries(di.entries).map(async([fi,li])=>[fi,await li.blob(mimeTypes.lookup(fi)||"png")])))}else{const di=mimeTypes.extension(ui.type)??"png";lr.value={[`${Zr.name}.${di}`]:ui}}}else{const ui=we.value?.bluepicEmbeddedRef?.renderSVG(),di=Ie.value;if(!ui)throw console.error("SVG document not available"),new Error("SVG document not available");if(!di)throw console.error("Serial not available"),new Error("Serial not available");lr.value=Object.fromEntries((await renderLocal(await ui,{width:di.width,height:di.height,format:mime.getType(Nr),quality:.95,frames:di.frames,idmlOptions:{keepGroupTransforms:!1,rasterizeAllMasks:!1,vectorizeAllTexts:!1,keepFontRemoteUrls:!1},svgOptions:{vectorizeAllTexts:!1},fileBasename:ei??`${di.name}_export`,watermark:Vr})).map(fi=>[fi.name,fi.blob]))}return{files:lr.value,creditsConsumed:Wr}}const kr=vue.ref(!1),Br=vue.ref(),Ar=vue.ref();async function Pr(Nr,ei,Vr){kr.value=!0,Br.value=void 0;const Zr=await renderVideoRemote(m,c,ie,Ze.value,pr.value,Ie.value?.width??0,Ie.value?.height??0,Nr,ei,{fps:30,vcodec:"libx264",pix_fmt:"yuv420p",acodec:"aac",audio:[]},Wr=>{Ar.value=Wr});return kr.value=!1,Br.value=[{name:`${Vr??"video"}.mp4`,url:Zr.files[0]}],Ar.value=void 0,{files:Br.value.map(Wr=>Wr.url),creditsConsumed:Zr.creditsConsumed}}return{renderFiles:lr.value,render:yr,renderVideo:Pr,videoFiles:Br,videoRendering:kr,videoProgress:Ar}}async function downloadFiles(m,c){const ie=await Promise.all(m.map(async(we,Ie)=>{if(we instanceof Blob)return{name:`${m.length>1?`${c}_${Ie+1}`:c}.${mimeTypes.extension(we.type)}`,blob:we};const Ze=we.split("/").pop().split(".").pop(),ne=await fetch(we);if(!ne.ok)throw new Error(`Failed to download file: ${ne.status}`);const rr=await ne.blob();return{name:m.length>1?`${c}_${Ie+1}.${Ze}`:`${c}.${Ze}`,blob:rr}}));if(ie.length>1){const we=await A(ie.map(({name:Ie,blob:Me})=>({name:Ie,input:Me}))).blob();download(we,`${c}.zip`)}else download(ie[0].blob,ie[0].name)}const swiper="",navigation="",pagination="",scrollbar="",_hoisted_1$g={class:"fields-wrapper"},_hoisted_2$d={class:"nav-wrapper"},_hoisted_3$a={class:"nav-button"},_sfc_main$k=vue.defineComponent({__name:"MobileFieldsSlide",props:{fields:{},originalField:{},active:{type:Boolean},mobileFieldsSlides:{},naturalFieldsViewMaxHeight:{},slideIndex:{}},emits:["select-nav"],setup(m,{emit:c}){const ie=m,we=c,{fields:Ie,data:Me,bridge:Ze,modelField:ne,wrapFieldProps:rr}=useFields(vue.toRef(ie,"fields")),pr=vue.computed(()=>ie.originalField&&ie.fields.length>=2?getFieldDescription(ie.originalField):getFieldsDescription(ie.fields)),lr=vue.computed(()=>ie.mobileFieldsSlides.map(({fields:kr,originalField:Br},Ar)=>({label:(kr.length===1?kr[0]:Br)?.description??getFieldsDescription(kr),value:Ar,icon:()=>renderFieldIcon(kr[0].type,Ar===ie.slideIndex)})));function yr(kr){we("select-nav",kr)}return(kr,Br)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["mobile-fields-slide",{active:kr.active}])},[vue.createElementVNode("div",_hoisted_1$g,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(Ie),({type:Ar,model:Pr,props:Nr,description:ei,detailedDescription:Vr,layout:Zr})=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["field-wrapper",{["field-wrapper-"+Ar]:!0}])},[Ar in BluepciFieldComponents?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(BluepciFieldComponents[Ar]),vue.mergeProps({key:0,ref_for:!0},{...vue.unref(rr)(Nr),...vue.unref(ne)(Pr),maxHeight:`${kr.naturalFieldsViewMaxHeight-37-20-5}px`,description:ei,detailedDescription:Vr,bridge:vue.unref(Ze),...(()=>{if(Ar==="Text")return{...Zr}})(),mobile:!0}),null,16)):(vue.openBlock(),vue.createBlock(BxEmpty,{key:1,title:"Field not supported"},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(AlertOutline))]),_:1})]),_:1}))],2))),256))]),vue.createElementVNode("div",_hoisted_2$d,[vue.createVNode(BxDropdown,{"allowed-placements":["top"],trigger:"click",options:lr.value,onSelect:yr,"mobile-layout":""},{trigger:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$a,[vue.createElementVNode("span",null,vue.toDisplayString(pr.value),1)])]),optionLabel:vue.withCtx(({option:Ar})=>[vue.createElementVNode("span",{style:vue.normalizeStyle({color:Ar.value===kr.slideIndex?"rgba(var(--primary-color-base), 1)":"inherit"})},vue.toDisplayString(Ar.label),5)]),_:1},8,["options"])])],2))}}),MobileFieldsSlide_vue_vue_type_style_index_0_scoped_88d3f1fe_lang="",MobileFieldsSlide=_export_sfc(_sfc_main$k,[["__scopeId","data-v-88d3f1fe"]]);function splitTimestamp(m){const c=Math.floor(m/36e5),ie=m%(1e3*60*60),we=Math.floor(ie/(1e3*60)),Ie=ie%(1e3*60),Me=Math.floor(Ie/1e3),Ze=Math.round(Ie%1e3);return{hours:c,minutes:we,seconds:Me,milliseconds:Ze}}function timestampToTimecode(m,c){const{hours:ie,minutes:we,seconds:Ie,milliseconds:Me}=splitTimestamp(m);return`${ie.toString().padStart(2,"0")}:${we.toString().padStart(2,"0")}:${Ie.toString().padStart(2,"0")}${c}${Me.toString().padEnd(3,"0")}`}const _hoisted_1$f={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",class:"arctic-progress"},_hoisted_2$c=["d"],_sfc_main$j=vue.defineComponent({__name:"CircularProgress",props:{progress:{},strokeWidth:{default:10},color:{default:"#00f"},backgroundColor:{default:"#e0e0e0"}},setup(m){function c(we,Ie,Me,Ze){const ne=(Ze-90)*Math.PI/180;return{x:we+Me*Math.cos(ne),y:Ie+Me*Math.sin(ne)}}function ie(we,Ie,Me,Ze){const rr=Math.max(0,Math.min(100,Ze))/100*360,pr=c(we,Ie,Me,0),lr=c(we,Ie,Me,rr),yr=rr>180?1:0;return[`M ${we} ${Ie}`,`L ${pr.x} ${pr.y}`,`A ${Me} ${Me} 0 ${yr} 1 ${lr.x} ${lr.y}`,"Z"].join(" ")}return(we,Ie)=>(vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$f,[vue.createElementVNode("path",{d:ie(50,50,50,we.progress),style:vue.normalizeStyle({fill:we.color}),class:"progress-sector"},null,12,_hoisted_2$c)]))}}),CircularProgress_vue_vue_type_style_index_0_scoped_0b06477e_lang="",CircularProgress=_export_sfc(_sfc_main$j,[["__scopeId","data-v-0b06477e"]]),_sfc_main$i={},_hoisted_1$e={viewBox:"0 0 344 350",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _sfc_render$2(m,c){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$e,c[0]||(c[0]=[vue.createStaticVNode('<ellipse cx="220.755" cy="202.159" rx="49.9896" ry="39.3918" fill="white"></ellipse><circle cx="172.765" cy="177.564" r="137.571" fill="#09275E"></circle><path d="M289.161 117.691L290.189 119.025L290.264 118.986C290.267 118.995 290.269 119.005 290.271 119.014C290.292 119.111 290.315 119.215 290.34 119.326L290.342 119.337C290.487 119.99 290.731 121.089 291.275 121.912C291.58 122.375 292.096 122.935 292.913 123.191C293.415 123.348 293.903 123.35 294.35 123.263L295.779 123.684C301.037 125.446 304.551 126.122 307.811 126.749C308.154 126.815 308.493 126.88 308.832 126.946C312.104 127.583 315.343 128.293 320.317 130.209C320.307 130.996 320.033 131.826 319.597 132.943C319.558 133.042 319.517 133.144 319.475 133.25C318.931 134.621 318.158 136.569 318.569 138.743L319.03 141.184L321.316 140.213C322.688 139.63 326.238 138.076 329.797 136.444C333.29 134.843 336.992 133.075 338.526 132.093L339.723 131.327L339.394 129.946C338.672 126.916 337.967 123.872 337.258 120.815C335.248 112.147 333.214 103.376 330.737 94.5409L330.308 93.0091L328.719 93.0832C321.431 93.4233 314.301 94.1966 307.29 94.9568C303.561 95.3612 299.866 95.7619 296.2 96.0918L295.311 96.1717L294.777 96.886C294.246 97.5964 293.707 98.3078 293.165 99.0223C290.635 102.358 288.052 105.763 286.025 109.468L285.631 110.188L285.857 110.977C286.583 113.52 287.614 115.684 289.161 117.691ZM289.933 117.746C289.934 117.745 289.938 117.753 289.947 117.771C289.937 117.756 289.933 117.747 289.933 117.746Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M93.1862 189.025L93.1862 189.025C92.3418 188.723 91.58 188.994 91.2708 189.119C90.8714 189.28 90.4932 189.512 90.169 189.738C89.5089 190.198 88.7881 190.834 88.1038 191.51C86.7464 192.85 85.2731 194.605 84.4485 196.015L84.4467 196.018C76.1322 210.301 75.0953 225.446 78.6265 241.168C81.8267 255.475 89.6272 267.326 97.2042 278.836L97.5148 279.308L97.5213 279.318C99.8514 282.814 102.915 285.581 106.291 287.871L106.293 287.872C107.63 288.777 109.408 289.807 111.751 289.538C115.478 289.131 119.188 287.275 122.147 284.723C125.106 282.171 127.493 278.77 128.373 275.08C129.463 270.553 128.601 266.205 127.362 262.489L127.241 262.126L126.995 261.833C125.807 260.423 124.367 259.601 123.334 259.011C123.1 258.878 122.887 258.756 122.702 258.642C115.356 254.059 109.017 248.779 104.649 241.416L104.646 241.412C96.802 228.252 93.2533 214.222 94.7986 198.973C94.8225 198.747 94.8517 198.49 94.8837 198.208C95.0138 197.06 95.1886 195.518 95.2329 194.155C95.2603 193.311 95.2447 192.396 95.0956 191.61C95.0214 191.219 94.8947 190.75 94.6514 190.309C94.4038 189.861 93.9521 189.299 93.1862 189.025Z" fill="#FFBB34" stroke="#09275E" stroke-width="3.99916"></path><path d="M290.005 121.129L289.656 121.988L290.085 122.809C292.75 127.905 294.192 132.59 293.907 136.956C293.627 141.238 291.665 145.483 286.961 149.719L284.446 151.984L287.643 153.094C293.842 155.247 299.66 157.273 305.479 159.3C307.974 160.168 310.469 161.037 312.995 161.916L314.796 162.543L315.508 160.774C317.768 155.15 319.921 149.776 322.065 144.425C324.217 139.052 326.36 133.704 328.592 128.152L329.356 126.251L327.438 125.533C322.371 123.638 317.397 121.775 312.491 119.939C307.134 117.933 301.858 115.958 296.635 114.004L295.405 113.544L294.494 114.49C292.435 116.629 291.012 118.653 290.005 121.129Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M162.722 197.574H162.695L162.668 197.575C158.965 197.676 156.646 200.15 155.153 202.449C151.761 207.638 150.294 213.427 150.531 219.592C150.634 222.464 152.176 224.391 153.955 225.873L153.963 225.88L153.972 225.887C158.318 229.429 163.337 231.194 168.536 232.158C169.167 232.282 169.957 232.298 170.744 231.972C171.586 231.623 172.225 230.962 172.6 230.102L172.707 229.854L172.745 229.587C172.745 229.587 172.747 229.579 172.75 229.557C172.754 229.538 172.757 229.52 172.762 229.495C172.764 229.485 172.766 229.474 172.768 229.462C172.782 229.388 172.806 229.258 172.824 229.117C172.841 228.98 172.861 228.764 172.844 228.515C172.827 228.277 172.766 227.874 172.518 227.46L172.518 227.46L172.513 227.453C168.063 220.106 166.241 212.24 167.157 203.718C167.321 202.2 166.665 200.739 166.017 199.78C165.672 199.268 165.252 198.783 164.786 198.401C164.396 198.082 163.661 197.574 162.722 197.574Z" fill="#FFBB34" stroke="#09275E" stroke-width="3.99916"></path><path d="M180.399 40.1741C181.974 40.3116 183.454 40.4408 184.909 40.6792C184.228 45.2675 183.241 49.756 182.237 54.3138L182.214 54.4178C181.085 59.5414 179.935 64.7558 179.241 70.1416L179.016 71.8853L180.717 72.3314C185.308 73.5358 189.672 74.411 193.947 74.8692C196.831 75.1782 199.928 75.7588 202.811 76.2992C203.941 76.511 205.038 76.7166 206.076 76.8973C207.852 77.2063 209.528 77.4544 210.793 77.4711C211.397 77.4791 212.131 77.4419 212.783 77.2014C213.128 77.0746 213.569 76.8483 213.937 76.4293C214.337 75.9731 214.545 75.407 214.556 74.8219L214.556 74.8168C214.6 72.0297 213.488 69.3888 212.568 67.2043C212.54 67.1397 212.513 67.0755 212.486 67.0117C211.477 64.6117 210.713 62.7036 210.757 60.8354C210.764 60.5351 210.756 60.1602 210.749 59.8186C210.746 59.6678 210.743 59.5234 210.741 59.3948C210.736 58.9128 210.744 58.4628 210.791 58.0449C210.847 57.5513 210.945 57.2092 211.066 56.9696C212.585 56.8593 213.855 56.3467 214.708 55.2183C215.492 54.1819 215.665 52.8597 215.762 52.1245C215.771 52.0554 215.779 51.9915 215.787 51.9335C215.918 51.001 216.027 50.6767 216.19 50.4815C216.269 50.3865 216.628 49.9996 218.159 49.93L220.201 49.8372L220.063 47.7982C219.845 44.5492 220.16 41.3975 220.492 38.0783C220.533 37.6678 220.574 37.2547 220.614 36.8385C220.977 33.124 221.274 29.2037 220.597 25.1391L220.347 23.6407L218.836 23.4795C209.196 22.4508 199.693 21.4527 190.202 20.4559C184.985 19.908 179.771 19.3604 174.54 18.8083L172.779 18.6226L172.381 20.3473C171.008 26.298 170.555 31.6249 170.367 36.7755L170.311 38.3068L171.775 38.7589C174.514 39.6048 177.162 39.8863 179.615 40.1051C179.879 40.1287 180.14 40.1515 180.399 40.1741Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M134.234 79.9717L134.458 81.5862L136.085 81.6917C139.271 81.8981 142.447 82.132 145.618 82.3656C155.449 83.0898 165.234 83.8105 175.12 83.6975L176.711 83.6793L177.051 82.1246C178.105 77.2955 179.195 72.5212 180.279 67.7721C182.531 57.9086 184.758 48.154 186.59 38.244L186.918 36.4649L185.181 35.9604C179.24 34.2354 171.076 33.8622 165.486 33.6068L165.258 33.5963L163.101 33.4976L163.168 35.6559C163.268 38.8806 163.968 41.9624 164.79 44.889C165.136 46.118 165.488 47.2779 165.834 48.413C166.158 49.4805 166.476 50.5261 166.775 51.5867C159.115 53.946 151.592 56.2745 144.101 58.5932C140.914 59.5797 137.733 60.5644 134.549 61.549L133.317 61.9301L133.156 63.2098C132.517 68.2858 133.206 72.9608 133.893 77.6183C134.009 78.4026 134.125 79.1865 134.234 79.9717Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M235.987 77.2978L237.597 75.9449L236.164 74.4049C234.927 73.0743 233.511 72.8335 232.527 72.7119C232.424 72.6991 232.327 72.6874 232.236 72.6764C231.957 72.6427 231.729 72.6152 231.533 72.5831C231.441 69.4098 231.536 66.2292 231.633 62.9588C231.654 62.2493 231.676 61.5355 231.695 60.8167C231.816 56.3655 231.867 51.7646 231.35 47.0422L231.155 45.2528L229.355 45.2599C225.882 45.2737 222.492 44.9896 219.022 44.6988C217.931 44.6073 216.832 44.5152 215.719 44.4315C211.131 44.086 206.409 43.8946 201.565 44.6144L199.731 44.887L199.865 46.7367C200.233 51.8147 200.432 56.8294 200.631 61.8463C200.691 63.3646 200.751 64.8832 200.816 66.4037C201.095 72.9254 201.459 79.4532 202.285 85.9895L202.486 87.5836L204.087 87.73C206.257 87.9285 208.273 88.3083 210.351 88.6997C211.078 88.8366 211.812 88.9749 212.562 89.1073C215.396 89.6071 218.362 89.9982 221.547 89.694L222.312 89.6208L222.831 89.0534C226.01 85.5803 229.634 82.5749 233.426 79.4307C234.272 78.7289 235.127 78.0202 235.987 77.2978Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M238.43 76.8741L238.524 76.883H238.619H238.656H239.416L239.984 76.3784C240.606 75.8255 241.206 75.2772 241.793 74.7413C244.015 72.7114 246.04 70.8607 248.334 69.623C251.027 68.1703 253.99 67.6423 257.9 69.2771L259.41 69.9081L260.327 68.5536C263.376 64.052 266.319 59.7631 268.842 56.1056C269.214 55.8165 269.59 55.7012 270.152 55.5731C270.2 55.5622 270.256 55.5505 270.318 55.5375C270.918 55.4115 272.136 55.156 273.036 54.187L273.432 53.7603L273.537 53.1876C274.04 50.4526 273.895 47.6874 273.127 44.9153L272.797 43.7231L271.582 43.4867C263.347 41.8831 255 40.2479 246.437 38.5701C241.936 37.6882 237.375 36.7945 232.738 35.8876L230.648 35.4788L230.372 37.5901C229.226 46.3333 229.305 54.9129 229.382 63.2284C229.413 66.6176 229.444 69.9628 229.391 73.2575L229.369 74.6691L230.692 75.1628C233.369 76.1618 235.547 76.6013 238.43 76.8741Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M113.263 17.2528L111.592 17.7788L111.894 19.5045C112.563 23.3331 113.21 27.1511 113.856 30.9674C115.742 42.1 117.626 53.2183 120.063 64.5472L120.527 66.7031L122.627 66.0311C137.343 61.3231 151.356 56.837 165.739 52.2025L167.448 51.652L167.084 49.8942C166.341 46.3024 165.618 42.7407 164.899 39.1967C162.612 27.9303 160.361 16.8421 157.618 5.52881L157.112 3.44522L155.069 4.09424C145.819 7.03208 136.764 9.87348 127.677 12.7249C122.892 14.2262 118.098 15.7303 113.263 17.2528Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M262.342 65.8041L260.526 68.8324H263.185C272.563 79.6925 278.667 92.1168 284.494 105.834L285.903 109.152L287.972 106.2C289.795 103.598 291.611 101.061 293.405 98.5547C297.793 92.425 302.05 86.4771 305.97 80.1993L306.956 78.6203L305.452 77.5241C301.19 74.4193 296.984 71.3585 292.795 68.3103C285.976 63.3488 279.204 58.421 272.316 53.3923L270.548 52.1018L269.422 53.9786C268.143 56.1116 266.956 58.096 265.797 60.0328L265.719 60.1647C264.588 62.0558 263.483 63.9035 262.342 65.8041Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M328.052 237.274L328.894 236.501L328.655 235.383C328.524 234.766 328.393 234.15 328.261 233.533C326.622 225.832 324.984 218.135 322.767 210.307L322.338 208.792L320.764 208.854C316.093 209.038 311.535 209.802 307.19 210.53C307.035 210.556 306.879 210.582 306.724 210.608C302.583 211.301 298.643 211.941 294.779 212.087C294.32 211.174 294.184 210.152 294.067 208.823C294.058 208.717 294.048 208.609 294.039 208.498C293.905 206.915 293.726 204.792 292.391 202.858L291.489 201.552L290.012 202.133C289.048 202.513 288.07 202.885 287.083 203.26C283.205 204.735 279.196 206.259 275.417 208.502L274.451 209.076L274.438 210.199C274.402 213.408 274.138 216.128 272.948 218.512C271.647 221.054 271.503 223.443 272.081 225.711C272.635 227.88 273.834 229.865 275.028 231.674L276.226 233.49L277.934 232.144C280.24 230.329 282.202 228.249 284.059 226.282C284.211 226.121 284.361 225.962 284.511 225.803C286.164 224.056 287.767 222.4 289.577 220.93C293.737 224.62 297.869 228.288 302.002 231.957C306.542 235.989 311.083 240.021 315.662 244.08L316.757 245.052L318.014 244.3C318.127 244.233 318.239 244.166 318.351 244.099C321.621 242.146 324.837 240.224 328.052 237.274Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><mask id="path-14-outside-1_503_366" maskUnits="userSpaceOnUse" x="25" y="63" width="271" height="287" fill="black"><rect fill="white" x="25" y="63" width="271" height="287"></rect><path fill-rule="evenodd" clip-rule="evenodd" d="M177.294 229.437C176.864 227.937 176.002 226.893 175.17 225.884C175.007 225.686 174.844 225.489 174.686 225.29C170.498 220.137 169.015 213.946 167.977 207.644C166.827 200.707 169.684 194.677 172.528 188.674C172.617 188.485 172.707 188.297 172.796 188.108C178.096 176.839 186.066 167.46 194.368 158.377L194.69 158.028C197.991 154.438 201.278 150.864 205.155 147.812C206.415 146.811 207.601 145.662 208.343 143.809C207.687 142.861 207.043 141.883 206.392 140.896C204.982 138.756 203.542 136.57 201.893 134.541C196.333 127.646 196.481 120.899 201.596 113.893C202.11 113.19 202.619 112.484 203.128 111.779C205.999 107.799 208.862 103.832 212.42 100.399L213.332 99.5236C222.33 90.882 231.31 82.2574 240.776 74.1532C243.852 71.5211 247.225 69.4823 250.932 67.8882C254.602 66.2942 257.789 66.8503 260.755 69.5193C266.352 74.5609 270.169 80.9 273.765 87.3873C280.066 98.6939 284.848 110.631 288.999 122.827C290.519 127.312 291.853 131.835 291.705 136.691C291.557 141.473 289.778 145.18 285.923 148.109C282.216 150.926 278.213 153.039 274.061 155.041C273.717 155.209 273.366 155.366 273.017 155.523C271.903 156.022 270.812 156.512 270.021 157.302C269.227 158.529 269.382 159.721 269.527 160.844L269.539 160.935C269.88 163.671 270.21 166.41 270.54 169.149C271.431 176.544 272.322 183.949 273.431 191.333C275.396 204.456 273.95 217.097 268.168 228.997C265.054 235.41 260.384 240.896 253.712 244.159C252.251 244.879 250.808 245.627 249.37 246.372C245.849 248.198 242.359 250.008 238.7 251.35C238.632 253.023 239.281 254.296 239.965 255.639C240.404 256.499 240.857 257.389 241.146 258.431C238.441 262.782 235.715 267.171 232.964 271.601C227.534 280.342 222.007 289.24 216.349 298.319C224.689 304.176 232.658 309.773 240.553 315.334C242.149 319.235 240.081 322.186 238.179 324.9C238.093 325.024 238.007 325.147 237.922 325.269C230.063 336.576 218.758 342.062 205.377 343.73C205.133 343.755 204.888 343.771 204.645 343.787C204.151 343.82 203.662 343.853 203.19 343.953C184.954 348.104 171.313 340.32 159.637 327.271C158.981 326.533 158.365 325.774 157.745 325.01C157.524 324.739 157.303 324.466 157.08 324.194C156.756 323.763 156.453 323.312 156.097 322.785C155.964 322.587 155.823 322.378 155.671 322.155C151.683 322.98 147.796 323.152 143.951 323.323C142.615 323.382 141.284 323.441 139.955 323.527C137.362 323.702 134.772 323.941 132.183 324.18C125.481 324.799 118.781 325.417 112.044 324.935C105.817 324.49 99.6635 323.378 93.844 321.154C86.2454 318.263 78.9062 314.667 71.8636 310.515C63.746 305.733 57.0741 299.208 51.1434 291.943C39.6157 277.893 32.499 261.804 29.6448 243.899C28.5671 237.073 29.0562 230.211 29.5598 223.147C29.5758 222.922 29.5918 222.697 29.6078 222.472C34.1855 219.729 38.7261 217.014 43.2667 214.298C47.8074 211.583 52.3481 208.867 56.9258 206.124C55.058 200.68 53.2461 195.375 51.4645 190.159C50.3469 186.887 49.2412 183.65 48.141 180.434C57.1111 168.349 69.0095 160.861 82.5388 155.745C87.8022 153.744 93.1398 152.001 98.5144 150.333C108.263 147.256 115.528 140.991 121.31 132.799C123.201 130.13 124.342 128.784 126.092 129.092C128.761 129.561 129.205 133.837 128.761 136.914C127.945 142.734 124.72 147.367 120.903 151.556C117.789 154.967 114.156 157.784 110.153 160.12C108.715 160.961 107.281 161.806 105.847 162.652C100.516 165.795 95.1918 168.934 89.7297 171.797C70.6033 181.769 61.5591 198.451 57.8525 218.802C54.9613 234.78 58.6679 249.608 66.8226 263.102C76.7193 279.45 91.9166 288.087 110.969 289.978C122.274 291.127 132.616 277.114 131.244 267.661C130.503 262.434 128.724 257.652 126.129 253.093C124.043 249.467 121.708 246.025 119.369 242.576C118.216 240.876 117.061 239.174 115.936 237.449C110.265 228.774 106.15 219.433 105.742 208.942C104.964 188.256 112.674 171.834 130.132 160.157C133.247 158.075 136.493 156.205 139.741 154.334C144.185 151.774 148.631 149.213 152.743 146.107C156.301 143.438 159.637 140.509 162.936 137.507C172.981 128.387 168.644 106.701 152.446 102.067C147.183 100.547 142.179 102.216 137.508 104.81C135.655 105.848 132.341 106.989 131.763 105.774C131.141 103.989 132.467 101.771 134.098 100.51C142.068 94.4307 151.149 92.4289 160.934 93.9859C164.135 94.4929 167.254 95.7044 170.338 96.9022C170.862 97.1056 171.384 97.3085 171.906 97.5076C174.871 98.6197 177.207 100.696 179.171 103.179C179.486 103.578 179.764 104 180.041 104.418C180.254 104.74 180.465 105.06 180.691 105.367C192.775 120.64 189.661 137.247 180.728 150.741C175.205 159.082 167.903 165.866 160.082 172.019C154.374 176.505 148.814 181.176 144.662 187.255C140.437 193.446 137.879 200.045 139.176 207.718C140.511 215.54 145.07 221.36 151.371 225.549C156.82 229.182 163.047 231.258 169.793 231.184C172.331 231.184 174.723 230.819 177.294 229.437ZM175.835 317.966C172.277 318.856 168.681 319.597 164.011 319.338C165.729 318.563 167.323 317.826 168.846 317.123C171.331 315.974 173.625 314.914 175.946 313.925C177.726 313.147 179.764 313.184 181.618 313.629C186.214 314.704 190.588 316.409 195.555 318.819C193.071 319.894 191.329 319.634 189.661 318.782C185.139 316.446 180.506 316.78 175.835 317.966Z"></path></mask><path fill-rule="evenodd" clip-rule="evenodd" d="M177.294 229.437C176.864 227.937 176.002 226.893 175.17 225.884C175.007 225.686 174.844 225.489 174.686 225.29C170.498 220.137 169.015 213.946 167.977 207.644C166.827 200.707 169.684 194.677 172.528 188.674C172.617 188.485 172.707 188.297 172.796 188.108C178.096 176.839 186.066 167.46 194.368 158.377L194.69 158.028C197.991 154.438 201.278 150.864 205.155 147.812C206.415 146.811 207.601 145.662 208.343 143.809C207.687 142.861 207.043 141.883 206.392 140.896C204.982 138.756 203.542 136.57 201.893 134.541C196.333 127.646 196.481 120.899 201.596 113.893C202.11 113.19 202.619 112.484 203.128 111.779C205.999 107.799 208.862 103.832 212.42 100.399L213.332 99.5236C222.33 90.882 231.31 82.2574 240.776 74.1532C243.852 71.5211 247.225 69.4823 250.932 67.8882C254.602 66.2942 257.789 66.8503 260.755 69.5193C266.352 74.5609 270.169 80.9 273.765 87.3873C280.066 98.6939 284.848 110.631 288.999 122.827C290.519 127.312 291.853 131.835 291.705 136.691C291.557 141.473 289.778 145.18 285.923 148.109C282.216 150.926 278.213 153.039 274.061 155.041C273.717 155.209 273.366 155.366 273.017 155.523C271.903 156.022 270.812 156.512 270.021 157.302C269.227 158.529 269.382 159.721 269.527 160.844L269.539 160.935C269.88 163.671 270.21 166.41 270.54 169.149C271.431 176.544 272.322 183.949 273.431 191.333C275.396 204.456 273.95 217.097 268.168 228.997C265.054 235.41 260.384 240.896 253.712 244.159C252.251 244.879 250.808 245.627 249.37 246.372C245.849 248.198 242.359 250.008 238.7 251.35C238.632 253.023 239.281 254.296 239.965 255.639C240.404 256.499 240.857 257.389 241.146 258.431C238.441 262.782 235.715 267.171 232.964 271.601C227.534 280.342 222.007 289.24 216.349 298.319C224.689 304.176 232.658 309.773 240.553 315.334C242.149 319.235 240.081 322.186 238.179 324.9C238.093 325.024 238.007 325.147 237.922 325.269C230.063 336.576 218.758 342.062 205.377 343.73C205.133 343.755 204.888 343.771 204.645 343.787C204.151 343.82 203.662 343.853 203.19 343.953C184.954 348.104 171.313 340.32 159.637 327.271C158.981 326.533 158.365 325.774 157.745 325.01C157.524 324.739 157.303 324.466 157.08 324.194C156.756 323.763 156.453 323.312 156.097 322.785C155.964 322.587 155.823 322.378 155.671 322.155C151.683 322.98 147.796 323.152 143.951 323.323C142.615 323.382 141.284 323.441 139.955 323.527C137.362 323.702 134.772 323.941 132.183 324.18C125.481 324.799 118.781 325.417 112.044 324.935C105.817 324.49 99.6635 323.378 93.844 321.154C86.2454 318.263 78.9062 314.667 71.8636 310.515C63.746 305.733 57.0741 299.208 51.1434 291.943C39.6157 277.893 32.499 261.804 29.6448 243.899C28.5671 237.073 29.0562 230.211 29.5598 223.147C29.5758 222.922 29.5918 222.697 29.6078 222.472C34.1855 219.729 38.7261 217.014 43.2667 214.298C47.8074 211.583 52.3481 208.867 56.9258 206.124C55.058 200.68 53.2461 195.375 51.4645 190.159C50.3469 186.887 49.2412 183.65 48.141 180.434C57.1111 168.349 69.0095 160.861 82.5388 155.745C87.8022 153.744 93.1398 152.001 98.5144 150.333C108.263 147.256 115.528 140.991 121.31 132.799C123.201 130.13 124.342 128.784 126.092 129.092C128.761 129.561 129.205 133.837 128.761 136.914C127.945 142.734 124.72 147.367 120.903 151.556C117.789 154.967 114.156 157.784 110.153 160.12C108.715 160.961 107.281 161.806 105.847 162.652C100.516 165.795 95.1918 168.934 89.7297 171.797C70.6033 181.769 61.5591 198.451 57.8525 218.802C54.9613 234.78 58.6679 249.608 66.8226 263.102C76.7193 279.45 91.9166 288.087 110.969 289.978C122.274 291.127 132.616 277.114 131.244 267.661C130.503 262.434 128.724 257.652 126.129 253.093C124.043 249.467 121.708 246.025 119.369 242.576C118.216 240.876 117.061 239.174 115.936 237.449C110.265 228.774 106.15 219.433 105.742 208.942C104.964 188.256 112.674 171.834 130.132 160.157C133.247 158.075 136.493 156.205 139.741 154.334C144.185 151.774 148.631 149.213 152.743 146.107C156.301 143.438 159.637 140.509 162.936 137.507C172.981 128.387 168.644 106.701 152.446 102.067C147.183 100.547 142.179 102.216 137.508 104.81C135.655 105.848 132.341 106.989 131.763 105.774C131.141 103.989 132.467 101.771 134.098 100.51C142.068 94.4307 151.149 92.4289 160.934 93.9859C164.135 94.4929 167.254 95.7044 170.338 96.9022C170.862 97.1056 171.384 97.3085 171.906 97.5076C174.871 98.6197 177.207 100.696 179.171 103.179C179.486 103.578 179.764 104 180.041 104.418C180.254 104.74 180.465 105.06 180.691 105.367C192.775 120.64 189.661 137.247 180.728 150.741C175.205 159.082 167.903 165.866 160.082 172.019C154.374 176.505 148.814 181.176 144.662 187.255C140.437 193.446 137.879 200.045 139.176 207.718C140.511 215.54 145.07 221.36 151.371 225.549C156.82 229.182 163.047 231.258 169.793 231.184C172.331 231.184 174.723 230.819 177.294 229.437ZM175.835 317.966C172.277 318.856 168.681 319.597 164.011 319.338C165.729 318.563 167.323 317.826 168.846 317.123C171.331 315.974 173.625 314.914 175.946 313.925C177.726 313.147 179.764 313.184 181.618 313.629C186.214 314.704 190.588 316.409 195.555 318.819C193.071 319.894 191.329 319.634 189.661 318.782C185.139 316.446 180.506 316.78 175.835 317.966Z" fill="#FFBB34"></path><path d="M214.718 207.496L212.718 207.489V207.496H214.718ZM234.511 227.106H236.511V225.093L234.498 225.107L234.511 227.106ZM174.167 194.521L176.167 194.549L176.167 194.544L174.167 194.521ZM192.182 212.871L192.174 210.872L192.167 210.872L192.182 212.871ZM234.599 185.923C222.452 185.842 212.759 195.441 212.718 207.489L216.718 207.503C216.751 197.679 224.628 189.855 234.572 189.922L234.599 185.923ZM212.718 207.496C212.718 219.58 222.371 229.187 234.525 229.106L234.498 225.107C224.56 225.173 216.718 217.357 216.718 207.496H212.718ZM232.512 227.106V227.143H236.511V227.106H232.512ZM192.123 174.913C181.272 174.831 172.291 183.648 172.168 194.498L176.167 194.544C176.265 185.895 183.446 178.846 192.092 178.912L192.123 174.913ZM172.168 194.493C172.004 206.083 180.674 214.953 192.196 214.871L192.167 210.872C182.932 210.938 176.034 203.942 176.167 194.549L172.168 194.493ZM192.189 214.871C203.259 214.83 211.858 206.229 211.899 195.159L207.9 195.144C207.867 204.018 201.046 210.839 192.174 210.872L192.189 214.871ZM177.294 229.437L179.187 232.96L182.028 231.434L181.138 228.334L177.294 229.437ZM175.17 225.884L178.255 223.339L178.255 223.339L175.17 225.884ZM174.686 225.29L177.818 222.803L177.804 222.785L177.789 222.767L174.686 225.29ZM167.977 207.644L171.923 206.994L171.922 206.99L167.977 207.644ZM172.528 188.674L176.142 190.386L176.142 190.386L172.528 188.674ZM172.796 188.108L176.411 189.818L176.415 189.81L172.796 188.108ZM194.368 158.377L191.425 155.67L191.417 155.679L194.368 158.377ZM194.69 158.028L197.634 160.735L197.634 160.735L194.69 158.028ZM205.155 147.812L207.628 150.955L207.635 150.949L207.642 150.944L205.155 147.812ZM208.343 143.809L212.056 145.294L212.853 143.301L211.632 141.535L208.343 143.809ZM206.392 140.896L203.053 143.097L203.053 143.097L206.392 140.896ZM201.893 134.541L198.78 137.051L198.784 137.057L198.789 137.063L201.893 134.541ZM201.596 113.893L198.366 111.535L198.366 111.535L201.596 113.893ZM203.128 111.779L199.884 109.439V109.439L203.128 111.779ZM212.42 100.399L209.65 97.5147L209.643 97.5209L212.42 100.399ZM213.332 99.5236L216.102 102.408L216.102 102.408L213.332 99.5236ZM240.776 74.1532L238.176 71.1143L238.175 71.1153L240.776 74.1532ZM250.932 67.8882L252.512 71.5621L252.519 71.5592L252.525 71.5563L250.932 67.8882ZM260.755 69.5193L263.431 66.5479L263.43 66.5469L260.755 69.5193ZM273.765 87.3873L270.267 89.326L270.272 89.3342L273.765 87.3873ZM288.999 122.827L292.787 121.543L292.785 121.538L288.999 122.827ZM291.705 136.691L295.702 136.815L295.702 136.813L291.705 136.691ZM285.923 148.109L283.503 144.924L283.503 144.925L285.923 148.109ZM274.061 155.041L272.324 151.439L272.317 151.442L272.31 151.446L274.061 155.041ZM273.017 155.523L271.381 151.874L271.381 151.874L273.017 155.523ZM270.021 157.302L267.193 154.475L266.894 154.774L266.663 155.13L270.021 157.302ZM269.527 160.844L273.494 160.33L273.493 160.329L269.527 160.844ZM269.539 160.935L273.508 160.441L273.507 160.432L273.505 160.422L269.539 160.935ZM270.54 169.149L274.51 168.671V168.671L270.54 169.149ZM273.431 191.333L277.386 190.741L277.386 190.739L273.431 191.333ZM268.168 228.997L264.571 227.249L264.57 227.25L268.168 228.997ZM253.712 244.159L251.955 240.566L251.944 240.571L253.712 244.159ZM249.37 246.372L251.211 249.922L251.211 249.922L249.37 246.372ZM238.7 251.35L237.322 247.596L234.812 248.517L234.704 251.188L238.7 251.35ZM239.965 255.639L236.402 257.455L236.402 257.455L239.965 255.639ZM241.146 258.431L244.543 260.542L245.469 259.052L245 257.361L241.146 258.431ZM232.964 271.601L236.361 273.711V273.711L232.964 271.601ZM216.349 298.319L212.955 296.203L210.953 299.416L214.05 301.591L216.349 298.319ZM240.553 315.334L244.255 313.82L243.812 312.738L242.856 312.064L240.553 315.334ZM238.179 324.9L241.454 327.195L241.455 327.195L238.179 324.9ZM237.922 325.269L234.641 322.982L234.638 322.987L237.922 325.269ZM205.377 343.73L205.775 347.709L205.824 347.705L205.872 347.699L205.377 343.73ZM204.645 343.787L204.913 347.777L204.913 347.777L204.645 343.787ZM203.19 343.953L202.366 340.039L202.334 340.046L202.303 340.053L203.19 343.953ZM159.637 327.271L156.648 329.928L156.657 329.938L159.637 327.271ZM157.745 325.01L160.85 322.49L160.85 322.489L157.745 325.01ZM157.08 324.194L153.88 326.593L153.933 326.664L153.989 326.732L157.08 324.194ZM156.097 322.785L152.781 325.02L152.781 325.02L156.097 322.785ZM155.671 322.155L158.975 319.902L157.473 317.698L154.861 318.239L155.671 322.155ZM143.951 323.323L143.774 319.327L143.951 323.323ZM139.955 323.527L139.696 319.536L139.685 319.537L139.955 323.527ZM132.183 324.18L132.55 328.162H132.55L132.183 324.18ZM112.044 324.935L111.759 328.924L112.044 324.935ZM93.844 321.154L95.2718 317.419L95.2663 317.416L93.844 321.154ZM71.8636 310.515L73.8946 307.07L73.8935 307.069L71.8636 310.515ZM51.1434 291.943L54.2416 289.414L54.2351 289.406L51.1434 291.943ZM29.6448 243.899L25.6946 244.523L25.6955 244.529L29.6448 243.899ZM29.5598 223.147L25.5707 222.862H25.5707L29.5598 223.147ZM29.6078 222.472L27.5521 219.042L25.7662 220.112L25.6187 222.189L29.6078 222.472ZM43.2667 214.298L41.2141 210.866H41.2141L43.2667 214.298ZM56.9258 206.124L58.9815 209.555L61.7595 207.89L60.7086 204.827L56.9258 206.124ZM51.4645 190.159L47.68 191.451V191.451L51.4645 190.159ZM48.141 180.434L44.9298 178.051L43.6764 179.739L44.3573 181.729L48.141 180.434ZM82.5388 155.745L83.9532 159.486L83.9604 159.483L82.5388 155.745ZM98.5144 150.333L99.6999 154.153L99.709 154.15L99.7181 154.147L98.5144 150.333ZM121.31 132.799L118.047 130.487L118.043 130.493L121.31 132.799ZM126.092 129.092L126.785 125.153H126.785L126.092 129.092ZM128.761 136.914L124.803 136.341L124.801 136.35L124.8 136.359L128.761 136.914ZM120.903 151.556L123.856 154.253L123.858 154.25L120.903 151.556ZM110.153 160.12L108.138 156.665L108.135 156.667L110.153 160.12ZM105.847 162.652L103.816 159.207H103.816L105.847 162.652ZM89.7297 171.797L91.5785 175.343L91.5862 175.339L89.7297 171.797ZM57.8525 218.802L53.918 218.086L53.9172 218.09L57.8525 218.802ZM66.8226 263.102L63.3999 265.17L63.4014 265.173L66.8226 263.102ZM110.969 289.978L111.373 285.999L111.364 285.998L110.969 289.978ZM131.244 267.661L127.285 268.223L127.286 268.236L131.244 267.661ZM126.129 253.093L129.605 251.115L129.6 251.107L129.595 251.098L126.129 253.093ZM119.369 242.576L116.059 244.821L119.369 242.576ZM115.936 237.449L119.285 235.264L119.283 235.26L115.936 237.449ZM105.742 208.942L101.746 209.092L101.746 209.097L105.742 208.942ZM130.132 160.157L127.91 156.832L127.909 156.833L130.132 160.157ZM139.741 154.334L137.745 150.869V150.869L139.741 154.334ZM152.743 146.107L150.343 142.908L150.332 142.916L152.743 146.107ZM162.936 137.507L160.248 134.546L160.244 134.549L162.936 137.507ZM152.446 102.067L151.337 105.909L151.346 105.912L152.446 102.067ZM137.508 104.81L135.566 101.315L135.554 101.321L137.508 104.81ZM131.763 105.774L127.987 107.09L128.058 107.296L128.152 107.492L131.763 105.774ZM134.098 100.51L131.673 97.3307L131.663 97.3383L131.653 97.346L134.098 100.51ZM160.934 93.9859L160.306 97.9354L160.309 97.9358L160.934 93.9859ZM170.338 96.9022L171.786 93.1743L171.786 93.1743L170.338 96.9022ZM171.906 97.5076L170.481 101.244L170.491 101.248L170.502 101.252L171.906 97.5076ZM179.171 103.179L182.31 100.701L182.308 100.698L179.171 103.179ZM180.041 104.418L176.705 106.623V106.623L180.041 104.418ZM180.691 105.367L177.471 107.739L177.512 107.794L177.555 107.848L180.691 105.367ZM180.728 150.741L184.062 152.949L184.063 152.948L180.728 150.741ZM160.082 172.019L162.553 175.164L162.555 175.162L160.082 172.019ZM144.662 187.255L141.36 185L141.359 185.001L144.662 187.255ZM139.176 207.718L135.233 208.385L135.234 208.391L139.176 207.718ZM151.371 225.549L153.59 222.222L153.585 222.219L151.371 225.549ZM169.793 231.184V227.185H169.771L169.749 227.185L169.793 231.184ZM164.011 319.338L162.367 315.692L163.789 323.331L164.011 319.338ZM175.835 317.966L176.805 321.846L176.812 321.844L176.82 321.842L175.835 317.966ZM168.846 317.123L170.524 320.753L170.524 320.753L168.846 317.123ZM175.946 313.925L177.513 317.605L177.531 317.597L177.549 317.589L175.946 313.925ZM181.618 313.629L180.684 317.518L180.695 317.52L180.707 317.523L181.618 313.629ZM195.555 318.819L197.143 322.489L205.143 319.026L197.3 315.221L195.555 318.819ZM189.661 318.782L187.826 322.335L187.833 322.339L187.841 322.343L189.661 318.782ZM181.138 228.334C180.449 225.934 179.051 224.304 178.255 223.339L172.085 228.429C172.953 229.481 173.278 229.94 173.45 230.54L181.138 228.334ZM178.255 223.339C178.087 223.136 177.949 222.968 177.818 222.803L171.554 227.777C171.739 228.01 171.926 228.235 172.085 228.429L178.255 223.339ZM177.789 222.767C174.304 218.479 172.944 213.195 171.923 206.994L164.031 208.294C165.086 214.697 166.691 221.794 171.583 227.812L177.789 222.767ZM171.922 206.99C171.009 201.481 173.207 196.581 176.142 190.386L168.914 186.962C166.161 192.773 162.645 199.934 164.032 208.298L171.922 206.99ZM176.142 190.386C176.231 190.198 176.321 190.008 176.411 189.818L169.181 186.398C169.092 186.585 169.003 186.773 168.914 186.962L176.142 190.386ZM176.415 189.81C181.438 179.13 189.043 170.13 197.32 161.076L191.417 155.679C183.088 164.79 174.754 174.548 169.177 186.406L176.415 189.81ZM197.312 161.085L197.634 160.735L191.747 155.321L191.425 155.67L197.312 161.085ZM197.634 160.735C200.97 157.107 204.045 153.775 207.628 150.955L202.681 144.67C198.51 147.953 195.013 151.768 191.746 155.321L197.634 160.735ZM207.642 150.944C209.139 149.755 210.941 148.081 212.056 145.294L204.629 142.324C204.261 143.244 203.691 143.868 202.668 144.681L207.642 150.944ZM211.632 141.535C211.006 140.629 210.387 139.689 209.732 138.695L203.053 143.097C203.699 144.077 204.368 145.092 205.053 146.083L211.632 141.535ZM209.732 138.695C208.339 136.583 206.792 134.229 204.997 132.019L198.789 137.063C200.291 138.912 201.625 140.93 203.053 143.097L209.732 138.695ZM205.006 132.031C202.644 129.102 201.753 126.541 201.741 124.237C201.728 121.907 202.611 119.285 204.826 116.251L198.366 111.535C195.467 115.506 193.718 119.762 193.742 124.28C193.767 128.825 195.582 133.085 198.78 137.051L205.006 132.031ZM204.826 116.251C205.347 115.537 205.863 114.823 206.371 114.119L199.884 109.439C199.375 110.146 198.872 110.842 198.366 111.535L204.826 116.251ZM206.371 114.119C209.276 110.092 211.938 106.421 215.196 103.277L209.643 97.5209C205.786 101.243 202.722 105.506 199.884 109.439L206.371 114.119ZM215.19 103.284L216.102 102.408L210.561 96.6391L209.65 97.5147L215.19 103.284ZM216.102 102.408C225.113 93.7532 234.012 85.2086 243.377 77.191L238.175 71.1153C228.608 79.3063 219.546 88.0108 210.561 96.6392L216.102 102.408ZM243.376 77.192C246.12 74.8439 249.143 73.011 252.512 71.5621L249.352 64.2144C245.308 65.9535 241.584 68.1984 238.176 71.1143L243.376 77.192ZM252.525 71.5563C253.803 71.0012 254.73 70.9289 255.444 71.0489C256.164 71.1699 257.03 71.5471 258.079 72.4918L263.43 66.5469C261.514 64.8225 259.304 63.5871 256.77 63.1613C254.232 62.7346 251.73 63.1813 249.339 64.2202L252.525 71.5563ZM258.078 72.4908C263.137 77.0481 266.685 82.8635 270.267 89.3259L277.263 85.4487C273.654 78.9365 269.566 72.0738 263.431 66.5479L258.078 72.4908ZM270.272 89.3342C276.412 100.353 281.104 112.043 285.213 124.115L292.785 121.538C288.591 109.218 283.72 97.0349 277.258 85.4405L270.272 89.3342ZM285.212 124.11C286.719 128.559 287.832 132.489 287.708 136.569L295.702 136.813C295.874 131.18 294.319 126.065 292.787 121.543L285.212 124.11ZM287.708 136.567C287.595 140.218 286.34 142.77 283.503 144.924L288.342 151.293C293.215 147.591 295.519 142.729 295.702 136.815L287.708 136.567ZM283.503 144.925C280.122 147.494 276.41 149.469 272.324 151.439L275.798 158.643C280.016 156.61 284.31 154.358 288.343 151.293L283.503 144.925ZM272.31 151.446C272.032 151.581 271.739 151.713 271.381 151.874L274.654 159.172C274.993 159.02 275.402 158.837 275.813 158.636L272.31 151.446ZM271.381 151.874C270.427 152.302 268.6 153.067 267.193 154.475L272.849 160.13C273.023 159.956 273.38 159.743 274.654 159.172L271.381 151.874ZM266.663 155.13C264.987 157.722 265.427 160.319 265.561 161.358L273.493 160.329C273.455 160.033 273.432 159.848 273.419 159.678C273.406 159.519 273.408 159.437 273.411 159.398C273.413 159.366 273.415 159.378 273.404 159.415C273.391 159.454 273.377 159.477 273.379 159.475L266.663 155.13ZM265.561 161.357L265.573 161.448L273.505 160.422L273.494 160.33L265.561 161.357ZM265.571 161.429C265.91 164.156 266.239 166.886 266.569 169.628L274.51 168.671C274.18 165.933 273.85 163.186 273.508 160.441L265.571 161.429ZM266.569 169.628C267.459 177.013 268.357 184.475 269.477 191.927L277.386 190.739C276.287 183.422 275.402 176.076 274.51 168.671L266.569 169.628ZM269.476 191.925C271.338 204.36 269.955 216.169 264.571 227.249L271.765 230.745C277.946 218.025 279.454 204.553 277.386 190.741L269.476 191.925ZM264.57 227.25C261.751 233.057 257.648 237.783 251.955 240.566L255.469 247.751C263.12 244.01 268.357 237.763 271.765 230.743L264.57 227.25ZM251.944 240.571C250.44 241.312 248.961 242.08 247.53 242.822L251.211 249.922C252.655 249.174 254.061 248.445 255.479 247.746L251.944 240.571ZM247.53 242.822C243.968 244.668 240.703 246.356 237.322 247.596L240.078 255.105C244.015 253.66 247.73 251.727 251.211 249.922L247.53 242.822ZM234.704 251.188C234.588 254.042 235.76 256.195 236.402 257.455L243.529 253.823C242.801 252.396 242.676 252.003 242.696 251.512L234.704 251.188ZM236.402 257.455C236.859 258.352 237.127 258.902 237.293 259.501L245 257.361C244.587 255.876 243.948 254.647 243.529 253.823L236.402 257.455ZM237.75 256.319C235.044 260.671 232.318 265.061 229.566 269.491L236.361 273.711C239.112 269.281 241.838 264.893 244.543 260.542L237.75 256.319ZM229.566 269.491C224.137 278.232 218.611 287.128 212.955 296.203L219.743 300.434C225.403 291.353 230.932 282.451 236.361 273.711L229.566 269.491ZM214.05 301.591C222.391 307.449 230.358 313.045 238.251 318.604L242.856 312.064C234.958 306.502 226.987 300.903 218.647 295.046L214.05 301.591ZM236.852 316.848C237.23 317.772 237.18 318.461 236.909 319.225C236.567 320.188 235.916 321.161 234.904 322.606L241.455 327.195C243.177 324.737 246.778 319.989 244.255 313.82L236.852 316.848ZM234.904 322.605C234.818 322.729 234.729 322.855 234.641 322.982L241.202 327.556C241.284 327.438 241.368 327.319 241.454 327.195L234.904 322.605ZM234.638 322.987C227.567 333.161 217.403 338.201 204.882 339.762L205.872 347.699C220.113 345.923 232.56 339.99 241.206 327.551L234.638 322.987ZM204.979 339.751C204.811 339.768 204.632 339.78 204.378 339.797L204.913 347.777C205.145 347.762 205.455 347.741 205.775 347.709L204.979 339.751ZM204.378 339.797C203.935 339.827 203.161 339.872 202.366 340.039L204.014 347.866C204.163 347.834 204.367 347.814 204.913 347.777L204.378 339.797ZM202.303 340.053C186.013 343.762 173.75 337.046 162.617 324.604L156.657 329.938C168.876 343.593 183.894 352.447 204.078 347.852L202.303 340.053ZM162.626 324.614C162.039 323.953 161.479 323.264 160.85 322.49L154.64 327.531C155.251 328.284 155.923 329.112 156.648 329.928L162.626 324.614ZM160.85 322.489C160.63 322.219 160.402 321.938 160.17 321.656L153.989 326.732C154.205 326.994 154.419 327.258 154.64 327.531L160.85 322.489ZM160.279 321.795C160.027 321.459 159.781 321.095 159.414 320.55L152.781 325.02C153.124 325.529 153.485 326.067 153.88 326.593L160.279 321.795ZM159.414 320.55C159.281 320.353 159.134 320.135 158.975 319.902L152.367 324.408C152.512 324.62 152.647 324.821 152.781 325.02L159.414 320.55ZM154.861 318.239C151.234 318.989 147.662 319.155 143.774 319.327L144.128 327.318C147.931 327.149 152.131 326.971 156.481 326.071L154.861 318.239ZM143.774 319.327C142.445 319.386 141.073 319.447 139.696 319.536L140.213 327.517C141.495 327.434 142.785 327.377 144.128 327.318L143.774 319.327ZM139.685 319.537C137.035 319.716 134.397 319.96 131.815 320.198L132.55 328.162C135.148 327.923 137.689 327.688 140.225 327.517L139.685 319.537ZM131.815 320.198C125.059 320.821 118.686 321.4 112.329 320.946L111.759 328.924C118.877 329.433 125.902 328.776 132.55 328.162L131.815 320.198ZM112.329 320.946C106.379 320.521 100.631 319.467 95.2718 317.419L92.4163 324.89C98.6956 327.29 105.254 328.46 111.759 328.924L112.329 320.946ZM95.2663 317.416C87.8973 314.612 80.7611 311.118 73.8946 307.07L69.8326 313.96C77.0514 318.216 84.5935 321.913 92.4218 324.892L95.2663 317.416ZM73.8935 307.069C66.3209 302.608 59.9941 296.461 54.2416 289.414L48.0453 294.471C54.154 301.955 61.1712 308.857 69.8337 313.961L73.8935 307.069ZM54.2351 289.406C43.1675 275.917 36.3391 260.49 33.5941 243.27L25.6955 244.529C28.6588 263.118 36.064 279.869 48.0517 294.479L54.2351 289.406ZM33.5951 243.275C32.6007 236.977 33.0395 230.576 33.5488 223.431L25.5707 222.862C25.0729 229.846 24.5335 237.168 25.6946 244.523L33.5951 243.275ZM33.5488 223.431C33.5648 223.206 33.5809 222.981 33.5969 222.756L25.6187 222.189C25.6027 222.413 25.5867 222.638 25.5707 222.862L33.5488 223.431ZM31.6634 225.903C36.2393 223.161 40.7784 220.446 45.3193 217.731L41.2141 210.866C36.6738 213.581 32.1316 216.298 27.5521 219.042L31.6634 225.903ZM45.3193 217.731C49.8597 215.015 54.4019 212.299 58.9815 209.555L54.8701 202.694C50.2942 205.436 45.7551 208.151 41.2141 210.866L45.3193 217.731ZM60.7086 204.827C58.8417 199.385 57.0308 194.083 55.249 188.866L47.68 191.451C49.4615 196.667 51.2742 201.974 53.143 207.422L60.7086 204.827ZM55.249 188.866C54.1315 185.594 53.0254 182.356 51.9248 179.14L44.3573 181.729C45.457 184.943 46.5624 188.179 47.68 191.451L55.249 188.866ZM51.3523 182.818C59.7438 171.512 70.9214 164.414 83.9532 159.486L81.1243 152.005C67.0976 157.309 54.4785 165.186 44.9298 178.051L51.3523 182.818ZM83.9604 159.483C89.11 157.525 94.3568 155.811 99.6999 154.153L97.329 146.514C91.9228 148.192 86.4944 149.962 81.1171 152.007L83.9604 159.483ZM99.7181 154.147C110.497 150.745 118.424 143.824 124.578 135.105L118.043 130.493C112.632 138.159 106.029 143.768 97.3107 146.519L99.7181 154.147ZM124.574 135.11C125.038 134.455 125.404 133.955 125.723 133.559C126.046 133.159 126.244 132.961 126.349 132.871C126.443 132.791 126.359 132.888 126.111 132.968C125.828 133.061 125.561 133.059 125.399 133.03L126.785 125.153C124.467 124.745 122.577 125.577 121.159 126.786C119.975 127.796 118.943 129.223 118.047 130.487L124.574 135.11ZM125.399 133.03C124.967 132.954 124.673 132.702 124.569 132.57C124.515 132.503 124.613 132.602 124.721 133.022C124.941 133.878 124.974 135.157 124.803 136.341L132.719 137.486C132.992 135.594 133.025 133.196 132.467 131.028C131.954 129.035 130.498 125.806 126.785 125.153L125.399 133.03ZM124.8 136.359C124.152 140.986 121.574 144.883 117.947 148.863L123.858 154.25C127.867 149.852 131.739 144.482 132.721 137.468L124.8 136.359ZM117.949 148.86C115.144 151.933 111.84 154.505 108.138 156.665L112.169 163.574C116.473 161.063 120.434 158.001 123.856 154.253L117.949 148.86ZM108.135 156.667C106.689 157.513 105.249 158.362 103.816 159.207L107.878 166.097C109.313 165.251 110.741 164.409 112.172 163.572L108.135 156.667ZM103.816 159.207C98.4701 162.359 93.2319 165.446 87.8732 168.255L91.5862 175.339C97.1517 172.422 102.562 169.231 107.878 166.097L103.816 159.207ZM87.8808 168.251C67.3449 178.958 57.7733 196.918 53.918 218.086L61.7869 219.519C65.3449 199.983 73.8618 184.58 91.5785 175.343L87.8808 168.251ZM53.9172 218.09C50.8244 235.182 54.83 250.989 63.3999 265.17L70.2453 261.033C62.5059 248.227 59.0982 234.378 61.7877 219.514L53.9172 218.09ZM63.4014 265.173C74.0208 282.714 90.4108 291.957 110.574 293.957L111.364 285.998C93.4224 284.218 79.4178 276.185 70.2437 261.031L63.4014 265.173ZM110.564 293.956C118.019 294.714 124.613 290.481 128.918 285.373C133.197 280.296 136.106 273.319 135.202 267.087L127.286 268.236C127.754 271.457 126.178 276.213 122.802 280.218C119.454 284.192 115.224 286.391 111.373 285.999L110.564 293.956ZM135.204 267.1C134.382 261.306 132.412 256.048 129.605 251.115L122.653 255.071C125.035 259.257 126.624 263.563 127.285 268.223L135.204 267.1ZM129.595 251.098C127.424 247.323 125.004 243.76 122.678 240.331L116.059 244.821C118.412 248.29 120.663 251.611 122.663 255.087L129.595 251.098ZM122.678 240.331C121.522 238.626 120.388 236.954 119.285 235.264L112.586 239.634C113.735 241.395 114.909 243.126 116.059 244.821L122.678 240.331ZM119.283 235.26C113.834 226.926 110.108 218.291 109.739 208.786L101.746 209.097C102.192 220.574 106.695 230.622 112.588 239.637L119.283 235.26ZM109.739 208.791C109.009 189.404 116.123 174.338 132.356 163.481L127.909 156.833C109.224 169.33 100.919 187.108 101.746 209.092L109.739 208.791ZM132.355 163.482C135.34 161.486 138.47 159.681 141.737 157.799L137.745 150.869C134.516 152.728 131.153 154.664 127.91 156.832L132.355 163.482ZM141.737 157.799C146.146 155.26 150.81 152.579 155.153 149.298L150.332 142.916C146.452 145.847 142.224 148.288 137.745 150.869L141.737 157.799ZM155.142 149.306C158.855 146.521 162.303 143.491 165.628 140.464L160.244 134.549C156.971 137.528 153.747 140.355 150.343 142.908L155.142 149.306ZM165.624 140.468C172.056 134.628 173.512 125.226 171.403 117.1C169.264 108.858 163.254 100.999 153.546 98.2223L151.346 105.912C157.837 107.769 162.094 113.071 163.661 119.11C165.259 125.266 163.861 131.266 160.248 134.546L165.624 140.468ZM153.556 98.2251C146.763 96.2635 140.573 98.5327 135.566 101.315L139.451 108.306C143.785 105.898 147.603 104.831 151.337 105.909L153.556 98.2251ZM135.554 101.321C134.889 101.694 133.949 102.08 133.253 102.241C132.876 102.329 132.86 102.282 133.094 102.308C133.23 102.324 133.596 102.381 134.041 102.627C134.534 102.901 135.049 103.372 135.374 104.056L128.152 107.492C129.155 109.601 131.153 110.138 132.194 110.256C133.27 110.377 134.307 110.208 135.062 110.032C136.63 109.668 138.274 108.965 139.463 108.3L135.554 101.321ZM135.54 104.458C135.701 104.922 135.498 105.071 135.678 104.703C135.752 104.553 135.869 104.368 136.031 104.172C136.193 103.978 136.372 103.807 136.544 103.675L131.653 97.346C130.398 98.3155 129.245 99.6521 128.494 101.188C127.758 102.691 127.203 104.842 127.987 107.09L135.54 104.458ZM136.524 103.69C143.56 98.3219 151.52 96.5375 160.306 97.9354L161.563 90.0364C150.778 88.3204 140.575 90.5395 131.673 97.3307L136.524 103.69ZM160.309 97.9358C163.013 98.3642 165.729 99.4023 168.89 100.63L171.786 93.1743C168.779 92.0064 165.257 90.6217 161.56 90.036L160.309 97.9358ZM168.89 100.63C169.412 100.833 169.946 101.04 170.481 101.244L173.332 93.7711C172.823 93.577 172.311 93.3784 171.786 93.1743L168.89 100.63ZM170.502 101.252C172.555 102.022 174.339 103.517 176.035 105.66L182.308 100.698C180.074 97.8741 177.188 95.2174 173.31 93.7631L170.502 101.252ZM176.032 105.657C176.225 105.901 176.413 106.181 176.705 106.623L183.378 102.214C183.116 101.818 182.746 101.254 182.31 100.701L176.032 105.657ZM176.705 106.623C176.908 106.93 177.175 107.336 177.471 107.739L183.911 102.994C183.756 102.784 183.6 102.55 183.378 102.214L176.705 106.623ZM177.555 107.848C183.007 114.739 184.932 121.761 184.596 128.523C184.257 135.37 181.579 142.211 177.393 148.533L184.063 152.948C188.81 145.777 192.156 137.567 192.585 128.919C193.018 120.185 190.459 111.267 183.827 102.885L177.555 107.848ZM177.394 148.533C172.208 156.364 165.28 162.841 157.609 168.876L162.555 175.162C170.526 168.89 178.202 161.799 184.062 152.949L177.394 148.533ZM157.611 168.875C151.884 173.375 145.888 178.369 141.36 185L147.965 189.511C151.74 183.982 156.864 179.635 162.553 175.164L157.611 168.875ZM141.359 185.001C136.809 191.667 133.7 199.315 135.233 208.385L143.12 207.052C142.058 200.775 144.064 195.225 147.965 189.51L141.359 185.001ZM135.234 208.391C136.791 217.516 142.14 224.214 149.157 228.88L153.585 222.219C148 218.506 144.231 213.564 143.119 207.046L135.234 208.391ZM149.153 228.877C155.201 232.91 162.207 235.267 169.837 235.183L169.749 227.185C163.888 227.249 158.439 225.455 153.59 222.222L149.153 228.877ZM169.793 235.183C172.778 235.183 175.871 234.742 179.187 232.96L175.401 225.915C173.574 226.896 171.884 227.185 169.793 227.185V235.183ZM163.789 323.331C169.053 323.623 173.104 322.771 176.805 321.846L174.865 314.086C171.45 314.94 168.31 315.571 164.233 315.345L163.789 323.331ZM167.168 313.492C165.644 314.197 164.065 314.926 162.367 315.692L165.655 322.983C167.392 322.2 169.003 321.456 170.524 320.753L167.168 313.492ZM174.38 310.246C171.992 311.262 169.643 312.348 167.168 313.492L170.524 320.753C173.02 319.599 175.257 318.565 177.513 317.605L174.38 310.246ZM182.551 309.74C180.174 309.17 177.18 309.02 174.343 310.262L177.549 317.589C178.271 317.273 179.354 317.198 180.684 317.518L182.551 309.74ZM197.3 315.221C192.169 312.731 187.506 310.899 182.528 309.735L180.707 317.523C184.922 318.509 189.007 320.087 193.809 322.417L197.3 315.221ZM187.841 322.343C189.046 322.958 190.468 323.454 192.147 323.519C193.818 323.584 195.473 323.212 197.143 322.489L193.966 315.149C193.153 315.5 192.695 315.536 192.457 315.527C192.227 315.518 191.944 315.458 191.481 315.221L187.841 322.343ZM176.82 321.842C181.084 320.759 184.566 320.651 187.826 322.335L191.496 315.228C185.712 312.241 179.927 312.801 174.851 314.09L176.82 321.842Z" fill="#09275E" mask="url(#path-14-outside-1_503_366)"></path><path d="M89.8915 57.0404L88.8306 56.4518L87.8186 57.121C83.1444 60.2119 78.8785 63.8126 74.7973 67.2575C72.8793 68.8764 71.0021 70.4608 69.1426 71.9418L68.5392 72.4223L68.4148 73.1836C67.5559 78.4416 67.2125 83.6401 66.8775 88.7105C66.7295 90.952 66.583 93.1685 66.3945 95.3539L66.2979 96.4726L67.2029 97.1374C73.7731 101.964 80.2245 106.589 87.0594 110.997L88.5282 111.944L89.6634 110.615C99.2102 99.4404 108.42 88.6371 117.806 77.6265L119.17 76.0265L120.755 74.1671L118.619 72.9811C109.997 68.1945 101.84 63.6689 93.2746 58.9173C92.1545 58.2959 91.0275 57.6706 89.8915 57.0404Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M234.144 227.534C245.264 227.497 253.864 218.785 253.752 207.738C253.641 196.876 245.116 188.387 234.218 188.313C223.173 188.239 214.388 196.95 214.351 207.886C214.351 218.859 223.098 227.571 234.144 227.497V227.534ZM209.495 195.542C209.569 185.421 201.711 177.377 191.74 177.303C181.992 177.229 173.911 185.162 173.8 194.912C173.652 205.402 181.436 213.336 191.814 213.261C201.785 213.224 209.495 205.514 209.532 195.542H209.495Z" fill="white"></path><path d="M326.03 255.941L327.06 254.494L325.746 253.3C314.068 242.697 302.688 232.39 290.938 221.751L289.436 220.391L288.096 221.911C283.602 227.006 279.159 232.049 274.717 237.092C269.007 243.574 263.297 250.056 257.48 256.645L256.053 258.262L257.773 259.563C263.62 263.986 269.634 267.923 275.55 271.755C276.01 272.053 276.47 272.351 276.929 272.648C281.952 275.898 286.886 279.092 291.64 282.498C291.145 283.634 290.505 284.695 289.809 285.85C289.759 285.934 289.708 286.018 289.657 286.103C288.682 287.723 287.577 289.599 287.15 291.848L286.96 292.846L287.654 293.588C289.462 295.519 291.386 296.901 293.747 298.2L295.305 299.056L296.338 297.61C303.314 287.843 310.216 278.15 317.28 268.227C320.164 264.177 323.075 260.088 326.03 255.941Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M338.304 204.327L340.616 203.887L339.809 201.677C337.196 194.522 334.629 187.488 332.062 180.454L332.06 180.448C329.493 173.416 326.927 166.384 324.315 159.231L323.572 157.196L321.603 158.099C312.602 162.228 303.999 166.201 295.438 170.155C292.927 171.315 290.419 172.474 287.905 173.634L286.432 174.314L286.794 175.895C287.483 178.907 288.165 181.885 288.842 184.842C290.824 193.497 292.764 201.972 294.726 210.591L295.153 212.471L297.048 212.112C303.286 210.93 309.385 209.783 315.447 208.643C323.058 207.212 330.611 205.792 338.304 204.327Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M37.3088 70.9943L35.2298 70.8135L35.1379 72.8983C34.8368 79.7309 35.1199 86.2832 35.4538 92.655C35.4925 93.3945 35.5319 94.1312 35.5712 94.8654C35.8716 100.484 36.1646 105.96 36.0998 111.479L36.0783 113.317L37.9082 113.493C49.9545 114.649 61.3173 115.099 73.3255 114.575L74.9709 114.504L75.2157 112.875C76.5829 103.776 77.4526 94.7227 78.3254 85.6351C78.6885 81.8548 79.0522 78.0687 79.4525 74.271L79.676 72.1506L77.5456 72.0635C72.0999 71.8409 66.7299 71.813 61.4159 71.7853C60.05 71.7782 58.6877 71.7711 57.3289 71.7607C50.6626 71.7098 44.0466 71.5803 37.3088 70.9943Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M293.135 284.096L294.283 282.389L292.544 281.29C285.636 276.922 278.849 272.64 272.089 268.375C264.438 263.547 256.821 258.742 249.103 253.858L247.365 252.759L246.315 254.526C242.757 260.514 239.237 266.431 235.729 272.329C230.832 280.561 225.958 288.754 221.035 297.047L220.055 298.697L221.664 299.744C226.371 302.807 231.013 305.901 235.644 308.988C244.5 314.891 253.318 320.77 262.487 326.355L264.121 327.35L265.187 325.762C269.467 319.393 273.673 313.115 277.875 306.842C282.927 299.301 287.973 291.769 293.135 284.096Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M4.6069 136.87L3.32656 138.114L4.41714 139.527C5.45766 140.875 6.49509 142.219 7.53067 143.56C13.6143 151.443 19.6343 159.242 25.8437 167.258L26.9528 168.69L28.4871 167.727C34.6363 163.87 40.6597 160.096 46.7543 156.277C50.6154 153.858 54.505 151.421 58.4733 148.933L60.4036 147.723L58.9534 145.966C49.8109 134.89 40.7098 124.525 31.3269 113.991L29.9405 112.435L28.4429 113.884C24.7686 117.442 21.1619 120.91 17.5712 124.363C13.2568 128.511 8.96536 132.638 4.6069 136.87Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M24.1438 220.764L24.7235 223.219L26.9813 222.095C35.2305 217.986 42.7267 213.623 50.2998 209.214C51.4696 208.534 52.6413 207.852 53.8179 207.169L55.3098 206.304L54.6731 204.701C53.3352 201.333 52.2061 197.943 51.0558 194.489C50.8421 193.847 50.6276 193.203 50.411 192.557C49.0368 188.457 47.5826 184.287 45.7024 180.146L44.9085 178.398L43.1293 179.12C41.6769 179.71 40.2302 180.291 38.7892 180.87C31.8672 183.65 25.0751 186.377 18.3958 189.795L17.0028 190.508L17.3598 192.031C18.8458 198.372 20.3156 204.583 21.8347 211.001C22.5895 214.19 23.3566 217.431 24.1438 220.764Z" fill="#58C2DB" stroke="#09275E" stroke-width="3.99916"></path><path d="M223.136 212.372C225.063 210.629 227.658 211.037 228.733 208.553C228.918 204.179 224.841 205.959 222.765 204.921C221.876 199.99 224.1 195.468 228.066 193.985C231.735 192.576 236.369 194.244 238.741 198.211C241.669 203.141 241.558 208.405 239.297 213.521C238.111 216.227 235.664 217.895 232.551 217.747C228.659 217.525 224.952 216.82 223.136 212.409V212.372Z" fill="#09275E"></path><path d="M190.814 197.247C188.923 196.024 186.996 196.802 185.365 196.098C183.919 191.538 186.625 185.57 190.999 183.716C194.891 182.085 199.784 184.198 201.971 188.721C204.046 193.021 204.195 197.655 202.638 202.066C200.303 208.739 193.445 209.406 187.811 203.512C188.404 201.992 190.517 202.363 190.851 201.362C191.926 199.62 191.815 198.433 190.851 197.21L190.814 197.247Z" fill="#09275E"></path><path d="M258.547 165.167C259.667 168.526 263.813 172.965 265.746 174.765C266.945 172.765 265.182 164.595 264.946 163.767C264.346 159.768 264.546 158.768 264.946 155.369C265.346 151.97 273.544 151.17 281.342 146.771C289.141 142.372 287.541 134.373 286.341 130.374C285.307 126.927 283.142 122.976 281.742 119.776C280.342 116.577 271.944 101.98 269.945 98.3807C267.945 94.7815 266.145 93.5817 265.746 93.5817C265.346 93.5817 264.346 93.5817 265.346 98.3807C265.876 100.926 267.345 108.779 267.745 110.378C268.145 111.978 268.945 124.175 268.345 129.174C267.865 133.173 266.145 137.639 265.346 139.372C265.012 137.906 264.106 134.533 263.146 132.774C261.946 130.574 260.147 126.775 258.547 125.175C256.948 123.575 255.748 122.176 253.748 121.776C251.748 121.376 255.548 127.775 257.147 132.774C258.747 137.773 256.948 142.372 257.147 147.97C257.347 153.569 257.147 160.968 258.547 165.167Z" fill="#FFA220"></path><path d="M232.123 270.553C232.123 267.25 229.599 264.176 227.693 261.583C226.593 260.086 225.628 258.278 224.349 256.998" stroke="#FFBB34" stroke-width="1.19975" stroke-linecap="round"></path><path d="M232.521 269.158C232.057 267.59 231.444 266.408 230.373 265.104C228.229 262.495 226.282 259.735 224.216 257.065C222.613 254.994 220.993 252.315 220.163 249.822" stroke="#FFBB34" stroke-width="1.19975" stroke-linecap="round"></path><path d="M229.953 263.546C231.553 266.266 232.753 269.611 233.153 270.945L238.352 262.746L234.752 255.348C233.553 253.548 233.553 251.349 233.553 249.549C233.553 247.749 237.552 247.35 238.752 246.55C239.951 245.75 240.751 245.75 242.751 244.15C244.75 242.551 247.95 240.351 248.349 238.751C248.749 237.152 241.151 240.151 239.151 240.751C237.152 241.351 233.953 242.55 232.353 243.35C230.753 244.15 226.354 245.35 223.155 246.55C219.955 247.749 220.155 250.549 220.355 251.949C220.555 253.348 223.955 255.948 224.554 256.348C225.154 256.748 227.954 260.147 229.953 263.546Z" fill="#FFA220"></path>',30)]))}const BluepicLogo=_export_sfc(_sfc_main$i,[["render",_sfc_render$2]]),_hoisted_1$d={key:0,class:"nav-wrapper"},_hoisted_2$b={class:"back-btn-wrapper"},_hoisted_3$9={key:0,class:"branding"},_hoisted_4$6={class:"logo"},_hoisted_5$5={class:"actions"},_hoisted_6$2={class:"editor-inner"},_hoisted_7$2={key:0,class:"view-desktop"},_hoisted_8$2={class:"fields-view"},_hoisted_9$2={key:0,class:"slides-nav-wrapper"},_hoisted_10$2={key:1,class:"form-extra-wrapper"},_hoisted_11$2={class:"time-meta-wrapper"},_hoisted_12$1={class:"play-controls"},_hoisted_13$1={class:"live-view-inner"},_hoisted_14$1=["src"],_hoisted_15$1=["src"],_hoisted_16$1={class:"time-meta-wrapper"},_hoisted_17={class:"play-controls"},_hoisted_18={class:"form-extra-wrapper"},_hoisted_19=["src"],_hoisted_20={key:0,class:"timeline-wrapper"},_hoisted_21={class:"time-meta-wrapper"},_hoisted_22={class:"play-controls"},_hoisted_23={class:"fields-view"},_hoisted_24={key:0,class:"slides-nav-wrapper"},_hoisted_25={key:1,class:"form-extra-wrapper"},_hoisted_26={class:"stack-nav-wrapper"},_hoisted_27={key:0,class:"branding"},_hoisted_28={class:"logo"},_hoisted_29={class:"actions"},_hoisted_30={key:3,class:"view-kiosk"},_hoisted_31={class:"kiosk-field-wrapper"},_hoisted_32={key:0,class:"navigation-view"},_hoisted_33={class:"toolbar"},_sfc_main$h=vue.defineComponent({__name:"BluepicEmbeddedEditor",props:vue.mergeModels({data:{},displayMode:{},templateId:{},name:{},embedApiBaseUrl:{},env:{},cloudflarePagesHostname:{},bxCoreVersion:{},asyncSerial:{type:Boolean},baseSerial:{},preview:{},resolution:{},webgl:{type:Boolean},fonts:{},bridge:{},watermark:{},zoomAndPan:{type:Boolean},exportActions:{},embedProjectId:{},branding:{type:Boolean},showNavBar:{type:Boolean,default:!0},showBackBtn:{type:Boolean,default:!1},bearerToken:{},password:{},liveViewOffsetDesktop:{default:()=>({top:0,right:20,bottom:0,left:0})},liveViewOffsetMobile:{default:()=>({top:0,right:0,bottom:0,left:0})},liveViewOffsetStack:{default:()=>({top:0,right:0,bottom:0,left:0})},liveViewOffsetKiosk:{default:()=>({top:0,right:0,bottom:0,left:0})}},{serial:{required:!1},serialModifiers:{},ready:{type:Boolean,required:!1},readyModifiers:{}}),emits:vue.mergeModels(["back","update:data","update:globalScope","handle-export-action","before-export","after-export"],["update:serial","update:ready"]),setup(m,{expose:c,emit:ie}){const we=m,Ie=ie,Me=vue.ref(we.data??{});vue.watch(()=>we.data,gn=>{gn&&!lodash.exports.isEqual(gn,Me.value)&&(Me.value=gn)});const Ze=vue.useModel(m,"serial"),ne=vue.useModel(m,"ready"),rr=vue.ref(),{width:pr,height:lr}=useElementBounding(rr);vue.watchEffect(()=>{Ie("update:data",Me.value)});const yr=vue.computed(()=>we.embedProjectId),kr=vue.computed(()=>we.templateId);vue.provide("data",Me),vue.provide("bridge",we.bridge);const Br=vue.ref(),{width:Ar,height:Pr}=useElementBounding(Br),Nr=vue.ref(),{width:ei}=useWindowSize(),Vr=vue.ref([]),Zr=vue.computed(()=>{if(!Nr.value?.aspectRatio)return;const gn=Nr.value.bluepicLiveTemplateRootWidth*Nr.value.aspectRatio;return Pr.value-gn}),Wr=vue.computed(()=>we.displayMode==="auto"?ei.value>768?"desktop":"mobile":we.displayMode);function ai(){!Nr.value||(Nr.value.transform={x:0,y:0,scale:1,rotate:0})}const ui=vue.computed(()=>Nr.value?.bluepicLiveTemplateRootWidth),di=vue.computed(()=>Nr.value?.bluepicLiveTemplateRootHeight);vue.watch([ui,di],ai);const fi=vue.ref(!1),li=()=>fi.value=!0,hi=vue.ref();function gr(gn){hi.value=gn}function Ae(){if(!(!Ze.value?.frames||!hi.value)&&Wr.value==="mobile"){const gn=ze.value[hi.value.activeIndex],dn=[gn.originalField,...gn.fields].find(Pn=>Pn?.frameIndex!==void 0)?.frameIndex;if(dn!==void 0&&Ze.value.frames&&Ze.value.frames.x>0&&Ze.value.frames.y>0){const Pn=(dn-1)%Ze.value.frames.x,zo=Math.floor((dn-1)/Ze.value.frames.x);Nr.value?.applyTranformBasedOnFrame(Pn+1,zo+1)}}}const{mobileFields:ze}=useMobileFields(Vr),Ue=[Navigation,Pagination,Scrollbar,A11y];vue.computed(()=>Vr.value.map(gn=>gn.hitbox).filter(gn=>gn));function tr({x:gn,y:dn}){}const or=vue.computed(()=>ze.value.reduce((gn,dn)=>[...gn,...dn.fields],[])),vr=vue.ref(0),br=vue.ref(!1),nr=vue.computed(()=>or.value.map((gn,dn)=>({label:getFieldDescription(gn),value:dn,icon:()=>renderFieldIcon(gn.type,dn===vr.value)}))),$e=vue.computed(()=>nr.value.find(({value:gn})=>gn===vr.value)?.label),ur=vue.computed(()=>ei.value<=768);function $r(gn){vr.value=gn,br.value=!0,or.value[gn]}const Yr=vue.computed(()=>vr.value<or.value.length-1),wi=vue.computed(()=>vr.value>0);function ki(){Yr.value&&$r(vr.value+1)}function Mi(){wi.value&&$r(vr.value-1)}const si=vue.computed(()=>or.value[vr.value]),_i=vue.computed(()=>Object.values(Ze.value?.frames??{x:1,y:1}).reduce((gn,dn)=>dn*gn,1)),ii=vue.computed(()=>_i.value>1),Jr=vue.computed({get(){if(!Ze.value?.frames||!ii.value)return;const{x:gn,y:dn}=Nr.value?.closestFrame??{x:1,y:1},Pn=gn-1;return(dn-1)*Ze.value.frames.x+Pn+1},set(gn){if(gn===void 0||!ii.value||!Ze.value?.frames)return;const dn=gn-1,Pn=dn%Ze.value.frames.x,zo=Math.floor(dn/Ze.value.frames.x);Nr.value?.applyTranformBasedOnFrame(Pn+1,zo+1)}}),bi=vue.computed(()=>Nr.value?.globalScope??{});vue.watchEffect(()=>{Ie("update:globalScope",bi.value)});const vi=gn=>new Function(...Object.keys(bi.value),`return (${gn.toString()})()`)(...Object.values(bi.value));vue.provide("computedPropEvaluator",vi);const Di=vue.useSlots(),Ui=gn=>{!gn||(Vr.value=(gn.fields??gn?.meta.fields.map(convertDeprecatedField).filter(dn=>dn!==void 0)).map(realizeField).filter(dn=>ii.value&&Wr.value!=="mobile"?(dn.frameIndex??1)===Jr.value:!0),Me.value={...gn.bindings,...Me.value})};we.baseSerial&&Ui(we.baseSerial);const pn=vue.computed(()=>(Ze.value??we.baseSerial)?.animation);vue.watch(Ze,()=>{Ui(Ze.value)}),vue.watch(Jr,()=>{Wr.value!=="mobile"&&Ui(Ze.value)}),vue.watch(Wr,()=>{Ui(Ze.value)});const tn=vue.ref(0);vue.watchEffect(()=>{Ze.value?.animation&&(Me.value.TIME=tn.value)});const Tn=vue.computed(()=>1/(Ze.value?.animation?.fps??30)),Ji=vue.ref(Tn.value),Vi=vue.ref(!1),Gn=vue.ref(!0);let En=0,An=0;function To(){Vi.value=!Vi.value,Vi.value&&(En=Date.now(),An=tn.value);function gn(){const dn=Ze.value?.animation.duration??120;if(Vi.value){const Pn=(Date.now()-En)/1e3%dn,Dn=An-An%Ji.value+Pn,Xn=Dn-Dn%Ji.value;Xn>dn?Gn.value?tn.value=0:(Vi.value=!1,tn.value=dn):tn.value=Xn,requestAnimationFrame(gn)}}gn()}const hn=vue.computed(()=>{const gn=we.exportActions??[];return gn.length===0?[{renderFormat:"png",trigger:"user-gesture",label:"Download",download:!0,successMessage:"Image downloaded",webhook:void 0,redirect:void 0}]:gn}),On=vue.computed(()=>hn.value.filter(gn=>gn.trigger==="user-gesture"||!gn.trigger).map((gn,dn)=>({label:gn.label,value:dn}))),Wo=vue.computed(()=>hn.value.some(gn=>gn.download===!1&&gn.trigger==="user-gesture")),Fn=vue.computed(()=>hn.value.filter(gn=>gn.trigger==="onupdate"));vue.watch(Me,useDebounceFn(()=>{for(const gn of Fn.value)Zn(hn.value.indexOf(gn))},1e3),{deep:!0});const Wn=nanoid(),No=vue.ref(!1);async function Zn(gn){const dn=hn.value[gn];if(!dn)return;const Pn={PRIMARY_COLOR:"#47AFD5FF",SECONDARY_COLOR:"#474FB1FF",TERTIARY_COLOR:"#D6AFC7FF",LOGO_IMAGE_LIGHT:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/94fda3e8-3770-4052-21df-a669c761c600/public",LOGO_IMAGE_DARK:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/894acbb8-37a0-452a-5c10-2ca63b487800/public",DISPLAY_FONT:"Unbounded",BODY_FONT:"Inter",FOO:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIC8+Cjwvc3ZnPg==",MAPBOX_ACCESS_TOKEN:"pk.eyJ1IjoibWF1cmljZS1jb25yYWQiLCJhIjoiY2w5eTllbnNwMDMycTNubG5mYmd5bDl1MCJ9.VjV0KzTnJ6nbK2kZejkHaQ"},zo={exportAction:dn,templateId:kr.value,data:Object.fromEntries(Object.entries(Me.value).filter(([Dn,Xn])=>!(Dn==="TIME"&&!Ze.value?.animation?.enabled||Dn in Pn&&Xn===Pn[Dn]))),embedProjectId:yr.value,files:null,creditsConsumed:null,sessionId:Wn,userAgent:navigator.userAgent,visitorId:"foo",visitorConfidence:0};if(Ie("handle-export-action",dn),Ie("before-export",zo),No.value=!0,dn.renderFormat!=="none")if(Ze.value?.animation?.enabled){if(dn.trigger==="onupdate")return No.value=!1,console.error("onupdate is not supported for video export");const Dn=await ma("mp4",Ze.value.animation.duration*1e3,`${we.name}`);zo.files=Object.fromEntries(await Promise.all(Dn.files.map(async Xn=>{const ha=await fetch(Xn).then(Jn=>Jn.blob());return[`video.${mimeTypes.extension(ha.type)}`,ha]}))),zo.creditsConsumed=Dn.creditsConsumed}else{if(dn.trigger==="onupdate")return No.value=!1,console.error("onupdate is not supported for image export");const Dn=await oo(dn.renderFormat,`${we.name}`,void 0);zo.files=Dn.files??null,zo.creditsConsumed=Dn.creditsConsumed}if(zo.files!==null&&dn.download&&dn.trigger==="user-gesture"&&await downloadFiles(Object.values(zo.files),`${we.name}`),dn.webhook)try{const Dn=await fetch(dn.webhook,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(zo)}),Xn=await Dn.text();Dn.ok||console.error("Webhook failed",Xn),console.log("Webhook result",Xn),dn.successMessage&&createMessage({type:"success",message:dn.successMessage,closeAfter:5e3})}catch(Dn){console.error("Webhook error",Dn)}if((zo.files!==null||dn.webhook)&&dn.successMessage&&dn.successMessage,No.value=!1,Ie("after-export",zo),dn.redirect&&dn.trigger==="user-gesture"){const Dn=new URL(dn.redirect);Dn.searchParams.set("context",JSON.stringify(zo)),window.location=Dn.toString()}}const{render:oo,renderVideo:ma,videoFiles:Yn,videoProgress:eo,videoRendering:ta}=useRenderer(we.embedApiBaseUrl,we.cloudflarePagesHostname,we.env,Nr,Ze,yr,kr,vue.toRef(we,"bearerToken"),vue.toRef(we,"password"),Me),jn=vue.computed(()=>{if(!eo.value||!(eo.value.type==="keyframe"||eo.value.type==="encode_video"||eo.value.type==="encode_audio"))return;const gn={keyframe:.8,encode_video:.1,encode_audio:.1},dn=Object.values(gn).reduce((Xn,ha)=>Xn+ha,0),Pn=Object.keys(gn).findIndex(Xn=>Xn===eo.value?.type),zo=Object.values(gn).slice(0,Pn).reduce((Xn,ha)=>Xn+ha,0),Dn=gn[eo.value.type]*(eo.value.frame/eo.value.totalFrames);return(zo+Dn)/dn*100});c({bluepicLiveTemplateRef:Nr,slidesNavIndex:Jr,serial:Ze,ready:ne});function ao(){window.open("https://bluepic.io","_blank")}return(gn,dn)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bluepic-embedded-editor",{"display-mode-stack":Wr.value==="stack"}])},[Wr.value!=="stack"&&gn.showNavBar?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$d,[vue.createElementVNode("div",_hoisted_2$b,[gn.showBackBtn?(vue.openBlock(),vue.createElementBlock("button",{key:0,class:"btn-nav-back",onClick:dn[0]||(dn[0]=Pn=>Ie("back"))},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronBackOutline))]),_:1})])):vue.createCommentVNode("",!0)]),gn.branding?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$9,[vue.createElementVNode("div",{class:"branding-wrapper",onClick:ao},[vue.createElementVNode("div",_hoisted_4$6,[vue.createVNode(BluepicLogo)]),dn[23]||(dn[23]=vue.createElementVNode("div",{class:"content"},[vue.createElementVNode("span",{class:"main"}," Design Template "),vue.createElementVNode("span",{class:"sub"}," shared with Bluepic ")],-1))])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_5$5,[On.value.length>=2?(vue.openBlock(),vue.createBlock(BxDropdown,{key:0,options:On.value,onSelect:Zn},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{secondary:"",loading:(No.value||vue.unref(ta))&&jn.value===void 0,disabled:No.value||vue.unref(ta)||!ne.value},{icon:vue.withCtx(()=>[jn.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000000",class:"export-button-circular-progress",progress:jn.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[vue.createTextVNode(" "+vue.toDisplayString(Wo.value?"Export":"Download"),1)]),_:1},8,["loading","disabled"])]),_:1},8,["options"])):On.value.length===1?(vue.openBlock(),vue.createBlock(BxButton,{key:1,secondary:"",onClick:dn[1]||(dn[1]=Pn=>Zn(0)),loading:(No.value||vue.unref(ta))&&jn.value===void 0,disabled:No.value||vue.unref(ta)},{icon:vue.withCtx(()=>[jn.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000",class:"export-button-circular-progress",progress:jn.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[vue.createTextVNode(" "+vue.toDisplayString(hn.value[0].label),1)]),_:1},8,["loading","disabled"])):vue.createCommentVNode("",!0)])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_6$2,[Wr.value==="desktop"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$2,[vue.createElementVNode("div",_hoisted_8$2,[ii.value&&Jr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$2,[vue.createVNode(SlidesNavigation,{length:_i.value,index:Jr.value,"onUpdate:index":dn[2]||(dn[2]=Pn=>Jr.value=Pn)},null,8,["length","index"])])):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$s,{fields:Vr.value},null,8,["fields"]),Di["form-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$2,[vue.renderSlot(gn.$slots,"form-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[pn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"timelineWrapperRef",ref:rr,class:"timeline-wrapper"},[vue.createElementVNode("div",_hoisted_11$2,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((pn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":dn[3]||(dn[3]=Pn=>tn.value=Pn),min:0,step:Ji.value,max:pn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_12$1,[vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayBack))]),_:1})]),vue.createElementVNode("button",{onClick:To},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[Vi.value?(vue.openBlock(),vue.createBlock(vue.unref(Pause),{key:0})):(vue.openBlock(),vue.createBlock(vue.unref(Play),{key:1}))]),_:1})]),vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayForward))]),_:1})])])],512)):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_13$1,[vue.createVNode(vue.Transition,{name:"ghost-loading-preview-image-fade"},{default:vue.withCtx(()=>[gn.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":gn.baseSerial.width/gn.baseSerial.height,"--timeline-height":`${vue.unref(lr)}px`,"--offset-top":`${gn.liveViewOffsetDesktop.top}px`,"--offset-right":`${gn.liveViewOffsetDesktop.right}px`,"--offset-bottom":`${gn.liveViewOffsetDesktop.bottom}px`,"--offset-left":`${gn.liveViewOffsetDesktop.left}px`})},[vue.createElementVNode("img",{src:gn.preview?vue.unref(optimizePreviewUrl)(gn.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:gn.embedApiBaseUrl,env:gn.env}),onLoad:li},null,40,_hoisted_14$1),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":fi.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Nr,"template-id":kr.value,"embed-api-base-url":gn.embedApiBaseUrl,env:gn.env,"cloudflare-pages-hostname":gn.cloudflarePagesHostname,"bx-core-version":gn.bxCoreVersion,"async-serial":gn.asyncSerial,resolution:gn.resolution,webgl:gn.webgl,fonts:gn.fonts,"base-serial":gn.baseSerial,data:Me.value,"onUpdate:data":dn[4]||(dn[4]=Pn=>Me.value=Pn),serial:Ze.value,"onUpdate:serial":dn[5]||(dn[5]=Pn=>Ze.value=Pn),ready:ne.value,"onUpdate:ready":dn[6]||(dn[6]=Pn=>ne.value=Pn),onMatrixClick:tr,watermark:gn.watermark,"zoom-and-pan":gn.zoomAndPan,scrollbars:gn.zoomAndPan,offset:gn.liveViewOffsetDesktop},null,8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","async-serial","resolution","webgl","fonts","base-serial","data","serial","ready","watermark","zoom-and-pan","scrollbars","offset"])])],2)])):Wr.value==="mobile"?(vue.openBlock(),vue.createElementBlock("div",{key:1,ref_key:"viewMobileRef",ref:Br,class:"view-mobile"},[vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[vue.createVNode(vue.Transition,{name:"ghost-loading-preview-image-fade"},{default:vue.withCtx(()=>[gn.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":gn.baseSerial.width/gn.baseSerial.height})},[vue.createElementVNode("img",{src:gn.preview?vue.unref(optimizePreviewUrl)(gn.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:gn.embedApiBaseUrl,env:gn.env}),onLoad:li},null,40,_hoisted_15$1),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":fi.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Nr,"template-id":kr.value,"embed-api-base-url":gn.embedApiBaseUrl,env:gn.env,"cloudflare-pages-hostname":gn.cloudflarePagesHostname,"bx-core-version":gn.bxCoreVersion,"async-serial":gn.asyncSerial,resolution:gn.resolution,webgl:gn.webgl,fonts:gn.fonts,"base-serial":gn.baseSerial,data:Me.value,"onUpdate:data":dn[7]||(dn[7]=Pn=>Me.value=Pn),serial:Ze.value,"onUpdate:serial":dn[8]||(dn[8]=Pn=>Ze.value=Pn),ready:ne.value,"onUpdate:ready":dn[9]||(dn[9]=Pn=>ne.value=Pn),onMatrixClick:tr,watermark:gn.watermark,"zoom-and-pan":gn.zoomAndPan,scrollbars:gn.zoomAndPan,offset:gn.liveViewOffsetMobile},null,8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","async-serial","resolution","webgl","fonts","base-serial","data","serial","ready","watermark","zoom-and-pan","scrollbars","offset"])],2),pn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"timelineWrapperRef",ref:rr,class:"timeline-wrapper"},[vue.createElementVNode("div",_hoisted_16$1,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((pn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":dn[10]||(dn[10]=Pn=>tn.value=Pn),min:0,step:Ji.value,max:pn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_17,[vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayBack))]),_:1})]),vue.createElementVNode("button",{onClick:To},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[Vi.value?(vue.openBlock(),vue.createBlock(vue.unref(Pause),{key:0})):(vue.openBlock(),vue.createBlock(vue.unref(Play),{key:1}))]),_:1})]),vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayForward))]),_:1})])])],512)):vue.createCommentVNode("",!0),Me.value?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:"fields-view",style:vue.normalizeStyle({"--view-mobile-height":`${vue.unref(Pr)}px`})},[vue.createVNode(vue.unref(Swiper),{modules:Ue,"slides-per-view":1,"space-between":0,onSwiper:gr,onSlideChange:Ae},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(ze),({fields:Pn,originalField:zo},Dn)=>(vue.openBlock(),vue.createBlock(vue.unref(SwiperSlide),null,{default:vue.withCtx(()=>[vue.createVNode(MobileFieldsSlide,{fields:Pn,"original-field":zo,active:hi.value?.activeIndex===Dn,"mobile-fields-slides":vue.unref(ze),"natural-fields-view-max-height":Math.max(180,Zr.value??180),onSelectNav:dn[11]||(dn[11]=Xn=>hi.value?.slideTo(Xn)),"slide-index":Dn},null,8,["fields","original-field","active","mobile-fields-slides","natural-fields-view-max-height","slide-index"])]),_:2},1024))),256)),Di["form-extra"]?(vue.openBlock(),vue.createBlock(vue.unref(SwiperSlide),{key:0},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_18,[vue.renderSlot(gn.$slots,"form-extra",{},void 0,!0)])]),_:3})):vue.createCommentVNode("",!0)]),_:3}),vue.createElementVNode("div",{class:vue.normalizeClass(["swiper-nav-prev",{disabled:hi.value?.activeIndex===0}]),onClick:dn[12]||(dn[12]=Pn=>hi.value?.slidePrev())},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronBackOutline))]),_:1})],2),vue.createElementVNode("div",{class:vue.normalizeClass(["swiper-nav-next",{disabled:hi.value?.activeIndex===vue.unref(ze).length-1}]),onClick:dn[13]||(dn[13]=Pn=>hi.value?.slideNext())},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronForwardOutline))]),_:1})],2)],4)):vue.createCommentVNode("",!0)],512)):Wr.value==="stack"?(vue.openBlock(),vue.createElementBlock("div",{key:2,class:vue.normalizeClass(["view-stack",{}])},[vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[vue.createVNode(vue.Transition,{name:"ghost-loading-preview-image-fade"},{default:vue.withCtx(()=>[gn.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":gn.baseSerial.width/gn.baseSerial.height})},[vue.createElementVNode("img",{src:gn.preview?vue.unref(optimizePreviewUrl)(gn.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:gn.embedApiBaseUrl,env:gn.env}),onLoad:li},null,40,_hoisted_19),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":fi.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Nr,"template-id":kr.value,"embed-api-base-url":gn.embedApiBaseUrl,env:gn.env,"cloudflare-pages-hostname":gn.cloudflarePagesHostname,"bx-core-version":gn.bxCoreVersion,"async-serial":gn.asyncSerial,resolution:gn.resolution,webgl:gn.webgl,fonts:gn.fonts,"base-serial":gn.baseSerial,data:Me.value,"onUpdate:data":dn[14]||(dn[14]=Pn=>Me.value=Pn),serial:Ze.value,"onUpdate:serial":dn[15]||(dn[15]=Pn=>Ze.value=Pn),ready:ne.value,"onUpdate:ready":dn[16]||(dn[16]=Pn=>ne.value=Pn),onMatrixClick:tr,watermark:gn.watermark,"zoom-and-pan":gn.zoomAndPan,scrollbars:gn.zoomAndPan,offset:gn.liveViewOffsetStack},null,8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","async-serial","resolution","webgl","fonts","base-serial","data","serial","ready","watermark","zoom-and-pan","scrollbars","offset"])],2),pn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",_hoisted_20,[vue.createElementVNode("div",_hoisted_21,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((pn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":dn[17]||(dn[17]=Pn=>tn.value=Pn),min:0,step:Ji.value,max:pn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_22,[vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayBack))]),_:1})]),vue.createElementVNode("button",{onClick:To},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[Vi.value?(vue.openBlock(),vue.createBlock(vue.unref(Pause),{key:0})):(vue.openBlock(),vue.createBlock(vue.unref(Play),{key:1}))]),_:1})]),vue.createElementVNode("button",null,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(PlayForward))]),_:1})])])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_23,[ii.value&&Jr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_24,[vue.createVNode(SlidesNavigation,{length:_i.value,index:Jr.value,"onUpdate:index":dn[18]||(dn[18]=Pn=>Jr.value=Pn)},null,8,["length","index"])])):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$s,{fields:Vr.value},null,8,["fields"]),Di["form-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_25,[vue.renderSlot(gn.$slots,"form-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_26,[gn.branding?(vue.openBlock(),vue.createElementBlock("div",_hoisted_27,[vue.createElementVNode("div",{class:"branding-wrapper",onClick:ao},[vue.createElementVNode("div",_hoisted_28,[vue.createVNode(BluepicLogo)]),dn[24]||(dn[24]=vue.createElementVNode("div",{class:"content"},[vue.createElementVNode("span",{class:"main"}," Design Template "),vue.createElementVNode("span",{class:"sub"}," shared with Bluepic ")],-1))])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_29,[On.value.length>=2?(vue.openBlock(),vue.createBlock(BxDropdown,{key:0,options:On.value,onSelect:Zn},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{secondary:"",loading:(No.value||vue.unref(ta))&&jn.value===void 0,disabled:No.value||vue.unref(ta)},{icon:vue.withCtx(()=>[jn.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000000",class:"export-button-circular-progress",progress:jn.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[dn[25]||(dn[25]=vue.createTextVNode(" Download "))]),_:1},8,["loading","disabled"])]),_:1},8,["options"])):On.value.length===1?(vue.openBlock(),vue.createBlock(BxButton,{key:1,secondary:"",onClick:dn[19]||(dn[19]=Pn=>Zn(0)),loading:(No.value||vue.unref(ta))&&jn.value===void 0,disabled:No.value||vue.unref(ta)},{icon:vue.withCtx(()=>[jn.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000",class:"export-button-circular-progress",progress:jn.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[vue.createTextVNode(" "+vue.toDisplayString(hn.value[0].label),1)]),_:1},8,["loading","disabled"])):vue.createCommentVNode("",!0)])])])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_30,[vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Nr,"template-id":kr.value,"embed-api-base-url":gn.embedApiBaseUrl,env:gn.env,"cloudflare-pages-hostname":gn.cloudflarePagesHostname,"bx-core-version":gn.bxCoreVersion,"async-serial":gn.asyncSerial,resolution:gn.resolution,webgl:gn.webgl,fonts:gn.fonts,data:Me.value,"onUpdate:data":dn[20]||(dn[20]=Pn=>Me.value=Pn),serial:Ze.value,"onUpdate:serial":dn[21]||(dn[21]=Pn=>Ze.value=Pn),ready:ne.value,"onUpdate:ready":dn[22]||(dn[22]=Pn=>ne.value=Pn),onMatrixClick:tr,watermark:gn.watermark,"zoom-and-pan":gn.zoomAndPan,scrollbars:gn.zoomAndPan,offset:gn.liveViewOffsetKiosk},{matrix:vue.withCtx(({composePoint:Pn})=>[vue.createElementVNode("div",_hoisted_31,[Ze.value&&si.value&&br.value?(vue.openBlock(),vue.createBlock(KioskField,{key:0,field:si.value,"compose-point":Pn,serial:Ze.value},null,8,["field","compose-point","serial"])):vue.createCommentVNode("",!0)])]),_:1},8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","async-serial","resolution","webgl","fonts","data","serial","ready","watermark","zoom-and-pan","scrollbars","offset"])],2),ne.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_32,[vue.createElementVNode("div",_hoisted_33,[vue.createElementVNode("button",{class:vue.normalizeClass(["icon-only",{disabled:!wi.value}]),onClick:Mi},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronBackOutline))]),_:1})],2),vue.createVNode(BxDropdown,{options:nr.value,"mobile-layout":ur.value,onSelect:$r},{trigger:vue.withCtx(()=>[vue.createElementVNode("button",null,vue.toDisplayString($e.value),1)]),_:1},8,["options","mobile-layout"]),vue.createElementVNode("button",{class:vue.normalizeClass(["icon-only",{disabled:!Yr.value}]),onClick:ki},[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronForwardOutline))]),_:1})],2)])])):vue.createCommentVNode("",!0)]))])],2))}}),BluepicEmbeddedEditor_vue_vue_type_style_index_0_scoped_8e6d761d_lang="",BluepicEmbeddedEditor=_export_sfc(_sfc_main$h,[["__scopeId","data-v-8e6d761d"]]),_sfc_main$g=vue.defineComponent({__name:"TableFieldsList",props:vue.mergeModels({fields:{}},{data:{required:!0},dataModifiers:{}}),emits:vue.mergeModels(["change"],["update:data"]),setup(m,{emit:c}){const ie={Text,Image:Image$1,Select,Collection:CollectionFieldPopup,Checkbox,Color,ImageAdjust,Map:Map$1,Number:Number$1,ImageEdit,SelectText,SelectImage,SelectColor},we=vue.useModel(m,"data"),Ie=c,Me=vue.inject("bridge"),Ze=vue.inject("computedPropEvaluator");Ze||console.error("computedPropEvaluator is not provided");const ne=pr=>{if("pos"in pr&&"scale"in pr){const yr=pr.image,kr=pr.pos,Br=pr.scale;return{image:we.value[yr],"onUpdate:image":Pr=>{we.value[yr]=Pr},adjust:{scale:we.value[Br],innerPos:we.value[kr]},"onUpdate:adjust":Pr=>{we.value[Br]=Pr.scale,we.value[kr]=Pr.innerPos}}}return{...Object.fromEntries(Object.entries(pr).map(([yr,kr])=>[yr,we.value[kr]])),...Object.fromEntries(Object.entries(pr).map(([yr])=>[`onUpdate:${yr}`,kr=>{we.value[pr[yr]]=kr,Ie("change")}]))}};function rr(pr){return Object.fromEntries(Object.entries(pr).map(([lr,yr])=>typeof yr=="function"?[lr,Ze(yr)]:[lr,yr]))}return(pr,lr)=>(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(pr.fields,yr=>(vue.openBlock(),vue.createElementBlock("td",{style:vue.normalizeStyle({"--min-width":yr.layout?.minWidth,"--max-width":yr.layout?.maxWidth})},[vue.createElementVNode("div",{class:"table-cell-wrapper-field-wrapper",style:vue.normalizeStyle({"--min-width":yr.layout?.minWidth,"--max-width":yr.layout?.maxWidth})},[yr.type in ie?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(ie[yr.type]),vue.mergeProps({key:0,bridge:vue.unref(Me),ref_for:!0},{...rr(yr.props),...ne(yr.model),description:yr.description,detailedDescription:yr.detailedDescription,field:yr,...(()=>{if(yr.type==="Text")return{...yr.layout,minWidth:"120px"};if(yr.type==="Select")return{...yr.layout,cardSize:"small"}})()}),null,16,["bridge"])):vue.createCommentVNode("",!0)],4)],4))),256))}}),TableFieldsList_vue_vue_type_style_index_0_scoped_b7b49ece_lang="",TableFieldsList=_export_sfc(_sfc_main$g,[["__scopeId","data-v-b7b49ece"]]),_hoisted_1$c=["onClick"],_hoisted_2$a={class:"label"},_hoisted_3$8={class:"indicator-wrapper"},_sfc_main$f=vue.defineComponent({__name:"BxTabs",props:vue.mergeModels({tabs:{},type:{default:"inline"},fullWidth:{type:Boolean,default:!1},fitWidth:{type:Boolean,default:!1}},{modelValue:{required:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(m){const c=m,ie=vue.ref(),we=vue.useModel(m,"modelValue");we.value||(we.value=c.tabs[0].name);const Ie=vue.ref();function Me(){if(!ie.value)return;const Ze=ie.value.getBoundingClientRect().left,ne=c.tabs.findIndex(pr=>pr.name===we.value);ie.value.children.item(ne);const rr=ie.value.children.item(ne)?.getBoundingClientRect();!rr||(Ie.value={x:rr?.left-Ze,width:rr?.width})}return vue.onMounted(()=>{vue.nextTick(()=>{Me()})}),vue.watch(we,Me),(Ze,ne)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-tabs-wrapper",{"full-width":Ze.fullWidth,"fit-width":Ze.fitWidth}])},[vue.createElementVNode("div",{class:vue.normalizeClass(["bx-tabs",{[`type-${Ze.type}`]:!0}])},[vue.createElementVNode("div",{class:"tabs",ref_key:"tabsRef",ref:ie},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(c.tabs,(rr,pr)=>(vue.openBlock(),vue.createElementBlock("div",{key:pr,class:vue.normalizeClass(["tab",{active:we.value===rr.name}]),onClick:lr=>we.value=rr.name},[vue.createElementVNode("span",_hoisted_2$a,vue.toDisplayString(rr.label),1)],10,_hoisted_1$c))),128))],512),vue.createElementVNode("div",_hoisted_3$8,[vue.createElementVNode("div",{class:"indicator",style:vue.normalizeStyle({"--width":`${Ie.value?.width}px`,"--x":`${Ie.value?.x}px`})},null,4)])],2)],2))}}),BxTabs_vue_vue_type_style_index_0_scoped_56b2b10c_lang="",BxTabs=_export_sfc(_sfc_main$f,[["__scopeId","data-v-56b2b10c"]]),_hoisted_1$b={class:"table-data-matcher"},_hoisted_2$9={class:"table-wrapper"},_hoisted_3$7={class:"value"},_sfc_main$e=vue.defineComponent({__name:"TableDataMatcher",props:{data:{},fields:{}},emits:["update:partial-data"],setup(m,{emit:c}){const ie=m,we=c,Ie=vue.ref(ie.data[0].map(()=>{})),Me=vue.ref(ie.data),Ze=vue.computed(()=>Object.fromEntries(Ie.value.map((lr,yr)=>lr?[Object.values(lr.model)[0],Me.value.map(Br=>Br[yr])]:void 0).filter(lr=>lr!==void 0)));function ne(lr){Me.value=Me.value.filter((yr,kr)=>kr!==lr)}function rr(lr){return ie.fields.filter(yr=>{const kr=Ie.value.indexOf(yr);return kr===lr||kr===-1}).map(yr=>({label:getFieldDescription(yr),value:yr,icon:()=>renderFieldIcon(yr.type,!1)}))}function pr(lr,yr){Ie.value[yr]=ie.fields[lr]}return vue.watch(Ze,()=>{we("update:partial-data",Ze.value)},{immediate:!0}),(lr,yr)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$b,[vue.createElementVNode("div",_hoisted_2$9,[vue.createElementVNode("table",null,[vue.createElementVNode("thead",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Me.value[0].length,kr=>(vue.openBlock(),vue.createElementBlock("th",null,[vue.createVNode(BxSelect,{options:rr(kr-1),value:Ie.value[kr-1],"onUpdate:value":Br=>pr(Br,kr-1),"placeholder-active-label":"Select field"},null,8,["options","value","onUpdate:value"])]))),256))]),vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Me.value,(kr,Br)=>(vue.openBlock(),vue.createElementBlock("tr",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(kr,Ar=>(vue.openBlock(),vue.createElementBlock("td",null,[vue.createElementVNode("span",_hoisted_3$7,vue.toDisplayString(Ar),1)]))),256)),vue.createElementVNode("td",null,[vue.createVNode(BxButton,{circle:"",state:"error",quarternary:"",onClick:Ar=>ne(Br)},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),_:2},1032,["onClick"])])]))),256))])])])]))}}),TableDataMatcher_vue_vue_type_style_index_0_scoped_47ffdcc3_lang="",TableDataMatcher=_export_sfc(_sfc_main$e,[["__scopeId","data-v-47ffdcc3"]]);function parseCSV(m,c){return m.split(`
|
|
2600
2600
|
`).map(ie=>ie.split(",").map(we=>{const Ie=Number(we);return isNaN(Ie)?we==="true"||we==="false"?we==="true":we:Ie}))}const _hoisted_1$a={class:"import-data"},_hoisted_2$8={class:"source-selector"},_hoisted_3$6={class:"source-view"},_hoisted_4$5={class:"gsheets-inputs"},_hoisted_5$4={key:0,class:"spinner-wrapper"},_sfc_main$d=vue.defineComponent({__name:"ImportData",props:{fields:{}},setup(m,{expose:c}){const ie=[{name:"upload",label:"Upload file"},{name:"clipboard",label:"Clipboard"},{name:"googlesheets",label:"Google Sheets"}],we=vue.ref("upload"),Ie=vue.ref(),Me=vue.ref(),Ze=vue.ref(),ne=vue.ref(),rr=vue.ref(""),pr=vue.computed(()=>{if(rr.value.startsWith("http"))try{const Br=new URL(rr.value),[,,,Ar]=Br.pathname.split("/");return Ar}catch{return}else return rr.value}),lr=vue.ref(!1);async function yr(){lr.value=!0;const Br=`https://google-sheets-api-bridge.bluepic.workers.dev/sheet/${pr.value}/A:Z`,Ar=await fetch(Br);Ar.ok&&(Ze.value=await Ar.json()),lr.value=!1}vue.watch(we,async()=>{if(we.value==="clipboard"){const Br=await navigator.clipboard.readText();Me.value=parseCSV(Br)}});async function kr(Br){const[Ar]=Br,Pr=await new Promise(Nr=>{const ei=new FileReader;ei.addEventListener("load",()=>{Nr(ei.result)}),ei.readAsText(Ar)});Ie.value=parseCSV(Pr)}return c({partialData:ne}),(Br,Ar)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$a,[vue.createElementVNode("div",_hoisted_2$8,[vue.createVNode(BxTabs,{tabs:ie,modelValue:we.value,"onUpdate:modelValue":Ar[0]||(Ar[0]=Pr=>we.value=Pr)},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_3$6,[we.value==="upload"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(BxUpload,{accept:["text/csv"],type:"area",title:"Upload CSV file",description:"Drag any CSV file",onSelect:kr}),Ie.value?(vue.openBlock(),vue.createBlock(TableDataMatcher,{key:0,data:Ie.value,fields:Br.fields,"onUpdate:partialData":Ar[1]||(Ar[1]=Pr=>ne.value=Pr)},null,8,["data","fields"])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0),we.value==="clipboard"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[Me.value?(vue.openBlock(),vue.createBlock(TableDataMatcher,{key:0,data:Me.value,fields:Br.fields,"onUpdate:partialData":Ar[2]||(Ar[2]=Pr=>ne.value=Pr)},null,8,["data","fields"])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0),we.value==="googlesheets"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:2},[vue.createElementVNode("div",_hoisted_4$5,[vue.createVNode(BxInput,{modelValue:rr.value,"onUpdate:modelValue":Ar[3]||(Ar[3]=Pr=>rr.value=Pr),placeholder:"Google Spreadhseets URL or ID",disabled:lr.value},null,8,["modelValue","disabled"]),vue.createVNode(BxButton,{size:"medium",onClick:yr,disabled:lr.value},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(SyncOutline))]),_:1})]),default:vue.withCtx(()=>[Ar[5]||(Ar[5]=vue.createTextVNode(" Sync "))]),_:1},8,["disabled"])]),lr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$4,[vue.createVNode(BluepicSpinner)])):Ze.value?(vue.openBlock(),vue.createBlock(TableDataMatcher,{key:1,data:Ze.value,fields:Br.fields,"onUpdate:partialData":Ar[4]||(Ar[4]=Pr=>ne.value=Pr)},null,8,["data","fields"])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)])]))}}),ImportData_vue_vue_type_style_index_0_scoped_bcbee4aa_lang="",ImportData=_export_sfc(_sfc_main$d,[["__scopeId","data-v-bcbee4aa"]]),_hoisted_1$9={class:"preview-view"},_hoisted_2$7={class:"preview-view-tools"},_hoisted_3$5={class:"popup-actions"},_hoisted_4$4={class:"preview-view-live"},_hoisted_5$3={key:0,class:"actions-layer"},_hoisted_6$1={key:0,class:"table-view"},_hoisted_7$1={key:0,class:"selected-actions-wrapper"},_hoisted_8$1={class:"label"},_hoisted_9$1={class:"actions"},_hoisted_10$1={class:"inner"},_hoisted_11$1={class:"data-table"},_hoisted_12={class:"select-cell-wrapper"},_hoisted_13={class:"inner"},_hoisted_14={key:0,class:"column-field-wrapper"},_hoisted_15={class:"select-cell-wrapper"},_hoisted_16={style:{padding:"0 10px"}},_sfc_main$c=vue.defineComponent({__name:"BluepicBatchEditor",props:vue.mergeModels({data:{default:()=>[]},templateId:{},embedApiBaseUrl:{},env:{},cloudflarePagesHostname:{},bxCoreVersion:{},authorization:{},asyncSerial:{type:Boolean},resolution:{},webgl:{type:Boolean},fonts:{},bridge:{}},{serial:{required:!1},serialModifiers:{},ready:{type:Boolean,required:!1},readyModifiers:{}}),emits:vue.mergeModels(["download","update:data"],["update:serial","update:ready"]),setup(m,{expose:c,emit:ie}){const we={...BluepciFieldComponents,Collection:CollectionFieldPopup},Ie=m,Me=ie,Ze=vue.ref(),ne=vue.useModel(m,"serial"),rr=vue.useModel(m,"ready");function pr({x:Mi,y:si}){}vue.provide("bridge",Ie.bridge);const lr=vue.ref(),yr=vue.computed(()=>lr.value?.globalScope??{}),kr=Mi=>new Function(...Object.keys(yr.value),`return (${Mi.toString()})()`)(...Object.values(yr.value));vue.provide("computedPropEvaluator",kr);const Br=vue.ref(!1);vue.watch(Br,()=>{setTimeout(()=>{!lr.value||(lr.value.transform={scale:1,x:0,y:0,rotate:0})},30)});const Ar=vue.computed(()=>ne.value?flattenFieldTable(ne.value.fields??ne.value.meta.fields.map(convertDeprecatedField)).map(realizeField):[]),Pr=vue.ref(Ie.data);Pr.value.length===0&&(Pr.value=[{}]),vue.watch(Pr,Mi=>{Me("update:data",Mi)},{deep:!0,immediate:!0});const Nr=vue.ref(0);function ei(){!Pr.value||(Nr.value=Math.min(Nr.value+1,Pr.value.length-1))}function Vr(){Nr.value=Math.max(Nr.value-1,0)}const Zr=vue.ref([]);function Wr(Mi){Zr.value.includes(Mi)?Zr.value=Zr.value.filter(si=>si!==Mi):Zr.value=[...Zr.value,Mi]}function ai(){Pr.value=[...Pr.value,structuredClone(vue.toRaw(Pr.value[Pr.value.length-1]))],Nr.value=Pr.value.length-1}function ui(Mi){Nr.value=Mi}function di(){Me("download",Zr.value)}function fi(){Zr.value.length>=Pr.value.length||(Pr.value=Pr.value.filter((Mi,si)=>!Zr.value.includes(si)),Zr.value=[])}const li=vue.ref({}),hi=Mi=>{if("pos"in Mi&&"scale"in Mi){const _i=Mi.image,ii=Mi.pos,Jr=Mi.scale;return{image:li.value[_i]??Pr.value[0][_i],"onUpdate:image":vi=>{for(let Di=0;Di<Pr.value.length;Di++)Pr.value[Di][_i]=vi,li.value[_i]=vi},adjust:{scale:li.value[Jr]??Pr.value[0][Jr],innerPos:li.value[ii]??Pr.value[0][ii]},"onUpdate:adjust":vi=>{for(let Di=0;Di<Pr.value.length;Di++)Pr.value[Di][Jr]=vi.scale,Pr.value[Di][ii]=vi.innerPos,li.value[Jr]=vi.scale,li.value[ii]=vi.innerPos}}}return{...Object.fromEntries(Object.entries(Mi).map(([_i,ii])=>[_i,li.value[ii]??Pr.value[0][ii]])),...Object.fromEntries(Object.entries(Mi).map(([_i])=>[`onUpdate:${_i}`,ii=>{for(let Jr=0;Jr<Pr.value.length;Jr++)Pr.value[Jr][Mi[_i]]=ii,li.value[Mi[_i]]=ii}]))}};function gr(Mi){return Object.fromEntries(Object.entries(Mi).map(([si,_i])=>typeof _i=="function"?[si,kr(_i)]:[si,_i]))}const Ae=vue.ref();function ze(Mi){Ae.value=Mi}const Ue=vue.computed(()=>{if(Ae.value!==void 0)return Ar.value[Ae.value]}),{uploadFiles:tr,uploadProgresses:or,uploading:vr}=useUpload(vue.computed(()=>Ue.value?.props?.width),vue.computed(()=>Ue.value?.props?.height),vue.computed(()=>Ue.value?.props?.convertTo),vue.computed(()=>Ue.value?.props?.quality),Ie.bridge.handleUpload,Ue),br=[{label:"Upload from device",value:"upload",icon:()=>vue.h(CloudUploadOutline)},{label:"Upload from URL",value:"upload_from_url",icon:()=>vue.h(GlobeOutline)}];function nr(Mi,si){si==="upload"?$e(Mi):si==="upload_from_url"?ur(Mi):console.warn("Unknown upload option selected:",si)}async function $e(Mi){const si=Ar.value[Mi],_i=await openFiles({maxSize:1024*1024*10,multiple:!0,types:["image/*"]}),ii=createPopup({title:"Uploading images",content:()=>[vue.h(BxProgress,{value:or.value.reduce((bi,vi)=>bi+vi,0)/or.value.length})],closeable:!1,icon:()=>vue.h(CloudUploadOutline),disableBackgroundEffect:!0}),Jr=await tr(_i);Pr.value=[...Pr.value,...Array(Math.max(0,Jr.length-Pr.value.length)).fill({}).map(()=>lodash.exports.cloneDeep(Pr.value[Pr.value.length-1]))],ii.close();for(let bi=0;bi<Jr.length;bi++){const{src:vi}=Jr[bi];typeof Pr.value[bi][si.model.modelValue]=="string"?Pr.value[bi][si.model.modelValue]=vi:Pr.value[bi][si.model.modelValue]={innerPos:[0,0],innerRotate:0,scale:1,...Pr.value[bi][si.model.modelValue]??{},src:vi}}}async function ur(Mi){const si=Ar.value[Mi],_i=vue.ref(""),ii=createPopup({title:"Insert image urls",content:()=>[vue.h("div",{style:{padding:"5px 0"}},[vue.h(BxInput,{type:"textarea",modelValue:_i.value,"onUpdate:modelValue":Jr=>{_i.value=Jr}})])],actions:()=>[vue.h("div",{style:{display:"flex",justifyContent:"flex-end",padding:"10px 0",gap:"10px"}},[vue.h(BxButton,{secondary:!1,onClick:()=>{ii.close()}},()=>"Cancel"),vue.h(BxButton,{secondary:!0,onClick:()=>{ii.close();const Jr=_i.value.split(`
|
|
2601
2601
|
`).map(bi=>bi.trim()).filter(bi=>bi.length>0);Pr.value=[...Pr.value,...Array(Math.max(0,Jr.length-Pr.value.length)).fill({}).map(()=>lodash.exports.cloneDeep(Pr.value[Pr.value.length-1]))];for(let bi=0;bi<Jr.length;bi++){const vi=Jr[bi];typeof Pr.value[bi][si.model.modelValue]=="string"?Pr.value[bi][si.model.modelValue]=vi:Pr.value[bi][si.model.modelValue]={innerPos:[0,0],innerRotate:0,scale:1,...Pr.value[bi][si.model.modelValue]??{},src:vi}}}},()=>"Confirm")])],disableBackgroundEffect:!0,customClasses:["bluepic-batch-editor-insert-image-urls-popup"]})}function $r(){}const Yr=vue.ref(!1);function wi(){Yr.value=!1}function ki(){if(!Ze.value)return;const Mi=Ze.value.partialData;if(Object.keys(Mi).length===0)return;const si=Mi[Object.keys(Mi)[0]].length;Pr.value=Array(si).fill(0).map((_i,ii)=>({...Pr.value[Nr.value],...Object.fromEntries(Object.entries(Mi).map(([Jr,bi])=>[Jr,bi[ii]]))})),Yr.value=!1}return c({serial:ne,ready:rr,bluepicLiveTemplateRef:lr}),(Mi,si)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bluepic-bathc-editor",{ready:rr.value,collapsed:Br.value}])},[vue.createElementVNode("div",_hoisted_1$9,[vue.createElementVNode("div",_hoisted_2$7,[vue.createVNode(BxButton,{tertiary:"",size:"small",class:vue.normalizeClass(["btn-collapse",{collapsed:Br.value}]),onClick:si[0]||(si[0]=_i=>Br.value=!Br.value)},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronForwardOutline))]),_:1})]),default:vue.withCtx(()=>[si[6]||(si[6]=vue.createElementVNode("span",null,"Preview",-1))]),_:1},8,["class"]),vue.createVNode(_sfc_main$1d,{show:Yr.value,"onUpdate:show":si[1]||(si[1]=_i=>Yr.value=_i),type:"layer"},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{tertiary:"",size:"small",class:"btn-import",onClick:$r},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ClipboardOutline))]),_:1})]),default:vue.withCtx(()=>[si[7]||(si[7]=vue.createElementVNode("span",null,"Import Data",-1))]),_:1})]),content:vue.withCtx(()=>[vue.createVNode(ImportData,{ref_key:"importDataRef",ref:Ze,fields:Ar.value},null,8,["fields"])]),"close-btn":vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$5,[vue.createVNode(BxButton,{onClick:wi},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),default:vue.withCtx(()=>[si[8]||(si[8]=vue.createTextVNode(" Cancel "))]),_:1}),vue.createVNode(BxButton,{onClick:ki},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CheckmarkOutline))]),_:1})]),default:vue.withCtx(()=>[si[9]||(si[9]=vue.createTextVNode(" Import "))]),_:1})])]),_:1},8,["show"])]),vue.createElementVNode("div",_hoisted_4$4,[vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:lr,"template-id":Mi.templateId,"embed-api-base-url":Mi.embedApiBaseUrl,env:Mi.env,"cloudflare-pages-hostname":Mi.cloudflarePagesHostname,"bx-core-version":Mi.bxCoreVersion,authorization:Mi.authorization,"async-serial":Mi.asyncSerial,resolution:Mi.resolution,webgl:Mi.webgl,fonts:Mi.fonts,data:Pr.value[Nr.value],"onUpdate:data":si[2]||(si[2]=_i=>Pr.value[Nr.value]=_i),serial:ne.value,"onUpdate:serial":si[3]||(si[3]=_i=>ne.value=_i),ready:rr.value,"onUpdate:ready":si[4]||(si[4]=_i=>rr.value=_i),onMatrixClick:pr,offset:{top:0,right:0,bottom:0,left:0}},null,8,["template-id","embed-api-base-url","env","cloudflare-pages-hostname","bx-core-version","authorization","async-serial","resolution","webgl","fonts","data","serial","ready"]),Pr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$3,[vue.createVNode(BxButton,{class:"btn-prev",tertiary:"",circle:"",disabled:Nr.value<=0,onClick:Vr},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowBackOutline))]),_:1})]),_:1},8,["disabled"]),vue.createVNode(BxButton,{class:"btn-next",tertiary:"",circle:"",disabled:Nr.value>=Pr.value.length-1,onClick:ei},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowForwardOutline))]),_:1})]),_:1},8,["disabled"])])):vue.createCommentVNode("",!0)])]),rr.value&&Pr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$1,[vue.createElementVNode("header",null,[Zr.value.length>0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$1,[vue.createElementVNode("span",_hoisted_8$1," Selected "+vue.toDisplayString(Zr.value.length)+" of "+vue.toDisplayString(Pr.value.length)+" rows ",1),vue.createElementVNode("div",_hoisted_9$1,[vue.createVNode(BxButton,{round:"",onClick:di},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloudDownloadOutline))]),_:1})]),default:vue.withCtx(()=>[si[10]||(si[10]=vue.createTextVNode(" Download "))]),_:1}),vue.createVNode(BxButton,{round:"",state:"error",disabled:Zr.value.length>=Pr.value.length,onClick:fi},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),default:vue.withCtx(()=>[si[11]||(si[11]=vue.createTextVNode(" Delete "))]),_:1},8,["disabled"])])])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_10$1,[vue.createElementVNode("table",_hoisted_11$1,[vue.createElementVNode("thead",null,[vue.createElementVNode("th",null,[vue.createElementVNode("div",_hoisted_12,[vue.createVNode(BxCheckbox,{"model-value":Zr.value.length===Pr.value.length,"onUpdate:modelValue":si[5]||(si[5]=_i=>Zr.value=Zr.value.length===Pr.value.length?[]:Pr.value.map((ii,Jr)=>Jr)),size:"medium"},null,8,["model-value"]),si[12]||(si[12]=vue.createElementVNode("span",null,"#",-1))])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Ar.value,(_i,ii)=>(vue.openBlock(),vue.createElementBlock("th",null,[vue.createElementVNode("div",_hoisted_13,[vue.createElementVNode("header",null,[vue.createElementVNode("span",null,vue.toDisplayString(vue.unref(getFieldDescription)(_i)),1),vue.createVNode(BxButton,{circle:"",size:"medium",onClick:Jr=>ze(ii)},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CreateOutline))]),_:1})]),_:2},1032,["onClick"]),(_i.type==="ImageEdit"||_i.type==="Image")&&_i.props.allowUploadFromDevice?(vue.openBlock(),vue.createBlock(BxDropdown,{key:0,trigger:"hover",options:br,onSelect:Jr=>nr(ii,Jr)},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{circle:"",size:"medium",onClick:Jr=>$e(ii)},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloudUploadOutline))]),_:1})]),_:2},1032,["onClick"])]),_:2},1032,["onSelect"])):vue.createCommentVNode("",!0)]),ii===Ae.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14,[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(we[_i.type]),vue.mergeProps({bridge:Mi.bridge,ref_for:!0},{...gr(_i.props),...hi(_i.model),description:_i.description,detailedDescription:_i.detailedDescription,field:_i,...(()=>{if(_i.type==="Text")return{..._i.layout,minWidth:"120px"};if(_i.type==="Select")return{..._i.layout,cardSize:"small"}})()}),null,16,["bridge"]))])):vue.createCommentVNode("",!0)])]))),256)),si[13]||(si[13]=vue.createElementVNode("th",null,null,-1))]),vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Pr.value,(_i,ii)=>(vue.openBlock(),vue.createElementBlock("tr",null,[vue.createElementVNode("td",null,[vue.createElementVNode("div",_hoisted_15,[vue.createVNode(BxCheckbox,{"model-value":Zr.value.includes(ii),"onUpdate:modelValue":Jr=>Wr(ii),size:"medium"},null,8,["model-value","onUpdate:modelValue"]),vue.createElementVNode("span",null,vue.toDisplayString(ii+1),1)])]),vue.createVNode(TableFieldsList,{data:Pr.value[ii],"onUpdate:data":Jr=>Pr.value[ii]=Jr,onChange:Jr=>ui(ii),fields:Ar.value},null,8,["data","onUpdate:data","onChange","fields"]),vue.createElementVNode("td",_hoisted_16,[vue.createVNode(BxButton,{circle:"",secondary:Nr.value===ii,size:"medium",onClick:Jr=>Nr.value=ii},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(EyeOutline))]),_:1})]),_:2},1032,["secondary","onClick"])])]))),256))])])]),vue.createElementVNode("footer",null,[vue.createVNode(BxButton,{onClick:ai},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(AddOutline))]),_:1})]),default:vue.withCtx(()=>[si[14]||(si[14]=vue.createTextVNode(" Add "))]),_:1})])])):vue.createCommentVNode("",!0)],2))}}),BluepicBatchEditor_vue_vue_type_style_index_0_scoped_c29dec10_lang="",BluepicBatchEditor_vue_vue_type_style_index_1_lang="",BluepicBatchEditor=_export_sfc(_sfc_main$c,[["__scopeId","data-v-c29dec10"]]),_sfc_main$b=vue.defineComponent({__name:"BxSwitch",props:vue.mergeModels({disabled:{type:Boolean,default:!1}},{modelValue:{type:Boolean,required:!1,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(m){const c=vue.useModel(m,"modelValue"),ie=m;function we(Ie){ie.disabled||(c.value=!c.value)}return(Ie,Me)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-switch",{active:c.value,disabled:Ie.disabled}]),onClick:we},Me[0]||(Me[0]=[vue.createElementVNode("div",{class:"switch-inner"},[vue.createElementVNode("div",{class:"switch-thumb"})],-1)]),2))}}),BxSwitch_vue_vue_type_style_index_0_scoped_f719ddd9_lang="",BxSwitch=_export_sfc(_sfc_main$b,[["__scopeId","data-v-f719ddd9"]]),BxSkeleton_vue_vue_type_style_index_0_scoped_1589b32d_lang="",_sfc_main$a={},_hoisted_1$8={class:"bx-skeleton"};function _sfc_render$1(m,c){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$8)}const BxSkeleton=_export_sfc(_sfc_main$a,[["render",_sfc_render$1],["__scopeId","data-v-1589b32d"]]),CSS_COLOR_NAMES={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function hslToRgb(m,c,ie){let we,Ie,Me;if(c===0)we=Ie=Me=ie;else{const Ze=(pr,lr,yr)=>(yr<0&&(yr+=1),yr>1&&(yr-=1),yr<.16666666666666666?pr+(lr-pr)*6*yr:yr<.5?lr:yr<.6666666666666666?pr+(lr-pr)*(.6666666666666666-yr)*6:pr),ne=ie<.5?ie*(1+c):ie+c-ie*c,rr=2*ie-ne;we=Ze(rr,ne,m+1/3),Ie=Ze(rr,ne,m),Me=Ze(rr,ne,m-1/3)}return[we*255,Ie*255,Me*255]}function rgba(m){if(m.startsWith("rgb")){const[c,ie,we]=m.slice(4,-1).split(",").map(Ie=>Number(Ie.trim()));return[c,ie,we,1]}else if(m.startsWith("rgba")){const[c,ie,we,Ie]=m.slice(5,-1).split(",").map(Me=>Number(Me.trim()));return[c,ie,we,Ie]}else if(m.startsWith("#")){const c=m.slice(1),ie=parseInt(c.slice(0,2),16),we=parseInt(c.slice(2,4),16),Ie=parseInt(c.slice(4,6),16);return[ie,we,Ie,1]}else if(m.startsWith("hsl")){const[c,ie,we]=m.slice(4,-1).split(",").map(Ie=>Number(Ie.trim()));return[...hslToRgb(c,ie,we),1]}else if(m.startsWith("hsla")){const[c,ie,we,Ie]=m.slice(5,-1).split(",").map(Me=>Number(Me.trim()));return[...hslToRgb(c,ie,we),Ie]}else{if(m.startsWith("transparent"))return[0,0,0,0];{const c=m.toLowerCase();if(c in CSS_COLOR_NAMES)return rgba(CSS_COLOR_NAMES[c]);throw new Error(`Unknown color: ${m}`)}}}function isDark(m){const[c,ie,we]=rgba(m);return(c*2126+ie*7152+we*722)/1e4<128}const cyrb53=(m,c=0)=>{let ie=3735928559^c,we=1103547991^c;for(let Ie=0,Me;Ie<m.length;Ie++)Me=m.charCodeAt(Ie),ie=Math.imul(ie^Me,2654435761),we=Math.imul(we^Me,1597334677);return ie=Math.imul(ie^ie>>>16,2246822507),ie^=Math.imul(we^we>>>13,3266489909),we=Math.imul(we^we>>>16,2246822507),we^=Math.imul(ie^ie>>>13,3266489909),4294967296*(2097151&we)+(ie>>>0)},cyrb53ToHex=(m,c=0)=>cyrb53(m,c).toString(16).padStart(16,"0");function stringToHslColor(m,c,ie){let we=0;for(var Ie=0;Ie<m.length;Ie++)we=m.charCodeAt(Ie)+((we<<5)-we);return`hsl(${we%360}, ${c*100}%, ${ie*100}%)`}const _hoisted_1$7=["src","alt"],_hoisted_2$6=["src","alt"],_hoisted_3$4={viewBox:"0 0 35 35"},_hoisted_4$3={x:"50%",y:"55%","dominant-baseline":"middle","text-anchor":"middle"},_sfc_main$9=vue.defineComponent({__name:"BxAvatar",props:{user:{},team:{},square:{type:Boolean},thumbnail:{type:Boolean},src:{},name:{},colorSeed:{},backgroundColor:{},textColor:{},size:{default:"medium"}},setup(m){const c=m,ie=vue.computed(()=>c.user??c.team),we=vue.computed(()=>c.name?Ze(c.name):ie.value?Ze(ie.value.name):""),Ie=vue.computed(()=>c.backgroundColor?c.backgroundColor:c.colorSeed?rr(c.colorSeed):ie.value?rr(ie.value.id):"transparent"),Me=vue.computed(()=>c.textColor?c.textColor:isDark(Ie.value)?"white":"black");function Ze(pr){return pr.split(" ").map(lr=>lr[0]).join("")}function ne(pr){for(var lr=5381,yr=0;yr<pr.length;yr++)lr=(lr<<5)+lr+pr.charCodeAt(yr);return lr}function rr(pr){var lr=ne(pr),yr=(lr&16711680)>>16,kr=(lr&65280)>>8,Br=lr&255;return"#"+("0"+yr.toString(16)).substr(-2)+("0"+kr.toString(16)).substr(-2)+("0"+Br.toString(16)).substr(-2)}return(pr,lr)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-avatar",{square:pr.square,[`size-${pr.size}`]:!0}])},[pr.src?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:pr.src,alt:`Avatar of ${pr.name}`},null,8,_hoisted_1$7)):ie.value?.pictureFull&&ie.value?.pictureThumb?(vue.openBlock(),vue.createElementBlock("img",{key:1,src:pr.thumbnail?ie.value.pictureThumb:ie.value.pictureFull,alt:`Avatar of ${ie.value?.name}`},null,8,_hoisted_2$6)):ie.value?.name||pr.name?(vue.openBlock(),vue.createElementBlock("div",{key:2,style:vue.normalizeStyle({backgroundColor:Ie.value,fill:Me.value,fontSize:"100%",display:"grid",placeItems:"center"})},[(vue.openBlock(),vue.createElementBlock("svg",_hoisted_3$4,[vue.createElementVNode("text",_hoisted_4$3,vue.toDisplayString(we.value),1)]))],4)):(vue.openBlock(),vue.createBlock(BxSkeleton,{key:3}))],2))}}),BxAvatar_vue_vue_type_style_index_0_scoped_d12499eb_lang="",BxAvatar=_export_sfc(_sfc_main$9,[["__scopeId","data-v-d12499eb"]]),_sfc_main$8=vue.defineComponent({__name:"BxTag",props:{size:{default:"medium"},round:{type:Boolean,default:!1},status:{default:"default"}},setup(m){return(c,ie)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-tag",{[`size-${c.size}`]:!0,[`status-${c.status}`]:!0,round:c.round}])},[vue.renderSlot(c.$slots,"default",{},void 0,!0)],2))}}),BxTag_vue_vue_type_style_index_0_scoped_fb8c8804_lang="",BxTag=_export_sfc(_sfc_main$8,[["__scopeId","data-v-fb8c8804"]]),_hoisted_1$6={key:0,class:"info"},_hoisted_2$5={class:"name"},_hoisted_3$3={class:"email"},_hoisted_4$2={class:"menu"},_hoisted_5$2={class:"bx-user-menu compact"},_hoisted_6={class:"info"},_hoisted_7={class:"name"},_hoisted_8={class:"email"},_hoisted_9={key:0,class:"tags"},_hoisted_10={class:"menu__items"},_hoisted_11={key:1,class:"menu__extra"},_sfc_main$7=vue.defineComponent({__name:"BxUserMenu",props:vue.mergeModels({user:{},jwt:{},availableLocales:{},compact:{type:Boolean},allowedPlacements:{},avatarSize:{},avatarBackgroundColor:{},avatarTextColor:{},env:{default:"prod"},bordered:{type:Boolean,default:!0},show:{type:Boolean},socialLink:{type:Boolean,default:!1},studioLink:{type:Boolean,default:!1}},{locale:{required:!1,default:"en-US"},localeModifiers:{}}),emits:vue.mergeModels({logout:()=>!0},["update:locale"]),setup(m,{emit:c}){const ie=vue.useModel(m,"locale"),we=m,Ie=c,Me=vue.useSlots();function Ze(){Ie("logout")}const ne=vue.computed(()=>{const Zr=[];return we.user.permissions?.includes("bluepic.admin")&&Zr.push("Bluepic Admin"),we.user.permissions?.includes("bluepic.affiliate")&&Zr.push("Affiliate"),Zr}),rr=vue.computed(()=>{const Zr=we.env==="prod"?"":".staging";return{studio:`https://studio${Zr}.bluepic.io/?token=${we.jwt}`,embed:`https://embed${Zr}.bluepic.io/?token=${we.jwt}`,social:`https://social${Zr}.bluepic.io/?token=${we.jwt}`,dash:`https://dash.bluepic.io/?token=${we.jwt}`,account:`https://id${Zr}.bluepic.io/pages/me`,billing:`https://id${Zr}.bluepic.io/pages/billing`}}),pr={studio:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/eed26102-f789-425d-833e-d7c934c88d00/public",embed:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/e558c90c-14b0-4acc-7632-7021cbb10200/public",social:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/1a50716a-bf1c-4bc4-c047-dd239cd58900/public",dash:"https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/619dea6d-ad96-43db-05c2-7957f4532300/public"};vue.computed(()=>["studio","embed","social"].map(Wr=>({label:Wr.toUpperCase(),avatar:pr[Wr],url:rr.value[Wr]})));function lr(Zr){const Wr=Zr.toUpperCase().split("").map(ai=>127397+ai.charCodeAt(0));return String.fromCodePoint(...Wr).slice(-4)}const yr={"de-DE":"Deutsch (Deutschland)","en-US":"English (United States)"};function kr(Zr){return yr[Zr]??new Intl.DisplayNames([Zr],{type:"language"}).of(Zr)}const Br=vue.computed(()=>we.availableLocales?.map(Zr=>{const[,Wr]=Zr.split("-");return{label:lr(Wr)+" "+kr(Zr),value:Zr}})),Ar={de:{account:"Konto",language:"Sprache",billing:"Abrechnung","sign-out":"Abmelden","sign-out-message":"M\xF6chtest du dich wirklich abmelden?","stay-signed-in":"Angemeldet bleiben"},en:{account:"Account",language:"Language",billing:"Billing","sign-out":"Sign out","sign-out-message":"Do you really want to sign out?","stay-signed-in":"Stay signed in"}};function Pr(Zr){return Ar[(ie.value??"en-US").slice(0,2)][Zr]}function Nr(){window.open(rr.value.social,"_blank")}function ei(){window.open(rr.value.studio,"_blank")}function Vr(){window.open("https://learn.bluepic.io","_blank")}return(Zr,Wr)=>(vue.openBlock(),vue.createBlock(BxPopover,{show:Zr.show||void 0,"allowed-placements":Zr.allowedPlacements,trigger:"hover"},{trigger:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass(["bx-user-menu trigger",{compact:Zr.compact,bordered:Zr.bordered}])},[vue.createVNode(BxAvatar,{size:"medium",user:Zr.user,"background-color":Zr.avatarBackgroundColor??"var(--primary-lighter, #C3D5F9FF)","text-color":Zr.avatarTextColor??"var(--primary, #457DED)"},null,8,["user","background-color","text-color"]),Zr.compact?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$6,[vue.createElementVNode("span",_hoisted_2$5,vue.toDisplayString(Zr.user.name),1),vue.createElementVNode("span",_hoisted_3$3,vue.toDisplayString(Zr.user.email??Zr.user.newEmail),1)]))],2)]),content:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$2,[vue.createElementVNode("div",_hoisted_5$2,[vue.createVNode(BxAvatar,{size:"large",user:Zr.user,"background-color":Zr.avatarBackgroundColor??"var(--primary-lighter, #C3D5F9FF)","text-color":Zr.avatarTextColor??"var(--primary, #457DED)"},null,8,["user","background-color","text-color"]),vue.createElementVNode("div",_hoisted_6,[vue.createElementVNode("span",_hoisted_7,vue.toDisplayString(Zr.user.name),1),vue.createElementVNode("span",_hoisted_8,vue.toDisplayString(Zr.user.email??Zr.user.newEmail),1)])]),ne.value.length?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(ne.value,ai=>(vue.openBlock(),vue.createBlock(BxTag,{round:"",type:"primary"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(ai),1)]),_:2},1024))),256))])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_10,[vue.createVNode(BxButton,{quaternary:"",tag:"a",href:rr.value.account,target:"_blank"},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(Pr("account")),1)]),_:1},8,["href"]),Br.value?(vue.openBlock(),vue.createBlock(BxSelect,{key:0,options:Br.value,modelValue:ie.value,"onUpdate:modelValue":Wr[0]||(Wr[0]=ai=>ie.value=ai)},null,8,["options","modelValue"])):vue.createCommentVNode("",!0),vue.createVNode(BxButton,{quaternary:"",tag:"a",href:rr.value.billing,target:"_blank"},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CardOutline))]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(Pr("billing")),1)]),_:1},8,["href"]),Zr.socialLink?(vue.openBlock(),vue.createBlock(BxButton,{key:1,quaternary:"",type:"error",onClick:Vr},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(BulbOutline))]),_:1})]),default:vue.withCtx(()=>[Wr[1]||(Wr[1]=vue.createElementVNode("span",null,"Learn Bluepic",-1))]),_:1})):vue.createCommentVNode("",!0),Zr.socialLink?(vue.openBlock(),vue.createBlock(BxButton,{key:2,quaternary:"",type:"error",onClick:Nr},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1})]),default:vue.withCtx(()=>[Wr[2]||(Wr[2]=vue.createElementVNode("span",null,"Bluepic SOCIAL",-1))]),_:1})):vue.createCommentVNode("",!0),Zr.studioLink?(vue.openBlock(),vue.createBlock(BxButton,{key:3,quaternary:"",type:"error",onClick:ei},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1})]),default:vue.withCtx(()=>[Wr[3]||(Wr[3]=vue.createElementVNode("span",null,"Bluepic STUDIO",-1))]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(BxButton,{quaternary:"",type:"error",onClick:Ze},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ExitOutline))]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(Pr("sign-out")),1)]),_:1})]),Me["menu-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,[vue.renderSlot(Zr.$slots,"menu-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)])]),_:3},8,["show","allowed-placements"]))}}),BxUserMenu_vue_vue_type_style_index_0_scoped_de4d86fe_lang="",BxUserMenu=_export_sfc(_sfc_main$7,[["__scopeId","data-v-de4d86fe"]]),_hoisted_1$5={class:"bx-color-picker"},_hoisted_2$4={key:0,class:"color-label"},_sfc_main$6=vue.defineComponent({__name:"BxColorPicker",props:vue.mergeModels({showLabel:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(m){const c=vue.useModel(m,"modelValue"),ie=vue.ref();vue.onMounted(()=>{!ie.value||ie.value.addEventListener("input",Ie=>{c.value=Ie.target.value})});function we(){ie.value?.click()}return(Ie,Me)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$5,[vue.createElementVNode("div",{class:"color-value",style:vue.normalizeStyle({"--color-value":c.value}),onClick:we},[Ie.showLabel?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$4,vue.toDisplayString(c.value),1)):vue.createCommentVNode("",!0)],4),vue.withDirectives(vue.createElementVNode("input",{ref_key:"hiddenColorInputRef",ref:ie,class:"hidden-color-input",type:"color","onUpdate:modelValue":Me[0]||(Me[0]=Ze=>c.value=Ze)},null,512),[[vue.vModelText,c.value]])]))}}),BxColorPicker_vue_vue_type_style_index_0_scoped_3ba46b8b_lang="",BxColorPicker=_export_sfc(_sfc_main$6,[["__scopeId","data-v-3ba46b8b"]]),_sfc_main$5={},_hoisted_1$4={class:"bx-tab"};function _sfc_render(m,c){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$4,"BXTAB")}const BxTab=_export_sfc(_sfc_main$5,[["render",_sfc_render]]),_sfc_main$4=vue.defineComponent({__name:"BxRadioGroup",props:vue.mergeModels({vertical:{type:Boolean,default:!1},size:{default:"medium"},disabled:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(m){const c=vue.useModel(m,"modelValue");vue.provide("bxPopoverValue",c);const ie=vue.useSlots(),{setSlotRef:we,slotElements:Ie,vNodes:Me}=useSlotVNodes(ie.default),Ze=ne=>{c.value=ne};return vue.provide("selectRadio",Ze),(ne,rr)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-radio-group",{vertical:ne.vertical,[`size-${ne.size}`]:!0,disabled:ne.disabled}])},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(Me),(pr,lr)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(pr),{ref_for:!0,ref:vue.unref(we)(lr)},null,512))),256))],2))}}),BxRadioGroup_vue_vue_type_style_index_0_scoped_606fd804_lang="",BxRadioGroup=_export_sfc(_sfc_main$4,[["__scopeId","data-v-606fd804"]]),_hoisted_1$3=["data-bx-radio-name"],_hoisted_2$3={class:"bx-radio__label"},_sfc_main$3=vue.defineComponent({__name:"BxRadio",props:{name:{},size:{default:"medium"}},setup(m){const c=m,ie=vue.inject("selectRadio");function we(){ie?.(c.name)}const Ie=vue.inject("bxPopoverValue");return(Me,Ze)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-radio",{[`size-${Me.size}`]:!0,active:vue.unref(Ie)===Me.name}]),"data-bx-radio-name":Me.name,onClick:we},[Ze[0]||(Ze[0]=vue.createElementVNode("div",{class:"bx-radio__toggle"},null,-1)),vue.createElementVNode("div",_hoisted_2$3,[vue.renderSlot(Me.$slots,"label",{},void 0,!0)])],10,_hoisted_1$3))}}),BxRadio_vue_vue_type_style_index_0_scoped_680cd620_lang="",BxRadio=_export_sfc(_sfc_main$3,[["__scopeId","data-v-680cd620"]]);function getInitials(m){const c=m.split(" ");return c.length>1?c[0].charAt(0).toUpperCase()+c[1].charAt(0).toUpperCase():c[0].charAt(0).toUpperCase()}const _hoisted_1$2=["src"],_hoisted_2$2=["src"],_hoisted_3$2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},_hoisted_4$1={x:50,y:50+5},_hoisted_5$1={key:3,class:"layer"},_sfc_main$2=vue.defineComponent({__name:"UserAvatar",props:{user:{},width:{default:32},height:{default:32}},setup(m){const c=m,ie=vue.useSlots(),we=vue.computed(()=>c.user.name??c.user.nickname??c.user.email),Ie=vue.computed(()=>stringToHslColor(cyrb53ToHex(c.user.user_id??JSON.stringify(c.user)),1,.6));return(Me,Ze)=>(vue.openBlock(),vue.createElementBlock("div",{class:"user-avatar",style:vue.normalizeStyle({"--width":`${Me.width}px`,"--height":`${Me.height}px`})},[Me.user.user_metadata?.avatar?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:vue.unref(optimizePreviewUrl)(Me.user.user_metadata.avatar,Me.width*4,Me.height*4),class:"avatar"},null,8,_hoisted_1$2)):Me.user.picture?(vue.openBlock(),vue.createElementBlock("img",{key:1,src:Me.user.picture,class:"avatar"},null,8,_hoisted_2$2)):(vue.openBlock(),vue.createElementBlock("div",{key:2,class:"avatar",style:vue.normalizeStyle({"--color":Ie.value})},[(vue.openBlock(),vue.createElementBlock("svg",_hoisted_3$2,[vue.createElementVNode("text",_hoisted_4$1,vue.toDisplayString(we.value?vue.unref(getInitials)(we.value):"?"),1)]))],4)),ie.layer?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$1,[vue.renderSlot(Me.$slots,"layer",{},void 0,!0)])):vue.createCommentVNode("",!0)],4))}}),UserAvatar_vue_vue_type_style_index_0_scoped_42e86d13_lang="",UserAvatar=_export_sfc(_sfc_main$2,[["__scopeId","data-v-42e86d13"]]);function getThemeStyle(m){const c=css.parse(m).stylesheet?.rules.find(ie=>ie.type==="rule"&&ie.selectors?.includes(":root"));if(!c)throw new Error("No :root rule found in the CSS");return c.declarations?.reduce((ie,we)=>(we.type==="declaration"&&we.property&&we.value&&(ie[we.property.replace(/^--(.*)$/,"$1")]=we.value),ie),{})??{}}const preferedColorScheme=vue.ref(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",m=>{preferedColorScheme.value=m.matches?"dark":"light"});function useTheme(m=GLOBAL_APP_WRAPPER_SELECTOR,c="auto",ie){const we=nanoid(),Ie=vue.ref({...getThemeStyle(c==="dark"?BxEmbedThemeDarkmode:c==="light"?BxEmbedThemeLightmode:preferedColorScheme.value==="dark"?BxEmbedThemeDarkmode:BxEmbedThemeLightmode),...ie}),Me=vue.computed(()=>{if(!!Ie.value)return Object.fromEntries(Object.entries(Ie.value).map(([rr,pr])=>[`--${rr}`,pr]))}),Ze=document.querySelector(m);if(!Ze)throw new Error(`Element with selector ${m} not found`);const ne=Ze.parentElement;if(!ne)throw new Error(`Parent element of ${m} not found`);return ne.setAttribute("data-bx-style-target",we),vue.watch(Me,()=>{if(Me.value){let rr=document.querySelector(`style[data-bx-style='${we}']`);rr||(rr=document.createElement("style"),rr.setAttribute("data-bx-style",we),document.head.appendChild(rr)),rr.innerHTML=`[data-bx-style-target='${we}'], .bluepic-popup-provider__wrapper { ${Object.entries(Me.value).map(([pr,lr])=>`${pr}: ${lr};`).join(" ")} }`}},{immediate:!0,deep:!0}),Ie}const BxEmbedThemeDarkmode=`:root {
|
|
2602
2602
|
--primary-color-base: 0, 105, 255; /* #0069ff */
|
|
@@ -3017,4 +3017,4 @@ list should be an Array.`),ii.length===0)return new Nr(0);if(ii.length===1)retur
|
|
|
3017
3017
|
</div>
|
|
3018
3018
|
|
|
3019
3019
|
</div>
|
|
3020
|
-
`;const ie=this;vue.nextTick(()=>{vue.createApp({components:{BluepicEmbeddedEditor,BluepicSpinner},setup(){const we={async handleUpload({blob:Ie,context:Me,width:Ze,height:ne,name:rr,onProgress:pr}){const{variants:lr,filename:yr,id:kr}=await uploadImage(ie.embedApiBaseUrl.value,ie.templateId.value,Me,Ie,rr,(Ar,Pr)=>{pr(Ar/Pr)}),Br=lr.find(Ar=>parseCloudflareImagesDeliveryUrl(Ar).variant==="public");if(!Br)throw new Error("No public variant");return{width:Ze,height:ne,key:kr,name:yr,src:Br}}};return vue.watch([ie.displayMode],()=>{ie.element.style.boxSizing===""&&(ie.element.style.boxSizing="border-box"),ie.displayMode?.value!=="stack"&&(ie.element.style.height===""&&(ie.element.style.height="100vh"),ie.element.style.padding===""&&(ie.element.style.padding="10px"))},{immediate:!0}),{bridge:we,editorRef:ie.editorRef,embedProject:ie.embedProject,allowPanAndZoom:ie.allowPanAndZoom,templateId:ie.templateId,baseSerial:ie.baseSerial,basePreview:ie.basePreview,embedApiBaseUrl:ie.embedApiBaseUrl,cloudflarePagesHostname:ie.cloudflarePagesHostname,data:ie.data,serial:ie.serial,ready:ie.ready,displayMode:ie.displayMode,bxCoreVersion:ie.bxCoreVersion,bxThemeStyleVars:ie.bxThemeStyleVars,darkmode:vue.computed(()=>Color$1(ie.bxThemeStyleVars.value["editor-view-background-color"]).isDark()),stripeEnv:ie.stripeEnv,handleExportAction:Ie=>{const Me=new CustomEvent("handle-export-action",{detail:Ie});ie.dispatchEvent(Me)},beforeExport:Ie=>{const Me=new CustomEvent("before-export",{detail:Ie});ie.dispatchEvent(Me)},afterExport:Ie=>{const Me=new CustomEvent("after-export",{detail:Ie});ie.dispatchEvent(Me)},isAsync:ie.isAsync}}}).mount(`#${this.id}`)})}setVariable(c,ie){this.data.value||(this.data.value={}),this.data.value[c]=ie}setData(c,ie=!1){ie?this.data.value=c:this.data.value={...this.data.value,...c}}getTransform(){return this.editorRef.value?.bluepicLiveTemplateRef?.transform}setTransform(c,ie,we,Ie){!this.editorRef.value?.bluepicLiveTemplateRef||(this.editorRef.value.bluepicLiveTemplateRef.transform={scale:c,x:ie,y:we,rotate:Ie})}applyTransform(c,ie,we,Ie){this.editorRef.value?.bluepicLiveTemplateRef?.zoompinchRef?.applyTransform(c,ie,we,Ie)}isMultiFrame(){return this.editorRef.value?.bluepicLiveTemplateRef?.isMultiFrame}getCenteredFrame(){return this.editorRef.value?.bluepicLiveTemplateRef?.closestFrame}centerFrame(c,ie){this.editorRef.value?.bluepicLiveTemplateRef?.applyTranformBasedOnFrame(c,ie)}isReady(){return this.ready.value}}async function getProjectWithRetries(m,c,ie,we,Ie,Me){let Ze=0;for(;Ze<we;){try{return await(await fetch(`${m}/api/public/project?${new URLSearchParams({hostname:c,slug:ie,env:Me})}`,{method:"GET"})).json()}catch(ne){if(console.error(`\u274C Fehler bei Versuch ${Ze+1}:`,ne),Ze<we-1)console.log(`\u23F3 Warte ${Ie}ms vor erneutem Versuch...`),await new Promise(rr=>setTimeout(rr,Ie));else throw console.error(`\u{1F6A8} Maximalanzahl von ${we} Versuchen erreicht. Abbruch.`),ne}Ze++}throw new Error("Unbekannter Fehler in getPublicConfigWithRetries")}const initEmbeds=async()=>{const m=document.querySelectorAll(".bluepic-embed[data-embed-project-id]");for(const c of m){const ie=c.getAttribute("data-embed-project-id"),we=c.getAttribute("data-template-id");c.getAttribute("data-stripe-env");const Ie=c.getAttribute("data-init-data"),Me=c.getAttribute("data-embed-api-base-url")??void 0,Ze=c.getAttribute("data-cloudflare-pages-hostname")??void 0,ne=c.getAttribute("data-display-mode"),rr=c.getAttribute("data-allow-pan-and-zoom"),pr=c.getAttribute("data-bx-core-version")??void 0,lr=Ie?JSON.parse(Ie):void 0,yr=rr==="true",kr=ne==="mobile"?"mobile":ne==="stack"?"stack":"auto",Br=c.getAttribute("data-branding")==="false";new BluepicEmbed(c,we,ie,{initData:lr,displayMode:kr,allowPanAndZoom:yr,embedApiBaseUrl:Me,cloudflarePagesHostname:Ze,bxCoreVersion:pr,branding:Br,theme:"auto"})}};window.addEventListener("load",initEmbeds),window.BluepicEmbed=BluepicEmbed;const _hoisted_1$1={class:"user-info"},_hoisted_2$1={class:"user-content"},_hoisted_3$1={key:0,class:"user-name"},_hoisted_4={key:1,class:"user-email"},_hoisted_5={class:"actions"},_sfc_main$1=vue.defineComponent({__name:"UserInfo",props:{user:{},showSettings:{type:Boolean,default:!1}},emits:["logout","settings"],setup(m,{emit:c}){const ie=c;return(we,Ie)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1,[vue.createElementVNode("main",null,[vue.createVNode(UserAvatar,{user:we.user,width:40,height:40},null,8,["user"]),vue.createElementVNode("div",_hoisted_2$1,[we.user.name?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$1,vue.toDisplayString(we.user.name),1)):vue.createCommentVNode("",!0),we.user.email?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4,vue.toDisplayString(we.user.email),1)):vue.createCommentVNode("",!0)])]),vue.createElementVNode("footer",null,[vue.createElementVNode("div",_hoisted_5,[we.showSettings?(vue.openBlock(),vue.createBlock(BxButton,{key:0,size:"medium",onClick:Ie[0]||(Ie[0]=Me=>ie("settings"))},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(SettingsOutline))]),_:1})]),default:vue.withCtx(()=>[Ie[2]||(Ie[2]=vue.createTextVNode(" Settings "))]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(BxButton,{size:"medium",onClick:Ie[1]||(Ie[1]=Me=>ie("logout"))},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(LogOutOutline))]),_:1})]),default:vue.withCtx(()=>[Ie[3]||(Ie[3]=vue.createTextVNode(" Logout "))]),_:1})])])]))}}),UserInfo_vue_vue_type_style_index_0_scoped_f4c8140b_lang="",UserInfo=_export_sfc(_sfc_main$1,[["__scopeId","data-v-f4c8140b"]]),_hoisted_1={class:"category-tabs"},_hoisted_2={class:"tabs-wrapper"},_hoisted_3=["onClick"],_sfc_main=vue.defineComponent({__name:"Tabs",props:vue.mergeModels({tabs:{}},{activeTab:{required:!0},activeTabModifiers:{}}),emits:vue.mergeModels(["click:category"],["update:activeTab"]),setup(m,{emit:c}){const ie=c,we=vue.useModel(m,"activeTab");function Ie(Me){we.value=Me,ie("click:category",Me)}return(Me,Ze)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1,[vue.createElementVNode("div",_hoisted_2,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Me.tabs,ne=>(vue.openBlock(),vue.createElementBlock("button",{key:ne,class:vue.normalizeClass({active:ne===we.value}),onClick:rr=>Ie(ne)},[vue.createElementVNode("span",null,vue.toDisplayString(ne),1)],10,_hoisted_3))),128))])]))}}),Tabs_vue_vue_type_style_index_0_scoped_9433a75f_lang="",Tabs=_export_sfc(_sfc_main,[["__scopeId","data-v-9433a75f"]]),DIN_LEVELS=["A0","A1","A2","A3","A4","A5","A6","A7","A8","A9","A10"],A0_MM={w:841,h:1189};function buildDinSeriesMm(){const m=[{w:A0_MM.w,h:A0_MM.h}];for(let ie=1;ie<=10;ie++){const we=m[ie-1],Ie=Math.round(we.h/2),Me=we.w,Ze=Ie<=Me?{w:Ie,h:Me}:{w:Me,h:Ie};m.push(Ze)}const c={};return DIN_LEVELS.forEach((ie,we)=>c[ie]=m[we]),c}const DIN_MM=buildDinSeriesMm(),MM_PER_INCH=25.4;function mmToInches(m){return m/MM_PER_INCH}function inchesToPx(m,c){return m*c}function pxToMm(m,c){return m/c*MM_PER_INCH}function dinPixels(m,c){const ie=DIN_MM[m],we=mmToInches(ie.w),Ie=mmToInches(ie.h),Me=inchesToPx(we,c),Ze=inchesToPx(Ie,c);return{widthPx:Math.round(Me),heightPx:Math.round(Ze),widthPxExact:Me,heightPxExact:Ze,aspect:ie.h/ie.w,sizeMm:{w:ie.w,h:ie.h}}}function identifyDin(m,c,ie,we=2){const Ie=m>c,[Me,Ze]=m<=c?[m,c]:[c,m],ne=pxToMm(Me,ie),rr=pxToMm(Ze,ie);let pr=null;for(const Br of DIN_LEVELS){const Ar=DIN_MM[Br],Pr=ne-Ar.w,Nr=rr-Ar.h;if(Math.abs(Pr)<=we&&Math.abs(Nr)<=we){const ei=Math.abs(Pr)+Math.abs(Nr);(!pr||ei<pr.score)&&(pr={level:Br,score:ei,delta:{dw:Pr,dh:Nr},iso:Ar})}}if(!pr)return null;const lr=rr/ne,kr=Math.abs(lr/Math.SQRT2-1);return{level:pr.level,matchedOrientation:Ie?"landscape":"portrait",measuredMm:{w:ne,h:rr},isoMm:{w:pr.iso.w,h:pr.iso.h},deltaMm:pr.delta,aspectError:kr}}const GLOBAL_APP_WRAPPER_CLASS="bluepic-app-wrapper",GLOBAL_APP_WRAPPER_SELECTOR=`.${GLOBAL_APP_WRAPPER_CLASS}`;window.bluepicPopupProvider=new BluepicPopupProvider,exports.AdjustImage=AdjustImage,exports.BluepicBatchEditor=BluepicBatchEditor,exports.BluepicEmbed=BluepicEmbed,exports.BluepicEmbedded=BluepicEmbedded,exports.BluepicEmbeddedEditor=BluepicEmbeddedEditor,exports.BluepicFieldComponents=BluepciFieldComponents,exports.BluepicLogo=BluepicLogo,exports.BluepicSpinner=BluepicSpinner,exports.BxAvatar=BxAvatar,exports.BxButton=BxButton,exports.BxCard=BxCard,exports.BxCheckbox=BxCheckbox,exports.BxColorPicker=BxColorPicker,exports.BxDropdown=BxDropdown,exports.BxEmbedThemeDarkmode=BxEmbedThemeDarkmode,exports.BxEmbedThemeLightmode=BxEmbedThemeLightmode,exports.BxFields=_sfc_main$s,exports.BxIcon=BxIcon,exports.BxInput=BxInput,exports.BxList=BxList,exports.BxListItem=BxListItem,exports.BxMenu=BxMenu,exports.BxPopover=BxPopover,exports.BxPopup=_sfc_main$1d,exports.BxRadio=BxRadio,exports.BxRadioGroup=BxRadioGroup,exports.BxSelect=BxSelect,exports.BxSlider=BxSlider,exports.BxSpin=BxSpin,exports.BxSwitch=BxSwitch,exports.BxTab=BxTab,exports.BxTabs=BxTabs,exports.BxTag=BxTag,exports.BxTooltip=BxTooltip,exports.BxUserMenu=BxUserMenu,exports.CSS_COLOR_NAMES=CSS_COLOR_NAMES,exports.CircularProgress=CircularProgress,exports.DIN_LEVELS=DIN_LEVELS,exports.GLOBAL_APP_WRAPPER_CLASS=GLOBAL_APP_WRAPPER_CLASS,exports.GLOBAL_APP_WRAPPER_SELECTOR=GLOBAL_APP_WRAPPER_SELECTOR,exports.MapboxMap=MapboxMap,exports.SlidesNavigation=SlidesNavigation,exports.Tabs=Tabs,exports.UserAvatar=UserAvatar,exports.UserInfo=UserInfo,exports.applyColorMatricesToImage=applyColorMatricesToImage,exports.applyColorMatrix=applyColorMatrix,exports.applyColorMatrixToColor=applyColorMatrixToColor,exports.convertDeprecatedField=convertDeprecatedField,exports.cropImage=cropImage,exports.cropToVisibleBBox=cropToVisibleBBox,exports.cyrb53=cyrb53,exports.cyrb53ToHex=cyrb53ToHex,exports.dinPixels=dinPixels,exports.getDefaultValueForFieldModel=getDefaultValueForFieldModel,exports.getInitials=getInitials,exports.getTemplateLiveUrl=getTemplateLiveUrl,exports.getTemplatePreviewUrl=getTemplatePreviewUrl,exports.getTemplateSerialUrl=getTemplateSerialUrl,exports.getThemeStyle=getThemeStyle,exports.getVisibleBBox=getVisibleBBox,exports.groupFeatureByLinebreaks=groupFeatureByLinebreaks$1,exports.hslToRgb=hslToRgb,exports.identifyDin=identifyDin,exports.initEmbeds=initEmbeds,exports.isDark=isDark,exports.normalizeAdjust=normalizeAdjust,exports.normalizeCrop=normalizeCrop,exports.optimizePreviewUrl=optimizePreviewUrl,exports.rasterize=rasterize,exports.realizeField=realizeField,exports.renderFieldIcon=renderFieldIcon,exports.renderSVG=renderSVG,exports.rgba=rgba,exports.stringToHslColor=stringToHslColor,exports.stringifyField=stringifyField,exports.ungroupFeaturesDividedByLinebreaks=ungroupFeaturesDividedByLinebreaks,exports.usePopup=usePopup,exports.useTheme=useTheme,exports.waitUntil=waitUntil,Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
3020
|
+
`;const ie=this;vue.nextTick(()=>{vue.createApp({components:{BluepicEmbeddedEditor,BluepicSpinner},setup(){const we={async handleUpload({blob:Ie,context:Me,width:Ze,height:ne,name:rr,onProgress:pr}){const{variants:lr,filename:yr,id:kr}=await uploadImage(ie.embedApiBaseUrl.value,ie.templateId.value,Me,Ie,rr,(Ar,Pr)=>{pr(Ar/Pr)}),Br=lr.find(Ar=>parseCloudflareImagesDeliveryUrl(Ar).variant==="public");if(!Br)throw new Error("No public variant");return{width:Ze,height:ne,key:kr,name:yr,src:Br}}};return vue.watch([ie.displayMode],()=>{ie.element.style.boxSizing===""&&(ie.element.style.boxSizing="border-box"),ie.displayMode?.value!=="stack"&&(ie.element.style.height===""&&(ie.element.style.height="100vh"),ie.element.style.padding===""&&(ie.element.style.padding="10px"))},{immediate:!0}),{bridge:we,editorRef:ie.editorRef,embedProject:ie.embedProject,allowPanAndZoom:ie.allowPanAndZoom,templateId:ie.templateId,baseSerial:ie.baseSerial,basePreview:ie.basePreview,embedApiBaseUrl:ie.embedApiBaseUrl,cloudflarePagesHostname:ie.cloudflarePagesHostname,data:ie.data,serial:ie.serial,ready:ie.ready,displayMode:ie.displayMode,bxCoreVersion:ie.bxCoreVersion,bxThemeStyleVars:ie.bxThemeStyleVars,darkmode:vue.computed(()=>Color$1(ie.bxThemeStyleVars.value["editor-view-background-color"]).isDark()),stripeEnv:ie.stripeEnv,handleExportAction:Ie=>{const Me=new CustomEvent("handle-export-action",{detail:Ie});ie.dispatchEvent(Me)},beforeExport:Ie=>{const Me=new CustomEvent("before-export",{detail:Ie});ie.dispatchEvent(Me)},afterExport:Ie=>{const Me=new CustomEvent("after-export",{detail:Ie});ie.dispatchEvent(Me)},isAsync:ie.isAsync}}}).mount(`#${this.id}`)})}setVariable(c,ie){this.data.value||(this.data.value={}),this.data.value[c]=ie}setData(c,ie=!1){ie?this.data.value=c:this.data.value={...this.data.value,...c}}getTransform(){return this.editorRef.value?.bluepicLiveTemplateRef?.transform}setTransform(c,ie,we,Ie){!this.editorRef.value?.bluepicLiveTemplateRef||(this.editorRef.value.bluepicLiveTemplateRef.transform={scale:c,x:ie,y:we,rotate:Ie})}applyTransform(c,ie,we,Ie){this.editorRef.value?.bluepicLiveTemplateRef?.zoompinchRef?.applyTransform(c,ie,we,Ie)}isMultiFrame(){return this.editorRef.value?.bluepicLiveTemplateRef?.isMultiFrame}getCenteredFrame(){return this.editorRef.value?.bluepicLiveTemplateRef?.closestFrame}centerFrame(c,ie){this.editorRef.value?.bluepicLiveTemplateRef?.applyTranformBasedOnFrame(c,ie)}isReady(){return this.ready.value}}async function getProjectWithRetries(m,c,ie,we,Ie,Me){let Ze=0;for(;Ze<we;){try{return await(await fetch(`${m}/api/public/project?${new URLSearchParams({hostname:c,slug:ie,env:Me})}`,{method:"GET"})).json()}catch(ne){if(console.error(`\u274C Fehler bei Versuch ${Ze+1}:`,ne),Ze<we-1)console.log(`\u23F3 Warte ${Ie}ms vor erneutem Versuch...`),await new Promise(rr=>setTimeout(rr,Ie));else throw console.error(`\u{1F6A8} Maximalanzahl von ${we} Versuchen erreicht. Abbruch.`),ne}Ze++}throw new Error("Unbekannter Fehler in getPublicConfigWithRetries")}const initEmbeds=async()=>{const m=document.querySelectorAll(".bluepic-embed[data-embed-project-id]");for(const c of m){const ie=c.getAttribute("data-embed-project-id"),we=c.getAttribute("data-template-id");c.getAttribute("data-stripe-env");const Ie=c.getAttribute("data-init-data"),Me=c.getAttribute("data-embed-api-base-url")??void 0,Ze=c.getAttribute("data-cloudflare-pages-hostname")??void 0,ne=c.getAttribute("data-display-mode"),rr=c.getAttribute("data-allow-pan-and-zoom"),pr=c.getAttribute("data-bx-core-version")??void 0,lr=Ie?JSON.parse(Ie):void 0,yr=rr==="true",kr=ne==="mobile"?"mobile":ne==="stack"?"stack":"auto",Br=c.getAttribute("data-branding")==="false";new BluepicEmbed(c,we,ie,{initData:lr,displayMode:kr,allowPanAndZoom:yr,embedApiBaseUrl:Me,cloudflarePagesHostname:Ze,bxCoreVersion:pr,branding:Br,theme:"auto"})}};window.addEventListener("load",initEmbeds),window.BluepicEmbed=BluepicEmbed;const _hoisted_1$1={class:"user-info"},_hoisted_2$1={class:"user-content"},_hoisted_3$1={key:0,class:"user-name"},_hoisted_4={key:1,class:"user-email"},_hoisted_5={class:"actions"},_sfc_main$1=vue.defineComponent({__name:"UserInfo",props:{user:{},showSettings:{type:Boolean,default:!1}},emits:["logout","settings"],setup(m,{emit:c}){const ie=c;return(we,Ie)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1,[vue.createElementVNode("main",null,[vue.createVNode(UserAvatar,{user:we.user,width:40,height:40},null,8,["user"]),vue.createElementVNode("div",_hoisted_2$1,[we.user.name?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$1,vue.toDisplayString(we.user.name),1)):vue.createCommentVNode("",!0),we.user.email?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4,vue.toDisplayString(we.user.email),1)):vue.createCommentVNode("",!0)])]),vue.createElementVNode("footer",null,[vue.createElementVNode("div",_hoisted_5,[we.showSettings?(vue.openBlock(),vue.createBlock(BxButton,{key:0,size:"medium",onClick:Ie[0]||(Ie[0]=Me=>ie("settings"))},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(SettingsOutline))]),_:1})]),default:vue.withCtx(()=>[Ie[2]||(Ie[2]=vue.createTextVNode(" Settings "))]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(BxButton,{size:"medium",onClick:Ie[1]||(Ie[1]=Me=>ie("logout"))},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(LogOutOutline))]),_:1})]),default:vue.withCtx(()=>[Ie[3]||(Ie[3]=vue.createTextVNode(" Logout "))]),_:1})])])]))}}),UserInfo_vue_vue_type_style_index_0_scoped_f4c8140b_lang="",UserInfo=_export_sfc(_sfc_main$1,[["__scopeId","data-v-f4c8140b"]]),_hoisted_1={class:"category-tabs"},_hoisted_2={class:"tabs-wrapper"},_hoisted_3=["onClick"],_sfc_main=vue.defineComponent({__name:"Tabs",props:vue.mergeModels({tabs:{}},{activeTab:{required:!0},activeTabModifiers:{}}),emits:vue.mergeModels(["click:category"],["update:activeTab"]),setup(m,{emit:c}){const ie=c,we=vue.useModel(m,"activeTab");function Ie(Me){we.value=Me,ie("click:category",Me)}return(Me,Ze)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1,[vue.createElementVNode("div",_hoisted_2,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Me.tabs,ne=>(vue.openBlock(),vue.createElementBlock("button",{key:ne,class:vue.normalizeClass({active:ne===we.value}),onClick:rr=>Ie(ne)},[vue.createElementVNode("span",null,vue.toDisplayString(ne),1)],10,_hoisted_3))),128))])]))}}),Tabs_vue_vue_type_style_index_0_scoped_3a5dfef0_lang="",Tabs=_export_sfc(_sfc_main,[["__scopeId","data-v-3a5dfef0"]]),DIN_LEVELS=["A0","A1","A2","A3","A4","A5","A6","A7","A8","A9","A10"],A0_MM={w:841,h:1189};function buildDinSeriesMm(){const m=[{w:A0_MM.w,h:A0_MM.h}];for(let ie=1;ie<=10;ie++){const we=m[ie-1],Ie=Math.round(we.h/2),Me=we.w,Ze=Ie<=Me?{w:Ie,h:Me}:{w:Me,h:Ie};m.push(Ze)}const c={};return DIN_LEVELS.forEach((ie,we)=>c[ie]=m[we]),c}const DIN_MM=buildDinSeriesMm(),MM_PER_INCH=25.4;function mmToInches(m){return m/MM_PER_INCH}function inchesToPx(m,c){return m*c}function pxToMm(m,c){return m/c*MM_PER_INCH}function dinPixels(m,c){const ie=DIN_MM[m],we=mmToInches(ie.w),Ie=mmToInches(ie.h),Me=inchesToPx(we,c),Ze=inchesToPx(Ie,c);return{widthPx:Math.round(Me),heightPx:Math.round(Ze),widthPxExact:Me,heightPxExact:Ze,aspect:ie.h/ie.w,sizeMm:{w:ie.w,h:ie.h}}}function identifyDin(m,c,ie,we=2){const Ie=m>c,[Me,Ze]=m<=c?[m,c]:[c,m],ne=pxToMm(Me,ie),rr=pxToMm(Ze,ie);let pr=null;for(const Br of DIN_LEVELS){const Ar=DIN_MM[Br],Pr=ne-Ar.w,Nr=rr-Ar.h;if(Math.abs(Pr)<=we&&Math.abs(Nr)<=we){const ei=Math.abs(Pr)+Math.abs(Nr);(!pr||ei<pr.score)&&(pr={level:Br,score:ei,delta:{dw:Pr,dh:Nr},iso:Ar})}}if(!pr)return null;const lr=rr/ne,kr=Math.abs(lr/Math.SQRT2-1);return{level:pr.level,matchedOrientation:Ie?"landscape":"portrait",measuredMm:{w:ne,h:rr},isoMm:{w:pr.iso.w,h:pr.iso.h},deltaMm:pr.delta,aspectError:kr}}const GLOBAL_APP_WRAPPER_CLASS="bluepic-app-wrapper",GLOBAL_APP_WRAPPER_SELECTOR=`.${GLOBAL_APP_WRAPPER_CLASS}`;window.bluepicPopupProvider=new BluepicPopupProvider,exports.AdjustImage=AdjustImage,exports.BluepicBatchEditor=BluepicBatchEditor,exports.BluepicEmbed=BluepicEmbed,exports.BluepicEmbedded=BluepicEmbedded,exports.BluepicEmbeddedEditor=BluepicEmbeddedEditor,exports.BluepicFieldComponents=BluepciFieldComponents,exports.BluepicLiveTemplate=BluepicLiveTemplate,exports.BluepicLogo=BluepicLogo,exports.BluepicSpinner=BluepicSpinner,exports.BxAvatar=BxAvatar,exports.BxButton=BxButton,exports.BxCard=BxCard,exports.BxCheckbox=BxCheckbox,exports.BxColorPicker=BxColorPicker,exports.BxDropdown=BxDropdown,exports.BxEmbedThemeDarkmode=BxEmbedThemeDarkmode,exports.BxEmbedThemeLightmode=BxEmbedThemeLightmode,exports.BxFields=_sfc_main$s,exports.BxIcon=BxIcon,exports.BxInput=BxInput,exports.BxList=BxList,exports.BxListItem=BxListItem,exports.BxMenu=BxMenu,exports.BxPopover=BxPopover,exports.BxPopup=_sfc_main$1d,exports.BxRadio=BxRadio,exports.BxRadioGroup=BxRadioGroup,exports.BxSelect=BxSelect,exports.BxSlider=BxSlider,exports.BxSpin=BxSpin,exports.BxSwitch=BxSwitch,exports.BxTab=BxTab,exports.BxTabs=BxTabs,exports.BxTag=BxTag,exports.BxTooltip=BxTooltip,exports.BxUserMenu=BxUserMenu,exports.CSS_COLOR_NAMES=CSS_COLOR_NAMES,exports.CircularProgress=CircularProgress,exports.CollectionFieldPopup=CollectionFieldPopup,exports.DIN_LEVELS=DIN_LEVELS,exports.GLOBAL_APP_WRAPPER_CLASS=GLOBAL_APP_WRAPPER_CLASS,exports.GLOBAL_APP_WRAPPER_SELECTOR=GLOBAL_APP_WRAPPER_SELECTOR,exports.MapboxMap=MapboxMap,exports.SlidesNavigation=SlidesNavigation,exports.Tabs=Tabs,exports.UserAvatar=UserAvatar,exports.UserInfo=UserInfo,exports.applyColorMatricesToImage=applyColorMatricesToImage,exports.applyColorMatrix=applyColorMatrix,exports.applyColorMatrixToColor=applyColorMatrixToColor,exports.convertDeprecatedField=convertDeprecatedField,exports.cropImage=cropImage,exports.cropToVisibleBBox=cropToVisibleBBox,exports.cyrb53=cyrb53,exports.cyrb53ToHex=cyrb53ToHex,exports.dinPixels=dinPixels,exports.flattenFieldTable=flattenFieldTable,exports.flattenFields=flattenFields,exports.getDefaultValueForFieldModel=getDefaultValueForFieldModel,exports.getFieldDescription=getFieldDescription,exports.getFieldsDescription=getFieldsDescription,exports.getInitials=getInitials,exports.getTemplateLiveUrl=getTemplateLiveUrl,exports.getTemplatePreviewUrl=getTemplatePreviewUrl,exports.getTemplateSerialUrl=getTemplateSerialUrl,exports.getThemeStyle=getThemeStyle,exports.getVisibleBBox=getVisibleBBox,exports.groupFeatureByLinebreaks=groupFeatureByLinebreaks$1,exports.hslToRgb=hslToRgb,exports.identifyDin=identifyDin,exports.initEmbeds=initEmbeds,exports.isDark=isDark,exports.modelField=modelField,exports.normalizeAdjust=normalizeAdjust,exports.normalizeCrop=normalizeCrop,exports.optimizePreviewUrl=optimizePreviewUrl,exports.rasterize=rasterize,exports.realizeField=realizeField,exports.renderFieldIcon=renderFieldIcon,exports.renderSVG=renderSVG,exports.rgba=rgba,exports.stringToHslColor=stringToHslColor,exports.stringifyField=stringifyField,exports.ungroupFeaturesDividedByLinebreaks=ungroupFeaturesDividedByLinebreaks,exports.useFields=useFields,exports.useMobileFields=useMobileFields,exports.usePopup=usePopup,exports.useTheme=useTheme,exports.useUpload=useUpload,exports.waitUntil=waitUntil,Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|