@bluepic/embed 0.2.0-next.23 → 0.2.0-next.24
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 +46 -44
- package/lib/bluepic-embed.umd.js +7 -7
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/bluepic-embed.umd.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
left: -100%;
|
|
12
12
|
top: -100%;
|
|
13
13
|
visibility: hidden;
|
|
14
|
-
`});we.addEventListener("change",()=>{we.files&&c(Array.from(we.files).filter(Ie=>Ie.size<=m.maxSize))}),document.body.append(we),we.click()})}const _sfc_main$1i=vue.defineComponent({__name:"BxSpin",props:{size:{default:"medium"}},setup(m){return(c,ie)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-spin",{[`size-${c.size}`]:!0}])},null,2))}}),BxSpin_vue_vue_type_style_index_0_scoped_d53f8f21_lang="",_export_sfc=(m,c)=>{const ie=m.__vccOpts||m;for(const[we,Ie]of c)ie[we]=Ie;return ie},BxSpin=_export_sfc(_sfc_main$1i,[["__scopeId","data-v-d53f8f21"]]),_hoisted_1$1L={key:0,class:"icon-wrapper"},_hoisted_2$1v={key:1,class:"label"},_sfc_main$1h=vue.defineComponent({__name:"BxButton",props:{size:{default:"medium"},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},tertiary:{type:Boolean},quarternary:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},state:{default:"default"},centered:{type:Boolean},tag:{default:"button"},loading:{type:Boolean,default:!1}},setup(m){const c=vue.useSlots();return(ie,we)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(ie.tag),{class:vue.normalizeClass(["bx-button",{"has-icon":!!c.icon,circle:ie.circle,round:ie.round,"has-label":!!c.default,secondary:ie.secondary,primary:ie.primary,tertiary:ie.tertiary,quarternary:ie.quarternary,disabled:ie.disabled,["state-"+ie.state]:!0,["size-"+ie.size]:!0,centered:ie.centered}])},{default:vue.withCtx(()=>[c.icon||ie.loading?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1L,[ie.loading?(vue.openBlock(),vue.createBlock(BxSpin,{key:0,size:"small"})):vue.renderSlot(ie.$slots,"icon",{key:1},void 0,!0)])):vue.createCommentVNode("",!0),c.default?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$1v,[vue.renderSlot(ie.$slots,"default",{},void 0,!0)])):vue.createCommentVNode("",!0)]),_:3},8,["class"]))}}),BxButton_vue_vue_type_style_index_0_scoped_a63e3b71_lang="",BxButton=_export_sfc(_sfc_main$1h,[["__scopeId","data-v-a63e3b71"]]),urlAlphabet="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let nanoid=(m=21)=>{let c="",ie=crypto.getRandomValues(new Uint8Array(m|=0));for(;m--;)c+=urlAlphabet[ie[m]&63];return c};const _hoisted_1$1K={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1u=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 112v288"},null,-1),_hoisted_3$19=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"},null,-1),_hoisted_4$R=[_hoisted_2$1u,_hoisted_3$19],AddOutline=vue.defineComponent({name:"AddOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1K,_hoisted_4$R)}}),_hoisted_1$1J={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1t=vue.createElementVNode("path",{d:"M256 80c-8.66 0-16.58 7.36-16 16l8 216a8 8 0 0 0 8 8h0a8 8 0 0 0 8-8l8-216c.58-8.64-7.34-16-16-16z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$18=vue.createElementVNode("circle",{cx:"256",cy:"416",r:"16",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_4$Q=[_hoisted_2$1t,_hoisted_3$18],AlertOutline=vue.defineComponent({name:"AlertOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1J,_hoisted_4$Q)}}),_hoisted_1$1I={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1s=vue.createStaticVNode('<rect x="64" y="64" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="216" y="64" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="368" y="64" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="64" y="216" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="216" y="216" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="368" y="216" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="64" y="368" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="216" y="368" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="368" y="368" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect>',9),_hoisted_11$6=[_hoisted_2$1s],AppsOutline=vue.defineComponent({name:"AppsOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1I,_hoisted_11$6)}}),_hoisted_1$1H={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1r=vue.createElementVNode("path",{d:"M80 152v256a40.12 40.12 0 0 0 40 40h272a40.12 40.12 0 0 0 40-40V152",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$17=vue.createElementVNode("rect",{x:"48",y:"64",width:"416",height:"80",rx:"28",ry:"28",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_4$P=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 304l-64 64l-64-64"},null,-1),_hoisted_5$w=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 345.89V224"},null,-1),_hoisted_6$h=[_hoisted_2$1r,_hoisted_3$17,_hoisted_4$P,_hoisted_5$w],ArchiveOutline=vue.defineComponent({name:"ArchiveOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1H,_hoisted_6$h)}}),_hoisted_1$1G={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1q=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144"},null,-1),_hoisted_3$16=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M120 256h292"},null,-1),_hoisted_4$O=[_hoisted_2$1q,_hoisted_3$16],ArrowBackOutline=vue.defineComponent({name:"ArrowBackOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1G,_hoisted_4$O)}}),_hoisted_1$1F={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1p=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M268 112l144 144l-144 144"},null,-1),_hoisted_3$15=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M392 256H100"},null,-1),_hoisted_4$N=[_hoisted_2$1p,_hoisted_3$15],ArrowForwardOutline=vue.defineComponent({name:"ArrowForwardOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1F,_hoisted_4$N)}}),_hoisted_1$1E={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1o=vue.createElementVNode("path",{d:"M448 256L272 88v96C103.57 184 64 304.77 64 424c48.61-62.24 91.6-96 208-96v96z",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$14=[_hoisted_2$1o],ArrowRedoOutline=vue.defineComponent({name:"ArrowRedoOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1E,_hoisted_3$14)}}),_hoisted_1$1D={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1n=vue.createStaticVNode('<rect x="-24.43" y="167.88" width="560.87" height="176.25" rx="88.12" ry="88.12" transform="rotate(-45 256 256.002)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></rect><rect x="169.41" y="156.59" width="176" height="196" rx="32" ry="32" transform="rotate(45 257.409 254.582)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></rect><circle cx="256" cy="208" r="16" fill="currentColor"></circle><circle cx="304" cy="256" r="16" fill="currentColor"></circle><circle cx="208" cy="256" r="16" fill="currentColor"></circle><circle cx="256" cy="304" r="16" fill="currentColor"></circle>',6),_hoisted_8$a=[_hoisted_2$1n],BandageOutline=vue.defineComponent({name:"BandageOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1D,_hoisted_8$a)}}),_hoisted_1$1C={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1m=vue.createStaticVNode('<path d="M304 384v-24c0-29 31.54-56.43 52-76c28.84-27.57 44-64.61 44-108c0-80-63.73-144-144-144a143.6 143.6 0 0 0-144 144c0 41.84 15.81 81.39 44 108c20.35 19.21 52 46.7 52 76v24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M224 480h64"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M208 432h96"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 384V256"></path><path d="M294 240s-21.51 16-38 16s-38-16-38-16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></path>',5),_hoisted_7$8=[_hoisted_2$1m],BulbOutline=vue.defineComponent({name:"BulbOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1C,_hoisted_7$8)}}),_hoisted_1$1B={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1l=vue.createElementVNode("rect",{x:"48",y:"96",width:"416",height:"320",rx:"56",ry:"56",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$13=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"60",d:"M48 192h416"},null,-1),_hoisted_4$M=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"60",d:"M128 300h48v20h-48z"},null,-1),_hoisted_5$v=[_hoisted_2$1l,_hoisted_3$13,_hoisted_4$M],CardOutline=vue.defineComponent({name:"CardOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1B,_hoisted_5$v)}}),_hoisted_1$1A={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1k=vue.createElementVNode("path",{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48zm108.25 138.29l-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32l122.59-145.91a16 16 0 0 1 24.5 20.58z",fill:"currentColor"},null,-1),_hoisted_3$12=[_hoisted_2$1k],CheckmarkCircle=vue.defineComponent({name:"CheckmarkCircle",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1A,_hoisted_3$12)}}),_hoisted_1$1z={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1j=vue.createElementVNode("path",{d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_3$11=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M352 176L217.6 336L160 272"},null,-1),_hoisted_4$L=[_hoisted_2$1j,_hoisted_3$11],CheckmarkCircleOutline=vue.defineComponent({name:"CheckmarkCircleOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1z,_hoisted_4$L)}}),_hoisted_1$1y={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1i=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M416 128L192 384l-96-96"},null,-1),_hoisted_3$10=[_hoisted_2$1i],CheckmarkOutline=vue.defineComponent({name:"CheckmarkOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1y,_hoisted_3$10)}}),_hoisted_1$1x={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1h=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M328 112L184 256l144 144"},null,-1),_hoisted_3$$=[_hoisted_2$1h],ChevronBackOutline=vue.defineComponent({name:"ChevronBackOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1x,_hoisted_3$$)}}),_hoisted_1$1w={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1g=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M112 184l144 144l144-144"},null,-1),_hoisted_3$_=[_hoisted_2$1g],ChevronDownOutline=vue.defineComponent({name:"ChevronDownOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1w,_hoisted_3$_)}}),_hoisted_1$1v={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1f=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M184 112l144 144l-144 144"},null,-1),_hoisted_3$Z=[_hoisted_2$1f],ChevronForwardOutline=vue.defineComponent({name:"ChevronForwardOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1v,_hoisted_3$Z)}}),_hoisted_1$1u={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1e=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M112 328l144-144l144 144"},null,-1),_hoisted_3$Y=[_hoisted_2$1e],ChevronUpOutline=vue.defineComponent({name:"ChevronUpOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1u,_hoisted_3$Y)}}),_hoisted_1$1t={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1d=vue.createElementVNode("path",{d:"M336 64h32a48 48 0 0 1 48 48v320a48 48 0 0 1-48 48H144a48 48 0 0 1-48-48V112a48 48 0 0 1 48-48h32",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$X=vue.createElementVNode("rect",{x:"176",y:"32",width:"160",height:"64",rx:"26.13",ry:"26.13",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_4$K=[_hoisted_2$1d,_hoisted_3$X],ClipboardOutline=vue.defineComponent({name:"ClipboardOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1t,_hoisted_4$K)}}),_hoisted_1$1s={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1c=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),_hoisted_3$W=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1),_hoisted_4$J=[_hoisted_2$1c,_hoisted_3$W],CloseOutline=vue.defineComponent({name:"CloseOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1s,_hoisted_4$J)}}),_hoisted_1$1r={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1b=vue.createElementVNode("path",{d:"M320 336h76c55 0 100-21.21 100-75.6s-53-73.47-96-75.6C391.11 99.74 329 48 256 48c-69 0-113.44 45.79-128 91.2c-60 5.7-112 35.88-112 98.4S70 336 136 336h56",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$V=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M192 400.1l64 63.9l64-63.9"},null,-1),_hoisted_4$I=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 224v224.03"},null,-1),_hoisted_5$u=[_hoisted_2$1b,_hoisted_3$V,_hoisted_4$I],CloudDownloadOutline=vue.defineComponent({name:"CloudDownloadOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1r,_hoisted_5$u)}}),_hoisted_1$1q={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1a=vue.createElementVNode("path",{d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$U=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 255.79l-64-64l-64 64"},null,-1),_hoisted_4$H=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 448.21V207.79"},null,-1),_hoisted_5$t=[_hoisted_2$1a,_hoisted_3$U,_hoisted_4$H],CloudUploadOutline=vue.defineComponent({name:"CloudUploadOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1q,_hoisted_5$t)}}),_hoisted_1$1p={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$19=vue.createStaticVNode('<path d="M430.11 347.9c-6.6-6.1-16.3-7.6-24.6-9c-11.5-1.9-15.9-4-22.6-10c-14.3-12.7-14.3-31.1 0-43.8l30.3-26.9c46.4-41 46.4-108.2 0-149.2c-34.2-30.1-80.1-45-127.8-45c-55.7 0-113.9 20.3-158.8 60.1c-83.5 73.8-83.5 194.7 0 268.5c41.5 36.7 97.5 55 152.9 55.4h1.7c55.4 0 110-17.9 148.8-52.4c14.4-12.7 11.99-36.6.1-47.7z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></path><circle cx="144" cy="208" r="32" fill="currentColor"></circle><circle cx="152" cy="311" r="32" fill="currentColor"></circle><circle cx="224" cy="144" r="32" fill="currentColor"></circle><circle cx="256" cy="367" r="48" fill="currentColor"></circle><circle cx="328" cy="144" r="32" fill="currentColor"></circle>',6),_hoisted_8$9=[_hoisted_2$19],ColorPaletteOutline=vue.defineComponent({name:"ColorPaletteOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1p,_hoisted_8$9)}}),_hoisted_1$1o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$18=vue.createElementVNode("path",{d:"M384 224v184a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V168a40 40 0 0 1 40-40h167.48",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$T=vue.createElementVNode("path",{d:"M459.94 53.25a16.06 16.06 0 0 0-23.22-.56L424.35 65a8 8 0 0 0 0 11.31l11.34 11.32a8 8 0 0 0 11.34 0l12.06-12c6.1-6.09 6.67-16.01.85-22.38z",fill:"currentColor"},null,-1),_hoisted_4$G=vue.createElementVNode("path",{d:"M399.34 90L218.82 270.2a9 9 0 0 0-2.31 3.93L208.16 299a3.91 3.91 0 0 0 4.86 4.86l24.85-8.35a9 9 0 0 0 3.93-2.31L422 112.66a9 9 0 0 0 0-12.66l-9.95-10a9 9 0 0 0-12.71 0z",fill:"currentColor"},null,-1),_hoisted_5$s=[_hoisted_2$18,_hoisted_3$T,_hoisted_4$G],CreateOutline=vue.defineComponent({name:"CreateOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1o,_hoisted_5$s)}}),_hoisted_1$1n={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$17=vue.createElementVNode("path",{d:"M144 48v272a48 48 0 0 0 48 48h272",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$S=vue.createElementVNode("path",{d:"M368 304V192a48 48 0 0 0-48-48H208",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_4$F=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368v96"},null,-1),_hoisted_5$r=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 144H48"},null,-1),_hoisted_6$g=[_hoisted_2$17,_hoisted_3$S,_hoisted_4$F,_hoisted_5$r],CropOutline=vue.defineComponent({name:"CropOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1n,_hoisted_6$g)}}),_hoisted_1$1m={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$16=vue.createElementVNode("circle",{cx:"256",cy:"256",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_3$R=vue.createElementVNode("circle",{cx:"256",cy:"416",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_4$E=vue.createElementVNode("circle",{cx:"256",cy:"96",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_5$q=[_hoisted_2$16,_hoisted_3$R,_hoisted_4$E],EllipsisVerticalOutline=vue.defineComponent({name:"EllipsisVerticalOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1m,_hoisted_5$q)}}),_hoisted_1$1l={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$15=vue.createElementVNode("path",{d:"M320 176v-40a40 40 0 0 0-40-40H88a40 40 0 0 0-40 40v240a40 40 0 0 0 40 40h192a40 40 0 0 0 40-40v-40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$Q=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M384 176l80 80l-80 80"},null,-1),_hoisted_4$D=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M191 256h273"},null,-1),_hoisted_5$p=[_hoisted_2$15,_hoisted_3$Q,_hoisted_4$D],ExitOutline=vue.defineComponent({name:"ExitOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1l,_hoisted_5$p)}}),_hoisted_1$1k={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$14=vue.createStaticVNode('<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M432 320v112H320"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M421.8 421.77L304 304"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M80 192V80h112"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M90.2 90.23L208 208"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M320 80h112v112"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M421.77 90.2L304 208"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 432H80V320"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M90.23 421.8L208 304"></path>',8),_hoisted_10$5=[_hoisted_2$14],ExpandOutline=vue.defineComponent({name:"ExpandOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1k,_hoisted_10$5)}}),_hoisted_1$1j={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$13=vue.createElementVNode("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$P=vue.createElementVNode("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_4$C=[_hoisted_2$13,_hoisted_3$P],EyeOutline=vue.defineComponent({name:"EyeOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1j,_hoisted_4$C)}}),_hoisted_1$1i={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$12=vue.createElementVNode("path",{d:"M262.51 204.22L70 396.69C57.56 409.15 48 464 48 464s54.38-9.09 67.31-22L307.8 249.51",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$O=vue.createElementVNode("rect",{x:"211.72",y:"172.19",width:"192.15",height:"64.05",rx:"32.03",ry:"32.03",transform:"rotate(45 307.788 204.2)",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_4$B=vue.createElementVNode("path",{d:"M289.91 141s20.57 8.57 37.22-8.08l54.67-70.63c18.5-19.41 49.26-18.69 67.94 0h0c18.68 18.68 19.34 48.81 0 67.93l-70.68 54.67c-15.65 15.65-8.08 37.22-8.08 37.22",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_5$o=vue.createElementVNode("path",{d:"M115.31 442s-26.48 17.34-44.56-.73s-.75-44.58-.75-44.58",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_6$f=[_hoisted_2$12,_hoisted_3$O,_hoisted_4$B,_hoisted_5$o],EyedropOutline=vue.defineComponent({name:"EyedropOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1i,_hoisted_6$f)}}),_hoisted_1$1h={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$11=vue.createElementVNode("path",{d:"M440 432H72a40 40 0 0 1-40-40V120a40 40 0 0 1 40-40h75.89a40 40 0 0 1 22.19 6.72l27.84 18.56a40 40 0 0 0 22.19 6.72H440a40 40 0 0 1 40 40v240a40 40 0 0 1-40 40z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$N=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M32 192h448"},null,-1),_hoisted_4$A=[_hoisted_2$11,_hoisted_3$N],FolderOutline=vue.defineComponent({name:"FolderOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1h,_hoisted_4$A)}}),_hoisted_1$1g={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$10=vue.createStaticVNode('<path d="M256 48C141.13 48 48 141.13 48 256s93.13 208 208 208s208-93.13 208-208S370.87 48 256 48z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></path><path d="M256 48c-58.07 0-112.67 93.13-112.67 208S197.93 464 256 464s112.67-93.13 112.67-208S314.07 48 256 48z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></path><path d="M117.33 117.33c38.24 27.15 86.38 43.34 138.67 43.34s100.43-16.19 138.67-43.34" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></path><path d="M394.67 394.67c-38.24-27.15-86.38-43.34-138.67-43.34s-100.43 16.19-138.67 43.34" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></path><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M256 48v416"></path><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M464 256H48"></path>',6),_hoisted_8$8=[_hoisted_2$10],GlobeOutline=vue.defineComponent({name:"GlobeOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1g,_hoisted_8$8)}}),_hoisted_1$1f={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$$=vue.createElementVNode("path",{d:"M160 164s1.44-33 33.54-59.46C212.6 88.83 235.49 84.28 256 84c18.73-.23 35.47 2.94 45.48 7.82C318.59 100.2 352 120.6 352 164c0 45.67-29.18 66.37-62.35 89.18S248 298.36 248 324",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"40"},null,-1),_hoisted_3$M=vue.createElementVNode("circle",{cx:"248",cy:"399.99",r:"32",fill:"currentColor"},null,-1),_hoisted_4$z=[_hoisted_2$$,_hoisted_3$M],HelpOutline=vue.defineComponent({name:"HelpOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1f,_hoisted_4$z)}}),_hoisted_1$1e={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$_=vue.createElementVNode("rect",{x:"48",y:"80",width:"416",height:"352",rx:"48",ry:"48",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$L=vue.createElementVNode("circle",{cx:"336",cy:"176",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_4$y=vue.createElementVNode("path",{d:"M304 335.79l-90.66-90.49a32 32 0 0 0-43.87-1.3L48 352",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_5$n=vue.createElementVNode("path",{d:"M224 432l123.34-123.34a32 32 0 0 1 43.11-2L464 368",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_6$e=[_hoisted_2$_,_hoisted_3$L,_hoisted_4$y,_hoisted_5$n],ImageOutline=vue.defineComponent({name:"ImageOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1e,_hoisted_6$e)}}),_hoisted_1$1d={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$Z=vue.createElementVNode("path",{d:"M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184s184-82.39 184-184S349.61 64 248 64z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_3$K=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M220 220h32v116"},null,-1),_hoisted_4$x=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M208 340h88"},null,-1),_hoisted_5$m=vue.createElementVNode("path",{d:"M248 130a26 26 0 1 0 26 26a26 26 0 0 0-26-26z",fill:"currentColor"},null,-1),_hoisted_6$d=[_hoisted_2$Z,_hoisted_3$K,_hoisted_4$x,_hoisted_5$m],InformationCircleOutline=vue.defineComponent({name:"InformationCircleOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1d,_hoisted_6$d)}}),_hoisted_1$1c={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$Y=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"40",d:"M196 220h64v172"},null,-1),_hoisted_3$J=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"40",d:"M187 396h138"},null,-1),_hoisted_4$w=vue.createElementVNode("path",{d:"M256 160a32 32 0 1 1 32-32a32 32 0 0 1-32 32z",fill:"currentColor"},null,-1),_hoisted_5$l=[_hoisted_2$Y,_hoisted_3$J,_hoisted_4$w],InformationOutline=vue.defineComponent({name:"InformationOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1c,_hoisted_5$l)}}),_hoisted_1$1b={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$X=vue.createStaticVNode('<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M160 144h288"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M160 256h288"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M160 368h288"></path><circle cx="80" cy="144" r="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><circle cx="80" cy="256" r="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><circle cx="80" cy="368" r="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle>',6),_hoisted_8$7=[_hoisted_2$X],ListOutline=vue.defineComponent({name:"ListOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1b,_hoisted_8$7)}}),_hoisted_1$1a={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$W=vue.createElementVNode("path",{d:"M304 336v40a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V136a40 40 0 0 1 40-40h152c22.09 0 48 17.91 48 40v40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$I=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 336l80-80l-80-80"},null,-1),_hoisted_4$v=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M176 256h256"},null,-1),_hoisted_5$k=[_hoisted_2$W,_hoisted_3$I,_hoisted_4$v],LogOutOutline=vue.defineComponent({name:"LogOutOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1a,_hoisted_5$k)}}),_hoisted_1$19={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$V=vue.createElementVNode("path",{d:"M313.27 124.64L198.73 51.36a32 32 0 0 0-29.28.35L56.51 127.49A16 16 0 0 0 48 141.63v295.8a16 16 0 0 0 23.49 14.14l97.82-63.79a32 32 0 0 1 29.5-.24l111.86 73a32 32 0 0 0 29.27-.11l115.43-75.94a16 16 0 0 0 8.63-14.2V74.57a16 16 0 0 0-23.49-14.14l-98 63.86a32 32 0 0 1-29.24.35z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$H=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M328 128v336"},null,-1),_hoisted_4$u=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M184 48v336"},null,-1),_hoisted_5$j=[_hoisted_2$V,_hoisted_3$H,_hoisted_4$u],MapOutline=vue.defineComponent({name:"MapOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$19,_hoisted_5$j)}}),_hoisted_1$18={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$U=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 160h352"},null,-1),_hoisted_3$G=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 256h352"},null,-1),_hoisted_4$t=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 352h352"},null,-1),_hoisted_5$i=[_hoisted_2$U,_hoisted_3$G,_hoisted_4$t],MenuOutline=vue.defineComponent({name:"MenuOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$18,_hoisted_5$i)}}),_hoisted_1$17={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$T=vue.createStaticVNode('<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M368 128h80"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M64 128h240"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M368 384h80"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M64 384h240"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M208 256h240"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M64 256h80"></path><circle cx="336" cy="128" r="32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><circle cx="176" cy="256" r="32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><circle cx="336" cy="384" r="32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle>',9),_hoisted_11$5=[_hoisted_2$T],OptionsOutline=vue.defineComponent({name:"OptionsOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$17,_hoisted_11$5)}}),_hoisted_1$16={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$S=vue.createElementVNode("path",{d:"M208 432h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16z",fill:"currentColor"},null,-1),_hoisted_3$F=vue.createElementVNode("path",{d:"M352 432h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16z",fill:"currentColor"},null,-1),_hoisted_4$s=[_hoisted_2$S,_hoisted_3$F],Pause=vue.defineComponent({name:"Pause",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$16,_hoisted_4$s)}}),_hoisted_1$15={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$R=vue.createElementVNode("path",{d:"M133 440a35.37 35.37 0 0 1-17.5-4.67c-12-6.8-19.46-20-19.46-34.33V111c0-14.37 7.46-27.53 19.46-34.33a35.13 35.13 0 0 1 35.77.45l247.85 148.36a36 36 0 0 1 0 61l-247.89 148.4A35.5 35.5 0 0 1 133 440z",fill:"currentColor"},null,-1),_hoisted_3$E=[_hoisted_2$R],Play=vue.defineComponent({name:"Play",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$15,_hoisted_3$E)}}),_hoisted_1$14={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$Q=vue.createElementVNode("path",{d:"M30.71 229.47l188.87-113a30.54 30.54 0 0 1 31.09-.39a33.74 33.74 0 0 1 16.76 29.47v79.05l180.72-108.16a30.54 30.54 0 0 1 31.09-.39A33.74 33.74 0 0 1 496 145.52v221A33.73 33.73 0 0 1 479.24 396a30.54 30.54 0 0 1-31.09-.39L267.43 287.4v79.08A33.73 33.73 0 0 1 250.67 396a30.54 30.54 0 0 1-31.09-.39l-188.87-113a31.27 31.27 0 0 1 0-53z",fill:"currentColor"},null,-1),_hoisted_3$D=[_hoisted_2$Q],PlayBack=vue.defineComponent({name:"PlayBack",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$14,_hoisted_3$D)}}),_hoisted_1$13={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$P=vue.createElementVNode("path",{d:"M481.29 229.47l-188.87-113a30.54 30.54 0 0 0-31.09-.39a33.74 33.74 0 0 0-16.76 29.47v79.05L63.85 116.44a30.54 30.54 0 0 0-31.09-.39A33.74 33.74 0 0 0 16 145.52v221A33.74 33.74 0 0 0 32.76 396a30.54 30.54 0 0 0 31.09-.39L244.57 287.4v79.08A33.74 33.74 0 0 0 261.33 396a30.54 30.54 0 0 0 31.09-.39l188.87-113a31.27 31.27 0 0 0 0-53z",fill:"currentColor"},null,-1),_hoisted_3$C=[_hoisted_2$P],PlayForward=vue.defineComponent({name:"PlayForward",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$13,_hoisted_3$C)}}),_hoisted_1$12={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$O=vue.createElementVNode("path",{d:"M320 146s24.36-12-64-12a160 160 0 1 0 160 160",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_3$B=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 58l80 80l-80 80"},null,-1),_hoisted_4$r=[_hoisted_2$O,_hoisted_3$B],RefreshOutline=vue.defineComponent({name:"RefreshOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$12,_hoisted_4$r)}}),_hoisted_1$11={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$N=vue.createElementVNode("path",{d:"M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_3$A=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M338.29 338.29L448 448"},null,-1),_hoisted_4$q=[_hoisted_2$N,_hoisted_3$A],SearchOutline=vue.defineComponent({name:"SearchOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$11,_hoisted_4$q)}}),_hoisted_1$10={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$M=vue.createElementVNode("path",{d:"M434.67 285.59v-29.8c0-98.73-80.24-178.79-179.2-178.79a179 179 0 0 0-140.14 67.36m-38.53 82v29.8C76.8 355 157 435 256 435a180.45 180.45 0 0 0 140-66.92",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$z=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M32 256l44-44l46 44"},null,-1),_hoisted_4$p=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M480 256l-44 44l-46-44"},null,-1),_hoisted_5$h=[_hoisted_2$M,_hoisted_3$z,_hoisted_4$p],SyncOutline=vue.defineComponent({name:"SyncOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$10,_hoisted_5$h)}}),_hoisted_1$$={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$L=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M32 415.5l120-320l120 320"},null,-1),_hoisted_3$y=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M230 303.5H74"},null,-1),_hoisted_4$o=vue.createElementVNode("path",{d:"M326 239.5c12.19-28.69 41-48 74-48h0c46 0 80 32 80 80v144",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_5$g=vue.createElementVNode("path",{d:"M320 358.5c0 36 26.86 58 60 58c54 0 100-27 100-106v-15c-20 0-58 1-92 5c-32.77 3.86-68 19-68 58z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_6$c=[_hoisted_2$L,_hoisted_3$y,_hoisted_4$o,_hoisted_5$g],TextOutline=vue.defineComponent({name:"TextOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$$,_hoisted_6$c)}}),_sfc_main$1g=vue.defineComponent({__name:"BxIcon",props:{size:{}},setup(m){return(c,ie)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-icon",{...typeof c.size=="string"?{["size-"+c.size]:!0}:{}}]),style:vue.normalizeStyle({...typeof c.size=="number"?{"--icon-size":`${c.size}px`}:{}})},[vue.renderSlot(c.$slots,"default",{},void 0,!0)],6))}}),BxIcon_vue_vue_type_style_index_0_scoped_74c5df5a_lang="",BxIcon=_export_sfc(_sfc_main$1g,[["__scopeId","data-v-74c5df5a"]]),_hoisted_1$_={key:0,class:"icon-wrapper"},_hoisted_2$K={class:"title-wrapper"},_hoisted_3$x={key:1},_hoisted_4$n={key:1,class:"actions-wrapper"},_sfc_main$1f=vue.defineComponent({__name:"PopupElement",props:{type:{},title:{},fullscreen:{type:Boolean},closeable:{type:Boolean},transculent:{type:Boolean},customClasses:{},fullLayer:{type:Boolean},capturedContext:{default:()=>({})}},emits:["close"],setup(m,{emit:c}){const ie=m;ie.capturedContext&&Object.entries(ie.capturedContext).forEach(([Ze,ne])=>{const rr=typeof Ze=="string"&&Ze.startsWith("Symbol(")?Symbol.for(Ze.slice(7,-1)):Ze;vue.provide(rr,ne)});const we=c,Ie=vue.useSlots();function Me(){we("close")}return(Ze,ne)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["popup-element",{["type-"+Ze.type]:!0,...Object.fromEntries(Ze.customClasses.map(rr=>[rr,!0])),"full-layer":Ze.fullLayer}])},[vue.createElementVNode("div",{class:vue.normalizeClass(["popup-content",{fullscreen:Ze.fullscreen,transculent:Ze.transculent}])},[vue.createElementVNode("header",{class:vue.normalizeClass({"has-title":!!Ie.title||Ze.title,"has-icon":!!Ie.icon})},[Ie.icon!==void 0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$_,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.renderSlot(Ze.$slots,"icon",vue.normalizeProps(vue.guardReactiveProps({close:Me})),void 0,!0)]),_:3})])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_2$K,[Ie.title!==void 0?vue.renderSlot(Ze.$slots,"title",vue.normalizeProps(vue.mergeProps({key:0},{close:Me})),void 0,!0):Ze.title?(vue.openBlock(),vue.createElementBlock("h3",_hoisted_3$x,vue.toDisplayString(Ze.title),1)):vue.createCommentVNode("",!0)]),Ie["header-actions"]!==void 0||Ze.closeable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$n,[Ie["header-actions"]!==void 0?vue.renderSlot(Ze.$slots,"header-actions",vue.normalizeProps(vue.mergeProps({key:0},{close:Me})),void 0,!0):vue.createCommentVNode("",!0),Ie["close-btn"]?vue.renderSlot(Ze.$slots,"close-btn",vue.normalizeProps(vue.mergeProps({key:1},{close:Me})),void 0,!0):Ze.closeable?(vue.openBlock(),vue.createBlock(BxButton,{key:2,tertiary:"",circle:"",onClick:Me,class:"popup-close-btn",style:{padding:"8px"}},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,{size:18},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),_:1})):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2),vue.createElementVNode("main",null,[vue.renderSlot(Ze.$slots,"default",vue.normalizeProps(vue.guardReactiveProps({close:Me})),void 0,!0)])],2)],2))}}),PopupElement_vue_vue_type_style_index_0_scoped_bfd5ce25_lang="",PopupElement=_export_sfc(_sfc_main$1f,[["__scopeId","data-v-bfd5ce25"]]),_hoisted_1$Z={class:"symbol-wrapper"},_hoisted_2$J={class:"message-content"},_hoisted_3$w={key:0,class:"title-wrapper"},_hoisted_4$m={key:1},_hoisted_5$f={class:"message-wrapper"},_hoisted_6$b={key:1},_sfc_main$1e=vue.defineComponent({__name:"MessageElement",props:{type:{},title:{},message:{},closeable:{type:Boolean},customClasses:{},maxWidth:{},injections:{},placement:{},capturedContext:{}},setup(m){const c=m,ie=vue.useSlots();return c.capturedContext&&Object.entries(c.capturedContext).forEach(([we,Ie])=>{const Me=typeof we=="string"&&we.startsWith("Symbol(")?Symbol.for(we.slice(7,-1)):we;vue.provide(Me,Ie)}),(we,Ie)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["message-element",{[`placement-${we.placement}`]:!0}])},[vue.createElementVNode("div",{class:"message-body",style:vue.normalizeStyle({maxWidth:we.maxWidth})},[vue.createElementVNode("div",_hoisted_1$Z,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[ie.icon?vue.renderSlot(we.$slots,"icon",{key:0},void 0,!0):we.type==="success"?(vue.openBlock(),vue.createBlock(vue.unref(CheckmarkCircle),{key:1})):vue.createCommentVNode("",!0)]),_:3})]),vue.createElementVNode("div",_hoisted_2$J,[ie.title||we.title?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$w,[ie.title?vue.renderSlot(we.$slots,"title",{key:0},void 0,!0):we.title?(vue.openBlock(),vue.createElementBlock("span",_hoisted_4$m,vue.toDisplayString(we.title),1)):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_5$f,[ie.message?vue.renderSlot(we.$slots,"message",{key:0},void 0,!0):we.message?(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$b,vue.toDisplayString(we.message),1)):vue.createCommentVNode("",!0)])])],4)],2))}}),MessageElement_vue_vue_type_style_index_0_scoped_c7df277f_lang="",MessageElement=_export_sfc(_sfc_main$1e,[["__scopeId","data-v-c7df277f"]]);function captureCurrentContext(){const m=vue.getCurrentInstance(),c={};if(!m)return c;let ie=m.parent;for(;ie;){const we=ie;we.provides&&Object.assign(c,we.provides),ie=ie.parent}return c}window.addEventListener("load",()=>{const m=document.querySelector(GLOBAL_APP_WRAPPER_SELECTOR);!m||(m.classList.add("bluepic-popup-app-wrapper"),m.parentElement?.classList.add("bluepic-popup-body"))});function createMessage(m){const c=window.bluepicPopupProvider,ie=m.capturedContext||captureCurrentContext(),we=nanoid(),Ie=vue.computed({get(){return c.popoverProviderRef.isVisible(we)},set(Me){Me?c.popoverProviderRef.push(we,()=>vue.h(MessageElement,{placement:"top-right",type:m.type,title:typeof m.title=="string"?m.title:void 0,message:typeof m.message=="string"?m.message:void 0,closeable:m.closeable??!0,customClasses:m.customClasses??[],maxWidth:m.maxWidth,capturedContext:ie},{title:typeof m.title=="function"?m.title:void 0,message:typeof m.message=="function"?m.message:void 0,icon:m.icon}),{darkenBackground:m.darkenBackground??!1,handleClickOutside(){Ie.value=!1}}):c.popoverProviderRef.pull(we)}});return Ie.value=!0,m.closeAfter&&setTimeout(()=>{Ie.value=!1},m.closeAfter),{show:Ie}}function createPopup(m){const c=window.bluepicPopupProvider,ie=m.capturedContext||captureCurrentContext(),we=nanoid(),Ie=vue.computed({get(){return c.popupProviderRef.isVisible(we)},set(Ze){Ze?c.popupProviderRef.push(we,()=>vue.h(PopupElement,{type:m.type??"frame",title:typeof m.title=="string"?m.title:void 0,fullscreen:!1,closeable:m.closeable??!0,transculent:m.transculent??!1,customClasses:m.customClasses??[],fullLayer:m.fullLayer??!1,capturedContext:ie},{default:()=>vue.h("div",{},[typeof m.content=="string"?m.content:m.content(),...m.actions?typeof m.actions=="function"?m.actions():[vue.h("div",{},m.actions.map(ne=>vue.h(BxButton,{...ne.props},{icon:ne.icon,default:()=>ne.label})))]:[]]),title:typeof m.title=="function"?m.title:void 0,header:m.header,icon:m.icon,"close-btn":m.closeBtn}),{type:m.type??"frame",close(){Ie.value=!1},disableBackgroundEffect:m.disableBackgroundEffect??!1,wrapperCustomClasses:m.wrapperCustomClasses??[],handleClickOutside(){Ie.value=!1}}):c.popupProviderRef.pull(we)}});function Me(){Ie.value=!1}return Ie.value=!0,{close:Me}}function usePopup(){const m=captureCurrentContext();return{createPopup:c=>createPopup({...c,capturedContext:m}),createMessage:c=>createMessage({...c,capturedContext:m})}}const _hoisted_1$Y={key:0,class:"bx-progress__circle"},_hoisted_2$I={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},_hoisted_3$v=["d"],_hoisted_4$l={class:"bx-progress__bar-inner"},_sfc_main$1d=vue.defineComponent({__name:"BxProgress",props:{value:{},circle:{type:Boolean,default:!1},transition:{type:Boolean,default:!0}},setup(m){const c=m;function ie(Ie,Me,Ze=0,ne=0){Ie=Math.max(0,Math.min(100,Ie));const rr=Ie/100*360,vr=(rr-90)*(Math.PI/180),lr=Ze+Me*Math.cos(vr),yr=ne+Me*Math.sin(vr),kr=rr>180?1:0;return[`M ${Ze} ${ne-Me}`,`A ${Me} ${Me} 0 ${kr} 1 ${lr} ${yr}`].join(" ")}const we=vue.computed(()=>c.value!==void 0?ie(c.value*100,45,50,50):"");return(Ie,Me)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-progress",{circle:Ie.circle}])},[Ie.circle?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$Y,[(vue.openBlock(),vue.createElementBlock("svg",_hoisted_2$I,[vue.createElementVNode("path",{d:we.value,class:"circle-progress-path"},null,8,_hoisted_3$v)]))])):(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["bx-progress__bar",{circle:Ie.circle}]),style:vue.normalizeStyle({"--progress":Ie.value})},[vue.createElementVNode("div",_hoisted_4$l,[vue.createElementVNode("div",{class:vue.normalizeClass(["bx-progress__bar-fill",{transition:Ie.transition}])},null,2)])],6))],2))}}),BxProgress_vue_vue_type_style_index_0_scoped_ce3eb72c_lang="",BxProgress=_export_sfc(_sfc_main$1d,[["__scopeId","data-v-ce3eb72c"]]);function useSlotVNodes(m){let c=[];const ie=vue.ref([]),we=vue.computed(()=>m()),Ie=Me=>Ze=>{const ne=(()=>{if(Ze instanceof HTMLElement)return Ze;if(Ze instanceof Node)return Ze.nextSibling;if(Ze?.$el instanceof HTMLElement)return Ze.$el})();!ne||(c[Me]=ne)};return vue.watch(we,()=>{c=[],vue.nextTick(()=>{ie.value=c})},{immediate:!0}),{setSlotRef:Ie,slotElements:ie,vNodes:we}}const _sfc_main$1c=vue.defineComponent({__name:"Popup",props:{trigger:{default:"click"},type:{default:"layer"},title:{},fullscreen:{type:Boolean,default:!1},show:{type:Boolean,default:!1},closeable:{type:Boolean,default:!0},transculent:{type:Boolean,default:!1},customClasses:{default:()=>[]},wrapperCustomClasses:{default:()=>[]},fullLayer:{type:Boolean,default:!1},disableBackgroundEffect:{type:Boolean,default:!1},debug:{type:Boolean,default:!1}},emits:["update:show"],setup(m,{emit:c}){const ie=m,we=c,Ie=nanoid(),Me=vue.useSlots(),{setSlotRef:Ze,slotElements:ne,vNodes:rr}=useSlotVNodes(Me.trigger),vr=captureCurrentContext(),lr=vue.computed({get(){return kr.popupProviderRef.isVisible(Ie)},set(Br){console.log("SET",Ie,Br),Br?kr.popupProviderRef.push(Ie,()=>vue.h(PopupElement,{type:ie.type,title:ie.title,fullscreen:ie.fullscreen,transculent:ie.transculent,customClasses:ie.customClasses,closeable:ie.closeable,fullLayer:ie.fullLayer,capturedContext:vr},{default:Me.content,title:Me.title,["header-actions"]:Me["header-actions"],["close-btn"]:Me["close-btn"]}),{type:ie.type,close(){lr.value=!1},disableBackgroundEffect:ie.disableBackgroundEffect,wrapperCustomClasses:ie.wrapperCustomClasses,handleClickOutside:()=>{lr.value=!1}}):kr.popupProviderRef.pull(Ie),ie.show!==Br&&we("update:show",Br)}});vue.onUnmounted(()=>{console.log("UNMOUNT BXPOPUP",Ie),kr.popupProviderRef.pull(Ie)}),vue.watch(()=>ie.show,()=>{console.log("POPUP",Ie),console.log("show",ie.show),ie.show!==lr.value&&(lr.value=ie.show)});function yr(){lr.value=!lr.value}vue.watch(ne,()=>{for(const Br of ne.value)Br.addEventListener("click",yr)}),vue.onUnmounted(()=>{for(const Br of ne.value)Br.removeEventListener("click",yr)});const kr=window.bluepicPopupProvider;return vue.onMounted(()=>{const Br=document.querySelector(GLOBAL_APP_WRAPPER_SELECTOR);!Br||(Br.classList.add("bluepic-popup-app-wrapper"),Br.parentElement?.classList.add("bluepic-popup-body"))}),(Br,Ar)=>(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(rr),(Pr,Vr)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(Pr),{ref_for:!0,ref:vue.unref(Ze)(Vr)},null,512))),256))}}),_hoisted_1$X={key:0,class:"bx-card__header"},_hoisted_2$H={class:"bx-card__header-inner"},_hoisted_3$u={key:1,class:"bx-card__title-wrapper"},_hoisted_4$k={key:1},_hoisted_5$e={key:0,class:"bx-card__header-extra"},_hoisted_6$a={key:1,class:"bx-card__cover"},_hoisted_7$7=["src"],_hoisted_8$6={key:2,class:"bx-card__content"},_hoisted_9$5={key:3,class:"bx-card__footer"},_sfc_main$1b=vue.defineComponent({__name:"BxCard",props:{title:{},description:{},cover:{},size:{default:"medium"},bordered:{type:Boolean,default:!0},transculent:{type:Boolean,default:!1},coverWidth:{},hoverable:{type:Boolean,default:!1},dividers:{type:Boolean,default:!0}},setup(m){const c=vue.useSlots();return(ie,we)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-card",{bordered:ie.bordered,transculent:ie.transculent,["size-"+ie.size]:!0,hoverable:ie.hoverable,dividers:ie.dividers}])},[c.header||c.title||ie.title?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$X,[vue.createElementVNode("div",_hoisted_2$H,[c.header?vue.renderSlot(ie.$slots,"header",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$u,[c.title?vue.renderSlot(ie.$slots,"title",{key:0},void 0,!0):ie.title?(vue.openBlock(),vue.createElementBlock("h3",_hoisted_4$k,vue.toDisplayString(ie.title),1)):vue.createCommentVNode("",!0)]))]),c["header-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$e,[vue.renderSlot(ie.$slots,"header-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0),c.cover||ie.cover?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$a,[c.cover?vue.renderSlot(ie.$slots,"cover",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock("img",{key:1,src:ie.cover,alt:"cover",style:vue.normalizeStyle({"--cover-width":ie.coverWidth})},null,12,_hoisted_7$7))])):vue.createCommentVNode("",!0),c.default?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$6,[vue.renderSlot(ie.$slots,"default",{},void 0,!0)])):vue.createCommentVNode("",!0),c.footer?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$5,[vue.renderSlot(ie.$slots,"footer",{},void 0,!0)])):vue.createCommentVNode("",!0)],2))}}),BxCard_vue_vue_type_style_index_0_scoped_29953d03_lang="",BxCard=_export_sfc(_sfc_main$1b,[["__scopeId","data-v-29953d03"]]),_hoisted_1$W={class:"bx-upload"},_hoisted_2$G={class:"bx-upload__icon-wrapper"},_hoisted_3$t={class:"bx-upload__title"},_hoisted_4$j={class:"bx-upload__description"},_sfc_main$1a=vue.defineComponent({__name:"BxUpload",props:{type:{},accept:{default:()=>["image/*"]},title:{default:"Upload"},description:{default:"Drag and drop files here or click to upload"},uploadProgress:{},maxSize:{default:1/0}},emits:["select"],setup(m,{emit:c}){const ie=m,we=c,Ie=vue.useSlots(),Me=vue.ref(!1);function Ze(kr){kr.preventDefault(),kr.stopPropagation()}function ne(kr){kr.preventDefault(),kr.stopPropagation(),Me.value=!0}function rr(kr){kr.preventDefault(),kr.stopPropagation()}function vr(kr){kr.preventDefault(),kr.stopPropagation(),Me.value=!1}async function lr(kr){kr.preventDefault(),kr.stopPropagation(),Me.value=!1;const Br=Array.from(kr.dataTransfer.files).filter(Ar=>{const[Pr,Vr]=Ar.type.split("/");return ie.accept.some(ei=>{const[Nr,Zr]=ei.split("/");return(Nr==="*"||Nr===Pr)&&(Zr==="*"||Zr===Vr)})});we("select",Br)}async function yr(){const kr=await openFiles({types:ie.accept,maxSize:ie.maxSize,multiple:!0});we("select",kr)}return(kr,Br)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$W,[kr.type==="area"?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:vue.normalizeClass(["bx-upload__area",{dragging:Me.value}]),onDragstart:Ze,onDragenter:ne,onDragover:rr,onDragleave:vr,onDrop:lr,onClick:yr},[vue.createElementVNode("div",_hoisted_2$G,[kr.uploadProgress!==void 0?(vue.openBlock(),vue.createBlock(BxProgress,{key:0,value:kr.uploadProgress,circle:"",size:"medium"},null,8,["value"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[Ie.icon?vue.renderSlot(kr.$slots,"icon",{key:0},void 0,!0):(vue.openBlock(),vue.createBlock(vue.unref(ArchiveOutline),{key:1}))],64))]),vue.createElementVNode("div",_hoisted_3$t,[kr.uploadProgress!==void 0?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(" Uploading ")],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[Ie.title?vue.renderSlot(kr.$slots,"title",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(kr.title),1)],64))],64))]),vue.createElementVNode("div",_hoisted_4$j,[kr.uploadProgress!==void 0?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(vue.unref(round$3)(kr.uploadProgress*100,5))+"% ",1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[Ie.description?vue.renderSlot(kr.$slots,"description",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(kr.description),1)],64))],64))])],34)):kr.type==="button"?(vue.openBlock(),vue.createBlock(BxButton,{key:1,accept:kr.accept},{icon:vue.withCtx(()=>[Ie.icon?vue.renderSlot(kr.$slots,"icon",{key:0},void 0,!0):(vue.openBlock(),vue.createBlock(vue.unref(ArchiveOutline),{key:1}))]),default:vue.withCtx(()=>[Br[0]||(Br[0]=vue.createTextVNode(" Upload "))]),_:3},8,["accept"])):vue.createCommentVNode("",!0)]))}}),BxUpload_vue_vue_type_style_index_0_scoped_88ad31a3_lang="",BxUpload=_export_sfc(_sfc_main$1a,[["__scopeId","data-v-88ad31a3"]]),_hoisted_1$V={class:"image-library-upload"},_hoisted_2$F={class:"upload-progress-wrapper"},_sfc_main$19=vue.defineComponent({__name:"Upload",props:{width:{},height:{},quality:{},convertTo:{},field:{},handleUpload:{type:Function}},emits:["upload"],setup(m,{emit:c}){const ie=m,we=c,{uploadFiles:Ie,uploadProgresses:Me,uploading:Ze}=useUpload(vue.toRef(ie,"width"),vue.toRef(ie,"height"),vue.toRef(ie,"convertTo"),vue.toRef(ie,"quality"),ie.handleUpload,vue.toRef(ie,"field")),ne=vue.computed(()=>{const vr=round$3(Me.value.reduce((lr,yr)=>lr+yr,0)/Me.value.length,5);if(!isNaN(vr))return vr});async function rr(vr){const lr=await Ie(vr);we("upload",lr)}return(vr,lr)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$V,[vue.createVNode(BxUpload,{type:"area",onSelect:rr,"upload-progress":ne.value},null,8,["upload-progress"]),vue.createElementVNode("div",_hoisted_2$F,[vue.unref(Ze)?(vue.openBlock(),vue.createBlock(BxProgress,{key:0,value:ne.value},null,8,["value"])):vue.createCommentVNode("",!0)])]))}}),Upload_vue_vue_type_style_index_0_scoped_73dc9b99_lang="",UploadLibraryComponent=_export_sfc(_sfc_main$19,[["__scopeId","data-v-73dc9b99"]]),getPrototypeOf$1=Object.getPrototypeOf,getOwnProperties=Object.getOwnPropertySymbols?function(m){return Object.keys(m).concat(Object.getOwnPropertySymbols(m))}:Object.keys;function checkEquality(m,c,ie){var we,Ie,Me,Ze=Object.prototype.toString.call(m),ne=Object.prototype.toString.call(c);if(m===c)return!0;if(m==null||c==null)return!1;if(ie.indexOf(m)>-1&&ie.indexOf(c)>-1)return!0;if(ie.push(m,c),Ze!=ne||(we=getOwnProperties(m),Ie=getOwnProperties(c),we.length!=Ie.length||we.some(function(rr){return!checkEquality(m[rr],c[rr],ie)})))return!1;switch(Ze.slice(8,-1)){case"Symbol":return m.valueOf()==c.valueOf();case"Date":case"Number":return+m==+c||+m!=+m&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+m==""+c;case"Set":case"Map":{we=m.entries(),Ie=c.entries();do if(Me=we.next(),!checkEquality(Me.value,Ie.next().value,ie))return!1;while(!Me.done);return!0}case"ArrayBuffer":m=new Uint8Array(m),c=new Uint8Array(c);case"DataView":m=new Uint8Array(m.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(m.length!=c.length)return!1;for(Me=0;Me<m.length;Me++)if(!(!(Me in m)&&!(Me in c))&&(Me in m!=Me in c||!checkEquality(m[Me],c[Me],ie)))return!1;return!0;case"Object":return checkEquality(getPrototypeOf$1(m),getPrototypeOf$1(c),ie);default:return!1}}function isEqual(m,c){return checkEquality(m,c,[])}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs$1(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}function getAugmentedNamespace(m){var c=m.default;if(typeof c=="function"){var ie=function(){return c.apply(this,arguments)};ie.prototype=c.prototype}else ie={};return Object.defineProperty(ie,"__esModule",{value:!0}),Object.keys(m).forEach(function(we){var Ie=Object.getOwnPropertyDescriptor(m,we);Object.defineProperty(ie,we,Ie.get?Ie:{enumerable:!0,get:function(){return m[we]}})}),ie}var lodash={exports:{}};/**
|
|
14
|
+
`});we.addEventListener("change",()=>{we.files&&c(Array.from(we.files).filter(Ie=>Ie.size<=m.maxSize))}),document.body.append(we),we.click()})}const _sfc_main$1i=vue.defineComponent({__name:"BxSpin",props:{size:{default:"medium"}},setup(m){return(c,ie)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-spin",{[`size-${c.size}`]:!0}])},null,2))}}),BxSpin_vue_vue_type_style_index_0_scoped_d53f8f21_lang="",_export_sfc=(m,c)=>{const ie=m.__vccOpts||m;for(const[we,Ie]of c)ie[we]=Ie;return ie},BxSpin=_export_sfc(_sfc_main$1i,[["__scopeId","data-v-d53f8f21"]]),_hoisted_1$1L={key:0,class:"icon-wrapper"},_hoisted_2$1v={key:1,class:"label"},_sfc_main$1h=vue.defineComponent({__name:"BxButton",props:{size:{default:"medium"},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},tertiary:{type:Boolean},quarternary:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},state:{default:"default"},centered:{type:Boolean},tag:{default:"button"},loading:{type:Boolean,default:!1}},setup(m){const c=vue.useSlots();return(ie,we)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(ie.tag),{class:vue.normalizeClass(["bx-button",{"has-icon":!!c.icon,circle:ie.circle,round:ie.round,"has-label":!!c.default,secondary:ie.secondary,primary:ie.primary,tertiary:ie.tertiary,quarternary:ie.quarternary,disabled:ie.disabled,["state-"+ie.state]:!0,["size-"+ie.size]:!0,centered:ie.centered}])},{default:vue.withCtx(()=>[c.icon||ie.loading?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1L,[ie.loading?(vue.openBlock(),vue.createBlock(BxSpin,{key:0,size:"small"})):vue.renderSlot(ie.$slots,"icon",{key:1},void 0,!0)])):vue.createCommentVNode("",!0),c.default?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$1v,[vue.renderSlot(ie.$slots,"default",{},void 0,!0)])):vue.createCommentVNode("",!0)]),_:3},8,["class"]))}}),BxButton_vue_vue_type_style_index_0_scoped_a63e3b71_lang="",BxButton=_export_sfc(_sfc_main$1h,[["__scopeId","data-v-a63e3b71"]]),urlAlphabet="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let nanoid=(m=21)=>{let c="",ie=crypto.getRandomValues(new Uint8Array(m|=0));for(;m--;)c+=urlAlphabet[ie[m]&63];return c};const _hoisted_1$1K={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1u=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 112v288"},null,-1),_hoisted_3$19=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"},null,-1),_hoisted_4$R=[_hoisted_2$1u,_hoisted_3$19],AddOutline=vue.defineComponent({name:"AddOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1K,_hoisted_4$R)}}),_hoisted_1$1J={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1t=vue.createElementVNode("path",{d:"M256 80c-8.66 0-16.58 7.36-16 16l8 216a8 8 0 0 0 8 8h0a8 8 0 0 0 8-8l8-216c.58-8.64-7.34-16-16-16z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$18=vue.createElementVNode("circle",{cx:"256",cy:"416",r:"16",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_4$Q=[_hoisted_2$1t,_hoisted_3$18],AlertOutline=vue.defineComponent({name:"AlertOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1J,_hoisted_4$Q)}}),_hoisted_1$1I={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1s=vue.createStaticVNode('<rect x="64" y="64" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="216" y="64" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="368" y="64" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="64" y="216" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="216" y="216" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="368" y="216" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="64" y="368" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="216" y="368" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect><rect x="368" y="368" width="80" height="80" rx="40" ry="40" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></rect>',9),_hoisted_11$6=[_hoisted_2$1s],AppsOutline=vue.defineComponent({name:"AppsOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1I,_hoisted_11$6)}}),_hoisted_1$1H={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1r=vue.createElementVNode("path",{d:"M80 152v256a40.12 40.12 0 0 0 40 40h272a40.12 40.12 0 0 0 40-40V152",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$17=vue.createElementVNode("rect",{x:"48",y:"64",width:"416",height:"80",rx:"28",ry:"28",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_4$P=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 304l-64 64l-64-64"},null,-1),_hoisted_5$w=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 345.89V224"},null,-1),_hoisted_6$g=[_hoisted_2$1r,_hoisted_3$17,_hoisted_4$P,_hoisted_5$w],ArchiveOutline=vue.defineComponent({name:"ArchiveOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1H,_hoisted_6$g)}}),_hoisted_1$1G={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1q=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144"},null,-1),_hoisted_3$16=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M120 256h292"},null,-1),_hoisted_4$O=[_hoisted_2$1q,_hoisted_3$16],ArrowBackOutline=vue.defineComponent({name:"ArrowBackOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1G,_hoisted_4$O)}}),_hoisted_1$1F={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1p=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M268 112l144 144l-144 144"},null,-1),_hoisted_3$15=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M392 256H100"},null,-1),_hoisted_4$N=[_hoisted_2$1p,_hoisted_3$15],ArrowForwardOutline=vue.defineComponent({name:"ArrowForwardOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1F,_hoisted_4$N)}}),_hoisted_1$1E={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1o=vue.createElementVNode("path",{d:"M448 256L272 88v96C103.57 184 64 304.77 64 424c48.61-62.24 91.6-96 208-96v96z",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$14=[_hoisted_2$1o],ArrowRedoOutline=vue.defineComponent({name:"ArrowRedoOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1E,_hoisted_3$14)}}),_hoisted_1$1D={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1n=vue.createStaticVNode('<rect x="-24.43" y="167.88" width="560.87" height="176.25" rx="88.12" ry="88.12" transform="rotate(-45 256 256.002)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></rect><rect x="169.41" y="156.59" width="176" height="196" rx="32" ry="32" transform="rotate(45 257.409 254.582)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></rect><circle cx="256" cy="208" r="16" fill="currentColor"></circle><circle cx="304" cy="256" r="16" fill="currentColor"></circle><circle cx="208" cy="256" r="16" fill="currentColor"></circle><circle cx="256" cy="304" r="16" fill="currentColor"></circle>',6),_hoisted_8$a=[_hoisted_2$1n],BandageOutline=vue.defineComponent({name:"BandageOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1D,_hoisted_8$a)}}),_hoisted_1$1C={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1m=vue.createStaticVNode('<path d="M304 384v-24c0-29 31.54-56.43 52-76c28.84-27.57 44-64.61 44-108c0-80-63.73-144-144-144a143.6 143.6 0 0 0-144 144c0 41.84 15.81 81.39 44 108c20.35 19.21 52 46.7 52 76v24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M224 480h64"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M208 432h96"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 384V256"></path><path d="M294 240s-21.51 16-38 16s-38-16-38-16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></path>',5),_hoisted_7$8=[_hoisted_2$1m],BulbOutline=vue.defineComponent({name:"BulbOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1C,_hoisted_7$8)}}),_hoisted_1$1B={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1l=vue.createElementVNode("rect",{x:"48",y:"96",width:"416",height:"320",rx:"56",ry:"56",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$13=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"60",d:"M48 192h416"},null,-1),_hoisted_4$M=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"60",d:"M128 300h48v20h-48z"},null,-1),_hoisted_5$v=[_hoisted_2$1l,_hoisted_3$13,_hoisted_4$M],CardOutline=vue.defineComponent({name:"CardOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1B,_hoisted_5$v)}}),_hoisted_1$1A={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1k=vue.createElementVNode("path",{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48zm108.25 138.29l-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32l122.59-145.91a16 16 0 0 1 24.5 20.58z",fill:"currentColor"},null,-1),_hoisted_3$12=[_hoisted_2$1k],CheckmarkCircle=vue.defineComponent({name:"CheckmarkCircle",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1A,_hoisted_3$12)}}),_hoisted_1$1z={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1j=vue.createElementVNode("path",{d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_3$11=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M352 176L217.6 336L160 272"},null,-1),_hoisted_4$L=[_hoisted_2$1j,_hoisted_3$11],CheckmarkCircleOutline=vue.defineComponent({name:"CheckmarkCircleOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1z,_hoisted_4$L)}}),_hoisted_1$1y={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1i=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M416 128L192 384l-96-96"},null,-1),_hoisted_3$10=[_hoisted_2$1i],CheckmarkOutline=vue.defineComponent({name:"CheckmarkOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1y,_hoisted_3$10)}}),_hoisted_1$1x={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1h=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M328 112L184 256l144 144"},null,-1),_hoisted_3$$=[_hoisted_2$1h],ChevronBackOutline=vue.defineComponent({name:"ChevronBackOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1x,_hoisted_3$$)}}),_hoisted_1$1w={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1g=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M112 184l144 144l144-144"},null,-1),_hoisted_3$_=[_hoisted_2$1g],ChevronDownOutline=vue.defineComponent({name:"ChevronDownOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1w,_hoisted_3$_)}}),_hoisted_1$1v={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1f=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M184 112l144 144l-144 144"},null,-1),_hoisted_3$Z=[_hoisted_2$1f],ChevronForwardOutline=vue.defineComponent({name:"ChevronForwardOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1v,_hoisted_3$Z)}}),_hoisted_1$1u={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1e=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M112 328l144-144l144 144"},null,-1),_hoisted_3$Y=[_hoisted_2$1e],ChevronUpOutline=vue.defineComponent({name:"ChevronUpOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1u,_hoisted_3$Y)}}),_hoisted_1$1t={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1d=vue.createElementVNode("path",{d:"M336 64h32a48 48 0 0 1 48 48v320a48 48 0 0 1-48 48H144a48 48 0 0 1-48-48V112a48 48 0 0 1 48-48h32",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$X=vue.createElementVNode("rect",{x:"176",y:"32",width:"160",height:"64",rx:"26.13",ry:"26.13",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_4$K=[_hoisted_2$1d,_hoisted_3$X],ClipboardOutline=vue.defineComponent({name:"ClipboardOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1t,_hoisted_4$K)}}),_hoisted_1$1s={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1c=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),_hoisted_3$W=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1),_hoisted_4$J=[_hoisted_2$1c,_hoisted_3$W],CloseOutline=vue.defineComponent({name:"CloseOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1s,_hoisted_4$J)}}),_hoisted_1$1r={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1b=vue.createElementVNode("path",{d:"M320 336h76c55 0 100-21.21 100-75.6s-53-73.47-96-75.6C391.11 99.74 329 48 256 48c-69 0-113.44 45.79-128 91.2c-60 5.7-112 35.88-112 98.4S70 336 136 336h56",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$V=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M192 400.1l64 63.9l64-63.9"},null,-1),_hoisted_4$I=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 224v224.03"},null,-1),_hoisted_5$u=[_hoisted_2$1b,_hoisted_3$V,_hoisted_4$I],CloudDownloadOutline=vue.defineComponent({name:"CloudDownloadOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1r,_hoisted_5$u)}}),_hoisted_1$1q={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$1a=vue.createElementVNode("path",{d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$U=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 255.79l-64-64l-64 64"},null,-1),_hoisted_4$H=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 448.21V207.79"},null,-1),_hoisted_5$t=[_hoisted_2$1a,_hoisted_3$U,_hoisted_4$H],CloudUploadOutline=vue.defineComponent({name:"CloudUploadOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1q,_hoisted_5$t)}}),_hoisted_1$1p={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$19=vue.createStaticVNode('<path d="M430.11 347.9c-6.6-6.1-16.3-7.6-24.6-9c-11.5-1.9-15.9-4-22.6-10c-14.3-12.7-14.3-31.1 0-43.8l30.3-26.9c46.4-41 46.4-108.2 0-149.2c-34.2-30.1-80.1-45-127.8-45c-55.7 0-113.9 20.3-158.8 60.1c-83.5 73.8-83.5 194.7 0 268.5c41.5 36.7 97.5 55 152.9 55.4h1.7c55.4 0 110-17.9 148.8-52.4c14.4-12.7 11.99-36.6.1-47.7z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></path><circle cx="144" cy="208" r="32" fill="currentColor"></circle><circle cx="152" cy="311" r="32" fill="currentColor"></circle><circle cx="224" cy="144" r="32" fill="currentColor"></circle><circle cx="256" cy="367" r="48" fill="currentColor"></circle><circle cx="328" cy="144" r="32" fill="currentColor"></circle>',6),_hoisted_8$9=[_hoisted_2$19],ColorPaletteOutline=vue.defineComponent({name:"ColorPaletteOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1p,_hoisted_8$9)}}),_hoisted_1$1o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$18=vue.createElementVNode("path",{d:"M384 224v184a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V168a40 40 0 0 1 40-40h167.48",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$T=vue.createElementVNode("path",{d:"M459.94 53.25a16.06 16.06 0 0 0-23.22-.56L424.35 65a8 8 0 0 0 0 11.31l11.34 11.32a8 8 0 0 0 11.34 0l12.06-12c6.1-6.09 6.67-16.01.85-22.38z",fill:"currentColor"},null,-1),_hoisted_4$G=vue.createElementVNode("path",{d:"M399.34 90L218.82 270.2a9 9 0 0 0-2.31 3.93L208.16 299a3.91 3.91 0 0 0 4.86 4.86l24.85-8.35a9 9 0 0 0 3.93-2.31L422 112.66a9 9 0 0 0 0-12.66l-9.95-10a9 9 0 0 0-12.71 0z",fill:"currentColor"},null,-1),_hoisted_5$s=[_hoisted_2$18,_hoisted_3$T,_hoisted_4$G],CreateOutline=vue.defineComponent({name:"CreateOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1o,_hoisted_5$s)}}),_hoisted_1$1n={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$17=vue.createElementVNode("path",{d:"M144 48v272a48 48 0 0 0 48 48h272",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$S=vue.createElementVNode("path",{d:"M368 304V192a48 48 0 0 0-48-48H208",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_4$F=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368v96"},null,-1),_hoisted_5$r=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 144H48"},null,-1),_hoisted_6$f=[_hoisted_2$17,_hoisted_3$S,_hoisted_4$F,_hoisted_5$r],CropOutline=vue.defineComponent({name:"CropOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1n,_hoisted_6$f)}}),_hoisted_1$1m={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$16=vue.createElementVNode("circle",{cx:"256",cy:"256",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_3$R=vue.createElementVNode("circle",{cx:"256",cy:"416",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_4$E=vue.createElementVNode("circle",{cx:"256",cy:"96",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_5$q=[_hoisted_2$16,_hoisted_3$R,_hoisted_4$E],EllipsisVerticalOutline=vue.defineComponent({name:"EllipsisVerticalOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1m,_hoisted_5$q)}}),_hoisted_1$1l={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$15=vue.createElementVNode("path",{d:"M320 176v-40a40 40 0 0 0-40-40H88a40 40 0 0 0-40 40v240a40 40 0 0 0 40 40h192a40 40 0 0 0 40-40v-40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$Q=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M384 176l80 80l-80 80"},null,-1),_hoisted_4$D=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M191 256h273"},null,-1),_hoisted_5$p=[_hoisted_2$15,_hoisted_3$Q,_hoisted_4$D],ExitOutline=vue.defineComponent({name:"ExitOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1l,_hoisted_5$p)}}),_hoisted_1$1k={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$14=vue.createStaticVNode('<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M432 320v112H320"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M421.8 421.77L304 304"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M80 192V80h112"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M90.2 90.23L208 208"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M320 80h112v112"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M421.77 90.2L304 208"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 432H80V320"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M90.23 421.8L208 304"></path>',8),_hoisted_10$5=[_hoisted_2$14],ExpandOutline=vue.defineComponent({name:"ExpandOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1k,_hoisted_10$5)}}),_hoisted_1$1j={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$13=vue.createElementVNode("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$P=vue.createElementVNode("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_4$C=[_hoisted_2$13,_hoisted_3$P],EyeOutline=vue.defineComponent({name:"EyeOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1j,_hoisted_4$C)}}),_hoisted_1$1i={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$12=vue.createElementVNode("path",{d:"M262.51 204.22L70 396.69C57.56 409.15 48 464 48 464s54.38-9.09 67.31-22L307.8 249.51",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$O=vue.createElementVNode("rect",{x:"211.72",y:"172.19",width:"192.15",height:"64.05",rx:"32.03",ry:"32.03",transform:"rotate(45 307.788 204.2)",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_4$B=vue.createElementVNode("path",{d:"M289.91 141s20.57 8.57 37.22-8.08l54.67-70.63c18.5-19.41 49.26-18.69 67.94 0h0c18.68 18.68 19.34 48.81 0 67.93l-70.68 54.67c-15.65 15.65-8.08 37.22-8.08 37.22",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_5$o=vue.createElementVNode("path",{d:"M115.31 442s-26.48 17.34-44.56-.73s-.75-44.58-.75-44.58",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_6$e=[_hoisted_2$12,_hoisted_3$O,_hoisted_4$B,_hoisted_5$o],EyedropOutline=vue.defineComponent({name:"EyedropOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1i,_hoisted_6$e)}}),_hoisted_1$1h={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$11=vue.createElementVNode("path",{d:"M440 432H72a40 40 0 0 1-40-40V120a40 40 0 0 1 40-40h75.89a40 40 0 0 1 22.19 6.72l27.84 18.56a40 40 0 0 0 22.19 6.72H440a40 40 0 0 1 40 40v240a40 40 0 0 1-40 40z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$N=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M32 192h448"},null,-1),_hoisted_4$A=[_hoisted_2$11,_hoisted_3$N],FolderOutline=vue.defineComponent({name:"FolderOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1h,_hoisted_4$A)}}),_hoisted_1$1g={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$10=vue.createStaticVNode('<path d="M256 48C141.13 48 48 141.13 48 256s93.13 208 208 208s208-93.13 208-208S370.87 48 256 48z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></path><path d="M256 48c-58.07 0-112.67 93.13-112.67 208S197.93 464 256 464s112.67-93.13 112.67-208S314.07 48 256 48z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"></path><path d="M117.33 117.33c38.24 27.15 86.38 43.34 138.67 43.34s100.43-16.19 138.67-43.34" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></path><path d="M394.67 394.67c-38.24-27.15-86.38-43.34-138.67-43.34s-100.43 16.19-138.67 43.34" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></path><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M256 48v416"></path><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M464 256H48"></path>',6),_hoisted_8$8=[_hoisted_2$10],GlobeOutline=vue.defineComponent({name:"GlobeOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1g,_hoisted_8$8)}}),_hoisted_1$1f={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$$=vue.createElementVNode("path",{d:"M160 164s1.44-33 33.54-59.46C212.6 88.83 235.49 84.28 256 84c18.73-.23 35.47 2.94 45.48 7.82C318.59 100.2 352 120.6 352 164c0 45.67-29.18 66.37-62.35 89.18S248 298.36 248 324",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"40"},null,-1),_hoisted_3$M=vue.createElementVNode("circle",{cx:"248",cy:"399.99",r:"32",fill:"currentColor"},null,-1),_hoisted_4$z=[_hoisted_2$$,_hoisted_3$M],HelpOutline=vue.defineComponent({name:"HelpOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1f,_hoisted_4$z)}}),_hoisted_1$1e={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$_=vue.createElementVNode("rect",{x:"48",y:"80",width:"416",height:"352",rx:"48",ry:"48",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$L=vue.createElementVNode("circle",{cx:"336",cy:"176",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_4$y=vue.createElementVNode("path",{d:"M304 335.79l-90.66-90.49a32 32 0 0 0-43.87-1.3L48 352",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_5$n=vue.createElementVNode("path",{d:"M224 432l123.34-123.34a32 32 0 0 1 43.11-2L464 368",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_6$d=[_hoisted_2$_,_hoisted_3$L,_hoisted_4$y,_hoisted_5$n],ImageOutline=vue.defineComponent({name:"ImageOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1e,_hoisted_6$d)}}),_hoisted_1$1d={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$Z=vue.createElementVNode("path",{d:"M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184s184-82.39 184-184S349.61 64 248 64z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_3$K=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M220 220h32v116"},null,-1),_hoisted_4$x=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M208 340h88"},null,-1),_hoisted_5$m=vue.createElementVNode("path",{d:"M248 130a26 26 0 1 0 26 26a26 26 0 0 0-26-26z",fill:"currentColor"},null,-1),_hoisted_6$c=[_hoisted_2$Z,_hoisted_3$K,_hoisted_4$x,_hoisted_5$m],InformationCircleOutline=vue.defineComponent({name:"InformationCircleOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1d,_hoisted_6$c)}}),_hoisted_1$1c={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$Y=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"40",d:"M196 220h64v172"},null,-1),_hoisted_3$J=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"40",d:"M187 396h138"},null,-1),_hoisted_4$w=vue.createElementVNode("path",{d:"M256 160a32 32 0 1 1 32-32a32 32 0 0 1-32 32z",fill:"currentColor"},null,-1),_hoisted_5$l=[_hoisted_2$Y,_hoisted_3$J,_hoisted_4$w],InformationOutline=vue.defineComponent({name:"InformationOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1c,_hoisted_5$l)}}),_hoisted_1$1b={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$X=vue.createStaticVNode('<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M160 144h288"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M160 256h288"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M160 368h288"></path><circle cx="80" cy="144" r="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><circle cx="80" cy="256" r="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><circle cx="80" cy="368" r="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle>',6),_hoisted_8$7=[_hoisted_2$X],ListOutline=vue.defineComponent({name:"ListOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1b,_hoisted_8$7)}}),_hoisted_1$1a={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$W=vue.createElementVNode("path",{d:"M304 336v40a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V136a40 40 0 0 1 40-40h152c22.09 0 48 17.91 48 40v40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$I=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 336l80-80l-80-80"},null,-1),_hoisted_4$v=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M176 256h256"},null,-1),_hoisted_5$k=[_hoisted_2$W,_hoisted_3$I,_hoisted_4$v],LogOutOutline=vue.defineComponent({name:"LogOutOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1a,_hoisted_5$k)}}),_hoisted_1$19={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$V=vue.createElementVNode("path",{d:"M313.27 124.64L198.73 51.36a32 32 0 0 0-29.28.35L56.51 127.49A16 16 0 0 0 48 141.63v295.8a16 16 0 0 0 23.49 14.14l97.82-63.79a32 32 0 0 1 29.5-.24l111.86 73a32 32 0 0 0 29.27-.11l115.43-75.94a16 16 0 0 0 8.63-14.2V74.57a16 16 0 0 0-23.49-14.14l-98 63.86a32 32 0 0 1-29.24.35z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$H=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M328 128v336"},null,-1),_hoisted_4$u=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M184 48v336"},null,-1),_hoisted_5$j=[_hoisted_2$V,_hoisted_3$H,_hoisted_4$u],MapOutline=vue.defineComponent({name:"MapOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$19,_hoisted_5$j)}}),_hoisted_1$18={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$U=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 160h352"},null,-1),_hoisted_3$G=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 256h352"},null,-1),_hoisted_4$t=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 352h352"},null,-1),_hoisted_5$i=[_hoisted_2$U,_hoisted_3$G,_hoisted_4$t],MenuOutline=vue.defineComponent({name:"MenuOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$18,_hoisted_5$i)}}),_hoisted_1$17={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$T=vue.createStaticVNode('<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M368 128h80"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M64 128h240"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M368 384h80"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M64 384h240"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M208 256h240"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M64 256h80"></path><circle cx="336" cy="128" r="32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><circle cx="176" cy="256" r="32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><circle cx="336" cy="384" r="32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle>',9),_hoisted_11$5=[_hoisted_2$T],OptionsOutline=vue.defineComponent({name:"OptionsOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$17,_hoisted_11$5)}}),_hoisted_1$16={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$S=vue.createElementVNode("path",{d:"M208 432h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16z",fill:"currentColor"},null,-1),_hoisted_3$F=vue.createElementVNode("path",{d:"M352 432h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16z",fill:"currentColor"},null,-1),_hoisted_4$s=[_hoisted_2$S,_hoisted_3$F],Pause=vue.defineComponent({name:"Pause",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$16,_hoisted_4$s)}}),_hoisted_1$15={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$R=vue.createElementVNode("path",{d:"M133 440a35.37 35.37 0 0 1-17.5-4.67c-12-6.8-19.46-20-19.46-34.33V111c0-14.37 7.46-27.53 19.46-34.33a35.13 35.13 0 0 1 35.77.45l247.85 148.36a36 36 0 0 1 0 61l-247.89 148.4A35.5 35.5 0 0 1 133 440z",fill:"currentColor"},null,-1),_hoisted_3$E=[_hoisted_2$R],Play=vue.defineComponent({name:"Play",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$15,_hoisted_3$E)}}),_hoisted_1$14={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$Q=vue.createElementVNode("path",{d:"M30.71 229.47l188.87-113a30.54 30.54 0 0 1 31.09-.39a33.74 33.74 0 0 1 16.76 29.47v79.05l180.72-108.16a30.54 30.54 0 0 1 31.09-.39A33.74 33.74 0 0 1 496 145.52v221A33.73 33.73 0 0 1 479.24 396a30.54 30.54 0 0 1-31.09-.39L267.43 287.4v79.08A33.73 33.73 0 0 1 250.67 396a30.54 30.54 0 0 1-31.09-.39l-188.87-113a31.27 31.27 0 0 1 0-53z",fill:"currentColor"},null,-1),_hoisted_3$D=[_hoisted_2$Q],PlayBack=vue.defineComponent({name:"PlayBack",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$14,_hoisted_3$D)}}),_hoisted_1$13={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$P=vue.createElementVNode("path",{d:"M481.29 229.47l-188.87-113a30.54 30.54 0 0 0-31.09-.39a33.74 33.74 0 0 0-16.76 29.47v79.05L63.85 116.44a30.54 30.54 0 0 0-31.09-.39A33.74 33.74 0 0 0 16 145.52v221A33.74 33.74 0 0 0 32.76 396a30.54 30.54 0 0 0 31.09-.39L244.57 287.4v79.08A33.74 33.74 0 0 0 261.33 396a30.54 30.54 0 0 0 31.09-.39l188.87-113a31.27 31.27 0 0 0 0-53z",fill:"currentColor"},null,-1),_hoisted_3$C=[_hoisted_2$P],PlayForward=vue.defineComponent({name:"PlayForward",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$13,_hoisted_3$C)}}),_hoisted_1$12={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$O=vue.createElementVNode("path",{d:"M320 146s24.36-12-64-12a160 160 0 1 0 160 160",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_3$B=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 58l80 80l-80 80"},null,-1),_hoisted_4$r=[_hoisted_2$O,_hoisted_3$B],RefreshOutline=vue.defineComponent({name:"RefreshOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$12,_hoisted_4$r)}}),_hoisted_1$11={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$N=vue.createElementVNode("path",{d:"M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),_hoisted_3$A=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M338.29 338.29L448 448"},null,-1),_hoisted_4$q=[_hoisted_2$N,_hoisted_3$A],SearchOutline=vue.defineComponent({name:"SearchOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$11,_hoisted_4$q)}}),_hoisted_1$10={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$M=vue.createElementVNode("path",{d:"M434.67 285.59v-29.8c0-98.73-80.24-178.79-179.2-178.79a179 179 0 0 0-140.14 67.36m-38.53 82v29.8C76.8 355 157 435 256 435a180.45 180.45 0 0 0 140-66.92",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_3$z=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M32 256l44-44l46 44"},null,-1),_hoisted_4$p=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M480 256l-44 44l-46-44"},null,-1),_hoisted_5$h=[_hoisted_2$M,_hoisted_3$z,_hoisted_4$p],SyncOutline=vue.defineComponent({name:"SyncOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$10,_hoisted_5$h)}}),_hoisted_1$$={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},_hoisted_2$L=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M32 415.5l120-320l120 320"},null,-1),_hoisted_3$y=vue.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M230 303.5H74"},null,-1),_hoisted_4$o=vue.createElementVNode("path",{d:"M326 239.5c12.19-28.69 41-48 74-48h0c46 0 80 32 80 80v144",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_5$g=vue.createElementVNode("path",{d:"M320 358.5c0 36 26.86 58 60 58c54 0 100-27 100-106v-15c-20 0-58 1-92 5c-32.77 3.86-68 19-68 58z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_hoisted_6$b=[_hoisted_2$L,_hoisted_3$y,_hoisted_4$o,_hoisted_5$g],TextOutline=vue.defineComponent({name:"TextOutline",render:function(c,ie){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$$,_hoisted_6$b)}}),_sfc_main$1g=vue.defineComponent({__name:"BxIcon",props:{size:{}},setup(m){return(c,ie)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-icon",{...typeof c.size=="string"?{["size-"+c.size]:!0}:{}}]),style:vue.normalizeStyle({...typeof c.size=="number"?{"--icon-size":`${c.size}px`}:{}})},[vue.renderSlot(c.$slots,"default",{},void 0,!0)],6))}}),BxIcon_vue_vue_type_style_index_0_scoped_74c5df5a_lang="",BxIcon=_export_sfc(_sfc_main$1g,[["__scopeId","data-v-74c5df5a"]]),_hoisted_1$_={key:0,class:"icon-wrapper"},_hoisted_2$K={class:"title-wrapper"},_hoisted_3$x={key:1},_hoisted_4$n={key:1,class:"actions-wrapper"},_sfc_main$1f=vue.defineComponent({__name:"PopupElement",props:{type:{},title:{},fullscreen:{type:Boolean},closeable:{type:Boolean},transculent:{type:Boolean},customClasses:{},fullLayer:{type:Boolean},capturedContext:{default:()=>({})}},emits:["close"],setup(m,{emit:c}){const ie=m;ie.capturedContext&&Object.entries(ie.capturedContext).forEach(([Ze,ne])=>{const rr=typeof Ze=="string"&&Ze.startsWith("Symbol(")?Symbol.for(Ze.slice(7,-1)):Ze;vue.provide(rr,ne)});const we=c,Ie=vue.useSlots();function Me(){we("close")}return(Ze,ne)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["popup-element",{["type-"+Ze.type]:!0,...Object.fromEntries(Ze.customClasses.map(rr=>[rr,!0])),"full-layer":Ze.fullLayer}])},[vue.createElementVNode("div",{class:vue.normalizeClass(["popup-content",{fullscreen:Ze.fullscreen,transculent:Ze.transculent}])},[vue.createElementVNode("header",{class:vue.normalizeClass({"has-title":!!Ie.title||Ze.title,"has-icon":!!Ie.icon})},[Ie.icon!==void 0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$_,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.renderSlot(Ze.$slots,"icon",vue.normalizeProps(vue.guardReactiveProps({close:Me})),void 0,!0)]),_:3})])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_2$K,[Ie.title!==void 0?vue.renderSlot(Ze.$slots,"title",vue.normalizeProps(vue.mergeProps({key:0},{close:Me})),void 0,!0):Ze.title?(vue.openBlock(),vue.createElementBlock("h3",_hoisted_3$x,vue.toDisplayString(Ze.title),1)):vue.createCommentVNode("",!0)]),Ie["header-actions"]!==void 0||Ze.closeable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$n,[Ie["header-actions"]!==void 0?vue.renderSlot(Ze.$slots,"header-actions",vue.normalizeProps(vue.mergeProps({key:0},{close:Me})),void 0,!0):vue.createCommentVNode("",!0),Ie["close-btn"]?vue.renderSlot(Ze.$slots,"close-btn",vue.normalizeProps(vue.mergeProps({key:1},{close:Me})),void 0,!0):Ze.closeable?(vue.openBlock(),vue.createBlock(BxButton,{key:2,tertiary:"",circle:"",onClick:Me,class:"popup-close-btn",style:{padding:"8px"}},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,{size:18},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),_:1})):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2),vue.createElementVNode("main",null,[vue.renderSlot(Ze.$slots,"default",vue.normalizeProps(vue.guardReactiveProps({close:Me})),void 0,!0)])],2)],2))}}),PopupElement_vue_vue_type_style_index_0_scoped_bfd5ce25_lang="",PopupElement=_export_sfc(_sfc_main$1f,[["__scopeId","data-v-bfd5ce25"]]),_hoisted_1$Z={class:"symbol-wrapper"},_hoisted_2$J={class:"message-content"},_hoisted_3$w={key:0,class:"title-wrapper"},_hoisted_4$m={key:1},_hoisted_5$f={class:"message-wrapper"},_hoisted_6$a={key:1},_sfc_main$1e=vue.defineComponent({__name:"MessageElement",props:{type:{},title:{},message:{},closeable:{type:Boolean},customClasses:{},maxWidth:{},injections:{},placement:{},capturedContext:{}},setup(m){const c=m,ie=vue.useSlots();return c.capturedContext&&Object.entries(c.capturedContext).forEach(([we,Ie])=>{const Me=typeof we=="string"&&we.startsWith("Symbol(")?Symbol.for(we.slice(7,-1)):we;vue.provide(Me,Ie)}),(we,Ie)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["message-element",{[`placement-${we.placement}`]:!0}])},[vue.createElementVNode("div",{class:"message-body",style:vue.normalizeStyle({maxWidth:we.maxWidth})},[vue.createElementVNode("div",_hoisted_1$Z,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[ie.icon?vue.renderSlot(we.$slots,"icon",{key:0},void 0,!0):we.type==="success"?(vue.openBlock(),vue.createBlock(vue.unref(CheckmarkCircle),{key:1})):vue.createCommentVNode("",!0)]),_:3})]),vue.createElementVNode("div",_hoisted_2$J,[ie.title||we.title?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$w,[ie.title?vue.renderSlot(we.$slots,"title",{key:0},void 0,!0):we.title?(vue.openBlock(),vue.createElementBlock("span",_hoisted_4$m,vue.toDisplayString(we.title),1)):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_5$f,[ie.message?vue.renderSlot(we.$slots,"message",{key:0},void 0,!0):we.message?(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$a,vue.toDisplayString(we.message),1)):vue.createCommentVNode("",!0)])])],4)],2))}}),MessageElement_vue_vue_type_style_index_0_scoped_c7df277f_lang="",MessageElement=_export_sfc(_sfc_main$1e,[["__scopeId","data-v-c7df277f"]]);function captureCurrentContext(){const m=vue.getCurrentInstance(),c={};if(!m)return c;let ie=m.parent;for(;ie;){const we=ie;we.provides&&Object.assign(c,we.provides),ie=ie.parent}return c}window.addEventListener("load",()=>{const m=document.querySelector(GLOBAL_APP_WRAPPER_SELECTOR);!m||(m.classList.add("bluepic-popup-app-wrapper"),m.parentElement?.classList.add("bluepic-popup-body"))});function createMessage(m){const c=window.bluepicPopupProvider,ie=m.capturedContext||captureCurrentContext(),we=nanoid(),Ie=vue.computed({get(){return c.popoverProviderRef.isVisible(we)},set(Me){Me?c.popoverProviderRef.push(we,()=>vue.h(MessageElement,{placement:"top-right",type:m.type,title:typeof m.title=="string"?m.title:void 0,message:typeof m.message=="string"?m.message:void 0,closeable:m.closeable??!0,customClasses:m.customClasses??[],maxWidth:m.maxWidth,capturedContext:ie},{title:typeof m.title=="function"?m.title:void 0,message:typeof m.message=="function"?m.message:void 0,icon:m.icon}),{darkenBackground:m.darkenBackground??!1,handleClickOutside(){Ie.value=!1}}):c.popoverProviderRef.pull(we)}});return Ie.value=!0,m.closeAfter&&setTimeout(()=>{Ie.value=!1},m.closeAfter),{show:Ie}}function createPopup(m){const c=window.bluepicPopupProvider,ie=m.capturedContext||captureCurrentContext(),we=nanoid(),Ie=vue.computed({get(){return c.popupProviderRef.isVisible(we)},set(Ze){Ze?c.popupProviderRef.push(we,()=>vue.h(PopupElement,{type:m.type??"frame",title:typeof m.title=="string"?m.title:void 0,fullscreen:!1,closeable:m.closeable??!0,transculent:m.transculent??!1,customClasses:m.customClasses??[],fullLayer:m.fullLayer??!1,capturedContext:ie},{default:()=>vue.h("div",{},[typeof m.content=="string"?m.content:m.content(),...m.actions?typeof m.actions=="function"?m.actions():[vue.h("div",{},m.actions.map(ne=>vue.h(BxButton,{...ne.props},{icon:ne.icon,default:()=>ne.label})))]:[]]),title:typeof m.title=="function"?m.title:void 0,header:m.header,icon:m.icon,"close-btn":m.closeBtn}),{type:m.type??"frame",close(){Ie.value=!1},disableBackgroundEffect:m.disableBackgroundEffect??!1,wrapperCustomClasses:m.wrapperCustomClasses??[],handleClickOutside(){Ie.value=!1}}):c.popupProviderRef.pull(we)}});function Me(){Ie.value=!1}return Ie.value=!0,{close:Me}}function usePopup(){const m=captureCurrentContext();return{createPopup:c=>createPopup({...c,capturedContext:m}),createMessage:c=>createMessage({...c,capturedContext:m})}}const _hoisted_1$Y={key:0,class:"bx-progress__circle"},_hoisted_2$I={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},_hoisted_3$v=["d"],_hoisted_4$l={class:"bx-progress__bar-inner"},_sfc_main$1d=vue.defineComponent({__name:"BxProgress",props:{value:{},circle:{type:Boolean,default:!1},transition:{type:Boolean,default:!0}},setup(m){const c=m;function ie(Ie,Me,Ze=0,ne=0){Ie=Math.max(0,Math.min(100,Ie));const rr=Ie/100*360,vr=(rr-90)*(Math.PI/180),lr=Ze+Me*Math.cos(vr),yr=ne+Me*Math.sin(vr),kr=rr>180?1:0;return[`M ${Ze} ${ne-Me}`,`A ${Me} ${Me} 0 ${kr} 1 ${lr} ${yr}`].join(" ")}const we=vue.computed(()=>c.value!==void 0?ie(c.value*100,45,50,50):"");return(Ie,Me)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-progress",{circle:Ie.circle}])},[Ie.circle?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$Y,[(vue.openBlock(),vue.createElementBlock("svg",_hoisted_2$I,[vue.createElementVNode("path",{d:we.value,class:"circle-progress-path"},null,8,_hoisted_3$v)]))])):(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["bx-progress__bar",{circle:Ie.circle}]),style:vue.normalizeStyle({"--progress":Ie.value})},[vue.createElementVNode("div",_hoisted_4$l,[vue.createElementVNode("div",{class:vue.normalizeClass(["bx-progress__bar-fill",{transition:Ie.transition}])},null,2)])],6))],2))}}),BxProgress_vue_vue_type_style_index_0_scoped_ce3eb72c_lang="",BxProgress=_export_sfc(_sfc_main$1d,[["__scopeId","data-v-ce3eb72c"]]);function useSlotVNodes(m){let c=[];const ie=vue.ref([]),we=vue.computed(()=>m()),Ie=Me=>Ze=>{const ne=(()=>{if(Ze instanceof HTMLElement)return Ze;if(Ze instanceof Node)return Ze.nextSibling;if(Ze?.$el instanceof HTMLElement)return Ze.$el})();!ne||(c[Me]=ne)};return vue.watch(we,()=>{c=[],vue.nextTick(()=>{ie.value=c})},{immediate:!0}),{setSlotRef:Ie,slotElements:ie,vNodes:we}}const _sfc_main$1c=vue.defineComponent({__name:"Popup",props:{trigger:{default:"click"},type:{default:"layer"},title:{},fullscreen:{type:Boolean,default:!1},show:{type:Boolean,default:!1},closeable:{type:Boolean,default:!0},transculent:{type:Boolean,default:!1},customClasses:{default:()=>[]},wrapperCustomClasses:{default:()=>[]},fullLayer:{type:Boolean,default:!1},disableBackgroundEffect:{type:Boolean,default:!1},debug:{type:Boolean,default:!1}},emits:["update:show"],setup(m,{emit:c}){const ie=m,we=c,Ie=nanoid(),Me=vue.useSlots(),{setSlotRef:Ze,slotElements:ne,vNodes:rr}=useSlotVNodes(Me.trigger),vr=captureCurrentContext(),lr=vue.computed({get(){return kr.popupProviderRef.isVisible(Ie)},set(Br){console.log("SET",Ie,Br),Br?kr.popupProviderRef.push(Ie,()=>vue.h(PopupElement,{type:ie.type,title:ie.title,fullscreen:ie.fullscreen,transculent:ie.transculent,customClasses:ie.customClasses,closeable:ie.closeable,fullLayer:ie.fullLayer,capturedContext:vr},{default:Me.content,title:Me.title,["header-actions"]:Me["header-actions"],["close-btn"]:Me["close-btn"]}),{type:ie.type,close(){lr.value=!1},disableBackgroundEffect:ie.disableBackgroundEffect,wrapperCustomClasses:ie.wrapperCustomClasses,handleClickOutside:()=>{lr.value=!1}}):kr.popupProviderRef.pull(Ie),ie.show!==Br&&we("update:show",Br)}});vue.onUnmounted(()=>{console.log("UNMOUNT BXPOPUP",Ie),kr.popupProviderRef.pull(Ie)}),vue.watch(()=>ie.show,()=>{console.log("POPUP",Ie),console.log("show",ie.show),ie.show!==lr.value&&(lr.value=ie.show)});function yr(){lr.value=!lr.value}vue.watch(ne,()=>{for(const Br of ne.value)Br.addEventListener("click",yr)}),vue.onUnmounted(()=>{for(const Br of ne.value)Br.removeEventListener("click",yr)});const kr=window.bluepicPopupProvider;return vue.onMounted(()=>{const Br=document.querySelector(GLOBAL_APP_WRAPPER_SELECTOR);!Br||(Br.classList.add("bluepic-popup-app-wrapper"),Br.parentElement?.classList.add("bluepic-popup-body"))}),(Br,Ar)=>(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(rr),(Pr,Vr)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(Pr),{ref_for:!0,ref:vue.unref(Ze)(Vr)},null,512))),256))}}),_hoisted_1$X={key:0,class:"bx-card__header"},_hoisted_2$H={class:"bx-card__header-inner"},_hoisted_3$u={key:1,class:"bx-card__title-wrapper"},_hoisted_4$k={key:1},_hoisted_5$e={key:0,class:"bx-card__header-extra"},_hoisted_6$9={key:1,class:"bx-card__cover"},_hoisted_7$7=["src"],_hoisted_8$6={key:2,class:"bx-card__content"},_hoisted_9$5={key:3,class:"bx-card__footer"},_sfc_main$1b=vue.defineComponent({__name:"BxCard",props:{title:{},description:{},cover:{},size:{default:"medium"},bordered:{type:Boolean,default:!0},transculent:{type:Boolean,default:!1},coverWidth:{},hoverable:{type:Boolean,default:!1},dividers:{type:Boolean,default:!0}},setup(m){const c=vue.useSlots();return(ie,we)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-card",{bordered:ie.bordered,transculent:ie.transculent,["size-"+ie.size]:!0,hoverable:ie.hoverable,dividers:ie.dividers}])},[c.header||c.title||ie.title?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$X,[vue.createElementVNode("div",_hoisted_2$H,[c.header?vue.renderSlot(ie.$slots,"header",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$u,[c.title?vue.renderSlot(ie.$slots,"title",{key:0},void 0,!0):ie.title?(vue.openBlock(),vue.createElementBlock("h3",_hoisted_4$k,vue.toDisplayString(ie.title),1)):vue.createCommentVNode("",!0)]))]),c["header-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$e,[vue.renderSlot(ie.$slots,"header-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0),c.cover||ie.cover?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$9,[c.cover?vue.renderSlot(ie.$slots,"cover",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock("img",{key:1,src:ie.cover,alt:"cover",style:vue.normalizeStyle({"--cover-width":ie.coverWidth})},null,12,_hoisted_7$7))])):vue.createCommentVNode("",!0),c.default?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$6,[vue.renderSlot(ie.$slots,"default",{},void 0,!0)])):vue.createCommentVNode("",!0),c.footer?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$5,[vue.renderSlot(ie.$slots,"footer",{},void 0,!0)])):vue.createCommentVNode("",!0)],2))}}),BxCard_vue_vue_type_style_index_0_scoped_29953d03_lang="",BxCard=_export_sfc(_sfc_main$1b,[["__scopeId","data-v-29953d03"]]),_hoisted_1$W={class:"bx-upload"},_hoisted_2$G={class:"bx-upload__icon-wrapper"},_hoisted_3$t={class:"bx-upload__title"},_hoisted_4$j={class:"bx-upload__description"},_sfc_main$1a=vue.defineComponent({__name:"BxUpload",props:{type:{},accept:{default:()=>["image/*"]},title:{default:"Upload"},description:{default:"Drag and drop files here or click to upload"},uploadProgress:{},maxSize:{default:1/0}},emits:["select"],setup(m,{emit:c}){const ie=m,we=c,Ie=vue.useSlots(),Me=vue.ref(!1);function Ze(kr){kr.preventDefault(),kr.stopPropagation()}function ne(kr){kr.preventDefault(),kr.stopPropagation(),Me.value=!0}function rr(kr){kr.preventDefault(),kr.stopPropagation()}function vr(kr){kr.preventDefault(),kr.stopPropagation(),Me.value=!1}async function lr(kr){kr.preventDefault(),kr.stopPropagation(),Me.value=!1;const Br=Array.from(kr.dataTransfer.files).filter(Ar=>{const[Pr,Vr]=Ar.type.split("/");return ie.accept.some(ei=>{const[Nr,Zr]=ei.split("/");return(Nr==="*"||Nr===Pr)&&(Zr==="*"||Zr===Vr)})});we("select",Br)}async function yr(){const kr=await openFiles({types:ie.accept,maxSize:ie.maxSize,multiple:!0});we("select",kr)}return(kr,Br)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$W,[kr.type==="area"?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:vue.normalizeClass(["bx-upload__area",{dragging:Me.value}]),onDragstart:Ze,onDragenter:ne,onDragover:rr,onDragleave:vr,onDrop:lr,onClick:yr},[vue.createElementVNode("div",_hoisted_2$G,[kr.uploadProgress!==void 0?(vue.openBlock(),vue.createBlock(BxProgress,{key:0,value:kr.uploadProgress,circle:"",size:"medium"},null,8,["value"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[Ie.icon?vue.renderSlot(kr.$slots,"icon",{key:0},void 0,!0):(vue.openBlock(),vue.createBlock(vue.unref(ArchiveOutline),{key:1}))],64))]),vue.createElementVNode("div",_hoisted_3$t,[kr.uploadProgress!==void 0?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(" Uploading ")],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[Ie.title?vue.renderSlot(kr.$slots,"title",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(kr.title),1)],64))],64))]),vue.createElementVNode("div",_hoisted_4$j,[kr.uploadProgress!==void 0?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(vue.unref(round$3)(kr.uploadProgress*100,5))+"% ",1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[Ie.description?vue.renderSlot(kr.$slots,"description",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(kr.description),1)],64))],64))])],34)):kr.type==="button"?(vue.openBlock(),vue.createBlock(BxButton,{key:1,accept:kr.accept},{icon:vue.withCtx(()=>[Ie.icon?vue.renderSlot(kr.$slots,"icon",{key:0},void 0,!0):(vue.openBlock(),vue.createBlock(vue.unref(ArchiveOutline),{key:1}))]),default:vue.withCtx(()=>[Br[0]||(Br[0]=vue.createTextVNode(" Upload "))]),_:3},8,["accept"])):vue.createCommentVNode("",!0)]))}}),BxUpload_vue_vue_type_style_index_0_scoped_88ad31a3_lang="",BxUpload=_export_sfc(_sfc_main$1a,[["__scopeId","data-v-88ad31a3"]]),_hoisted_1$V={class:"image-library-upload"},_hoisted_2$F={class:"upload-progress-wrapper"},_sfc_main$19=vue.defineComponent({__name:"Upload",props:{width:{},height:{},quality:{},convertTo:{},field:{},handleUpload:{type:Function}},emits:["upload"],setup(m,{emit:c}){const ie=m,we=c,{uploadFiles:Ie,uploadProgresses:Me,uploading:Ze}=useUpload(vue.toRef(ie,"width"),vue.toRef(ie,"height"),vue.toRef(ie,"convertTo"),vue.toRef(ie,"quality"),ie.handleUpload,vue.toRef(ie,"field")),ne=vue.computed(()=>{const vr=round$3(Me.value.reduce((lr,yr)=>lr+yr,0)/Me.value.length,5);if(!isNaN(vr))return vr});async function rr(vr){const lr=await Ie(vr);we("upload",lr)}return(vr,lr)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$V,[vue.createVNode(BxUpload,{type:"area",onSelect:rr,"upload-progress":ne.value},null,8,["upload-progress"]),vue.createElementVNode("div",_hoisted_2$F,[vue.unref(Ze)?(vue.openBlock(),vue.createBlock(BxProgress,{key:0,value:ne.value},null,8,["value"])):vue.createCommentVNode("",!0)])]))}}),Upload_vue_vue_type_style_index_0_scoped_73dc9b99_lang="",UploadLibraryComponent=_export_sfc(_sfc_main$19,[["__scopeId","data-v-73dc9b99"]]),getPrototypeOf$1=Object.getPrototypeOf,getOwnProperties=Object.getOwnPropertySymbols?function(m){return Object.keys(m).concat(Object.getOwnPropertySymbols(m))}:Object.keys;function checkEquality(m,c,ie){var we,Ie,Me,Ze=Object.prototype.toString.call(m),ne=Object.prototype.toString.call(c);if(m===c)return!0;if(m==null||c==null)return!1;if(ie.indexOf(m)>-1&&ie.indexOf(c)>-1)return!0;if(ie.push(m,c),Ze!=ne||(we=getOwnProperties(m),Ie=getOwnProperties(c),we.length!=Ie.length||we.some(function(rr){return!checkEquality(m[rr],c[rr],ie)})))return!1;switch(Ze.slice(8,-1)){case"Symbol":return m.valueOf()==c.valueOf();case"Date":case"Number":return+m==+c||+m!=+m&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+m==""+c;case"Set":case"Map":{we=m.entries(),Ie=c.entries();do if(Me=we.next(),!checkEquality(Me.value,Ie.next().value,ie))return!1;while(!Me.done);return!0}case"ArrayBuffer":m=new Uint8Array(m),c=new Uint8Array(c);case"DataView":m=new Uint8Array(m.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(m.length!=c.length)return!1;for(Me=0;Me<m.length;Me++)if(!(!(Me in m)&&!(Me in c))&&(Me in m!=Me in c||!checkEquality(m[Me],c[Me],ie)))return!1;return!0;case"Object":return checkEquality(getPrototypeOf$1(m),getPrototypeOf$1(c),ie);default:return!1}}function isEqual(m,c){return checkEquality(m,c,[])}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs$1(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}function getAugmentedNamespace(m){var c=m.default;if(typeof c=="function"){var ie=function(){return c.apply(this,arguments)};ie.prototype=c.prototype}else ie={};return Object.defineProperty(ie,"__esModule",{value:!0}),Object.keys(m).forEach(function(we){var Ie=Object.getOwnPropertyDescriptor(m,we);Object.defineProperty(ie,we,Ie.get?Ie:{enumerable:!0,get:function(){return m[we]}})}),ie}var lodash={exports:{}};/**
|
|
15
15
|
* @license
|
|
16
16
|
* Lodash <https://lodash.com/>
|
|
17
17
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -66,12 +66,12 @@ Use Chrome, Firefox or Internet Explorer 11`)}var Buffer$B=safeBuffer$2.exports.
|
|
|
66
66
|
`)},pem}var hasRequiredEncoders;function requireEncoders(){return hasRequiredEncoders||(hasRequiredEncoders=1,function(m){var c=m;c.der=requireDer(),c.pem=requirePem()}(encoders)),encoders}var hasRequiredAsn1;function requireAsn1(){return hasRequiredAsn1||(hasRequiredAsn1=1,function(m){var c=m;c.bignum=bn$2.exports,c.define=requireApi().define,c.base=requireBase(),c.constants=requireConstants(),c.decoders=requireDecoders(),c.encoders=requireEncoders()}(asn1$2)),asn1$2}var asn=requireAsn1(),Time=asn.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),AttributeTypeValue=asn.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),AlgorithmIdentifier$1=asn.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),SubjectPublicKeyInfo=asn.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier$1),this.key("subjectPublicKey").bitstr())}),RelativeDistinguishedName=asn.define("RelativeDistinguishedName",function(){this.setof(AttributeTypeValue)}),RDNSequence=asn.define("RDNSequence",function(){this.seqof(RelativeDistinguishedName)}),Name=asn.define("Name",function(){this.choice({rdnSequence:this.use(RDNSequence)})}),Validity=asn.define("Validity",function(){this.seq().obj(this.key("notBefore").use(Time),this.key("notAfter").use(Time))}),Extension=asn.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),TBSCertificate=asn.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(AlgorithmIdentifier$1),this.key("issuer").use(Name),this.key("validity").use(Validity),this.key("subject").use(Name),this.key("subjectPublicKeyInfo").use(SubjectPublicKeyInfo),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(Extension).optional())}),X509Certificate=asn.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(TBSCertificate),this.key("signatureAlgorithm").use(AlgorithmIdentifier$1),this.key("signatureValue").bitstr())}),certificate=X509Certificate,asn1$1=requireAsn1();asn1$3.certificate=certificate;var RSAPrivateKey=asn1$1.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});asn1$3.RSAPrivateKey=RSAPrivateKey;var RSAPublicKey=asn1$1.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});asn1$3.RSAPublicKey=RSAPublicKey;var AlgorithmIdentifier=asn1$1.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),PublicKey=asn1$1.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPublicKey").bitstr())});asn1$3.PublicKey=PublicKey;var PrivateKeyInfo=asn1$1.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPrivateKey").octstr())});asn1$3.PrivateKey=PrivateKeyInfo;var EncryptedPrivateKeyInfo=asn1$1.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});asn1$3.EncryptedPrivateKey=EncryptedPrivateKeyInfo;var DSAPrivateKey=asn1$1.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});asn1$3.DSAPrivateKey=DSAPrivateKey,asn1$3.DSAparam=asn1$1.define("DSAparam",function(){this.int()});var ECParameters=asn1$1.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),ECPrivateKey=asn1$1.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(ECParameters),this.key("publicKey").optional().explicit(1).bitstr())});asn1$3.ECPrivateKey=ECPrivateKey,asn1$3.signature=asn1$1.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())});const require$$1$2={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"};var findProc=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,startRegex=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,fullRegex=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,evp=evp_bytestokey,ciphers$1=browser$6,Buffer$6=safeBuffer$2.exports.Buffer,fixProc$1=function(m,c){var ie=m.toString(),we=ie.match(findProc),Ie;if(we){var Ze="aes"+we[1],ne=Buffer$6.from(we[2],"hex"),rr=Buffer$6.from(we[3].replace(/[\r\n]/g,""),"base64"),vr=evp(c,ne.slice(0,8),parseInt(we[1],10)).key,lr=[],yr=ciphers$1.createDecipheriv(Ze,vr,ne);lr.push(yr.update(rr)),lr.push(yr.final()),Ie=Buffer$6.concat(lr)}else{var Me=ie.match(fullRegex);Ie=Buffer$6.from(Me[2].replace(/[\r\n]/g,""),"base64")}var kr=ie.match(startRegex)[1];return{tag:kr,data:Ie}},asn1=asn1$3,aesid=require$$1$2,fixProc=fixProc$1,ciphers=browser$6,compat=browser$8,Buffer$5=safeBuffer$2.exports.Buffer;function decrypt(m,c){var ie=m.algorithm.decrypt.kde.kdeparams.salt,we=parseInt(m.algorithm.decrypt.kde.kdeparams.iters.toString(),10),Ie=aesid[m.algorithm.decrypt.cipher.algo.join(".")],Me=m.algorithm.decrypt.cipher.iv,Ze=m.subjectPrivateKey,ne=parseInt(Ie.split("-")[1],10)/8,rr=compat.pbkdf2Sync(c,ie,we,ne,"sha1"),vr=ciphers.createDecipheriv(Ie,rr,Me),lr=[];return lr.push(vr.update(Ze)),lr.push(vr.final()),Buffer$5.concat(lr)}function parseKeys$3(m){var c;typeof m=="object"&&!Buffer$5.isBuffer(m)&&(c=m.passphrase,m=m.key),typeof m=="string"&&(m=Buffer$5.from(m));var ie=fixProc(m,c),we=ie.tag,Ie=ie.data,Me,Ze;switch(we){case"CERTIFICATE":Ze=asn1.certificate.decode(Ie,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(Ze||(Ze=asn1.PublicKey.decode(Ie,"der")),Me=Ze.algorithm.algorithm.join("."),Me){case"1.2.840.113549.1.1.1":return asn1.RSAPublicKey.decode(Ze.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return Ze.subjectPrivateKey=Ze.subjectPublicKey,{type:"ec",data:Ze};case"1.2.840.10040.4.1":return Ze.algorithm.params.pub_key=asn1.DSAparam.decode(Ze.subjectPublicKey.data,"der"),{type:"dsa",data:Ze.algorithm.params};default:throw new Error("unknown key id "+Me)}case"ENCRYPTED PRIVATE KEY":Ie=asn1.EncryptedPrivateKey.decode(Ie,"der"),Ie=decrypt(Ie,c);case"PRIVATE KEY":switch(Ze=asn1.PrivateKey.decode(Ie,"der"),Me=Ze.algorithm.algorithm.join("."),Me){case"1.2.840.113549.1.1.1":return asn1.RSAPrivateKey.decode(Ze.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:Ze.algorithm.curve,privateKey:asn1.ECPrivateKey.decode(Ze.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return Ze.algorithm.params.priv_key=asn1.DSAparam.decode(Ze.subjectPrivateKey,"der"),{type:"dsa",params:Ze.algorithm.params};default:throw new Error("unknown key id "+Me)}case"RSA PUBLIC KEY":return asn1.RSAPublicKey.decode(Ie,"der");case"RSA PRIVATE KEY":return asn1.RSAPrivateKey.decode(Ie,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:asn1.DSAPrivateKey.decode(Ie,"der")};case"EC PRIVATE KEY":return Ie=asn1.ECPrivateKey.decode(Ie,"der"),{curve:Ie.parameters.value,privateKey:Ie.privateKey};default:throw new Error("unknown key type "+we)}}parseKeys$3.signature=asn1.signature;var parseAsn1=parseKeys$3;const require$$4={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"};var hasRequiredSign;function requireSign(){if(hasRequiredSign)return sign.exports;hasRequiredSign=1;var m=safeBuffer$2.exports.Buffer,c=browser$9,ie=browserifyRsa,we=requireElliptic().ec,Ie=bn$4.exports,Me=parseAsn1,Ze=require$$4,ne=1;function rr(ei,Nr,Zr,Wr,oi){var ui=Me(Nr);if(ui.curve){if(Wr!=="ecdsa"&&Wr!=="ecdsa/rsa")throw new Error("wrong private key type");return vr(ei,ui)}else if(ui.type==="dsa"){if(Wr!=="dsa")throw new Error("wrong private key type");return lr(ei,ui,Zr)}if(Wr!=="rsa"&&Wr!=="ecdsa/rsa")throw new Error("wrong private key type");if(Nr.padding!==void 0&&Nr.padding!==ne)throw new Error("illegal or unsupported padding mode");ei=m.concat([oi,ei]);for(var fi=ui.modulus.byteLength(),di=[0,1];ei.length+di.length+1<fi;)di.push(255);di.push(0);for(var li=-1;++li<ei.length;)di.push(ei[li]);var hi=ie(di,ui);return hi}function vr(ei,Nr){var Zr=Ze[Nr.curve.join(".")];if(!Zr)throw new Error("unknown curve "+Nr.curve.join("."));var Wr=new we(Zr),oi=Wr.keyFromPrivate(Nr.privateKey),ui=oi.sign(ei);return m.from(ui.toDER())}function lr(ei,Nr,Zr){for(var Wr=Nr.params.priv_key,oi=Nr.params.p,ui=Nr.params.q,fi=Nr.params.g,di=new Ie(0),li,hi=Br(ei,ui).mod(ui),gr=!1,Ae=kr(Wr,ui,ei,Zr);gr===!1;)li=Pr(ui,Ae,Zr),di=Vr(fi,li,oi,ui),gr=li.invm(ui).imul(hi.add(Wr.mul(di))).mod(ui),gr.cmpn(0)===0&&(gr=!1,di=new Ie(0));return yr(di,gr)}function yr(ei,Nr){ei=ei.toArray(),Nr=Nr.toArray(),ei[0]&128&&(ei=[0].concat(ei)),Nr[0]&128&&(Nr=[0].concat(Nr));var Zr=ei.length+Nr.length+4,Wr=[48,Zr,2,ei.length];return Wr=Wr.concat(ei,[2,Nr.length],Nr),m.from(Wr)}function kr(ei,Nr,Zr,Wr){if(ei=m.from(ei.toArray()),ei.length<Nr.byteLength()){var oi=m.alloc(Nr.byteLength()-ei.length);ei=m.concat([oi,ei])}var ui=Zr.length,fi=Ar(Zr,Nr),di=m.alloc(ui);di.fill(1);var li=m.alloc(ui);return li=c(Wr,li).update(di).update(m.from([0])).update(ei).update(fi).digest(),di=c(Wr,li).update(di).digest(),li=c(Wr,li).update(di).update(m.from([1])).update(ei).update(fi).digest(),di=c(Wr,li).update(di).digest(),{k:li,v:di}}function Br(ei,Nr){var Zr=new Ie(ei),Wr=(ei.length<<3)-Nr.bitLength();return Wr>0&&Zr.ishrn(Wr),Zr}function Ar(ei,Nr){ei=Br(ei,Nr),ei=ei.mod(Nr);var Zr=m.from(ei.toArray());if(Zr.length<Nr.byteLength()){var Wr=m.alloc(Nr.byteLength()-Zr.length);Zr=m.concat([Wr,Zr])}return Zr}function Pr(ei,Nr,Zr){var Wr,oi;do{for(Wr=m.alloc(0);Wr.length*8<ei.bitLength();)Nr.v=c(Zr,Nr.k).update(Nr.v).digest(),Wr=m.concat([Wr,Nr.v]);oi=Br(Wr,ei),Nr.k=c(Zr,Nr.k).update(Nr.v).update(m.from([0])).digest(),Nr.v=c(Zr,Nr.k).update(Nr.v).digest()}while(oi.cmp(ei)!==-1);return oi}function Vr(ei,Nr,Zr,Wr){return ei.toRed(Ie.mont(Zr)).redPow(Nr).fromRed().mod(Wr)}return sign.exports=rr,sign.exports.getKey=kr,sign.exports.makeKey=Pr,sign.exports}var verify_1,hasRequiredVerify;function requireVerify(){if(hasRequiredVerify)return verify_1;hasRequiredVerify=1;var m=safeBuffer$2.exports.Buffer,c=bn$4.exports,ie=requireElliptic().ec,we=parseAsn1,Ie=require$$4;function Me(vr,lr,yr,kr,Br){var Ar=we(yr);if(Ar.type==="ec"){if(kr!=="ecdsa"&&kr!=="ecdsa/rsa")throw new Error("wrong public key type");return Ze(vr,lr,Ar)}else if(Ar.type==="dsa"){if(kr!=="dsa")throw new Error("wrong public key type");return ne(vr,lr,Ar)}if(kr!=="rsa"&&kr!=="ecdsa/rsa")throw new Error("wrong public key type");lr=m.concat([Br,lr]);for(var Pr=Ar.modulus.byteLength(),Vr=[1],ei=0;lr.length+Vr.length+2<Pr;)Vr.push(255),ei+=1;Vr.push(0);for(var Nr=-1;++Nr<lr.length;)Vr.push(lr[Nr]);Vr=m.from(Vr);var Zr=c.mont(Ar.modulus);vr=new c(vr).toRed(Zr),vr=vr.redPow(new c(Ar.publicExponent)),vr=m.from(vr.fromRed().toArray());var Wr=ei<8?1:0;for(Pr=Math.min(vr.length,Vr.length),vr.length!==Vr.length&&(Wr=1),Nr=-1;++Nr<Pr;)Wr|=vr[Nr]^Vr[Nr];return Wr===0}function Ze(vr,lr,yr){var kr=Ie[yr.data.algorithm.curve.join(".")];if(!kr)throw new Error("unknown curve "+yr.data.algorithm.curve.join("."));var Br=new ie(kr),Ar=yr.data.subjectPrivateKey.data;return Br.verify(lr,vr,Ar)}function ne(vr,lr,yr){var kr=yr.data.p,Br=yr.data.q,Ar=yr.data.g,Pr=yr.data.pub_key,Vr=we.signature.decode(vr,"der"),ei=Vr.s,Nr=Vr.r;rr(ei,Br),rr(Nr,Br);var Zr=c.mont(kr),Wr=ei.invm(Br),oi=Ar.toRed(Zr).redPow(new c(lr).mul(Wr).mod(Br)).fromRed().mul(Pr.toRed(Zr).redPow(Nr.mul(Wr).mod(Br)).fromRed()).mod(kr).mod(Br);return oi.cmp(Nr)===0}function rr(vr,lr){if(vr.cmpn(0)<=0)throw new Error("invalid sig");if(vr.cmp(lr)>=0)throw new Error("invalid sig")}return verify_1=Me,verify_1}var browser$4,hasRequiredBrowser$1;function requireBrowser$1(){if(hasRequiredBrowser$1)return browser$4;hasRequiredBrowser$1=1;var m=safeBuffer$2.exports.Buffer,c=browser$a,ie=readableBrowser.exports,we=inherits_browser.exports,Ie=requireSign(),Me=requireVerify(),Ze=require$$6;Object.keys(Ze).forEach(function(yr){Ze[yr].id=m.from(Ze[yr].id,"hex"),Ze[yr.toLowerCase()]=Ze[yr]});function ne(yr){ie.Writable.call(this);var kr=Ze[yr];if(!kr)throw new Error("Unknown message digest");this._hashType=kr.hash,this._hash=c(kr.hash),this._tag=kr.id,this._signType=kr.sign}we(ne,ie.Writable),ne.prototype._write=function(kr,Br,Ar){this._hash.update(kr),Ar()},ne.prototype.update=function(kr,Br){return this._hash.update(typeof kr=="string"?m.from(kr,Br):kr),this},ne.prototype.sign=function(kr,Br){this.end();var Ar=this._hash.digest(),Pr=Ie(Ar,kr,this._hashType,this._signType,this._tag);return Br?Pr.toString(Br):Pr};function rr(yr){ie.Writable.call(this);var kr=Ze[yr];if(!kr)throw new Error("Unknown message digest");this._hash=c(kr.hash),this._tag=kr.id,this._signType=kr.sign}we(rr,ie.Writable),rr.prototype._write=function(kr,Br,Ar){this._hash.update(kr),Ar()},rr.prototype.update=function(kr,Br){return this._hash.update(typeof kr=="string"?m.from(kr,Br):kr),this},rr.prototype.verify=function(kr,Br,Ar){var Pr=typeof Br=="string"?m.from(Br,Ar):Br;this.end();var Vr=this._hash.digest();return Me(Pr,Vr,kr,this._signType,this._tag)};function vr(yr){return new ne(yr)}function lr(yr){return new rr(yr)}return browser$4={Sign:vr,Verify:lr,createSign:vr,createVerify:lr},browser$4}var bn$1={exports:{}};(function(m){(function(c,ie){function we(gr,Ae){if(!gr)throw new Error(Ae||"Assertion failed")}function Ie(gr,Ae){gr.super_=Ae;var ze=function(){};ze.prototype=Ae.prototype,gr.prototype=new ze,gr.prototype.constructor=gr}function Me(gr,Ae,ze){if(Me.isBN(gr))return gr;this.negative=0,this.words=null,this.length=0,this.red=null,gr!==null&&((Ae==="le"||Ae==="be")&&(ze=Ae,Ae=10),this._init(gr||0,Ae||10,ze||"be"))}typeof c=="object"?c.exports=Me:ie.BN=Me,Me.BN=Me,Me.wordSize=26;var Ze;try{typeof window<"u"&&typeof window.Buffer<"u"?Ze=window.Buffer:Ze=dist.Buffer}catch{}Me.isBN=function(Ae){return Ae instanceof Me?!0:Ae!==null&&typeof Ae=="object"&&Ae.constructor.wordSize===Me.wordSize&&Array.isArray(Ae.words)},Me.max=function(Ae,ze){return Ae.cmp(ze)>0?Ae:ze},Me.min=function(Ae,ze){return Ae.cmp(ze)<0?Ae:ze},Me.prototype._init=function(Ae,ze,Ue){if(typeof Ae=="number")return this._initNumber(Ae,ze,Ue);if(typeof Ae=="object")return this._initArray(Ae,ze,Ue);ze==="hex"&&(ze=16),we(ze===(ze|0)&&ze>=2&&ze<=36),Ae=Ae.toString().replace(/\s+/g,"");var tr=0;Ae[0]==="-"&&(tr++,this.negative=1),tr<Ae.length&&(ze===16?this._parseHex(Ae,tr,Ue):(this._parseBase(Ae,ze,tr),Ue==="le"&&this._initArray(this.toArray(),ze,Ue)))},Me.prototype._initNumber=function(Ae,ze,Ue){Ae<0&&(this.negative=1,Ae=-Ae),Ae<67108864?(this.words=[Ae&67108863],this.length=1):Ae<4503599627370496?(this.words=[Ae&67108863,Ae/67108864&67108863],this.length=2):(we(Ae<9007199254740992),this.words=[Ae&67108863,Ae/67108864&67108863,1],this.length=3),Ue==="le"&&this._initArray(this.toArray(),ze,Ue)},Me.prototype._initArray=function(Ae,ze,Ue){if(we(typeof Ae.length=="number"),Ae.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Ae.length/3),this.words=new Array(this.length);for(var tr=0;tr<this.length;tr++)this.words[tr]=0;var or,pr,br=0;if(Ue==="be")for(tr=Ae.length-1,or=0;tr>=0;tr-=3)pr=Ae[tr]|Ae[tr-1]<<8|Ae[tr-2]<<16,this.words[or]|=pr<<br&67108863,this.words[or+1]=pr>>>26-br&67108863,br+=24,br>=26&&(br-=26,or++);else if(Ue==="le")for(tr=0,or=0;tr<Ae.length;tr+=3)pr=Ae[tr]|Ae[tr+1]<<8|Ae[tr+2]<<16,this.words[or]|=pr<<br&67108863,this.words[or+1]=pr>>>26-br&67108863,br+=24,br>=26&&(br-=26,or++);return this.strip()};function ne(gr,Ae){var ze=gr.charCodeAt(Ae);return ze>=65&&ze<=70?ze-55:ze>=97&&ze<=102?ze-87:ze-48&15}function rr(gr,Ae,ze){var Ue=ne(gr,ze);return ze-1>=Ae&&(Ue|=ne(gr,ze-1)<<4),Ue}Me.prototype._parseHex=function(Ae,ze,Ue){this.length=Math.ceil((Ae.length-ze)/6),this.words=new Array(this.length);for(var tr=0;tr<this.length;tr++)this.words[tr]=0;var or=0,pr=0,br;if(Ue==="be")for(tr=Ae.length-1;tr>=ze;tr-=2)br=rr(Ae,ze,tr)<<or,this.words[pr]|=br&67108863,or>=18?(or-=18,pr+=1,this.words[pr]|=br>>>26):or+=8;else{var nr=Ae.length-ze;for(tr=nr%2===0?ze+1:ze;tr<Ae.length;tr+=2)br=rr(Ae,ze,tr)<<or,this.words[pr]|=br&67108863,or>=18?(or-=18,pr+=1,this.words[pr]|=br>>>26):or+=8}this.strip()};function vr(gr,Ae,ze,Ue){for(var tr=0,or=Math.min(gr.length,ze),pr=Ae;pr<or;pr++){var br=gr.charCodeAt(pr)-48;tr*=Ue,br>=49?tr+=br-49+10:br>=17?tr+=br-17+10:tr+=br}return tr}Me.prototype._parseBase=function(Ae,ze,Ue){this.words=[0],this.length=1;for(var tr=0,or=1;or<=67108863;or*=ze)tr++;tr--,or=or/ze|0;for(var pr=Ae.length-Ue,br=pr%tr,nr=Math.min(pr,pr-br)+Ue,$e=0,ur=Ue;ur<nr;ur+=tr)$e=vr(Ae,ur,ur+tr,ze),this.imuln(or),this.words[0]+$e<67108864?this.words[0]+=$e:this._iaddn($e);if(br!==0){var $r=1;for($e=vr(Ae,ur,Ae.length,ze),ur=0;ur<br;ur++)$r*=ze;this.imuln($r),this.words[0]+$e<67108864?this.words[0]+=$e:this._iaddn($e)}this.strip()},Me.prototype.copy=function(Ae){Ae.words=new Array(this.length);for(var ze=0;ze<this.length;ze++)Ae.words[ze]=this.words[ze];Ae.length=this.length,Ae.negative=this.negative,Ae.red=this.red},Me.prototype.clone=function(){var Ae=new Me(null);return this.copy(Ae),Ae},Me.prototype._expand=function(Ae){for(;this.length<Ae;)this.words[this.length++]=0;return this},Me.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},Me.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},Me.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var lr=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],yr=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],kr=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];Me.prototype.toString=function(Ae,ze){Ae=Ae||10,ze=ze|0||1;var Ue;if(Ae===16||Ae==="hex"){Ue="";for(var tr=0,or=0,pr=0;pr<this.length;pr++){var br=this.words[pr],nr=((br<<tr|or)&16777215).toString(16);or=br>>>24-tr&16777215,tr+=2,tr>=26&&(tr-=26,pr--),or!==0||pr!==this.length-1?Ue=lr[6-nr.length]+nr+Ue:Ue=nr+Ue}for(or!==0&&(Ue=or.toString(16)+Ue);Ue.length%ze!==0;)Ue="0"+Ue;return this.negative!==0&&(Ue="-"+Ue),Ue}if(Ae===(Ae|0)&&Ae>=2&&Ae<=36){var $e=yr[Ae],ur=kr[Ae];Ue="";var $r=this.clone();for($r.negative=0;!$r.isZero();){var Yr=$r.modn(ur).toString(Ae);$r=$r.idivn(ur),$r.isZero()?Ue=Yr+Ue:Ue=lr[$e-Yr.length]+Yr+Ue}for(this.isZero()&&(Ue="0"+Ue);Ue.length%ze!==0;)Ue="0"+Ue;return this.negative!==0&&(Ue="-"+Ue),Ue}we(!1,"Base should be between 2 and 36")},Me.prototype.toNumber=function(){var Ae=this.words[0];return this.length===2?Ae+=this.words[1]*67108864:this.length===3&&this.words[2]===1?Ae+=4503599627370496+this.words[1]*67108864:this.length>2&&we(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-Ae:Ae},Me.prototype.toJSON=function(){return this.toString(16)},Me.prototype.toBuffer=function(Ae,ze){return we(typeof Ze<"u"),this.toArrayLike(Ze,Ae,ze)},Me.prototype.toArray=function(Ae,ze){return this.toArrayLike(Array,Ae,ze)},Me.prototype.toArrayLike=function(Ae,ze,Ue){var tr=this.byteLength(),or=Ue||Math.max(1,tr);we(tr<=or,"byte array longer than desired length"),we(or>0,"Requested array length <= 0"),this.strip();var pr=ze==="le",br=new Ae(or),nr,$e,ur=this.clone();if(pr){for($e=0;!ur.isZero();$e++)nr=ur.andln(255),ur.iushrn(8),br[$e]=nr;for(;$e<or;$e++)br[$e]=0}else{for($e=0;$e<or-tr;$e++)br[$e]=0;for($e=0;!ur.isZero();$e++)nr=ur.andln(255),ur.iushrn(8),br[or-$e-1]=nr}return br},Math.clz32?Me.prototype._countBits=function(Ae){return 32-Math.clz32(Ae)}:Me.prototype._countBits=function(Ae){var ze=Ae,Ue=0;return ze>=4096&&(Ue+=13,ze>>>=13),ze>=64&&(Ue+=7,ze>>>=7),ze>=8&&(Ue+=4,ze>>>=4),ze>=2&&(Ue+=2,ze>>>=2),Ue+ze},Me.prototype._zeroBits=function(Ae){if(Ae===0)return 26;var ze=Ae,Ue=0;return(ze&8191)===0&&(Ue+=13,ze>>>=13),(ze&127)===0&&(Ue+=7,ze>>>=7),(ze&15)===0&&(Ue+=4,ze>>>=4),(ze&3)===0&&(Ue+=2,ze>>>=2),(ze&1)===0&&Ue++,Ue},Me.prototype.bitLength=function(){var Ae=this.words[this.length-1],ze=this._countBits(Ae);return(this.length-1)*26+ze};function Br(gr){for(var Ae=new Array(gr.bitLength()),ze=0;ze<Ae.length;ze++){var Ue=ze/26|0,tr=ze%26;Ae[ze]=(gr.words[Ue]&1<<tr)>>>tr}return Ae}Me.prototype.zeroBits=function(){if(this.isZero())return 0;for(var Ae=0,ze=0;ze<this.length;ze++){var Ue=this._zeroBits(this.words[ze]);if(Ae+=Ue,Ue!==26)break}return Ae},Me.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Me.prototype.toTwos=function(Ae){return this.negative!==0?this.abs().inotn(Ae).iaddn(1):this.clone()},Me.prototype.fromTwos=function(Ae){return this.testn(Ae-1)?this.notn(Ae).iaddn(1).ineg():this.clone()},Me.prototype.isNeg=function(){return this.negative!==0},Me.prototype.neg=function(){return this.clone().ineg()},Me.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},Me.prototype.iuor=function(Ae){for(;this.length<Ae.length;)this.words[this.length++]=0;for(var ze=0;ze<Ae.length;ze++)this.words[ze]=this.words[ze]|Ae.words[ze];return this.strip()},Me.prototype.ior=function(Ae){return we((this.negative|Ae.negative)===0),this.iuor(Ae)},Me.prototype.or=function(Ae){return this.length>Ae.length?this.clone().ior(Ae):Ae.clone().ior(this)},Me.prototype.uor=function(Ae){return this.length>Ae.length?this.clone().iuor(Ae):Ae.clone().iuor(this)},Me.prototype.iuand=function(Ae){var ze;this.length>Ae.length?ze=Ae:ze=this;for(var Ue=0;Ue<ze.length;Ue++)this.words[Ue]=this.words[Ue]&Ae.words[Ue];return this.length=ze.length,this.strip()},Me.prototype.iand=function(Ae){return we((this.negative|Ae.negative)===0),this.iuand(Ae)},Me.prototype.and=function(Ae){return this.length>Ae.length?this.clone().iand(Ae):Ae.clone().iand(this)},Me.prototype.uand=function(Ae){return this.length>Ae.length?this.clone().iuand(Ae):Ae.clone().iuand(this)},Me.prototype.iuxor=function(Ae){var ze,Ue;this.length>Ae.length?(ze=this,Ue=Ae):(ze=Ae,Ue=this);for(var tr=0;tr<Ue.length;tr++)this.words[tr]=ze.words[tr]^Ue.words[tr];if(this!==ze)for(;tr<ze.length;tr++)this.words[tr]=ze.words[tr];return this.length=ze.length,this.strip()},Me.prototype.ixor=function(Ae){return we((this.negative|Ae.negative)===0),this.iuxor(Ae)},Me.prototype.xor=function(Ae){return this.length>Ae.length?this.clone().ixor(Ae):Ae.clone().ixor(this)},Me.prototype.uxor=function(Ae){return this.length>Ae.length?this.clone().iuxor(Ae):Ae.clone().iuxor(this)},Me.prototype.inotn=function(Ae){we(typeof Ae=="number"&&Ae>=0);var ze=Math.ceil(Ae/26)|0,Ue=Ae%26;this._expand(ze),Ue>0&&ze--;for(var tr=0;tr<ze;tr++)this.words[tr]=~this.words[tr]&67108863;return Ue>0&&(this.words[tr]=~this.words[tr]&67108863>>26-Ue),this.strip()},Me.prototype.notn=function(Ae){return this.clone().inotn(Ae)},Me.prototype.setn=function(Ae,ze){we(typeof Ae=="number"&&Ae>=0);var Ue=Ae/26|0,tr=Ae%26;return this._expand(Ue+1),ze?this.words[Ue]=this.words[Ue]|1<<tr:this.words[Ue]=this.words[Ue]&~(1<<tr),this.strip()},Me.prototype.iadd=function(Ae){var ze;if(this.negative!==0&&Ae.negative===0)return this.negative=0,ze=this.isub(Ae),this.negative^=1,this._normSign();if(this.negative===0&&Ae.negative!==0)return Ae.negative=0,ze=this.isub(Ae),Ae.negative=1,ze._normSign();var Ue,tr;this.length>Ae.length?(Ue=this,tr=Ae):(Ue=Ae,tr=this);for(var or=0,pr=0;pr<tr.length;pr++)ze=(Ue.words[pr]|0)+(tr.words[pr]|0)+or,this.words[pr]=ze&67108863,or=ze>>>26;for(;or!==0&&pr<Ue.length;pr++)ze=(Ue.words[pr]|0)+or,this.words[pr]=ze&67108863,or=ze>>>26;if(this.length=Ue.length,or!==0)this.words[this.length]=or,this.length++;else if(Ue!==this)for(;pr<Ue.length;pr++)this.words[pr]=Ue.words[pr];return this},Me.prototype.add=function(Ae){var ze;return Ae.negative!==0&&this.negative===0?(Ae.negative=0,ze=this.sub(Ae),Ae.negative^=1,ze):Ae.negative===0&&this.negative!==0?(this.negative=0,ze=Ae.sub(this),this.negative=1,ze):this.length>Ae.length?this.clone().iadd(Ae):Ae.clone().iadd(this)},Me.prototype.isub=function(Ae){if(Ae.negative!==0){Ae.negative=0;var ze=this.iadd(Ae);return Ae.negative=1,ze._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Ae),this.negative=1,this._normSign();var Ue=this.cmp(Ae);if(Ue===0)return this.negative=0,this.length=1,this.words[0]=0,this;var tr,or;Ue>0?(tr=this,or=Ae):(tr=Ae,or=this);for(var pr=0,br=0;br<or.length;br++)ze=(tr.words[br]|0)-(or.words[br]|0)+pr,pr=ze>>26,this.words[br]=ze&67108863;for(;pr!==0&&br<tr.length;br++)ze=(tr.words[br]|0)+pr,pr=ze>>26,this.words[br]=ze&67108863;if(pr===0&&br<tr.length&&tr!==this)for(;br<tr.length;br++)this.words[br]=tr.words[br];return this.length=Math.max(this.length,br),tr!==this&&(this.negative=1),this.strip()},Me.prototype.sub=function(Ae){return this.clone().isub(Ae)};function Ar(gr,Ae,ze){ze.negative=Ae.negative^gr.negative;var Ue=gr.length+Ae.length|0;ze.length=Ue,Ue=Ue-1|0;var tr=gr.words[0]|0,or=Ae.words[0]|0,pr=tr*or,br=pr&67108863,nr=pr/67108864|0;ze.words[0]=br;for(var $e=1;$e<Ue;$e++){for(var ur=nr>>>26,$r=nr&67108863,Yr=Math.min($e,Ae.length-1),wi=Math.max(0,$e-gr.length+1);wi<=Yr;wi++){var ki=$e-wi|0;tr=gr.words[ki]|0,or=Ae.words[wi]|0,pr=tr*or+$r,ur+=pr/67108864|0,$r=pr&67108863}ze.words[$e]=$r|0,nr=ur|0}return nr!==0?ze.words[$e]=nr|0:ze.length--,ze.strip()}var Pr=function(Ae,ze,Ue){var tr=Ae.words,or=ze.words,pr=Ue.words,br=0,nr,$e,ur,$r=tr[0]|0,Yr=$r&8191,wi=$r>>>13,ki=tr[1]|0,Mi=ki&8191,si=ki>>>13,_i=tr[2]|0,ii=_i&8191,Jr=_i>>>13,bi=tr[3]|0,vi=bi&8191,Di=bi>>>13,Ui=tr[4]|0,dn=Ui&8191,tn=Ui>>>13,Tn=tr[5]|0,Ji=Tn&8191,Vi=Tn>>>13,Gn=tr[6]|0,Sn=Gn&8191,An=Gn>>>13,To=tr[7]|0,pn=To&8191,Dn=To>>>13,Ho=tr[8]|0,zn=Ho&8191,Fn=Ho>>>13,Wo=tr[9]|0,Kn=Wo&8191,ao=Wo>>>13,pa=or[0]|0,Hn=pa&8191,eo=pa>>>13,ea=or[1]|0,Zn=ea&8191,an=ea>>>13,Rn=or[2]|0,Cn=Rn&8191,Yn=Rn>>>13,$o=or[3]|0,Nn=$o&8191,to=$o>>>13,ma=or[4]|0,Qn=ma&8191,no=ma>>>13,yn=or[5]|0,Fr=yn&8191,Dr=yn>>>13,qr=or[6]|0,ai=qr&8191,pi=qr>>>13,Ai=or[7]|0,Ti=Ai&8191,Bi=Ai>>>13,cn=or[8]|0,Ni=cn&8191,Wi=cn>>>13,Bn=or[9]|0,hn=Bn&8191,xn=Bn>>>13;Ue.negative=Ae.negative^ze.negative,Ue.length=19,nr=Math.imul(Yr,Hn),$e=Math.imul(Yr,eo),$e=$e+Math.imul(wi,Hn)|0,ur=Math.imul(wi,eo);var yo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(yo>>>26)|0,yo&=67108863,nr=Math.imul(Mi,Hn),$e=Math.imul(Mi,eo),$e=$e+Math.imul(si,Hn)|0,ur=Math.imul(si,eo),nr=nr+Math.imul(Yr,Zn)|0,$e=$e+Math.imul(Yr,an)|0,$e=$e+Math.imul(wi,Zn)|0,ur=ur+Math.imul(wi,an)|0;var So=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(So>>>26)|0,So&=67108863,nr=Math.imul(ii,Hn),$e=Math.imul(ii,eo),$e=$e+Math.imul(Jr,Hn)|0,ur=Math.imul(Jr,eo),nr=nr+Math.imul(Mi,Zn)|0,$e=$e+Math.imul(Mi,an)|0,$e=$e+Math.imul(si,Zn)|0,ur=ur+Math.imul(si,an)|0,nr=nr+Math.imul(Yr,Cn)|0,$e=$e+Math.imul(Yr,Yn)|0,$e=$e+Math.imul(wi,Cn)|0,ur=ur+Math.imul(wi,Yn)|0;var Bo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Bo>>>26)|0,Bo&=67108863,nr=Math.imul(vi,Hn),$e=Math.imul(vi,eo),$e=$e+Math.imul(Di,Hn)|0,ur=Math.imul(Di,eo),nr=nr+Math.imul(ii,Zn)|0,$e=$e+Math.imul(ii,an)|0,$e=$e+Math.imul(Jr,Zn)|0,ur=ur+Math.imul(Jr,an)|0,nr=nr+Math.imul(Mi,Cn)|0,$e=$e+Math.imul(Mi,Yn)|0,$e=$e+Math.imul(si,Cn)|0,ur=ur+Math.imul(si,Yn)|0,nr=nr+Math.imul(Yr,Nn)|0,$e=$e+Math.imul(Yr,to)|0,$e=$e+Math.imul(wi,Nn)|0,ur=ur+Math.imul(wi,to)|0;var Lo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Lo>>>26)|0,Lo&=67108863,nr=Math.imul(dn,Hn),$e=Math.imul(dn,eo),$e=$e+Math.imul(tn,Hn)|0,ur=Math.imul(tn,eo),nr=nr+Math.imul(vi,Zn)|0,$e=$e+Math.imul(vi,an)|0,$e=$e+Math.imul(Di,Zn)|0,ur=ur+Math.imul(Di,an)|0,nr=nr+Math.imul(ii,Cn)|0,$e=$e+Math.imul(ii,Yn)|0,$e=$e+Math.imul(Jr,Cn)|0,ur=ur+Math.imul(Jr,Yn)|0,nr=nr+Math.imul(Mi,Nn)|0,$e=$e+Math.imul(Mi,to)|0,$e=$e+Math.imul(si,Nn)|0,ur=ur+Math.imul(si,to)|0,nr=nr+Math.imul(Yr,Qn)|0,$e=$e+Math.imul(Yr,no)|0,$e=$e+Math.imul(wi,Qn)|0,ur=ur+Math.imul(wi,no)|0;var Yo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Yo>>>26)|0,Yo&=67108863,nr=Math.imul(Ji,Hn),$e=Math.imul(Ji,eo),$e=$e+Math.imul(Vi,Hn)|0,ur=Math.imul(Vi,eo),nr=nr+Math.imul(dn,Zn)|0,$e=$e+Math.imul(dn,an)|0,$e=$e+Math.imul(tn,Zn)|0,ur=ur+Math.imul(tn,an)|0,nr=nr+Math.imul(vi,Cn)|0,$e=$e+Math.imul(vi,Yn)|0,$e=$e+Math.imul(Di,Cn)|0,ur=ur+Math.imul(Di,Yn)|0,nr=nr+Math.imul(ii,Nn)|0,$e=$e+Math.imul(ii,to)|0,$e=$e+Math.imul(Jr,Nn)|0,ur=ur+Math.imul(Jr,to)|0,nr=nr+Math.imul(Mi,Qn)|0,$e=$e+Math.imul(Mi,no)|0,$e=$e+Math.imul(si,Qn)|0,ur=ur+Math.imul(si,no)|0,nr=nr+Math.imul(Yr,Fr)|0,$e=$e+Math.imul(Yr,Dr)|0,$e=$e+Math.imul(wi,Fr)|0,ur=ur+Math.imul(wi,Dr)|0;var jo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(jo>>>26)|0,jo&=67108863,nr=Math.imul(Sn,Hn),$e=Math.imul(Sn,eo),$e=$e+Math.imul(An,Hn)|0,ur=Math.imul(An,eo),nr=nr+Math.imul(Ji,Zn)|0,$e=$e+Math.imul(Ji,an)|0,$e=$e+Math.imul(Vi,Zn)|0,ur=ur+Math.imul(Vi,an)|0,nr=nr+Math.imul(dn,Cn)|0,$e=$e+Math.imul(dn,Yn)|0,$e=$e+Math.imul(tn,Cn)|0,ur=ur+Math.imul(tn,Yn)|0,nr=nr+Math.imul(vi,Nn)|0,$e=$e+Math.imul(vi,to)|0,$e=$e+Math.imul(Di,Nn)|0,ur=ur+Math.imul(Di,to)|0,nr=nr+Math.imul(ii,Qn)|0,$e=$e+Math.imul(ii,no)|0,$e=$e+Math.imul(Jr,Qn)|0,ur=ur+Math.imul(Jr,no)|0,nr=nr+Math.imul(Mi,Fr)|0,$e=$e+Math.imul(Mi,Dr)|0,$e=$e+Math.imul(si,Fr)|0,ur=ur+Math.imul(si,Dr)|0,nr=nr+Math.imul(Yr,ai)|0,$e=$e+Math.imul(Yr,pi)|0,$e=$e+Math.imul(wi,ai)|0,ur=ur+Math.imul(wi,pi)|0;var zo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(zo>>>26)|0,zo&=67108863,nr=Math.imul(pn,Hn),$e=Math.imul(pn,eo),$e=$e+Math.imul(Dn,Hn)|0,ur=Math.imul(Dn,eo),nr=nr+Math.imul(Sn,Zn)|0,$e=$e+Math.imul(Sn,an)|0,$e=$e+Math.imul(An,Zn)|0,ur=ur+Math.imul(An,an)|0,nr=nr+Math.imul(Ji,Cn)|0,$e=$e+Math.imul(Ji,Yn)|0,$e=$e+Math.imul(Vi,Cn)|0,ur=ur+Math.imul(Vi,Yn)|0,nr=nr+Math.imul(dn,Nn)|0,$e=$e+Math.imul(dn,to)|0,$e=$e+Math.imul(tn,Nn)|0,ur=ur+Math.imul(tn,to)|0,nr=nr+Math.imul(vi,Qn)|0,$e=$e+Math.imul(vi,no)|0,$e=$e+Math.imul(Di,Qn)|0,ur=ur+Math.imul(Di,no)|0,nr=nr+Math.imul(ii,Fr)|0,$e=$e+Math.imul(ii,Dr)|0,$e=$e+Math.imul(Jr,Fr)|0,ur=ur+Math.imul(Jr,Dr)|0,nr=nr+Math.imul(Mi,ai)|0,$e=$e+Math.imul(Mi,pi)|0,$e=$e+Math.imul(si,ai)|0,ur=ur+Math.imul(si,pi)|0,nr=nr+Math.imul(Yr,Ti)|0,$e=$e+Math.imul(Yr,Bi)|0,$e=$e+Math.imul(wi,Ti)|0,ur=ur+Math.imul(wi,Bi)|0;var Go=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Go>>>26)|0,Go&=67108863,nr=Math.imul(zn,Hn),$e=Math.imul(zn,eo),$e=$e+Math.imul(Fn,Hn)|0,ur=Math.imul(Fn,eo),nr=nr+Math.imul(pn,Zn)|0,$e=$e+Math.imul(pn,an)|0,$e=$e+Math.imul(Dn,Zn)|0,ur=ur+Math.imul(Dn,an)|0,nr=nr+Math.imul(Sn,Cn)|0,$e=$e+Math.imul(Sn,Yn)|0,$e=$e+Math.imul(An,Cn)|0,ur=ur+Math.imul(An,Yn)|0,nr=nr+Math.imul(Ji,Nn)|0,$e=$e+Math.imul(Ji,to)|0,$e=$e+Math.imul(Vi,Nn)|0,ur=ur+Math.imul(Vi,to)|0,nr=nr+Math.imul(dn,Qn)|0,$e=$e+Math.imul(dn,no)|0,$e=$e+Math.imul(tn,Qn)|0,ur=ur+Math.imul(tn,no)|0,nr=nr+Math.imul(vi,Fr)|0,$e=$e+Math.imul(vi,Dr)|0,$e=$e+Math.imul(Di,Fr)|0,ur=ur+Math.imul(Di,Dr)|0,nr=nr+Math.imul(ii,ai)|0,$e=$e+Math.imul(ii,pi)|0,$e=$e+Math.imul(Jr,ai)|0,ur=ur+Math.imul(Jr,pi)|0,nr=nr+Math.imul(Mi,Ti)|0,$e=$e+Math.imul(Mi,Bi)|0,$e=$e+Math.imul(si,Ti)|0,ur=ur+Math.imul(si,Bi)|0,nr=nr+Math.imul(Yr,Ni)|0,$e=$e+Math.imul(Yr,Wi)|0,$e=$e+Math.imul(wi,Ni)|0,ur=ur+Math.imul(wi,Wi)|0;var Jo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Jo>>>26)|0,Jo&=67108863,nr=Math.imul(Kn,Hn),$e=Math.imul(Kn,eo),$e=$e+Math.imul(ao,Hn)|0,ur=Math.imul(ao,eo),nr=nr+Math.imul(zn,Zn)|0,$e=$e+Math.imul(zn,an)|0,$e=$e+Math.imul(Fn,Zn)|0,ur=ur+Math.imul(Fn,an)|0,nr=nr+Math.imul(pn,Cn)|0,$e=$e+Math.imul(pn,Yn)|0,$e=$e+Math.imul(Dn,Cn)|0,ur=ur+Math.imul(Dn,Yn)|0,nr=nr+Math.imul(Sn,Nn)|0,$e=$e+Math.imul(Sn,to)|0,$e=$e+Math.imul(An,Nn)|0,ur=ur+Math.imul(An,to)|0,nr=nr+Math.imul(Ji,Qn)|0,$e=$e+Math.imul(Ji,no)|0,$e=$e+Math.imul(Vi,Qn)|0,ur=ur+Math.imul(Vi,no)|0,nr=nr+Math.imul(dn,Fr)|0,$e=$e+Math.imul(dn,Dr)|0,$e=$e+Math.imul(tn,Fr)|0,ur=ur+Math.imul(tn,Dr)|0,nr=nr+Math.imul(vi,ai)|0,$e=$e+Math.imul(vi,pi)|0,$e=$e+Math.imul(Di,ai)|0,ur=ur+Math.imul(Di,pi)|0,nr=nr+Math.imul(ii,Ti)|0,$e=$e+Math.imul(ii,Bi)|0,$e=$e+Math.imul(Jr,Ti)|0,ur=ur+Math.imul(Jr,Bi)|0,nr=nr+Math.imul(Mi,Ni)|0,$e=$e+Math.imul(Mi,Wi)|0,$e=$e+Math.imul(si,Ni)|0,ur=ur+Math.imul(si,Wi)|0,nr=nr+Math.imul(Yr,hn)|0,$e=$e+Math.imul(Yr,xn)|0,$e=$e+Math.imul(wi,hn)|0,ur=ur+Math.imul(wi,xn)|0;var ha=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(ha>>>26)|0,ha&=67108863,nr=Math.imul(Kn,Zn),$e=Math.imul(Kn,an),$e=$e+Math.imul(ao,Zn)|0,ur=Math.imul(ao,an),nr=nr+Math.imul(zn,Cn)|0,$e=$e+Math.imul(zn,Yn)|0,$e=$e+Math.imul(Fn,Cn)|0,ur=ur+Math.imul(Fn,Yn)|0,nr=nr+Math.imul(pn,Nn)|0,$e=$e+Math.imul(pn,to)|0,$e=$e+Math.imul(Dn,Nn)|0,ur=ur+Math.imul(Dn,to)|0,nr=nr+Math.imul(Sn,Qn)|0,$e=$e+Math.imul(Sn,no)|0,$e=$e+Math.imul(An,Qn)|0,ur=ur+Math.imul(An,no)|0,nr=nr+Math.imul(Ji,Fr)|0,$e=$e+Math.imul(Ji,Dr)|0,$e=$e+Math.imul(Vi,Fr)|0,ur=ur+Math.imul(Vi,Dr)|0,nr=nr+Math.imul(dn,ai)|0,$e=$e+Math.imul(dn,pi)|0,$e=$e+Math.imul(tn,ai)|0,ur=ur+Math.imul(tn,pi)|0,nr=nr+Math.imul(vi,Ti)|0,$e=$e+Math.imul(vi,Bi)|0,$e=$e+Math.imul(Di,Ti)|0,ur=ur+Math.imul(Di,Bi)|0,nr=nr+Math.imul(ii,Ni)|0,$e=$e+Math.imul(ii,Wi)|0,$e=$e+Math.imul(Jr,Ni)|0,ur=ur+Math.imul(Jr,Wi)|0,nr=nr+Math.imul(Mi,hn)|0,$e=$e+Math.imul(Mi,xn)|0,$e=$e+Math.imul(si,hn)|0,ur=ur+Math.imul(si,xn)|0;var Pa=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Pa>>>26)|0,Pa&=67108863,nr=Math.imul(Kn,Cn),$e=Math.imul(Kn,Yn),$e=$e+Math.imul(ao,Cn)|0,ur=Math.imul(ao,Yn),nr=nr+Math.imul(zn,Nn)|0,$e=$e+Math.imul(zn,to)|0,$e=$e+Math.imul(Fn,Nn)|0,ur=ur+Math.imul(Fn,to)|0,nr=nr+Math.imul(pn,Qn)|0,$e=$e+Math.imul(pn,no)|0,$e=$e+Math.imul(Dn,Qn)|0,ur=ur+Math.imul(Dn,no)|0,nr=nr+Math.imul(Sn,Fr)|0,$e=$e+Math.imul(Sn,Dr)|0,$e=$e+Math.imul(An,Fr)|0,ur=ur+Math.imul(An,Dr)|0,nr=nr+Math.imul(Ji,ai)|0,$e=$e+Math.imul(Ji,pi)|0,$e=$e+Math.imul(Vi,ai)|0,ur=ur+Math.imul(Vi,pi)|0,nr=nr+Math.imul(dn,Ti)|0,$e=$e+Math.imul(dn,Bi)|0,$e=$e+Math.imul(tn,Ti)|0,ur=ur+Math.imul(tn,Bi)|0,nr=nr+Math.imul(vi,Ni)|0,$e=$e+Math.imul(vi,Wi)|0,$e=$e+Math.imul(Di,Ni)|0,ur=ur+Math.imul(Di,Wi)|0,nr=nr+Math.imul(ii,hn)|0,$e=$e+Math.imul(ii,xn)|0,$e=$e+Math.imul(Jr,hn)|0,ur=ur+Math.imul(Jr,xn)|0;var ba=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(ba>>>26)|0,ba&=67108863,nr=Math.imul(Kn,Nn),$e=Math.imul(Kn,to),$e=$e+Math.imul(ao,Nn)|0,ur=Math.imul(ao,to),nr=nr+Math.imul(zn,Qn)|0,$e=$e+Math.imul(zn,no)|0,$e=$e+Math.imul(Fn,Qn)|0,ur=ur+Math.imul(Fn,no)|0,nr=nr+Math.imul(pn,Fr)|0,$e=$e+Math.imul(pn,Dr)|0,$e=$e+Math.imul(Dn,Fr)|0,ur=ur+Math.imul(Dn,Dr)|0,nr=nr+Math.imul(Sn,ai)|0,$e=$e+Math.imul(Sn,pi)|0,$e=$e+Math.imul(An,ai)|0,ur=ur+Math.imul(An,pi)|0,nr=nr+Math.imul(Ji,Ti)|0,$e=$e+Math.imul(Ji,Bi)|0,$e=$e+Math.imul(Vi,Ti)|0,ur=ur+Math.imul(Vi,Bi)|0,nr=nr+Math.imul(dn,Ni)|0,$e=$e+Math.imul(dn,Wi)|0,$e=$e+Math.imul(tn,Ni)|0,ur=ur+Math.imul(tn,Wi)|0,nr=nr+Math.imul(vi,hn)|0,$e=$e+Math.imul(vi,xn)|0,$e=$e+Math.imul(Di,hn)|0,ur=ur+Math.imul(Di,xn)|0;var Ea=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Ea>>>26)|0,Ea&=67108863,nr=Math.imul(Kn,Qn),$e=Math.imul(Kn,no),$e=$e+Math.imul(ao,Qn)|0,ur=Math.imul(ao,no),nr=nr+Math.imul(zn,Fr)|0,$e=$e+Math.imul(zn,Dr)|0,$e=$e+Math.imul(Fn,Fr)|0,ur=ur+Math.imul(Fn,Dr)|0,nr=nr+Math.imul(pn,ai)|0,$e=$e+Math.imul(pn,pi)|0,$e=$e+Math.imul(Dn,ai)|0,ur=ur+Math.imul(Dn,pi)|0,nr=nr+Math.imul(Sn,Ti)|0,$e=$e+Math.imul(Sn,Bi)|0,$e=$e+Math.imul(An,Ti)|0,ur=ur+Math.imul(An,Bi)|0,nr=nr+Math.imul(Ji,Ni)|0,$e=$e+Math.imul(Ji,Wi)|0,$e=$e+Math.imul(Vi,Ni)|0,ur=ur+Math.imul(Vi,Wi)|0,nr=nr+Math.imul(dn,hn)|0,$e=$e+Math.imul(dn,xn)|0,$e=$e+Math.imul(tn,hn)|0,ur=ur+Math.imul(tn,xn)|0;var Ha=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,nr=Math.imul(Kn,Fr),$e=Math.imul(Kn,Dr),$e=$e+Math.imul(ao,Fr)|0,ur=Math.imul(ao,Dr),nr=nr+Math.imul(zn,ai)|0,$e=$e+Math.imul(zn,pi)|0,$e=$e+Math.imul(Fn,ai)|0,ur=ur+Math.imul(Fn,pi)|0,nr=nr+Math.imul(pn,Ti)|0,$e=$e+Math.imul(pn,Bi)|0,$e=$e+Math.imul(Dn,Ti)|0,ur=ur+Math.imul(Dn,Bi)|0,nr=nr+Math.imul(Sn,Ni)|0,$e=$e+Math.imul(Sn,Wi)|0,$e=$e+Math.imul(An,Ni)|0,ur=ur+Math.imul(An,Wi)|0,nr=nr+Math.imul(Ji,hn)|0,$e=$e+Math.imul(Ji,xn)|0,$e=$e+Math.imul(Vi,hn)|0,ur=ur+Math.imul(Vi,xn)|0;var Fa=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Fa>>>26)|0,Fa&=67108863,nr=Math.imul(Kn,ai),$e=Math.imul(Kn,pi),$e=$e+Math.imul(ao,ai)|0,ur=Math.imul(ao,pi),nr=nr+Math.imul(zn,Ti)|0,$e=$e+Math.imul(zn,Bi)|0,$e=$e+Math.imul(Fn,Ti)|0,ur=ur+Math.imul(Fn,Bi)|0,nr=nr+Math.imul(pn,Ni)|0,$e=$e+Math.imul(pn,Wi)|0,$e=$e+Math.imul(Dn,Ni)|0,ur=ur+Math.imul(Dn,Wi)|0,nr=nr+Math.imul(Sn,hn)|0,$e=$e+Math.imul(Sn,xn)|0,$e=$e+Math.imul(An,hn)|0,ur=ur+Math.imul(An,xn)|0;var ls=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(ls>>>26)|0,ls&=67108863,nr=Math.imul(Kn,Ti),$e=Math.imul(Kn,Bi),$e=$e+Math.imul(ao,Ti)|0,ur=Math.imul(ao,Bi),nr=nr+Math.imul(zn,Ni)|0,$e=$e+Math.imul(zn,Wi)|0,$e=$e+Math.imul(Fn,Ni)|0,ur=ur+Math.imul(Fn,Wi)|0,nr=nr+Math.imul(pn,hn)|0,$e=$e+Math.imul(pn,xn)|0,$e=$e+Math.imul(Dn,hn)|0,ur=ur+Math.imul(Dn,xn)|0;var us=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(us>>>26)|0,us&=67108863,nr=Math.imul(Kn,Ni),$e=Math.imul(Kn,Wi),$e=$e+Math.imul(ao,Ni)|0,ur=Math.imul(ao,Wi),nr=nr+Math.imul(zn,hn)|0,$e=$e+Math.imul(zn,xn)|0,$e=$e+Math.imul(Fn,hn)|0,ur=ur+Math.imul(Fn,xn)|0;var Xa=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Xa>>>26)|0,Xa&=67108863,nr=Math.imul(Kn,hn),$e=Math.imul(Kn,xn),$e=$e+Math.imul(ao,hn)|0,ur=Math.imul(ao,xn);var hs=(br+nr|0)+(($e&8191)<<13)|0;return br=(ur+($e>>>13)|0)+(hs>>>26)|0,hs&=67108863,pr[0]=yo,pr[1]=So,pr[2]=Bo,pr[3]=Lo,pr[4]=Yo,pr[5]=jo,pr[6]=zo,pr[7]=Go,pr[8]=Jo,pr[9]=ha,pr[10]=Pa,pr[11]=ba,pr[12]=Ea,pr[13]=Ha,pr[14]=Fa,pr[15]=ls,pr[16]=us,pr[17]=Xa,pr[18]=hs,br!==0&&(pr[19]=br,Ue.length++),Ue};Math.imul||(Pr=Ar);function Vr(gr,Ae,ze){ze.negative=Ae.negative^gr.negative,ze.length=gr.length+Ae.length;for(var Ue=0,tr=0,or=0;or<ze.length-1;or++){var pr=tr;tr=0;for(var br=Ue&67108863,nr=Math.min(or,Ae.length-1),$e=Math.max(0,or-gr.length+1);$e<=nr;$e++){var ur=or-$e,$r=gr.words[ur]|0,Yr=Ae.words[$e]|0,wi=$r*Yr,ki=wi&67108863;pr=pr+(wi/67108864|0)|0,ki=ki+br|0,br=ki&67108863,pr=pr+(ki>>>26)|0,tr+=pr>>>26,pr&=67108863}ze.words[or]=br,Ue=pr,pr=tr}return Ue!==0?ze.words[or]=Ue:ze.length--,ze.strip()}function ei(gr,Ae,ze){var Ue=new Nr;return Ue.mulp(gr,Ae,ze)}Me.prototype.mulTo=function(Ae,ze){var Ue,tr=this.length+Ae.length;return this.length===10&&Ae.length===10?Ue=Pr(this,Ae,ze):tr<63?Ue=Ar(this,Ae,ze):tr<1024?Ue=Vr(this,Ae,ze):Ue=ei(this,Ae,ze),Ue};function Nr(gr,Ae){this.x=gr,this.y=Ae}Nr.prototype.makeRBT=function(Ae){for(var ze=new Array(Ae),Ue=Me.prototype._countBits(Ae)-1,tr=0;tr<Ae;tr++)ze[tr]=this.revBin(tr,Ue,Ae);return ze},Nr.prototype.revBin=function(Ae,ze,Ue){if(Ae===0||Ae===Ue-1)return Ae;for(var tr=0,or=0;or<ze;or++)tr|=(Ae&1)<<ze-or-1,Ae>>=1;return tr},Nr.prototype.permute=function(Ae,ze,Ue,tr,or,pr){for(var br=0;br<pr;br++)tr[br]=ze[Ae[br]],or[br]=Ue[Ae[br]]},Nr.prototype.transform=function(Ae,ze,Ue,tr,or,pr){this.permute(pr,Ae,ze,Ue,tr,or);for(var br=1;br<or;br<<=1)for(var nr=br<<1,$e=Math.cos(2*Math.PI/nr),ur=Math.sin(2*Math.PI/nr),$r=0;$r<or;$r+=nr)for(var Yr=$e,wi=ur,ki=0;ki<br;ki++){var Mi=Ue[$r+ki],si=tr[$r+ki],_i=Ue[$r+ki+br],ii=tr[$r+ki+br],Jr=Yr*_i-wi*ii;ii=Yr*ii+wi*_i,_i=Jr,Ue[$r+ki]=Mi+_i,tr[$r+ki]=si+ii,Ue[$r+ki+br]=Mi-_i,tr[$r+ki+br]=si-ii,ki!==nr&&(Jr=$e*Yr-ur*wi,wi=$e*wi+ur*Yr,Yr=Jr)}},Nr.prototype.guessLen13b=function(Ae,ze){var Ue=Math.max(ze,Ae)|1,tr=Ue&1,or=0;for(Ue=Ue/2|0;Ue;Ue=Ue>>>1)or++;return 1<<or+1+tr},Nr.prototype.conjugate=function(Ae,ze,Ue){if(!(Ue<=1))for(var tr=0;tr<Ue/2;tr++){var or=Ae[tr];Ae[tr]=Ae[Ue-tr-1],Ae[Ue-tr-1]=or,or=ze[tr],ze[tr]=-ze[Ue-tr-1],ze[Ue-tr-1]=-or}},Nr.prototype.normalize13b=function(Ae,ze){for(var Ue=0,tr=0;tr<ze/2;tr++){var or=Math.round(Ae[2*tr+1]/ze)*8192+Math.round(Ae[2*tr]/ze)+Ue;Ae[tr]=or&67108863,or<67108864?Ue=0:Ue=or/67108864|0}return Ae},Nr.prototype.convert13b=function(Ae,ze,Ue,tr){for(var or=0,pr=0;pr<ze;pr++)or=or+(Ae[pr]|0),Ue[2*pr]=or&8191,or=or>>>13,Ue[2*pr+1]=or&8191,or=or>>>13;for(pr=2*ze;pr<tr;++pr)Ue[pr]=0;we(or===0),we((or&-8192)===0)},Nr.prototype.stub=function(Ae){for(var ze=new Array(Ae),Ue=0;Ue<Ae;Ue++)ze[Ue]=0;return ze},Nr.prototype.mulp=function(Ae,ze,Ue){var tr=2*this.guessLen13b(Ae.length,ze.length),or=this.makeRBT(tr),pr=this.stub(tr),br=new Array(tr),nr=new Array(tr),$e=new Array(tr),ur=new Array(tr),$r=new Array(tr),Yr=new Array(tr),wi=Ue.words;wi.length=tr,this.convert13b(Ae.words,Ae.length,br,tr),this.convert13b(ze.words,ze.length,ur,tr),this.transform(br,pr,nr,$e,tr,or),this.transform(ur,pr,$r,Yr,tr,or);for(var ki=0;ki<tr;ki++){var Mi=nr[ki]*$r[ki]-$e[ki]*Yr[ki];$e[ki]=nr[ki]*Yr[ki]+$e[ki]*$r[ki],nr[ki]=Mi}return this.conjugate(nr,$e,tr),this.transform(nr,$e,wi,pr,tr,or),this.conjugate(wi,pr,tr),this.normalize13b(wi,tr),Ue.negative=Ae.negative^ze.negative,Ue.length=Ae.length+ze.length,Ue.strip()},Me.prototype.mul=function(Ae){var ze=new Me(null);return ze.words=new Array(this.length+Ae.length),this.mulTo(Ae,ze)},Me.prototype.mulf=function(Ae){var ze=new Me(null);return ze.words=new Array(this.length+Ae.length),ei(this,Ae,ze)},Me.prototype.imul=function(Ae){return this.clone().mulTo(Ae,this)},Me.prototype.imuln=function(Ae){we(typeof Ae=="number"),we(Ae<67108864);for(var ze=0,Ue=0;Ue<this.length;Ue++){var tr=(this.words[Ue]|0)*Ae,or=(tr&67108863)+(ze&67108863);ze>>=26,ze+=tr/67108864|0,ze+=or>>>26,this.words[Ue]=or&67108863}return ze!==0&&(this.words[Ue]=ze,this.length++),this},Me.prototype.muln=function(Ae){return this.clone().imuln(Ae)},Me.prototype.sqr=function(){return this.mul(this)},Me.prototype.isqr=function(){return this.imul(this.clone())},Me.prototype.pow=function(Ae){var ze=Br(Ae);if(ze.length===0)return new Me(1);for(var Ue=this,tr=0;tr<ze.length&&ze[tr]===0;tr++,Ue=Ue.sqr());if(++tr<ze.length)for(var or=Ue.sqr();tr<ze.length;tr++,or=or.sqr())ze[tr]!==0&&(Ue=Ue.mul(or));return Ue},Me.prototype.iushln=function(Ae){we(typeof Ae=="number"&&Ae>=0);var ze=Ae%26,Ue=(Ae-ze)/26,tr=67108863>>>26-ze<<26-ze,or;if(ze!==0){var pr=0;for(or=0;or<this.length;or++){var br=this.words[or]&tr,nr=(this.words[or]|0)-br<<ze;this.words[or]=nr|pr,pr=br>>>26-ze}pr&&(this.words[or]=pr,this.length++)}if(Ue!==0){for(or=this.length-1;or>=0;or--)this.words[or+Ue]=this.words[or];for(or=0;or<Ue;or++)this.words[or]=0;this.length+=Ue}return this.strip()},Me.prototype.ishln=function(Ae){return we(this.negative===0),this.iushln(Ae)},Me.prototype.iushrn=function(Ae,ze,Ue){we(typeof Ae=="number"&&Ae>=0);var tr;ze?tr=(ze-ze%26)/26:tr=0;var or=Ae%26,pr=Math.min((Ae-or)/26,this.length),br=67108863^67108863>>>or<<or,nr=Ue;if(tr-=pr,tr=Math.max(0,tr),nr){for(var $e=0;$e<pr;$e++)nr.words[$e]=this.words[$e];nr.length=pr}if(pr!==0)if(this.length>pr)for(this.length-=pr,$e=0;$e<this.length;$e++)this.words[$e]=this.words[$e+pr];else this.words[0]=0,this.length=1;var ur=0;for($e=this.length-1;$e>=0&&(ur!==0||$e>=tr);$e--){var $r=this.words[$e]|0;this.words[$e]=ur<<26-or|$r>>>or,ur=$r&br}return nr&&ur!==0&&(nr.words[nr.length++]=ur),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},Me.prototype.ishrn=function(Ae,ze,Ue){return we(this.negative===0),this.iushrn(Ae,ze,Ue)},Me.prototype.shln=function(Ae){return this.clone().ishln(Ae)},Me.prototype.ushln=function(Ae){return this.clone().iushln(Ae)},Me.prototype.shrn=function(Ae){return this.clone().ishrn(Ae)},Me.prototype.ushrn=function(Ae){return this.clone().iushrn(Ae)},Me.prototype.testn=function(Ae){we(typeof Ae=="number"&&Ae>=0);var ze=Ae%26,Ue=(Ae-ze)/26,tr=1<<ze;if(this.length<=Ue)return!1;var or=this.words[Ue];return!!(or&tr)},Me.prototype.imaskn=function(Ae){we(typeof Ae=="number"&&Ae>=0);var ze=Ae%26,Ue=(Ae-ze)/26;if(we(this.negative===0,"imaskn works only with positive numbers"),this.length<=Ue)return this;if(ze!==0&&Ue++,this.length=Math.min(Ue,this.length),ze!==0){var tr=67108863^67108863>>>ze<<ze;this.words[this.length-1]&=tr}return this.strip()},Me.prototype.maskn=function(Ae){return this.clone().imaskn(Ae)},Me.prototype.iaddn=function(Ae){return we(typeof Ae=="number"),we(Ae<67108864),Ae<0?this.isubn(-Ae):this.negative!==0?this.length===1&&(this.words[0]|0)<Ae?(this.words[0]=Ae-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(Ae),this.negative=1,this):this._iaddn(Ae)},Me.prototype._iaddn=function(Ae){this.words[0]+=Ae;for(var ze=0;ze<this.length&&this.words[ze]>=67108864;ze++)this.words[ze]-=67108864,ze===this.length-1?this.words[ze+1]=1:this.words[ze+1]++;return this.length=Math.max(this.length,ze+1),this},Me.prototype.isubn=function(Ae){if(we(typeof Ae=="number"),we(Ae<67108864),Ae<0)return this.iaddn(-Ae);if(this.negative!==0)return this.negative=0,this.iaddn(Ae),this.negative=1,this;if(this.words[0]-=Ae,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var ze=0;ze<this.length&&this.words[ze]<0;ze++)this.words[ze]+=67108864,this.words[ze+1]-=1;return this.strip()},Me.prototype.addn=function(Ae){return this.clone().iaddn(Ae)},Me.prototype.subn=function(Ae){return this.clone().isubn(Ae)},Me.prototype.iabs=function(){return this.negative=0,this},Me.prototype.abs=function(){return this.clone().iabs()},Me.prototype._ishlnsubmul=function(Ae,ze,Ue){var tr=Ae.length+Ue,or;this._expand(tr);var pr,br=0;for(or=0;or<Ae.length;or++){pr=(this.words[or+Ue]|0)+br;var nr=(Ae.words[or]|0)*ze;pr-=nr&67108863,br=(pr>>26)-(nr/67108864|0),this.words[or+Ue]=pr&67108863}for(;or<this.length-Ue;or++)pr=(this.words[or+Ue]|0)+br,br=pr>>26,this.words[or+Ue]=pr&67108863;if(br===0)return this.strip();for(we(br===-1),br=0,or=0;or<this.length;or++)pr=-(this.words[or]|0)+br,br=pr>>26,this.words[or]=pr&67108863;return this.negative=1,this.strip()},Me.prototype._wordDiv=function(Ae,ze){var Ue=this.length-Ae.length,tr=this.clone(),or=Ae,pr=or.words[or.length-1]|0,br=this._countBits(pr);Ue=26-br,Ue!==0&&(or=or.ushln(Ue),tr.iushln(Ue),pr=or.words[or.length-1]|0);var nr=tr.length-or.length,$e;if(ze!=="mod"){$e=new Me(null),$e.length=nr+1,$e.words=new Array($e.length);for(var ur=0;ur<$e.length;ur++)$e.words[ur]=0}var $r=tr.clone()._ishlnsubmul(or,1,nr);$r.negative===0&&(tr=$r,$e&&($e.words[nr]=1));for(var Yr=nr-1;Yr>=0;Yr--){var wi=(tr.words[or.length+Yr]|0)*67108864+(tr.words[or.length+Yr-1]|0);for(wi=Math.min(wi/pr|0,67108863),tr._ishlnsubmul(or,wi,Yr);tr.negative!==0;)wi--,tr.negative=0,tr._ishlnsubmul(or,1,Yr),tr.isZero()||(tr.negative^=1);$e&&($e.words[Yr]=wi)}return $e&&$e.strip(),tr.strip(),ze!=="div"&&Ue!==0&&tr.iushrn(Ue),{div:$e||null,mod:tr}},Me.prototype.divmod=function(Ae,ze,Ue){if(we(!Ae.isZero()),this.isZero())return{div:new Me(0),mod:new Me(0)};var tr,or,pr;return this.negative!==0&&Ae.negative===0?(pr=this.neg().divmod(Ae,ze),ze!=="mod"&&(tr=pr.div.neg()),ze!=="div"&&(or=pr.mod.neg(),Ue&&or.negative!==0&&or.iadd(Ae)),{div:tr,mod:or}):this.negative===0&&Ae.negative!==0?(pr=this.divmod(Ae.neg(),ze),ze!=="mod"&&(tr=pr.div.neg()),{div:tr,mod:pr.mod}):(this.negative&Ae.negative)!==0?(pr=this.neg().divmod(Ae.neg(),ze),ze!=="div"&&(or=pr.mod.neg(),Ue&&or.negative!==0&&or.isub(Ae)),{div:pr.div,mod:or}):Ae.length>this.length||this.cmp(Ae)<0?{div:new Me(0),mod:this}:Ae.length===1?ze==="div"?{div:this.divn(Ae.words[0]),mod:null}:ze==="mod"?{div:null,mod:new Me(this.modn(Ae.words[0]))}:{div:this.divn(Ae.words[0]),mod:new Me(this.modn(Ae.words[0]))}:this._wordDiv(Ae,ze)},Me.prototype.div=function(Ae){return this.divmod(Ae,"div",!1).div},Me.prototype.mod=function(Ae){return this.divmod(Ae,"mod",!1).mod},Me.prototype.umod=function(Ae){return this.divmod(Ae,"mod",!0).mod},Me.prototype.divRound=function(Ae){var ze=this.divmod(Ae);if(ze.mod.isZero())return ze.div;var Ue=ze.div.negative!==0?ze.mod.isub(Ae):ze.mod,tr=Ae.ushrn(1),or=Ae.andln(1),pr=Ue.cmp(tr);return pr<0||or===1&&pr===0?ze.div:ze.div.negative!==0?ze.div.isubn(1):ze.div.iaddn(1)},Me.prototype.modn=function(Ae){we(Ae<=67108863);for(var ze=(1<<26)%Ae,Ue=0,tr=this.length-1;tr>=0;tr--)Ue=(ze*Ue+(this.words[tr]|0))%Ae;return Ue},Me.prototype.idivn=function(Ae){we(Ae<=67108863);for(var ze=0,Ue=this.length-1;Ue>=0;Ue--){var tr=(this.words[Ue]|0)+ze*67108864;this.words[Ue]=tr/Ae|0,ze=tr%Ae}return this.strip()},Me.prototype.divn=function(Ae){return this.clone().idivn(Ae)},Me.prototype.egcd=function(Ae){we(Ae.negative===0),we(!Ae.isZero());var ze=this,Ue=Ae.clone();ze.negative!==0?ze=ze.umod(Ae):ze=ze.clone();for(var tr=new Me(1),or=new Me(0),pr=new Me(0),br=new Me(1),nr=0;ze.isEven()&&Ue.isEven();)ze.iushrn(1),Ue.iushrn(1),++nr;for(var $e=Ue.clone(),ur=ze.clone();!ze.isZero();){for(var $r=0,Yr=1;(ze.words[0]&Yr)===0&&$r<26;++$r,Yr<<=1);if($r>0)for(ze.iushrn($r);$r-- >0;)(tr.isOdd()||or.isOdd())&&(tr.iadd($e),or.isub(ur)),tr.iushrn(1),or.iushrn(1);for(var wi=0,ki=1;(Ue.words[0]&ki)===0&&wi<26;++wi,ki<<=1);if(wi>0)for(Ue.iushrn(wi);wi-- >0;)(pr.isOdd()||br.isOdd())&&(pr.iadd($e),br.isub(ur)),pr.iushrn(1),br.iushrn(1);ze.cmp(Ue)>=0?(ze.isub(Ue),tr.isub(pr),or.isub(br)):(Ue.isub(ze),pr.isub(tr),br.isub(or))}return{a:pr,b:br,gcd:Ue.iushln(nr)}},Me.prototype._invmp=function(Ae){we(Ae.negative===0),we(!Ae.isZero());var ze=this,Ue=Ae.clone();ze.negative!==0?ze=ze.umod(Ae):ze=ze.clone();for(var tr=new Me(1),or=new Me(0),pr=Ue.clone();ze.cmpn(1)>0&&Ue.cmpn(1)>0;){for(var br=0,nr=1;(ze.words[0]&nr)===0&&br<26;++br,nr<<=1);if(br>0)for(ze.iushrn(br);br-- >0;)tr.isOdd()&&tr.iadd(pr),tr.iushrn(1);for(var $e=0,ur=1;(Ue.words[0]&ur)===0&&$e<26;++$e,ur<<=1);if($e>0)for(Ue.iushrn($e);$e-- >0;)or.isOdd()&&or.iadd(pr),or.iushrn(1);ze.cmp(Ue)>=0?(ze.isub(Ue),tr.isub(or)):(Ue.isub(ze),or.isub(tr))}var $r;return ze.cmpn(1)===0?$r=tr:$r=or,$r.cmpn(0)<0&&$r.iadd(Ae),$r},Me.prototype.gcd=function(Ae){if(this.isZero())return Ae.abs();if(Ae.isZero())return this.abs();var ze=this.clone(),Ue=Ae.clone();ze.negative=0,Ue.negative=0;for(var tr=0;ze.isEven()&&Ue.isEven();tr++)ze.iushrn(1),Ue.iushrn(1);do{for(;ze.isEven();)ze.iushrn(1);for(;Ue.isEven();)Ue.iushrn(1);var or=ze.cmp(Ue);if(or<0){var pr=ze;ze=Ue,Ue=pr}else if(or===0||Ue.cmpn(1)===0)break;ze.isub(Ue)}while(!0);return Ue.iushln(tr)},Me.prototype.invm=function(Ae){return this.egcd(Ae).a.umod(Ae)},Me.prototype.isEven=function(){return(this.words[0]&1)===0},Me.prototype.isOdd=function(){return(this.words[0]&1)===1},Me.prototype.andln=function(Ae){return this.words[0]&Ae},Me.prototype.bincn=function(Ae){we(typeof Ae=="number");var ze=Ae%26,Ue=(Ae-ze)/26,tr=1<<ze;if(this.length<=Ue)return this._expand(Ue+1),this.words[Ue]|=tr,this;for(var or=tr,pr=Ue;or!==0&&pr<this.length;pr++){var br=this.words[pr]|0;br+=or,or=br>>>26,br&=67108863,this.words[pr]=br}return or!==0&&(this.words[pr]=or,this.length++),this},Me.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Me.prototype.cmpn=function(Ae){var ze=Ae<0;if(this.negative!==0&&!ze)return-1;if(this.negative===0&&ze)return 1;this.strip();var Ue;if(this.length>1)Ue=1;else{ze&&(Ae=-Ae),we(Ae<=67108863,"Number is too big");var tr=this.words[0]|0;Ue=tr===Ae?0:tr<Ae?-1:1}return this.negative!==0?-Ue|0:Ue},Me.prototype.cmp=function(Ae){if(this.negative!==0&&Ae.negative===0)return-1;if(this.negative===0&&Ae.negative!==0)return 1;var ze=this.ucmp(Ae);return this.negative!==0?-ze|0:ze},Me.prototype.ucmp=function(Ae){if(this.length>Ae.length)return 1;if(this.length<Ae.length)return-1;for(var ze=0,Ue=this.length-1;Ue>=0;Ue--){var tr=this.words[Ue]|0,or=Ae.words[Ue]|0;if(tr!==or){tr<or?ze=-1:tr>or&&(ze=1);break}}return ze},Me.prototype.gtn=function(Ae){return this.cmpn(Ae)===1},Me.prototype.gt=function(Ae){return this.cmp(Ae)===1},Me.prototype.gten=function(Ae){return this.cmpn(Ae)>=0},Me.prototype.gte=function(Ae){return this.cmp(Ae)>=0},Me.prototype.ltn=function(Ae){return this.cmpn(Ae)===-1},Me.prototype.lt=function(Ae){return this.cmp(Ae)===-1},Me.prototype.lten=function(Ae){return this.cmpn(Ae)<=0},Me.prototype.lte=function(Ae){return this.cmp(Ae)<=0},Me.prototype.eqn=function(Ae){return this.cmpn(Ae)===0},Me.prototype.eq=function(Ae){return this.cmp(Ae)===0},Me.red=function(Ae){return new li(Ae)},Me.prototype.toRed=function(Ae){return we(!this.red,"Already a number in reduction context"),we(this.negative===0,"red works only with positives"),Ae.convertTo(this)._forceRed(Ae)},Me.prototype.fromRed=function(){return we(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Me.prototype._forceRed=function(Ae){return this.red=Ae,this},Me.prototype.forceRed=function(Ae){return we(!this.red,"Already a number in reduction context"),this._forceRed(Ae)},Me.prototype.redAdd=function(Ae){return we(this.red,"redAdd works only with red numbers"),this.red.add(this,Ae)},Me.prototype.redIAdd=function(Ae){return we(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Ae)},Me.prototype.redSub=function(Ae){return we(this.red,"redSub works only with red numbers"),this.red.sub(this,Ae)},Me.prototype.redISub=function(Ae){return we(this.red,"redISub works only with red numbers"),this.red.isub(this,Ae)},Me.prototype.redShl=function(Ae){return we(this.red,"redShl works only with red numbers"),this.red.shl(this,Ae)},Me.prototype.redMul=function(Ae){return we(this.red,"redMul works only with red numbers"),this.red._verify2(this,Ae),this.red.mul(this,Ae)},Me.prototype.redIMul=function(Ae){return we(this.red,"redMul works only with red numbers"),this.red._verify2(this,Ae),this.red.imul(this,Ae)},Me.prototype.redSqr=function(){return we(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Me.prototype.redISqr=function(){return we(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Me.prototype.redSqrt=function(){return we(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Me.prototype.redInvm=function(){return we(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Me.prototype.redNeg=function(){return we(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Me.prototype.redPow=function(Ae){return we(this.red&&!Ae.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Ae)};var Zr={k256:null,p224:null,p192:null,p25519:null};function Wr(gr,Ae){this.name=gr,this.p=new Me(Ae,16),this.n=this.p.bitLength(),this.k=new Me(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}Wr.prototype._tmp=function(){var Ae=new Me(null);return Ae.words=new Array(Math.ceil(this.n/13)),Ae},Wr.prototype.ireduce=function(Ae){var ze=Ae,Ue;do this.split(ze,this.tmp),ze=this.imulK(ze),ze=ze.iadd(this.tmp),Ue=ze.bitLength();while(Ue>this.n);var tr=Ue<this.n?-1:ze.ucmp(this.p);return tr===0?(ze.words[0]=0,ze.length=1):tr>0?ze.isub(this.p):ze.strip!==void 0?ze.strip():ze._strip(),ze},Wr.prototype.split=function(Ae,ze){Ae.iushrn(this.n,0,ze)},Wr.prototype.imulK=function(Ae){return Ae.imul(this.k)};function oi(){Wr.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}Ie(oi,Wr),oi.prototype.split=function(Ae,ze){for(var Ue=4194303,tr=Math.min(Ae.length,9),or=0;or<tr;or++)ze.words[or]=Ae.words[or];if(ze.length=tr,Ae.length<=9){Ae.words[0]=0,Ae.length=1;return}var pr=Ae.words[9];for(ze.words[ze.length++]=pr&Ue,or=10;or<Ae.length;or++){var br=Ae.words[or]|0;Ae.words[or-10]=(br&Ue)<<4|pr>>>22,pr=br}pr>>>=22,Ae.words[or-10]=pr,pr===0&&Ae.length>10?Ae.length-=10:Ae.length-=9},oi.prototype.imulK=function(Ae){Ae.words[Ae.length]=0,Ae.words[Ae.length+1]=0,Ae.length+=2;for(var ze=0,Ue=0;Ue<Ae.length;Ue++){var tr=Ae.words[Ue]|0;ze+=tr*977,Ae.words[Ue]=ze&67108863,ze=tr*64+(ze/67108864|0)}return Ae.words[Ae.length-1]===0&&(Ae.length--,Ae.words[Ae.length-1]===0&&Ae.length--),Ae};function ui(){Wr.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}Ie(ui,Wr);function fi(){Wr.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}Ie(fi,Wr);function di(){Wr.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}Ie(di,Wr),di.prototype.imulK=function(Ae){for(var ze=0,Ue=0;Ue<Ae.length;Ue++){var tr=(Ae.words[Ue]|0)*19+ze,or=tr&67108863;tr>>>=26,Ae.words[Ue]=or,ze=tr}return ze!==0&&(Ae.words[Ae.length++]=ze),Ae},Me._prime=function(Ae){if(Zr[Ae])return Zr[Ae];var ze;if(Ae==="k256")ze=new oi;else if(Ae==="p224")ze=new ui;else if(Ae==="p192")ze=new fi;else if(Ae==="p25519")ze=new di;else throw new Error("Unknown prime "+Ae);return Zr[Ae]=ze,ze};function li(gr){if(typeof gr=="string"){var Ae=Me._prime(gr);this.m=Ae.p,this.prime=Ae}else we(gr.gtn(1),"modulus must be greater than 1"),this.m=gr,this.prime=null}li.prototype._verify1=function(Ae){we(Ae.negative===0,"red works only with positives"),we(Ae.red,"red works only with red numbers")},li.prototype._verify2=function(Ae,ze){we((Ae.negative|ze.negative)===0,"red works only with positives"),we(Ae.red&&Ae.red===ze.red,"red works only with red numbers")},li.prototype.imod=function(Ae){return this.prime?this.prime.ireduce(Ae)._forceRed(this):Ae.umod(this.m)._forceRed(this)},li.prototype.neg=function(Ae){return Ae.isZero()?Ae.clone():this.m.sub(Ae)._forceRed(this)},li.prototype.add=function(Ae,ze){this._verify2(Ae,ze);var Ue=Ae.add(ze);return Ue.cmp(this.m)>=0&&Ue.isub(this.m),Ue._forceRed(this)},li.prototype.iadd=function(Ae,ze){this._verify2(Ae,ze);var Ue=Ae.iadd(ze);return Ue.cmp(this.m)>=0&&Ue.isub(this.m),Ue},li.prototype.sub=function(Ae,ze){this._verify2(Ae,ze);var Ue=Ae.sub(ze);return Ue.cmpn(0)<0&&Ue.iadd(this.m),Ue._forceRed(this)},li.prototype.isub=function(Ae,ze){this._verify2(Ae,ze);var Ue=Ae.isub(ze);return Ue.cmpn(0)<0&&Ue.iadd(this.m),Ue},li.prototype.shl=function(Ae,ze){return this._verify1(Ae),this.imod(Ae.ushln(ze))},li.prototype.imul=function(Ae,ze){return this._verify2(Ae,ze),this.imod(Ae.imul(ze))},li.prototype.mul=function(Ae,ze){return this._verify2(Ae,ze),this.imod(Ae.mul(ze))},li.prototype.isqr=function(Ae){return this.imul(Ae,Ae.clone())},li.prototype.sqr=function(Ae){return this.mul(Ae,Ae)},li.prototype.sqrt=function(Ae){if(Ae.isZero())return Ae.clone();var ze=this.m.andln(3);if(we(ze%2===1),ze===3){var Ue=this.m.add(new Me(1)).iushrn(2);return this.pow(Ae,Ue)}for(var tr=this.m.subn(1),or=0;!tr.isZero()&&tr.andln(1)===0;)or++,tr.iushrn(1);we(!tr.isZero());var pr=new Me(1).toRed(this),br=pr.redNeg(),nr=this.m.subn(1).iushrn(1),$e=this.m.bitLength();for($e=new Me(2*$e*$e).toRed(this);this.pow($e,nr).cmp(br)!==0;)$e.redIAdd(br);for(var ur=this.pow($e,tr),$r=this.pow(Ae,tr.addn(1).iushrn(1)),Yr=this.pow(Ae,tr),wi=or;Yr.cmp(pr)!==0;){for(var ki=Yr,Mi=0;ki.cmp(pr)!==0;Mi++)ki=ki.redSqr();we(Mi<wi);var si=this.pow(ur,new Me(1).iushln(wi-Mi-1));$r=$r.redMul(si),ur=si.redSqr(),Yr=Yr.redMul(ur),wi=Mi}return $r},li.prototype.invm=function(Ae){var ze=Ae._invmp(this.m);return ze.negative!==0?(ze.negative=0,this.imod(ze).redNeg()):this.imod(ze)},li.prototype.pow=function(Ae,ze){if(ze.isZero())return new Me(1).toRed(this);if(ze.cmpn(1)===0)return Ae.clone();var Ue=4,tr=new Array(1<<Ue);tr[0]=new Me(1).toRed(this),tr[1]=Ae;for(var or=2;or<tr.length;or++)tr[or]=this.mul(tr[or-1],Ae);var pr=tr[0],br=0,nr=0,$e=ze.bitLength()%26;for($e===0&&($e=26),or=ze.length-1;or>=0;or--){for(var ur=ze.words[or],$r=$e-1;$r>=0;$r--){var Yr=ur>>$r&1;if(pr!==tr[0]&&(pr=this.sqr(pr)),Yr===0&&br===0){nr=0;continue}br<<=1,br|=Yr,nr++,!(nr!==Ue&&(or!==0||$r!==0))&&(pr=this.mul(pr,tr[br]),nr=0,br=0)}$e=26}return pr},li.prototype.convertTo=function(Ae){var ze=Ae.umod(this.m);return ze===Ae?ze.clone():ze},li.prototype.convertFrom=function(Ae){var ze=Ae.clone();return ze.red=null,ze},Me.mont=function(Ae){return new hi(Ae)};function hi(gr){li.call(this,gr),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new Me(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}Ie(hi,li),hi.prototype.convertTo=function(Ae){return this.imod(Ae.ushln(this.shift))},hi.prototype.convertFrom=function(Ae){var ze=this.imod(Ae.mul(this.rinv));return ze.red=null,ze},hi.prototype.imul=function(Ae,ze){if(Ae.isZero()||ze.isZero())return Ae.words[0]=0,Ae.length=1,Ae;var Ue=Ae.imul(ze),tr=Ue.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),or=Ue.isub(tr).iushrn(this.shift),pr=or;return or.cmp(this.m)>=0?pr=or.isub(this.m):or.cmpn(0)<0&&(pr=or.iadd(this.m)),pr._forceRed(this)},hi.prototype.mul=function(Ae,ze){if(Ae.isZero()||ze.isZero())return new Me(0)._forceRed(this);var Ue=Ae.mul(ze),tr=Ue.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),or=Ue.isub(tr).iushrn(this.shift),pr=or;return or.cmp(this.m)>=0?pr=or.isub(this.m):or.cmpn(0)<0&&(pr=or.iadd(this.m)),pr._forceRed(this)},hi.prototype.invm=function(Ae){var ze=this.imod(Ae._invmp(this.m).mul(this.r2));return ze._forceRed(this)}})(m,commonjsGlobal)})(bn$1);var browser$3,hasRequiredBrowser;function requireBrowser(){if(hasRequiredBrowser)return browser$3;hasRequiredBrowser=1;var m=requireElliptic(),c=bn$1.exports;browser$3=function(Ze){return new we(Ze)};var ie={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};ie.p224=ie.secp224r1,ie.p256=ie.secp256r1=ie.prime256v1,ie.p192=ie.secp192r1=ie.prime192v1,ie.p384=ie.secp384r1,ie.p521=ie.secp521r1;function we(Me){this.curveType=ie[Me],this.curveType||(this.curveType={name:Me}),this.curve=new m.ec(this.curveType.name),this.keys=void 0}we.prototype.generateKeys=function(Me,Ze){return this.keys=this.curve.genKeyPair(),this.getPublicKey(Me,Ze)},we.prototype.computeSecret=function(Me,Ze,ne){Ze=Ze||"utf8",Buffer$C.isBuffer(Me)||(Me=new Buffer$C(Me,Ze));var rr=this.curve.keyFromPublic(Me).getPublic(),vr=rr.mul(this.keys.getPrivate()).getX();return Ie(vr,ne,this.curveType.byteLength)},we.prototype.getPublicKey=function(Me,Ze){var ne=this.keys.getPublic(Ze==="compressed",!0);return Ze==="hybrid"&&(ne[ne.length-1]%2?ne[0]=7:ne[0]=6),Ie(ne,Me)},we.prototype.getPrivateKey=function(Me){return Ie(this.keys.getPrivate(),Me)},we.prototype.setPublicKey=function(Me,Ze){return Ze=Ze||"utf8",Buffer$C.isBuffer(Me)||(Me=new Buffer$C(Me,Ze)),this.keys._importPublic(Me),this},we.prototype.setPrivateKey=function(Me,Ze){Ze=Ze||"utf8",Buffer$C.isBuffer(Me)||(Me=new Buffer$C(Me,Ze));var ne=new c(Me);return ne=ne.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(ne),this};function Ie(Me,Ze,ne){Array.isArray(Me)||(Me=Me.toArray());var rr=new Buffer$C(Me);if(ne&&rr.length<ne){var vr=new Buffer$C(ne-rr.length);vr.fill(0),rr=Buffer$C.concat([vr,rr])}return Ze?rr.toString(Ze):rr}return browser$3}var browser$2={},createHash$2=browser$a,Buffer$4=safeBuffer$2.exports.Buffer,mgf$2=function(m,c){for(var ie=Buffer$4.alloc(0),we=0,Ie;ie.length<c;)Ie=i2ops(we++),ie=Buffer$4.concat([ie,createHash$2("sha1").update(m).update(Ie).digest()]);return ie.slice(0,c)};function i2ops(m){var c=Buffer$4.allocUnsafe(4);return c.writeUInt32BE(m,0),c}var xor$2=function m(c,ie){for(var we=c.length,Ie=-1;++Ie<we;)c[Ie]^=ie[Ie];return c},bn={exports:{}};(function(m){(function(c,ie){function we(gr,Ae){if(!gr)throw new Error(Ae||"Assertion failed")}function Ie(gr,Ae){gr.super_=Ae;var ze=function(){};ze.prototype=Ae.prototype,gr.prototype=new ze,gr.prototype.constructor=gr}function Me(gr,Ae,ze){if(Me.isBN(gr))return gr;this.negative=0,this.words=null,this.length=0,this.red=null,gr!==null&&((Ae==="le"||Ae==="be")&&(ze=Ae,Ae=10),this._init(gr||0,Ae||10,ze||"be"))}typeof c=="object"?c.exports=Me:ie.BN=Me,Me.BN=Me,Me.wordSize=26;var Ze;try{typeof window<"u"&&typeof window.Buffer<"u"?Ze=window.Buffer:Ze=dist.Buffer}catch{}Me.isBN=function(Ae){return Ae instanceof Me?!0:Ae!==null&&typeof Ae=="object"&&Ae.constructor.wordSize===Me.wordSize&&Array.isArray(Ae.words)},Me.max=function(Ae,ze){return Ae.cmp(ze)>0?Ae:ze},Me.min=function(Ae,ze){return Ae.cmp(ze)<0?Ae:ze},Me.prototype._init=function(Ae,ze,Ue){if(typeof Ae=="number")return this._initNumber(Ae,ze,Ue);if(typeof Ae=="object")return this._initArray(Ae,ze,Ue);ze==="hex"&&(ze=16),we(ze===(ze|0)&&ze>=2&&ze<=36),Ae=Ae.toString().replace(/\s+/g,"");var tr=0;Ae[0]==="-"&&(tr++,this.negative=1),tr<Ae.length&&(ze===16?this._parseHex(Ae,tr,Ue):(this._parseBase(Ae,ze,tr),Ue==="le"&&this._initArray(this.toArray(),ze,Ue)))},Me.prototype._initNumber=function(Ae,ze,Ue){Ae<0&&(this.negative=1,Ae=-Ae),Ae<67108864?(this.words=[Ae&67108863],this.length=1):Ae<4503599627370496?(this.words=[Ae&67108863,Ae/67108864&67108863],this.length=2):(we(Ae<9007199254740992),this.words=[Ae&67108863,Ae/67108864&67108863,1],this.length=3),Ue==="le"&&this._initArray(this.toArray(),ze,Ue)},Me.prototype._initArray=function(Ae,ze,Ue){if(we(typeof Ae.length=="number"),Ae.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Ae.length/3),this.words=new Array(this.length);for(var tr=0;tr<this.length;tr++)this.words[tr]=0;var or,pr,br=0;if(Ue==="be")for(tr=Ae.length-1,or=0;tr>=0;tr-=3)pr=Ae[tr]|Ae[tr-1]<<8|Ae[tr-2]<<16,this.words[or]|=pr<<br&67108863,this.words[or+1]=pr>>>26-br&67108863,br+=24,br>=26&&(br-=26,or++);else if(Ue==="le")for(tr=0,or=0;tr<Ae.length;tr+=3)pr=Ae[tr]|Ae[tr+1]<<8|Ae[tr+2]<<16,this.words[or]|=pr<<br&67108863,this.words[or+1]=pr>>>26-br&67108863,br+=24,br>=26&&(br-=26,or++);return this.strip()};function ne(gr,Ae){var ze=gr.charCodeAt(Ae);return ze>=65&&ze<=70?ze-55:ze>=97&&ze<=102?ze-87:ze-48&15}function rr(gr,Ae,ze){var Ue=ne(gr,ze);return ze-1>=Ae&&(Ue|=ne(gr,ze-1)<<4),Ue}Me.prototype._parseHex=function(Ae,ze,Ue){this.length=Math.ceil((Ae.length-ze)/6),this.words=new Array(this.length);for(var tr=0;tr<this.length;tr++)this.words[tr]=0;var or=0,pr=0,br;if(Ue==="be")for(tr=Ae.length-1;tr>=ze;tr-=2)br=rr(Ae,ze,tr)<<or,this.words[pr]|=br&67108863,or>=18?(or-=18,pr+=1,this.words[pr]|=br>>>26):or+=8;else{var nr=Ae.length-ze;for(tr=nr%2===0?ze+1:ze;tr<Ae.length;tr+=2)br=rr(Ae,ze,tr)<<or,this.words[pr]|=br&67108863,or>=18?(or-=18,pr+=1,this.words[pr]|=br>>>26):or+=8}this.strip()};function vr(gr,Ae,ze,Ue){for(var tr=0,or=Math.min(gr.length,ze),pr=Ae;pr<or;pr++){var br=gr.charCodeAt(pr)-48;tr*=Ue,br>=49?tr+=br-49+10:br>=17?tr+=br-17+10:tr+=br}return tr}Me.prototype._parseBase=function(Ae,ze,Ue){this.words=[0],this.length=1;for(var tr=0,or=1;or<=67108863;or*=ze)tr++;tr--,or=or/ze|0;for(var pr=Ae.length-Ue,br=pr%tr,nr=Math.min(pr,pr-br)+Ue,$e=0,ur=Ue;ur<nr;ur+=tr)$e=vr(Ae,ur,ur+tr,ze),this.imuln(or),this.words[0]+$e<67108864?this.words[0]+=$e:this._iaddn($e);if(br!==0){var $r=1;for($e=vr(Ae,ur,Ae.length,ze),ur=0;ur<br;ur++)$r*=ze;this.imuln($r),this.words[0]+$e<67108864?this.words[0]+=$e:this._iaddn($e)}this.strip()},Me.prototype.copy=function(Ae){Ae.words=new Array(this.length);for(var ze=0;ze<this.length;ze++)Ae.words[ze]=this.words[ze];Ae.length=this.length,Ae.negative=this.negative,Ae.red=this.red},Me.prototype.clone=function(){var Ae=new Me(null);return this.copy(Ae),Ae},Me.prototype._expand=function(Ae){for(;this.length<Ae;)this.words[this.length++]=0;return this},Me.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},Me.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},Me.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var lr=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],yr=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],kr=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];Me.prototype.toString=function(Ae,ze){Ae=Ae||10,ze=ze|0||1;var Ue;if(Ae===16||Ae==="hex"){Ue="";for(var tr=0,or=0,pr=0;pr<this.length;pr++){var br=this.words[pr],nr=((br<<tr|or)&16777215).toString(16);or=br>>>24-tr&16777215,tr+=2,tr>=26&&(tr-=26,pr--),or!==0||pr!==this.length-1?Ue=lr[6-nr.length]+nr+Ue:Ue=nr+Ue}for(or!==0&&(Ue=or.toString(16)+Ue);Ue.length%ze!==0;)Ue="0"+Ue;return this.negative!==0&&(Ue="-"+Ue),Ue}if(Ae===(Ae|0)&&Ae>=2&&Ae<=36){var $e=yr[Ae],ur=kr[Ae];Ue="";var $r=this.clone();for($r.negative=0;!$r.isZero();){var Yr=$r.modn(ur).toString(Ae);$r=$r.idivn(ur),$r.isZero()?Ue=Yr+Ue:Ue=lr[$e-Yr.length]+Yr+Ue}for(this.isZero()&&(Ue="0"+Ue);Ue.length%ze!==0;)Ue="0"+Ue;return this.negative!==0&&(Ue="-"+Ue),Ue}we(!1,"Base should be between 2 and 36")},Me.prototype.toNumber=function(){var Ae=this.words[0];return this.length===2?Ae+=this.words[1]*67108864:this.length===3&&this.words[2]===1?Ae+=4503599627370496+this.words[1]*67108864:this.length>2&&we(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-Ae:Ae},Me.prototype.toJSON=function(){return this.toString(16)},Me.prototype.toBuffer=function(Ae,ze){return we(typeof Ze<"u"),this.toArrayLike(Ze,Ae,ze)},Me.prototype.toArray=function(Ae,ze){return this.toArrayLike(Array,Ae,ze)},Me.prototype.toArrayLike=function(Ae,ze,Ue){var tr=this.byteLength(),or=Ue||Math.max(1,tr);we(tr<=or,"byte array longer than desired length"),we(or>0,"Requested array length <= 0"),this.strip();var pr=ze==="le",br=new Ae(or),nr,$e,ur=this.clone();if(pr){for($e=0;!ur.isZero();$e++)nr=ur.andln(255),ur.iushrn(8),br[$e]=nr;for(;$e<or;$e++)br[$e]=0}else{for($e=0;$e<or-tr;$e++)br[$e]=0;for($e=0;!ur.isZero();$e++)nr=ur.andln(255),ur.iushrn(8),br[or-$e-1]=nr}return br},Math.clz32?Me.prototype._countBits=function(Ae){return 32-Math.clz32(Ae)}:Me.prototype._countBits=function(Ae){var ze=Ae,Ue=0;return ze>=4096&&(Ue+=13,ze>>>=13),ze>=64&&(Ue+=7,ze>>>=7),ze>=8&&(Ue+=4,ze>>>=4),ze>=2&&(Ue+=2,ze>>>=2),Ue+ze},Me.prototype._zeroBits=function(Ae){if(Ae===0)return 26;var ze=Ae,Ue=0;return(ze&8191)===0&&(Ue+=13,ze>>>=13),(ze&127)===0&&(Ue+=7,ze>>>=7),(ze&15)===0&&(Ue+=4,ze>>>=4),(ze&3)===0&&(Ue+=2,ze>>>=2),(ze&1)===0&&Ue++,Ue},Me.prototype.bitLength=function(){var Ae=this.words[this.length-1],ze=this._countBits(Ae);return(this.length-1)*26+ze};function Br(gr){for(var Ae=new Array(gr.bitLength()),ze=0;ze<Ae.length;ze++){var Ue=ze/26|0,tr=ze%26;Ae[ze]=(gr.words[Ue]&1<<tr)>>>tr}return Ae}Me.prototype.zeroBits=function(){if(this.isZero())return 0;for(var Ae=0,ze=0;ze<this.length;ze++){var Ue=this._zeroBits(this.words[ze]);if(Ae+=Ue,Ue!==26)break}return Ae},Me.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Me.prototype.toTwos=function(Ae){return this.negative!==0?this.abs().inotn(Ae).iaddn(1):this.clone()},Me.prototype.fromTwos=function(Ae){return this.testn(Ae-1)?this.notn(Ae).iaddn(1).ineg():this.clone()},Me.prototype.isNeg=function(){return this.negative!==0},Me.prototype.neg=function(){return this.clone().ineg()},Me.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},Me.prototype.iuor=function(Ae){for(;this.length<Ae.length;)this.words[this.length++]=0;for(var ze=0;ze<Ae.length;ze++)this.words[ze]=this.words[ze]|Ae.words[ze];return this.strip()},Me.prototype.ior=function(Ae){return we((this.negative|Ae.negative)===0),this.iuor(Ae)},Me.prototype.or=function(Ae){return this.length>Ae.length?this.clone().ior(Ae):Ae.clone().ior(this)},Me.prototype.uor=function(Ae){return this.length>Ae.length?this.clone().iuor(Ae):Ae.clone().iuor(this)},Me.prototype.iuand=function(Ae){var ze;this.length>Ae.length?ze=Ae:ze=this;for(var Ue=0;Ue<ze.length;Ue++)this.words[Ue]=this.words[Ue]&Ae.words[Ue];return this.length=ze.length,this.strip()},Me.prototype.iand=function(Ae){return we((this.negative|Ae.negative)===0),this.iuand(Ae)},Me.prototype.and=function(Ae){return this.length>Ae.length?this.clone().iand(Ae):Ae.clone().iand(this)},Me.prototype.uand=function(Ae){return this.length>Ae.length?this.clone().iuand(Ae):Ae.clone().iuand(this)},Me.prototype.iuxor=function(Ae){var ze,Ue;this.length>Ae.length?(ze=this,Ue=Ae):(ze=Ae,Ue=this);for(var tr=0;tr<Ue.length;tr++)this.words[tr]=ze.words[tr]^Ue.words[tr];if(this!==ze)for(;tr<ze.length;tr++)this.words[tr]=ze.words[tr];return this.length=ze.length,this.strip()},Me.prototype.ixor=function(Ae){return we((this.negative|Ae.negative)===0),this.iuxor(Ae)},Me.prototype.xor=function(Ae){return this.length>Ae.length?this.clone().ixor(Ae):Ae.clone().ixor(this)},Me.prototype.uxor=function(Ae){return this.length>Ae.length?this.clone().iuxor(Ae):Ae.clone().iuxor(this)},Me.prototype.inotn=function(Ae){we(typeof Ae=="number"&&Ae>=0);var ze=Math.ceil(Ae/26)|0,Ue=Ae%26;this._expand(ze),Ue>0&&ze--;for(var tr=0;tr<ze;tr++)this.words[tr]=~this.words[tr]&67108863;return Ue>0&&(this.words[tr]=~this.words[tr]&67108863>>26-Ue),this.strip()},Me.prototype.notn=function(Ae){return this.clone().inotn(Ae)},Me.prototype.setn=function(Ae,ze){we(typeof Ae=="number"&&Ae>=0);var Ue=Ae/26|0,tr=Ae%26;return this._expand(Ue+1),ze?this.words[Ue]=this.words[Ue]|1<<tr:this.words[Ue]=this.words[Ue]&~(1<<tr),this.strip()},Me.prototype.iadd=function(Ae){var ze;if(this.negative!==0&&Ae.negative===0)return this.negative=0,ze=this.isub(Ae),this.negative^=1,this._normSign();if(this.negative===0&&Ae.negative!==0)return Ae.negative=0,ze=this.isub(Ae),Ae.negative=1,ze._normSign();var Ue,tr;this.length>Ae.length?(Ue=this,tr=Ae):(Ue=Ae,tr=this);for(var or=0,pr=0;pr<tr.length;pr++)ze=(Ue.words[pr]|0)+(tr.words[pr]|0)+or,this.words[pr]=ze&67108863,or=ze>>>26;for(;or!==0&&pr<Ue.length;pr++)ze=(Ue.words[pr]|0)+or,this.words[pr]=ze&67108863,or=ze>>>26;if(this.length=Ue.length,or!==0)this.words[this.length]=or,this.length++;else if(Ue!==this)for(;pr<Ue.length;pr++)this.words[pr]=Ue.words[pr];return this},Me.prototype.add=function(Ae){var ze;return Ae.negative!==0&&this.negative===0?(Ae.negative=0,ze=this.sub(Ae),Ae.negative^=1,ze):Ae.negative===0&&this.negative!==0?(this.negative=0,ze=Ae.sub(this),this.negative=1,ze):this.length>Ae.length?this.clone().iadd(Ae):Ae.clone().iadd(this)},Me.prototype.isub=function(Ae){if(Ae.negative!==0){Ae.negative=0;var ze=this.iadd(Ae);return Ae.negative=1,ze._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Ae),this.negative=1,this._normSign();var Ue=this.cmp(Ae);if(Ue===0)return this.negative=0,this.length=1,this.words[0]=0,this;var tr,or;Ue>0?(tr=this,or=Ae):(tr=Ae,or=this);for(var pr=0,br=0;br<or.length;br++)ze=(tr.words[br]|0)-(or.words[br]|0)+pr,pr=ze>>26,this.words[br]=ze&67108863;for(;pr!==0&&br<tr.length;br++)ze=(tr.words[br]|0)+pr,pr=ze>>26,this.words[br]=ze&67108863;if(pr===0&&br<tr.length&&tr!==this)for(;br<tr.length;br++)this.words[br]=tr.words[br];return this.length=Math.max(this.length,br),tr!==this&&(this.negative=1),this.strip()},Me.prototype.sub=function(Ae){return this.clone().isub(Ae)};function Ar(gr,Ae,ze){ze.negative=Ae.negative^gr.negative;var Ue=gr.length+Ae.length|0;ze.length=Ue,Ue=Ue-1|0;var tr=gr.words[0]|0,or=Ae.words[0]|0,pr=tr*or,br=pr&67108863,nr=pr/67108864|0;ze.words[0]=br;for(var $e=1;$e<Ue;$e++){for(var ur=nr>>>26,$r=nr&67108863,Yr=Math.min($e,Ae.length-1),wi=Math.max(0,$e-gr.length+1);wi<=Yr;wi++){var ki=$e-wi|0;tr=gr.words[ki]|0,or=Ae.words[wi]|0,pr=tr*or+$r,ur+=pr/67108864|0,$r=pr&67108863}ze.words[$e]=$r|0,nr=ur|0}return nr!==0?ze.words[$e]=nr|0:ze.length--,ze.strip()}var Pr=function(Ae,ze,Ue){var tr=Ae.words,or=ze.words,pr=Ue.words,br=0,nr,$e,ur,$r=tr[0]|0,Yr=$r&8191,wi=$r>>>13,ki=tr[1]|0,Mi=ki&8191,si=ki>>>13,_i=tr[2]|0,ii=_i&8191,Jr=_i>>>13,bi=tr[3]|0,vi=bi&8191,Di=bi>>>13,Ui=tr[4]|0,dn=Ui&8191,tn=Ui>>>13,Tn=tr[5]|0,Ji=Tn&8191,Vi=Tn>>>13,Gn=tr[6]|0,Sn=Gn&8191,An=Gn>>>13,To=tr[7]|0,pn=To&8191,Dn=To>>>13,Ho=tr[8]|0,zn=Ho&8191,Fn=Ho>>>13,Wo=tr[9]|0,Kn=Wo&8191,ao=Wo>>>13,pa=or[0]|0,Hn=pa&8191,eo=pa>>>13,ea=or[1]|0,Zn=ea&8191,an=ea>>>13,Rn=or[2]|0,Cn=Rn&8191,Yn=Rn>>>13,$o=or[3]|0,Nn=$o&8191,to=$o>>>13,ma=or[4]|0,Qn=ma&8191,no=ma>>>13,yn=or[5]|0,Fr=yn&8191,Dr=yn>>>13,qr=or[6]|0,ai=qr&8191,pi=qr>>>13,Ai=or[7]|0,Ti=Ai&8191,Bi=Ai>>>13,cn=or[8]|0,Ni=cn&8191,Wi=cn>>>13,Bn=or[9]|0,hn=Bn&8191,xn=Bn>>>13;Ue.negative=Ae.negative^ze.negative,Ue.length=19,nr=Math.imul(Yr,Hn),$e=Math.imul(Yr,eo),$e=$e+Math.imul(wi,Hn)|0,ur=Math.imul(wi,eo);var yo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(yo>>>26)|0,yo&=67108863,nr=Math.imul(Mi,Hn),$e=Math.imul(Mi,eo),$e=$e+Math.imul(si,Hn)|0,ur=Math.imul(si,eo),nr=nr+Math.imul(Yr,Zn)|0,$e=$e+Math.imul(Yr,an)|0,$e=$e+Math.imul(wi,Zn)|0,ur=ur+Math.imul(wi,an)|0;var So=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(So>>>26)|0,So&=67108863,nr=Math.imul(ii,Hn),$e=Math.imul(ii,eo),$e=$e+Math.imul(Jr,Hn)|0,ur=Math.imul(Jr,eo),nr=nr+Math.imul(Mi,Zn)|0,$e=$e+Math.imul(Mi,an)|0,$e=$e+Math.imul(si,Zn)|0,ur=ur+Math.imul(si,an)|0,nr=nr+Math.imul(Yr,Cn)|0,$e=$e+Math.imul(Yr,Yn)|0,$e=$e+Math.imul(wi,Cn)|0,ur=ur+Math.imul(wi,Yn)|0;var Bo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Bo>>>26)|0,Bo&=67108863,nr=Math.imul(vi,Hn),$e=Math.imul(vi,eo),$e=$e+Math.imul(Di,Hn)|0,ur=Math.imul(Di,eo),nr=nr+Math.imul(ii,Zn)|0,$e=$e+Math.imul(ii,an)|0,$e=$e+Math.imul(Jr,Zn)|0,ur=ur+Math.imul(Jr,an)|0,nr=nr+Math.imul(Mi,Cn)|0,$e=$e+Math.imul(Mi,Yn)|0,$e=$e+Math.imul(si,Cn)|0,ur=ur+Math.imul(si,Yn)|0,nr=nr+Math.imul(Yr,Nn)|0,$e=$e+Math.imul(Yr,to)|0,$e=$e+Math.imul(wi,Nn)|0,ur=ur+Math.imul(wi,to)|0;var Lo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Lo>>>26)|0,Lo&=67108863,nr=Math.imul(dn,Hn),$e=Math.imul(dn,eo),$e=$e+Math.imul(tn,Hn)|0,ur=Math.imul(tn,eo),nr=nr+Math.imul(vi,Zn)|0,$e=$e+Math.imul(vi,an)|0,$e=$e+Math.imul(Di,Zn)|0,ur=ur+Math.imul(Di,an)|0,nr=nr+Math.imul(ii,Cn)|0,$e=$e+Math.imul(ii,Yn)|0,$e=$e+Math.imul(Jr,Cn)|0,ur=ur+Math.imul(Jr,Yn)|0,nr=nr+Math.imul(Mi,Nn)|0,$e=$e+Math.imul(Mi,to)|0,$e=$e+Math.imul(si,Nn)|0,ur=ur+Math.imul(si,to)|0,nr=nr+Math.imul(Yr,Qn)|0,$e=$e+Math.imul(Yr,no)|0,$e=$e+Math.imul(wi,Qn)|0,ur=ur+Math.imul(wi,no)|0;var Yo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Yo>>>26)|0,Yo&=67108863,nr=Math.imul(Ji,Hn),$e=Math.imul(Ji,eo),$e=$e+Math.imul(Vi,Hn)|0,ur=Math.imul(Vi,eo),nr=nr+Math.imul(dn,Zn)|0,$e=$e+Math.imul(dn,an)|0,$e=$e+Math.imul(tn,Zn)|0,ur=ur+Math.imul(tn,an)|0,nr=nr+Math.imul(vi,Cn)|0,$e=$e+Math.imul(vi,Yn)|0,$e=$e+Math.imul(Di,Cn)|0,ur=ur+Math.imul(Di,Yn)|0,nr=nr+Math.imul(ii,Nn)|0,$e=$e+Math.imul(ii,to)|0,$e=$e+Math.imul(Jr,Nn)|0,ur=ur+Math.imul(Jr,to)|0,nr=nr+Math.imul(Mi,Qn)|0,$e=$e+Math.imul(Mi,no)|0,$e=$e+Math.imul(si,Qn)|0,ur=ur+Math.imul(si,no)|0,nr=nr+Math.imul(Yr,Fr)|0,$e=$e+Math.imul(Yr,Dr)|0,$e=$e+Math.imul(wi,Fr)|0,ur=ur+Math.imul(wi,Dr)|0;var jo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(jo>>>26)|0,jo&=67108863,nr=Math.imul(Sn,Hn),$e=Math.imul(Sn,eo),$e=$e+Math.imul(An,Hn)|0,ur=Math.imul(An,eo),nr=nr+Math.imul(Ji,Zn)|0,$e=$e+Math.imul(Ji,an)|0,$e=$e+Math.imul(Vi,Zn)|0,ur=ur+Math.imul(Vi,an)|0,nr=nr+Math.imul(dn,Cn)|0,$e=$e+Math.imul(dn,Yn)|0,$e=$e+Math.imul(tn,Cn)|0,ur=ur+Math.imul(tn,Yn)|0,nr=nr+Math.imul(vi,Nn)|0,$e=$e+Math.imul(vi,to)|0,$e=$e+Math.imul(Di,Nn)|0,ur=ur+Math.imul(Di,to)|0,nr=nr+Math.imul(ii,Qn)|0,$e=$e+Math.imul(ii,no)|0,$e=$e+Math.imul(Jr,Qn)|0,ur=ur+Math.imul(Jr,no)|0,nr=nr+Math.imul(Mi,Fr)|0,$e=$e+Math.imul(Mi,Dr)|0,$e=$e+Math.imul(si,Fr)|0,ur=ur+Math.imul(si,Dr)|0,nr=nr+Math.imul(Yr,ai)|0,$e=$e+Math.imul(Yr,pi)|0,$e=$e+Math.imul(wi,ai)|0,ur=ur+Math.imul(wi,pi)|0;var zo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(zo>>>26)|0,zo&=67108863,nr=Math.imul(pn,Hn),$e=Math.imul(pn,eo),$e=$e+Math.imul(Dn,Hn)|0,ur=Math.imul(Dn,eo),nr=nr+Math.imul(Sn,Zn)|0,$e=$e+Math.imul(Sn,an)|0,$e=$e+Math.imul(An,Zn)|0,ur=ur+Math.imul(An,an)|0,nr=nr+Math.imul(Ji,Cn)|0,$e=$e+Math.imul(Ji,Yn)|0,$e=$e+Math.imul(Vi,Cn)|0,ur=ur+Math.imul(Vi,Yn)|0,nr=nr+Math.imul(dn,Nn)|0,$e=$e+Math.imul(dn,to)|0,$e=$e+Math.imul(tn,Nn)|0,ur=ur+Math.imul(tn,to)|0,nr=nr+Math.imul(vi,Qn)|0,$e=$e+Math.imul(vi,no)|0,$e=$e+Math.imul(Di,Qn)|0,ur=ur+Math.imul(Di,no)|0,nr=nr+Math.imul(ii,Fr)|0,$e=$e+Math.imul(ii,Dr)|0,$e=$e+Math.imul(Jr,Fr)|0,ur=ur+Math.imul(Jr,Dr)|0,nr=nr+Math.imul(Mi,ai)|0,$e=$e+Math.imul(Mi,pi)|0,$e=$e+Math.imul(si,ai)|0,ur=ur+Math.imul(si,pi)|0,nr=nr+Math.imul(Yr,Ti)|0,$e=$e+Math.imul(Yr,Bi)|0,$e=$e+Math.imul(wi,Ti)|0,ur=ur+Math.imul(wi,Bi)|0;var Go=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Go>>>26)|0,Go&=67108863,nr=Math.imul(zn,Hn),$e=Math.imul(zn,eo),$e=$e+Math.imul(Fn,Hn)|0,ur=Math.imul(Fn,eo),nr=nr+Math.imul(pn,Zn)|0,$e=$e+Math.imul(pn,an)|0,$e=$e+Math.imul(Dn,Zn)|0,ur=ur+Math.imul(Dn,an)|0,nr=nr+Math.imul(Sn,Cn)|0,$e=$e+Math.imul(Sn,Yn)|0,$e=$e+Math.imul(An,Cn)|0,ur=ur+Math.imul(An,Yn)|0,nr=nr+Math.imul(Ji,Nn)|0,$e=$e+Math.imul(Ji,to)|0,$e=$e+Math.imul(Vi,Nn)|0,ur=ur+Math.imul(Vi,to)|0,nr=nr+Math.imul(dn,Qn)|0,$e=$e+Math.imul(dn,no)|0,$e=$e+Math.imul(tn,Qn)|0,ur=ur+Math.imul(tn,no)|0,nr=nr+Math.imul(vi,Fr)|0,$e=$e+Math.imul(vi,Dr)|0,$e=$e+Math.imul(Di,Fr)|0,ur=ur+Math.imul(Di,Dr)|0,nr=nr+Math.imul(ii,ai)|0,$e=$e+Math.imul(ii,pi)|0,$e=$e+Math.imul(Jr,ai)|0,ur=ur+Math.imul(Jr,pi)|0,nr=nr+Math.imul(Mi,Ti)|0,$e=$e+Math.imul(Mi,Bi)|0,$e=$e+Math.imul(si,Ti)|0,ur=ur+Math.imul(si,Bi)|0,nr=nr+Math.imul(Yr,Ni)|0,$e=$e+Math.imul(Yr,Wi)|0,$e=$e+Math.imul(wi,Ni)|0,ur=ur+Math.imul(wi,Wi)|0;var Jo=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Jo>>>26)|0,Jo&=67108863,nr=Math.imul(Kn,Hn),$e=Math.imul(Kn,eo),$e=$e+Math.imul(ao,Hn)|0,ur=Math.imul(ao,eo),nr=nr+Math.imul(zn,Zn)|0,$e=$e+Math.imul(zn,an)|0,$e=$e+Math.imul(Fn,Zn)|0,ur=ur+Math.imul(Fn,an)|0,nr=nr+Math.imul(pn,Cn)|0,$e=$e+Math.imul(pn,Yn)|0,$e=$e+Math.imul(Dn,Cn)|0,ur=ur+Math.imul(Dn,Yn)|0,nr=nr+Math.imul(Sn,Nn)|0,$e=$e+Math.imul(Sn,to)|0,$e=$e+Math.imul(An,Nn)|0,ur=ur+Math.imul(An,to)|0,nr=nr+Math.imul(Ji,Qn)|0,$e=$e+Math.imul(Ji,no)|0,$e=$e+Math.imul(Vi,Qn)|0,ur=ur+Math.imul(Vi,no)|0,nr=nr+Math.imul(dn,Fr)|0,$e=$e+Math.imul(dn,Dr)|0,$e=$e+Math.imul(tn,Fr)|0,ur=ur+Math.imul(tn,Dr)|0,nr=nr+Math.imul(vi,ai)|0,$e=$e+Math.imul(vi,pi)|0,$e=$e+Math.imul(Di,ai)|0,ur=ur+Math.imul(Di,pi)|0,nr=nr+Math.imul(ii,Ti)|0,$e=$e+Math.imul(ii,Bi)|0,$e=$e+Math.imul(Jr,Ti)|0,ur=ur+Math.imul(Jr,Bi)|0,nr=nr+Math.imul(Mi,Ni)|0,$e=$e+Math.imul(Mi,Wi)|0,$e=$e+Math.imul(si,Ni)|0,ur=ur+Math.imul(si,Wi)|0,nr=nr+Math.imul(Yr,hn)|0,$e=$e+Math.imul(Yr,xn)|0,$e=$e+Math.imul(wi,hn)|0,ur=ur+Math.imul(wi,xn)|0;var ha=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(ha>>>26)|0,ha&=67108863,nr=Math.imul(Kn,Zn),$e=Math.imul(Kn,an),$e=$e+Math.imul(ao,Zn)|0,ur=Math.imul(ao,an),nr=nr+Math.imul(zn,Cn)|0,$e=$e+Math.imul(zn,Yn)|0,$e=$e+Math.imul(Fn,Cn)|0,ur=ur+Math.imul(Fn,Yn)|0,nr=nr+Math.imul(pn,Nn)|0,$e=$e+Math.imul(pn,to)|0,$e=$e+Math.imul(Dn,Nn)|0,ur=ur+Math.imul(Dn,to)|0,nr=nr+Math.imul(Sn,Qn)|0,$e=$e+Math.imul(Sn,no)|0,$e=$e+Math.imul(An,Qn)|0,ur=ur+Math.imul(An,no)|0,nr=nr+Math.imul(Ji,Fr)|0,$e=$e+Math.imul(Ji,Dr)|0,$e=$e+Math.imul(Vi,Fr)|0,ur=ur+Math.imul(Vi,Dr)|0,nr=nr+Math.imul(dn,ai)|0,$e=$e+Math.imul(dn,pi)|0,$e=$e+Math.imul(tn,ai)|0,ur=ur+Math.imul(tn,pi)|0,nr=nr+Math.imul(vi,Ti)|0,$e=$e+Math.imul(vi,Bi)|0,$e=$e+Math.imul(Di,Ti)|0,ur=ur+Math.imul(Di,Bi)|0,nr=nr+Math.imul(ii,Ni)|0,$e=$e+Math.imul(ii,Wi)|0,$e=$e+Math.imul(Jr,Ni)|0,ur=ur+Math.imul(Jr,Wi)|0,nr=nr+Math.imul(Mi,hn)|0,$e=$e+Math.imul(Mi,xn)|0,$e=$e+Math.imul(si,hn)|0,ur=ur+Math.imul(si,xn)|0;var Pa=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Pa>>>26)|0,Pa&=67108863,nr=Math.imul(Kn,Cn),$e=Math.imul(Kn,Yn),$e=$e+Math.imul(ao,Cn)|0,ur=Math.imul(ao,Yn),nr=nr+Math.imul(zn,Nn)|0,$e=$e+Math.imul(zn,to)|0,$e=$e+Math.imul(Fn,Nn)|0,ur=ur+Math.imul(Fn,to)|0,nr=nr+Math.imul(pn,Qn)|0,$e=$e+Math.imul(pn,no)|0,$e=$e+Math.imul(Dn,Qn)|0,ur=ur+Math.imul(Dn,no)|0,nr=nr+Math.imul(Sn,Fr)|0,$e=$e+Math.imul(Sn,Dr)|0,$e=$e+Math.imul(An,Fr)|0,ur=ur+Math.imul(An,Dr)|0,nr=nr+Math.imul(Ji,ai)|0,$e=$e+Math.imul(Ji,pi)|0,$e=$e+Math.imul(Vi,ai)|0,ur=ur+Math.imul(Vi,pi)|0,nr=nr+Math.imul(dn,Ti)|0,$e=$e+Math.imul(dn,Bi)|0,$e=$e+Math.imul(tn,Ti)|0,ur=ur+Math.imul(tn,Bi)|0,nr=nr+Math.imul(vi,Ni)|0,$e=$e+Math.imul(vi,Wi)|0,$e=$e+Math.imul(Di,Ni)|0,ur=ur+Math.imul(Di,Wi)|0,nr=nr+Math.imul(ii,hn)|0,$e=$e+Math.imul(ii,xn)|0,$e=$e+Math.imul(Jr,hn)|0,ur=ur+Math.imul(Jr,xn)|0;var ba=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(ba>>>26)|0,ba&=67108863,nr=Math.imul(Kn,Nn),$e=Math.imul(Kn,to),$e=$e+Math.imul(ao,Nn)|0,ur=Math.imul(ao,to),nr=nr+Math.imul(zn,Qn)|0,$e=$e+Math.imul(zn,no)|0,$e=$e+Math.imul(Fn,Qn)|0,ur=ur+Math.imul(Fn,no)|0,nr=nr+Math.imul(pn,Fr)|0,$e=$e+Math.imul(pn,Dr)|0,$e=$e+Math.imul(Dn,Fr)|0,ur=ur+Math.imul(Dn,Dr)|0,nr=nr+Math.imul(Sn,ai)|0,$e=$e+Math.imul(Sn,pi)|0,$e=$e+Math.imul(An,ai)|0,ur=ur+Math.imul(An,pi)|0,nr=nr+Math.imul(Ji,Ti)|0,$e=$e+Math.imul(Ji,Bi)|0,$e=$e+Math.imul(Vi,Ti)|0,ur=ur+Math.imul(Vi,Bi)|0,nr=nr+Math.imul(dn,Ni)|0,$e=$e+Math.imul(dn,Wi)|0,$e=$e+Math.imul(tn,Ni)|0,ur=ur+Math.imul(tn,Wi)|0,nr=nr+Math.imul(vi,hn)|0,$e=$e+Math.imul(vi,xn)|0,$e=$e+Math.imul(Di,hn)|0,ur=ur+Math.imul(Di,xn)|0;var Ea=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Ea>>>26)|0,Ea&=67108863,nr=Math.imul(Kn,Qn),$e=Math.imul(Kn,no),$e=$e+Math.imul(ao,Qn)|0,ur=Math.imul(ao,no),nr=nr+Math.imul(zn,Fr)|0,$e=$e+Math.imul(zn,Dr)|0,$e=$e+Math.imul(Fn,Fr)|0,ur=ur+Math.imul(Fn,Dr)|0,nr=nr+Math.imul(pn,ai)|0,$e=$e+Math.imul(pn,pi)|0,$e=$e+Math.imul(Dn,ai)|0,ur=ur+Math.imul(Dn,pi)|0,nr=nr+Math.imul(Sn,Ti)|0,$e=$e+Math.imul(Sn,Bi)|0,$e=$e+Math.imul(An,Ti)|0,ur=ur+Math.imul(An,Bi)|0,nr=nr+Math.imul(Ji,Ni)|0,$e=$e+Math.imul(Ji,Wi)|0,$e=$e+Math.imul(Vi,Ni)|0,ur=ur+Math.imul(Vi,Wi)|0,nr=nr+Math.imul(dn,hn)|0,$e=$e+Math.imul(dn,xn)|0,$e=$e+Math.imul(tn,hn)|0,ur=ur+Math.imul(tn,xn)|0;var Ha=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,nr=Math.imul(Kn,Fr),$e=Math.imul(Kn,Dr),$e=$e+Math.imul(ao,Fr)|0,ur=Math.imul(ao,Dr),nr=nr+Math.imul(zn,ai)|0,$e=$e+Math.imul(zn,pi)|0,$e=$e+Math.imul(Fn,ai)|0,ur=ur+Math.imul(Fn,pi)|0,nr=nr+Math.imul(pn,Ti)|0,$e=$e+Math.imul(pn,Bi)|0,$e=$e+Math.imul(Dn,Ti)|0,ur=ur+Math.imul(Dn,Bi)|0,nr=nr+Math.imul(Sn,Ni)|0,$e=$e+Math.imul(Sn,Wi)|0,$e=$e+Math.imul(An,Ni)|0,ur=ur+Math.imul(An,Wi)|0,nr=nr+Math.imul(Ji,hn)|0,$e=$e+Math.imul(Ji,xn)|0,$e=$e+Math.imul(Vi,hn)|0,ur=ur+Math.imul(Vi,xn)|0;var Fa=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Fa>>>26)|0,Fa&=67108863,nr=Math.imul(Kn,ai),$e=Math.imul(Kn,pi),$e=$e+Math.imul(ao,ai)|0,ur=Math.imul(ao,pi),nr=nr+Math.imul(zn,Ti)|0,$e=$e+Math.imul(zn,Bi)|0,$e=$e+Math.imul(Fn,Ti)|0,ur=ur+Math.imul(Fn,Bi)|0,nr=nr+Math.imul(pn,Ni)|0,$e=$e+Math.imul(pn,Wi)|0,$e=$e+Math.imul(Dn,Ni)|0,ur=ur+Math.imul(Dn,Wi)|0,nr=nr+Math.imul(Sn,hn)|0,$e=$e+Math.imul(Sn,xn)|0,$e=$e+Math.imul(An,hn)|0,ur=ur+Math.imul(An,xn)|0;var ls=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(ls>>>26)|0,ls&=67108863,nr=Math.imul(Kn,Ti),$e=Math.imul(Kn,Bi),$e=$e+Math.imul(ao,Ti)|0,ur=Math.imul(ao,Bi),nr=nr+Math.imul(zn,Ni)|0,$e=$e+Math.imul(zn,Wi)|0,$e=$e+Math.imul(Fn,Ni)|0,ur=ur+Math.imul(Fn,Wi)|0,nr=nr+Math.imul(pn,hn)|0,$e=$e+Math.imul(pn,xn)|0,$e=$e+Math.imul(Dn,hn)|0,ur=ur+Math.imul(Dn,xn)|0;var us=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(us>>>26)|0,us&=67108863,nr=Math.imul(Kn,Ni),$e=Math.imul(Kn,Wi),$e=$e+Math.imul(ao,Ni)|0,ur=Math.imul(ao,Wi),nr=nr+Math.imul(zn,hn)|0,$e=$e+Math.imul(zn,xn)|0,$e=$e+Math.imul(Fn,hn)|0,ur=ur+Math.imul(Fn,xn)|0;var Xa=(br+nr|0)+(($e&8191)<<13)|0;br=(ur+($e>>>13)|0)+(Xa>>>26)|0,Xa&=67108863,nr=Math.imul(Kn,hn),$e=Math.imul(Kn,xn),$e=$e+Math.imul(ao,hn)|0,ur=Math.imul(ao,xn);var hs=(br+nr|0)+(($e&8191)<<13)|0;return br=(ur+($e>>>13)|0)+(hs>>>26)|0,hs&=67108863,pr[0]=yo,pr[1]=So,pr[2]=Bo,pr[3]=Lo,pr[4]=Yo,pr[5]=jo,pr[6]=zo,pr[7]=Go,pr[8]=Jo,pr[9]=ha,pr[10]=Pa,pr[11]=ba,pr[12]=Ea,pr[13]=Ha,pr[14]=Fa,pr[15]=ls,pr[16]=us,pr[17]=Xa,pr[18]=hs,br!==0&&(pr[19]=br,Ue.length++),Ue};Math.imul||(Pr=Ar);function Vr(gr,Ae,ze){ze.negative=Ae.negative^gr.negative,ze.length=gr.length+Ae.length;for(var Ue=0,tr=0,or=0;or<ze.length-1;or++){var pr=tr;tr=0;for(var br=Ue&67108863,nr=Math.min(or,Ae.length-1),$e=Math.max(0,or-gr.length+1);$e<=nr;$e++){var ur=or-$e,$r=gr.words[ur]|0,Yr=Ae.words[$e]|0,wi=$r*Yr,ki=wi&67108863;pr=pr+(wi/67108864|0)|0,ki=ki+br|0,br=ki&67108863,pr=pr+(ki>>>26)|0,tr+=pr>>>26,pr&=67108863}ze.words[or]=br,Ue=pr,pr=tr}return Ue!==0?ze.words[or]=Ue:ze.length--,ze.strip()}function ei(gr,Ae,ze){var Ue=new Nr;return Ue.mulp(gr,Ae,ze)}Me.prototype.mulTo=function(Ae,ze){var Ue,tr=this.length+Ae.length;return this.length===10&&Ae.length===10?Ue=Pr(this,Ae,ze):tr<63?Ue=Ar(this,Ae,ze):tr<1024?Ue=Vr(this,Ae,ze):Ue=ei(this,Ae,ze),Ue};function Nr(gr,Ae){this.x=gr,this.y=Ae}Nr.prototype.makeRBT=function(Ae){for(var ze=new Array(Ae),Ue=Me.prototype._countBits(Ae)-1,tr=0;tr<Ae;tr++)ze[tr]=this.revBin(tr,Ue,Ae);return ze},Nr.prototype.revBin=function(Ae,ze,Ue){if(Ae===0||Ae===Ue-1)return Ae;for(var tr=0,or=0;or<ze;or++)tr|=(Ae&1)<<ze-or-1,Ae>>=1;return tr},Nr.prototype.permute=function(Ae,ze,Ue,tr,or,pr){for(var br=0;br<pr;br++)tr[br]=ze[Ae[br]],or[br]=Ue[Ae[br]]},Nr.prototype.transform=function(Ae,ze,Ue,tr,or,pr){this.permute(pr,Ae,ze,Ue,tr,or);for(var br=1;br<or;br<<=1)for(var nr=br<<1,$e=Math.cos(2*Math.PI/nr),ur=Math.sin(2*Math.PI/nr),$r=0;$r<or;$r+=nr)for(var Yr=$e,wi=ur,ki=0;ki<br;ki++){var Mi=Ue[$r+ki],si=tr[$r+ki],_i=Ue[$r+ki+br],ii=tr[$r+ki+br],Jr=Yr*_i-wi*ii;ii=Yr*ii+wi*_i,_i=Jr,Ue[$r+ki]=Mi+_i,tr[$r+ki]=si+ii,Ue[$r+ki+br]=Mi-_i,tr[$r+ki+br]=si-ii,ki!==nr&&(Jr=$e*Yr-ur*wi,wi=$e*wi+ur*Yr,Yr=Jr)}},Nr.prototype.guessLen13b=function(Ae,ze){var Ue=Math.max(ze,Ae)|1,tr=Ue&1,or=0;for(Ue=Ue/2|0;Ue;Ue=Ue>>>1)or++;return 1<<or+1+tr},Nr.prototype.conjugate=function(Ae,ze,Ue){if(!(Ue<=1))for(var tr=0;tr<Ue/2;tr++){var or=Ae[tr];Ae[tr]=Ae[Ue-tr-1],Ae[Ue-tr-1]=or,or=ze[tr],ze[tr]=-ze[Ue-tr-1],ze[Ue-tr-1]=-or}},Nr.prototype.normalize13b=function(Ae,ze){for(var Ue=0,tr=0;tr<ze/2;tr++){var or=Math.round(Ae[2*tr+1]/ze)*8192+Math.round(Ae[2*tr]/ze)+Ue;Ae[tr]=or&67108863,or<67108864?Ue=0:Ue=or/67108864|0}return Ae},Nr.prototype.convert13b=function(Ae,ze,Ue,tr){for(var or=0,pr=0;pr<ze;pr++)or=or+(Ae[pr]|0),Ue[2*pr]=or&8191,or=or>>>13,Ue[2*pr+1]=or&8191,or=or>>>13;for(pr=2*ze;pr<tr;++pr)Ue[pr]=0;we(or===0),we((or&-8192)===0)},Nr.prototype.stub=function(Ae){for(var ze=new Array(Ae),Ue=0;Ue<Ae;Ue++)ze[Ue]=0;return ze},Nr.prototype.mulp=function(Ae,ze,Ue){var tr=2*this.guessLen13b(Ae.length,ze.length),or=this.makeRBT(tr),pr=this.stub(tr),br=new Array(tr),nr=new Array(tr),$e=new Array(tr),ur=new Array(tr),$r=new Array(tr),Yr=new Array(tr),wi=Ue.words;wi.length=tr,this.convert13b(Ae.words,Ae.length,br,tr),this.convert13b(ze.words,ze.length,ur,tr),this.transform(br,pr,nr,$e,tr,or),this.transform(ur,pr,$r,Yr,tr,or);for(var ki=0;ki<tr;ki++){var Mi=nr[ki]*$r[ki]-$e[ki]*Yr[ki];$e[ki]=nr[ki]*Yr[ki]+$e[ki]*$r[ki],nr[ki]=Mi}return this.conjugate(nr,$e,tr),this.transform(nr,$e,wi,pr,tr,or),this.conjugate(wi,pr,tr),this.normalize13b(wi,tr),Ue.negative=Ae.negative^ze.negative,Ue.length=Ae.length+ze.length,Ue.strip()},Me.prototype.mul=function(Ae){var ze=new Me(null);return ze.words=new Array(this.length+Ae.length),this.mulTo(Ae,ze)},Me.prototype.mulf=function(Ae){var ze=new Me(null);return ze.words=new Array(this.length+Ae.length),ei(this,Ae,ze)},Me.prototype.imul=function(Ae){return this.clone().mulTo(Ae,this)},Me.prototype.imuln=function(Ae){we(typeof Ae=="number"),we(Ae<67108864);for(var ze=0,Ue=0;Ue<this.length;Ue++){var tr=(this.words[Ue]|0)*Ae,or=(tr&67108863)+(ze&67108863);ze>>=26,ze+=tr/67108864|0,ze+=or>>>26,this.words[Ue]=or&67108863}return ze!==0&&(this.words[Ue]=ze,this.length++),this},Me.prototype.muln=function(Ae){return this.clone().imuln(Ae)},Me.prototype.sqr=function(){return this.mul(this)},Me.prototype.isqr=function(){return this.imul(this.clone())},Me.prototype.pow=function(Ae){var ze=Br(Ae);if(ze.length===0)return new Me(1);for(var Ue=this,tr=0;tr<ze.length&&ze[tr]===0;tr++,Ue=Ue.sqr());if(++tr<ze.length)for(var or=Ue.sqr();tr<ze.length;tr++,or=or.sqr())ze[tr]!==0&&(Ue=Ue.mul(or));return Ue},Me.prototype.iushln=function(Ae){we(typeof Ae=="number"&&Ae>=0);var ze=Ae%26,Ue=(Ae-ze)/26,tr=67108863>>>26-ze<<26-ze,or;if(ze!==0){var pr=0;for(or=0;or<this.length;or++){var br=this.words[or]&tr,nr=(this.words[or]|0)-br<<ze;this.words[or]=nr|pr,pr=br>>>26-ze}pr&&(this.words[or]=pr,this.length++)}if(Ue!==0){for(or=this.length-1;or>=0;or--)this.words[or+Ue]=this.words[or];for(or=0;or<Ue;or++)this.words[or]=0;this.length+=Ue}return this.strip()},Me.prototype.ishln=function(Ae){return we(this.negative===0),this.iushln(Ae)},Me.prototype.iushrn=function(Ae,ze,Ue){we(typeof Ae=="number"&&Ae>=0);var tr;ze?tr=(ze-ze%26)/26:tr=0;var or=Ae%26,pr=Math.min((Ae-or)/26,this.length),br=67108863^67108863>>>or<<or,nr=Ue;if(tr-=pr,tr=Math.max(0,tr),nr){for(var $e=0;$e<pr;$e++)nr.words[$e]=this.words[$e];nr.length=pr}if(pr!==0)if(this.length>pr)for(this.length-=pr,$e=0;$e<this.length;$e++)this.words[$e]=this.words[$e+pr];else this.words[0]=0,this.length=1;var ur=0;for($e=this.length-1;$e>=0&&(ur!==0||$e>=tr);$e--){var $r=this.words[$e]|0;this.words[$e]=ur<<26-or|$r>>>or,ur=$r&br}return nr&&ur!==0&&(nr.words[nr.length++]=ur),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},Me.prototype.ishrn=function(Ae,ze,Ue){return we(this.negative===0),this.iushrn(Ae,ze,Ue)},Me.prototype.shln=function(Ae){return this.clone().ishln(Ae)},Me.prototype.ushln=function(Ae){return this.clone().iushln(Ae)},Me.prototype.shrn=function(Ae){return this.clone().ishrn(Ae)},Me.prototype.ushrn=function(Ae){return this.clone().iushrn(Ae)},Me.prototype.testn=function(Ae){we(typeof Ae=="number"&&Ae>=0);var ze=Ae%26,Ue=(Ae-ze)/26,tr=1<<ze;if(this.length<=Ue)return!1;var or=this.words[Ue];return!!(or&tr)},Me.prototype.imaskn=function(Ae){we(typeof Ae=="number"&&Ae>=0);var ze=Ae%26,Ue=(Ae-ze)/26;if(we(this.negative===0,"imaskn works only with positive numbers"),this.length<=Ue)return this;if(ze!==0&&Ue++,this.length=Math.min(Ue,this.length),ze!==0){var tr=67108863^67108863>>>ze<<ze;this.words[this.length-1]&=tr}return this.strip()},Me.prototype.maskn=function(Ae){return this.clone().imaskn(Ae)},Me.prototype.iaddn=function(Ae){return we(typeof Ae=="number"),we(Ae<67108864),Ae<0?this.isubn(-Ae):this.negative!==0?this.length===1&&(this.words[0]|0)<Ae?(this.words[0]=Ae-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(Ae),this.negative=1,this):this._iaddn(Ae)},Me.prototype._iaddn=function(Ae){this.words[0]+=Ae;for(var ze=0;ze<this.length&&this.words[ze]>=67108864;ze++)this.words[ze]-=67108864,ze===this.length-1?this.words[ze+1]=1:this.words[ze+1]++;return this.length=Math.max(this.length,ze+1),this},Me.prototype.isubn=function(Ae){if(we(typeof Ae=="number"),we(Ae<67108864),Ae<0)return this.iaddn(-Ae);if(this.negative!==0)return this.negative=0,this.iaddn(Ae),this.negative=1,this;if(this.words[0]-=Ae,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var ze=0;ze<this.length&&this.words[ze]<0;ze++)this.words[ze]+=67108864,this.words[ze+1]-=1;return this.strip()},Me.prototype.addn=function(Ae){return this.clone().iaddn(Ae)},Me.prototype.subn=function(Ae){return this.clone().isubn(Ae)},Me.prototype.iabs=function(){return this.negative=0,this},Me.prototype.abs=function(){return this.clone().iabs()},Me.prototype._ishlnsubmul=function(Ae,ze,Ue){var tr=Ae.length+Ue,or;this._expand(tr);var pr,br=0;for(or=0;or<Ae.length;or++){pr=(this.words[or+Ue]|0)+br;var nr=(Ae.words[or]|0)*ze;pr-=nr&67108863,br=(pr>>26)-(nr/67108864|0),this.words[or+Ue]=pr&67108863}for(;or<this.length-Ue;or++)pr=(this.words[or+Ue]|0)+br,br=pr>>26,this.words[or+Ue]=pr&67108863;if(br===0)return this.strip();for(we(br===-1),br=0,or=0;or<this.length;or++)pr=-(this.words[or]|0)+br,br=pr>>26,this.words[or]=pr&67108863;return this.negative=1,this.strip()},Me.prototype._wordDiv=function(Ae,ze){var Ue=this.length-Ae.length,tr=this.clone(),or=Ae,pr=or.words[or.length-1]|0,br=this._countBits(pr);Ue=26-br,Ue!==0&&(or=or.ushln(Ue),tr.iushln(Ue),pr=or.words[or.length-1]|0);var nr=tr.length-or.length,$e;if(ze!=="mod"){$e=new Me(null),$e.length=nr+1,$e.words=new Array($e.length);for(var ur=0;ur<$e.length;ur++)$e.words[ur]=0}var $r=tr.clone()._ishlnsubmul(or,1,nr);$r.negative===0&&(tr=$r,$e&&($e.words[nr]=1));for(var Yr=nr-1;Yr>=0;Yr--){var wi=(tr.words[or.length+Yr]|0)*67108864+(tr.words[or.length+Yr-1]|0);for(wi=Math.min(wi/pr|0,67108863),tr._ishlnsubmul(or,wi,Yr);tr.negative!==0;)wi--,tr.negative=0,tr._ishlnsubmul(or,1,Yr),tr.isZero()||(tr.negative^=1);$e&&($e.words[Yr]=wi)}return $e&&$e.strip(),tr.strip(),ze!=="div"&&Ue!==0&&tr.iushrn(Ue),{div:$e||null,mod:tr}},Me.prototype.divmod=function(Ae,ze,Ue){if(we(!Ae.isZero()),this.isZero())return{div:new Me(0),mod:new Me(0)};var tr,or,pr;return this.negative!==0&&Ae.negative===0?(pr=this.neg().divmod(Ae,ze),ze!=="mod"&&(tr=pr.div.neg()),ze!=="div"&&(or=pr.mod.neg(),Ue&&or.negative!==0&&or.iadd(Ae)),{div:tr,mod:or}):this.negative===0&&Ae.negative!==0?(pr=this.divmod(Ae.neg(),ze),ze!=="mod"&&(tr=pr.div.neg()),{div:tr,mod:pr.mod}):(this.negative&Ae.negative)!==0?(pr=this.neg().divmod(Ae.neg(),ze),ze!=="div"&&(or=pr.mod.neg(),Ue&&or.negative!==0&&or.isub(Ae)),{div:pr.div,mod:or}):Ae.length>this.length||this.cmp(Ae)<0?{div:new Me(0),mod:this}:Ae.length===1?ze==="div"?{div:this.divn(Ae.words[0]),mod:null}:ze==="mod"?{div:null,mod:new Me(this.modn(Ae.words[0]))}:{div:this.divn(Ae.words[0]),mod:new Me(this.modn(Ae.words[0]))}:this._wordDiv(Ae,ze)},Me.prototype.div=function(Ae){return this.divmod(Ae,"div",!1).div},Me.prototype.mod=function(Ae){return this.divmod(Ae,"mod",!1).mod},Me.prototype.umod=function(Ae){return this.divmod(Ae,"mod",!0).mod},Me.prototype.divRound=function(Ae){var ze=this.divmod(Ae);if(ze.mod.isZero())return ze.div;var Ue=ze.div.negative!==0?ze.mod.isub(Ae):ze.mod,tr=Ae.ushrn(1),or=Ae.andln(1),pr=Ue.cmp(tr);return pr<0||or===1&&pr===0?ze.div:ze.div.negative!==0?ze.div.isubn(1):ze.div.iaddn(1)},Me.prototype.modn=function(Ae){we(Ae<=67108863);for(var ze=(1<<26)%Ae,Ue=0,tr=this.length-1;tr>=0;tr--)Ue=(ze*Ue+(this.words[tr]|0))%Ae;return Ue},Me.prototype.idivn=function(Ae){we(Ae<=67108863);for(var ze=0,Ue=this.length-1;Ue>=0;Ue--){var tr=(this.words[Ue]|0)+ze*67108864;this.words[Ue]=tr/Ae|0,ze=tr%Ae}return this.strip()},Me.prototype.divn=function(Ae){return this.clone().idivn(Ae)},Me.prototype.egcd=function(Ae){we(Ae.negative===0),we(!Ae.isZero());var ze=this,Ue=Ae.clone();ze.negative!==0?ze=ze.umod(Ae):ze=ze.clone();for(var tr=new Me(1),or=new Me(0),pr=new Me(0),br=new Me(1),nr=0;ze.isEven()&&Ue.isEven();)ze.iushrn(1),Ue.iushrn(1),++nr;for(var $e=Ue.clone(),ur=ze.clone();!ze.isZero();){for(var $r=0,Yr=1;(ze.words[0]&Yr)===0&&$r<26;++$r,Yr<<=1);if($r>0)for(ze.iushrn($r);$r-- >0;)(tr.isOdd()||or.isOdd())&&(tr.iadd($e),or.isub(ur)),tr.iushrn(1),or.iushrn(1);for(var wi=0,ki=1;(Ue.words[0]&ki)===0&&wi<26;++wi,ki<<=1);if(wi>0)for(Ue.iushrn(wi);wi-- >0;)(pr.isOdd()||br.isOdd())&&(pr.iadd($e),br.isub(ur)),pr.iushrn(1),br.iushrn(1);ze.cmp(Ue)>=0?(ze.isub(Ue),tr.isub(pr),or.isub(br)):(Ue.isub(ze),pr.isub(tr),br.isub(or))}return{a:pr,b:br,gcd:Ue.iushln(nr)}},Me.prototype._invmp=function(Ae){we(Ae.negative===0),we(!Ae.isZero());var ze=this,Ue=Ae.clone();ze.negative!==0?ze=ze.umod(Ae):ze=ze.clone();for(var tr=new Me(1),or=new Me(0),pr=Ue.clone();ze.cmpn(1)>0&&Ue.cmpn(1)>0;){for(var br=0,nr=1;(ze.words[0]&nr)===0&&br<26;++br,nr<<=1);if(br>0)for(ze.iushrn(br);br-- >0;)tr.isOdd()&&tr.iadd(pr),tr.iushrn(1);for(var $e=0,ur=1;(Ue.words[0]&ur)===0&&$e<26;++$e,ur<<=1);if($e>0)for(Ue.iushrn($e);$e-- >0;)or.isOdd()&&or.iadd(pr),or.iushrn(1);ze.cmp(Ue)>=0?(ze.isub(Ue),tr.isub(or)):(Ue.isub(ze),or.isub(tr))}var $r;return ze.cmpn(1)===0?$r=tr:$r=or,$r.cmpn(0)<0&&$r.iadd(Ae),$r},Me.prototype.gcd=function(Ae){if(this.isZero())return Ae.abs();if(Ae.isZero())return this.abs();var ze=this.clone(),Ue=Ae.clone();ze.negative=0,Ue.negative=0;for(var tr=0;ze.isEven()&&Ue.isEven();tr++)ze.iushrn(1),Ue.iushrn(1);do{for(;ze.isEven();)ze.iushrn(1);for(;Ue.isEven();)Ue.iushrn(1);var or=ze.cmp(Ue);if(or<0){var pr=ze;ze=Ue,Ue=pr}else if(or===0||Ue.cmpn(1)===0)break;ze.isub(Ue)}while(!0);return Ue.iushln(tr)},Me.prototype.invm=function(Ae){return this.egcd(Ae).a.umod(Ae)},Me.prototype.isEven=function(){return(this.words[0]&1)===0},Me.prototype.isOdd=function(){return(this.words[0]&1)===1},Me.prototype.andln=function(Ae){return this.words[0]&Ae},Me.prototype.bincn=function(Ae){we(typeof Ae=="number");var ze=Ae%26,Ue=(Ae-ze)/26,tr=1<<ze;if(this.length<=Ue)return this._expand(Ue+1),this.words[Ue]|=tr,this;for(var or=tr,pr=Ue;or!==0&&pr<this.length;pr++){var br=this.words[pr]|0;br+=or,or=br>>>26,br&=67108863,this.words[pr]=br}return or!==0&&(this.words[pr]=or,this.length++),this},Me.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Me.prototype.cmpn=function(Ae){var ze=Ae<0;if(this.negative!==0&&!ze)return-1;if(this.negative===0&&ze)return 1;this.strip();var Ue;if(this.length>1)Ue=1;else{ze&&(Ae=-Ae),we(Ae<=67108863,"Number is too big");var tr=this.words[0]|0;Ue=tr===Ae?0:tr<Ae?-1:1}return this.negative!==0?-Ue|0:Ue},Me.prototype.cmp=function(Ae){if(this.negative!==0&&Ae.negative===0)return-1;if(this.negative===0&&Ae.negative!==0)return 1;var ze=this.ucmp(Ae);return this.negative!==0?-ze|0:ze},Me.prototype.ucmp=function(Ae){if(this.length>Ae.length)return 1;if(this.length<Ae.length)return-1;for(var ze=0,Ue=this.length-1;Ue>=0;Ue--){var tr=this.words[Ue]|0,or=Ae.words[Ue]|0;if(tr!==or){tr<or?ze=-1:tr>or&&(ze=1);break}}return ze},Me.prototype.gtn=function(Ae){return this.cmpn(Ae)===1},Me.prototype.gt=function(Ae){return this.cmp(Ae)===1},Me.prototype.gten=function(Ae){return this.cmpn(Ae)>=0},Me.prototype.gte=function(Ae){return this.cmp(Ae)>=0},Me.prototype.ltn=function(Ae){return this.cmpn(Ae)===-1},Me.prototype.lt=function(Ae){return this.cmp(Ae)===-1},Me.prototype.lten=function(Ae){return this.cmpn(Ae)<=0},Me.prototype.lte=function(Ae){return this.cmp(Ae)<=0},Me.prototype.eqn=function(Ae){return this.cmpn(Ae)===0},Me.prototype.eq=function(Ae){return this.cmp(Ae)===0},Me.red=function(Ae){return new li(Ae)},Me.prototype.toRed=function(Ae){return we(!this.red,"Already a number in reduction context"),we(this.negative===0,"red works only with positives"),Ae.convertTo(this)._forceRed(Ae)},Me.prototype.fromRed=function(){return we(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Me.prototype._forceRed=function(Ae){return this.red=Ae,this},Me.prototype.forceRed=function(Ae){return we(!this.red,"Already a number in reduction context"),this._forceRed(Ae)},Me.prototype.redAdd=function(Ae){return we(this.red,"redAdd works only with red numbers"),this.red.add(this,Ae)},Me.prototype.redIAdd=function(Ae){return we(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Ae)},Me.prototype.redSub=function(Ae){return we(this.red,"redSub works only with red numbers"),this.red.sub(this,Ae)},Me.prototype.redISub=function(Ae){return we(this.red,"redISub works only with red numbers"),this.red.isub(this,Ae)},Me.prototype.redShl=function(Ae){return we(this.red,"redShl works only with red numbers"),this.red.shl(this,Ae)},Me.prototype.redMul=function(Ae){return we(this.red,"redMul works only with red numbers"),this.red._verify2(this,Ae),this.red.mul(this,Ae)},Me.prototype.redIMul=function(Ae){return we(this.red,"redMul works only with red numbers"),this.red._verify2(this,Ae),this.red.imul(this,Ae)},Me.prototype.redSqr=function(){return we(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Me.prototype.redISqr=function(){return we(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Me.prototype.redSqrt=function(){return we(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Me.prototype.redInvm=function(){return we(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Me.prototype.redNeg=function(){return we(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Me.prototype.redPow=function(Ae){return we(this.red&&!Ae.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Ae)};var Zr={k256:null,p224:null,p192:null,p25519:null};function Wr(gr,Ae){this.name=gr,this.p=new Me(Ae,16),this.n=this.p.bitLength(),this.k=new Me(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}Wr.prototype._tmp=function(){var Ae=new Me(null);return Ae.words=new Array(Math.ceil(this.n/13)),Ae},Wr.prototype.ireduce=function(Ae){var ze=Ae,Ue;do this.split(ze,this.tmp),ze=this.imulK(ze),ze=ze.iadd(this.tmp),Ue=ze.bitLength();while(Ue>this.n);var tr=Ue<this.n?-1:ze.ucmp(this.p);return tr===0?(ze.words[0]=0,ze.length=1):tr>0?ze.isub(this.p):ze.strip!==void 0?ze.strip():ze._strip(),ze},Wr.prototype.split=function(Ae,ze){Ae.iushrn(this.n,0,ze)},Wr.prototype.imulK=function(Ae){return Ae.imul(this.k)};function oi(){Wr.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}Ie(oi,Wr),oi.prototype.split=function(Ae,ze){for(var Ue=4194303,tr=Math.min(Ae.length,9),or=0;or<tr;or++)ze.words[or]=Ae.words[or];if(ze.length=tr,Ae.length<=9){Ae.words[0]=0,Ae.length=1;return}var pr=Ae.words[9];for(ze.words[ze.length++]=pr&Ue,or=10;or<Ae.length;or++){var br=Ae.words[or]|0;Ae.words[or-10]=(br&Ue)<<4|pr>>>22,pr=br}pr>>>=22,Ae.words[or-10]=pr,pr===0&&Ae.length>10?Ae.length-=10:Ae.length-=9},oi.prototype.imulK=function(Ae){Ae.words[Ae.length]=0,Ae.words[Ae.length+1]=0,Ae.length+=2;for(var ze=0,Ue=0;Ue<Ae.length;Ue++){var tr=Ae.words[Ue]|0;ze+=tr*977,Ae.words[Ue]=ze&67108863,ze=tr*64+(ze/67108864|0)}return Ae.words[Ae.length-1]===0&&(Ae.length--,Ae.words[Ae.length-1]===0&&Ae.length--),Ae};function ui(){Wr.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}Ie(ui,Wr);function fi(){Wr.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}Ie(fi,Wr);function di(){Wr.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}Ie(di,Wr),di.prototype.imulK=function(Ae){for(var ze=0,Ue=0;Ue<Ae.length;Ue++){var tr=(Ae.words[Ue]|0)*19+ze,or=tr&67108863;tr>>>=26,Ae.words[Ue]=or,ze=tr}return ze!==0&&(Ae.words[Ae.length++]=ze),Ae},Me._prime=function(Ae){if(Zr[Ae])return Zr[Ae];var ze;if(Ae==="k256")ze=new oi;else if(Ae==="p224")ze=new ui;else if(Ae==="p192")ze=new fi;else if(Ae==="p25519")ze=new di;else throw new Error("Unknown prime "+Ae);return Zr[Ae]=ze,ze};function li(gr){if(typeof gr=="string"){var Ae=Me._prime(gr);this.m=Ae.p,this.prime=Ae}else we(gr.gtn(1),"modulus must be greater than 1"),this.m=gr,this.prime=null}li.prototype._verify1=function(Ae){we(Ae.negative===0,"red works only with positives"),we(Ae.red,"red works only with red numbers")},li.prototype._verify2=function(Ae,ze){we((Ae.negative|ze.negative)===0,"red works only with positives"),we(Ae.red&&Ae.red===ze.red,"red works only with red numbers")},li.prototype.imod=function(Ae){return this.prime?this.prime.ireduce(Ae)._forceRed(this):Ae.umod(this.m)._forceRed(this)},li.prototype.neg=function(Ae){return Ae.isZero()?Ae.clone():this.m.sub(Ae)._forceRed(this)},li.prototype.add=function(Ae,ze){this._verify2(Ae,ze);var Ue=Ae.add(ze);return Ue.cmp(this.m)>=0&&Ue.isub(this.m),Ue._forceRed(this)},li.prototype.iadd=function(Ae,ze){this._verify2(Ae,ze);var Ue=Ae.iadd(ze);return Ue.cmp(this.m)>=0&&Ue.isub(this.m),Ue},li.prototype.sub=function(Ae,ze){this._verify2(Ae,ze);var Ue=Ae.sub(ze);return Ue.cmpn(0)<0&&Ue.iadd(this.m),Ue._forceRed(this)},li.prototype.isub=function(Ae,ze){this._verify2(Ae,ze);var Ue=Ae.isub(ze);return Ue.cmpn(0)<0&&Ue.iadd(this.m),Ue},li.prototype.shl=function(Ae,ze){return this._verify1(Ae),this.imod(Ae.ushln(ze))},li.prototype.imul=function(Ae,ze){return this._verify2(Ae,ze),this.imod(Ae.imul(ze))},li.prototype.mul=function(Ae,ze){return this._verify2(Ae,ze),this.imod(Ae.mul(ze))},li.prototype.isqr=function(Ae){return this.imul(Ae,Ae.clone())},li.prototype.sqr=function(Ae){return this.mul(Ae,Ae)},li.prototype.sqrt=function(Ae){if(Ae.isZero())return Ae.clone();var ze=this.m.andln(3);if(we(ze%2===1),ze===3){var Ue=this.m.add(new Me(1)).iushrn(2);return this.pow(Ae,Ue)}for(var tr=this.m.subn(1),or=0;!tr.isZero()&&tr.andln(1)===0;)or++,tr.iushrn(1);we(!tr.isZero());var pr=new Me(1).toRed(this),br=pr.redNeg(),nr=this.m.subn(1).iushrn(1),$e=this.m.bitLength();for($e=new Me(2*$e*$e).toRed(this);this.pow($e,nr).cmp(br)!==0;)$e.redIAdd(br);for(var ur=this.pow($e,tr),$r=this.pow(Ae,tr.addn(1).iushrn(1)),Yr=this.pow(Ae,tr),wi=or;Yr.cmp(pr)!==0;){for(var ki=Yr,Mi=0;ki.cmp(pr)!==0;Mi++)ki=ki.redSqr();we(Mi<wi);var si=this.pow(ur,new Me(1).iushln(wi-Mi-1));$r=$r.redMul(si),ur=si.redSqr(),Yr=Yr.redMul(ur),wi=Mi}return $r},li.prototype.invm=function(Ae){var ze=Ae._invmp(this.m);return ze.negative!==0?(ze.negative=0,this.imod(ze).redNeg()):this.imod(ze)},li.prototype.pow=function(Ae,ze){if(ze.isZero())return new Me(1).toRed(this);if(ze.cmpn(1)===0)return Ae.clone();var Ue=4,tr=new Array(1<<Ue);tr[0]=new Me(1).toRed(this),tr[1]=Ae;for(var or=2;or<tr.length;or++)tr[or]=this.mul(tr[or-1],Ae);var pr=tr[0],br=0,nr=0,$e=ze.bitLength()%26;for($e===0&&($e=26),or=ze.length-1;or>=0;or--){for(var ur=ze.words[or],$r=$e-1;$r>=0;$r--){var Yr=ur>>$r&1;if(pr!==tr[0]&&(pr=this.sqr(pr)),Yr===0&&br===0){nr=0;continue}br<<=1,br|=Yr,nr++,!(nr!==Ue&&(or!==0||$r!==0))&&(pr=this.mul(pr,tr[br]),nr=0,br=0)}$e=26}return pr},li.prototype.convertTo=function(Ae){var ze=Ae.umod(this.m);return ze===Ae?ze.clone():ze},li.prototype.convertFrom=function(Ae){var ze=Ae.clone();return ze.red=null,ze},Me.mont=function(Ae){return new hi(Ae)};function hi(gr){li.call(this,gr),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new Me(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}Ie(hi,li),hi.prototype.convertTo=function(Ae){return this.imod(Ae.ushln(this.shift))},hi.prototype.convertFrom=function(Ae){var ze=this.imod(Ae.mul(this.rinv));return ze.red=null,ze},hi.prototype.imul=function(Ae,ze){if(Ae.isZero()||ze.isZero())return Ae.words[0]=0,Ae.length=1,Ae;var Ue=Ae.imul(ze),tr=Ue.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),or=Ue.isub(tr).iushrn(this.shift),pr=or;return or.cmp(this.m)>=0?pr=or.isub(this.m):or.cmpn(0)<0&&(pr=or.iadd(this.m)),pr._forceRed(this)},hi.prototype.mul=function(Ae,ze){if(Ae.isZero()||ze.isZero())return new Me(0)._forceRed(this);var Ue=Ae.mul(ze),tr=Ue.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),or=Ue.isub(tr).iushrn(this.shift),pr=or;return or.cmp(this.m)>=0?pr=or.isub(this.m):or.cmpn(0)<0&&(pr=or.iadd(this.m)),pr._forceRed(this)},hi.prototype.invm=function(Ae){var ze=this.imod(Ae._invmp(this.m).mul(this.r2));return ze._forceRed(this)}})(m,commonjsGlobal)})(bn);var BN$2=bn.exports,Buffer$3=safeBuffer$2.exports.Buffer;function withPublic$2(m,c){return Buffer$3.from(m.toRed(BN$2.mont(c.modulus)).redPow(new BN$2(c.publicExponent)).fromRed().toArray())}var withPublic_1=withPublic$2,parseKeys$2=parseAsn1,randomBytes=browser$c.exports,createHash$1=browser$a,mgf$1=mgf$2,xor$1=xor$2,BN$1=bn.exports,withPublic$1=withPublic_1,crt$1=browserifyRsa,Buffer$2=safeBuffer$2.exports.Buffer,publicEncrypt=function m(c,ie,we){var Ie;c.padding?Ie=c.padding:we?Ie=1:Ie=4;var Me=parseKeys$2(c),Ze;if(Ie===4)Ze=oaep$1(Me,ie);else if(Ie===1)Ze=pkcs1$1(Me,ie,we);else if(Ie===3){if(Ze=new BN$1(ie),Ze.cmp(Me.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return we?crt$1(Ze,Me):withPublic$1(Ze,Me)};function oaep$1(m,c){var ie=m.modulus.byteLength(),we=c.length,Ie=createHash$1("sha1").update(Buffer$2.alloc(0)).digest(),Me=Ie.length,Ze=2*Me;if(we>ie-Ze-2)throw new Error("message too long");var ne=Buffer$2.alloc(ie-we-Ze-2),rr=ie-Me-1,vr=randomBytes(Me),lr=xor$1(Buffer$2.concat([Ie,ne,Buffer$2.alloc(1,1),c],rr),mgf$1(vr,rr)),yr=xor$1(vr,mgf$1(lr,Me));return new BN$1(Buffer$2.concat([Buffer$2.alloc(1),yr,lr],ie))}function pkcs1$1(m,c,ie){var we=c.length,Ie=m.modulus.byteLength();if(we>Ie-11)throw new Error("message too long");var Me;return ie?Me=Buffer$2.alloc(Ie-we-3,255):Me=nonZero(Ie-we-3),new BN$1(Buffer$2.concat([Buffer$2.from([0,ie?1:2]),Me,Buffer$2.alloc(1),c],Ie))}function nonZero(m){for(var c=Buffer$2.allocUnsafe(m),ie=0,we=randomBytes(m*2),Ie=0,Me;ie<m;)Ie===we.length&&(we=randomBytes(m*2),Ie=0),Me=we[Ie++],Me&&(c[ie++]=Me);return c}var parseKeys$1=parseAsn1,mgf=mgf$2,xor=xor$2,BN=bn.exports,crt=browserifyRsa,createHash=browser$a,withPublic=withPublic_1,Buffer$1=safeBuffer$2.exports.Buffer,privateDecrypt=function m(c,ie,we){var Ie;c.padding?Ie=c.padding:we?Ie=1:Ie=4;var Me=parseKeys$1(c),Ze=Me.modulus.byteLength();if(ie.length>Ze||new BN(ie).cmp(Me.modulus)>=0)throw new Error("decryption error");var ne;we?ne=withPublic(new BN(ie),Me):ne=crt(ie,Me);var rr=Buffer$1.alloc(Ze-ne.length);if(ne=Buffer$1.concat([rr,ne],Ze),Ie===4)return oaep(Me,ne);if(Ie===1)return pkcs1(Me,ne,we);if(Ie===3)return ne;throw new Error("unknown padding")};function oaep(m,c){var ie=m.modulus.byteLength(),we=createHash("sha1").update(Buffer$1.alloc(0)).digest(),Ie=we.length;if(c[0]!==0)throw new Error("decryption error");var Me=c.slice(1,Ie+1),Ze=c.slice(Ie+1),ne=xor(Me,mgf(Ze,Ie)),rr=xor(Ze,mgf(ne,ie-Ie-1));if(compare$c(we,rr.slice(0,Ie)))throw new Error("decryption error");for(var vr=Ie;rr[vr]===0;)vr++;if(rr[vr++]!==1)throw new Error("decryption error");return rr.slice(vr)}function pkcs1(m,c,ie){for(var we=c.slice(0,2),Ie=2,Me=0;c[Ie++]!==0;)if(Ie>=c.length){Me++;break}var Ze=c.slice(2,Ie-1);if((we.toString("hex")!=="0002"&&!ie||we.toString("hex")!=="0001"&&ie)&&Me++,Ze.length<8&&Me++,Me)throw new Error("decryption error");return c.slice(Ie)}function compare$c(m,c){m=Buffer$1.from(m),c=Buffer$1.from(c);var ie=0,we=m.length;m.length!==c.length&&(ie++,we=Math.min(m.length,c.length));for(var Ie=-1;++Ie<we;)ie+=m[Ie]^c[Ie];return ie}(function(m){m.publicEncrypt=publicEncrypt,m.privateDecrypt=privateDecrypt,m.privateEncrypt=function(ie,we){return m.publicEncrypt(ie,we,!0)},m.publicDecrypt=function(ie,we){return m.privateDecrypt(ie,we,!0)}})(browser$2);var browser$1={};function oldBrowser(){throw new Error(`secure random number generation not supported by this browser
|
|
67
67
|
use chrome, FireFox or Internet Explorer 11`)}var safeBuffer=safeBuffer$2.exports,randombytes=browser$c.exports,Buffer=safeBuffer.Buffer,kBufferMaxLength=safeBuffer.kMaxLength,crypto$1=commonjsGlobal.crypto||commonjsGlobal.msCrypto,kMaxUint32=Math.pow(2,32)-1;function assertOffset(m,c){if(typeof m!="number"||m!==m)throw new TypeError("offset must be a number");if(m>kMaxUint32||m<0)throw new TypeError("offset must be a uint32");if(m>kBufferMaxLength||m>c)throw new RangeError("offset out of range")}function assertSize(m,c,ie){if(typeof m!="number"||m!==m)throw new TypeError("size must be a number");if(m>kMaxUint32||m<0)throw new TypeError("size must be a uint32");if(m+c>ie||m>kBufferMaxLength)throw new RangeError("buffer too small")}crypto$1&&crypto$1.getRandomValues||!process$1.browser?(browser$1.randomFill=randomFill,browser$1.randomFillSync=randomFillSync):(browser$1.randomFill=oldBrowser,browser$1.randomFillSync=oldBrowser);function randomFill(m,c,ie,we){if(!Buffer.isBuffer(m)&&!(m instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof c=="function")we=c,c=0,ie=m.length;else if(typeof ie=="function")we=ie,ie=m.length-c;else if(typeof we!="function")throw new TypeError('"cb" argument must be a function');return assertOffset(c,m.length),assertSize(ie,c,m.length),actualFill(m,c,ie,we)}function actualFill(m,c,ie,we){if(process$1.browser){var Ie=m.buffer,Me=new Uint8Array(Ie,c,ie);if(crypto$1.getRandomValues(Me),we){process$1.nextTick(function(){we(null,m)});return}return m}if(we){randombytes(ie,function(ne,rr){if(ne)return we(ne);rr.copy(m,c),we(null,m)});return}var Ze=randombytes(ie);return Ze.copy(m,c),m}function randomFillSync(m,c,ie){if(typeof c>"u"&&(c=0),!Buffer.isBuffer(m)&&!(m instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return assertOffset(c,m.length),ie===void 0&&(ie=m.length-c),assertSize(ie,c,m.length),actualFill(m,c,ie)}var hasRequiredCryptoBrowserify;function requireCryptoBrowserify(){if(hasRequiredCryptoBrowserify)return cryptoBrowserify;hasRequiredCryptoBrowserify=1,cryptoBrowserify.randomBytes=cryptoBrowserify.rng=cryptoBrowserify.pseudoRandomBytes=cryptoBrowserify.prng=browser$c.exports,cryptoBrowserify.createHash=cryptoBrowserify.Hash=browser$a,cryptoBrowserify.createHmac=cryptoBrowserify.Hmac=browser$9;var m=algos.exports,c=Object.keys(m),ie=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(c);cryptoBrowserify.getHashes=function(){return ie};var we=browser$8;cryptoBrowserify.pbkdf2=we.pbkdf2,cryptoBrowserify.pbkdf2Sync=we.pbkdf2Sync;var Ie=browser$7;cryptoBrowserify.Cipher=Ie.Cipher,cryptoBrowserify.createCipher=Ie.createCipher,cryptoBrowserify.Cipheriv=Ie.Cipheriv,cryptoBrowserify.createCipheriv=Ie.createCipheriv,cryptoBrowserify.Decipher=Ie.Decipher,cryptoBrowserify.createDecipher=Ie.createDecipher,cryptoBrowserify.Decipheriv=Ie.Decipheriv,cryptoBrowserify.createDecipheriv=Ie.createDecipheriv,cryptoBrowserify.getCiphers=Ie.getCiphers,cryptoBrowserify.listCiphers=Ie.listCiphers;var Me=requireBrowser$2();cryptoBrowserify.DiffieHellmanGroup=Me.DiffieHellmanGroup,cryptoBrowserify.createDiffieHellmanGroup=Me.createDiffieHellmanGroup,cryptoBrowserify.getDiffieHellman=Me.getDiffieHellman,cryptoBrowserify.createDiffieHellman=Me.createDiffieHellman,cryptoBrowserify.DiffieHellman=Me.DiffieHellman;var Ze=requireBrowser$1();cryptoBrowserify.createSign=Ze.createSign,cryptoBrowserify.Sign=Ze.Sign,cryptoBrowserify.createVerify=Ze.createVerify,cryptoBrowserify.Verify=Ze.Verify,cryptoBrowserify.createECDH=requireBrowser();var ne=browser$2;cryptoBrowserify.publicEncrypt=ne.publicEncrypt,cryptoBrowserify.privateEncrypt=ne.privateEncrypt,cryptoBrowserify.publicDecrypt=ne.publicDecrypt,cryptoBrowserify.privateDecrypt=ne.privateDecrypt;var rr=browser$1;return cryptoBrowserify.randomFill=rr.randomFill,cryptoBrowserify.randomFillSync=rr.randomFillSync,cryptoBrowserify.createCredentials=function(){throw new Error(`sorry, createCredentials is not implemented yet
|
|
68
68
|
we accept pull requests
|
|
69
|
-
https://github.com/browserify/crypto-browserify`)},cryptoBrowserify.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6},cryptoBrowserify}var cryptoBrowserifyExports=requireCryptoBrowserify();function hashString(m,c="sha256"){const ie=cryptoBrowserifyExports.createHash(c);return ie.update(m),ie.digest("hex")}function hashObject(m,c="sha256"){return hashString(JSON.stringify(m),c)}const _hoisted_1$U=["contenteditable","data-ghost"],_hoisted_2$E=["data-paragraph"],_sfc_main$18=vue.defineComponent({__name:"RichTextDisplay",props:{paragraphs:{},noLazy:{type:Boolean},ghost:{type:Boolean},debug:{type:Boolean}},emits:["update","focus","blur"],setup(m,{expose:c,emit:ie}){const we=m,Ie=ie,Me=vue.ref(),Ze=vue.ref(we.paragraphs);vue.watch(()=>we.paragraphs,()=>{we.noLazy&&(Ze.value=we.paragraphs)},{deep:!0}),vue.watchEffect(()=>{we.debug&&console.log("lazyParagraphs",Ze.value)});const ne=yr=>{Ie("update",yr)},rr=yr=>{Ie("focus",yr)},vr=yr=>{Ie("blur",yr)};nanoid();const lr=yr=>{const kr=Object.fromEntries(Object.entries(yr).filter(([,Pr])=>Pr!==void 0)),Br=`rich-text-${hashObject(kr)}`;let Ar=document.querySelector(`[data-rich-text-global-style='${Br}']`);return Ar||(Ar=document.createElement("style"),Ar.lang="css",Ar.setAttribute("data-rich-text-global-style",Br),document.head.appendChild(Ar)),Ar.innerHTML=`.${Br} { ${Object.entries(kr).map(([Pr,Vr])=>`${Pr}: ${Vr};`).join(" ")} }`,Br};return c({richTextEditorDivRef:Me}),(yr,kr)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"richTextEditorDivRef",ref:Me,class:vue.normalizeClass(["rich-text-editor",{ghost:yr.ghost}]),contenteditable:!yr.ghost,onInput:ne,onFocus:rr,onBlur:vr,"data-ghost":yr.ghost},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Ze.value,(Br,Ar)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:Ar},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Br,(Pr,Vr)=>vue.renderSlot(yr.$slots,"feature",{key:Vr,text:Pr.text,format:Pr.format,cssclass:lr},void 0,!0)),128)),Ar<Ze.value.length-1?(vue.openBlock(),vue.createElementBlock("br",{key:0,"data-custom-br":"true","data-paragraph":JSON.stringify(Br)},null,8,_hoisted_2$E)):vue.createCommentVNode("",!0)],64))),128))],42,_hoisted_1$U))}}),RichTextDisplay_vue_vue_type_style_index_0_scoped_a344d5e9_lang="",RichTextDisplay=_export_sfc(_sfc_main$18,[["__scopeId","data-v-a344d5e9"]]),_hoisted_1$T={class:"rich-text-wrapper"},_hoisted_2$D=["data-feature-format"],_hoisted_3$s=["data-feature-format"],_sfc_main$17=vue.defineComponent({__name:"RichText",props:{value:{},selection:{},userAgentRichText:{type:Boolean},renderFeatureInlineStyle:{},maxLength:{},maxLengthPerLine:{},maxLines:{},multiline:{type:Boolean,default:!0}},emits:["update:value","update:visible-value","update:selection","update:warning-message","update:focus"],setup(m,{expose:c,emit:ie}){const we=m,Ie=ie;vue.computed(()=>!we.multiline);const Me=vue.ref(),Ze=vue.ref(),ne=vue.computed(()=>Me.value?.richTextEditorDivRef),{handleInputEvent:rr,paragraphs:vr,visibleParagraphs:lr,manipulationState:yr,applyFormat:kr,resolveFeatures:Br,selection:Ar}=useContentEditable(ne,vue.toRef(we,"value"),{maxLength:we.maxLength,maxLengthPerLine:we.maxLengthPerLine,maxLines:we.maxLines}),Pr=oi=>{we.multiline||oi.key==="Enter"&&oi.preventDefault()},Vr=vue.computed(()=>isEqual(vr.value,lr.value)?void 0:"Text is too long");vue.watchEffect(()=>{Ie("update:warning-message",Vr.value)});const ei=vue.ref(!1);vue.watch(ei,()=>{Ie("update:focus",ei.value)},{immediate:!0});const Nr=()=>{ei.value=!0},Zr=()=>{ei.value=!1};vue.watch(ne,(oi,ui)=>{ui&&(ui.removeEventListener("focus",Nr),ui.removeEventListener("blur",Zr)),oi&&(oi.addEventListener("focus",Nr),oi.addEventListener("blur",Zr))}),vue.watch(Ar,()=>{isEqual(Ar.value,we.selection)||Ie("update:selection",Ar.value??void 0)}),vue.watch(vr,()=>{isEqual(vr.value,we.value)||Ie("update:value",vr.value)}),vue.watch(lr,()=>{Ie("update:visible-value",lr.value)}),window.addEventListener("touchmove",oi=>{Ar.value&&oi.preventDefault()});let Wr;return vue.onMounted(()=>{if(!Ze.value?.richTextEditorDivRef)return;const oi=(ui,fi)=>{Me.value?.richTextEditorDivRef,Ze.value?.richTextEditorDivRef;for(const di of ui);};Wr=new MutationObserver(oi),Wr.observe(Ze.value.richTextEditorDivRef,{attributes:!0,childList:!0,subtree:!0})}),vue.onUnmounted(()=>{Wr.disconnect()}),c({applyFormat:kr,resolveFeatures:Br}),(oi,ui)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["rich-text",{focus:ei.value}])},[vue.createElementVNode("div",_hoisted_1$T,[vue.createVNode(RichTextDisplay,{ref_key:"richTextDisplayGhostInstance",ref:Ze,paragraphs:vue.unref(lr),"no-lazy":"",ghost:"",debug:!1},{feature:vue.withCtx(fi=>[vue.createElementVNode("span",{"data-feature-format":JSON.stringify(fi.format),class:vue.normalizeClass(["feature-wrapper feature-wrapper-ghost",{[fi.cssclass(oi.renderFeatureInlineStyle(fi.format))]:!0,"line-overflow":!!fi.format.lineOverflow,overflow:!!fi.format.overflow}])},vue.toDisplayString(fi.text),11,_hoisted_2$D)]),_:1},8,["paragraphs"]),(vue.openBlock(),vue.createBlock(RichTextDisplay,{ref_key:"richTextDisplayInstance",ref:Me,key:vue.unref(yr),paragraphs:vue.unref(vr),onUpdate:vue.unref(rr),onKeydown:Pr,style:vue.normalizeStyle({"-webkit-user-modify":oi.userAgentRichText?"read-write":"read-write-plaintext-only"})},{feature:vue.withCtx(fi=>[vue.createElementVNode("span",{"data-feature-format":JSON.stringify(fi.format),class:vue.normalizeClass(["feature-wrapper",{[fi.cssclass(oi.renderFeatureInlineStyle(fi.format))]:!0}])},vue.toDisplayString(fi.text),11,_hoisted_3$s)]),_:1},8,["paragraphs","onUpdate","style"]))])],2))}}),RichText_vue_vue_type_style_index_0_scoped_3bf042ff_lang="",RichText=_export_sfc(_sfc_main$17,[["__scopeId","data-v-3bf042ff"]]),colorNames={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},reverseNames=Object.create(null);for(const m in colorNames)Object.hasOwn(colorNames,m)&&(reverseNames[colorNames[m]]=m);const cs={to:{},get:{}};cs.get=function(m){const c=m.slice(0,3).toLowerCase();let ie,we;switch(c){case"hsl":{ie=cs.get.hsl(m),we="hsl";break}case"hwb":{ie=cs.get.hwb(m),we="hwb";break}default:{ie=cs.get.rgb(m),we="rgb";break}}return ie?{model:we,value:ie}:null},cs.get.rgb=function(m){if(!m)return null;const c=/^#([a-f\d]{3,4})$/i,ie=/^#([a-f\d]{6})([a-f\d]{2})?$/i,we=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,Ie=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,Me=/^(\w+)$/;let Ze=[0,0,0,1],ne,rr,vr;if(ne=m.match(ie)){for(vr=ne[2],ne=ne[1],rr=0;rr<3;rr++){const lr=rr*2;Ze[rr]=Number.parseInt(ne.slice(lr,lr+2),16)}vr&&(Ze[3]=Number.parseInt(vr,16)/255)}else if(ne=m.match(c)){for(ne=ne[1],vr=ne[3],rr=0;rr<3;rr++)Ze[rr]=Number.parseInt(ne[rr]+ne[rr],16);vr&&(Ze[3]=Number.parseInt(vr+vr,16)/255)}else if(ne=m.match(we)){for(rr=0;rr<3;rr++)Ze[rr]=Number.parseInt(ne[rr+1],10);ne[4]&&(Ze[3]=ne[5]?Number.parseFloat(ne[4])*.01:Number.parseFloat(ne[4]))}else if(ne=m.match(Ie)){for(rr=0;rr<3;rr++)Ze[rr]=Math.round(Number.parseFloat(ne[rr+1])*2.55);ne[4]&&(Ze[3]=ne[5]?Number.parseFloat(ne[4])*.01:Number.parseFloat(ne[4]))}else return(ne=m.match(Me))?ne[1]==="transparent"?[0,0,0,0]:Object.hasOwn(colorNames,ne[1])?(Ze=colorNames[ne[1]],Ze[3]=1,Ze):null:null;for(rr=0;rr<3;rr++)Ze[rr]=clamp$1(Ze[rr],0,255);return Ze[3]=clamp$1(Ze[3],0,1),Ze},cs.get.hsl=function(m){if(!m)return null;const c=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,ie=m.match(c);if(ie){const we=Number.parseFloat(ie[4]),Ie=(Number.parseFloat(ie[1])%360+360)%360,Me=clamp$1(Number.parseFloat(ie[2]),0,100),Ze=clamp$1(Number.parseFloat(ie[3]),0,100),ne=clamp$1(Number.isNaN(we)?1:we,0,1);return[Ie,Me,Ze,ne]}return null},cs.get.hwb=function(m){if(!m)return null;const c=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,ie=m.match(c);if(ie){const we=Number.parseFloat(ie[4]),Ie=(Number.parseFloat(ie[1])%360+360)%360,Me=clamp$1(Number.parseFloat(ie[2]),0,100),Ze=clamp$1(Number.parseFloat(ie[3]),0,100),ne=clamp$1(Number.isNaN(we)?1:we,0,1);return[Ie,Me,Ze,ne]}return null},cs.to.hex=function(...m){return"#"+hexDouble(m[0])+hexDouble(m[1])+hexDouble(m[2])+(m[3]<1?hexDouble(Math.round(m[3]*255)):"")},cs.to.rgb=function(...m){return m.length<4||m[3]===1?"rgb("+Math.round(m[0])+", "+Math.round(m[1])+", "+Math.round(m[2])+")":"rgba("+Math.round(m[0])+", "+Math.round(m[1])+", "+Math.round(m[2])+", "+m[3]+")"},cs.to.rgb.percent=function(...m){const c=Math.round(m[0]/255*100),ie=Math.round(m[1]/255*100),we=Math.round(m[2]/255*100);return m.length<4||m[3]===1?"rgb("+c+"%, "+ie+"%, "+we+"%)":"rgba("+c+"%, "+ie+"%, "+we+"%, "+m[3]+")"},cs.to.hsl=function(...m){return m.length<4||m[3]===1?"hsl("+m[0]+", "+m[1]+"%, "+m[2]+"%)":"hsla("+m[0]+", "+m[1]+"%, "+m[2]+"%, "+m[3]+")"},cs.to.hwb=function(...m){let c="";return m.length>=4&&m[3]!==1&&(c=", "+m[3]),"hwb("+m[0]+", "+m[1]+"%, "+m[2]+"%"+c+")"},cs.to.keyword=function(...m){return reverseNames[m.slice(0,3)]};function clamp$1(m,c,ie){return Math.min(Math.max(c,m),ie)}function hexDouble(m){const c=Math.round(m).toString(16).toUpperCase();return c.length<2?"0"+c:c}const cssKeywords={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},reverseKeywords={};for(const m of Object.keys(cssKeywords))reverseKeywords[cssKeywords[m]]=m;const convert$1={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},LAB_FT=(6/29)**3;for(const m of Object.keys(convert$1)){if(!("channels"in convert$1[m]))throw new Error("missing channels property: "+m);if(!("labels"in convert$1[m]))throw new Error("missing channel labels property: "+m);if(convert$1[m].labels.length!==convert$1[m].channels)throw new Error("channel and label counts mismatch: "+m);const{channels:c,labels:ie}=convert$1[m];delete convert$1[m].channels,delete convert$1[m].labels,Object.defineProperty(convert$1[m],"channels",{value:c}),Object.defineProperty(convert$1[m],"labels",{value:ie})}convert$1.rgb.hsl=function(m){const c=m[0]/255,ie=m[1]/255,we=m[2]/255,Ie=Math.min(c,ie,we),Me=Math.max(c,ie,we),Ze=Me-Ie;let ne,rr;switch(Me){case Ie:{ne=0;break}case c:{ne=(ie-we)/Ze;break}case ie:{ne=2+(we-c)/Ze;break}case we:{ne=4+(c-ie)/Ze;break}}ne=Math.min(ne*60,360),ne<0&&(ne+=360);const vr=(Ie+Me)/2;return Me===Ie?rr=0:vr<=.5?rr=Ze/(Me+Ie):rr=Ze/(2-Me-Ie),[ne,rr*100,vr*100]},convert$1.rgb.hsv=function(m){let c,ie,we,Ie,Me;const Ze=m[0]/255,ne=m[1]/255,rr=m[2]/255,vr=Math.max(Ze,ne,rr),lr=vr-Math.min(Ze,ne,rr),yr=function(kr){return(vr-kr)/6/lr+1/2};if(lr===0)Ie=0,Me=0;else{switch(Me=lr/vr,c=yr(Ze),ie=yr(ne),we=yr(rr),vr){case Ze:{Ie=we-ie;break}case ne:{Ie=1/3+c-we;break}case rr:{Ie=2/3+ie-c;break}}Ie<0?Ie+=1:Ie>1&&(Ie-=1)}return[Ie*360,Me*100,vr*100]},convert$1.rgb.hwb=function(m){const c=m[0],ie=m[1];let we=m[2];const Ie=convert$1.rgb.hsl(m)[0],Me=1/255*Math.min(c,Math.min(ie,we));return we=1-1/255*Math.max(c,Math.max(ie,we)),[Ie,Me*100,we*100]},convert$1.rgb.cmyk=function(m){const c=m[0]/255,ie=m[1]/255,we=m[2]/255,Ie=Math.min(1-c,1-ie,1-we),Me=(1-c-Ie)/(1-Ie)||0,Ze=(1-ie-Ie)/(1-Ie)||0,ne=(1-we-Ie)/(1-Ie)||0;return[Me*100,Ze*100,ne*100,Ie*100]};function comparativeDistance(m,c){return(m[0]-c[0])**2+(m[1]-c[1])**2+(m[2]-c[2])**2}convert$1.rgb.keyword=function(m){const c=reverseKeywords[m];if(c)return c;let ie=Number.POSITIVE_INFINITY,we;for(const Ie of Object.keys(cssKeywords)){const Me=cssKeywords[Ie],Ze=comparativeDistance(m,Me);Ze<ie&&(ie=Ze,we=Ie)}return we},convert$1.keyword.rgb=function(m){return cssKeywords[m]},convert$1.rgb.xyz=function(m){let c=m[0]/255,ie=m[1]/255,we=m[2]/255;c=c>.04045?((c+.055)/1.055)**2.4:c/12.92,ie=ie>.04045?((ie+.055)/1.055)**2.4:ie/12.92,we=we>.04045?((we+.055)/1.055)**2.4:we/12.92;const Ie=c*.4124564+ie*.3575761+we*.1804375,Me=c*.2126729+ie*.7151522+we*.072175,Ze=c*.0193339+ie*.119192+we*.9503041;return[Ie*100,Me*100,Ze*100]},convert$1.rgb.lab=function(m){const c=convert$1.rgb.xyz(m);let ie=c[0],we=c[1],Ie=c[2];ie/=95.047,we/=100,Ie/=108.883,ie=ie>LAB_FT?ie**(1/3):7.787*ie+16/116,we=we>LAB_FT?we**(1/3):7.787*we+16/116,Ie=Ie>LAB_FT?Ie**(1/3):7.787*Ie+16/116;const Me=116*we-16,Ze=500*(ie-we),ne=200*(we-Ie);return[Me,Ze,ne]},convert$1.hsl.rgb=function(m){const c=m[0]/360,ie=m[1]/100,we=m[2]/100;let Ie,Me;if(ie===0)return Me=we*255,[Me,Me,Me];const Ze=we<.5?we*(1+ie):we+ie-we*ie,ne=2*we-Ze,rr=[0,0,0];for(let vr=0;vr<3;vr++)Ie=c+1/3*-(vr-1),Ie<0&&Ie++,Ie>1&&Ie--,6*Ie<1?Me=ne+(Ze-ne)*6*Ie:2*Ie<1?Me=Ze:3*Ie<2?Me=ne+(Ze-ne)*(2/3-Ie)*6:Me=ne,rr[vr]=Me*255;return rr},convert$1.hsl.hsv=function(m){const c=m[0];let ie=m[1]/100,we=m[2]/100,Ie=ie;const Me=Math.max(we,.01);we*=2,ie*=we<=1?we:2-we,Ie*=Me<=1?Me:2-Me;const Ze=(we+ie)/2,ne=we===0?2*Ie/(Me+Ie):2*ie/(we+ie);return[c,ne*100,Ze*100]},convert$1.hsv.rgb=function(m){const c=m[0]/60,ie=m[1]/100;let we=m[2]/100;const Ie=Math.floor(c)%6,Me=c-Math.floor(c),Ze=255*we*(1-ie),ne=255*we*(1-ie*Me),rr=255*we*(1-ie*(1-Me));switch(we*=255,Ie){case 0:return[we,rr,Ze];case 1:return[ne,we,Ze];case 2:return[Ze,we,rr];case 3:return[Ze,ne,we];case 4:return[rr,Ze,we];case 5:return[we,Ze,ne]}},convert$1.hsv.hsl=function(m){const c=m[0],ie=m[1]/100,we=m[2]/100,Ie=Math.max(we,.01);let Me,Ze;Ze=(2-ie)*we;const ne=(2-ie)*Ie;return Me=ie*Ie,Me/=ne<=1?ne:2-ne,Me=Me||0,Ze/=2,[c,Me*100,Ze*100]},convert$1.hwb.rgb=function(m){const c=m[0]/360;let ie=m[1]/100,we=m[2]/100;const Ie=ie+we;let Me;Ie>1&&(ie/=Ie,we/=Ie);const Ze=Math.floor(6*c),ne=1-we;Me=6*c-Ze,(Ze&1)!==0&&(Me=1-Me);const rr=ie+Me*(ne-ie);let vr,lr,yr;switch(Ze){default:case 6:case 0:{vr=ne,lr=rr,yr=ie;break}case 1:{vr=rr,lr=ne,yr=ie;break}case 2:{vr=ie,lr=ne,yr=rr;break}case 3:{vr=ie,lr=rr,yr=ne;break}case 4:{vr=rr,lr=ie,yr=ne;break}case 5:{vr=ne,lr=ie,yr=rr;break}}return[vr*255,lr*255,yr*255]},convert$1.cmyk.rgb=function(m){const c=m[0]/100,ie=m[1]/100,we=m[2]/100,Ie=m[3]/100,Me=1-Math.min(1,c*(1-Ie)+Ie),Ze=1-Math.min(1,ie*(1-Ie)+Ie),ne=1-Math.min(1,we*(1-Ie)+Ie);return[Me*255,Ze*255,ne*255]},convert$1.xyz.rgb=function(m){const c=m[0]/100,ie=m[1]/100,we=m[2]/100;let Ie,Me,Ze;return Ie=c*3.2404542+ie*-1.5371385+we*-.4985314,Me=c*-.969266+ie*1.8760108+we*.041556,Ze=c*.0556434+ie*-.2040259+we*1.0572252,Ie=Ie>.0031308?1.055*Ie**(1/2.4)-.055:Ie*12.92,Me=Me>.0031308?1.055*Me**(1/2.4)-.055:Me*12.92,Ze=Ze>.0031308?1.055*Ze**(1/2.4)-.055:Ze*12.92,Ie=Math.min(Math.max(0,Ie),1),Me=Math.min(Math.max(0,Me),1),Ze=Math.min(Math.max(0,Ze),1),[Ie*255,Me*255,Ze*255]},convert$1.xyz.lab=function(m){let c=m[0],ie=m[1],we=m[2];c/=95.047,ie/=100,we/=108.883,c=c>LAB_FT?c**(1/3):7.787*c+16/116,ie=ie>LAB_FT?ie**(1/3):7.787*ie+16/116,we=we>LAB_FT?we**(1/3):7.787*we+16/116;const Ie=116*ie-16,Me=500*(c-ie),Ze=200*(ie-we);return[Ie,Me,Ze]},convert$1.lab.xyz=function(m){const c=m[0],ie=m[1],we=m[2];let Ie,Me,Ze;Me=(c+16)/116,Ie=ie/500+Me,Ze=Me-we/200;const ne=Me**3,rr=Ie**3,vr=Ze**3;return Me=ne>LAB_FT?ne:(Me-16/116)/7.787,Ie=rr>LAB_FT?rr:(Ie-16/116)/7.787,Ze=vr>LAB_FT?vr:(Ze-16/116)/7.787,Ie*=95.047,Me*=100,Ze*=108.883,[Ie,Me,Ze]},convert$1.lab.lch=function(m){const c=m[0],ie=m[1],we=m[2];let Ie;Ie=Math.atan2(we,ie)*360/2/Math.PI,Ie<0&&(Ie+=360);const Ze=Math.sqrt(ie*ie+we*we);return[c,Ze,Ie]},convert$1.lch.lab=function(m){const c=m[0],ie=m[1],Ie=m[2]/360*2*Math.PI,Me=ie*Math.cos(Ie),Ze=ie*Math.sin(Ie);return[c,Me,Ze]},convert$1.rgb.ansi16=function(m,c=null){const[ie,we,Ie]=m;let Me=c===null?convert$1.rgb.hsv(m)[2]:c;if(Me=Math.round(Me/50),Me===0)return 30;let Ze=30+(Math.round(Ie/255)<<2|Math.round(we/255)<<1|Math.round(ie/255));return Me===2&&(Ze+=60),Ze},convert$1.hsv.ansi16=function(m){return convert$1.rgb.ansi16(convert$1.hsv.rgb(m),m[2])},convert$1.rgb.ansi256=function(m){const c=m[0],ie=m[1],we=m[2];return c>>4===ie>>4&&ie>>4===we>>4?c<8?16:c>248?231:Math.round((c-8)/247*24)+232:16+36*Math.round(c/255*5)+6*Math.round(ie/255*5)+Math.round(we/255*5)},convert$1.ansi16.rgb=function(m){m=m[0];let c=m%10;if(c===0||c===7)return m>50&&(c+=3.5),c=c/10.5*255,[c,c,c];const ie=(Math.trunc(m>50)+1)*.5,we=(c&1)*ie*255,Ie=(c>>1&1)*ie*255,Me=(c>>2&1)*ie*255;return[we,Ie,Me]},convert$1.ansi256.rgb=function(m){if(m=m[0],m>=232){const Me=(m-232)*10+8;return[Me,Me,Me]}m-=16;let c;const ie=Math.floor(m/36)/5*255,we=Math.floor((c=m%36)/6)/5*255,Ie=c%6/5*255;return[ie,we,Ie]},convert$1.rgb.hex=function(m){const ie=(((Math.round(m[0])&255)<<16)+((Math.round(m[1])&255)<<8)+(Math.round(m[2])&255)).toString(16).toUpperCase();return"000000".slice(ie.length)+ie},convert$1.hex.rgb=function(m){const c=m.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!c)return[0,0,0];let ie=c[0];c[0].length===3&&(ie=[...ie].map(ne=>ne+ne).join(""));const we=Number.parseInt(ie,16),Ie=we>>16&255,Me=we>>8&255,Ze=we&255;return[Ie,Me,Ze]},convert$1.rgb.hcg=function(m){const c=m[0]/255,ie=m[1]/255,we=m[2]/255,Ie=Math.max(Math.max(c,ie),we),Me=Math.min(Math.min(c,ie),we),Ze=Ie-Me;let ne;const rr=Ze<1?Me/(1-Ze):0;return Ze<=0?ne=0:Ie===c?ne=(ie-we)/Ze%6:Ie===ie?ne=2+(we-c)/Ze:ne=4+(c-ie)/Ze,ne/=6,ne%=1,[ne*360,Ze*100,rr*100]},convert$1.hsl.hcg=function(m){const c=m[1]/100,ie=m[2]/100,we=ie<.5?2*c*ie:2*c*(1-ie);let Ie=0;return we<1&&(Ie=(ie-.5*we)/(1-we)),[m[0],we*100,Ie*100]},convert$1.hsv.hcg=function(m){const c=m[1]/100,ie=m[2]/100,we=c*ie;let Ie=0;return we<1&&(Ie=(ie-we)/(1-we)),[m[0],we*100,Ie*100]},convert$1.hcg.rgb=function(m){const c=m[0]/360,ie=m[1]/100,we=m[2]/100;if(ie===0)return[we*255,we*255,we*255];const Ie=[0,0,0],Me=c%1*6,Ze=Me%1,ne=1-Ze;let rr=0;switch(Math.floor(Me)){case 0:{Ie[0]=1,Ie[1]=Ze,Ie[2]=0;break}case 1:{Ie[0]=ne,Ie[1]=1,Ie[2]=0;break}case 2:{Ie[0]=0,Ie[1]=1,Ie[2]=Ze;break}case 3:{Ie[0]=0,Ie[1]=ne,Ie[2]=1;break}case 4:{Ie[0]=Ze,Ie[1]=0,Ie[2]=1;break}default:Ie[0]=1,Ie[1]=0,Ie[2]=ne}return rr=(1-ie)*we,[(ie*Ie[0]+rr)*255,(ie*Ie[1]+rr)*255,(ie*Ie[2]+rr)*255]},convert$1.hcg.hsv=function(m){const c=m[1]/100,ie=m[2]/100,we=c+ie*(1-c);let Ie=0;return we>0&&(Ie=c/we),[m[0],Ie*100,we*100]},convert$1.hcg.hsl=function(m){const c=m[1]/100,we=m[2]/100*(1-c)+.5*c;let Ie=0;return we>0&&we<.5?Ie=c/(2*we):we>=.5&&we<1&&(Ie=c/(2*(1-we))),[m[0],Ie*100,we*100]},convert$1.hcg.hwb=function(m){const c=m[1]/100,ie=m[2]/100,we=c+ie*(1-c);return[m[0],(we-c)*100,(1-we)*100]},convert$1.hwb.hcg=function(m){const c=m[1]/100,we=1-m[2]/100,Ie=we-c;let Me=0;return Ie<1&&(Me=(we-Ie)/(1-Ie)),[m[0],Ie*100,Me*100]},convert$1.apple.rgb=function(m){return[m[0]/65535*255,m[1]/65535*255,m[2]/65535*255]},convert$1.rgb.apple=function(m){return[m[0]/255*65535,m[1]/255*65535,m[2]/255*65535]},convert$1.gray.rgb=function(m){return[m[0]/100*255,m[0]/100*255,m[0]/100*255]},convert$1.gray.hsl=function(m){return[0,0,m[0]]},convert$1.gray.hsv=convert$1.gray.hsl,convert$1.gray.hwb=function(m){return[0,100,m[0]]},convert$1.gray.cmyk=function(m){return[0,0,0,m[0]]},convert$1.gray.lab=function(m){return[m[0],0,0]},convert$1.gray.hex=function(m){const c=Math.round(m[0]/100*255)&255,we=((c<<16)+(c<<8)+c).toString(16).toUpperCase();return"000000".slice(we.length)+we},convert$1.rgb.gray=function(m){return[(m[0]+m[1]+m[2])/3/255*100]};function buildGraph(){const m={},c=Object.keys(convert$1);for(let{length:ie}=c,we=0;we<ie;we++)m[c[we]]={distance:-1,parent:null};return m}function deriveBFS(m){const c=buildGraph(),ie=[m];for(c[m].distance=0;ie.length>0;){const we=ie.pop(),Ie=Object.keys(convert$1[we]);for(let{length:Me}=Ie,Ze=0;Ze<Me;Ze++){const ne=Ie[Ze],rr=c[ne];rr.distance===-1&&(rr.distance=c[we].distance+1,rr.parent=we,ie.unshift(ne))}}return c}function link(m,c){return function(ie){return c(m(ie))}}function wrapConversion(m,c){const ie=[c[m].parent,m];let we=convert$1[c[m].parent][m],Ie=c[m].parent;for(;c[Ie].parent;)ie.unshift(c[Ie].parent),we=link(convert$1[c[Ie].parent][Ie],we),Ie=c[Ie].parent;return we.conversion=ie,we}function route(m){const c=deriveBFS(m),ie={},we=Object.keys(c);for(let{length:Ie}=we,Me=0;Me<Ie;Me++){const Ze=we[Me];c[Ze].parent!==null&&(ie[Ze]=wrapConversion(Ze,c))}return ie}const convert={},models=Object.keys(convert$1);function wrapRaw(m){const c=function(...ie){const we=ie[0];return we==null?we:(we.length>1&&(ie=we),m(ie))};return"conversion"in m&&(c.conversion=m.conversion),c}function wrapRounded(m){const c=function(...ie){const we=ie[0];if(we==null)return we;we.length>1&&(ie=we);const Ie=m(ie);if(typeof Ie=="object")for(let{length:Me}=Ie,Ze=0;Ze<Me;Ze++)Ie[Ze]=Math.round(Ie[Ze]);return Ie};return"conversion"in m&&(c.conversion=m.conversion),c}for(const m of models){convert[m]={},Object.defineProperty(convert[m],"channels",{value:convert$1[m].channels}),Object.defineProperty(convert[m],"labels",{value:convert$1[m].labels});const c=route(m),ie=Object.keys(c);for(const we of ie){const Ie=c[we];convert[m][we]=wrapRounded(Ie),convert[m][we].raw=wrapRaw(Ie)}}const skippedModels=["keyword","gray","hex"],hashedModelKeys={};for(const m of Object.keys(convert))hashedModelKeys[[...convert[m].labels].sort().join("")]=m;const limiters={};function Color$1(m,c){if(!(this instanceof Color$1))return new Color$1(m,c);if(c&&c in skippedModels&&(c=null),c&&!(c in convert))throw new Error("Unknown model: "+c);let ie,we;if(m==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(m instanceof Color$1)this.model=m.model,this.color=[...m.color],this.valpha=m.valpha;else if(typeof m=="string"){const Ie=cs.get(m);if(Ie===null)throw new Error("Unable to parse color from string: "+m);this.model=Ie.model,we=convert[this.model].channels,this.color=Ie.value.slice(0,we),this.valpha=typeof Ie.value[we]=="number"?Ie.value[we]:1}else if(m.length>0){this.model=c||"rgb",we=convert[this.model].channels;const Ie=Array.prototype.slice.call(m,0,we);this.color=zeroArray(Ie,we),this.valpha=typeof m[we]=="number"?m[we]:1}else if(typeof m=="number")this.model="rgb",this.color=[m>>16&255,m>>8&255,m&255],this.valpha=1;else{this.valpha=1;const Ie=Object.keys(m);"alpha"in m&&(Ie.splice(Ie.indexOf("alpha"),1),this.valpha=typeof m.alpha=="number"?m.alpha:0);const Me=Ie.sort().join("");if(!(Me in hashedModelKeys))throw new Error("Unable to parse color from object: "+JSON.stringify(m));this.model=hashedModelKeys[Me];const{labels:Ze}=convert[this.model],ne=[];for(ie=0;ie<Ze.length;ie++)ne.push(m[Ze[ie]]);this.color=zeroArray(ne)}if(limiters[this.model])for(we=convert[this.model].channels,ie=0;ie<we;ie++){const Ie=limiters[this.model][ie];Ie&&(this.color[ie]=Ie(this.color[ie]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Color$1.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(m){let c=this.model in cs.to?this:this.rgb();c=c.round(typeof m=="number"?m:1);const ie=c.valpha===1?c.color:[...c.color,this.valpha];return cs.to[c.model](...ie)},percentString(m){const c=this.rgb().round(typeof m=="number"?m:1),ie=c.valpha===1?c.color:[...c.color,this.valpha];return cs.to.rgb.percent(...ie)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const m={},{channels:c}=convert[this.model],{labels:ie}=convert[this.model];for(let we=0;we<c;we++)m[ie[we]]=this.color[we];return this.valpha!==1&&(m.alpha=this.valpha),m},unitArray(){const m=this.rgb().color;return m[0]/=255,m[1]/=255,m[2]/=255,this.valpha!==1&&m.push(this.valpha),m},unitObject(){const m=this.rgb().object();return m.r/=255,m.g/=255,m.b/=255,this.valpha!==1&&(m.alpha=this.valpha),m},round(m){return m=Math.max(m||0,0),new Color$1([...this.color.map(roundToPlace(m)),this.valpha],this.model)},alpha(m){return m!==void 0?new Color$1([...this.color,Math.max(0,Math.min(1,m))],this.model):this.valpha},red:getset("rgb",0,maxfn(255)),green:getset("rgb",1,maxfn(255)),blue:getset("rgb",2,maxfn(255)),hue:getset(["hsl","hsv","hsl","hwb","hcg"],0,m=>(m%360+360)%360),saturationl:getset("hsl",1,maxfn(100)),lightness:getset("hsl",2,maxfn(100)),saturationv:getset("hsv",1,maxfn(100)),value:getset("hsv",2,maxfn(100)),chroma:getset("hcg",1,maxfn(100)),gray:getset("hcg",2,maxfn(100)),white:getset("hwb",1,maxfn(100)),wblack:getset("hwb",2,maxfn(100)),cyan:getset("cmyk",0,maxfn(100)),magenta:getset("cmyk",1,maxfn(100)),yellow:getset("cmyk",2,maxfn(100)),black:getset("cmyk",3,maxfn(100)),x:getset("xyz",0,maxfn(95.047)),y:getset("xyz",1,maxfn(100)),z:getset("xyz",2,maxfn(108.833)),l:getset("lab",0,maxfn(100)),a:getset("lab",1),b:getset("lab",2),keyword(m){return m!==void 0?new Color$1(m):convert[this.model].keyword(this.color)},hex(m){return m!==void 0?new Color$1(m):cs.to.hex(...this.rgb().round().color)},hexa(m){if(m!==void 0)return new Color$1(m);const c=this.rgb().round().color;let ie=Math.round(this.valpha*255).toString(16).toUpperCase();return ie.length===1&&(ie="0"+ie),cs.to.hex(...c)+ie},rgbNumber(){const m=this.rgb().color;return(m[0]&255)<<16|(m[1]&255)<<8|m[2]&255},luminosity(){const m=this.rgb().color,c=[];for(const[ie,we]of m.entries()){const Ie=we/255;c[ie]=Ie<=.04045?Ie/12.92:((Ie+.055)/1.055)**2.4}return .2126*c[0]+.7152*c[1]+.0722*c[2]},contrast(m){const c=this.luminosity(),ie=m.luminosity();return c>ie?(c+.05)/(ie+.05):(ie+.05)/(c+.05)},level(m){const c=this.contrast(m);return c>=7?"AAA":c>=4.5?"AA":""},isDark(){const m=this.rgb().color;return(m[0]*2126+m[1]*7152+m[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const m=this.rgb();for(let c=0;c<3;c++)m.color[c]=255-m.color[c];return m},lighten(m){const c=this.hsl();return c.color[2]+=c.color[2]*m,c},darken(m){const c=this.hsl();return c.color[2]-=c.color[2]*m,c},saturate(m){const c=this.hsl();return c.color[1]+=c.color[1]*m,c},desaturate(m){const c=this.hsl();return c.color[1]-=c.color[1]*m,c},whiten(m){const c=this.hwb();return c.color[1]+=c.color[1]*m,c},blacken(m){const c=this.hwb();return c.color[2]+=c.color[2]*m,c},grayscale(){const m=this.rgb().color,c=m[0]*.3+m[1]*.59+m[2]*.11;return Color$1.rgb(c,c,c)},fade(m){return this.alpha(this.valpha-this.valpha*m)},opaquer(m){return this.alpha(this.valpha+this.valpha*m)},rotate(m){const c=this.hsl();let ie=c.color[0];return ie=(ie+m)%360,ie=ie<0?360+ie:ie,c.color[0]=ie,c},mix(m,c){if(!m||!m.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof m);const ie=m.rgb(),we=this.rgb(),Ie=c===void 0?.5:c,Me=2*Ie-1,Ze=ie.alpha()-we.alpha(),ne=((Me*Ze===-1?Me:(Me+Ze)/(1+Me*Ze))+1)/2,rr=1-ne;return Color$1.rgb(ne*ie.red()+rr*we.red(),ne*ie.green()+rr*we.green(),ne*ie.blue()+rr*we.blue(),ie.alpha()*Ie+we.alpha()*(1-Ie))}};for(const m of Object.keys(convert)){if(skippedModels.includes(m))continue;const{channels:c}=convert[m];Color$1.prototype[m]=function(...ie){return this.model===m?new Color$1(this):ie.length>0?new Color$1(ie,m):new Color$1([...assertArray(convert[this.model][m].raw(this.color)),this.valpha],m)},Color$1[m]=function(...ie){let we=ie[0];return typeof we=="number"&&(we=zeroArray(ie,c)),new Color$1(we,m)}}function roundTo(m,c){return Number(m.toFixed(c))}function roundToPlace(m){return function(c){return roundTo(c,m)}}function getset(m,c,ie){m=Array.isArray(m)?m:[m];for(const we of m)(limiters[we]||=[])[c]=ie;return m=m[0],function(we){let Ie;return we!==void 0?(ie&&(we=ie(we)),Ie=this[m](),Ie.color[c]=we,Ie):(Ie=this[m]().color[c],ie&&(Ie=ie(Ie)),Ie)}}function maxfn(m){return function(c){return Math.max(0,Math.min(m,c))}}function assertArray(m){return Array.isArray(m)?m:[m]}function zeroArray(m,c){for(let ie=0;ie<c;ie++)typeof m[ie]!="number"&&(m[ie]=0);return m}const _sfc_main$16=vue.defineComponent({__name:"BxRichtextInput",props:vue.mergeModels({userAgentRichText:{type:Boolean,default:!0},multiline:{type:Boolean,default:!0},maxLength:{default:1/0},maxLengthPerLine:{default:1/0},maxLines:{default:1/0}},{modelValue:{required:!0},modelModifiers:{},selection:{required:!0},selectionModifiers:{}}),emits:vue.mergeModels(["update:raw-text","update:focus"],["update:modelValue","update:selection"]),setup(m,{expose:c,emit:ie}){const we=vue.useModel(m,"modelValue"),Ie=ie,Me=vue.useModel(m,"selection"),Ze=Ar=>Ar.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),ne=Ar=>{const Pr=(()=>{if(Ar.customClass){if(Ar.customClassUIRepresentation==="bold")return{"font-weight":600};if(Ar.customClassUIRepresentation==="italic")return{"font-style":"italic"};if(Ar.customClassUIRepresentation==="textColor")return{color:Ar.customClassUIRepresentationColor??"#ff0000"};if(Ar.customClassUIRepresentation==="backgroundColor")return{"background-color":Ar.customClassUIRepresentationColor??"#ff0000",color:Color$1(Ar.customClassUIRepresentationColor??"#ff0000").isDark()?"white":"black"}}else return{}})();return{...Object.fromEntries(Object.entries({...Ar,...(()=>Ar.customClass==="list-item"?{display:"block",marginLeft:"1em"}:{})()}).map(([ei,Nr])=>{const Zr=Ze(ei);return[Zr,(()=>Zr==="font-size"&&typeof Nr=="number"?`${Nr}px`:Nr)()]})),...Pr}},rr=vue.ref(groupFeatureByLinebreaks$1(typeof we.value=="string"?[{text:we.value,format:{}}]:we.value));vue.watch(rr,Ar=>{const Pr=ungroupFeaturesDividedByLinebreaks(Ar);isEqual(Pr,we.value)||(we.value=Pr)}),vue.watch(we,()=>{const Ar=groupFeatureByLinebreaks$1(typeof we.value=="string"?[{text:we.value,format:{}}]:we.value);isEqual(Ar,we.value)||(rr.value=Ar)});const vr=vue.ref(rr.value),lr=vue.computed(()=>getRawText(vr.value));vue.watch(lr,()=>{Ie("update:raw-text",lr.value)},{immediate:!0});const yr=vue.ref(),kr=vue.ref(),Br=vue.ref(!1);return vue.watch(Br,()=>{Ie("update:focus",Br.value)},{immediate:!0}),c({richTextInstance:kr}),(Ar,Pr)=>(vue.openBlock(),vue.createBlock(RichText,{ref_key:"richTextInstance",ref:kr,selection:Me.value,"onUpdate:selection":Pr[0]||(Pr[0]=Vr=>Me.value=Vr),value:rr.value,"onUpdate:value":Pr[1]||(Pr[1]=Vr=>rr.value=Vr),"onUpdate:visibleValue":Pr[2]||(Pr[2]=Vr=>vr.value=Vr),"render-feature-inline-style":ne,"user-agent-rich-text":Ar.userAgentRichText,"max-length":Ar.maxLength,"max-length-per-line":Ar.maxLengthPerLine,"max-lines":Ar.maxLines,multiline:Ar.multiline,"onUpdate:warningMessage":Pr[3]||(Pr[3]=Vr=>yr.value=Vr),focus:Br.value,"onUpdate:focus":Pr[4]||(Pr[4]=Vr=>Br.value=Vr),class:vue.normalizeClass({warning:!!yr.value})},null,8,["selection","value","user-agent-rich-text","max-length","max-length-per-line","max-lines","multiline","focus","class"]))}}),BxRichtextInput_vue_vue_type_style_index_0_scoped_5d2e9b73_lang="",BxRichtextInput=_export_sfc(_sfc_main$16,[["__scopeId","data-v-5d2e9b73"]]),sides=["top","right","bottom","left"],alignments=["start","end"],placements=sides.reduce((m,c)=>m.concat(c,c+"-"+alignments[0],c+"-"+alignments[1]),[]),min=Math.min,max=Math.max,round=Math.round,createCoords=m=>({x:m,y:m}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(m,c,ie){return max(m,min(c,ie))}function evaluate(m,c){return typeof m=="function"?m(c):m}function getSide(m){return m.split("-")[0]}function getAlignment(m){return m.split("-")[1]}function getOppositeAxis(m){return m==="x"?"y":"x"}function getAxisLength(m){return m==="y"?"height":"width"}function getSideAxis(m){return["top","bottom"].includes(getSide(m))?"y":"x"}function getAlignmentAxis(m){return getOppositeAxis(getSideAxis(m))}function getAlignmentSides(m,c,ie){ie===void 0&&(ie=!1);const we=getAlignment(m),Ie=getAlignmentAxis(m),Me=getAxisLength(Ie);let Ze=Ie==="x"?we===(ie?"end":"start")?"right":"left":we==="start"?"bottom":"top";return c.reference[Me]>c.floating[Me]&&(Ze=getOppositePlacement(Ze)),[Ze,getOppositePlacement(Ze)]}function getExpandedPlacements(m){const c=getOppositePlacement(m);return[getOppositeAlignmentPlacement(m),c,getOppositeAlignmentPlacement(c)]}function getOppositeAlignmentPlacement(m){return m.replace(/start|end/g,c=>oppositeAlignmentMap[c])}function getSideList(m,c,ie){const we=["left","right"],Ie=["right","left"],Me=["top","bottom"],Ze=["bottom","top"];switch(m){case"top":case"bottom":return ie?c?Ie:we:c?we:Ie;case"left":case"right":return c?Me:Ze;default:return[]}}function getOppositeAxisPlacements(m,c,ie,we){const Ie=getAlignment(m);let Me=getSideList(getSide(m),ie==="start",we);return Ie&&(Me=Me.map(Ze=>Ze+"-"+Ie),c&&(Me=Me.concat(Me.map(getOppositeAlignmentPlacement)))),Me}function getOppositePlacement(m){return m.replace(/left|right|bottom|top/g,c=>oppositeSideMap[c])}function expandPaddingObject(m){return{top:0,right:0,bottom:0,left:0,...m}}function getPaddingObject(m){return typeof m!="number"?expandPaddingObject(m):{top:m,right:m,bottom:m,left:m}}function rectToClientRect(m){const{x:c,y:ie,width:we,height:Ie}=m;return{width:we,height:Ie,top:ie,left:c,right:c+we,bottom:ie+Ie,x:c,y:ie}}function computeCoordsFromPlacement(m,c,ie){let{reference:we,floating:Ie}=m;const Me=getSideAxis(c),Ze=getAlignmentAxis(c),ne=getAxisLength(Ze),rr=getSide(c),vr=Me==="y",lr=we.x+we.width/2-Ie.width/2,yr=we.y+we.height/2-Ie.height/2,kr=we[ne]/2-Ie[ne]/2;let Br;switch(rr){case"top":Br={x:lr,y:we.y-Ie.height};break;case"bottom":Br={x:lr,y:we.y+we.height};break;case"right":Br={x:we.x+we.width,y:yr};break;case"left":Br={x:we.x-Ie.width,y:yr};break;default:Br={x:we.x,y:we.y}}switch(getAlignment(c)){case"start":Br[Ze]-=kr*(ie&&vr?-1:1);break;case"end":Br[Ze]+=kr*(ie&&vr?-1:1);break}return Br}const computePosition$1=async(m,c,ie)=>{const{placement:we="bottom",strategy:Ie="absolute",middleware:Me=[],platform:Ze}=ie,ne=Me.filter(Boolean),rr=await(Ze.isRTL==null?void 0:Ze.isRTL(c));let vr=await Ze.getElementRects({reference:m,floating:c,strategy:Ie}),{x:lr,y:yr}=computeCoordsFromPlacement(vr,we,rr),kr=we,Br={},Ar=0;for(let Pr=0;Pr<ne.length;Pr++){const{name:Vr,fn:ei}=ne[Pr],{x:Nr,y:Zr,data:Wr,reset:oi}=await ei({x:lr,y:yr,initialPlacement:we,placement:kr,strategy:Ie,middlewareData:Br,rects:vr,platform:Ze,elements:{reference:m,floating:c}});lr=Nr??lr,yr=Zr??yr,Br={...Br,[Vr]:{...Br[Vr],...Wr}},oi&&Ar<=50&&(Ar++,typeof oi=="object"&&(oi.placement&&(kr=oi.placement),oi.rects&&(vr=oi.rects===!0?await Ze.getElementRects({reference:m,floating:c,strategy:Ie}):oi.rects),{x:lr,y:yr}=computeCoordsFromPlacement(vr,kr,rr)),Pr=-1)}return{x:lr,y:yr,placement:kr,strategy:Ie,middlewareData:Br}};async function detectOverflow(m,c){var ie;c===void 0&&(c={});const{x:we,y:Ie,platform:Me,rects:Ze,elements:ne,strategy:rr}=m,{boundary:vr="clippingAncestors",rootBoundary:lr="viewport",elementContext:yr="floating",altBoundary:kr=!1,padding:Br=0}=evaluate(c,m),Ar=getPaddingObject(Br),Vr=ne[kr?yr==="floating"?"reference":"floating":yr],ei=rectToClientRect(await Me.getClippingRect({element:(ie=await(Me.isElement==null?void 0:Me.isElement(Vr)))==null||ie?Vr:Vr.contextElement||await(Me.getDocumentElement==null?void 0:Me.getDocumentElement(ne.floating)),boundary:vr,rootBoundary:lr,strategy:rr})),Nr=yr==="floating"?{x:we,y:Ie,width:Ze.floating.width,height:Ze.floating.height}:Ze.reference,Zr=await(Me.getOffsetParent==null?void 0:Me.getOffsetParent(ne.floating)),Wr=await(Me.isElement==null?void 0:Me.isElement(Zr))?await(Me.getScale==null?void 0:Me.getScale(Zr))||{x:1,y:1}:{x:1,y:1},oi=rectToClientRect(Me.convertOffsetParentRelativeRectToViewportRelativeRect?await Me.convertOffsetParentRelativeRectToViewportRelativeRect({elements:ne,rect:Nr,offsetParent:Zr,strategy:rr}):Nr);return{top:(ei.top-oi.top+Ar.top)/Wr.y,bottom:(oi.bottom-ei.bottom+Ar.bottom)/Wr.y,left:(ei.left-oi.left+Ar.left)/Wr.x,right:(oi.right-ei.right+Ar.right)/Wr.x}}const arrow=m=>({name:"arrow",options:m,async fn(c){const{x:ie,y:we,placement:Ie,rects:Me,platform:Ze,elements:ne,middlewareData:rr}=c,{element:vr,padding:lr=0}=evaluate(m,c)||{};if(vr==null)return{};const yr=getPaddingObject(lr),kr={x:ie,y:we},Br=getAlignmentAxis(Ie),Ar=getAxisLength(Br),Pr=await Ze.getDimensions(vr),Vr=Br==="y",ei=Vr?"top":"left",Nr=Vr?"bottom":"right",Zr=Vr?"clientHeight":"clientWidth",Wr=Me.reference[Ar]+Me.reference[Br]-kr[Br]-Me.floating[Ar],oi=kr[Br]-Me.reference[Br],ui=await(Ze.getOffsetParent==null?void 0:Ze.getOffsetParent(vr));let fi=ui?ui[Zr]:0;(!fi||!await(Ze.isElement==null?void 0:Ze.isElement(ui)))&&(fi=ne.floating[Zr]||Me.floating[Ar]);const di=Wr/2-oi/2,li=fi/2-Pr[Ar]/2-1,hi=min(yr[ei],li),gr=min(yr[Nr],li),Ae=hi,ze=fi-Pr[Ar]-gr,Ue=fi/2-Pr[Ar]/2+di,tr=clamp(Ae,Ue,ze),or=!rr.arrow&&getAlignment(Ie)!=null&&Ue!==tr&&Me.reference[Ar]/2-(Ue<Ae?hi:gr)-Pr[Ar]/2<0,pr=or?Ue<Ae?Ue-Ae:Ue-ze:0;return{[Br]:kr[Br]+pr,data:{[Br]:tr,centerOffset:Ue-tr-pr,...or&&{alignmentOffset:pr}},reset:or}}});function getPlacementList(m,c,ie){return(m?[...ie.filter(Ie=>getAlignment(Ie)===m),...ie.filter(Ie=>getAlignment(Ie)!==m)]:ie.filter(Ie=>getSide(Ie)===Ie)).filter(Ie=>m?getAlignment(Ie)===m||(c?getOppositeAlignmentPlacement(Ie)!==Ie:!1):!0)}const autoPlacement$1=function(m){return m===void 0&&(m={}),{name:"autoPlacement",options:m,async fn(c){var ie,we,Ie;const{rects:Me,middlewareData:Ze,placement:ne,platform:rr,elements:vr}=c,{crossAxis:lr=!1,alignment:yr,allowedPlacements:kr=placements,autoAlignment:Br=!0,...Ar}=evaluate(m,c),Pr=yr!==void 0||kr===placements?getPlacementList(yr||null,Br,kr):kr,Vr=await detectOverflow(c,Ar),ei=((ie=Ze.autoPlacement)==null?void 0:ie.index)||0,Nr=Pr[ei];if(Nr==null)return{};const Zr=getAlignmentSides(Nr,Me,await(rr.isRTL==null?void 0:rr.isRTL(vr.floating)));if(ne!==Nr)return{reset:{placement:Pr[0]}};const Wr=[Vr[getSide(Nr)],Vr[Zr[0]],Vr[Zr[1]]],oi=[...((we=Ze.autoPlacement)==null?void 0:we.overflows)||[],{placement:Nr,overflows:Wr}],ui=Pr[ei+1];if(ui)return{data:{index:ei+1,overflows:oi},reset:{placement:ui}};const fi=oi.map(hi=>{const gr=getAlignment(hi.placement);return[hi.placement,gr&&lr?hi.overflows.slice(0,2).reduce((Ae,ze)=>Ae+ze,0):hi.overflows[0],hi.overflows]}).sort((hi,gr)=>hi[1]-gr[1]),li=((Ie=fi.filter(hi=>hi[2].slice(0,getAlignment(hi[0])?2:3).every(gr=>gr<=0))[0])==null?void 0:Ie[0])||fi[0][0];return li!==ne?{data:{index:ei+1,overflows:oi},reset:{placement:li}}:{}}}},flip=function(m){return m===void 0&&(m={}),{name:"flip",options:m,async fn(c){var ie,we;const{placement:Ie,middlewareData:Me,rects:Ze,initialPlacement:ne,platform:rr,elements:vr}=c,{mainAxis:lr=!0,crossAxis:yr=!0,fallbackPlacements:kr,fallbackStrategy:Br="bestFit",fallbackAxisSideDirection:Ar="none",flipAlignment:Pr=!0,...Vr}=evaluate(m,c);if((ie=Me.arrow)!=null&&ie.alignmentOffset)return{};const ei=getSide(Ie),Nr=getSideAxis(ne),Zr=getSide(ne)===ne,Wr=await(rr.isRTL==null?void 0:rr.isRTL(vr.floating)),oi=kr||(Zr||!Pr?[getOppositePlacement(ne)]:getExpandedPlacements(ne)),ui=Ar!=="none";!kr&&ui&&oi.push(...getOppositeAxisPlacements(ne,Pr,Ar,Wr));const fi=[ne,...oi],di=await detectOverflow(c,Vr),li=[];let hi=((we=Me.flip)==null?void 0:we.overflows)||[];if(lr&&li.push(di[ei]),yr){const Ue=getAlignmentSides(Ie,Ze,Wr);li.push(di[Ue[0]],di[Ue[1]])}if(hi=[...hi,{placement:Ie,overflows:li}],!li.every(Ue=>Ue<=0)){var gr,Ae;const Ue=(((gr=Me.flip)==null?void 0:gr.index)||0)+1,tr=fi[Ue];if(tr)return{data:{index:Ue,overflows:hi},reset:{placement:tr}};let or=(Ae=hi.filter(pr=>pr.overflows[0]<=0).sort((pr,br)=>pr.overflows[1]-br.overflows[1])[0])==null?void 0:Ae.placement;if(!or)switch(Br){case"bestFit":{var ze;const pr=(ze=hi.filter(br=>{if(ui){const nr=getSideAxis(br.placement);return nr===Nr||nr==="y"}return!0}).map(br=>[br.placement,br.overflows.filter(nr=>nr>0).reduce((nr,$e)=>nr+$e,0)]).sort((br,nr)=>br[1]-nr[1])[0])==null?void 0:ze[0];pr&&(or=pr);break}case"initialPlacement":or=ne;break}if(Ie!==or)return{reset:{placement:or}}}return{}}}};function getSideOffsets(m,c){return{top:m.top-c.height,right:m.right-c.width,bottom:m.bottom-c.height,left:m.left-c.width}}function isAnySideFullyClipped(m){return sides.some(c=>m[c]>=0)}const hide=function(m){return m===void 0&&(m={}),{name:"hide",options:m,async fn(c){const{rects:ie}=c,{strategy:we="referenceHidden",...Ie}=evaluate(m,c);switch(we){case"referenceHidden":{const Me=await detectOverflow(c,{...Ie,elementContext:"reference"}),Ze=getSideOffsets(Me,ie.reference);return{data:{referenceHiddenOffsets:Ze,referenceHidden:isAnySideFullyClipped(Ze)}}}case"escaped":{const Me=await detectOverflow(c,{...Ie,altBoundary:!0}),Ze=getSideOffsets(Me,ie.floating);return{data:{escapedOffsets:Ze,escaped:isAnySideFullyClipped(Ze)}}}default:return{}}}}};function getBoundingRect(m){const c=min(...m.map(Me=>Me.left)),ie=min(...m.map(Me=>Me.top)),we=max(...m.map(Me=>Me.right)),Ie=max(...m.map(Me=>Me.bottom));return{x:c,y:ie,width:we-c,height:Ie-ie}}function getRectsByLine(m){const c=m.slice().sort((Ie,Me)=>Ie.y-Me.y),ie=[];let we=null;for(let Ie=0;Ie<c.length;Ie++){const Me=c[Ie];!we||Me.y-we.y>we.height/2?ie.push([Me]):ie[ie.length-1].push(Me),we=Me}return ie.map(Ie=>rectToClientRect(getBoundingRect(Ie)))}const inline=function(m){return m===void 0&&(m={}),{name:"inline",options:m,async fn(c){const{placement:ie,elements:we,rects:Ie,platform:Me,strategy:Ze}=c,{padding:ne=2,x:rr,y:vr}=evaluate(m,c),lr=Array.from(await(Me.getClientRects==null?void 0:Me.getClientRects(we.reference))||[]),yr=getRectsByLine(lr),kr=rectToClientRect(getBoundingRect(lr)),Br=getPaddingObject(ne);function Ar(){if(yr.length===2&&yr[0].left>yr[1].right&&rr!=null&&vr!=null)return yr.find(Vr=>rr>Vr.left-Br.left&&rr<Vr.right+Br.right&&vr>Vr.top-Br.top&&vr<Vr.bottom+Br.bottom)||kr;if(yr.length>=2){if(getSideAxis(ie)==="y"){const hi=yr[0],gr=yr[yr.length-1],Ae=getSide(ie)==="top",ze=hi.top,Ue=gr.bottom,tr=Ae?hi.left:gr.left,or=Ae?hi.right:gr.right,pr=or-tr,br=Ue-ze;return{top:ze,bottom:Ue,left:tr,right:or,width:pr,height:br,x:tr,y:ze}}const Vr=getSide(ie)==="left",ei=max(...yr.map(hi=>hi.right)),Nr=min(...yr.map(hi=>hi.left)),Zr=yr.filter(hi=>Vr?hi.left===Nr:hi.right===ei),Wr=Zr[0].top,oi=Zr[Zr.length-1].bottom,ui=Nr,fi=ei,di=fi-ui,li=oi-Wr;return{top:Wr,bottom:oi,left:ui,right:fi,width:di,height:li,x:ui,y:Wr}}return kr}const Pr=await Me.getElementRects({reference:{getBoundingClientRect:Ar},floating:we.floating,strategy:Ze});return Ie.reference.x!==Pr.reference.x||Ie.reference.y!==Pr.reference.y||Ie.reference.width!==Pr.reference.width||Ie.reference.height!==Pr.reference.height?{reset:{rects:Pr}}:{}}}};async function convertValueToCoords(m,c){const{placement:ie,platform:we,elements:Ie}=m,Me=await(we.isRTL==null?void 0:we.isRTL(Ie.floating)),Ze=getSide(ie),ne=getAlignment(ie),rr=getSideAxis(ie)==="y",vr=["left","top"].includes(Ze)?-1:1,lr=Me&&rr?-1:1,yr=evaluate(c,m);let{mainAxis:kr,crossAxis:Br,alignmentAxis:Ar}=typeof yr=="number"?{mainAxis:yr,crossAxis:0,alignmentAxis:null}:{mainAxis:yr.mainAxis||0,crossAxis:yr.crossAxis||0,alignmentAxis:yr.alignmentAxis};return ne&&typeof Ar=="number"&&(Br=ne==="end"?Ar*-1:Ar),rr?{x:Br*lr,y:kr*vr}:{x:kr*vr,y:Br*lr}}const offset$1=function(m){return m===void 0&&(m=0),{name:"offset",options:m,async fn(c){var ie,we;const{x:Ie,y:Me,placement:Ze,middlewareData:ne}=c,rr=await convertValueToCoords(c,m);return Ze===((ie=ne.offset)==null?void 0:ie.placement)&&(we=ne.arrow)!=null&&we.alignmentOffset?{}:{x:Ie+rr.x,y:Me+rr.y,data:{...rr,placement:Ze}}}}},shift$1=function(m){return m===void 0&&(m={}),{name:"shift",options:m,async fn(c){const{x:ie,y:we,placement:Ie}=c,{mainAxis:Me=!0,crossAxis:Ze=!1,limiter:ne={fn:Vr=>{let{x:ei,y:Nr}=Vr;return{x:ei,y:Nr}}},...rr}=evaluate(m,c),vr={x:ie,y:we},lr=await detectOverflow(c,rr),yr=getSideAxis(getSide(Ie)),kr=getOppositeAxis(yr);let Br=vr[kr],Ar=vr[yr];if(Me){const Vr=kr==="y"?"top":"left",ei=kr==="y"?"bottom":"right",Nr=Br+lr[Vr],Zr=Br-lr[ei];Br=clamp(Nr,Br,Zr)}if(Ze){const Vr=yr==="y"?"top":"left",ei=yr==="y"?"bottom":"right",Nr=Ar+lr[Vr],Zr=Ar-lr[ei];Ar=clamp(Nr,Ar,Zr)}const Pr=ne.fn({...c,[kr]:Br,[yr]:Ar});return{...Pr,data:{x:Pr.x-ie,y:Pr.y-we,enabled:{[kr]:Me,[yr]:Ze}}}}}},limitShift=function(m){return m===void 0&&(m={}),{options:m,fn(c){const{x:ie,y:we,placement:Ie,rects:Me,middlewareData:Ze}=c,{offset:ne=0,mainAxis:rr=!0,crossAxis:vr=!0}=evaluate(m,c),lr={x:ie,y:we},yr=getSideAxis(Ie),kr=getOppositeAxis(yr);let Br=lr[kr],Ar=lr[yr];const Pr=evaluate(ne,c),Vr=typeof Pr=="number"?{mainAxis:Pr,crossAxis:0}:{mainAxis:0,crossAxis:0,...Pr};if(rr){const Zr=kr==="y"?"height":"width",Wr=Me.reference[kr]-Me.floating[Zr]+Vr.mainAxis,oi=Me.reference[kr]+Me.reference[Zr]-Vr.mainAxis;Br<Wr?Br=Wr:Br>oi&&(Br=oi)}if(vr){var ei,Nr;const Zr=kr==="y"?"width":"height",Wr=["top","left"].includes(getSide(Ie)),oi=Me.reference[yr]-Me.floating[Zr]+(Wr&&((ei=Ze.offset)==null?void 0:ei[yr])||0)+(Wr?0:Vr.crossAxis),ui=Me.reference[yr]+Me.reference[Zr]+(Wr?0:((Nr=Ze.offset)==null?void 0:Nr[yr])||0)-(Wr?Vr.crossAxis:0);Ar<oi?Ar=oi:Ar>ui&&(Ar=ui)}return{[kr]:Br,[yr]:Ar}}}},size$1=function(m){return m===void 0&&(m={}),{name:"size",options:m,async fn(c){var ie,we;const{placement:Ie,rects:Me,platform:Ze,elements:ne}=c,{apply:rr=()=>{},...vr}=evaluate(m,c),lr=await detectOverflow(c,vr),yr=getSide(Ie),kr=getAlignment(Ie),Br=getSideAxis(Ie)==="y",{width:Ar,height:Pr}=Me.floating;let Vr,ei;yr==="top"||yr==="bottom"?(Vr=yr,ei=kr===(await(Ze.isRTL==null?void 0:Ze.isRTL(ne.floating))?"start":"end")?"left":"right"):(ei=yr,Vr=kr==="end"?"top":"bottom");const Nr=Pr-lr.top-lr.bottom,Zr=Ar-lr.left-lr.right,Wr=min(Pr-lr[Vr],Nr),oi=min(Ar-lr[ei],Zr),ui=!c.middlewareData.shift;let fi=Wr,di=oi;if((ie=c.middlewareData.shift)!=null&&ie.enabled.x&&(di=Zr),(we=c.middlewareData.shift)!=null&&we.enabled.y&&(fi=Nr),ui&&!kr){const hi=max(lr.left,0),gr=max(lr.right,0),Ae=max(lr.top,0),ze=max(lr.bottom,0);Br?di=Ar-2*(hi!==0||gr!==0?hi+gr:max(lr.left,lr.right)):fi=Pr-2*(Ae!==0||ze!==0?Ae+ze:max(lr.top,lr.bottom))}await rr({...c,availableWidth:di,availableHeight:fi});const li=await Ze.getDimensions(ne.floating);return Ar!==li.width||Pr!==li.height?{reset:{rects:!0}}:{}}}};function hasWindow(){return typeof window<"u"}function getNodeName(m){return isNode$2(m)?(m.nodeName||"").toLowerCase():"#document"}function getWindow$1(m){var c;return(m==null||(c=m.ownerDocument)==null?void 0:c.defaultView)||window}function getDocumentElement(m){var c;return(c=(isNode$2(m)?m.ownerDocument:m.document)||window.document)==null?void 0:c.documentElement}function isNode$2(m){return hasWindow()?m instanceof Node||m instanceof getWindow$1(m).Node:!1}function isElement$1(m){return hasWindow()?m instanceof Element||m instanceof getWindow$1(m).Element:!1}function isHTMLElement(m){return hasWindow()?m instanceof HTMLElement||m instanceof getWindow$1(m).HTMLElement:!1}function isShadowRoot(m){return!hasWindow()||typeof ShadowRoot>"u"?!1:m instanceof ShadowRoot||m instanceof getWindow$1(m).ShadowRoot}function isOverflowElement(m){const{overflow:c,overflowX:ie,overflowY:we,display:Ie}=getComputedStyle$2(m);return/auto|scroll|overlay|hidden|clip/.test(c+we+ie)&&!["inline","contents"].includes(Ie)}function isTableElement(m){return["table","td","th"].includes(getNodeName(m))}function isTopLayer(m){return[":popover-open",":modal"].some(c=>{try{return m.matches(c)}catch{return!1}})}function isContainingBlock(m){const c=isWebKit(),ie=isElement$1(m)?getComputedStyle$2(m):m;return["transform","translate","scale","rotate","perspective"].some(we=>ie[we]?ie[we]!=="none":!1)||(ie.containerType?ie.containerType!=="normal":!1)||!c&&(ie.backdropFilter?ie.backdropFilter!=="none":!1)||!c&&(ie.filter?ie.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(we=>(ie.willChange||"").includes(we))||["paint","layout","strict","content"].some(we=>(ie.contain||"").includes(we))}function getContainingBlock(m){let c=getParentNode(m);for(;isHTMLElement(c)&&!isLastTraversableNode(c);){if(isContainingBlock(c))return c;if(isTopLayer(c))return null;c=getParentNode(c)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(m){return["html","body","#document"].includes(getNodeName(m))}function getComputedStyle$2(m){return getWindow$1(m).getComputedStyle(m)}function getNodeScroll(m){return isElement$1(m)?{scrollLeft:m.scrollLeft,scrollTop:m.scrollTop}:{scrollLeft:m.scrollX,scrollTop:m.scrollY}}function getParentNode(m){if(getNodeName(m)==="html")return m;const c=m.assignedSlot||m.parentNode||isShadowRoot(m)&&m.host||getDocumentElement(m);return isShadowRoot(c)?c.host:c}function getNearestOverflowAncestor(m){const c=getParentNode(m);return isLastTraversableNode(c)?m.ownerDocument?m.ownerDocument.body:m.body:isHTMLElement(c)&&isOverflowElement(c)?c:getNearestOverflowAncestor(c)}function getOverflowAncestors(m,c,ie){var we;c===void 0&&(c=[]),ie===void 0&&(ie=!0);const Ie=getNearestOverflowAncestor(m),Me=Ie===((we=m.ownerDocument)==null?void 0:we.body),Ze=getWindow$1(Ie);if(Me){const ne=getFrameElement(Ze);return c.concat(Ze,Ze.visualViewport||[],isOverflowElement(Ie)?Ie:[],ne&&ie?getOverflowAncestors(ne):[])}return c.concat(Ie,getOverflowAncestors(Ie,[],ie))}function getFrameElement(m){return m.parent&&Object.getPrototypeOf(m.parent)?m.frameElement:null}function getCssDimensions(m){const c=getComputedStyle$2(m);let ie=parseFloat(c.width)||0,we=parseFloat(c.height)||0;const Ie=isHTMLElement(m),Me=Ie?m.offsetWidth:ie,Ze=Ie?m.offsetHeight:we,ne=round(ie)!==Me||round(we)!==Ze;return ne&&(ie=Me,we=Ze),{width:ie,height:we,$:ne}}function unwrapElement$1(m){return isElement$1(m)?m:m.contextElement}function getScale(m){const c=unwrapElement$1(m);if(!isHTMLElement(c))return createCoords(1);const ie=c.getBoundingClientRect(),{width:we,height:Ie,$:Me}=getCssDimensions(c);let Ze=(Me?round(ie.width):ie.width)/we,ne=(Me?round(ie.height):ie.height)/Ie;return(!Ze||!Number.isFinite(Ze))&&(Ze=1),(!ne||!Number.isFinite(ne))&&(ne=1),{x:Ze,y:ne}}const noOffsets=createCoords(0);function getVisualOffsets(m){const c=getWindow$1(m);return!isWebKit()||!c.visualViewport?noOffsets:{x:c.visualViewport.offsetLeft,y:c.visualViewport.offsetTop}}function shouldAddVisualOffsets(m,c,ie){return c===void 0&&(c=!1),!ie||c&&ie!==getWindow$1(m)?!1:c}function getBoundingClientRect(m,c,ie,we){c===void 0&&(c=!1),ie===void 0&&(ie=!1);const Ie=m.getBoundingClientRect(),Me=unwrapElement$1(m);let Ze=createCoords(1);c&&(we?isElement$1(we)&&(Ze=getScale(we)):Ze=getScale(m));const ne=shouldAddVisualOffsets(Me,ie,we)?getVisualOffsets(Me):createCoords(0);let rr=(Ie.left+ne.x)/Ze.x,vr=(Ie.top+ne.y)/Ze.y,lr=Ie.width/Ze.x,yr=Ie.height/Ze.y;if(Me){const kr=getWindow$1(Me),Br=we&&isElement$1(we)?getWindow$1(we):we;let Ar=kr,Pr=getFrameElement(Ar);for(;Pr&&we&&Br!==Ar;){const Vr=getScale(Pr),ei=Pr.getBoundingClientRect(),Nr=getComputedStyle$2(Pr),Zr=ei.left+(Pr.clientLeft+parseFloat(Nr.paddingLeft))*Vr.x,Wr=ei.top+(Pr.clientTop+parseFloat(Nr.paddingTop))*Vr.y;rr*=Vr.x,vr*=Vr.y,lr*=Vr.x,yr*=Vr.y,rr+=Zr,vr+=Wr,Ar=getWindow$1(Pr),Pr=getFrameElement(Ar)}}return rectToClientRect({width:lr,height:yr,x:rr,y:vr})}function getWindowScrollBarX(m,c){const ie=getNodeScroll(m).scrollLeft;return c?c.left+ie:getBoundingClientRect(getDocumentElement(m)).left+ie}function getHTMLOffset(m,c,ie){ie===void 0&&(ie=!1);const we=m.getBoundingClientRect(),Ie=we.left+c.scrollLeft-(ie?0:getWindowScrollBarX(m,we)),Me=we.top+c.scrollTop;return{x:Ie,y:Me}}function convertOffsetParentRelativeRectToViewportRelativeRect(m){let{elements:c,rect:ie,offsetParent:we,strategy:Ie}=m;const Me=Ie==="fixed",Ze=getDocumentElement(we),ne=c?isTopLayer(c.floating):!1;if(we===Ze||ne&&Me)return ie;let rr={scrollLeft:0,scrollTop:0},vr=createCoords(1);const lr=createCoords(0),yr=isHTMLElement(we);if((yr||!yr&&!Me)&&((getNodeName(we)!=="body"||isOverflowElement(Ze))&&(rr=getNodeScroll(we)),isHTMLElement(we))){const Br=getBoundingClientRect(we);vr=getScale(we),lr.x=Br.x+we.clientLeft,lr.y=Br.y+we.clientTop}const kr=Ze&&!yr&&!Me?getHTMLOffset(Ze,rr,!0):createCoords(0);return{width:ie.width*vr.x,height:ie.height*vr.y,x:ie.x*vr.x-rr.scrollLeft*vr.x+lr.x+kr.x,y:ie.y*vr.y-rr.scrollTop*vr.y+lr.y+kr.y}}function getClientRects(m){return Array.from(m.getClientRects())}function getDocumentRect(m){const c=getDocumentElement(m),ie=getNodeScroll(m),we=m.ownerDocument.body,Ie=max(c.scrollWidth,c.clientWidth,we.scrollWidth,we.clientWidth),Me=max(c.scrollHeight,c.clientHeight,we.scrollHeight,we.clientHeight);let Ze=-ie.scrollLeft+getWindowScrollBarX(m);const ne=-ie.scrollTop;return getComputedStyle$2(we).direction==="rtl"&&(Ze+=max(c.clientWidth,we.clientWidth)-Ie),{width:Ie,height:Me,x:Ze,y:ne}}function getViewportRect(m,c){const ie=getWindow$1(m),we=getDocumentElement(m),Ie=ie.visualViewport;let Me=we.clientWidth,Ze=we.clientHeight,ne=0,rr=0;if(Ie){Me=Ie.width,Ze=Ie.height;const vr=isWebKit();(!vr||vr&&c==="fixed")&&(ne=Ie.offsetLeft,rr=Ie.offsetTop)}return{width:Me,height:Ze,x:ne,y:rr}}function getInnerBoundingClientRect(m,c){const ie=getBoundingClientRect(m,!0,c==="fixed"),we=ie.top+m.clientTop,Ie=ie.left+m.clientLeft,Me=isHTMLElement(m)?getScale(m):createCoords(1),Ze=m.clientWidth*Me.x,ne=m.clientHeight*Me.y,rr=Ie*Me.x,vr=we*Me.y;return{width:Ze,height:ne,x:rr,y:vr}}function getClientRectFromClippingAncestor(m,c,ie){let we;if(c==="viewport")we=getViewportRect(m,ie);else if(c==="document")we=getDocumentRect(getDocumentElement(m));else if(isElement$1(c))we=getInnerBoundingClientRect(c,ie);else{const Ie=getVisualOffsets(m);we={x:c.x-Ie.x,y:c.y-Ie.y,width:c.width,height:c.height}}return rectToClientRect(we)}function hasFixedPositionAncestor(m,c){const ie=getParentNode(m);return ie===c||!isElement$1(ie)||isLastTraversableNode(ie)?!1:getComputedStyle$2(ie).position==="fixed"||hasFixedPositionAncestor(ie,c)}function getClippingElementAncestors(m,c){const ie=c.get(m);if(ie)return ie;let we=getOverflowAncestors(m,[],!1).filter(ne=>isElement$1(ne)&&getNodeName(ne)!=="body"),Ie=null;const Me=getComputedStyle$2(m).position==="fixed";let Ze=Me?getParentNode(m):m;for(;isElement$1(Ze)&&!isLastTraversableNode(Ze);){const ne=getComputedStyle$2(Ze),rr=isContainingBlock(Ze);!rr&&ne.position==="fixed"&&(Ie=null),(Me?!rr&&!Ie:!rr&&ne.position==="static"&&!!Ie&&["absolute","fixed"].includes(Ie.position)||isOverflowElement(Ze)&&!rr&&hasFixedPositionAncestor(m,Ze))?we=we.filter(lr=>lr!==Ze):Ie=ne,Ze=getParentNode(Ze)}return c.set(m,we),we}function getClippingRect(m){let{element:c,boundary:ie,rootBoundary:we,strategy:Ie}=m;const Ze=[...ie==="clippingAncestors"?isTopLayer(c)?[]:getClippingElementAncestors(c,this._c):[].concat(ie),we],ne=Ze[0],rr=Ze.reduce((vr,lr)=>{const yr=getClientRectFromClippingAncestor(c,lr,Ie);return vr.top=max(yr.top,vr.top),vr.right=min(yr.right,vr.right),vr.bottom=min(yr.bottom,vr.bottom),vr.left=max(yr.left,vr.left),vr},getClientRectFromClippingAncestor(c,ne,Ie));return{width:rr.right-rr.left,height:rr.bottom-rr.top,x:rr.left,y:rr.top}}function getDimensions(m){const{width:c,height:ie}=getCssDimensions(m);return{width:c,height:ie}}function getRectRelativeToOffsetParent(m,c,ie){const we=isHTMLElement(c),Ie=getDocumentElement(c),Me=ie==="fixed",Ze=getBoundingClientRect(m,!0,Me,c);let ne={scrollLeft:0,scrollTop:0};const rr=createCoords(0);if(we||!we&&!Me)if((getNodeName(c)!=="body"||isOverflowElement(Ie))&&(ne=getNodeScroll(c)),we){const kr=getBoundingClientRect(c,!0,Me,c);rr.x=kr.x+c.clientLeft,rr.y=kr.y+c.clientTop}else Ie&&(rr.x=getWindowScrollBarX(Ie));const vr=Ie&&!we&&!Me?getHTMLOffset(Ie,ne):createCoords(0),lr=Ze.left+ne.scrollLeft-rr.x-vr.x,yr=Ze.top+ne.scrollTop-rr.y-vr.y;return{x:lr,y:yr,width:Ze.width,height:Ze.height}}function isStaticPositioned(m){return getComputedStyle$2(m).position==="static"}function getTrueOffsetParent(m,c){if(!isHTMLElement(m)||getComputedStyle$2(m).position==="fixed")return null;if(c)return c(m);let ie=m.offsetParent;return getDocumentElement(m)===ie&&(ie=ie.ownerDocument.body),ie}function getOffsetParent(m,c){const ie=getWindow$1(m);if(isTopLayer(m))return ie;if(!isHTMLElement(m)){let Ie=getParentNode(m);for(;Ie&&!isLastTraversableNode(Ie);){if(isElement$1(Ie)&&!isStaticPositioned(Ie))return Ie;Ie=getParentNode(Ie)}return ie}let we=getTrueOffsetParent(m,c);for(;we&&isTableElement(we)&&isStaticPositioned(we);)we=getTrueOffsetParent(we,c);return we&&isLastTraversableNode(we)&&isStaticPositioned(we)&&!isContainingBlock(we)?ie:we||getContainingBlock(m)||ie}const getElementRects=async function(m){const c=this.getOffsetParent||getOffsetParent,ie=this.getDimensions,we=await ie(m.floating);return{reference:getRectRelativeToOffsetParent(m.reference,await c(m.floating),m.strategy),floating:{x:0,y:0,width:we.width,height:we.height}}};function isRTL(m){return getComputedStyle$2(m).direction==="rtl"}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$1,isRTL},offset=offset$1,autoPlacement=autoPlacement$1,shift=shift$1,size=size$1,computePosition=(m,c,ie)=>{const we=new Map,Ie={platform,...ie},Me={...Ie.platform,_c:we};return computePosition$1(m,c,{...Ie,platform:Me})};function isComponentPublicInstance(m){return m!=null&&typeof m=="object"&&"$el"in m}function unwrapElement(m){if(isComponentPublicInstance(m)){const c=m.$el;return isNode$2(c)&&getNodeName(c)==="#comment"?null:c}return m}function toValue$1(m){return typeof m=="function"?m():vue.unref(m)}function getDPR(m){return typeof window>"u"?1:(m.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(m,c){const ie=getDPR(m);return Math.round(c*ie)/ie}function useFloating(m,c,ie){ie===void 0&&(ie={});const we=ie.whileElementsMounted,Ie=vue.computed(()=>{var fi;return(fi=toValue$1(ie.open))!=null?fi:!0}),Me=vue.computed(()=>toValue$1(ie.middleware)),Ze=vue.computed(()=>{var fi;return(fi=toValue$1(ie.placement))!=null?fi:"bottom"}),ne=vue.computed(()=>{var fi;return(fi=toValue$1(ie.strategy))!=null?fi:"absolute"}),rr=vue.computed(()=>{var fi;return(fi=toValue$1(ie.transform))!=null?fi:!0}),vr=vue.computed(()=>unwrapElement(m.value)),lr=vue.computed(()=>unwrapElement(c.value)),yr=vue.ref(0),kr=vue.ref(0),Br=vue.ref(ne.value),Ar=vue.ref(Ze.value),Pr=vue.shallowRef({}),Vr=vue.ref(!1),ei=vue.computed(()=>{const fi={position:Br.value,left:"0",top:"0"};if(!lr.value)return fi;const di=roundByDPR(lr.value,yr.value),li=roundByDPR(lr.value,kr.value);return rr.value?{...fi,transform:"translate("+di+"px, "+li+"px)",...getDPR(lr.value)>=1.5&&{willChange:"transform"}}:{position:Br.value,left:di+"px",top:li+"px"}});let Nr;function Zr(){if(vr.value==null||lr.value==null)return;const fi=Ie.value;computePosition(vr.value,lr.value,{middleware:Me.value,placement:Ze.value,strategy:ne.value}).then(di=>{yr.value=di.x,kr.value=di.y,Br.value=di.strategy,Ar.value=di.placement,Pr.value=di.middlewareData,Vr.value=fi!==!1})}function Wr(){typeof Nr=="function"&&(Nr(),Nr=void 0)}function oi(){if(Wr(),we===void 0){Zr();return}if(vr.value!=null&&lr.value!=null){Nr=we(vr.value,lr.value,Zr);return}}function ui(){Ie.value||(Vr.value=!1)}return vue.watch([Me,Ze,ne,Ie],Zr,{flush:"sync"}),vue.watch([vr,lr],oi,{flush:"sync"}),vue.watch(Ie,ui,{flush:"sync"}),vue.getCurrentScope()&&vue.onScopeDispose(Wr),{x:vue.shallowReadonly(yr),y:vue.shallowReadonly(kr),strategy:vue.shallowReadonly(Br),placement:vue.shallowReadonly(Ar),middlewareData:vue.shallowReadonly(Pr),isPositioned:vue.shallowReadonly(Vr),floatingStyles:ei,update:Zr}}const _hoisted_1$S=["data-bx-popover-id"],_hoisted_2$C=["data-origin","data-placement"],_hoisted_3$r={class:"popover-inner"},_sfc_main$15=vue.defineComponent({__name:"PopoverElement",props:{floatingElement:{},styles:{},customClasses:{},alignment:{},allowedPlacements:{},arrow:{type:Boolean},bxPopoverId:{},noPointerEvents:{type:Boolean,default:!1},overflowVisible:{type:Boolean},capturedContext:{default:()=>({})}},emits:["close","click-outside","mouseenter","mouseleave"],setup(m,{emit:c}){const ie=m;ie.capturedContext&&Object.entries(ie.capturedContext).forEach(([Ar,Pr])=>{const Vr=typeof Ar=="string"&&Ar.startsWith("Symbol(")?Symbol.for(Ar.slice(7,-1)):Ar;vue.provide(Vr,Pr)});const we=c,Ie=vue.computed(()=>ie.floatingElement),Me=vue.ref(),{floatingStyles:Ze,placement:ne,middlewareData:rr}=useFloating(Ie,Me,{middleware:[autoPlacement({autoAlignment:!0,alignment:ie.alignment,allowedPlacements:ie.allowedPlacements}),shift({padding:0}),size({apply({availableWidth:Ar,availableHeight:Pr,elements:Vr}){Vr.floating.style.setProperty("--min-width",`calc(${Ar}px - 70px)`),Vr.floating.style.setProperty("--min-height",`calc(${Pr}px - 70px)`)}})]});function vr(Ar){we("mouseenter",Ar)}function lr(Ar){we("mouseleave",Ar)}const yr=vue.computed(()=>{switch(console.log("calculating origin from placement",ne.value),ne.value){case"right":return[0,.5];case"left":return[1,.5];case"top":return[.5,1];case"bottom":return[.5,0];case"bottom-end":return[1,0];case"bottom-start":return[0,0];case"top-end":return[1,1];case"top-start":return[0,1];case"right-end":return[0,1];case"right-start":return[0,0];case"left-end":return[1,1];case"left-start":return[1,0];default:return[.5,.5]}}),kr=Ar=>{Ar.stopPropagation()},Br=()=>{we("click-outside")};return(Ar,Pr)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["popover-wrapper",{...Object.fromEntries(Ar.customClasses.map(Vr=>[Vr,!0])),"no-pointer-events":Ar.noPointerEvents}]),onClick:Br,"data-bx-popover-id":Ar.bxPopoverId},[vue.createElementVNode("div",{ref_key:"popoverElementRef",ref:Me,class:"popover-element",style:vue.normalizeStyle({...vue.unref(Ze),...Ar.styles}),onClick:kr,onMouseenter:vr,onMouseleave:lr},[vue.createElementVNode("div",{class:vue.normalizeClass(["popover-frame-wrapper",{arrow:Ar.arrow,"overflow-visible":Ar.overflowVisible}]),"data-origin":yr.value,"data-placement":vue.unref(ne),style:vue.normalizeStyle({"--shift-left":"0px","--shift-top":"0px","transform-origin":`calc(${yr.value[0]*100}% - var(--shift-left)) calc(${yr.value[1]*100}% - var(--shift-top))`})},[vue.createElementVNode("div",{class:vue.normalizeClass(["arrow-element",{["placement-"+vue.unref(ne)]:!0}])},Pr[0]||(Pr[0]=[vue.createElementVNode("div",{class:"arrow-symbol"},null,-1)]),2),vue.createElementVNode("div",_hoisted_3$r,[vue.renderSlot(Ar.$slots,"default",{},void 0,!0)])],14,_hoisted_2$C)],36)],10,_hoisted_1$S))}}),PopoverElement_vue_vue_type_style_index_0_scoped_873db143_lang="",PopoverElement=_export_sfc(_sfc_main$15,[["__scopeId","data-v-873db143"]]),_sfc_main$14=vue.defineComponent({__name:"BxPopover",props:{show:{type:Boolean},trigger:{},customStyles:{},customClasses:{},darkenBackground:{type:Boolean,default:!0},allowedPlacements:{default:()=>["top","right","bottom","left","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end"]},arrow:{type:Boolean,default:!0},leaveLazyness:{default:200},overflowVisible:{type:Boolean,default:!1}},emits:["update:show"],setup(m,{expose:c,emit:ie}){const we=m,Ie=ie,Me=vue.useSlots(),Ze=nanoid(),{setSlotRef:ne,slotElements:rr,vNodes:vr}=useSlotVNodes(Me.trigger),lr=vue.ref(!1);vue.watch(lr,()=>{lr.value!==we.show&&Ie("update:show",lr.value)},{immediate:!0}),vue.watch(()=>we.show,()=>{we.show!==lr.value&&(lr.value=we.show)},{immediate:!0});const yr=vue.computed(()=>rr.value[0]),kr=vue.ref(!1),Br=vue.ref(!1);function Ar(){we.trigger==="click"&&(lr.value=!lr.value)}function Pr(){kr.value=!0}function Vr(){kr.value=!1}vue.watch(kr,oi=>{we.trigger==="hover"&&(oi?lr.value=!0:ei())}),vue.watch(Br,oi=>{we.trigger==="hover"&&(oi||ei())});function ei(){setTimeout(()=>{!kr.value&&!Br.value&&(lr.value=!1)},we.leaveLazyness)}let Nr=[];vue.onUnmounted(()=>{for(const oi of Nr)oi.removeEventListener("click",Ar),oi.removeEventListener("mouseenter",Pr),oi.removeEventListener("mouseleave",Vr)}),vue.watch(rr,(oi,ui)=>{if(ui)for(const fi of ui)fi.removeEventListener("click",Ar),fi.removeEventListener("mouseenter",Pr),fi.removeEventListener("mouseleave",Vr);for(const fi of oi)fi.addEventListener("click",Ar),fi.addEventListener("mouseenter",Pr),fi.addEventListener("mouseleave",Vr),fi.nodeType===Node.ELEMENT_NODE&&(fi.dataset.bxTargetPopoverId=Ze);Nr=oi});const Zr=window.bluepicPopupProvider;vue.onMounted(()=>{const oi=document.querySelector(GLOBAL_APP_WRAPPER_SELECTOR);!oi||(oi.classList.add("bluepic-popup-app-wrapper"),oi.parentElement?.classList.add("bluepic-popup-body"))}),vue.onUnmounted(()=>{for(const oi of rr.value)oi.removeEventListener("click",Ar);console.log("BX POPOVER UNMOUNTED",Ze),Zr.popoverProviderRef.pull(Ze)});const Wr=captureCurrentContext();return vue.watch(lr,()=>{lr.value?Zr.popoverProviderRef.push(Ze,()=>vue.h(PopoverElement,{floatingElement:yr.value,styles:{...we.customStyles},customClasses:we.customClasses??[],onClose(){lr.value=!1},arrow:we.arrow,allowedPlacements:we.allowedPlacements,bxPopoverId:Ze,noPointerEvents:we.trigger==="hover"||we.trigger==="manual",overflowVisible:we.overflowVisible,capturedContext:Wr,onMouseenter(){Br.value=!0},onMouseleave(){Br.value=!1}},{default:()=>Me.content()}),{darkenBackground:we.darkenBackground,handleClickOutside(){we.trigger==="click"&&(lr.value=!1)}}):Zr.popoverProviderRef.pull(Ze)}),c({close(){lr.value=!1},show(){lr.value=!0},destroy(){}}),(oi,ui)=>(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(vr),(fi,di)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(fi),{ref_for:!0,ref:vue.unref(ne)(di)},null,512))),256))}}),BxPopover_vue_vue_type_style_index_0_scoped_98c4827f_lang="",BxPopover=_export_sfc(_sfc_main$14,[["__scopeId","data-v-98c4827f"]]),_hoisted_1$R=["onClick"],_hoisted_2$B={key:0,class:"icon-wrapper"},_hoisted_3$q={key:1,class:"icon-wrapper"},_hoisted_4$i={key:3},_hoisted_5$d={key:5,class:"active-symbol"},_sfc_main$13=vue.defineComponent({__name:"BxMenu",props:{items:{},primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},showActiveSymbol:{type:Boolean,default:!0}},emits:["action"],setup(m,{emit:c}){const ie=c,we=vue.useSlots();function Ie(Me){ie("action",Me)}return(Me,Ze)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-menu",{primary:Me.primary,secondary:Me.secondary}])},[we["render-items"]?vue.renderSlot(Me.$slots,"render-items",{key:0,items:Me.items},void 0,!0):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(Me.items,(ne,rr)=>(vue.openBlock(),vue.createElementBlock("div",{key:rr,onClick:vr=>Ie(ne),class:vue.normalizeClass(["bx-menu__item",{active:ne.isActive===!0}])},[we["render-item-icon"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$B,[vue.renderSlot(Me.$slots,"render-item-icon",{item:ne,isActive:ne.isActive===!0},void 0,!0)])):ne.icon?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$q,[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(ne.icon())))])):vue.createCommentVNode("",!0),we["render-item-label"]?vue.renderSlot(Me.$slots,"render-item-label",{key:2,item:ne,isActive:ne.isActive===!0},void 0,!0):(vue.openBlock(),vue.createElementBlock("span",_hoisted_4$i,vue.toDisplayString(ne.label),1)),ne.suffix?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(ne.suffix()),{key:4})):vue.createCommentVNode("",!0),Me.showActiveSymbol?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$d,[we["render-item-active-symbol"]?vue.renderSlot(Me.$slots,"render-item-active-symbol",{key:0,item:ne,isActive:ne.isActive===!0},void 0,!0):(vue.openBlock(),vue.createBlock(BxIcon,{key:1,size:14,style:vue.normalizeStyle({opacity:ne.isActive===!0?1:0})},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CheckmarkOutline))]),_:2},1032,["style"]))])):vue.createCommentVNode("",!0)],10,_hoisted_1$R))),128))],2))}}),BxMenu_vue_vue_type_style_index_0_scoped_10534482_lang="",BxMenu=_export_sfc(_sfc_main$13,[["__scopeId","data-v-10534482"]]);function useElementBounding$1(m){const c=vue.ref(),ie=()=>{m.value&&(c.value=m.value.getBoundingClientRect())};vue.onMounted(()=>{ie(),window.addEventListener("resize",ie)});const we=new ResizeObserver(()=>{ie()}),Ie=new MutationObserver(()=>{ie()}),Me=vue.watch(m,(Ze,ne)=>{Ze&&!ne&&(we.observe(Ze),Ie.observe(Ze,{attributes:!0,childList:!0,subtree:!0}))});return vue.onBeforeUnmount(()=>{window.removeEventListener("resize",ie),Me(),we.disconnect(),Ie.disconnect()}),{rect:c,width:vue.computed(()=>c.value?.width),height:vue.computed(()=>c.value?.height),x:vue.computed(()=>c.value?.x),y:vue.computed(()=>c.value?.y)}}const _hoisted_1$Q={key:0,class:"prefix-wrapper"},_hoisted_2$A={key:1,class:"prefix-wrapper"},_hoisted_3$p={class:"select-value"},_hoisted_4$h={class:"suffix-wrapper"},iconSize="24px",_sfc_main$12=vue.defineComponent({__name:"BxSelect",props:vue.mergeModels({trigger:{default:"click"},options:{},disabled:{type:Boolean,default:!1},placeholderActiveLabel:{}},{modelValue:{required:!1},modelModifiers:{},show:{type:Boolean,required:!1,default:!1},showModifiers:{}}),emits:["update:modelValue","update:show"],setup(m,{expose:c}){const ie=m,we=vue.useSlots(),Ie=vue.useModel(m,"modelValue"),Me=vue.ref(),{width:Ze}=useElementBounding$1(Me);vue.watchEffect(()=>{console.log("bxSelectMainWidth",Ze.value)});const ne=vue.ref(),rr=vue.useModel(m,"show"),vr=vue.computed(()=>ie.options.find(Pr=>Pr.value===Ie.value)?.label),lr=vue.computed(()=>{const Ar=ie.options.find(Pr=>Pr.value===Ie.value);if(!!Ar)return we["render-option-icon"]?()=>we["render-option-icon"]({option:Ar,isActive:yr(Ar)}):Ar.icon});function yr(Ar){return Ar.value===Ie.value}vue.watch(Ie,()=>{ne.value?.close()});const kr=Ar=>{const Pr=ie.options[Number(Ar.key)];Pr&&(Ie.value=Pr.value)};c({closePopover(){ne.value?.close()},showPopover(){ne.value?.show()}});const Br=vue.computed(()=>ie.options.map((Ar,Pr)=>({label:Ar.label,key:Pr,icon:Ar.icon,isActive:yr(Ar)})));return(Ar,Pr)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"bxSelectMainRef",ref:Me,class:vue.normalizeClass(["bx-select",{disabled:Ar.disabled}]),style:vue.normalizeStyle({"--icon-size":iconSize})},[vue.createVNode(BxPopover,{ref_key:"popoverRef",ref:ne,trigger:Ar.trigger,"allowed-placements":["bottom","top"],arrow:!1,"darken-background":!1,"custom-classes":["bx-select-popover"],show:rr.value,"onUpdate:show":Pr[0]||(Pr[0]=Vr=>rr.value=Vr)},{trigger:vue.withCtx(()=>[we.trigger?vue.renderSlot(Ar.$slots,"trigger",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["select-trigger",{focus:rr.value}])},[we.prefix?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$Q,[vue.renderSlot(Ar.$slots,"prefix",{},void 0,!0)])):lr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$A,[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(lr.value)))])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_3$p,[vue.createElementVNode("span",{class:vue.normalizeClass({placeholder:vr.value===void 0})},[we.label?vue.renderSlot(Ar.$slots,"label",{key:0,label:vr.value??Ar.placeholderActiveLabel},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(vr.value??Ar.placeholderActiveLabel),1)],64))],2)]),vue.createElementVNode("div",_hoisted_4$h,[we.suffix?vue.renderSlot(Ar.$slots,"suffix",{key:0},void 0,!0):(vue.openBlock(),vue.createBlock(BxIcon,{key:1,size:14},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronDownOutline))]),_:1}))])],2))]),content:vue.withCtx(()=>[vue.createVNode(BxMenu,{items:Br.value,secondary:"",onAction:kr,style:vue.normalizeStyle({width:`calc(${vue.unref(Ze)}px - 8px)`})},null,8,["items","style"])]),_:3},8,["trigger","show"])],6))}}),BxSelect_vue_vue_type_style_index_0_scoped_499733ca_lang="",BxSelect_vue_vue_type_style_index_1_lang="",BxSelect=_export_sfc(_sfc_main$12,[["__scopeId","data-v-499733ca"]]),_hoisted_1$P={class:"tooltip-wrapper"},_sfc_main$11=vue.defineComponent({__name:"BxTooltip",props:vue.mergeModels({trigger:{},allowedPlacements:{},customPopoverClasses:{}},{show:{type:Boolean,required:!1,default:!1},showModifiers:{}}),emits:["update:show"],setup(m){const c=vue.useModel(m,"show"),ie=m,we=vue.useSlots(),Ie=vue.ref(),{setSlotRef:Me,slotElements:Ze,vNodes:ne}=useSlotVNodes(we.trigger);function rr(vr){}return vue.watch(Ze,()=>{for(const vr of Ze.value)vr.addEventListener("click",rr)}),vue.onUnmounted(()=>{for(const vr of Ze.value)vr.removeEventListener("click",rr)}),(vr,lr)=>(vue.openBlock(),vue.createBlock(BxPopover,{ref_key:"popover",ref:Ie,show:c.value,"onUpdate:show":lr[0]||(lr[0]=yr=>c.value=yr),trigger:vr.trigger,"darken-background":!1,"allowed-placements":vr.allowedPlacements,"custom-classes":["tooltip-popover",...ie.customPopoverClasses??[]],"overflow-visible":!0},{trigger:vue.withCtx(()=>[vue.renderSlot(vr.$slots,"trigger",{},void 0,!0)]),content:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$P,[vue.renderSlot(vr.$slots,"content",{},void 0,!0)])]),_:3},8,["show","trigger","allowed-placements","custom-classes"]))}}),BxTooltip_vue_vue_type_style_index_0_scoped_0c1f2710_lang="",BxTooltip_vue_vue_type_style_index_1_lang="",BxTooltip=_export_sfc(_sfc_main$11,[["__scopeId","data-v-0c1f2710"]]),_hoisted_1$O={key:0,class:"bx-input__prefix"},_hoisted_2$z=["placeholder","readonly"],_hoisted_3$o=["readonly","placeholder","type"],_hoisted_4$g={key:1,class:"bx-input__suffix"},_hoisted_5$c={key:0,class:"bx-input__loading-wrapper"},_hoisted_6$9={key:1,class:"bx-input__footer"},_hoisted_7$6={key:0,class:"bx-input__clear"},_hoisted_8$5={key:1,class:"bx-input__word-count"},_hoisted_9$4={class:"text-overflow-errors"},_hoisted_10$4={key:0,class:"text-err"},_hoisted_11$4={class:"overflow-label"},_hoisted_12$3={key:1,class:"text-err"},_hoisted_13$3={class:"overflow-label"},_hoisted_14$3={key:2,class:"text-err"},_hoisted_15$3={class:"index-label"},_hoisted_16$3={class:"overflow-label"},_sfc_main$10=vue.defineComponent({__name:"BxInput",props:vue.mergeModels({size:{default:"medium"},loading:{type:Boolean,default:!1},round:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},inputProps:{default:()=>({})},placeholder:{},validator:{},maxLength:{default:1/0},maxLineLength:{default:1/0},maxLines:{default:1/0},showWordCount:{type:Boolean,default:!1},type:{default:"text"},state:{default:"default"},clearable:{type:Boolean,default:!1},resizeable:{type:Boolean,default:!0},richtext:{},maxHeight:{default:"100px"},readonly:{type:Boolean,default:!1}},{modelValue:{type:[String,Number,Boolean,Array],required:!1,default:""},modelModifiers:{}}),emits:vue.mergeModels(["enter","focus","blur"],["update:modelValue"]),setup(m,{expose:c,emit:ie}){const we=m,Ie=ie,Me=vue.useSlots(),Ze=vue.useModel(m,"modelValue"),ne=vue.ref(Ze.value),rr=vue.ref([]),vr=vue.ref(0),lr=vue.ref(0),yr=vue.computed(()=>{if(rr.value.length>0||vr.value>0||lr.value>0)return{lineOverflows:rr.value.length>0?rr.value:void 0,overlowingLines:vr.value>0?vr.value:void 0,overflowingCharacters:lr.value>0?lr.value:void 0}}),kr=vue.computed({get(){return yr.value!==void 0},set(pr){}}),Br=vue.computed(()=>String(ne.value).split(`
|
|
69
|
+
https://github.com/browserify/crypto-browserify`)},cryptoBrowserify.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6},cryptoBrowserify}var cryptoBrowserifyExports=requireCryptoBrowserify();function hashString(m,c="sha256"){const ie=cryptoBrowserifyExports.createHash(c);return ie.update(m),ie.digest("hex")}function hashObject(m,c="sha256"){return hashString(JSON.stringify(m),c)}const _hoisted_1$U=["contenteditable","data-ghost"],_hoisted_2$E=["data-paragraph"],_sfc_main$18=vue.defineComponent({__name:"RichTextDisplay",props:{paragraphs:{},noLazy:{type:Boolean},ghost:{type:Boolean},debug:{type:Boolean}},emits:["update","focus","blur"],setup(m,{expose:c,emit:ie}){const we=m,Ie=ie,Me=vue.ref(),Ze=vue.ref(we.paragraphs);vue.watch(()=>we.paragraphs,()=>{we.noLazy&&(Ze.value=we.paragraphs)},{deep:!0}),vue.watchEffect(()=>{we.debug&&console.log("lazyParagraphs",Ze.value)});const ne=yr=>{Ie("update",yr)},rr=yr=>{Ie("focus",yr)},vr=yr=>{Ie("blur",yr)};nanoid();const lr=yr=>{const kr=Object.fromEntries(Object.entries(yr).filter(([,Pr])=>Pr!==void 0)),Br=`rich-text-${hashObject(kr)}`;let Ar=document.querySelector(`[data-rich-text-global-style='${Br}']`);return Ar||(Ar=document.createElement("style"),Ar.lang="css",Ar.setAttribute("data-rich-text-global-style",Br),document.head.appendChild(Ar)),Ar.innerHTML=`.${Br} { ${Object.entries(kr).map(([Pr,Vr])=>`${Pr}: ${Vr};`).join(" ")} }`,Br};return c({richTextEditorDivRef:Me}),(yr,kr)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"richTextEditorDivRef",ref:Me,class:vue.normalizeClass(["rich-text-editor",{ghost:yr.ghost}]),contenteditable:!yr.ghost,onInput:ne,onFocus:rr,onBlur:vr,"data-ghost":yr.ghost},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Ze.value,(Br,Ar)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:Ar},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Br,(Pr,Vr)=>vue.renderSlot(yr.$slots,"feature",{key:Vr,text:Pr.text,format:Pr.format,cssclass:lr},void 0,!0)),128)),Ar<Ze.value.length-1?(vue.openBlock(),vue.createElementBlock("br",{key:0,"data-custom-br":"true","data-paragraph":JSON.stringify(Br)},null,8,_hoisted_2$E)):vue.createCommentVNode("",!0)],64))),128))],42,_hoisted_1$U))}}),RichTextDisplay_vue_vue_type_style_index_0_scoped_a344d5e9_lang="",RichTextDisplay=_export_sfc(_sfc_main$18,[["__scopeId","data-v-a344d5e9"]]),_hoisted_1$T={class:"rich-text-wrapper"},_hoisted_2$D=["data-feature-format"],_hoisted_3$s=["data-feature-format"],_sfc_main$17=vue.defineComponent({__name:"RichText",props:{value:{},selection:{},userAgentRichText:{type:Boolean},renderFeatureInlineStyle:{},maxLength:{},maxLengthPerLine:{},maxLines:{},multiline:{type:Boolean,default:!0}},emits:["update:value","update:visible-value","update:selection","update:warning-message","update:focus"],setup(m,{expose:c,emit:ie}){const we=m,Ie=ie;vue.computed(()=>!we.multiline);const Me=vue.ref(),Ze=vue.ref(),ne=vue.computed(()=>Me.value?.richTextEditorDivRef),{handleInputEvent:rr,paragraphs:vr,visibleParagraphs:lr,manipulationState:yr,applyFormat:kr,resolveFeatures:Br,selection:Ar}=useContentEditable(ne,vue.toRef(we,"value"),{maxLength:we.maxLength,maxLengthPerLine:we.maxLengthPerLine,maxLines:we.maxLines}),Pr=oi=>{we.multiline||oi.key==="Enter"&&oi.preventDefault()},Vr=vue.computed(()=>isEqual(vr.value,lr.value)?void 0:"Text is too long");vue.watchEffect(()=>{Ie("update:warning-message",Vr.value)});const ei=vue.ref(!1);vue.watch(ei,()=>{Ie("update:focus",ei.value)},{immediate:!0});const Nr=()=>{ei.value=!0},Zr=()=>{ei.value=!1};vue.watch(ne,(oi,ui)=>{ui&&(ui.removeEventListener("focus",Nr),ui.removeEventListener("blur",Zr)),oi&&(oi.addEventListener("focus",Nr),oi.addEventListener("blur",Zr))}),vue.watch(Ar,()=>{isEqual(Ar.value,we.selection)||Ie("update:selection",Ar.value??void 0)}),vue.watch(vr,()=>{isEqual(vr.value,we.value)||Ie("update:value",vr.value)}),vue.watch(lr,()=>{Ie("update:visible-value",lr.value)}),window.addEventListener("touchmove",oi=>{Ar.value&&oi.preventDefault()});let Wr;return vue.onMounted(()=>{if(!Ze.value?.richTextEditorDivRef)return;const oi=(ui,fi)=>{Me.value?.richTextEditorDivRef,Ze.value?.richTextEditorDivRef;for(const di of ui);};Wr=new MutationObserver(oi),Wr.observe(Ze.value.richTextEditorDivRef,{attributes:!0,childList:!0,subtree:!0})}),vue.onUnmounted(()=>{Wr.disconnect()}),c({applyFormat:kr,resolveFeatures:Br}),(oi,ui)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["rich-text",{focus:ei.value}])},[vue.createElementVNode("div",_hoisted_1$T,[vue.createVNode(RichTextDisplay,{ref_key:"richTextDisplayGhostInstance",ref:Ze,paragraphs:vue.unref(lr),"no-lazy":"",ghost:"",debug:!1},{feature:vue.withCtx(fi=>[vue.createElementVNode("span",{"data-feature-format":JSON.stringify(fi.format),class:vue.normalizeClass(["feature-wrapper feature-wrapper-ghost",{[fi.cssclass(oi.renderFeatureInlineStyle(fi.format))]:!0,"line-overflow":!!fi.format.lineOverflow,overflow:!!fi.format.overflow}])},vue.toDisplayString(fi.text),11,_hoisted_2$D)]),_:1},8,["paragraphs"]),(vue.openBlock(),vue.createBlock(RichTextDisplay,{ref_key:"richTextDisplayInstance",ref:Me,key:vue.unref(yr),paragraphs:vue.unref(vr),onUpdate:vue.unref(rr),onKeydown:Pr,style:vue.normalizeStyle({"-webkit-user-modify":oi.userAgentRichText?"read-write":"read-write-plaintext-only"})},{feature:vue.withCtx(fi=>[vue.createElementVNode("span",{"data-feature-format":JSON.stringify(fi.format),class:vue.normalizeClass(["feature-wrapper",{[fi.cssclass(oi.renderFeatureInlineStyle(fi.format))]:!0}])},vue.toDisplayString(fi.text),11,_hoisted_3$s)]),_:1},8,["paragraphs","onUpdate","style"]))])],2))}}),RichText_vue_vue_type_style_index_0_scoped_3bf042ff_lang="",RichText=_export_sfc(_sfc_main$17,[["__scopeId","data-v-3bf042ff"]]),colorNames={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},reverseNames=Object.create(null);for(const m in colorNames)Object.hasOwn(colorNames,m)&&(reverseNames[colorNames[m]]=m);const cs={to:{},get:{}};cs.get=function(m){const c=m.slice(0,3).toLowerCase();let ie,we;switch(c){case"hsl":{ie=cs.get.hsl(m),we="hsl";break}case"hwb":{ie=cs.get.hwb(m),we="hwb";break}default:{ie=cs.get.rgb(m),we="rgb";break}}return ie?{model:we,value:ie}:null},cs.get.rgb=function(m){if(!m)return null;const c=/^#([a-f\d]{3,4})$/i,ie=/^#([a-f\d]{6})([a-f\d]{2})?$/i,we=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,Ie=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,Me=/^(\w+)$/;let Ze=[0,0,0,1],ne,rr,vr;if(ne=m.match(ie)){for(vr=ne[2],ne=ne[1],rr=0;rr<3;rr++){const lr=rr*2;Ze[rr]=Number.parseInt(ne.slice(lr,lr+2),16)}vr&&(Ze[3]=Number.parseInt(vr,16)/255)}else if(ne=m.match(c)){for(ne=ne[1],vr=ne[3],rr=0;rr<3;rr++)Ze[rr]=Number.parseInt(ne[rr]+ne[rr],16);vr&&(Ze[3]=Number.parseInt(vr+vr,16)/255)}else if(ne=m.match(we)){for(rr=0;rr<3;rr++)Ze[rr]=Number.parseInt(ne[rr+1],10);ne[4]&&(Ze[3]=ne[5]?Number.parseFloat(ne[4])*.01:Number.parseFloat(ne[4]))}else if(ne=m.match(Ie)){for(rr=0;rr<3;rr++)Ze[rr]=Math.round(Number.parseFloat(ne[rr+1])*2.55);ne[4]&&(Ze[3]=ne[5]?Number.parseFloat(ne[4])*.01:Number.parseFloat(ne[4]))}else return(ne=m.match(Me))?ne[1]==="transparent"?[0,0,0,0]:Object.hasOwn(colorNames,ne[1])?(Ze=colorNames[ne[1]],Ze[3]=1,Ze):null:null;for(rr=0;rr<3;rr++)Ze[rr]=clamp$1(Ze[rr],0,255);return Ze[3]=clamp$1(Ze[3],0,1),Ze},cs.get.hsl=function(m){if(!m)return null;const c=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,ie=m.match(c);if(ie){const we=Number.parseFloat(ie[4]),Ie=(Number.parseFloat(ie[1])%360+360)%360,Me=clamp$1(Number.parseFloat(ie[2]),0,100),Ze=clamp$1(Number.parseFloat(ie[3]),0,100),ne=clamp$1(Number.isNaN(we)?1:we,0,1);return[Ie,Me,Ze,ne]}return null},cs.get.hwb=function(m){if(!m)return null;const c=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,ie=m.match(c);if(ie){const we=Number.parseFloat(ie[4]),Ie=(Number.parseFloat(ie[1])%360+360)%360,Me=clamp$1(Number.parseFloat(ie[2]),0,100),Ze=clamp$1(Number.parseFloat(ie[3]),0,100),ne=clamp$1(Number.isNaN(we)?1:we,0,1);return[Ie,Me,Ze,ne]}return null},cs.to.hex=function(...m){return"#"+hexDouble(m[0])+hexDouble(m[1])+hexDouble(m[2])+(m[3]<1?hexDouble(Math.round(m[3]*255)):"")},cs.to.rgb=function(...m){return m.length<4||m[3]===1?"rgb("+Math.round(m[0])+", "+Math.round(m[1])+", "+Math.round(m[2])+")":"rgba("+Math.round(m[0])+", "+Math.round(m[1])+", "+Math.round(m[2])+", "+m[3]+")"},cs.to.rgb.percent=function(...m){const c=Math.round(m[0]/255*100),ie=Math.round(m[1]/255*100),we=Math.round(m[2]/255*100);return m.length<4||m[3]===1?"rgb("+c+"%, "+ie+"%, "+we+"%)":"rgba("+c+"%, "+ie+"%, "+we+"%, "+m[3]+")"},cs.to.hsl=function(...m){return m.length<4||m[3]===1?"hsl("+m[0]+", "+m[1]+"%, "+m[2]+"%)":"hsla("+m[0]+", "+m[1]+"%, "+m[2]+"%, "+m[3]+")"},cs.to.hwb=function(...m){let c="";return m.length>=4&&m[3]!==1&&(c=", "+m[3]),"hwb("+m[0]+", "+m[1]+"%, "+m[2]+"%"+c+")"},cs.to.keyword=function(...m){return reverseNames[m.slice(0,3)]};function clamp$1(m,c,ie){return Math.min(Math.max(c,m),ie)}function hexDouble(m){const c=Math.round(m).toString(16).toUpperCase();return c.length<2?"0"+c:c}const cssKeywords={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},reverseKeywords={};for(const m of Object.keys(cssKeywords))reverseKeywords[cssKeywords[m]]=m;const convert$1={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},LAB_FT=(6/29)**3;for(const m of Object.keys(convert$1)){if(!("channels"in convert$1[m]))throw new Error("missing channels property: "+m);if(!("labels"in convert$1[m]))throw new Error("missing channel labels property: "+m);if(convert$1[m].labels.length!==convert$1[m].channels)throw new Error("channel and label counts mismatch: "+m);const{channels:c,labels:ie}=convert$1[m];delete convert$1[m].channels,delete convert$1[m].labels,Object.defineProperty(convert$1[m],"channels",{value:c}),Object.defineProperty(convert$1[m],"labels",{value:ie})}convert$1.rgb.hsl=function(m){const c=m[0]/255,ie=m[1]/255,we=m[2]/255,Ie=Math.min(c,ie,we),Me=Math.max(c,ie,we),Ze=Me-Ie;let ne,rr;switch(Me){case Ie:{ne=0;break}case c:{ne=(ie-we)/Ze;break}case ie:{ne=2+(we-c)/Ze;break}case we:{ne=4+(c-ie)/Ze;break}}ne=Math.min(ne*60,360),ne<0&&(ne+=360);const vr=(Ie+Me)/2;return Me===Ie?rr=0:vr<=.5?rr=Ze/(Me+Ie):rr=Ze/(2-Me-Ie),[ne,rr*100,vr*100]},convert$1.rgb.hsv=function(m){let c,ie,we,Ie,Me;const Ze=m[0]/255,ne=m[1]/255,rr=m[2]/255,vr=Math.max(Ze,ne,rr),lr=vr-Math.min(Ze,ne,rr),yr=function(kr){return(vr-kr)/6/lr+1/2};if(lr===0)Ie=0,Me=0;else{switch(Me=lr/vr,c=yr(Ze),ie=yr(ne),we=yr(rr),vr){case Ze:{Ie=we-ie;break}case ne:{Ie=1/3+c-we;break}case rr:{Ie=2/3+ie-c;break}}Ie<0?Ie+=1:Ie>1&&(Ie-=1)}return[Ie*360,Me*100,vr*100]},convert$1.rgb.hwb=function(m){const c=m[0],ie=m[1];let we=m[2];const Ie=convert$1.rgb.hsl(m)[0],Me=1/255*Math.min(c,Math.min(ie,we));return we=1-1/255*Math.max(c,Math.max(ie,we)),[Ie,Me*100,we*100]},convert$1.rgb.cmyk=function(m){const c=m[0]/255,ie=m[1]/255,we=m[2]/255,Ie=Math.min(1-c,1-ie,1-we),Me=(1-c-Ie)/(1-Ie)||0,Ze=(1-ie-Ie)/(1-Ie)||0,ne=(1-we-Ie)/(1-Ie)||0;return[Me*100,Ze*100,ne*100,Ie*100]};function comparativeDistance(m,c){return(m[0]-c[0])**2+(m[1]-c[1])**2+(m[2]-c[2])**2}convert$1.rgb.keyword=function(m){const c=reverseKeywords[m];if(c)return c;let ie=Number.POSITIVE_INFINITY,we;for(const Ie of Object.keys(cssKeywords)){const Me=cssKeywords[Ie],Ze=comparativeDistance(m,Me);Ze<ie&&(ie=Ze,we=Ie)}return we},convert$1.keyword.rgb=function(m){return cssKeywords[m]},convert$1.rgb.xyz=function(m){let c=m[0]/255,ie=m[1]/255,we=m[2]/255;c=c>.04045?((c+.055)/1.055)**2.4:c/12.92,ie=ie>.04045?((ie+.055)/1.055)**2.4:ie/12.92,we=we>.04045?((we+.055)/1.055)**2.4:we/12.92;const Ie=c*.4124564+ie*.3575761+we*.1804375,Me=c*.2126729+ie*.7151522+we*.072175,Ze=c*.0193339+ie*.119192+we*.9503041;return[Ie*100,Me*100,Ze*100]},convert$1.rgb.lab=function(m){const c=convert$1.rgb.xyz(m);let ie=c[0],we=c[1],Ie=c[2];ie/=95.047,we/=100,Ie/=108.883,ie=ie>LAB_FT?ie**(1/3):7.787*ie+16/116,we=we>LAB_FT?we**(1/3):7.787*we+16/116,Ie=Ie>LAB_FT?Ie**(1/3):7.787*Ie+16/116;const Me=116*we-16,Ze=500*(ie-we),ne=200*(we-Ie);return[Me,Ze,ne]},convert$1.hsl.rgb=function(m){const c=m[0]/360,ie=m[1]/100,we=m[2]/100;let Ie,Me;if(ie===0)return Me=we*255,[Me,Me,Me];const Ze=we<.5?we*(1+ie):we+ie-we*ie,ne=2*we-Ze,rr=[0,0,0];for(let vr=0;vr<3;vr++)Ie=c+1/3*-(vr-1),Ie<0&&Ie++,Ie>1&&Ie--,6*Ie<1?Me=ne+(Ze-ne)*6*Ie:2*Ie<1?Me=Ze:3*Ie<2?Me=ne+(Ze-ne)*(2/3-Ie)*6:Me=ne,rr[vr]=Me*255;return rr},convert$1.hsl.hsv=function(m){const c=m[0];let ie=m[1]/100,we=m[2]/100,Ie=ie;const Me=Math.max(we,.01);we*=2,ie*=we<=1?we:2-we,Ie*=Me<=1?Me:2-Me;const Ze=(we+ie)/2,ne=we===0?2*Ie/(Me+Ie):2*ie/(we+ie);return[c,ne*100,Ze*100]},convert$1.hsv.rgb=function(m){const c=m[0]/60,ie=m[1]/100;let we=m[2]/100;const Ie=Math.floor(c)%6,Me=c-Math.floor(c),Ze=255*we*(1-ie),ne=255*we*(1-ie*Me),rr=255*we*(1-ie*(1-Me));switch(we*=255,Ie){case 0:return[we,rr,Ze];case 1:return[ne,we,Ze];case 2:return[Ze,we,rr];case 3:return[Ze,ne,we];case 4:return[rr,Ze,we];case 5:return[we,Ze,ne]}},convert$1.hsv.hsl=function(m){const c=m[0],ie=m[1]/100,we=m[2]/100,Ie=Math.max(we,.01);let Me,Ze;Ze=(2-ie)*we;const ne=(2-ie)*Ie;return Me=ie*Ie,Me/=ne<=1?ne:2-ne,Me=Me||0,Ze/=2,[c,Me*100,Ze*100]},convert$1.hwb.rgb=function(m){const c=m[0]/360;let ie=m[1]/100,we=m[2]/100;const Ie=ie+we;let Me;Ie>1&&(ie/=Ie,we/=Ie);const Ze=Math.floor(6*c),ne=1-we;Me=6*c-Ze,(Ze&1)!==0&&(Me=1-Me);const rr=ie+Me*(ne-ie);let vr,lr,yr;switch(Ze){default:case 6:case 0:{vr=ne,lr=rr,yr=ie;break}case 1:{vr=rr,lr=ne,yr=ie;break}case 2:{vr=ie,lr=ne,yr=rr;break}case 3:{vr=ie,lr=rr,yr=ne;break}case 4:{vr=rr,lr=ie,yr=ne;break}case 5:{vr=ne,lr=ie,yr=rr;break}}return[vr*255,lr*255,yr*255]},convert$1.cmyk.rgb=function(m){const c=m[0]/100,ie=m[1]/100,we=m[2]/100,Ie=m[3]/100,Me=1-Math.min(1,c*(1-Ie)+Ie),Ze=1-Math.min(1,ie*(1-Ie)+Ie),ne=1-Math.min(1,we*(1-Ie)+Ie);return[Me*255,Ze*255,ne*255]},convert$1.xyz.rgb=function(m){const c=m[0]/100,ie=m[1]/100,we=m[2]/100;let Ie,Me,Ze;return Ie=c*3.2404542+ie*-1.5371385+we*-.4985314,Me=c*-.969266+ie*1.8760108+we*.041556,Ze=c*.0556434+ie*-.2040259+we*1.0572252,Ie=Ie>.0031308?1.055*Ie**(1/2.4)-.055:Ie*12.92,Me=Me>.0031308?1.055*Me**(1/2.4)-.055:Me*12.92,Ze=Ze>.0031308?1.055*Ze**(1/2.4)-.055:Ze*12.92,Ie=Math.min(Math.max(0,Ie),1),Me=Math.min(Math.max(0,Me),1),Ze=Math.min(Math.max(0,Ze),1),[Ie*255,Me*255,Ze*255]},convert$1.xyz.lab=function(m){let c=m[0],ie=m[1],we=m[2];c/=95.047,ie/=100,we/=108.883,c=c>LAB_FT?c**(1/3):7.787*c+16/116,ie=ie>LAB_FT?ie**(1/3):7.787*ie+16/116,we=we>LAB_FT?we**(1/3):7.787*we+16/116;const Ie=116*ie-16,Me=500*(c-ie),Ze=200*(ie-we);return[Ie,Me,Ze]},convert$1.lab.xyz=function(m){const c=m[0],ie=m[1],we=m[2];let Ie,Me,Ze;Me=(c+16)/116,Ie=ie/500+Me,Ze=Me-we/200;const ne=Me**3,rr=Ie**3,vr=Ze**3;return Me=ne>LAB_FT?ne:(Me-16/116)/7.787,Ie=rr>LAB_FT?rr:(Ie-16/116)/7.787,Ze=vr>LAB_FT?vr:(Ze-16/116)/7.787,Ie*=95.047,Me*=100,Ze*=108.883,[Ie,Me,Ze]},convert$1.lab.lch=function(m){const c=m[0],ie=m[1],we=m[2];let Ie;Ie=Math.atan2(we,ie)*360/2/Math.PI,Ie<0&&(Ie+=360);const Ze=Math.sqrt(ie*ie+we*we);return[c,Ze,Ie]},convert$1.lch.lab=function(m){const c=m[0],ie=m[1],Ie=m[2]/360*2*Math.PI,Me=ie*Math.cos(Ie),Ze=ie*Math.sin(Ie);return[c,Me,Ze]},convert$1.rgb.ansi16=function(m,c=null){const[ie,we,Ie]=m;let Me=c===null?convert$1.rgb.hsv(m)[2]:c;if(Me=Math.round(Me/50),Me===0)return 30;let Ze=30+(Math.round(Ie/255)<<2|Math.round(we/255)<<1|Math.round(ie/255));return Me===2&&(Ze+=60),Ze},convert$1.hsv.ansi16=function(m){return convert$1.rgb.ansi16(convert$1.hsv.rgb(m),m[2])},convert$1.rgb.ansi256=function(m){const c=m[0],ie=m[1],we=m[2];return c>>4===ie>>4&&ie>>4===we>>4?c<8?16:c>248?231:Math.round((c-8)/247*24)+232:16+36*Math.round(c/255*5)+6*Math.round(ie/255*5)+Math.round(we/255*5)},convert$1.ansi16.rgb=function(m){m=m[0];let c=m%10;if(c===0||c===7)return m>50&&(c+=3.5),c=c/10.5*255,[c,c,c];const ie=(Math.trunc(m>50)+1)*.5,we=(c&1)*ie*255,Ie=(c>>1&1)*ie*255,Me=(c>>2&1)*ie*255;return[we,Ie,Me]},convert$1.ansi256.rgb=function(m){if(m=m[0],m>=232){const Me=(m-232)*10+8;return[Me,Me,Me]}m-=16;let c;const ie=Math.floor(m/36)/5*255,we=Math.floor((c=m%36)/6)/5*255,Ie=c%6/5*255;return[ie,we,Ie]},convert$1.rgb.hex=function(m){const ie=(((Math.round(m[0])&255)<<16)+((Math.round(m[1])&255)<<8)+(Math.round(m[2])&255)).toString(16).toUpperCase();return"000000".slice(ie.length)+ie},convert$1.hex.rgb=function(m){const c=m.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!c)return[0,0,0];let ie=c[0];c[0].length===3&&(ie=[...ie].map(ne=>ne+ne).join(""));const we=Number.parseInt(ie,16),Ie=we>>16&255,Me=we>>8&255,Ze=we&255;return[Ie,Me,Ze]},convert$1.rgb.hcg=function(m){const c=m[0]/255,ie=m[1]/255,we=m[2]/255,Ie=Math.max(Math.max(c,ie),we),Me=Math.min(Math.min(c,ie),we),Ze=Ie-Me;let ne;const rr=Ze<1?Me/(1-Ze):0;return Ze<=0?ne=0:Ie===c?ne=(ie-we)/Ze%6:Ie===ie?ne=2+(we-c)/Ze:ne=4+(c-ie)/Ze,ne/=6,ne%=1,[ne*360,Ze*100,rr*100]},convert$1.hsl.hcg=function(m){const c=m[1]/100,ie=m[2]/100,we=ie<.5?2*c*ie:2*c*(1-ie);let Ie=0;return we<1&&(Ie=(ie-.5*we)/(1-we)),[m[0],we*100,Ie*100]},convert$1.hsv.hcg=function(m){const c=m[1]/100,ie=m[2]/100,we=c*ie;let Ie=0;return we<1&&(Ie=(ie-we)/(1-we)),[m[0],we*100,Ie*100]},convert$1.hcg.rgb=function(m){const c=m[0]/360,ie=m[1]/100,we=m[2]/100;if(ie===0)return[we*255,we*255,we*255];const Ie=[0,0,0],Me=c%1*6,Ze=Me%1,ne=1-Ze;let rr=0;switch(Math.floor(Me)){case 0:{Ie[0]=1,Ie[1]=Ze,Ie[2]=0;break}case 1:{Ie[0]=ne,Ie[1]=1,Ie[2]=0;break}case 2:{Ie[0]=0,Ie[1]=1,Ie[2]=Ze;break}case 3:{Ie[0]=0,Ie[1]=ne,Ie[2]=1;break}case 4:{Ie[0]=Ze,Ie[1]=0,Ie[2]=1;break}default:Ie[0]=1,Ie[1]=0,Ie[2]=ne}return rr=(1-ie)*we,[(ie*Ie[0]+rr)*255,(ie*Ie[1]+rr)*255,(ie*Ie[2]+rr)*255]},convert$1.hcg.hsv=function(m){const c=m[1]/100,ie=m[2]/100,we=c+ie*(1-c);let Ie=0;return we>0&&(Ie=c/we),[m[0],Ie*100,we*100]},convert$1.hcg.hsl=function(m){const c=m[1]/100,we=m[2]/100*(1-c)+.5*c;let Ie=0;return we>0&&we<.5?Ie=c/(2*we):we>=.5&&we<1&&(Ie=c/(2*(1-we))),[m[0],Ie*100,we*100]},convert$1.hcg.hwb=function(m){const c=m[1]/100,ie=m[2]/100,we=c+ie*(1-c);return[m[0],(we-c)*100,(1-we)*100]},convert$1.hwb.hcg=function(m){const c=m[1]/100,we=1-m[2]/100,Ie=we-c;let Me=0;return Ie<1&&(Me=(we-Ie)/(1-Ie)),[m[0],Ie*100,Me*100]},convert$1.apple.rgb=function(m){return[m[0]/65535*255,m[1]/65535*255,m[2]/65535*255]},convert$1.rgb.apple=function(m){return[m[0]/255*65535,m[1]/255*65535,m[2]/255*65535]},convert$1.gray.rgb=function(m){return[m[0]/100*255,m[0]/100*255,m[0]/100*255]},convert$1.gray.hsl=function(m){return[0,0,m[0]]},convert$1.gray.hsv=convert$1.gray.hsl,convert$1.gray.hwb=function(m){return[0,100,m[0]]},convert$1.gray.cmyk=function(m){return[0,0,0,m[0]]},convert$1.gray.lab=function(m){return[m[0],0,0]},convert$1.gray.hex=function(m){const c=Math.round(m[0]/100*255)&255,we=((c<<16)+(c<<8)+c).toString(16).toUpperCase();return"000000".slice(we.length)+we},convert$1.rgb.gray=function(m){return[(m[0]+m[1]+m[2])/3/255*100]};function buildGraph(){const m={},c=Object.keys(convert$1);for(let{length:ie}=c,we=0;we<ie;we++)m[c[we]]={distance:-1,parent:null};return m}function deriveBFS(m){const c=buildGraph(),ie=[m];for(c[m].distance=0;ie.length>0;){const we=ie.pop(),Ie=Object.keys(convert$1[we]);for(let{length:Me}=Ie,Ze=0;Ze<Me;Ze++){const ne=Ie[Ze],rr=c[ne];rr.distance===-1&&(rr.distance=c[we].distance+1,rr.parent=we,ie.unshift(ne))}}return c}function link(m,c){return function(ie){return c(m(ie))}}function wrapConversion(m,c){const ie=[c[m].parent,m];let we=convert$1[c[m].parent][m],Ie=c[m].parent;for(;c[Ie].parent;)ie.unshift(c[Ie].parent),we=link(convert$1[c[Ie].parent][Ie],we),Ie=c[Ie].parent;return we.conversion=ie,we}function route(m){const c=deriveBFS(m),ie={},we=Object.keys(c);for(let{length:Ie}=we,Me=0;Me<Ie;Me++){const Ze=we[Me];c[Ze].parent!==null&&(ie[Ze]=wrapConversion(Ze,c))}return ie}const convert={},models=Object.keys(convert$1);function wrapRaw(m){const c=function(...ie){const we=ie[0];return we==null?we:(we.length>1&&(ie=we),m(ie))};return"conversion"in m&&(c.conversion=m.conversion),c}function wrapRounded(m){const c=function(...ie){const we=ie[0];if(we==null)return we;we.length>1&&(ie=we);const Ie=m(ie);if(typeof Ie=="object")for(let{length:Me}=Ie,Ze=0;Ze<Me;Ze++)Ie[Ze]=Math.round(Ie[Ze]);return Ie};return"conversion"in m&&(c.conversion=m.conversion),c}for(const m of models){convert[m]={},Object.defineProperty(convert[m],"channels",{value:convert$1[m].channels}),Object.defineProperty(convert[m],"labels",{value:convert$1[m].labels});const c=route(m),ie=Object.keys(c);for(const we of ie){const Ie=c[we];convert[m][we]=wrapRounded(Ie),convert[m][we].raw=wrapRaw(Ie)}}const skippedModels=["keyword","gray","hex"],hashedModelKeys={};for(const m of Object.keys(convert))hashedModelKeys[[...convert[m].labels].sort().join("")]=m;const limiters={};function Color$1(m,c){if(!(this instanceof Color$1))return new Color$1(m,c);if(c&&c in skippedModels&&(c=null),c&&!(c in convert))throw new Error("Unknown model: "+c);let ie,we;if(m==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(m instanceof Color$1)this.model=m.model,this.color=[...m.color],this.valpha=m.valpha;else if(typeof m=="string"){const Ie=cs.get(m);if(Ie===null)throw new Error("Unable to parse color from string: "+m);this.model=Ie.model,we=convert[this.model].channels,this.color=Ie.value.slice(0,we),this.valpha=typeof Ie.value[we]=="number"?Ie.value[we]:1}else if(m.length>0){this.model=c||"rgb",we=convert[this.model].channels;const Ie=Array.prototype.slice.call(m,0,we);this.color=zeroArray(Ie,we),this.valpha=typeof m[we]=="number"?m[we]:1}else if(typeof m=="number")this.model="rgb",this.color=[m>>16&255,m>>8&255,m&255],this.valpha=1;else{this.valpha=1;const Ie=Object.keys(m);"alpha"in m&&(Ie.splice(Ie.indexOf("alpha"),1),this.valpha=typeof m.alpha=="number"?m.alpha:0);const Me=Ie.sort().join("");if(!(Me in hashedModelKeys))throw new Error("Unable to parse color from object: "+JSON.stringify(m));this.model=hashedModelKeys[Me];const{labels:Ze}=convert[this.model],ne=[];for(ie=0;ie<Ze.length;ie++)ne.push(m[Ze[ie]]);this.color=zeroArray(ne)}if(limiters[this.model])for(we=convert[this.model].channels,ie=0;ie<we;ie++){const Ie=limiters[this.model][ie];Ie&&(this.color[ie]=Ie(this.color[ie]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Color$1.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(m){let c=this.model in cs.to?this:this.rgb();c=c.round(typeof m=="number"?m:1);const ie=c.valpha===1?c.color:[...c.color,this.valpha];return cs.to[c.model](...ie)},percentString(m){const c=this.rgb().round(typeof m=="number"?m:1),ie=c.valpha===1?c.color:[...c.color,this.valpha];return cs.to.rgb.percent(...ie)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const m={},{channels:c}=convert[this.model],{labels:ie}=convert[this.model];for(let we=0;we<c;we++)m[ie[we]]=this.color[we];return this.valpha!==1&&(m.alpha=this.valpha),m},unitArray(){const m=this.rgb().color;return m[0]/=255,m[1]/=255,m[2]/=255,this.valpha!==1&&m.push(this.valpha),m},unitObject(){const m=this.rgb().object();return m.r/=255,m.g/=255,m.b/=255,this.valpha!==1&&(m.alpha=this.valpha),m},round(m){return m=Math.max(m||0,0),new Color$1([...this.color.map(roundToPlace(m)),this.valpha],this.model)},alpha(m){return m!==void 0?new Color$1([...this.color,Math.max(0,Math.min(1,m))],this.model):this.valpha},red:getset("rgb",0,maxfn(255)),green:getset("rgb",1,maxfn(255)),blue:getset("rgb",2,maxfn(255)),hue:getset(["hsl","hsv","hsl","hwb","hcg"],0,m=>(m%360+360)%360),saturationl:getset("hsl",1,maxfn(100)),lightness:getset("hsl",2,maxfn(100)),saturationv:getset("hsv",1,maxfn(100)),value:getset("hsv",2,maxfn(100)),chroma:getset("hcg",1,maxfn(100)),gray:getset("hcg",2,maxfn(100)),white:getset("hwb",1,maxfn(100)),wblack:getset("hwb",2,maxfn(100)),cyan:getset("cmyk",0,maxfn(100)),magenta:getset("cmyk",1,maxfn(100)),yellow:getset("cmyk",2,maxfn(100)),black:getset("cmyk",3,maxfn(100)),x:getset("xyz",0,maxfn(95.047)),y:getset("xyz",1,maxfn(100)),z:getset("xyz",2,maxfn(108.833)),l:getset("lab",0,maxfn(100)),a:getset("lab",1),b:getset("lab",2),keyword(m){return m!==void 0?new Color$1(m):convert[this.model].keyword(this.color)},hex(m){return m!==void 0?new Color$1(m):cs.to.hex(...this.rgb().round().color)},hexa(m){if(m!==void 0)return new Color$1(m);const c=this.rgb().round().color;let ie=Math.round(this.valpha*255).toString(16).toUpperCase();return ie.length===1&&(ie="0"+ie),cs.to.hex(...c)+ie},rgbNumber(){const m=this.rgb().color;return(m[0]&255)<<16|(m[1]&255)<<8|m[2]&255},luminosity(){const m=this.rgb().color,c=[];for(const[ie,we]of m.entries()){const Ie=we/255;c[ie]=Ie<=.04045?Ie/12.92:((Ie+.055)/1.055)**2.4}return .2126*c[0]+.7152*c[1]+.0722*c[2]},contrast(m){const c=this.luminosity(),ie=m.luminosity();return c>ie?(c+.05)/(ie+.05):(ie+.05)/(c+.05)},level(m){const c=this.contrast(m);return c>=7?"AAA":c>=4.5?"AA":""},isDark(){const m=this.rgb().color;return(m[0]*2126+m[1]*7152+m[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const m=this.rgb();for(let c=0;c<3;c++)m.color[c]=255-m.color[c];return m},lighten(m){const c=this.hsl();return c.color[2]+=c.color[2]*m,c},darken(m){const c=this.hsl();return c.color[2]-=c.color[2]*m,c},saturate(m){const c=this.hsl();return c.color[1]+=c.color[1]*m,c},desaturate(m){const c=this.hsl();return c.color[1]-=c.color[1]*m,c},whiten(m){const c=this.hwb();return c.color[1]+=c.color[1]*m,c},blacken(m){const c=this.hwb();return c.color[2]+=c.color[2]*m,c},grayscale(){const m=this.rgb().color,c=m[0]*.3+m[1]*.59+m[2]*.11;return Color$1.rgb(c,c,c)},fade(m){return this.alpha(this.valpha-this.valpha*m)},opaquer(m){return this.alpha(this.valpha+this.valpha*m)},rotate(m){const c=this.hsl();let ie=c.color[0];return ie=(ie+m)%360,ie=ie<0?360+ie:ie,c.color[0]=ie,c},mix(m,c){if(!m||!m.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof m);const ie=m.rgb(),we=this.rgb(),Ie=c===void 0?.5:c,Me=2*Ie-1,Ze=ie.alpha()-we.alpha(),ne=((Me*Ze===-1?Me:(Me+Ze)/(1+Me*Ze))+1)/2,rr=1-ne;return Color$1.rgb(ne*ie.red()+rr*we.red(),ne*ie.green()+rr*we.green(),ne*ie.blue()+rr*we.blue(),ie.alpha()*Ie+we.alpha()*(1-Ie))}};for(const m of Object.keys(convert)){if(skippedModels.includes(m))continue;const{channels:c}=convert[m];Color$1.prototype[m]=function(...ie){return this.model===m?new Color$1(this):ie.length>0?new Color$1(ie,m):new Color$1([...assertArray(convert[this.model][m].raw(this.color)),this.valpha],m)},Color$1[m]=function(...ie){let we=ie[0];return typeof we=="number"&&(we=zeroArray(ie,c)),new Color$1(we,m)}}function roundTo(m,c){return Number(m.toFixed(c))}function roundToPlace(m){return function(c){return roundTo(c,m)}}function getset(m,c,ie){m=Array.isArray(m)?m:[m];for(const we of m)(limiters[we]||=[])[c]=ie;return m=m[0],function(we){let Ie;return we!==void 0?(ie&&(we=ie(we)),Ie=this[m](),Ie.color[c]=we,Ie):(Ie=this[m]().color[c],ie&&(Ie=ie(Ie)),Ie)}}function maxfn(m){return function(c){return Math.max(0,Math.min(m,c))}}function assertArray(m){return Array.isArray(m)?m:[m]}function zeroArray(m,c){for(let ie=0;ie<c;ie++)typeof m[ie]!="number"&&(m[ie]=0);return m}const _sfc_main$16=vue.defineComponent({__name:"BxRichtextInput",props:vue.mergeModels({userAgentRichText:{type:Boolean,default:!0},multiline:{type:Boolean,default:!0},maxLength:{default:1/0},maxLengthPerLine:{default:1/0},maxLines:{default:1/0}},{modelValue:{required:!0},modelModifiers:{},selection:{required:!0},selectionModifiers:{}}),emits:vue.mergeModels(["update:raw-text","update:focus"],["update:modelValue","update:selection"]),setup(m,{expose:c,emit:ie}){const we=vue.useModel(m,"modelValue"),Ie=ie,Me=vue.useModel(m,"selection"),Ze=Ar=>Ar.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),ne=Ar=>{const Pr=(()=>{if(Ar.customClass){if(Ar.customClassUIRepresentation==="bold")return{"font-weight":600};if(Ar.customClassUIRepresentation==="italic")return{"font-style":"italic"};if(Ar.customClassUIRepresentation==="textColor")return{color:Ar.customClassUIRepresentationColor??"#ff0000"};if(Ar.customClassUIRepresentation==="backgroundColor")return{"background-color":Ar.customClassUIRepresentationColor??"#ff0000",color:Color$1(Ar.customClassUIRepresentationColor??"#ff0000").isDark()?"white":"black"}}else return{}})();return{...Object.fromEntries(Object.entries({...Ar,...(()=>Ar.customClass==="list-item"?{display:"block",marginLeft:"1em"}:{})()}).map(([ei,Nr])=>{const Zr=Ze(ei);return[Zr,(()=>Zr==="font-size"&&typeof Nr=="number"?`${Nr}px`:Nr)()]})),...Pr}},rr=vue.ref(groupFeatureByLinebreaks$1(typeof we.value=="string"?[{text:we.value,format:{}}]:we.value));vue.watch(rr,Ar=>{const Pr=ungroupFeaturesDividedByLinebreaks(Ar);isEqual(Pr,we.value)||(we.value=Pr)}),vue.watch(we,()=>{const Ar=groupFeatureByLinebreaks$1(typeof we.value=="string"?[{text:we.value,format:{}}]:we.value);isEqual(Ar,we.value)||(rr.value=Ar)});const vr=vue.ref(rr.value),lr=vue.computed(()=>getRawText(vr.value));vue.watch(lr,()=>{Ie("update:raw-text",lr.value)},{immediate:!0});const yr=vue.ref(),kr=vue.ref(),Br=vue.ref(!1);return vue.watch(Br,()=>{Ie("update:focus",Br.value)},{immediate:!0}),c({richTextInstance:kr}),(Ar,Pr)=>(vue.openBlock(),vue.createBlock(RichText,{ref_key:"richTextInstance",ref:kr,selection:Me.value,"onUpdate:selection":Pr[0]||(Pr[0]=Vr=>Me.value=Vr),value:rr.value,"onUpdate:value":Pr[1]||(Pr[1]=Vr=>rr.value=Vr),"onUpdate:visibleValue":Pr[2]||(Pr[2]=Vr=>vr.value=Vr),"render-feature-inline-style":ne,"user-agent-rich-text":Ar.userAgentRichText,"max-length":Ar.maxLength,"max-length-per-line":Ar.maxLengthPerLine,"max-lines":Ar.maxLines,multiline:Ar.multiline,"onUpdate:warningMessage":Pr[3]||(Pr[3]=Vr=>yr.value=Vr),focus:Br.value,"onUpdate:focus":Pr[4]||(Pr[4]=Vr=>Br.value=Vr),class:vue.normalizeClass({warning:!!yr.value})},null,8,["selection","value","user-agent-rich-text","max-length","max-length-per-line","max-lines","multiline","focus","class"]))}}),BxRichtextInput_vue_vue_type_style_index_0_scoped_5d2e9b73_lang="",BxRichtextInput=_export_sfc(_sfc_main$16,[["__scopeId","data-v-5d2e9b73"]]),sides=["top","right","bottom","left"],alignments=["start","end"],placements=sides.reduce((m,c)=>m.concat(c,c+"-"+alignments[0],c+"-"+alignments[1]),[]),min=Math.min,max=Math.max,round=Math.round,createCoords=m=>({x:m,y:m}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(m,c,ie){return max(m,min(c,ie))}function evaluate(m,c){return typeof m=="function"?m(c):m}function getSide(m){return m.split("-")[0]}function getAlignment(m){return m.split("-")[1]}function getOppositeAxis(m){return m==="x"?"y":"x"}function getAxisLength(m){return m==="y"?"height":"width"}function getSideAxis(m){return["top","bottom"].includes(getSide(m))?"y":"x"}function getAlignmentAxis(m){return getOppositeAxis(getSideAxis(m))}function getAlignmentSides(m,c,ie){ie===void 0&&(ie=!1);const we=getAlignment(m),Ie=getAlignmentAxis(m),Me=getAxisLength(Ie);let Ze=Ie==="x"?we===(ie?"end":"start")?"right":"left":we==="start"?"bottom":"top";return c.reference[Me]>c.floating[Me]&&(Ze=getOppositePlacement(Ze)),[Ze,getOppositePlacement(Ze)]}function getExpandedPlacements(m){const c=getOppositePlacement(m);return[getOppositeAlignmentPlacement(m),c,getOppositeAlignmentPlacement(c)]}function getOppositeAlignmentPlacement(m){return m.replace(/start|end/g,c=>oppositeAlignmentMap[c])}function getSideList(m,c,ie){const we=["left","right"],Ie=["right","left"],Me=["top","bottom"],Ze=["bottom","top"];switch(m){case"top":case"bottom":return ie?c?Ie:we:c?we:Ie;case"left":case"right":return c?Me:Ze;default:return[]}}function getOppositeAxisPlacements(m,c,ie,we){const Ie=getAlignment(m);let Me=getSideList(getSide(m),ie==="start",we);return Ie&&(Me=Me.map(Ze=>Ze+"-"+Ie),c&&(Me=Me.concat(Me.map(getOppositeAlignmentPlacement)))),Me}function getOppositePlacement(m){return m.replace(/left|right|bottom|top/g,c=>oppositeSideMap[c])}function expandPaddingObject(m){return{top:0,right:0,bottom:0,left:0,...m}}function getPaddingObject(m){return typeof m!="number"?expandPaddingObject(m):{top:m,right:m,bottom:m,left:m}}function rectToClientRect(m){const{x:c,y:ie,width:we,height:Ie}=m;return{width:we,height:Ie,top:ie,left:c,right:c+we,bottom:ie+Ie,x:c,y:ie}}function computeCoordsFromPlacement(m,c,ie){let{reference:we,floating:Ie}=m;const Me=getSideAxis(c),Ze=getAlignmentAxis(c),ne=getAxisLength(Ze),rr=getSide(c),vr=Me==="y",lr=we.x+we.width/2-Ie.width/2,yr=we.y+we.height/2-Ie.height/2,kr=we[ne]/2-Ie[ne]/2;let Br;switch(rr){case"top":Br={x:lr,y:we.y-Ie.height};break;case"bottom":Br={x:lr,y:we.y+we.height};break;case"right":Br={x:we.x+we.width,y:yr};break;case"left":Br={x:we.x-Ie.width,y:yr};break;default:Br={x:we.x,y:we.y}}switch(getAlignment(c)){case"start":Br[Ze]-=kr*(ie&&vr?-1:1);break;case"end":Br[Ze]+=kr*(ie&&vr?-1:1);break}return Br}const computePosition$1=async(m,c,ie)=>{const{placement:we="bottom",strategy:Ie="absolute",middleware:Me=[],platform:Ze}=ie,ne=Me.filter(Boolean),rr=await(Ze.isRTL==null?void 0:Ze.isRTL(c));let vr=await Ze.getElementRects({reference:m,floating:c,strategy:Ie}),{x:lr,y:yr}=computeCoordsFromPlacement(vr,we,rr),kr=we,Br={},Ar=0;for(let Pr=0;Pr<ne.length;Pr++){const{name:Vr,fn:ei}=ne[Pr],{x:Nr,y:Zr,data:Wr,reset:oi}=await ei({x:lr,y:yr,initialPlacement:we,placement:kr,strategy:Ie,middlewareData:Br,rects:vr,platform:Ze,elements:{reference:m,floating:c}});lr=Nr??lr,yr=Zr??yr,Br={...Br,[Vr]:{...Br[Vr],...Wr}},oi&&Ar<=50&&(Ar++,typeof oi=="object"&&(oi.placement&&(kr=oi.placement),oi.rects&&(vr=oi.rects===!0?await Ze.getElementRects({reference:m,floating:c,strategy:Ie}):oi.rects),{x:lr,y:yr}=computeCoordsFromPlacement(vr,kr,rr)),Pr=-1)}return{x:lr,y:yr,placement:kr,strategy:Ie,middlewareData:Br}};async function detectOverflow(m,c){var ie;c===void 0&&(c={});const{x:we,y:Ie,platform:Me,rects:Ze,elements:ne,strategy:rr}=m,{boundary:vr="clippingAncestors",rootBoundary:lr="viewport",elementContext:yr="floating",altBoundary:kr=!1,padding:Br=0}=evaluate(c,m),Ar=getPaddingObject(Br),Vr=ne[kr?yr==="floating"?"reference":"floating":yr],ei=rectToClientRect(await Me.getClippingRect({element:(ie=await(Me.isElement==null?void 0:Me.isElement(Vr)))==null||ie?Vr:Vr.contextElement||await(Me.getDocumentElement==null?void 0:Me.getDocumentElement(ne.floating)),boundary:vr,rootBoundary:lr,strategy:rr})),Nr=yr==="floating"?{x:we,y:Ie,width:Ze.floating.width,height:Ze.floating.height}:Ze.reference,Zr=await(Me.getOffsetParent==null?void 0:Me.getOffsetParent(ne.floating)),Wr=await(Me.isElement==null?void 0:Me.isElement(Zr))?await(Me.getScale==null?void 0:Me.getScale(Zr))||{x:1,y:1}:{x:1,y:1},oi=rectToClientRect(Me.convertOffsetParentRelativeRectToViewportRelativeRect?await Me.convertOffsetParentRelativeRectToViewportRelativeRect({elements:ne,rect:Nr,offsetParent:Zr,strategy:rr}):Nr);return{top:(ei.top-oi.top+Ar.top)/Wr.y,bottom:(oi.bottom-ei.bottom+Ar.bottom)/Wr.y,left:(ei.left-oi.left+Ar.left)/Wr.x,right:(oi.right-ei.right+Ar.right)/Wr.x}}const arrow=m=>({name:"arrow",options:m,async fn(c){const{x:ie,y:we,placement:Ie,rects:Me,platform:Ze,elements:ne,middlewareData:rr}=c,{element:vr,padding:lr=0}=evaluate(m,c)||{};if(vr==null)return{};const yr=getPaddingObject(lr),kr={x:ie,y:we},Br=getAlignmentAxis(Ie),Ar=getAxisLength(Br),Pr=await Ze.getDimensions(vr),Vr=Br==="y",ei=Vr?"top":"left",Nr=Vr?"bottom":"right",Zr=Vr?"clientHeight":"clientWidth",Wr=Me.reference[Ar]+Me.reference[Br]-kr[Br]-Me.floating[Ar],oi=kr[Br]-Me.reference[Br],ui=await(Ze.getOffsetParent==null?void 0:Ze.getOffsetParent(vr));let fi=ui?ui[Zr]:0;(!fi||!await(Ze.isElement==null?void 0:Ze.isElement(ui)))&&(fi=ne.floating[Zr]||Me.floating[Ar]);const di=Wr/2-oi/2,li=fi/2-Pr[Ar]/2-1,hi=min(yr[ei],li),gr=min(yr[Nr],li),Ae=hi,ze=fi-Pr[Ar]-gr,Ue=fi/2-Pr[Ar]/2+di,tr=clamp(Ae,Ue,ze),or=!rr.arrow&&getAlignment(Ie)!=null&&Ue!==tr&&Me.reference[Ar]/2-(Ue<Ae?hi:gr)-Pr[Ar]/2<0,pr=or?Ue<Ae?Ue-Ae:Ue-ze:0;return{[Br]:kr[Br]+pr,data:{[Br]:tr,centerOffset:Ue-tr-pr,...or&&{alignmentOffset:pr}},reset:or}}});function getPlacementList(m,c,ie){return(m?[...ie.filter(Ie=>getAlignment(Ie)===m),...ie.filter(Ie=>getAlignment(Ie)!==m)]:ie.filter(Ie=>getSide(Ie)===Ie)).filter(Ie=>m?getAlignment(Ie)===m||(c?getOppositeAlignmentPlacement(Ie)!==Ie:!1):!0)}const autoPlacement$1=function(m){return m===void 0&&(m={}),{name:"autoPlacement",options:m,async fn(c){var ie,we,Ie;const{rects:Me,middlewareData:Ze,placement:ne,platform:rr,elements:vr}=c,{crossAxis:lr=!1,alignment:yr,allowedPlacements:kr=placements,autoAlignment:Br=!0,...Ar}=evaluate(m,c),Pr=yr!==void 0||kr===placements?getPlacementList(yr||null,Br,kr):kr,Vr=await detectOverflow(c,Ar),ei=((ie=Ze.autoPlacement)==null?void 0:ie.index)||0,Nr=Pr[ei];if(Nr==null)return{};const Zr=getAlignmentSides(Nr,Me,await(rr.isRTL==null?void 0:rr.isRTL(vr.floating)));if(ne!==Nr)return{reset:{placement:Pr[0]}};const Wr=[Vr[getSide(Nr)],Vr[Zr[0]],Vr[Zr[1]]],oi=[...((we=Ze.autoPlacement)==null?void 0:we.overflows)||[],{placement:Nr,overflows:Wr}],ui=Pr[ei+1];if(ui)return{data:{index:ei+1,overflows:oi},reset:{placement:ui}};const fi=oi.map(hi=>{const gr=getAlignment(hi.placement);return[hi.placement,gr&&lr?hi.overflows.slice(0,2).reduce((Ae,ze)=>Ae+ze,0):hi.overflows[0],hi.overflows]}).sort((hi,gr)=>hi[1]-gr[1]),li=((Ie=fi.filter(hi=>hi[2].slice(0,getAlignment(hi[0])?2:3).every(gr=>gr<=0))[0])==null?void 0:Ie[0])||fi[0][0];return li!==ne?{data:{index:ei+1,overflows:oi},reset:{placement:li}}:{}}}},flip=function(m){return m===void 0&&(m={}),{name:"flip",options:m,async fn(c){var ie,we;const{placement:Ie,middlewareData:Me,rects:Ze,initialPlacement:ne,platform:rr,elements:vr}=c,{mainAxis:lr=!0,crossAxis:yr=!0,fallbackPlacements:kr,fallbackStrategy:Br="bestFit",fallbackAxisSideDirection:Ar="none",flipAlignment:Pr=!0,...Vr}=evaluate(m,c);if((ie=Me.arrow)!=null&&ie.alignmentOffset)return{};const ei=getSide(Ie),Nr=getSideAxis(ne),Zr=getSide(ne)===ne,Wr=await(rr.isRTL==null?void 0:rr.isRTL(vr.floating)),oi=kr||(Zr||!Pr?[getOppositePlacement(ne)]:getExpandedPlacements(ne)),ui=Ar!=="none";!kr&&ui&&oi.push(...getOppositeAxisPlacements(ne,Pr,Ar,Wr));const fi=[ne,...oi],di=await detectOverflow(c,Vr),li=[];let hi=((we=Me.flip)==null?void 0:we.overflows)||[];if(lr&&li.push(di[ei]),yr){const Ue=getAlignmentSides(Ie,Ze,Wr);li.push(di[Ue[0]],di[Ue[1]])}if(hi=[...hi,{placement:Ie,overflows:li}],!li.every(Ue=>Ue<=0)){var gr,Ae;const Ue=(((gr=Me.flip)==null?void 0:gr.index)||0)+1,tr=fi[Ue];if(tr)return{data:{index:Ue,overflows:hi},reset:{placement:tr}};let or=(Ae=hi.filter(pr=>pr.overflows[0]<=0).sort((pr,br)=>pr.overflows[1]-br.overflows[1])[0])==null?void 0:Ae.placement;if(!or)switch(Br){case"bestFit":{var ze;const pr=(ze=hi.filter(br=>{if(ui){const nr=getSideAxis(br.placement);return nr===Nr||nr==="y"}return!0}).map(br=>[br.placement,br.overflows.filter(nr=>nr>0).reduce((nr,$e)=>nr+$e,0)]).sort((br,nr)=>br[1]-nr[1])[0])==null?void 0:ze[0];pr&&(or=pr);break}case"initialPlacement":or=ne;break}if(Ie!==or)return{reset:{placement:or}}}return{}}}};function getSideOffsets(m,c){return{top:m.top-c.height,right:m.right-c.width,bottom:m.bottom-c.height,left:m.left-c.width}}function isAnySideFullyClipped(m){return sides.some(c=>m[c]>=0)}const hide=function(m){return m===void 0&&(m={}),{name:"hide",options:m,async fn(c){const{rects:ie}=c,{strategy:we="referenceHidden",...Ie}=evaluate(m,c);switch(we){case"referenceHidden":{const Me=await detectOverflow(c,{...Ie,elementContext:"reference"}),Ze=getSideOffsets(Me,ie.reference);return{data:{referenceHiddenOffsets:Ze,referenceHidden:isAnySideFullyClipped(Ze)}}}case"escaped":{const Me=await detectOverflow(c,{...Ie,altBoundary:!0}),Ze=getSideOffsets(Me,ie.floating);return{data:{escapedOffsets:Ze,escaped:isAnySideFullyClipped(Ze)}}}default:return{}}}}};function getBoundingRect(m){const c=min(...m.map(Me=>Me.left)),ie=min(...m.map(Me=>Me.top)),we=max(...m.map(Me=>Me.right)),Ie=max(...m.map(Me=>Me.bottom));return{x:c,y:ie,width:we-c,height:Ie-ie}}function getRectsByLine(m){const c=m.slice().sort((Ie,Me)=>Ie.y-Me.y),ie=[];let we=null;for(let Ie=0;Ie<c.length;Ie++){const Me=c[Ie];!we||Me.y-we.y>we.height/2?ie.push([Me]):ie[ie.length-1].push(Me),we=Me}return ie.map(Ie=>rectToClientRect(getBoundingRect(Ie)))}const inline=function(m){return m===void 0&&(m={}),{name:"inline",options:m,async fn(c){const{placement:ie,elements:we,rects:Ie,platform:Me,strategy:Ze}=c,{padding:ne=2,x:rr,y:vr}=evaluate(m,c),lr=Array.from(await(Me.getClientRects==null?void 0:Me.getClientRects(we.reference))||[]),yr=getRectsByLine(lr),kr=rectToClientRect(getBoundingRect(lr)),Br=getPaddingObject(ne);function Ar(){if(yr.length===2&&yr[0].left>yr[1].right&&rr!=null&&vr!=null)return yr.find(Vr=>rr>Vr.left-Br.left&&rr<Vr.right+Br.right&&vr>Vr.top-Br.top&&vr<Vr.bottom+Br.bottom)||kr;if(yr.length>=2){if(getSideAxis(ie)==="y"){const hi=yr[0],gr=yr[yr.length-1],Ae=getSide(ie)==="top",ze=hi.top,Ue=gr.bottom,tr=Ae?hi.left:gr.left,or=Ae?hi.right:gr.right,pr=or-tr,br=Ue-ze;return{top:ze,bottom:Ue,left:tr,right:or,width:pr,height:br,x:tr,y:ze}}const Vr=getSide(ie)==="left",ei=max(...yr.map(hi=>hi.right)),Nr=min(...yr.map(hi=>hi.left)),Zr=yr.filter(hi=>Vr?hi.left===Nr:hi.right===ei),Wr=Zr[0].top,oi=Zr[Zr.length-1].bottom,ui=Nr,fi=ei,di=fi-ui,li=oi-Wr;return{top:Wr,bottom:oi,left:ui,right:fi,width:di,height:li,x:ui,y:Wr}}return kr}const Pr=await Me.getElementRects({reference:{getBoundingClientRect:Ar},floating:we.floating,strategy:Ze});return Ie.reference.x!==Pr.reference.x||Ie.reference.y!==Pr.reference.y||Ie.reference.width!==Pr.reference.width||Ie.reference.height!==Pr.reference.height?{reset:{rects:Pr}}:{}}}};async function convertValueToCoords(m,c){const{placement:ie,platform:we,elements:Ie}=m,Me=await(we.isRTL==null?void 0:we.isRTL(Ie.floating)),Ze=getSide(ie),ne=getAlignment(ie),rr=getSideAxis(ie)==="y",vr=["left","top"].includes(Ze)?-1:1,lr=Me&&rr?-1:1,yr=evaluate(c,m);let{mainAxis:kr,crossAxis:Br,alignmentAxis:Ar}=typeof yr=="number"?{mainAxis:yr,crossAxis:0,alignmentAxis:null}:{mainAxis:yr.mainAxis||0,crossAxis:yr.crossAxis||0,alignmentAxis:yr.alignmentAxis};return ne&&typeof Ar=="number"&&(Br=ne==="end"?Ar*-1:Ar),rr?{x:Br*lr,y:kr*vr}:{x:kr*vr,y:Br*lr}}const offset$1=function(m){return m===void 0&&(m=0),{name:"offset",options:m,async fn(c){var ie,we;const{x:Ie,y:Me,placement:Ze,middlewareData:ne}=c,rr=await convertValueToCoords(c,m);return Ze===((ie=ne.offset)==null?void 0:ie.placement)&&(we=ne.arrow)!=null&&we.alignmentOffset?{}:{x:Ie+rr.x,y:Me+rr.y,data:{...rr,placement:Ze}}}}},shift$1=function(m){return m===void 0&&(m={}),{name:"shift",options:m,async fn(c){const{x:ie,y:we,placement:Ie}=c,{mainAxis:Me=!0,crossAxis:Ze=!1,limiter:ne={fn:Vr=>{let{x:ei,y:Nr}=Vr;return{x:ei,y:Nr}}},...rr}=evaluate(m,c),vr={x:ie,y:we},lr=await detectOverflow(c,rr),yr=getSideAxis(getSide(Ie)),kr=getOppositeAxis(yr);let Br=vr[kr],Ar=vr[yr];if(Me){const Vr=kr==="y"?"top":"left",ei=kr==="y"?"bottom":"right",Nr=Br+lr[Vr],Zr=Br-lr[ei];Br=clamp(Nr,Br,Zr)}if(Ze){const Vr=yr==="y"?"top":"left",ei=yr==="y"?"bottom":"right",Nr=Ar+lr[Vr],Zr=Ar-lr[ei];Ar=clamp(Nr,Ar,Zr)}const Pr=ne.fn({...c,[kr]:Br,[yr]:Ar});return{...Pr,data:{x:Pr.x-ie,y:Pr.y-we,enabled:{[kr]:Me,[yr]:Ze}}}}}},limitShift=function(m){return m===void 0&&(m={}),{options:m,fn(c){const{x:ie,y:we,placement:Ie,rects:Me,middlewareData:Ze}=c,{offset:ne=0,mainAxis:rr=!0,crossAxis:vr=!0}=evaluate(m,c),lr={x:ie,y:we},yr=getSideAxis(Ie),kr=getOppositeAxis(yr);let Br=lr[kr],Ar=lr[yr];const Pr=evaluate(ne,c),Vr=typeof Pr=="number"?{mainAxis:Pr,crossAxis:0}:{mainAxis:0,crossAxis:0,...Pr};if(rr){const Zr=kr==="y"?"height":"width",Wr=Me.reference[kr]-Me.floating[Zr]+Vr.mainAxis,oi=Me.reference[kr]+Me.reference[Zr]-Vr.mainAxis;Br<Wr?Br=Wr:Br>oi&&(Br=oi)}if(vr){var ei,Nr;const Zr=kr==="y"?"width":"height",Wr=["top","left"].includes(getSide(Ie)),oi=Me.reference[yr]-Me.floating[Zr]+(Wr&&((ei=Ze.offset)==null?void 0:ei[yr])||0)+(Wr?0:Vr.crossAxis),ui=Me.reference[yr]+Me.reference[Zr]+(Wr?0:((Nr=Ze.offset)==null?void 0:Nr[yr])||0)-(Wr?Vr.crossAxis:0);Ar<oi?Ar=oi:Ar>ui&&(Ar=ui)}return{[kr]:Br,[yr]:Ar}}}},size$1=function(m){return m===void 0&&(m={}),{name:"size",options:m,async fn(c){var ie,we;const{placement:Ie,rects:Me,platform:Ze,elements:ne}=c,{apply:rr=()=>{},...vr}=evaluate(m,c),lr=await detectOverflow(c,vr),yr=getSide(Ie),kr=getAlignment(Ie),Br=getSideAxis(Ie)==="y",{width:Ar,height:Pr}=Me.floating;let Vr,ei;yr==="top"||yr==="bottom"?(Vr=yr,ei=kr===(await(Ze.isRTL==null?void 0:Ze.isRTL(ne.floating))?"start":"end")?"left":"right"):(ei=yr,Vr=kr==="end"?"top":"bottom");const Nr=Pr-lr.top-lr.bottom,Zr=Ar-lr.left-lr.right,Wr=min(Pr-lr[Vr],Nr),oi=min(Ar-lr[ei],Zr),ui=!c.middlewareData.shift;let fi=Wr,di=oi;if((ie=c.middlewareData.shift)!=null&&ie.enabled.x&&(di=Zr),(we=c.middlewareData.shift)!=null&&we.enabled.y&&(fi=Nr),ui&&!kr){const hi=max(lr.left,0),gr=max(lr.right,0),Ae=max(lr.top,0),ze=max(lr.bottom,0);Br?di=Ar-2*(hi!==0||gr!==0?hi+gr:max(lr.left,lr.right)):fi=Pr-2*(Ae!==0||ze!==0?Ae+ze:max(lr.top,lr.bottom))}await rr({...c,availableWidth:di,availableHeight:fi});const li=await Ze.getDimensions(ne.floating);return Ar!==li.width||Pr!==li.height?{reset:{rects:!0}}:{}}}};function hasWindow(){return typeof window<"u"}function getNodeName(m){return isNode$2(m)?(m.nodeName||"").toLowerCase():"#document"}function getWindow$1(m){var c;return(m==null||(c=m.ownerDocument)==null?void 0:c.defaultView)||window}function getDocumentElement(m){var c;return(c=(isNode$2(m)?m.ownerDocument:m.document)||window.document)==null?void 0:c.documentElement}function isNode$2(m){return hasWindow()?m instanceof Node||m instanceof getWindow$1(m).Node:!1}function isElement$1(m){return hasWindow()?m instanceof Element||m instanceof getWindow$1(m).Element:!1}function isHTMLElement(m){return hasWindow()?m instanceof HTMLElement||m instanceof getWindow$1(m).HTMLElement:!1}function isShadowRoot(m){return!hasWindow()||typeof ShadowRoot>"u"?!1:m instanceof ShadowRoot||m instanceof getWindow$1(m).ShadowRoot}function isOverflowElement(m){const{overflow:c,overflowX:ie,overflowY:we,display:Ie}=getComputedStyle$2(m);return/auto|scroll|overlay|hidden|clip/.test(c+we+ie)&&!["inline","contents"].includes(Ie)}function isTableElement(m){return["table","td","th"].includes(getNodeName(m))}function isTopLayer(m){return[":popover-open",":modal"].some(c=>{try{return m.matches(c)}catch{return!1}})}function isContainingBlock(m){const c=isWebKit(),ie=isElement$1(m)?getComputedStyle$2(m):m;return["transform","translate","scale","rotate","perspective"].some(we=>ie[we]?ie[we]!=="none":!1)||(ie.containerType?ie.containerType!=="normal":!1)||!c&&(ie.backdropFilter?ie.backdropFilter!=="none":!1)||!c&&(ie.filter?ie.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(we=>(ie.willChange||"").includes(we))||["paint","layout","strict","content"].some(we=>(ie.contain||"").includes(we))}function getContainingBlock(m){let c=getParentNode(m);for(;isHTMLElement(c)&&!isLastTraversableNode(c);){if(isContainingBlock(c))return c;if(isTopLayer(c))return null;c=getParentNode(c)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(m){return["html","body","#document"].includes(getNodeName(m))}function getComputedStyle$2(m){return getWindow$1(m).getComputedStyle(m)}function getNodeScroll(m){return isElement$1(m)?{scrollLeft:m.scrollLeft,scrollTop:m.scrollTop}:{scrollLeft:m.scrollX,scrollTop:m.scrollY}}function getParentNode(m){if(getNodeName(m)==="html")return m;const c=m.assignedSlot||m.parentNode||isShadowRoot(m)&&m.host||getDocumentElement(m);return isShadowRoot(c)?c.host:c}function getNearestOverflowAncestor(m){const c=getParentNode(m);return isLastTraversableNode(c)?m.ownerDocument?m.ownerDocument.body:m.body:isHTMLElement(c)&&isOverflowElement(c)?c:getNearestOverflowAncestor(c)}function getOverflowAncestors(m,c,ie){var we;c===void 0&&(c=[]),ie===void 0&&(ie=!0);const Ie=getNearestOverflowAncestor(m),Me=Ie===((we=m.ownerDocument)==null?void 0:we.body),Ze=getWindow$1(Ie);if(Me){const ne=getFrameElement(Ze);return c.concat(Ze,Ze.visualViewport||[],isOverflowElement(Ie)?Ie:[],ne&&ie?getOverflowAncestors(ne):[])}return c.concat(Ie,getOverflowAncestors(Ie,[],ie))}function getFrameElement(m){return m.parent&&Object.getPrototypeOf(m.parent)?m.frameElement:null}function getCssDimensions(m){const c=getComputedStyle$2(m);let ie=parseFloat(c.width)||0,we=parseFloat(c.height)||0;const Ie=isHTMLElement(m),Me=Ie?m.offsetWidth:ie,Ze=Ie?m.offsetHeight:we,ne=round(ie)!==Me||round(we)!==Ze;return ne&&(ie=Me,we=Ze),{width:ie,height:we,$:ne}}function unwrapElement$1(m){return isElement$1(m)?m:m.contextElement}function getScale(m){const c=unwrapElement$1(m);if(!isHTMLElement(c))return createCoords(1);const ie=c.getBoundingClientRect(),{width:we,height:Ie,$:Me}=getCssDimensions(c);let Ze=(Me?round(ie.width):ie.width)/we,ne=(Me?round(ie.height):ie.height)/Ie;return(!Ze||!Number.isFinite(Ze))&&(Ze=1),(!ne||!Number.isFinite(ne))&&(ne=1),{x:Ze,y:ne}}const noOffsets=createCoords(0);function getVisualOffsets(m){const c=getWindow$1(m);return!isWebKit()||!c.visualViewport?noOffsets:{x:c.visualViewport.offsetLeft,y:c.visualViewport.offsetTop}}function shouldAddVisualOffsets(m,c,ie){return c===void 0&&(c=!1),!ie||c&&ie!==getWindow$1(m)?!1:c}function getBoundingClientRect(m,c,ie,we){c===void 0&&(c=!1),ie===void 0&&(ie=!1);const Ie=m.getBoundingClientRect(),Me=unwrapElement$1(m);let Ze=createCoords(1);c&&(we?isElement$1(we)&&(Ze=getScale(we)):Ze=getScale(m));const ne=shouldAddVisualOffsets(Me,ie,we)?getVisualOffsets(Me):createCoords(0);let rr=(Ie.left+ne.x)/Ze.x,vr=(Ie.top+ne.y)/Ze.y,lr=Ie.width/Ze.x,yr=Ie.height/Ze.y;if(Me){const kr=getWindow$1(Me),Br=we&&isElement$1(we)?getWindow$1(we):we;let Ar=kr,Pr=getFrameElement(Ar);for(;Pr&&we&&Br!==Ar;){const Vr=getScale(Pr),ei=Pr.getBoundingClientRect(),Nr=getComputedStyle$2(Pr),Zr=ei.left+(Pr.clientLeft+parseFloat(Nr.paddingLeft))*Vr.x,Wr=ei.top+(Pr.clientTop+parseFloat(Nr.paddingTop))*Vr.y;rr*=Vr.x,vr*=Vr.y,lr*=Vr.x,yr*=Vr.y,rr+=Zr,vr+=Wr,Ar=getWindow$1(Pr),Pr=getFrameElement(Ar)}}return rectToClientRect({width:lr,height:yr,x:rr,y:vr})}function getWindowScrollBarX(m,c){const ie=getNodeScroll(m).scrollLeft;return c?c.left+ie:getBoundingClientRect(getDocumentElement(m)).left+ie}function getHTMLOffset(m,c,ie){ie===void 0&&(ie=!1);const we=m.getBoundingClientRect(),Ie=we.left+c.scrollLeft-(ie?0:getWindowScrollBarX(m,we)),Me=we.top+c.scrollTop;return{x:Ie,y:Me}}function convertOffsetParentRelativeRectToViewportRelativeRect(m){let{elements:c,rect:ie,offsetParent:we,strategy:Ie}=m;const Me=Ie==="fixed",Ze=getDocumentElement(we),ne=c?isTopLayer(c.floating):!1;if(we===Ze||ne&&Me)return ie;let rr={scrollLeft:0,scrollTop:0},vr=createCoords(1);const lr=createCoords(0),yr=isHTMLElement(we);if((yr||!yr&&!Me)&&((getNodeName(we)!=="body"||isOverflowElement(Ze))&&(rr=getNodeScroll(we)),isHTMLElement(we))){const Br=getBoundingClientRect(we);vr=getScale(we),lr.x=Br.x+we.clientLeft,lr.y=Br.y+we.clientTop}const kr=Ze&&!yr&&!Me?getHTMLOffset(Ze,rr,!0):createCoords(0);return{width:ie.width*vr.x,height:ie.height*vr.y,x:ie.x*vr.x-rr.scrollLeft*vr.x+lr.x+kr.x,y:ie.y*vr.y-rr.scrollTop*vr.y+lr.y+kr.y}}function getClientRects(m){return Array.from(m.getClientRects())}function getDocumentRect(m){const c=getDocumentElement(m),ie=getNodeScroll(m),we=m.ownerDocument.body,Ie=max(c.scrollWidth,c.clientWidth,we.scrollWidth,we.clientWidth),Me=max(c.scrollHeight,c.clientHeight,we.scrollHeight,we.clientHeight);let Ze=-ie.scrollLeft+getWindowScrollBarX(m);const ne=-ie.scrollTop;return getComputedStyle$2(we).direction==="rtl"&&(Ze+=max(c.clientWidth,we.clientWidth)-Ie),{width:Ie,height:Me,x:Ze,y:ne}}function getViewportRect(m,c){const ie=getWindow$1(m),we=getDocumentElement(m),Ie=ie.visualViewport;let Me=we.clientWidth,Ze=we.clientHeight,ne=0,rr=0;if(Ie){Me=Ie.width,Ze=Ie.height;const vr=isWebKit();(!vr||vr&&c==="fixed")&&(ne=Ie.offsetLeft,rr=Ie.offsetTop)}return{width:Me,height:Ze,x:ne,y:rr}}function getInnerBoundingClientRect(m,c){const ie=getBoundingClientRect(m,!0,c==="fixed"),we=ie.top+m.clientTop,Ie=ie.left+m.clientLeft,Me=isHTMLElement(m)?getScale(m):createCoords(1),Ze=m.clientWidth*Me.x,ne=m.clientHeight*Me.y,rr=Ie*Me.x,vr=we*Me.y;return{width:Ze,height:ne,x:rr,y:vr}}function getClientRectFromClippingAncestor(m,c,ie){let we;if(c==="viewport")we=getViewportRect(m,ie);else if(c==="document")we=getDocumentRect(getDocumentElement(m));else if(isElement$1(c))we=getInnerBoundingClientRect(c,ie);else{const Ie=getVisualOffsets(m);we={x:c.x-Ie.x,y:c.y-Ie.y,width:c.width,height:c.height}}return rectToClientRect(we)}function hasFixedPositionAncestor(m,c){const ie=getParentNode(m);return ie===c||!isElement$1(ie)||isLastTraversableNode(ie)?!1:getComputedStyle$2(ie).position==="fixed"||hasFixedPositionAncestor(ie,c)}function getClippingElementAncestors(m,c){const ie=c.get(m);if(ie)return ie;let we=getOverflowAncestors(m,[],!1).filter(ne=>isElement$1(ne)&&getNodeName(ne)!=="body"),Ie=null;const Me=getComputedStyle$2(m).position==="fixed";let Ze=Me?getParentNode(m):m;for(;isElement$1(Ze)&&!isLastTraversableNode(Ze);){const ne=getComputedStyle$2(Ze),rr=isContainingBlock(Ze);!rr&&ne.position==="fixed"&&(Ie=null),(Me?!rr&&!Ie:!rr&&ne.position==="static"&&!!Ie&&["absolute","fixed"].includes(Ie.position)||isOverflowElement(Ze)&&!rr&&hasFixedPositionAncestor(m,Ze))?we=we.filter(lr=>lr!==Ze):Ie=ne,Ze=getParentNode(Ze)}return c.set(m,we),we}function getClippingRect(m){let{element:c,boundary:ie,rootBoundary:we,strategy:Ie}=m;const Ze=[...ie==="clippingAncestors"?isTopLayer(c)?[]:getClippingElementAncestors(c,this._c):[].concat(ie),we],ne=Ze[0],rr=Ze.reduce((vr,lr)=>{const yr=getClientRectFromClippingAncestor(c,lr,Ie);return vr.top=max(yr.top,vr.top),vr.right=min(yr.right,vr.right),vr.bottom=min(yr.bottom,vr.bottom),vr.left=max(yr.left,vr.left),vr},getClientRectFromClippingAncestor(c,ne,Ie));return{width:rr.right-rr.left,height:rr.bottom-rr.top,x:rr.left,y:rr.top}}function getDimensions(m){const{width:c,height:ie}=getCssDimensions(m);return{width:c,height:ie}}function getRectRelativeToOffsetParent(m,c,ie){const we=isHTMLElement(c),Ie=getDocumentElement(c),Me=ie==="fixed",Ze=getBoundingClientRect(m,!0,Me,c);let ne={scrollLeft:0,scrollTop:0};const rr=createCoords(0);if(we||!we&&!Me)if((getNodeName(c)!=="body"||isOverflowElement(Ie))&&(ne=getNodeScroll(c)),we){const kr=getBoundingClientRect(c,!0,Me,c);rr.x=kr.x+c.clientLeft,rr.y=kr.y+c.clientTop}else Ie&&(rr.x=getWindowScrollBarX(Ie));const vr=Ie&&!we&&!Me?getHTMLOffset(Ie,ne):createCoords(0),lr=Ze.left+ne.scrollLeft-rr.x-vr.x,yr=Ze.top+ne.scrollTop-rr.y-vr.y;return{x:lr,y:yr,width:Ze.width,height:Ze.height}}function isStaticPositioned(m){return getComputedStyle$2(m).position==="static"}function getTrueOffsetParent(m,c){if(!isHTMLElement(m)||getComputedStyle$2(m).position==="fixed")return null;if(c)return c(m);let ie=m.offsetParent;return getDocumentElement(m)===ie&&(ie=ie.ownerDocument.body),ie}function getOffsetParent(m,c){const ie=getWindow$1(m);if(isTopLayer(m))return ie;if(!isHTMLElement(m)){let Ie=getParentNode(m);for(;Ie&&!isLastTraversableNode(Ie);){if(isElement$1(Ie)&&!isStaticPositioned(Ie))return Ie;Ie=getParentNode(Ie)}return ie}let we=getTrueOffsetParent(m,c);for(;we&&isTableElement(we)&&isStaticPositioned(we);)we=getTrueOffsetParent(we,c);return we&&isLastTraversableNode(we)&&isStaticPositioned(we)&&!isContainingBlock(we)?ie:we||getContainingBlock(m)||ie}const getElementRects=async function(m){const c=this.getOffsetParent||getOffsetParent,ie=this.getDimensions,we=await ie(m.floating);return{reference:getRectRelativeToOffsetParent(m.reference,await c(m.floating),m.strategy),floating:{x:0,y:0,width:we.width,height:we.height}}};function isRTL(m){return getComputedStyle$2(m).direction==="rtl"}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$1,isRTL},offset=offset$1,autoPlacement=autoPlacement$1,shift=shift$1,size=size$1,computePosition=(m,c,ie)=>{const we=new Map,Ie={platform,...ie},Me={...Ie.platform,_c:we};return computePosition$1(m,c,{...Ie,platform:Me})};function isComponentPublicInstance(m){return m!=null&&typeof m=="object"&&"$el"in m}function unwrapElement(m){if(isComponentPublicInstance(m)){const c=m.$el;return isNode$2(c)&&getNodeName(c)==="#comment"?null:c}return m}function toValue$1(m){return typeof m=="function"?m():vue.unref(m)}function getDPR(m){return typeof window>"u"?1:(m.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(m,c){const ie=getDPR(m);return Math.round(c*ie)/ie}function useFloating(m,c,ie){ie===void 0&&(ie={});const we=ie.whileElementsMounted,Ie=vue.computed(()=>{var fi;return(fi=toValue$1(ie.open))!=null?fi:!0}),Me=vue.computed(()=>toValue$1(ie.middleware)),Ze=vue.computed(()=>{var fi;return(fi=toValue$1(ie.placement))!=null?fi:"bottom"}),ne=vue.computed(()=>{var fi;return(fi=toValue$1(ie.strategy))!=null?fi:"absolute"}),rr=vue.computed(()=>{var fi;return(fi=toValue$1(ie.transform))!=null?fi:!0}),vr=vue.computed(()=>unwrapElement(m.value)),lr=vue.computed(()=>unwrapElement(c.value)),yr=vue.ref(0),kr=vue.ref(0),Br=vue.ref(ne.value),Ar=vue.ref(Ze.value),Pr=vue.shallowRef({}),Vr=vue.ref(!1),ei=vue.computed(()=>{const fi={position:Br.value,left:"0",top:"0"};if(!lr.value)return fi;const di=roundByDPR(lr.value,yr.value),li=roundByDPR(lr.value,kr.value);return rr.value?{...fi,transform:"translate("+di+"px, "+li+"px)",...getDPR(lr.value)>=1.5&&{willChange:"transform"}}:{position:Br.value,left:di+"px",top:li+"px"}});let Nr;function Zr(){if(vr.value==null||lr.value==null)return;const fi=Ie.value;computePosition(vr.value,lr.value,{middleware:Me.value,placement:Ze.value,strategy:ne.value}).then(di=>{yr.value=di.x,kr.value=di.y,Br.value=di.strategy,Ar.value=di.placement,Pr.value=di.middlewareData,Vr.value=fi!==!1})}function Wr(){typeof Nr=="function"&&(Nr(),Nr=void 0)}function oi(){if(Wr(),we===void 0){Zr();return}if(vr.value!=null&&lr.value!=null){Nr=we(vr.value,lr.value,Zr);return}}function ui(){Ie.value||(Vr.value=!1)}return vue.watch([Me,Ze,ne,Ie],Zr,{flush:"sync"}),vue.watch([vr,lr],oi,{flush:"sync"}),vue.watch(Ie,ui,{flush:"sync"}),vue.getCurrentScope()&&vue.onScopeDispose(Wr),{x:vue.shallowReadonly(yr),y:vue.shallowReadonly(kr),strategy:vue.shallowReadonly(Br),placement:vue.shallowReadonly(Ar),middlewareData:vue.shallowReadonly(Pr),isPositioned:vue.shallowReadonly(Vr),floatingStyles:ei,update:Zr}}const _hoisted_1$S=["data-bx-popover-id"],_hoisted_2$C=["data-origin","data-placement"],_hoisted_3$r={class:"popover-inner"},_sfc_main$15=vue.defineComponent({__name:"PopoverElement",props:{floatingElement:{},styles:{},customClasses:{},alignment:{},allowedPlacements:{},arrow:{type:Boolean},bxPopoverId:{},noPointerEvents:{type:Boolean,default:!1},overflowVisible:{type:Boolean},capturedContext:{default:()=>({})}},emits:["close","click-outside","mouseenter","mouseleave"],setup(m,{emit:c}){const ie=m;ie.capturedContext&&Object.entries(ie.capturedContext).forEach(([Ar,Pr])=>{const Vr=typeof Ar=="string"&&Ar.startsWith("Symbol(")?Symbol.for(Ar.slice(7,-1)):Ar;vue.provide(Vr,Pr)});const we=c,Ie=vue.computed(()=>ie.floatingElement),Me=vue.ref(),{floatingStyles:Ze,placement:ne,middlewareData:rr}=useFloating(Ie,Me,{middleware:[autoPlacement({autoAlignment:!0,alignment:ie.alignment,allowedPlacements:ie.allowedPlacements}),shift({padding:0}),size({apply({availableWidth:Ar,availableHeight:Pr,elements:Vr}){Vr.floating.style.setProperty("--min-width",`calc(${Ar}px - 70px)`),Vr.floating.style.setProperty("--min-height",`calc(${Pr}px - 70px)`)}})]});function vr(Ar){we("mouseenter",Ar)}function lr(Ar){we("mouseleave",Ar)}const yr=vue.computed(()=>{switch(console.log("calculating origin from placement",ne.value),ne.value){case"right":return[0,.5];case"left":return[1,.5];case"top":return[.5,1];case"bottom":return[.5,0];case"bottom-end":return[1,0];case"bottom-start":return[0,0];case"top-end":return[1,1];case"top-start":return[0,1];case"right-end":return[0,1];case"right-start":return[0,0];case"left-end":return[1,1];case"left-start":return[1,0];default:return[.5,.5]}}),kr=Ar=>{Ar.stopPropagation()},Br=()=>{we("click-outside")};return(Ar,Pr)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["popover-wrapper",{...Object.fromEntries(Ar.customClasses.map(Vr=>[Vr,!0])),"no-pointer-events":Ar.noPointerEvents}]),onClick:Br,"data-bx-popover-id":Ar.bxPopoverId},[vue.createElementVNode("div",{ref_key:"popoverElementRef",ref:Me,class:"popover-element",style:vue.normalizeStyle({...vue.unref(Ze),...Ar.styles}),onClick:kr,onMouseenter:vr,onMouseleave:lr},[vue.createElementVNode("div",{class:vue.normalizeClass(["popover-frame-wrapper",{arrow:Ar.arrow,"overflow-visible":Ar.overflowVisible}]),"data-origin":yr.value,"data-placement":vue.unref(ne),style:vue.normalizeStyle({"--shift-left":"0px","--shift-top":"0px","transform-origin":`calc(${yr.value[0]*100}% - var(--shift-left)) calc(${yr.value[1]*100}% - var(--shift-top))`})},[vue.createElementVNode("div",{class:vue.normalizeClass(["arrow-element",{["placement-"+vue.unref(ne)]:!0}])},Pr[0]||(Pr[0]=[vue.createElementVNode("div",{class:"arrow-symbol"},null,-1)]),2),vue.createElementVNode("div",_hoisted_3$r,[vue.renderSlot(Ar.$slots,"default",{},void 0,!0)])],14,_hoisted_2$C)],36)],10,_hoisted_1$S))}}),PopoverElement_vue_vue_type_style_index_0_scoped_873db143_lang="",PopoverElement=_export_sfc(_sfc_main$15,[["__scopeId","data-v-873db143"]]),_sfc_main$14=vue.defineComponent({__name:"BxPopover",props:{show:{type:Boolean},trigger:{},customStyles:{},customClasses:{},darkenBackground:{type:Boolean,default:!0},allowedPlacements:{default:()=>["top","right","bottom","left","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end"]},arrow:{type:Boolean,default:!0},leaveLazyness:{default:200},overflowVisible:{type:Boolean,default:!1}},emits:["update:show"],setup(m,{expose:c,emit:ie}){const we=m,Ie=ie,Me=vue.useSlots(),Ze=nanoid(),{setSlotRef:ne,slotElements:rr,vNodes:vr}=useSlotVNodes(Me.trigger),lr=vue.ref(!1);vue.watch(lr,()=>{lr.value!==we.show&&Ie("update:show",lr.value)},{immediate:!0}),vue.watch(()=>we.show,()=>{we.show!==lr.value&&(lr.value=we.show)},{immediate:!0});const yr=vue.computed(()=>rr.value[0]),kr=vue.ref(!1),Br=vue.ref(!1);function Ar(){we.trigger==="click"&&(lr.value=!lr.value)}function Pr(){kr.value=!0}function Vr(){kr.value=!1}vue.watch(kr,oi=>{we.trigger==="hover"&&(oi?lr.value=!0:ei())}),vue.watch(Br,oi=>{we.trigger==="hover"&&(oi||ei())});function ei(){setTimeout(()=>{!kr.value&&!Br.value&&(lr.value=!1)},we.leaveLazyness)}let Nr=[];vue.onUnmounted(()=>{for(const oi of Nr)oi.removeEventListener("click",Ar),oi.removeEventListener("mouseenter",Pr),oi.removeEventListener("mouseleave",Vr)}),vue.watch(rr,(oi,ui)=>{if(ui)for(const fi of ui)fi.removeEventListener("click",Ar),fi.removeEventListener("mouseenter",Pr),fi.removeEventListener("mouseleave",Vr);for(const fi of oi)fi.addEventListener("click",Ar),fi.addEventListener("mouseenter",Pr),fi.addEventListener("mouseleave",Vr),fi.nodeType===Node.ELEMENT_NODE&&(fi.dataset.bxTargetPopoverId=Ze);Nr=oi});const Zr=window.bluepicPopupProvider;vue.onMounted(()=>{const oi=document.querySelector(GLOBAL_APP_WRAPPER_SELECTOR);!oi||(oi.classList.add("bluepic-popup-app-wrapper"),oi.parentElement?.classList.add("bluepic-popup-body"))}),vue.onUnmounted(()=>{for(const oi of rr.value)oi.removeEventListener("click",Ar);console.log("BX POPOVER UNMOUNTED",Ze),Zr.popoverProviderRef.pull(Ze)});const Wr=captureCurrentContext();return vue.watch(lr,()=>{lr.value?Zr.popoverProviderRef.push(Ze,()=>vue.h(PopoverElement,{floatingElement:yr.value,styles:{...we.customStyles},customClasses:we.customClasses??[],onClose(){lr.value=!1},arrow:we.arrow,allowedPlacements:we.allowedPlacements,bxPopoverId:Ze,noPointerEvents:we.trigger==="hover"||we.trigger==="manual",overflowVisible:we.overflowVisible,capturedContext:Wr,onMouseenter(){Br.value=!0},onMouseleave(){Br.value=!1}},{default:()=>Me.content()}),{darkenBackground:we.darkenBackground,handleClickOutside(){we.trigger==="click"&&(lr.value=!1)}}):Zr.popoverProviderRef.pull(Ze)}),c({close(){lr.value=!1},show(){lr.value=!0},destroy(){}}),(oi,ui)=>(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(vr),(fi,di)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(fi),{ref_for:!0,ref:vue.unref(ne)(di)},null,512))),256))}}),BxPopover_vue_vue_type_style_index_0_scoped_98c4827f_lang="",BxPopover=_export_sfc(_sfc_main$14,[["__scopeId","data-v-98c4827f"]]),_hoisted_1$R=["onClick"],_hoisted_2$B={key:0,class:"icon-wrapper"},_hoisted_3$q={key:1,class:"icon-wrapper"},_hoisted_4$i={key:3},_hoisted_5$d={key:5,class:"active-symbol"},_sfc_main$13=vue.defineComponent({__name:"BxMenu",props:{items:{},primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},showActiveSymbol:{type:Boolean,default:!0}},emits:["action"],setup(m,{emit:c}){const ie=c,we=vue.useSlots();function Ie(Me){ie("action",Me)}return(Me,Ze)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-menu",{primary:Me.primary,secondary:Me.secondary}])},[we["render-items"]?vue.renderSlot(Me.$slots,"render-items",{key:0,items:Me.items},void 0,!0):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(Me.items,(ne,rr)=>(vue.openBlock(),vue.createElementBlock("div",{key:rr,onClick:vr=>Ie(ne),class:vue.normalizeClass(["bx-menu__item",{active:ne.isActive===!0}])},[we["render-item-icon"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$B,[vue.renderSlot(Me.$slots,"render-item-icon",{item:ne,isActive:ne.isActive===!0},void 0,!0)])):ne.icon?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$q,[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(ne.icon())))])):vue.createCommentVNode("",!0),we["render-item-label"]?vue.renderSlot(Me.$slots,"render-item-label",{key:2,item:ne,isActive:ne.isActive===!0},void 0,!0):(vue.openBlock(),vue.createElementBlock("span",_hoisted_4$i,vue.toDisplayString(ne.label),1)),ne.suffix?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(ne.suffix()),{key:4})):vue.createCommentVNode("",!0),Me.showActiveSymbol?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$d,[we["render-item-active-symbol"]?vue.renderSlot(Me.$slots,"render-item-active-symbol",{key:0,item:ne,isActive:ne.isActive===!0},void 0,!0):(vue.openBlock(),vue.createBlock(BxIcon,{key:1,size:14,style:vue.normalizeStyle({opacity:ne.isActive===!0?1:0})},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CheckmarkOutline))]),_:2},1032,["style"]))])):vue.createCommentVNode("",!0)],10,_hoisted_1$R))),128))],2))}}),BxMenu_vue_vue_type_style_index_0_scoped_10534482_lang="",BxMenu=_export_sfc(_sfc_main$13,[["__scopeId","data-v-10534482"]]);function useElementBounding$1(m){const c=vue.ref(),ie=()=>{m.value&&(c.value=m.value.getBoundingClientRect())};vue.onMounted(()=>{ie(),window.addEventListener("resize",ie)});const we=new ResizeObserver(()=>{ie()}),Ie=new MutationObserver(()=>{ie()}),Me=vue.watch(m,(Ze,ne)=>{Ze&&!ne&&(we.observe(Ze),Ie.observe(Ze,{attributes:!0,childList:!0,subtree:!0}))});return vue.onBeforeUnmount(()=>{window.removeEventListener("resize",ie),Me(),we.disconnect(),Ie.disconnect()}),{rect:c,width:vue.computed(()=>c.value?.width),height:vue.computed(()=>c.value?.height),x:vue.computed(()=>c.value?.x),y:vue.computed(()=>c.value?.y)}}const _hoisted_1$Q={key:0,class:"prefix-wrapper"},_hoisted_2$A={key:1,class:"prefix-wrapper"},_hoisted_3$p={class:"select-value"},_hoisted_4$h={class:"suffix-wrapper"},iconSize="24px",_sfc_main$12=vue.defineComponent({__name:"BxSelect",props:vue.mergeModels({trigger:{default:"click"},options:{},disabled:{type:Boolean,default:!1},placeholderActiveLabel:{}},{modelValue:{required:!1},modelModifiers:{},show:{type:Boolean,required:!1,default:!1},showModifiers:{}}),emits:["update:modelValue","update:show"],setup(m,{expose:c}){const ie=m,we=vue.useSlots(),Ie=vue.useModel(m,"modelValue"),Me=vue.ref(),{width:Ze}=useElementBounding$1(Me);vue.watchEffect(()=>{console.log("bxSelectMainWidth",Ze.value)});const ne=vue.ref(),rr=vue.useModel(m,"show"),vr=vue.computed(()=>ie.options.find(Pr=>Pr.value===Ie.value)?.label),lr=vue.computed(()=>{const Ar=ie.options.find(Pr=>Pr.value===Ie.value);if(!!Ar)return we["render-option-icon"]?()=>we["render-option-icon"]({option:Ar,isActive:yr(Ar)}):Ar.icon});function yr(Ar){return Ar.value===Ie.value}vue.watch(Ie,()=>{ne.value?.close()});const kr=Ar=>{const Pr=ie.options[Number(Ar.key)];Pr&&(Ie.value=Pr.value)};c({closePopover(){ne.value?.close()},showPopover(){ne.value?.show()}});const Br=vue.computed(()=>ie.options.map((Ar,Pr)=>({label:Ar.label,key:Pr,icon:Ar.icon,isActive:yr(Ar)})));return(Ar,Pr)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"bxSelectMainRef",ref:Me,class:vue.normalizeClass(["bx-select",{disabled:Ar.disabled}]),style:vue.normalizeStyle({"--icon-size":iconSize})},[vue.createVNode(BxPopover,{ref_key:"popoverRef",ref:ne,trigger:Ar.trigger,"allowed-placements":["bottom","top"],arrow:!1,"darken-background":!1,"custom-classes":["bx-select-popover"],show:rr.value,"onUpdate:show":Pr[0]||(Pr[0]=Vr=>rr.value=Vr)},{trigger:vue.withCtx(()=>[we.trigger?vue.renderSlot(Ar.$slots,"trigger",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["select-trigger",{focus:rr.value}])},[we.prefix?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$Q,[vue.renderSlot(Ar.$slots,"prefix",{},void 0,!0)])):lr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$A,[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(lr.value)))])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_3$p,[vue.createElementVNode("span",{class:vue.normalizeClass({placeholder:vr.value===void 0})},[we.label?vue.renderSlot(Ar.$slots,"label",{key:0,label:vr.value??Ar.placeholderActiveLabel},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(vr.value??Ar.placeholderActiveLabel),1)],64))],2)]),vue.createElementVNode("div",_hoisted_4$h,[we.suffix?vue.renderSlot(Ar.$slots,"suffix",{key:0},void 0,!0):(vue.openBlock(),vue.createBlock(BxIcon,{key:1,size:14},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ChevronDownOutline))]),_:1}))])],2))]),content:vue.withCtx(()=>[vue.createVNode(BxMenu,{items:Br.value,secondary:"",onAction:kr,style:vue.normalizeStyle({width:`calc(${vue.unref(Ze)}px - 8px)`})},null,8,["items","style"])]),_:3},8,["trigger","show"])],6))}}),BxSelect_vue_vue_type_style_index_0_scoped_499733ca_lang="",BxSelect_vue_vue_type_style_index_1_lang="",BxSelect=_export_sfc(_sfc_main$12,[["__scopeId","data-v-499733ca"]]),_hoisted_1$P={class:"tooltip-wrapper"},_sfc_main$11=vue.defineComponent({__name:"BxTooltip",props:vue.mergeModels({trigger:{},allowedPlacements:{},customPopoverClasses:{}},{show:{type:Boolean,required:!1,default:!1},showModifiers:{}}),emits:["update:show"],setup(m){const c=vue.useModel(m,"show"),ie=m,we=vue.useSlots(),Ie=vue.ref(),{setSlotRef:Me,slotElements:Ze,vNodes:ne}=useSlotVNodes(we.trigger);function rr(vr){}return vue.watch(Ze,()=>{for(const vr of Ze.value)vr.addEventListener("click",rr)}),vue.onUnmounted(()=>{for(const vr of Ze.value)vr.removeEventListener("click",rr)}),(vr,lr)=>(vue.openBlock(),vue.createBlock(BxPopover,{ref_key:"popover",ref:Ie,show:c.value,"onUpdate:show":lr[0]||(lr[0]=yr=>c.value=yr),trigger:vr.trigger,"darken-background":!1,"allowed-placements":vr.allowedPlacements,"custom-classes":["tooltip-popover",...ie.customPopoverClasses??[]],"overflow-visible":!0},{trigger:vue.withCtx(()=>[vue.renderSlot(vr.$slots,"trigger",{},void 0,!0)]),content:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$P,[vue.renderSlot(vr.$slots,"content",{},void 0,!0)])]),_:3},8,["show","trigger","allowed-placements","custom-classes"]))}}),BxTooltip_vue_vue_type_style_index_0_scoped_0c1f2710_lang="",BxTooltip_vue_vue_type_style_index_1_lang="",BxTooltip=_export_sfc(_sfc_main$11,[["__scopeId","data-v-0c1f2710"]]),_hoisted_1$O={key:0,class:"bx-input__prefix"},_hoisted_2$z=["placeholder","readonly"],_hoisted_3$o=["readonly","placeholder","type"],_hoisted_4$g={key:1,class:"bx-input__suffix"},_hoisted_5$c={key:0,class:"bx-input__loading-wrapper"},_hoisted_6$8={key:1,class:"bx-input__footer"},_hoisted_7$6={key:0,class:"bx-input__clear"},_hoisted_8$5={key:1,class:"bx-input__word-count"},_hoisted_9$4={class:"text-overflow-errors"},_hoisted_10$4={key:0,class:"text-err"},_hoisted_11$4={class:"overflow-label"},_hoisted_12$3={key:1,class:"text-err"},_hoisted_13$3={class:"overflow-label"},_hoisted_14$3={key:2,class:"text-err"},_hoisted_15$3={class:"index-label"},_hoisted_16$3={class:"overflow-label"},_sfc_main$10=vue.defineComponent({__name:"BxInput",props:vue.mergeModels({size:{default:"medium"},loading:{type:Boolean,default:!1},round:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},inputProps:{default:()=>({})},placeholder:{},validator:{},maxLength:{default:1/0},maxLineLength:{default:1/0},maxLines:{default:1/0},showWordCount:{type:Boolean,default:!1},type:{default:"text"},state:{default:"default"},clearable:{type:Boolean,default:!1},resizeable:{type:Boolean,default:!0},richtext:{},maxHeight:{default:"100px"},readonly:{type:Boolean,default:!1}},{modelValue:{type:[String,Number,Boolean,Array],required:!1,default:""},modelModifiers:{}}),emits:vue.mergeModels(["enter","focus","blur"],["update:modelValue"]),setup(m,{expose:c,emit:ie}){const we=m,Ie=ie,Me=vue.useSlots(),Ze=vue.useModel(m,"modelValue"),ne=vue.ref(Ze.value),rr=vue.ref([]),vr=vue.ref(0),lr=vue.ref(0),yr=vue.computed(()=>{if(rr.value.length>0||vr.value>0||lr.value>0)return{lineOverflows:rr.value.length>0?rr.value:void 0,overlowingLines:vr.value>0?vr.value:void 0,overflowingCharacters:lr.value>0?lr.value:void 0}}),kr=vue.computed({get(){return yr.value!==void 0},set(pr){}}),Br=vue.computed(()=>String(ne.value).split(`
|
|
70
70
|
`).slice(0,we.maxLines??1/0).map(nr=>nr.slice(0,we.maxLineLength??1/0)).join(`
|
|
71
71
|
`).slice(0,we.maxLength??1/0));vue.watch(Ze,pr=>{pr!==Br.value&&(ne.value=pr)}),vue.watch(ne,pr=>{if(typeof pr=="object"&&pr!==null)Ze.value=sliceRichText$1(pr,0,we.maxLength);else{const nr=String(pr).split(`
|
|
72
72
|
`);Ze.value!==Br.value&&(Ze.value=Br.value),we.maxLineLength!==1/0&&we.maxLineLength!==null&&(rr.value=nr.filter($e=>$e.length>(we.maxLineLength??1/0)).map($e=>({index:nr.indexOf($e),length:$e.length}))),we.maxLines!==1/0&&we.maxLines!==null&&(vr.value=Math.max(0,String(pr).split(`
|
|
73
73
|
`).length-(we.maxLines??1/0))),we.maxLength!==1/0&&we.maxLength!==null&&(lr.value=String(pr).length-we.maxLength)}});const Ar=vue.computed({get(){return getRawText(Pr.value)},set(pr){we.richtext?ne.value=[{text:pr,format:{}}]:ne.value=pr}}),Pr=vue.computed({get(){return typeof ne.value=="string"?[{text:ne.value,format:{}}]:typeof ne.value=="boolean"?[{text:ne.value?"true":"false",format:{}}]:typeof ne.value=="number"?[{text:ne.value.toString(),format:{}}]:ne.value},set(pr){we.richtext?ne.value=pr:ne.value=getRawText(pr)}}),Vr=vue.ref(),ei=vue.ref(),Nr=vue.ref(!1);vue.watch(Nr,()=>{Nr.value?Ie("focus"):Ie("blur")});function Zr(pr){Nr.value=!0}function Wr(pr){Nr.value=!1}vue.watch(ei,(pr,br)=>{pr&&(br&&(br.removeEventListener("focus",Zr),br.removeEventListener("blur",Wr)),pr.addEventListener("focus",Zr),pr.addEventListener("blur",Wr))});const oi=()=>{we.disabled||ei.value?.focus()},ui=pr=>{pr.key==="Enter"&&Ie("enter",pr)},fi=vue.ref(""),di=vue.computed(()=>{const pr=we.richtext?fi.value:ne.value;return[...new Intl.Segmenter().segment(pr)].length});function li(pr){return pr.en}const hi=vue.ref(),gr=vue.ref({start:0,length:0}),Ae=vue.computed({get(){const pr=Vr.value?.richTextInstance;if(!pr)return;const nr=pr.resolveFeatures(gr.value.start,gr.value.length).flat(),$e=tr(nr);if($e!==void 0)return $e===null?"multiple":ze.value.find(ur=>isEqual(ur.value,$e))?.value},set(pr){const br=Vr.value?.richTextInstance;!br||pr!=="multiple"&&(pr===void 0?br.applyFormat(gr.value.start,gr.value.length,{}):(br.resolveFeatures(gr.value.start,gr.value.length),br.applyFormat(gr.value.start,gr.value.length,pr)),Ue.value.closePopover())}});vue.watch(hi,()=>{!hi.value||(gr.value=hi.value)});const ze=vue.computed(()=>we.richtext?[{label:li(we.richtext.noStyleLabel),value:void 0},...we.richtext.options.map((pr,br)=>({label:pr.label,value:pr.style}))]:[]),Ue=vue.ref();function tr(pr){let br=!1,nr;for(const $e of pr)if(!nr)nr=$e.format;else if(!isEqual(nr,$e.format)){br=!0;break}return br?null:nr}function or(){we.richtext?Pr.value=[{text:"",format:{}}]:Ze.value=""}return vue.onUnmounted(()=>{rr.value=[],vr.value=0,lr.value=0}),c({inputEelRef:ei,setFocus(pr){pr?ei.value?.focus():ei.value?.blur()}}),(pr,br)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-input",{readonly:pr.readonly}])},[pr.richtext?(vue.openBlock(),vue.createBlock(BxSelect,{key:0,ref_key:"bxSelectRef",ref:Ue,class:"select-richtext",modelValue:Ae.value,"onUpdate:modelValue":br[0]||(br[0]=nr=>Ae.value=nr),options:ze.value,disabled:!gr.value||gr.value.length===0},{label:vue.withCtx(({label:nr})=>[vue.createTextVNode(vue.toDisplayString(nr??"Multiple"),1)]),_:1},8,["modelValue","options","disabled"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",{class:vue.normalizeClass(["bx-input-wrapper",{focus:Nr.value,round:pr.round,["size-"+pr.size]:pr.size,disabled:pr.disabled,"rich-text":pr.richtext,error:kr.value}]),style:vue.normalizeStyle({"--max-height":pr.richtext?`calc(${pr.maxHeight} - 48px)`:pr.maxHeight}),onClick:oi},[Me.prefix?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$O,[vue.renderSlot(pr.$slots,"prefix",{},void 0,!0)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",{class:vue.normalizeClass(["bx-input__input",{"swiper-no-swiping":Nr.value}])},[pr.richtext?(vue.openBlock(),vue.createBlock(BxRichtextInput,{key:0,ref_key:"bxRichTextInstance",ref:Vr,modelValue:Pr.value,"onUpdate:modelValue":br[1]||(br[1]=nr=>Pr.value=nr),selection:hi.value,"onUpdate:selection":br[2]||(br[2]=nr=>hi.value=nr),"raw-text":fi.value,"onUpdate:rawText":br[3]||(br[3]=nr=>fi.value=nr),focus:Nr.value,"onUpdate:focus":br[4]||(br[4]=nr=>Nr.value=nr)},null,8,["modelValue","selection","raw-text","focus"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[pr.type==="textarea"?vue.withDirectives((vue.openBlock(),vue.createElementBlock("textarea",{key:0,ref_key:"inputEelRef",ref:ei,class:vue.normalizeClass({resizeable:pr.resizeable}),"onUpdate:modelValue":br[5]||(br[5]=nr=>Ar.value=nr),placeholder:pr.placeholder,onKeydown:ui,style:vue.normalizeStyle({"--lines":Math.max(4,Ze.value.toString().split(`
|
|
74
|
-
`).length)}),readonly:pr.readonly},null,46,_hoisted_2$z)),[[vue.vModelText,Ar.value]]):vue.withDirectives((vue.openBlock(),vue.createElementBlock("input",{key:1,ref_key:"inputEelRef",ref:ei,"onUpdate:modelValue":br[6]||(br[6]=nr=>Ze.value=nr),readonly:pr.readonly,placeholder:pr.placeholder,type:pr.type,onKeydown:ui},null,40,_hoisted_3$o)),[[vue.vModelDynamic,Ze.value]])],64)),br[7]||(br[7]=vue.createElementVNode("div",{class:"bx-input__actions"},null,-1))],2),Me.suffix?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$g,[Me.loading||pr.loading?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$c,[Me.loading?vue.renderSlot(pr.$slots,"loading",{key:0},void 0,!0):(vue.openBlock(),vue.createBlock(BxSpin,{key:1}))])):vue.createCommentVNode("",!0),vue.renderSlot(pr.$slots,"suffix",{},void 0,!0)])):vue.createCommentVNode("",!0)],6),pr.clearable||pr.showWordCount||kr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$9,[pr.clearable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$6,[vue.createVNode(BxButton,{class:"clear-btn",size:"small",tertiary:"",onClick:or},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),default:vue.withCtx(()=>[br[8]||(br[8]=vue.createTextVNode(" Clear "))]),_:1})])):vue.createCommentVNode("",!0),pr.showWordCount?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$5,[pr.maxLength&&pr.maxLength!==1/0?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(di.value)+" / "+vue.toDisplayString(pr.maxLength),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(di.value),1)],64))])):vue.createCommentVNode("",!0),kr.value?(vue.openBlock(),vue.createBlock(BxTooltip,{key:2,trigger:"hover","custom-popover-classes":["text-overflow-tooltip"],"allowed-placements":["bottom","top","right"]},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{circle:"",size:"tiny",secondary:"",state:"error",class:"errors-button"},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(AlertOutline))]),_:1})]),_:1})]),content:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_9$4,[yr.value?.overflowingCharacters?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$4,[vue.createElementVNode("span",_hoisted_11$4,vue.toDisplayString(pr.maxLength+lr.value)+" / "+vue.toDisplayString(pr.maxLength),1),br[9]||(br[9]=vue.createTextVNode(" characters "))])):vue.createCommentVNode("",!0),yr.value?.overlowingLines?(vue.openBlock(),vue.createElementBlock("div",_hoisted_12$3,[vue.createElementVNode("span",_hoisted_13$3,vue.toDisplayString(pr.maxLines+vr.value)+" / "+vue.toDisplayString(pr.maxLines),1),br[10]||(br[10]=vue.createTextVNode(" lines "))])):vue.createCommentVNode("",!0),yr.value?.lineOverflows?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14$3,[br[11]||(br[11]=vue.createTextVNode(" Lines are too long: ")),vue.createElementVNode("ul",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(yr.value.lineOverflows,({index:nr,length:$e})=>(vue.openBlock(),vue.createElementBlock("li",null,[vue.createElementVNode("span",_hoisted_15$3,"("+vue.toDisplayString(nr+1)+")",1),vue.createElementVNode("span",_hoisted_16$3,vue.toDisplayString($e)+" / "+vue.toDisplayString(pr.maxLineLength),1)]))),256))])])):vue.createCommentVNode("",!0)])]),_:1})):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2))}}),BxInput_vue_vue_type_style_index_0_scoped_3fe0edbf_lang="",BxInput_vue_vue_type_style_index_1_lang="",BxInput=_export_sfc(_sfc_main$10,[["__scopeId","data-v-3fe0edbf"]]);function getQuerystring(m){return new URLSearchParams(Object.fromEntries(Object.entries(m).map(([c,ie])=>[c,String(ie)]))).toString()}function usePexels(m){const c=vue.ref([]),ie=vue.ref(0);let we=25;async function Ie(Me,Ze){Ze=Ze??c.value.length??0;const rr=await(await fetch(`https://api.pexels.com/v1/search?${getQuerystring({page:Math.ceil(Ze/we),query:Me,per_page:we})}`,{headers:{Authorization:m}})).json();if("error"in rr)throw new Error(rr.error);ie.value=rr.total_results,c.value=[...c.value.slice(0,Ze),...rr.photos]}return{photos:c,total:ie,searchPhotos:Ie}}const global$1=globalThis||void 0||self;function tryOnScopeDispose(m){return vue.getCurrentScope()?(vue.onScopeDispose(m),!0):!1}function toValue(m){return typeof m=="function"?m():vue.unref(m)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const notNullish=m=>m!=null,toString$1=Object.prototype.toString,isObject$3=m=>toString$1.call(m)==="[object Object]",noop=()=>{};function createFilterWrapper(m,c){function ie(...we){return new Promise((Ie,Me)=>{Promise.resolve(m(()=>c.apply(this,we),{fn:c,thisArg:this,args:we})).then(Ie).catch(Me)})}return ie}function debounceFilter(m,c={}){let ie,we,Ie=noop;const Me=ne=>{clearTimeout(ne),Ie(),Ie=noop};return ne=>{const rr=toValue(m),vr=toValue(c.maxWait);return ie&&Me(ie),rr<=0||vr!==void 0&&vr<=0?(we&&(Me(we),we=null),Promise.resolve(ne())):new Promise((lr,yr)=>{Ie=c.rejectOnCancel?yr:lr,vr&&!we&&(we=setTimeout(()=>{ie&&Me(ie),we=null,lr(ne())},vr)),ie=setTimeout(()=>{we&&Me(we),we=null,lr(ne())},rr)})}}function getLifeCycleTarget(m){return m||vue.getCurrentInstance()}function useDebounceFn(m,c=200,ie={}){return createFilterWrapper(debounceFilter(c,ie),m)}function tryOnMounted(m,c=!0,ie){getLifeCycleTarget()?vue.onMounted(m,ie):c?m():vue.nextTick(m)}function unrefElement(m){var c;const ie=toValue(m);return(c=ie?.$el)!=null?c:ie}const defaultWindow=isClient?window:void 0;function useEventListener(...m){let c,ie,we,Ie;if(typeof m[0]=="string"||Array.isArray(m[0])?([ie,we,Ie]=m,c=defaultWindow):[c,ie,we,Ie]=m,!c)return noop;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(()=>[unrefElement(c),toValue(Ie)],([lr,yr])=>{if(Ze(),!lr)return;const kr=isObject$3(yr)?{...yr}:yr;Me.push(...ie.flatMap(Br=>we.map(Ar=>ne(lr,Br,Ar,kr))))},{immediate:!0,flush:"post"}),vr=()=>{rr(),Ze()};return tryOnScopeDispose(vr),vr}function useMounted(){const m=vue.ref(!1),c=vue.getCurrentInstance();return c&&vue.onMounted(()=>{m.value=!0},c),m}function useSupported(m){const c=useMounted();return vue.computed(()=>(c.value,Boolean(m())))}function useMutationObserver(m,c,ie={}){const{window:we=defaultWindow,...Ie}=ie;let Me;const Ze=useSupported(()=>we&&"MutationObserver"in we),ne=()=>{Me&&(Me.disconnect(),Me=void 0)},rr=vue.computed(()=>{const kr=toValue(m),Br=(Array.isArray(kr)?kr:[kr]).map(unrefElement).filter(notNullish);return new Set(Br)}),vr=vue.watch(()=>rr.value,kr=>{ne(),Ze.value&&kr.size&&(Me=new MutationObserver(c),kr.forEach(Br=>Me.observe(Br,Ie)))},{immediate:!0,flush:"post"}),lr=()=>Me?.takeRecords(),yr=()=>{ne(),vr()};return tryOnScopeDispose(yr),{isSupported:Ze,stop:yr,takeRecords:lr}}function useMediaQuery(m,c={}){const{window:ie=defaultWindow}=c,we=useSupported(()=>ie&&"matchMedia"in ie&&typeof ie.matchMedia=="function");let Ie;const Me=vue.ref(!1),Ze=vr=>{Me.value=vr.matches},ne=()=>{!Ie||("removeEventListener"in Ie?Ie.removeEventListener("change",Ze):Ie.removeListener(Ze))},rr=vue.watchEffect(()=>{!we.value||(ne(),Ie=ie.matchMedia(toValue(m)),"addEventListener"in Ie?Ie.addEventListener("change",Ze):Ie.addListener(Ze),Me.value=Ie.matches)});return tryOnScopeDispose(()=>{rr(),ne(),Ie=void 0}),Me}typeof globalThis<"u"||typeof window<"u"||typeof global$1<"u"||typeof self<"u";function useResizeObserver(m,c,ie={}){const{window:we=defaultWindow,...Ie}=ie;let Me;const Ze=useSupported(()=>we&&"ResizeObserver"in we),ne=()=>{Me&&(Me.disconnect(),Me=void 0)},rr=vue.computed(()=>Array.isArray(m)?m.map(yr=>unrefElement(yr)):[unrefElement(m)]),vr=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(),vr()};return tryOnScopeDispose(lr),{isSupported:Ze,stop:lr}}function useElementBounding(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),vr=vue.ref(0),lr=vue.ref(0),yr=vue.ref(0),kr=vue.ref(0),Br=vue.ref(0);function Ar(){const Pr=unrefElement(m);if(!Pr){ie&&(Ze.value=0,ne.value=0,rr.value=0,vr.value=0,lr.value=0,yr.value=0,kr.value=0,Br.value=0);return}const Vr=Pr.getBoundingClientRect();Ze.value=Vr.height,ne.value=Vr.bottom,rr.value=Vr.left,vr.value=Vr.right,lr.value=Vr.top,yr.value=Vr.width,kr.value=Vr.x,Br.value=Vr.y}return useResizeObserver(m,Ar),vue.watch(()=>unrefElement(m),Pr=>!Pr&&Ar()),useMutationObserver(m,Ar,{attributeFilter:["style","class"]}),Ie&&useEventListener("scroll",Ar,{capture:!0,passive:!0}),we&&useEventListener("resize",Ar,{passive:!0}),tryOnMounted(()=>{Me&&Ar()}),{height:Ze,bottom:ne,left:rr,right:vr,top:lr,width:yr,x:kr,y:Br,update:Ar}}function useIntersectionObserver(m,c,ie={}){const{root:we,rootMargin:Ie="0px",threshold:Me=.1,window:Ze=defaultWindow,immediate:ne=!0}=ie,rr=useSupported(()=>Ze&&"IntersectionObserver"in Ze),vr=vue.computed(()=>{const Ar=toValue(m);return(Array.isArray(Ar)?Ar:[Ar]).map(unrefElement).filter(notNullish)});let lr=noop;const yr=vue.ref(ne),kr=rr.value?vue.watch(()=>[vr.value,unrefElement(we),yr.value],([Ar,Pr])=>{if(lr(),!yr.value||!Ar.length)return;const Vr=new IntersectionObserver(c,{root:unrefElement(Pr),rootMargin:Ie,threshold:Me});Ar.forEach(ei=>ei&&Vr.observe(ei)),lr=()=>{Vr.disconnect(),lr=noop}},{immediate:ne,flush:"post"}):noop,Br=()=>{lr(),kr(),yr.value=!1};return tryOnScopeDispose(Br),{isSupported:rr,isActive:yr,pause(){lr(),yr.value=!1},resume(){yr.value=!0},stop:Br}}function useElementVisibility(m,c={}){const{window:ie=defaultWindow,scrollTarget:we,threshold:Ie=0}=c,Me=vue.ref(!1);return useIntersectionObserver(m,Ze=>{let ne=Me.value,rr=0;for(const vr of Ze)vr.time>=rr&&(rr=vr.time,ne=vr.isIntersecting);Me.value=ne},{root:we,window:ie,threshold:Ie}),Me}function useWindowSize(m={}){const{window:c=defaultWindow,initialWidth:ie=Number.POSITIVE_INFINITY,initialHeight:we=Number.POSITIVE_INFINITY,listenOrientation:Ie=!0,includeScrollbar:Me=!0}=m,Ze=vue.ref(ie),ne=vue.ref(we),rr=()=>{c&&(Me?(Ze.value=c.innerWidth,ne.value=c.innerHeight):(Ze.value=c.document.documentElement.clientWidth,ne.value=c.document.documentElement.clientHeight))};if(rr(),tryOnMounted(rr),useEventListener("resize",rr,{passive:!0}),Ie){const vr=useMediaQuery("(orientation: portrait)");vue.watch(vr,()=>rr())}return{width:Ze,height:ne}}const _sfc_main$$=vue.defineComponent({__name:"LazyLoadingItemWrapper",emits:["update:visible"],setup(m,{emit:c}){vue.ref();const ie=c,we=vue.ref(),Ie=useElementVisibility(we);return ie("update:visible",Ie.value),vue.watch(Ie,(Me,Ze)=>{!Ze&&Me&&ie("update:visible",Ie.value)}),(Me,Ze)=>(vue.openBlock(),vue.createElementBlock("div",{class:"item-wrapper",ref_key:"itemWrapperRef",ref:we},[vue.renderSlot(Me.$slots,"default")],512))}}),_sfc_main$_=vue.defineComponent({__name:"LazyLoading",props:{items:{},total:{},fetch:{type:Function},visibleTriggerOffset:{}},setup(m){vue.ref();const c=m;c.fetch(0);const ie=(we,Ie)=>{Ie&&we>=c.items.length-c.visibleTriggerOffset-1&&c.total>c.items.length&&c.fetch()};return(we,Ie)=>(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(we.items,(Me,Ze)=>(vue.openBlock(),vue.createBlock(_sfc_main$$,{key:Ze,class:"item-wrapper",item:Me,index:Ze,"onUpdate:visible":ne=>ie(Ze,ne)},{default:vue.withCtx(()=>[vue.renderSlot(we.$slots,"item",{item:Me,index:Ze})]),_:2},1032,["item","index","onUpdate:visible"]))),128))}}),_hoisted_1$N={class:"bx-empty"},_hoisted_2$y={key:0,class:"icon-wrapper"},_hoisted_3$n={key:1,class:"title"},_hoisted_4$f={key:2,class:"description"},_sfc_main$Z=vue.defineComponent({__name:"BxEmpty",props:{title:{},description:{}},setup(m){const c=vue.useSlots();return(ie,we)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$N,[c.icon?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$y,[vue.renderSlot(ie.$slots,"icon",{},void 0,!0)])):vue.createCommentVNode("",!0),ie.title||c.title?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$n,[c.title?vue.renderSlot(ie.$slots,"title",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(ie.title),1)],64))])):vue.createCommentVNode("",!0),ie.description||c.description?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$f,[c.description?vue.renderSlot(ie.$slots,"description",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(ie.description),1)],64))])):vue.createCommentVNode("",!0)]))}}),BxEmpty_vue_vue_type_style_index_0_scoped_2b4dcd9d_lang="",BxEmpty=_export_sfc(_sfc_main$Z,[["__scopeId","data-v-2b4dcd9d"]]),_hoisted_1$M={class:"image-library-pexels"},_hoisted_2$x={class:"search-bar-wrapper"},_hoisted_3$m={key:0,class:"photos"},_hoisted_4$e=["onClick"],_hoisted_5$b={class:"preview"},_hoisted_6$8=["src"],_hoisted_7$5={key:1,class:"loading-wrapper"},_sfc_main$Y=vue.defineComponent({__name:"Pexels",props:{apiKey:{},width:{},height:{}},emits:["select"],setup(m,{emit:c}){const ie=m,we=c,Ie=vue.ref("city");console.log("pexels api key",ie.apiKey);const{searchPhotos:Me,photos:Ze,total:ne}=usePexels(ie.apiKey),rr=vue.ref(),vr=vue.ref(!1);async function lr(){Ie.value.length>0&&(vr.value=!0,ne.value=25,Ze.value=[],await Me(Ie.value),rr.value=Ie.value,vr.value=!1)}async function yr(Br,Ar){await Me(Ie.value,Br)}function kr(Br){const Ar=(Br.width??1)/(Br.height??1),Pr=ie.width/ie.height,Vr=Ar>=Pr?"height":"width",ei=`https://really.blue/cdn-cgi/image/${Vr}=${Vr==="width"?ie.width:ie.height},quality=75/${Br.src.original}`;we("select",ei)}return(Br,Ar)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$M,[vue.createElementVNode("header",null,[vue.createElementVNode("div",_hoisted_2$x,[vue.createVNode(BxInput,{modelValue:Ie.value,"onUpdate:modelValue":Ar[0]||(Ar[0]=Pr=>Ie.value=Pr),round:"",placeholder:"Search...",size:"large",onEnter:lr},null,8,["modelValue"]),vue.createVNode(BxButton,{primary:"",round:"",onClick:lr},{default:vue.withCtx(()=>Ar[1]||(Ar[1]=[vue.createTextVNode("Search")])),_:1})])]),vue.createElementVNode("main",null,[rr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$m,[vue.createVNode(_sfc_main$_,{items:vue.unref(Ze),total:vue.unref(ne),fetch:yr,"visible-trigger-offset":0},{item:vue.withCtx(({item:Pr})=>[(vue.openBlock(),vue.createElementBlock("div",{key:Pr.id,class:"photo-wrapper",onClick:Vr=>kr(Pr)},[vue.createElementVNode("div",_hoisted_5$b,[vue.createElementVNode("img",{src:Pr.src.tiny},null,8,_hoisted_6$8)])],8,_hoisted_4$e))]),_:1},8,["items","total"])])):vr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$5,[vue.createVNode(BxSpin)])):(vue.openBlock(),vue.createBlock(BxEmpty,{key:2,title:"Pexels",description:"Search for images on Pexels"},{icon:vue.withCtx(()=>[vue.createVNode(vue.unref(SearchOutline))]),_:1}))])]))}}),Pexels_vue_vue_type_style_index_0_scopd_true_lang="";function normalizeOnedrive(m,c,ie){return m.map(we=>{const Ie=`https://really.blue/cdn-cgi/image/width=250,quality=75/${we["@microsoft.graph.downloadUrl"]}`,Me=we.image.width/we.image.height,Ze=c/ie,ne=Me>=Ze?"height":"width";return{src:`https://really.blue/cdn-cgi/image/${ne}=${ne==="width"?c:ie},quality=75/${we["@microsoft.graph.downloadUrl"]}`,key:we.id,width:we.image.width,height:we.image.height,previews:{small:{src:Ie,width:we.image.width,height:we.image.height},medium:{src:Ie,width:we.image.width,height:we.image.height}}}})}function normalizeGoogledrive(m,c,ie){return m.map(({thumbnailLink:we,webContentLink:Ie,sha256Checksum:Me,imageMediaMetadata:Ze})=>{const ne=`https://really.blue/cdn-cgi/image/width=250,quality=75/${Ie}`,rr=(Ze?.width??1)/(Ze?.height??1),vr=c/ie,lr=rr>=vr?"height":"width";return{src:`https://really.blue/cdn-cgi/image/${lr}=${lr==="width"?c:ie},quality=75/${Ie}`,key:Me,width:Ze?.width??0,height:Ze?.height??0,previews:{small:{src:ne,width:Ze?.width??0,height:Ze?.height??0},medium:{src:ne,width:Ze?.width??0,height:Ze?.height??0}}}})}function useSharedDrive(m,c,ie,we){const Ie=vue.ref();return{sharedItems:Ie,fetchSharedDrive:async()=>{if(m==="onedrive"){const Ze=`https://europe-central2-bluepic.cloudfunctions.net/shared-drive/onedrive/?${getQuerystring({sharing:c})}`,rr=await(await fetch(Ze)).json();Ie.value=normalizeOnedrive(rr.children,ie,we)}else if(m==="googledrive"){const Ze=`https://europe-central2-bluepic.cloudfunctions.net/shared-drive/googledrive/?${getQuerystring({sharing:c})}`,rr=await(await fetch(Ze)).json();Ie.value=normalizeGoogledrive(rr.files,ie,we)}}}}const _hoisted_1$L={class:"image-library-shared-drive"},_hoisted_2$w={key:0,class:"photos"},_hoisted_3$l=["onClick"],_hoisted_4$d={class:"preview"},_hoisted_5$a=["src"],_hoisted_6$7={key:1,class:"loading-wrapper"},_sfc_main$X=vue.defineComponent({__name:"SharedDrive",props:{service:{},sharedUrl:{},width:{},height:{}},emits:["select"],setup(m,{emit:c}){const ie=m,we=c,{fetchSharedDrive:Ie,sharedItems:Me}=useSharedDrive(ie.service,ie.sharedUrl,ie.width,ie.height);Ie();function Ze(ne){we("select",ne.src)}return(ne,rr)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$L,[vue.unref(Me)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$w,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(Me),vr=>(vue.openBlock(),vue.createElementBlock("div",{class:"photo-wrapper",onClick:lr=>Ze(vr)},[vue.createElementVNode("div",_hoisted_4$d,[vue.createElementVNode("img",{src:vr.previews.small.src},null,8,_hoisted_5$a)])],8,_hoisted_3$l))),256))])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$7,[vue.createVNode(BxSpin)]))]))}}),SharedDrive_vue_vue_type_style_index_0_scoped_7d6cf073_lang="",SharedDriveLibraryComponent=_export_sfc(_sfc_main$X,[["__scopeId","data-v-7d6cf073"]]),_hoisted_1$K={class:"image-library-custom"},_sfc_main$W=vue.defineComponent({__name:"Custom",props:{controller:{},label:{},name:{},props:{}},setup(m){const c=m,ie=import(c.controller),we=vue.ref();return ie.then(Ie=>{we.value=new Ie.default(c.props)}),(Ie,Me)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$K,"JAJAJA"))}}),_hoisted_1$J={class:"image-library-wrapper"},_hoisted_2$v={key:0,class:"nav-view-wrapper"},_hoisted_3$k={class:"icon-wrapper"},_hoisted_4$c={class:"label"},_hoisted_5$9={key:1,class:"library-view-wrapper"},_sfc_main$V=vue.defineComponent({__name:"ImageLibraryWrapper",props:{options:{},activeKey:{},imageLibraries:{},convertTo:{},quality:{},width:{},height:{},bridge:{},field:{}},emits:["select","update:active-key"],setup(m,{emit:c}){const ie=m,we=c,Ie=vue.ref(ie.activeKey);vue.watch(Ie,()=>{ie.activeKey!==Ie.value&&we("update:active-key",Ie.value)}),vue.watch(()=>ie.activeKey,()=>{ie.activeKey!==Ie.value&&(Ie.value=ie.activeKey)});function Me(Ar){Ie.value=Ar}const Ze=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type==="pexels")?.apiKey),ne=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type==="sharedDrive"&&Ar.service===Ie.value).sharedUrl),rr=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type===Ie.value)?.label),vr=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type===Ie.value)?.name),lr=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type===Ie.value)?.controller),yr=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type===Ie.value)?.props);function kr(Ar){const Pr=Ar[0];Pr&&Br(Pr.src)}function Br(Ar){we("select",Ar)}return(Ar,Pr)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$J,[vue.createVNode(vue.Transition,{name:"slide-library"},{default:vue.withCtx(()=>[Ie.value===void 0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$v,[vue.createElementVNode("div",{class:"image-library-source-navigation",style:vue.normalizeStyle({"--options-length":Ar.options.length})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(ie.options,Vr=>(vue.openBlock(),vue.createBlock(BxCard,{key:Vr.key,hoverable:"",bordered:!0,onClick:ei=>Me(Vr.key)},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$k,[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(Vr.icon)))]),vue.createElementVNode("div",_hoisted_4$c,vue.toDisplayString(Vr.label),1)]),_:2},1032,["onClick"]))),128))],4)])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$9,[Ie.value==="upload"?(vue.openBlock(),vue.createBlock(UploadLibraryComponent,{key:0,width:Ar.width,height:Ar.height,"convert-to":Ar.convertTo,quality:Ar.quality,field:Ar.field,"handle-upload":Ar.bridge.handleUpload,onUpload:kr},null,8,["width","height","convert-to","quality","field","handle-upload"])):Ie.value==="pexels"?(vue.openBlock(),vue.createBlock(_sfc_main$Y,{key:1,"api-key":Ze.value,onSelect:Br,width:Ar.width,height:Ar.height},null,8,["api-key","width","height"])):Ie.value==="googledrive"||Ie.value==="onedrive"||Ie.value==="icloud"||Ie.value==="dropbox"?(vue.openBlock(),vue.createBlock(SharedDriveLibraryComponent,{key:2,service:Ie.value,"shared-url":ne.value,width:Ar.width,height:Ar.height,onSelect:Br},null,8,["service","shared-url","width","height"])):Ie.value==="custom"?(vue.openBlock(),vue.createBlock(_sfc_main$W,{key:3,label:rr.value,name:vr.value,controller:lr.value,props:yr.value},null,8,["label","name","controller","props"])):vue.createCommentVNode("",!0)]))]),_:1})]))}}),ImageLibraryWrapper_vue_vue_type_style_index_0_scoped_562275c6_lang="",ImageLibraryWrapper=_export_sfc(_sfc_main$V,[["__scopeId","data-v-562275c6"]]),_sfc_main$U=vue.defineComponent({__name:"BxList",props:{divider:{type:Boolean,default:!0}},setup(m){return vue.useSlots(),(c,ie)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-list",{"has-divider":c.divider}])},[vue.renderSlot(c.$slots,"default",{},void 0,!0)],2))}}),BxList_vue_vue_type_style_index_0_scoped_50dcc63b_lang="",BxList=_export_sfc(_sfc_main$U,[["__scopeId","data-v-50dcc63b"]]),_hoisted_1$I={class:"bx-list-item__inner"},_hoisted_2$u={key:0,class:"bx-list-item__prefix"},_hoisted_3$j={class:"bx-list-item__content"},_hoisted_4$b={key:1,class:"bx-list-item__suffix"},_sfc_main$T=vue.defineComponent({__name:"BxListItem",setup(m){const c=vue.useSlots(),ie=vue.computed(()=>!!c.prefix),we=vue.computed(()=>!!c.suffix);return(Ie,Me)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-list-item",{"has-prefix":ie.value,"has-suffix":we.value}])},[vue.createElementVNode("div",_hoisted_1$I,[c.prefix?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$u,[vue.renderSlot(Ie.$slots,"prefix",{},void 0,!0)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_3$j,[vue.renderSlot(Ie.$slots,"default",{},void 0,!0)]),c.suffix?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$b,[vue.renderSlot(Ie.$slots,"suffix",{},void 0,!0)])):vue.createCommentVNode("",!0)])],2))}}),BxListItem_vue_vue_type_style_index_0_scoped_be754519_lang="",BxListItem=_export_sfc(_sfc_main$T,[["__scopeId","data-v-be754519"]]),_hoisted_1$H={class:"pullup-menu"},_hoisted_2$t=["onClick"],_hoisted_3$i={class:"icon"},_hoisted_4$a={class:"label"},_hoisted_5$8={class:"pullup-menu"},_hoisted_6$6={class:"icon"},_sfc_main$S=vue.defineComponent({__name:"BxDropdown",props:vue.mergeModels({options:{},allowedPlacements:{},mobileLayout:{type:Boolean,default:!1}},{show:{type:Boolean,required:!1,default:!1},showModifiers:{}}),emits:vue.mergeModels(["select"],["update:show"]),setup(m,{emit:c}){const ie=c,we=vue.useModel(m,"show");function Ie(Ze){we.value=!1,ie("select",Ze.value)}const Me=vue.useSlots();return(Ze,ne)=>Ze.mobileLayout?(vue.openBlock(),vue.createBlock(_sfc_main$1c,{key:0,show:we.value,"onUpdate:show":ne[1]||(ne[1]=rr=>we.value=rr),"disable-background-effect":"","custom-classes":["bx-dropdown-mobile-layout-popup"],closeable:!1},{trigger:vue.withCtx(()=>[vue.renderSlot(Ze.$slots,"trigger",{},void 0,!0)]),content:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass(["pullup-menu-wrapper",{}])},[vue.createElementVNode("div",_hoisted_1$H,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Ze.options,rr=>(vue.openBlock(),vue.createElementBlock("button",{class:"select-button",onClick:vr=>Ie(rr)},[vue.createElementVNode("div",_hoisted_3$i,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(rr.icon)))]),_:2},1024)]),vue.createElementVNode("div",_hoisted_4$a,[Me.optionLabel?vue.renderSlot(Ze.$slots,"optionLabel",{key:0,option:rr},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(rr.label),1)],64))])],8,_hoisted_2$t))),256))]),vue.createElementVNode("div",_hoisted_5$8,[vue.createElementVNode("button",{class:"select-button",onClick:ne[0]||(ne[0]=rr=>we.value=!1)},[vue.createElementVNode("div",_hoisted_6$6,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),ne[3]||(ne[3]=vue.createElementVNode("div",{class:"label"},"Close",-1))])])])]),_:3},8,["show"])):(vue.openBlock(),vue.createBlock(BxPopover,{key:1,show:we.value,"onUpdate:show":ne[2]||(ne[2]=rr=>we.value=rr),trigger:"click","allowed-placements":Ze.allowedPlacements??["bottom","top"],arrow:!0,"custom-styles":{},"custom-classes":["dropdown-popover"]},{trigger:vue.withCtx(()=>[vue.renderSlot(Ze.$slots,"trigger",{},void 0,!0)]),content:vue.withCtx(()=>[vue.createVNode(BxList,null,{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Ze.options,rr=>(vue.openBlock(),vue.createBlock(BxListItem,{key:rr.value,onClick:vr=>Ie(rr)},vue.createSlots({default:vue.withCtx(()=>[Me.optionLabel?vue.renderSlot(Ze.$slots,"optionLabel",{key:0,option:rr},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(rr.label),1)],64))]),_:2},[rr.icon?{name:"prefix",fn:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(rr.icon)))]),_:2},1024)]),key:"0"}:void 0]),1032,["onClick"]))),128))]),_:3})]),_:3},8,["show","allowed-placements"]))}}),BxDropdown_vue_vue_type_style_index_0_scoped_8f2540c6_lang="",BxDropdown_vue_vue_type_style_index_1_lang="",BxDropdown=_export_sfc(_sfc_main$S,[["__scopeId","data-v-8f2540c6"]]);function p$1(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 g$1(m){for(var c=1;c<arguments.length;c++){var ie=arguments[c]!=null?arguments[c]:{};c%2?p$1(Object(ie),!0).forEach(function(we){f$1(m,we,ie[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(ie)):p$1(Object(ie)).forEach(function(we){Object.defineProperty(m,we,Object.getOwnPropertyDescriptor(ie,we))})}return m}function f$1(m,c,ie){return c in m?Object.defineProperty(m,c,{value:ie,enumerable:!0,configurable:!0,writable:!0}):m[c]=ie,m}function v$1(m,c){if(m==null)return{};var ie,we,Ie=function(Ze,ne){if(Ze==null)return{};var rr,vr,lr={},yr=Object.keys(Ze);for(vr=0;vr<yr.length;vr++)rr=yr[vr],ne.indexOf(rr)>=0||(lr[rr]=Ze[rr]);return lr}(m,c);if(Object.getOwnPropertySymbols){var Me=Object.getOwnPropertySymbols(m);for(we=0;we<Me.length;we++)ie=Me[we],c.indexOf(ie)>=0||Object.prototype.propertyIsEnumerable.call(m,ie)&&(Ie[ie]=m[ie])}return Ie}function b$1(m){return function(c){if(Array.isArray(c))return w$1(c)}(m)||function(c){if(typeof Symbol<"u"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}(m)||function(c,ie){if(!!c){if(typeof c=="string")return w$1(c,ie);var we=Object.prototype.toString.call(c).slice(8,-1);if(we==="Object"&&c.constructor&&(we=c.constructor.name),we==="Map"||we==="Set")return Array.from(c);if(we==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(we))return w$1(c,ie)}}(m)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
74
|
+
`).length)}),readonly:pr.readonly},null,46,_hoisted_2$z)),[[vue.vModelText,Ar.value]]):vue.withDirectives((vue.openBlock(),vue.createElementBlock("input",{key:1,ref_key:"inputEelRef",ref:ei,"onUpdate:modelValue":br[6]||(br[6]=nr=>Ze.value=nr),readonly:pr.readonly,placeholder:pr.placeholder,type:pr.type,onKeydown:ui},null,40,_hoisted_3$o)),[[vue.vModelDynamic,Ze.value]])],64)),br[7]||(br[7]=vue.createElementVNode("div",{class:"bx-input__actions"},null,-1))],2),Me.suffix?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$g,[Me.loading||pr.loading?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$c,[Me.loading?vue.renderSlot(pr.$slots,"loading",{key:0},void 0,!0):(vue.openBlock(),vue.createBlock(BxSpin,{key:1}))])):vue.createCommentVNode("",!0),vue.renderSlot(pr.$slots,"suffix",{},void 0,!0)])):vue.createCommentVNode("",!0)],6),pr.clearable||pr.showWordCount||kr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$8,[pr.clearable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$6,[vue.createVNode(BxButton,{class:"clear-btn",size:"small",tertiary:"",onClick:or},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),default:vue.withCtx(()=>[br[8]||(br[8]=vue.createTextVNode(" Clear "))]),_:1})])):vue.createCommentVNode("",!0),pr.showWordCount?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$5,[pr.maxLength&&pr.maxLength!==1/0?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(di.value)+" / "+vue.toDisplayString(pr.maxLength),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(di.value),1)],64))])):vue.createCommentVNode("",!0),kr.value?(vue.openBlock(),vue.createBlock(BxTooltip,{key:2,trigger:"hover","custom-popover-classes":["text-overflow-tooltip"],"allowed-placements":["bottom","top","right"]},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{circle:"",size:"tiny",secondary:"",state:"error",class:"errors-button"},{icon:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(AlertOutline))]),_:1})]),_:1})]),content:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_9$4,[yr.value?.overflowingCharacters?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$4,[vue.createElementVNode("span",_hoisted_11$4,vue.toDisplayString(pr.maxLength+lr.value)+" / "+vue.toDisplayString(pr.maxLength),1),br[9]||(br[9]=vue.createTextVNode(" characters "))])):vue.createCommentVNode("",!0),yr.value?.overlowingLines?(vue.openBlock(),vue.createElementBlock("div",_hoisted_12$3,[vue.createElementVNode("span",_hoisted_13$3,vue.toDisplayString(pr.maxLines+vr.value)+" / "+vue.toDisplayString(pr.maxLines),1),br[10]||(br[10]=vue.createTextVNode(" lines "))])):vue.createCommentVNode("",!0),yr.value?.lineOverflows?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14$3,[br[11]||(br[11]=vue.createTextVNode(" Lines are too long: ")),vue.createElementVNode("ul",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(yr.value.lineOverflows,({index:nr,length:$e})=>(vue.openBlock(),vue.createElementBlock("li",null,[vue.createElementVNode("span",_hoisted_15$3,"("+vue.toDisplayString(nr+1)+")",1),vue.createElementVNode("span",_hoisted_16$3,vue.toDisplayString($e)+" / "+vue.toDisplayString(pr.maxLineLength),1)]))),256))])])):vue.createCommentVNode("",!0)])]),_:1})):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2))}}),BxInput_vue_vue_type_style_index_0_scoped_3fe0edbf_lang="",BxInput_vue_vue_type_style_index_1_lang="",BxInput=_export_sfc(_sfc_main$10,[["__scopeId","data-v-3fe0edbf"]]);function getQuerystring(m){return new URLSearchParams(Object.fromEntries(Object.entries(m).map(([c,ie])=>[c,String(ie)]))).toString()}function usePexels(m){const c=vue.ref([]),ie=vue.ref(0);let we=25;async function Ie(Me,Ze){Ze=Ze??c.value.length??0;const rr=await(await fetch(`https://api.pexels.com/v1/search?${getQuerystring({page:Math.ceil(Ze/we),query:Me,per_page:we})}`,{headers:{Authorization:m}})).json();if("error"in rr)throw new Error(rr.error);ie.value=rr.total_results,c.value=[...c.value.slice(0,Ze),...rr.photos]}return{photos:c,total:ie,searchPhotos:Ie}}const global$1=globalThis||void 0||self;function tryOnScopeDispose(m){return vue.getCurrentScope()?(vue.onScopeDispose(m),!0):!1}function toValue(m){return typeof m=="function"?m():vue.unref(m)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const notNullish=m=>m!=null,toString$1=Object.prototype.toString,isObject$3=m=>toString$1.call(m)==="[object Object]",noop=()=>{};function createFilterWrapper(m,c){function ie(...we){return new Promise((Ie,Me)=>{Promise.resolve(m(()=>c.apply(this,we),{fn:c,thisArg:this,args:we})).then(Ie).catch(Me)})}return ie}function debounceFilter(m,c={}){let ie,we,Ie=noop;const Me=ne=>{clearTimeout(ne),Ie(),Ie=noop};return ne=>{const rr=toValue(m),vr=toValue(c.maxWait);return ie&&Me(ie),rr<=0||vr!==void 0&&vr<=0?(we&&(Me(we),we=null),Promise.resolve(ne())):new Promise((lr,yr)=>{Ie=c.rejectOnCancel?yr:lr,vr&&!we&&(we=setTimeout(()=>{ie&&Me(ie),we=null,lr(ne())},vr)),ie=setTimeout(()=>{we&&Me(we),we=null,lr(ne())},rr)})}}function getLifeCycleTarget(m){return m||vue.getCurrentInstance()}function useDebounceFn(m,c=200,ie={}){return createFilterWrapper(debounceFilter(c,ie),m)}function tryOnMounted(m,c=!0,ie){getLifeCycleTarget()?vue.onMounted(m,ie):c?m():vue.nextTick(m)}function unrefElement(m){var c;const ie=toValue(m);return(c=ie?.$el)!=null?c:ie}const defaultWindow=isClient?window:void 0;function useEventListener(...m){let c,ie,we,Ie;if(typeof m[0]=="string"||Array.isArray(m[0])?([ie,we,Ie]=m,c=defaultWindow):[c,ie,we,Ie]=m,!c)return noop;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(()=>[unrefElement(c),toValue(Ie)],([lr,yr])=>{if(Ze(),!lr)return;const kr=isObject$3(yr)?{...yr}:yr;Me.push(...ie.flatMap(Br=>we.map(Ar=>ne(lr,Br,Ar,kr))))},{immediate:!0,flush:"post"}),vr=()=>{rr(),Ze()};return tryOnScopeDispose(vr),vr}function useMounted(){const m=vue.ref(!1),c=vue.getCurrentInstance();return c&&vue.onMounted(()=>{m.value=!0},c),m}function useSupported(m){const c=useMounted();return vue.computed(()=>(c.value,Boolean(m())))}function useMutationObserver(m,c,ie={}){const{window:we=defaultWindow,...Ie}=ie;let Me;const Ze=useSupported(()=>we&&"MutationObserver"in we),ne=()=>{Me&&(Me.disconnect(),Me=void 0)},rr=vue.computed(()=>{const kr=toValue(m),Br=(Array.isArray(kr)?kr:[kr]).map(unrefElement).filter(notNullish);return new Set(Br)}),vr=vue.watch(()=>rr.value,kr=>{ne(),Ze.value&&kr.size&&(Me=new MutationObserver(c),kr.forEach(Br=>Me.observe(Br,Ie)))},{immediate:!0,flush:"post"}),lr=()=>Me?.takeRecords(),yr=()=>{ne(),vr()};return tryOnScopeDispose(yr),{isSupported:Ze,stop:yr,takeRecords:lr}}function useMediaQuery(m,c={}){const{window:ie=defaultWindow}=c,we=useSupported(()=>ie&&"matchMedia"in ie&&typeof ie.matchMedia=="function");let Ie;const Me=vue.ref(!1),Ze=vr=>{Me.value=vr.matches},ne=()=>{!Ie||("removeEventListener"in Ie?Ie.removeEventListener("change",Ze):Ie.removeListener(Ze))},rr=vue.watchEffect(()=>{!we.value||(ne(),Ie=ie.matchMedia(toValue(m)),"addEventListener"in Ie?Ie.addEventListener("change",Ze):Ie.addListener(Ze),Me.value=Ie.matches)});return tryOnScopeDispose(()=>{rr(),ne(),Ie=void 0}),Me}typeof globalThis<"u"||typeof window<"u"||typeof global$1<"u"||typeof self<"u";function useResizeObserver(m,c,ie={}){const{window:we=defaultWindow,...Ie}=ie;let Me;const Ze=useSupported(()=>we&&"ResizeObserver"in we),ne=()=>{Me&&(Me.disconnect(),Me=void 0)},rr=vue.computed(()=>Array.isArray(m)?m.map(yr=>unrefElement(yr)):[unrefElement(m)]),vr=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(),vr()};return tryOnScopeDispose(lr),{isSupported:Ze,stop:lr}}function useElementBounding(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),vr=vue.ref(0),lr=vue.ref(0),yr=vue.ref(0),kr=vue.ref(0),Br=vue.ref(0);function Ar(){const Pr=unrefElement(m);if(!Pr){ie&&(Ze.value=0,ne.value=0,rr.value=0,vr.value=0,lr.value=0,yr.value=0,kr.value=0,Br.value=0);return}const Vr=Pr.getBoundingClientRect();Ze.value=Vr.height,ne.value=Vr.bottom,rr.value=Vr.left,vr.value=Vr.right,lr.value=Vr.top,yr.value=Vr.width,kr.value=Vr.x,Br.value=Vr.y}return useResizeObserver(m,Ar),vue.watch(()=>unrefElement(m),Pr=>!Pr&&Ar()),useMutationObserver(m,Ar,{attributeFilter:["style","class"]}),Ie&&useEventListener("scroll",Ar,{capture:!0,passive:!0}),we&&useEventListener("resize",Ar,{passive:!0}),tryOnMounted(()=>{Me&&Ar()}),{height:Ze,bottom:ne,left:rr,right:vr,top:lr,width:yr,x:kr,y:Br,update:Ar}}function useIntersectionObserver(m,c,ie={}){const{root:we,rootMargin:Ie="0px",threshold:Me=.1,window:Ze=defaultWindow,immediate:ne=!0}=ie,rr=useSupported(()=>Ze&&"IntersectionObserver"in Ze),vr=vue.computed(()=>{const Ar=toValue(m);return(Array.isArray(Ar)?Ar:[Ar]).map(unrefElement).filter(notNullish)});let lr=noop;const yr=vue.ref(ne),kr=rr.value?vue.watch(()=>[vr.value,unrefElement(we),yr.value],([Ar,Pr])=>{if(lr(),!yr.value||!Ar.length)return;const Vr=new IntersectionObserver(c,{root:unrefElement(Pr),rootMargin:Ie,threshold:Me});Ar.forEach(ei=>ei&&Vr.observe(ei)),lr=()=>{Vr.disconnect(),lr=noop}},{immediate:ne,flush:"post"}):noop,Br=()=>{lr(),kr(),yr.value=!1};return tryOnScopeDispose(Br),{isSupported:rr,isActive:yr,pause(){lr(),yr.value=!1},resume(){yr.value=!0},stop:Br}}function useElementVisibility(m,c={}){const{window:ie=defaultWindow,scrollTarget:we,threshold:Ie=0}=c,Me=vue.ref(!1);return useIntersectionObserver(m,Ze=>{let ne=Me.value,rr=0;for(const vr of Ze)vr.time>=rr&&(rr=vr.time,ne=vr.isIntersecting);Me.value=ne},{root:we,window:ie,threshold:Ie}),Me}function useWindowSize(m={}){const{window:c=defaultWindow,initialWidth:ie=Number.POSITIVE_INFINITY,initialHeight:we=Number.POSITIVE_INFINITY,listenOrientation:Ie=!0,includeScrollbar:Me=!0}=m,Ze=vue.ref(ie),ne=vue.ref(we),rr=()=>{c&&(Me?(Ze.value=c.innerWidth,ne.value=c.innerHeight):(Ze.value=c.document.documentElement.clientWidth,ne.value=c.document.documentElement.clientHeight))};if(rr(),tryOnMounted(rr),useEventListener("resize",rr,{passive:!0}),Ie){const vr=useMediaQuery("(orientation: portrait)");vue.watch(vr,()=>rr())}return{width:Ze,height:ne}}const _sfc_main$$=vue.defineComponent({__name:"LazyLoadingItemWrapper",emits:["update:visible"],setup(m,{emit:c}){vue.ref();const ie=c,we=vue.ref(),Ie=useElementVisibility(we);return ie("update:visible",Ie.value),vue.watch(Ie,(Me,Ze)=>{!Ze&&Me&&ie("update:visible",Ie.value)}),(Me,Ze)=>(vue.openBlock(),vue.createElementBlock("div",{class:"item-wrapper",ref_key:"itemWrapperRef",ref:we},[vue.renderSlot(Me.$slots,"default")],512))}}),_sfc_main$_=vue.defineComponent({__name:"LazyLoading",props:{items:{},total:{},fetch:{type:Function},visibleTriggerOffset:{}},setup(m){vue.ref();const c=m;c.fetch(0);const ie=(we,Ie)=>{Ie&&we>=c.items.length-c.visibleTriggerOffset-1&&c.total>c.items.length&&c.fetch()};return(we,Ie)=>(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(we.items,(Me,Ze)=>(vue.openBlock(),vue.createBlock(_sfc_main$$,{key:Ze,class:"item-wrapper",item:Me,index:Ze,"onUpdate:visible":ne=>ie(Ze,ne)},{default:vue.withCtx(()=>[vue.renderSlot(we.$slots,"item",{item:Me,index:Ze})]),_:2},1032,["item","index","onUpdate:visible"]))),128))}}),_hoisted_1$N={class:"bx-empty"},_hoisted_2$y={key:0,class:"icon-wrapper"},_hoisted_3$n={key:1,class:"title"},_hoisted_4$f={key:2,class:"description"},_sfc_main$Z=vue.defineComponent({__name:"BxEmpty",props:{title:{},description:{}},setup(m){const c=vue.useSlots();return(ie,we)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$N,[c.icon?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$y,[vue.renderSlot(ie.$slots,"icon",{},void 0,!0)])):vue.createCommentVNode("",!0),ie.title||c.title?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$n,[c.title?vue.renderSlot(ie.$slots,"title",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(ie.title),1)],64))])):vue.createCommentVNode("",!0),ie.description||c.description?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$f,[c.description?vue.renderSlot(ie.$slots,"description",{key:0},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(ie.description),1)],64))])):vue.createCommentVNode("",!0)]))}}),BxEmpty_vue_vue_type_style_index_0_scoped_2b4dcd9d_lang="",BxEmpty=_export_sfc(_sfc_main$Z,[["__scopeId","data-v-2b4dcd9d"]]),_hoisted_1$M={class:"image-library-pexels"},_hoisted_2$x={class:"search-bar-wrapper"},_hoisted_3$m={key:0,class:"photos"},_hoisted_4$e=["onClick"],_hoisted_5$b={class:"preview"},_hoisted_6$7=["src"],_hoisted_7$5={key:1,class:"loading-wrapper"},_sfc_main$Y=vue.defineComponent({__name:"Pexels",props:{apiKey:{},width:{},height:{}},emits:["select"],setup(m,{emit:c}){const ie=m,we=c,Ie=vue.ref("city");console.log("pexels api key",ie.apiKey);const{searchPhotos:Me,photos:Ze,total:ne}=usePexels(ie.apiKey),rr=vue.ref(),vr=vue.ref(!1);async function lr(){Ie.value.length>0&&(vr.value=!0,ne.value=25,Ze.value=[],await Me(Ie.value),rr.value=Ie.value,vr.value=!1)}async function yr(Br,Ar){await Me(Ie.value,Br)}function kr(Br){const Ar=(Br.width??1)/(Br.height??1),Pr=ie.width/ie.height,Vr=Ar>=Pr?"height":"width",ei=`https://really.blue/cdn-cgi/image/${Vr}=${Vr==="width"?ie.width:ie.height},quality=75/${Br.src.original}`;we("select",ei)}return(Br,Ar)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$M,[vue.createElementVNode("header",null,[vue.createElementVNode("div",_hoisted_2$x,[vue.createVNode(BxInput,{modelValue:Ie.value,"onUpdate:modelValue":Ar[0]||(Ar[0]=Pr=>Ie.value=Pr),round:"",placeholder:"Search...",size:"large",onEnter:lr},null,8,["modelValue"]),vue.createVNode(BxButton,{primary:"",round:"",onClick:lr},{default:vue.withCtx(()=>Ar[1]||(Ar[1]=[vue.createTextVNode("Search")])),_:1})])]),vue.createElementVNode("main",null,[rr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$m,[vue.createVNode(_sfc_main$_,{items:vue.unref(Ze),total:vue.unref(ne),fetch:yr,"visible-trigger-offset":0},{item:vue.withCtx(({item:Pr})=>[(vue.openBlock(),vue.createElementBlock("div",{key:Pr.id,class:"photo-wrapper",onClick:Vr=>kr(Pr)},[vue.createElementVNode("div",_hoisted_5$b,[vue.createElementVNode("img",{src:Pr.src.tiny},null,8,_hoisted_6$7)])],8,_hoisted_4$e))]),_:1},8,["items","total"])])):vr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$5,[vue.createVNode(BxSpin)])):(vue.openBlock(),vue.createBlock(BxEmpty,{key:2,title:"Pexels",description:"Search for images on Pexels"},{icon:vue.withCtx(()=>[vue.createVNode(vue.unref(SearchOutline))]),_:1}))])]))}}),Pexels_vue_vue_type_style_index_0_scopd_true_lang="";function normalizeOnedrive(m,c,ie){return m.map(we=>{const Ie=`https://really.blue/cdn-cgi/image/width=250,quality=75/${we["@microsoft.graph.downloadUrl"]}`,Me=we.image.width/we.image.height,Ze=c/ie,ne=Me>=Ze?"height":"width";return{src:`https://really.blue/cdn-cgi/image/${ne}=${ne==="width"?c:ie},quality=75/${we["@microsoft.graph.downloadUrl"]}`,key:we.id,width:we.image.width,height:we.image.height,previews:{small:{src:Ie,width:we.image.width,height:we.image.height},medium:{src:Ie,width:we.image.width,height:we.image.height}}}})}function normalizeGoogledrive(m,c,ie){return m.map(({thumbnailLink:we,webContentLink:Ie,sha256Checksum:Me,imageMediaMetadata:Ze})=>{const ne=`https://really.blue/cdn-cgi/image/width=250,quality=75/${Ie}`,rr=(Ze?.width??1)/(Ze?.height??1),vr=c/ie,lr=rr>=vr?"height":"width";return{src:`https://really.blue/cdn-cgi/image/${lr}=${lr==="width"?c:ie},quality=75/${Ie}`,key:Me,width:Ze?.width??0,height:Ze?.height??0,previews:{small:{src:ne,width:Ze?.width??0,height:Ze?.height??0},medium:{src:ne,width:Ze?.width??0,height:Ze?.height??0}}}})}function useSharedDrive(m,c,ie,we){const Ie=vue.ref();return{sharedItems:Ie,fetchSharedDrive:async()=>{if(m==="onedrive"){const Ze=`https://europe-central2-bluepic.cloudfunctions.net/shared-drive/onedrive/?${getQuerystring({sharing:c})}`,rr=await(await fetch(Ze)).json();Ie.value=normalizeOnedrive(rr.children,ie,we)}else if(m==="googledrive"){const Ze=`https://europe-central2-bluepic.cloudfunctions.net/shared-drive/googledrive/?${getQuerystring({sharing:c})}`,rr=await(await fetch(Ze)).json();Ie.value=normalizeGoogledrive(rr.files,ie,we)}}}}const _hoisted_1$L={class:"image-library-shared-drive"},_hoisted_2$w={key:0,class:"photos"},_hoisted_3$l=["onClick"],_hoisted_4$d={class:"preview"},_hoisted_5$a=["src"],_hoisted_6$6={key:1,class:"loading-wrapper"},_sfc_main$X=vue.defineComponent({__name:"SharedDrive",props:{service:{},sharedUrl:{},width:{},height:{}},emits:["select"],setup(m,{emit:c}){const ie=m,we=c,{fetchSharedDrive:Ie,sharedItems:Me}=useSharedDrive(ie.service,ie.sharedUrl,ie.width,ie.height);Ie();function Ze(ne){we("select",ne.src)}return(ne,rr)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$L,[vue.unref(Me)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$w,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(Me),vr=>(vue.openBlock(),vue.createElementBlock("div",{class:"photo-wrapper",onClick:lr=>Ze(vr)},[vue.createElementVNode("div",_hoisted_4$d,[vue.createElementVNode("img",{src:vr.previews.small.src},null,8,_hoisted_5$a)])],8,_hoisted_3$l))),256))])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$6,[vue.createVNode(BxSpin)]))]))}}),SharedDrive_vue_vue_type_style_index_0_scoped_7d6cf073_lang="",SharedDriveLibraryComponent=_export_sfc(_sfc_main$X,[["__scopeId","data-v-7d6cf073"]]),_hoisted_1$K={class:"image-library-custom"},_sfc_main$W=vue.defineComponent({__name:"Custom",props:{controller:{},label:{},name:{},props:{}},setup(m){const c=m,ie=import(c.controller),we=vue.ref();return ie.then(Ie=>{we.value=new Ie.default(c.props)}),(Ie,Me)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$K,"JAJAJA"))}}),_hoisted_1$J={class:"image-library-wrapper"},_hoisted_2$v={key:0,class:"nav-view-wrapper"},_hoisted_3$k={class:"icon-wrapper"},_hoisted_4$c={class:"label"},_hoisted_5$9={key:1,class:"library-view-wrapper"},_sfc_main$V=vue.defineComponent({__name:"ImageLibraryWrapper",props:{options:{},activeKey:{},imageLibraries:{},convertTo:{},quality:{},width:{},height:{},bridge:{},field:{}},emits:["select","update:active-key"],setup(m,{emit:c}){const ie=m,we=c,Ie=vue.ref(ie.activeKey);vue.watch(Ie,()=>{ie.activeKey!==Ie.value&&we("update:active-key",Ie.value)}),vue.watch(()=>ie.activeKey,()=>{ie.activeKey!==Ie.value&&(Ie.value=ie.activeKey)});function Me(Ar){Ie.value=Ar}const Ze=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type==="pexels")?.apiKey),ne=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type==="sharedDrive"&&Ar.service===Ie.value).sharedUrl),rr=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type===Ie.value)?.label),vr=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type===Ie.value)?.name),lr=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type===Ie.value)?.controller),yr=vue.computed(()=>ie.imageLibraries.find(Ar=>Ar.type===Ie.value)?.props);function kr(Ar){const Pr=Ar[0];Pr&&Br(Pr.src)}function Br(Ar){we("select",Ar)}return(Ar,Pr)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$J,[vue.createVNode(vue.Transition,{name:"slide-library"},{default:vue.withCtx(()=>[Ie.value===void 0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$v,[vue.createElementVNode("div",{class:"image-library-source-navigation",style:vue.normalizeStyle({"--options-length":Ar.options.length})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(ie.options,Vr=>(vue.openBlock(),vue.createBlock(BxCard,{key:Vr.key,hoverable:"",bordered:!0,onClick:ei=>Me(Vr.key)},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$k,[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(Vr.icon)))]),vue.createElementVNode("div",_hoisted_4$c,vue.toDisplayString(Vr.label),1)]),_:2},1032,["onClick"]))),128))],4)])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$9,[Ie.value==="upload"?(vue.openBlock(),vue.createBlock(UploadLibraryComponent,{key:0,width:Ar.width,height:Ar.height,"convert-to":Ar.convertTo,quality:Ar.quality,field:Ar.field,"handle-upload":Ar.bridge.handleUpload,onUpload:kr},null,8,["width","height","convert-to","quality","field","handle-upload"])):Ie.value==="pexels"?(vue.openBlock(),vue.createBlock(_sfc_main$Y,{key:1,"api-key":Ze.value,onSelect:Br,width:Ar.width,height:Ar.height},null,8,["api-key","width","height"])):Ie.value==="googledrive"||Ie.value==="onedrive"||Ie.value==="icloud"||Ie.value==="dropbox"?(vue.openBlock(),vue.createBlock(SharedDriveLibraryComponent,{key:2,service:Ie.value,"shared-url":ne.value,width:Ar.width,height:Ar.height,onSelect:Br},null,8,["service","shared-url","width","height"])):Ie.value==="custom"?(vue.openBlock(),vue.createBlock(_sfc_main$W,{key:3,label:rr.value,name:vr.value,controller:lr.value,props:yr.value},null,8,["label","name","controller","props"])):vue.createCommentVNode("",!0)]))]),_:1})]))}}),ImageLibraryWrapper_vue_vue_type_style_index_0_scoped_562275c6_lang="",ImageLibraryWrapper=_export_sfc(_sfc_main$V,[["__scopeId","data-v-562275c6"]]),_sfc_main$U=vue.defineComponent({__name:"BxList",props:{divider:{type:Boolean,default:!0}},setup(m){return vue.useSlots(),(c,ie)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-list",{"has-divider":c.divider}])},[vue.renderSlot(c.$slots,"default",{},void 0,!0)],2))}}),BxList_vue_vue_type_style_index_0_scoped_50dcc63b_lang="",BxList=_export_sfc(_sfc_main$U,[["__scopeId","data-v-50dcc63b"]]),_hoisted_1$I={class:"bx-list-item__inner"},_hoisted_2$u={key:0,class:"bx-list-item__prefix"},_hoisted_3$j={class:"bx-list-item__content"},_hoisted_4$b={key:1,class:"bx-list-item__suffix"},_sfc_main$T=vue.defineComponent({__name:"BxListItem",setup(m){const c=vue.useSlots(),ie=vue.computed(()=>!!c.prefix),we=vue.computed(()=>!!c.suffix);return(Ie,Me)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-list-item",{"has-prefix":ie.value,"has-suffix":we.value}])},[vue.createElementVNode("div",_hoisted_1$I,[c.prefix?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$u,[vue.renderSlot(Ie.$slots,"prefix",{},void 0,!0)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_3$j,[vue.renderSlot(Ie.$slots,"default",{},void 0,!0)]),c.suffix?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$b,[vue.renderSlot(Ie.$slots,"suffix",{},void 0,!0)])):vue.createCommentVNode("",!0)])],2))}}),BxListItem_vue_vue_type_style_index_0_scoped_be754519_lang="",BxListItem=_export_sfc(_sfc_main$T,[["__scopeId","data-v-be754519"]]),_hoisted_1$H={class:"pullup-menu"},_hoisted_2$t=["onClick"],_hoisted_3$i={class:"icon"},_hoisted_4$a={class:"label"},_hoisted_5$8={class:"pullup-menu"},_hoisted_6$5={class:"icon"},_sfc_main$S=vue.defineComponent({__name:"BxDropdown",props:vue.mergeModels({options:{},allowedPlacements:{},mobileLayout:{type:Boolean,default:!1}},{show:{type:Boolean,required:!1,default:!1},showModifiers:{}}),emits:vue.mergeModels(["select"],["update:show"]),setup(m,{emit:c}){const ie=c,we=vue.useModel(m,"show");function Ie(Ze){we.value=!1,ie("select",Ze.value)}const Me=vue.useSlots();return(Ze,ne)=>Ze.mobileLayout?(vue.openBlock(),vue.createBlock(_sfc_main$1c,{key:0,show:we.value,"onUpdate:show":ne[1]||(ne[1]=rr=>we.value=rr),"disable-background-effect":"","custom-classes":["bx-dropdown-mobile-layout-popup"],closeable:!1},{trigger:vue.withCtx(()=>[vue.renderSlot(Ze.$slots,"trigger",{},void 0,!0)]),content:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass(["pullup-menu-wrapper",{}])},[vue.createElementVNode("div",_hoisted_1$H,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Ze.options,rr=>(vue.openBlock(),vue.createElementBlock("button",{class:"select-button",onClick:vr=>Ie(rr)},[vue.createElementVNode("div",_hoisted_3$i,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(rr.icon)))]),_:2},1024)]),vue.createElementVNode("div",_hoisted_4$a,[Me.optionLabel?vue.renderSlot(Ze.$slots,"optionLabel",{key:0,option:rr},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(rr.label),1)],64))])],8,_hoisted_2$t))),256))]),vue.createElementVNode("div",_hoisted_5$8,[vue.createElementVNode("button",{class:"select-button",onClick:ne[0]||(ne[0]=rr=>we.value=!1)},[vue.createElementVNode("div",_hoisted_6$5,[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(CloseOutline))]),_:1})]),ne[3]||(ne[3]=vue.createElementVNode("div",{class:"label"},"Close",-1))])])])]),_:3},8,["show"])):(vue.openBlock(),vue.createBlock(BxPopover,{key:1,show:we.value,"onUpdate:show":ne[2]||(ne[2]=rr=>we.value=rr),trigger:"click","allowed-placements":Ze.allowedPlacements??["bottom","top"],arrow:!0,"custom-styles":{},"custom-classes":["dropdown-popover"]},{trigger:vue.withCtx(()=>[vue.renderSlot(Ze.$slots,"trigger",{},void 0,!0)]),content:vue.withCtx(()=>[vue.createVNode(BxList,null,{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Ze.options,rr=>(vue.openBlock(),vue.createBlock(BxListItem,{key:rr.value,onClick:vr=>Ie(rr)},vue.createSlots({default:vue.withCtx(()=>[Me.optionLabel?vue.renderSlot(Ze.$slots,"optionLabel",{key:0,option:rr},void 0,!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(rr.label),1)],64))]),_:2},[rr.icon?{name:"prefix",fn:vue.withCtx(()=>[vue.createVNode(BxIcon,null,{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(rr.icon)))]),_:2},1024)]),key:"0"}:void 0]),1032,["onClick"]))),128))]),_:3})]),_:3},8,["show","allowed-placements"]))}}),BxDropdown_vue_vue_type_style_index_0_scoped_8f2540c6_lang="",BxDropdown_vue_vue_type_style_index_1_lang="",BxDropdown=_export_sfc(_sfc_main$S,[["__scopeId","data-v-8f2540c6"]]);function p$1(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 g$1(m){for(var c=1;c<arguments.length;c++){var ie=arguments[c]!=null?arguments[c]:{};c%2?p$1(Object(ie),!0).forEach(function(we){f$1(m,we,ie[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(ie)):p$1(Object(ie)).forEach(function(we){Object.defineProperty(m,we,Object.getOwnPropertyDescriptor(ie,we))})}return m}function f$1(m,c,ie){return c in m?Object.defineProperty(m,c,{value:ie,enumerable:!0,configurable:!0,writable:!0}):m[c]=ie,m}function v$1(m,c){if(m==null)return{};var ie,we,Ie=function(Ze,ne){if(Ze==null)return{};var rr,vr,lr={},yr=Object.keys(Ze);for(vr=0;vr<yr.length;vr++)rr=yr[vr],ne.indexOf(rr)>=0||(lr[rr]=Ze[rr]);return lr}(m,c);if(Object.getOwnPropertySymbols){var Me=Object.getOwnPropertySymbols(m);for(we=0;we<Me.length;we++)ie=Me[we],c.indexOf(ie)>=0||Object.prototype.propertyIsEnumerable.call(m,ie)&&(Ie[ie]=m[ie])}return Ie}function b$1(m){return function(c){if(Array.isArray(c))return w$1(c)}(m)||function(c){if(typeof Symbol<"u"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}(m)||function(c,ie){if(!!c){if(typeof c=="string")return w$1(c,ie);var we=Object.prototype.toString.call(c).slice(8,-1);if(we==="Object"&&c.constructor&&(we=c.constructor.name),we==="Map"||we==="Set")return Array.from(c);if(we==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(we))return w$1(c,ie)}}(m)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
75
75
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function w$1(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}var y$1,z,R,A$1=(y$1=function(m){/*!
|
|
76
76
|
Copyright (c) 2018 Jed Watson.
|
|
77
77
|
Licensed under the MIT License (MIT), see
|
|
@@ -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 vr=protocolPattern.exec(ne);if(vr){vr=vr[0];var lr=vr.toLowerCase();this.protocol=lr,ne=ne.substr(vr.length)}if(ie||vr||ne.match(/^\/\/[^@/]+@[^@/]+/)){var yr=ne.substr(0,2)==="//";yr&&!(vr&&hostlessProtocol[vr])&&(ne=ne.substr(2),this.slashes=!0)}if(!hostlessProtocol[vr]&&(yr||vr&&!slashedProtocol[vr])){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,Vr;kr===-1?Vr=ne.lastIndexOf("@"):Vr=ne.lastIndexOf("@",kr),Vr!==-1&&(Pr=ne.slice(0,Vr),ne=ne.slice(Vr+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 Nr=this.hostname.split(/\./),Br=0,Zr=Nr.length;Br<Zr;Br++){var Wr=Nr[Br];if(!!Wr&&!Wr.match(hostnamePartPattern)){for(var oi="",ui=0,fi=Wr.length;ui<fi;ui++)Wr.charCodeAt(ui)>127?oi+="x":oi+=Wr[ui];if(!oi.match(hostnamePartPattern)){var di=Nr.slice(0,Br),li=Nr.slice(Br+1),hi=Wr.match(hostnamePartStart);hi&&(di.push(hi[1]),li.unshift(hi[2])),li.length&&(ne="/"+li.join(".")+ne),this.hostname=di.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||"",pr=this.search||"";this.path=gr+pr}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 vr=Object.keys(m),lr=0;lr<vr.length;lr++){var yr=vr[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)==="/",Vr=Pr||Ar||ie.host&&m.pathname,ei=Vr,Nr=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&&(Nr[0]===""?Nr[0]=ie.host:Nr.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),Vr=Vr&&(Zr[0]===""||Nr[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,Nr=Zr;else if(Zr.length)Nr||(Nr=[]),Nr.pop(),Nr=Nr.concat(Zr),ie.search=m.search,ie.query=m.query;else if(m.search!=null){if(Wr){ie.host=Nr.shift(),ie.hostname=ie.host;var oi=ie.host&&ie.host.indexOf("@")>0?ie.host.split("@"):!1;oi&&(ie.auth=oi.shift(),ie.hostname=oi.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(!Nr.length)return ie.pathname=null,ie.search?ie.path="/"+ie.search:ie.path=null,ie.href=ie.format(),ie;for(var ui=Nr.slice(-1)[0],fi=(ie.host||m.host||Nr.length>1)&&(ui==="."||ui==="..")||ui==="",di=0,li=Nr.length;li>=0;li--)ui=Nr[li],ui==="."?Nr.splice(li,1):ui===".."?(Nr.splice(li,1),di++):di&&(Nr.splice(li,1),di--);if(!Vr&&!ei)for(;di--;di)Nr.unshift("..");Vr&&Nr[0]!==""&&(!Nr[0]||Nr[0].charAt(0)!=="/")&&Nr.unshift(""),fi&&Nr.join("/").substr(-1)!=="/"&&Nr.push("");var hi=Nr[0]===""||Nr[0]&&Nr[0].charAt(0)==="/";if(Wr){ie.hostname=hi?"":Nr.length?Nr.shift():"",ie.host=ie.hostname;var oi=ie.host&&ie.host.indexOf("@")>0?ie.host.split("@"):!1;oi&&(ie.auth=oi.shift(),ie.hostname=oi.shift(),ie.host=ie.hostname)}return Vr=Vr||ie.host&&Nr.length,Vr&&!hi&&Nr.unshift(""),Nr.length>0?ie.pathname=Nr.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,vr=(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=""),vr||(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,vr=Me<rr?Me:rr,lr=-1,yr=0;yr<=vr;++yr){if(yr===vr){if(rr>vr){if(ie.charCodeAt(Ze+yr)===47)return ie.slice(Ze+yr+1);if(yr===0)return ie.slice(Ze+yr)}else Me>vr&&(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 vr=c.charCodeAt(Ze);if(vr===47){if(!Me){we=Ze+1;break}}else rr===-1&&(Me=!1,rr=Ze+1),ne>=0&&(vr===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,vr=!0,lr=c.length-1,yr=0;lr>=Me;--lr){if(we=c.charCodeAt(lr),we===47){if(!vr){ne=lr+1;break}continue}rr===-1&&(vr=!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),vr=Ze.slice(ne);return Array.prototype.concat.call([],we(rr),we(vr))}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 vr=Ie(rr[0]);vr!==rr[0]&&(ne[rr[0]]=vr)}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 vr(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(pr){return ne(Ue,pr)}if(!tr||tr.map)return ne(Ue,null,tr);var or=Ze(tr.url);ze(or,function(pr,br){if(pr)return pr.sourceMapData=tr,Ue(pr);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=vr(ze,Ue.url,Ue),Ue.map=rr(Ue.map,Ue)),Ue}var Pr=/^data:([^,;]*)(;[^,;]*)*(?:,(.*))?$/,Vr=/^(?:application|text)\/json$/,ei="utf-8";function Nr(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=Nr(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]||"",pr=Ue[3]||"",br={sourceMappingURL:ze,url:null,sourcesRelativeTo:Ae,map:pr};if(!Vr.test(tr)){var nr=new Error("Unuseful data uri mime type: "+tr);throw nr.sourceMapData=br,nr}try{br.map=rr(or===";base64"?Zr(pr):decodeURIComponent(pr),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 oi(gr,Ae,ze,Ue,tr){typeof Ue=="function"&&(tr=Ue,Ue={});var or=gr.sources?gr.sources.length:0,pr={sourcesResolved:[],sourcesContent:[]};if(or===0){ne(tr,null,pr);return}var br=function(){or--,or===0&&tr(null,pr)};di(gr,Ae,Ue,function(nr,$e,ur){if(pr.sourcesResolved[ur]=nr,typeof $e=="string")pr.sourcesContent[ur]=$e,ne(br,null);else{var $r=Ze(nr);ze($r,function(Yr,wi){pr.sourcesContent[ur]=Yr||String(wi),br()})}})}function ui(gr,Ae,ze,Ue){var tr={sourcesResolved:[],sourcesContent:[]};return!gr.sources||gr.sources.length===0||di(gr,Ae,Ue,function(or,pr,br){if(tr.sourcesResolved[br]=or,ze!==null)if(typeof pr=="string")tr.sourcesContent[br]=pr;else{var nr=Ze(or);try{tr.sourcesContent[br]=String(ze(nr))}catch($e){tr.sourcesContent[br]=$e}}}),tr}var fi=/\/?$/;function di(gr,Ae,ze,Ue){ze=ze||{},Ae=Me(Ae);for(var tr,or,pr,br=0,nr=gr.sources.length;br<nr;br++)pr=null,typeof ze.sourceRoot=="string"?pr=ze.sourceRoot:typeof gr.sourceRoot=="string"&&ze.sourceRoot!==!1&&(pr=gr.sourceRoot),pr===null||pr===""?tr=Ie(Ae,gr.sources[br]):tr=Ie(Ae,pr.replace(fi,"/"),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,pr={sourceMappingURL:null,url:or,sourcesRelativeTo:or,map:null},br=Ze(or);ze(br,function($e,ur){if($e)return $e.sourceMapData=pr,tr($e);pr.map=String(ur);try{pr.map=rr(pr.map,pr)}catch($r){return tr($r)}nr(pr)})}else Br(gr,Ae,ze,function($e,ur){if($e)return tr($e);if(!ur)return tr(null,null);nr(ur)});function nr($e){oi($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=vr(ze,or,tr),tr.map=rr(tr.map,tr)}else if(tr=Ar(gr,Ae,ze),!tr)return null;var pr=ui(tr.map,tr.sourcesRelativeTo,ze,Ue);return tr.sourcesResolved=pr.sourcesResolved,tr.sourcesContent=pr.sourcesContent,tr}return sourceMapResolve={resolveSourceMap:Br,resolveSourceMapSync:Ar,resolveSources:oi,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(vr){return Ze.sep==="\\"?vr.replace(/\\/g,"/").replace(/^[a-z]:\/?/i,"/"):vr};function rr(vr){vr._comment=vr.comment,vr.map=new ie,vr.position={line:1,column:1},vr.files={};for(var lr in c)vr[lr]=c[lr]}c.updatePosition=function(vr){var lr=vr.match(/\n/g);lr&&(this.position.line+=lr.length);var yr=vr.lastIndexOf(`
|
|
2583
|
-
`);this.position.column=~yr?vr.length-yr:this.position.column+vr.length},c.emit=function(vr,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(vr),vr},c.addFile=function(vr,lr){typeof lr.content=="string"&&(Object.prototype.hasOwnProperty.call(this.files,vr)||(this.files[vr]=lr.content))},c.applySourceMaps=function(){Object.keys(this.files).forEach(function(vr){var lr=this.files[vr];if(this.map.setSourceContent(vr,lr),this.options.inputSourcemaps!==!1){var yr=Ie.resolveSync(lr,vr,Me.readFileSync);if(yr){var kr=new we(yr.map),Br=yr.sourcesRelativeTo;this.map.applySourceMap(kr,vr,ne(Ze.dirname(Br)))}}},this)},c.comment=function(vr){return/^# sourceMappingURL=/.test(vr.comment)?this.emit("",vr.position):this._comment(vr)}}(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 vr=[];for(;;){const{done:Br,value:Ar}=await ne.read();if(Br)break;rr+=Ar.length,vr.push(Ar),we&&we(Ze,rr)}const lr=new Uint8Array(rr);let yr=0;for(const Br of vr)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[vr,lr]of Object.entries(we))rr.setRequestHeader(vr,lr);Ie&&rr.upload&&(rr.upload.onprogress=vr=>{Ie(vr.loaded,vr.total)}),Me&&(rr.onprogress=vr=>{vr.lengthComputable&&Me(vr.loaded,vr.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=vr=>{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:vr}=rr,lr=vr.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 Vr=Pr.declarations.find(Zr=>Zr.type==="declaration"?Zr.property==="src":!1),Nr=Pr.declarations.find(Zr=>Zr.type==="declaration"?Zr.property==="unicode-range":null)?.value;if(Nr&&!textIsInUnicodeRange(ie,Nr))return;if(!Vr)throw new Error("no src declaration in font-face rule");return Vr}}).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 Nr=ei.args[0].raw;if(Nr===void 0)throw new Error("no url in url function");const Zr=await Ze(()=>fetch(Nr).then(ui=>ui.blob())),Wr=Zr.type.split("/")[1],oi=await blobToDataURL(Zr);Ar.value=`url('${oi}') 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),vr=()=>{const Ar=[...rr,...ne],Pr=Ar.reduce((Vr,ei)=>Vr+ei,0)/Ar.length;ie(Pr)},lr=await Promise.all(c.map(async({src:Ar,name:Pr},Vr)=>{const ei=getTextToCoverByFont(Me);return{name:Pr,css:await resolveCSSFontFile(Ar,(Nr,Zr)=>{rr[Vr]=Nr/Zr,vr()},ei,we)}})),yr=Me.createElementNS("http://www.w3.org/2000/svg","defs");for(const{name:Ar,css:Pr}of lr){const Vr=document.createElement("style");Vr.setAttribute("type","text/css"),Vr.setAttribute("data-bx-live-font","true"),Vr.setAttribute("data-bx-font-name",Ar),Vr.innerHTML=Pr,yr.appendChild(Vr)}const kr=Me.documentElement;kr.insertBefore(yr,kr.firstChild);const Br=pLimit(1);return await Promise.all(Ze.map((Ar,Pr)=>Br(()=>resolveImage(Ar,Vr=>{ne[Pr]=Vr,vr()})))),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=[],vr=c.t={};let lr=0;const yr="[a-zA-Z0-9-]",kr=[["\\s",1],["\\d",Ie],[yr,we]],Br=Pr=>{for(const[Vr,ei]of kr)Pr=Pr.split(`${Vr}*`).join(`${Vr}{0,${ei}}`).split(`${Vr}+`).join(`${Vr}{1,${ei}}`);return Pr},Ar=(Pr,Vr,ei)=>{const Nr=Br(Vr),Zr=lr++;Me(Pr,Zr,Vr),vr[Pr]=Zr,rr[Zr]=Vr,Ze[Zr]=new RegExp(Vr,ei?"g":void 0),ne[Zr]=new RegExp(Nr,ei?"g":void 0)};Ar("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ar("NUMERICIDENTIFIERLOOSE","\\d+"),Ar("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${yr}*`),Ar("MAINVERSION",`(${rr[vr.NUMERICIDENTIFIER]})\\.(${rr[vr.NUMERICIDENTIFIER]})\\.(${rr[vr.NUMERICIDENTIFIER]})`),Ar("MAINVERSIONLOOSE",`(${rr[vr.NUMERICIDENTIFIERLOOSE]})\\.(${rr[vr.NUMERICIDENTIFIERLOOSE]})\\.(${rr[vr.NUMERICIDENTIFIERLOOSE]})`),Ar("PRERELEASEIDENTIFIER",`(?:${rr[vr.NUMERICIDENTIFIER]}|${rr[vr.NONNUMERICIDENTIFIER]})`),Ar("PRERELEASEIDENTIFIERLOOSE",`(?:${rr[vr.NUMERICIDENTIFIERLOOSE]}|${rr[vr.NONNUMERICIDENTIFIER]})`),Ar("PRERELEASE",`(?:-(${rr[vr.PRERELEASEIDENTIFIER]}(?:\\.${rr[vr.PRERELEASEIDENTIFIER]})*))`),Ar("PRERELEASELOOSE",`(?:-?(${rr[vr.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${rr[vr.PRERELEASEIDENTIFIERLOOSE]})*))`),Ar("BUILDIDENTIFIER",`${yr}+`),Ar("BUILD",`(?:\\+(${rr[vr.BUILDIDENTIFIER]}(?:\\.${rr[vr.BUILDIDENTIFIER]})*))`),Ar("FULLPLAIN",`v?${rr[vr.MAINVERSION]}${rr[vr.PRERELEASE]}?${rr[vr.BUILD]}?`),Ar("FULL",`^${rr[vr.FULLPLAIN]}$`),Ar("LOOSEPLAIN",`[v=\\s]*${rr[vr.MAINVERSIONLOOSE]}${rr[vr.PRERELEASELOOSE]}?${rr[vr.BUILD]}?`),Ar("LOOSE",`^${rr[vr.LOOSEPLAIN]}$`),Ar("GTLT","((?:<|>)?=?)"),Ar("XRANGEIDENTIFIERLOOSE",`${rr[vr.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ar("XRANGEIDENTIFIER",`${rr[vr.NUMERICIDENTIFIER]}|x|X|\\*`),Ar("XRANGEPLAIN",`[v=\\s]*(${rr[vr.XRANGEIDENTIFIER]})(?:\\.(${rr[vr.XRANGEIDENTIFIER]})(?:\\.(${rr[vr.XRANGEIDENTIFIER]})(?:${rr[vr.PRERELEASE]})?${rr[vr.BUILD]}?)?)?`),Ar("XRANGEPLAINLOOSE",`[v=\\s]*(${rr[vr.XRANGEIDENTIFIERLOOSE]})(?:\\.(${rr[vr.XRANGEIDENTIFIERLOOSE]})(?:\\.(${rr[vr.XRANGEIDENTIFIERLOOSE]})(?:${rr[vr.PRERELEASELOOSE]})?${rr[vr.BUILD]}?)?)?`),Ar("XRANGE",`^${rr[vr.GTLT]}\\s*${rr[vr.XRANGEPLAIN]}$`),Ar("XRANGELOOSE",`^${rr[vr.GTLT]}\\s*${rr[vr.XRANGEPLAINLOOSE]}$`),Ar("COERCEPLAIN",`(^|[^\\d])(\\d{1,${ie}})(?:\\.(\\d{1,${ie}}))?(?:\\.(\\d{1,${ie}}))?`),Ar("COERCE",`${rr[vr.COERCEPLAIN]}(?:$|[^\\d])`),Ar("COERCEFULL",rr[vr.COERCEPLAIN]+`(?:${rr[vr.PRERELEASE]})?(?:${rr[vr.BUILD]})?(?:$|[^\\d])`),Ar("COERCERTL",rr[vr.COERCE],!0),Ar("COERCERTLFULL",rr[vr.COERCEFULL],!0),Ar("LONETILDE","(?:~>?)"),Ar("TILDETRIM",`(\\s*)${rr[vr.LONETILDE]}\\s+`,!0),c.tildeTrimReplace="$1~",Ar("TILDE",`^${rr[vr.LONETILDE]}${rr[vr.XRANGEPLAIN]}$`),Ar("TILDELOOSE",`^${rr[vr.LONETILDE]}${rr[vr.XRANGEPLAINLOOSE]}$`),Ar("LONECARET","(?:\\^)"),Ar("CARETTRIM",`(\\s*)${rr[vr.LONECARET]}\\s+`,!0),c.caretTrimReplace="$1^",Ar("CARET",`^${rr[vr.LONECARET]}${rr[vr.XRANGEPLAIN]}$`),Ar("CARETLOOSE",`^${rr[vr.LONECARET]}${rr[vr.XRANGEPLAINLOOSE]}$`),Ar("COMPARATORLOOSE",`^${rr[vr.GTLT]}\\s*(${rr[vr.LOOSEPLAIN]})$|^$`),Ar("COMPARATOR",`^${rr[vr.GTLT]}\\s*(${rr[vr.FULLPLAIN]})$|^$`),Ar("COMPARATORTRIM",`(\\s*)${rr[vr.GTLT]}\\s*(${rr[vr.LOOSEPLAIN]}|${rr[vr.XRANGEPLAIN]})`,!0),c.comparatorTrimReplace="$1$2$3",Ar("HYPHENRANGE",`^\\s*(${rr[vr.XRANGEPLAIN]})\\s+-\\s+(${rr[vr.XRANGEPLAIN]})\\s*$`),Ar("HYPHENRANGELOOSE",`^\\s*(${rr[vr.XRANGEPLAINLOOSE]})\\s+-\\s+(${rr[vr.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 vr;for(;(vr=rr.exec(m))&&(!ie||ie.index+ie[0].length!==m.length);)(!ie||vr.index+vr[0].length!==ie.index+ie[0].length)&&(ie=vr),rr.lastIndex=vr.index+vr[1].length+vr[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(pr=>this.parseRange(pr.trim())).filter(pr=>pr.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const pr=this.set[0];if(this.set=this.set.filter(br=>!Pr(br[0])),this.set.length===0)this.set=[pr];else if(this.set.length>1){for(const br of this.set)if(br.length===1&&Vr(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 pr=0;pr<or.length;pr++)pr>0&&(this.formatted+=" "),this.formatted+=or[pr].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(tr){const pr=((this.options.includePrerelease&&Br)|(this.options.loose&&Ar))+":"+tr,br=we.get(pr);if(br)return br;const nr=this.options.loose,$e=nr?rr[vr.HYPHENRANGELOOSE]:rr[vr.HYPHENRANGE];tr=tr.replace($e,Ae(this.options.includePrerelease)),Ze("hyphen replace",tr),tr=tr.replace(rr[vr.COMPARATORTRIM],lr),Ze("comparator trim",tr),tr=tr.replace(rr[vr.TILDETRIM],yr),Ze("tilde trim",tr),tr=tr.replace(rr[vr.CARETTRIM],kr),Ze("caret trim",tr);let ur=tr.split(" ").map(ki=>Nr(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[vr.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(pr,wi),wi}intersects(tr,or){if(!(tr instanceof c))throw new TypeError("a Range is required");return this.set.some(pr=>ei(pr,or)&&tr.set.some(br=>ei(br,or)&&pr.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:vr,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",Vr=Ue=>Ue.value==="",ei=(Ue,tr)=>{let or=!0;const pr=Ue.slice();let br=pr.pop();for(;or&&pr.length;)or=pr.every(nr=>br.intersects(nr,tr)),br=pr.pop();return or},Nr=(Ue,tr)=>(Ze("comp",Ue,tr),Ue=ui(Ue,tr),Ze("caret",Ue),Ue=Wr(Ue,tr),Ze("tildes",Ue),Ue=di(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=>oi(or,tr)).join(" "),oi=(Ue,tr)=>{const or=tr.loose?rr[vr.TILDELOOSE]:rr[vr.TILDE];return Ue.replace(or,(pr,br,nr,$e,ur)=>{Ze("tilde",Ue,pr,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=>fi(or,tr)).join(" "),fi=(Ue,tr)=>{Ze("caret",Ue,tr);const or=tr.loose?rr[vr.CARETLOOSE]:rr[vr.CARET],pr=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${pr} <${+nr+1}.0.0-0`:Zr(ur)?nr==="0"?Yr=`>=${nr}.${$e}.0${pr} <${nr}.${+$e+1}.0-0`:Yr=`>=${nr}.${$e}.0${pr} <${+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}${pr} <${nr}.${$e}.${+ur+1}-0`:Yr=`>=${nr}.${$e}.${ur}${pr} <${nr}.${+$e+1}.0-0`:Yr=`>=${nr}.${$e}.${ur} <${+nr+1}.0.0-0`),Ze("caret return",Yr),Yr})},di=(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[vr.XRANGELOOSE]:rr[vr.XRANGE];return Ue.replace(or,(pr,br,nr,$e,ur,$r)=>{Ze("xRange",Ue,pr,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==="<"?pr="<0.0.0-0":pr="*":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"),pr=`${br+nr}.${$e}.${ur}${$r}`):wi?pr=`>=${nr}.0.0${$r} <${+nr+1}.0.0-0`:ki&&(pr=`>=${nr}.${$e}.0${$r} <${nr}.${+$e+1}.0-0`),Ze("xRange return",pr),pr})},hi=(Ue,tr)=>(Ze("replaceStars",Ue,tr),Ue.trim().replace(rr[vr.STAR],"")),gr=(Ue,tr)=>(Ze("replaceGTE0",Ue,tr),Ue.trim().replace(rr[tr.includePrerelease?vr.GTE0PRE:vr.GTE0],"")),Ae=Ue=>(tr,or,pr,br,nr,$e,ur,$r,Yr,wi,ki,Mi)=>(Zr(pr)?or="":Zr(br)?or=`>=${pr}.0.0${Ue?"-0":""}`:Zr(nr)?or=`>=${pr}.${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 pr=0;pr<Ue.length;pr++)if(!Ue[pr].test(tr))return!1;if(tr.prerelease.length&&!or.includePrerelease){for(let pr=0;pr<Ue.length;pr++)if(Ze(Ue[pr].semver),Ue[pr].semver!==Me.ANY&&Ue[pr].semver.prerelease.length>0){const br=Ue[pr].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 vr=0;vr<c.set.length;++vr){const lr=c.set[vr];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(" || "),vr=typeof c.raw=="string"?c.raw:String(c);return rr.length<vr.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,vr,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===">=",vr=vr||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&&vr&&!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$f=["src"],maxTries=3,_sfc_main$o=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,oi)=>{if(we.baseSerial)return Wr(we.baseSerial);const ui=getTemplateSerialUrl(we.templateId,{embedApiBaseUrl:we.embedApiBaseUrl,env:we.env});let fi=!1,di=0;for(;!fi&&di<maxTries;){const li=await fetch(ui);if(li.ok){const hi=await li.json();Wr(hi),fi=!0}else di++}fi||oi(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}})),vr=vue.ref(!1);vue.watchEffect(()=>{Ie("update:ready",vr.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 oi=async()=>{vr.value=!0;let ui,fi;for(;!ui;)ui=await Vr(),ui||await new Promise(li=>setTimeout(li,50));for(;!fi;)kr.value&&(fi=await kr.value.evaluate(()=>window.bx_serial?.value)),fi||await new Promise(li=>setTimeout(li,50));const di={...ui,...we.data};lr.value=fi,await kr.value?.setData(di),Ie("update:data",di),kr.value?.removeEventListener("ready",oi)};kr.value.addEventListener("ready",oi),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 oi=await Vr();isEqual(oi,Wr)||Pr()},{deep:!0});const Vr=()=>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 Nr(Wr){if(!kr.value)throw new Error("Controller is not available");if(!we.webgl)throw new Error("WebGL is not enabled");const oi=await kr.value.evaluate((ui,fi,di)=>{const li=JSON.parse(ui);JSON.parse(fi);const hi=di?JSON.parse(di):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(oi)}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),oi=lr.value.fonts;console.log("fontsInUse",oi);const ui=await exportSVGDocument(Wr,oi,di=>{console.log(di)},!0);return new DOMParser().parseFromString(ui,"image/svg+xml")}return c({renderWebGL:Nr,renderSVG:Zr,webglSupported:ei,resolveData:Vr,controller:kr}),(Wr,oi)=>(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$f)]))}}),BluepicEmbedded_vue_vue_type_style_index_0_scoped_b3d7678c_lang="",BluepicEmbedded=_export_sfc(_sfc_main$o,[["__scopeId","data-v-b3d7678c"]]);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"}),vr=()=>{rr(),Ze()};return Ee(vr),vr}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)}),vr=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(),vr()};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)]),vr=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(),vr()};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),vr=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,vr.value=0,lr.value=0,yr.value=0,kr.value=0,Br.value=0);return}const Vr=Pr.getBoundingClientRect();Ze.value=Vr.height,ne.value=Vr.bottom,rr.value=Vr.left,vr.value=Vr.right,lr.value=Vr.top,yr.value=Vr.width,kr.value=Vr.x,Br.value=Vr.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:vr,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:vr,maxScale:lr,naturalScale:yr,clientCoordsToWrapperCoords:kr,getCanvasCoords:Br,calcProjectionTranslate:Ar}){let Pr=null,Vr=[0,0];const ei=Nr=>Array.from(Nr).map(Zr=>{const Wr=kr(Zr.clientX,Zr.clientY);return{client:[Zr.clientX,Zr.clientY],canvasRel:Br(Wr[0],Wr[1])}});return{handleTouchstart:Nr=>{Nr.target.closest(".matrix")===null&&(Nr.preventDefault(),Pr=ei(Nr.touches),Ze.value,Vr=[Ie.value[0],Ie.value[1]],Me.value)},handleTouchmove:Nr=>{if(Nr.target.closest(".matrix")!==null)return;Nr.preventDefault();const Zr=Array.from(Nr.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],oi=[Pr[1].canvasRel[0]*ie.value,Pr[1].canvasRel[1]*we.value],ui=Math.sqrt(Math.pow(Wr[0]-oi[0],2)+Math.pow(Wr[1]-oi[1],2)),fi=Math.sqrt(Math.pow(Zr[0][0]-Zr[1][0],2)+Math.pow(Zr[0][1]-Zr[1][1],2))/yr.value,di=ce(fi/ui,vr.value,lr.value),li=[Zr[0][0]/m.value,Zr[0][1]/c.value],hi=Pr[0].canvasRel,[gr,Ae]=Ar(di,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*di+gr,ne.value.top+we.value*$r*yr.value*di+Ae]};const pr=Re(Wr,oi);tr=Re(Zr[0],Zr[1])-pr,console.log("startAngle",pr);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=di,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=Nr.touches[0].clientX-Pr[0].client[0],oi=Nr.touches[0].clientY-Pr[0].client[1],ui=[Vr[0]+Wr,Vr[1]+oi];Ie.value=ui}},handleTouchend:Nr=>{Nr.target.closest(".matrix")===null&&(Nr.touches.length===0?Pr=null:(Pr=ei(Nr.touches),Ze.value,Vr=[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:vr,deltaY:lr,ctrlKey:yr}=rr;const kr=[120,100],Br=2;ut(rr)||((Math.abs(vr)===120||Math.abs(vr)===200)&&(vr=vr/(100/Br*Ye(vr,kr))*Math.sign(vr)),(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,Vr=ce(Ar+Pr,ie.value,we.value),[ei,Nr]=Ze(Vr,Ie(rr.clientX,rr.clientY),Me(rr.clientX,rr.clientY));c.value=[ei,Nr],m.value=Vr}else c.value=[c.value[0]-vr,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:vr,width:lr,height:yr}=rt(m),kr=vue.computed(()=>({x:rr.value,y:vr.value,width:lr.value,height:yr.value})),Br=vue.computed(()=>rr.value+we.value.left),Ar=vue.computed(()=>vr.value+we.value.top),Pr=vue.computed(()=>lr.value-we.value.left-we.value.right),Vr=vue.computed(()=>yr.value-we.value.top-we.value.bottom),ei=vue.computed(()=>Pr.value/Vr.value),Nr=vue.computed(()=>c.value/ie.value),Zr=vue.computed(()=>Nr.value>=ei.value?Pr.value/c.value:Vr.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*fi.value-Pr.value,Sn=ie.value*fi.value-Vr.value;if(Me.value||!Ie.value)tn.value=Ji,Tn.value=Vi;else{const An=-Gn,To=Math.max(0,-Gn/2),pn=-Sn,Dn=Math.max(0,-Sn/2);tn.value=ce(Ji,An,To),Tn.value=ce(Vi,pn,Dn)}}})})(),oi=(()=>{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}})})(),fi=vue.computed(()=>oi.value*Zr.value),di=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);oi.value=tn,Wr.value=Gn,hi.value=Vi,Ae=!0,vue.nextTick(()=>{Ae=!1}),setTimeout(()=>{hi.value=!1},gr.value*1e3)}vue.watch([li,fi,di],()=>{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],Sn=$r(.5,.5,tn,Tn,Ji),An=Sn[0]-Gn[0],To=Sn[1]-Gn[1];return[An,To]}function tr(){const tn=Ue(oi.value,[0,0],ui.value);return{x:he(Wr.value[0]+tn[0],6),y:he(Wr.value[1]+tn[1],6),scale:he(oi.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]],oi.value=tn.scale,ui.value=Ji}});function pr(tn,Tn){return[tn-Br.value,Tn-Ar.value]}function br(tn,Tn){const[Ji,Vi]=pr(tn,Tn);return[Ji/Pr.value,Vi/Vr.value]}function nr(tn,Tn){const Ji=[0,0],Vi=[tn-Wr.value[0],Tn-Wr.value[1]],Gn=pe(Vi,Ji,-ui.value),Sn=[Gn[0]/fi.value,Gn[1]/fi.value];return[Sn[0]/c.value,Sn[1]/ie.value]}function $e(tn,Tn){const Ji=pr(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??oi.value,Vi=Vi??Wr.value,Gn=Gn??ui.value;const Sn=[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,Sn,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,Sn=ie.value*Zr.value,An=Ji[0]*Gn*tn,To=Ji[1]*Sn*tn,pn=pe([An,To],[0,0],Vi??ui.value),Dn=Tn[0]*Pr.value,Ho=Tn[1]*Vr.value,zn=Dn-pn[0],Fn=Ho-pn[1];return[zn,Fn]}function ki(tn,Tn,Ji){const Vi=Ji,Gn=Ue(oi.value,[0,0],Vi),Sn=[0-Gn[0],0-Gn[1]],An=oi.value,To=$r(tn,Tn,An,Sn,Vi),pn=$r(tn,Tn),Dn=pn[0]-To[0],Ho=pn[1]-To[1];Wr.value=[Sn[0]+Dn,Sn[1]+Ho],ui.value=Vi}const{handleTouchend:Mi,handleTouchmove:si,handleTouchstart:_i}=lt({wrapperInnerWidth:Pr,wrapperInnerHeight:Vr,canvasNaturalWidth:c,canvasNaturalHeight:ie,translate:Wr,rotate:ui,scale:oi,offset:we,rotationEnabled:Me,minScale:Ze,maxScale:ne,naturalScale:Zr,clientCoordsToWrapperCoords:pr,getCanvasCoords:nr,calcProjectionTranslate:wi}),{handleWheel:ii}=it({scale:oi,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:dn}=dt(ui,Me,ki,$e);return{handleTouchend:Mi,handleTouchmove:si,handleTouchstart:_i,handleGesturestart:Di,handleGesturechange:Ui,handleGestureend:dn,translate:Wr,scale:oi,rotate:ui,renderingScale:fi,renderingTranslate:di,renderingRotate:li,exposedTransform:or,rotateCanvas:ki,calcProjectionTranslate:wi,clientCoordsToWrapperCoords:pr,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:vr,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 vr=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)&&(fi(!0),oi()):oi(),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))}),Vr(),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)},Vr=()=>{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,pr)=>or/(Me.axisVelocity[pr]||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))},Nr=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(Nr).length===Ae.length;return ze||Ue})&&Wr(),Me.accelerationFactors=gr}},Wr=()=>{Me.isMomentum=!0},oi=()=>{Me=Le(),Me.isStarted=!0,Me.startTime=Date.now(),rr=void 0,ne=!1},ui=(()=>{let gr;return()=>{clearTimeout(gr),gr=setTimeout(fi,Me.willEndTimeout)}})(),fi=(gr=!1)=>{!Me.isStarted||(Me.isMomentum&&gr?yr({isEnding:!0,isMomentumCancel:!0}):yr({isEnding:!0}),Me.isMomentum=!1,Me.isStarted=!1)},{observe:di,unobserve:li,disconnect:hi}=wt(vr);return lr(m),re({on:c,off:ie,observe:di,unobserve:li,disconnect:hi,feedWheel:vr,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"),vr=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:Vr,handleMousedown:ei,handleMousemove:Nr,handleMouseup:Zr,handleTouchstart:Wr,handleTouchmove:oi,handleTouchend:ui,handleGesturestart:fi,handleGesturechange:di,handleGestureend:li,applyTransform:hi,rotateCanvas:gr,compose:Ae,exposedTransform:ze,calcProjectionTranslate:Ue,clientCoordinatesToCanvasCoordinates:tr,normalizeMatrixCoordinates:or,transitionEnabled:pr,transitionDuration:br,wrapperX:nr,wrapperY:$e,wrapperWidth:ur,wrapperHeight:$r}=ft({wrapperElementRef:Me,canvasNaturalWidth:rr,canvasNaturalHeight:vr,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),Vr(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&&oi(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&&Nr(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 dn=vue.computed(()=>!Ui()&&we.gesture),tn=Gn=>{dn.value&&fi(Gn)},Tn=Gn=>{dn.value&&di(Gn)},Ji=Gn=>{dn.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,Sn)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"zoompinchRef",ref:Me,class:vue.normalizeClass(["zoompinch",{"transition-enabled":vue.unref(pr)}]),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$e={class:"error-symbol"},_hoisted_3$a={class:"error-message"},_hoisted_4$7={key:0},_hoisted_5$6={key:1},_hoisted_6$5={class:"error-actions"},_hoisted_7$4={xmlns:"http://www.w3.org/2000/svg"},_hoisted_8$4={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:{},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");console.log("DATA IN <BluepicLiveTemplate>",Ie.value);const Me=vue.useModel(m,"serial"),Ze=vue.useModel(m,"ready"),ne=vue.ref(),rr=vue.ref(),vr=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"}),Vr=vue.ref({x:0,y:0,scale:1,rotate:0});window.transform=Vr;function ei(Tn){const Ji=vr.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 Nr=vue.computed(()=>Me.value?.frames??{x:1,y:1}),Zr=vue.ref([0,0]);window.focusedFrame=Zr,window.zoompinchRef=vr;const Wr=vue.computed(()=>vr.value?.wrapperBounds),oi=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}),fi=vue.computed(()=>{if(oi.value&&ui.value)return oi.value>ui.value?"width":"height"}),di=vue.computed(()=>{if(oi.value&&ui.value)return ui.value<oi.value?oi.value/ui.value:ui.value/oi.value}),li=vue.computed(()=>{if(oi.value)return oi.value/(Nr.value.x/Nr.value.y)}),hi=vue.computed(()=>{if(li.value&&ui.value)return li.value>ui.value?"width":"height"}),gr=vue.computed(()=>{if(!!di.value)if(hi.value===fi.value){if(hi.value==="height")return Nr.value.y;if(hi.value==="width")return Nr.value.x}else{if(hi.value==="height")return di.value*Nr.value.y;if(hi.value==="width")return di.value*Nr.value.x}});function Ae(Tn,Ji){const Vi=gr.value;if(!Wr.value||!oi.value||!Vi)return;const Gn=fi.value==="width"?Wr.value?.width:Wr.value?.height/oi.value,Sn=fi.value==="height"?Wr.value?.height:Wr.value?.width*oi.value,An=Gn*Vi,To=Sn*Vi,pn=An/2,Dn=To/2,Ho=An/Nr.value.x,zn=To/Nr.value.y,Fn=pn-Ho*.5-Ho*Tn,Wo=Dn-zn*.5-zn*Ji;return{rotate:0,scale:Vi,x:Fn,y:Wo}}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||!Vr.value||!oi.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)!==Vr.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/Nr.value.x),Vi=(Tn.y-Tn.scale*Wr.value.height/2)/(Tn.scale*Wr.value.height/Nr.value.y);return[Ji,Vi]}const tr=vue.computed(()=>{if(!Wr.value||!Vr.value||!oi.value)return;const Tn=fi.value==="width"?Wr.value.width:Wr.value.height*oi.value,Vi=(fi.value==="height"?Wr.value.height:Wr.value.width/oi.value)/2*Vr.value.scale-Wr.value.height/2,Gn=Tn/2*Vr.value.scale-Wr.value.width/2,Sn=-Gn,An=-Vi;return{top:Vi,right:Sn,bottom:An,left:Gn}}),or=vue.computed(()=>{if(!!tr.value)return[(Vr.value.x-tr.value.left)/(tr.value.right-tr.value.left),(Vr.value.y-tr.value.top)/(tr.value.bottom-tr.value.top)]}),pr=vue.computed(()=>{if(!!gr.value)return Math.abs(1-Vr.value.scale/gr.value)}),br=vue.computed(()=>{if(pr.value===void 0||pr.value>.25||!or.value)return;const Tn=Array.from({length:Nr.value.x*Nr.value.y},(pn,Dn)=>{const Ho=Dn%Nr.value.x,zn=Math.floor(Dn/Nr.value.x);return{x:Ho,y:zn,transform:Ae(Ho,zn)}}).filter(({transform:pn})=>pn),Ji=Vr.value.x,Vi=Vr.value.y,Gn=Tn.map(({x:pn,transform:Dn})=>({index:pn,distance:Math.abs(Dn.x-Ji)})),Sn=Tn.map(({y:pn,transform:Dn})=>({index:pn,distance:Math.abs(Dn.y-Vi)})),An=Gn.reduce((pn,Dn)=>pn.distance<Dn.distance?pn:Dn),To=Sn.reduce((pn,Dn)=>pn.distance<Dn.distance?pn:Dn);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 fi.value==="height"?1:Wr.value.height/Wr.value.width}),ur=vue.computed(()=>{if(Wr.value)return fi.value==="width"?1:Wr.value.width/Wr.value.height});window.getTransformToFocusFrame=Ae,window.calcCurrFocusedFrame=Ue,window.bluepicEmbeddedRef=rr;const $r=vue.computed(()=>{if(!!Vr.value)return Vr.value.scale!==1||Vr.value.x!==0||Vr.value.y!==0||Vr.value.rotate!==0}),Yr=()=>{vr.value?.applyTransform(1,[.5,.5],[.5,.5],!0)};function wi(Tn,Ji){if(!gr.value)return;const Vi=1/Nr.value.x,Gn=1/Nr.value.y,Sn=(Tn-1)*Vi+Vi/2,An=(Ji-1)*Gn+Gn/2;vr.value?.applyTransform(gr.value,[.5,.5],[Sn,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=vr.value?.normalizeMatrixCoordinates(Tn,Ji);if(!Vi)return console.error("no matrix coords. This should not happen");const Gn=Math.min(Nr.value.x,Math.max(0,Math.trunc(Vi[0]/(1/Nr.value.x))+1)),Sn=Math.min(Nr.value.y,Math.max(0,Math.trunc(Vi[1]/(1/Nr.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(Vr.value.scale,6),pn=round$3(An?.rotate,6)===round$3(Vr.value.rotate,6),Dn=Math.abs(br.value.x.distance)+Math.abs(br.value.y.distance);if(To&&pn&&Dn!==void 0&&Dn<5&&Gn===nr.value.x&&Sn===nr.value.y)return Yr()}wi(Gn,Sn)}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&&vr.value?.applyTransform(1,[.5,.5],[.5,.5],!0)});let Di,Ui;function dn(){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(()=>{Vr.value={x:0,y:0,scale:1,rotate:0}})}),c({aspectRatio:Ar,aspectRatioSizingSide:Pr,bluepicLiveTemplateRootWidth:yr,bluepicLiveTemplateRootHeight:kr,bluepicEmbeddedRef:rr,zoompinchRef:vr,isMultiFrame:ze,ready:Ze,transform:Vr,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$e,[vue.createVNode(vue.unref(BxIcon),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(BandageOutline))]),_:1})]),vue.createElementVNode("div",_hoisted_3$a,[_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$5,[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:vr,transform:Vr.value,"onUpdate:transform":Ji[4]||(Ji[4]=Vi=>Vr.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:dn,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,Sn=>vue.createElementVNode("span",null,vue.toDisplayString(Tn.watermark),1)),64))])),64))])):vue.createCommentVNode("",!0),(vue.openBlock(),vue.createElementBlock("svg",_hoisted_7$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Array.from({length:Nr.value.y},(Gn,Sn)=>Sn),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":Vr.value.scale,"--cover-scale-x":ur.value,"--cover-scale-y":$e.value,"--inner-scroll-x":or.value[0],"--inner-scroll-y":or.value[1]})},[Vr.value.scale>ur.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$4)):vue.createCommentVNode("",!0),Vr.value.scale>$e.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$3)):vue.createCommentVNode("",!0),Nr.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(Nr.value.x,Gn=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["frame-dot",{active:nr.value?.x===Gn,disabled:!nr.value}]),onClick:Sn=>ki(Gn,Sn)},null,10,_hoisted_12$2))),256))])])):vue.createCommentVNode("",!0),Nr.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(Nr.value.y,Gn=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["frame-dot",{active:nr.value?.y===Gn,disabled:!nr.value}]),onClick:Sn=>Mi(Gn,Sn)},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_3f408cfe_lang="",BluepicLiveTemplate_vue_vue_type_style_index_1_scoped_3f408cfe_lang="",BluepicLiveTemplate=_export_sfc(_sfc_main$n,[["__scopeId","data-v-3f408cfe"]]),_hoisted_1$h={class:"label"},_hoisted_2$d={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),[Vr,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:Vr-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),[Vr,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`${Vr-Ar}px`}return"100%"});vue.watch(()=>c.field,()=>{vue.nextTick(()=>{Me()})},{immediate:!0});const{fields:vr,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$d,[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)),vr=vue.computed(()=>Math.max(0,ie.length>rr.value?rr.value-1:ie.length)),lr=vue.computed(()=>{if(vr.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(vr.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>vr.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 vr=ie>Me?"next":"prev",lr=(kr,Br)=>vr==="next"&&kr>=Br||vr==="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 Vr=c.params.navigation;Ar=makeElementsArray(Ar),Ar.forEach(ei=>{ei&&(ei.classList[Pr?"add":"remove"](...Vr.disabledClass.split(" ")),ei.tagName==="BUTTON"&&(ei.disabled=Pr),c.params.watchOverflow&&c.enabled&&ei.classList[c.isLocked?"add":"remove"](Vr.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 vr(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),Vr=Me(Ar.prevEl);Object.assign(c.navigation,{nextEl:Pr,prevEl:Vr}),Pr=makeElementsArray(Pr),Vr=makeElementsArray(Vr);const ei=(Nr,Zr)=>{Nr&&Nr.addEventListener("click",Zr==="next"?vr:rr),!c.enabled&&Nr&&Nr.classList.add(...Ar.lockClass.split(" "))};Pr.forEach(Nr=>ei(Nr,"next")),Vr.forEach(Nr=>ei(Nr,"prev"))}function yr(){let{nextEl:Ar,prevEl:Pr}=c.navigation;Ar=makeElementsArray(Ar),Pr=makeElementsArray(Pr);const Vr=(ei,Nr)=>{ei.removeEventListener("click",Nr==="next"?vr:rr),ei.classList.remove(...c.params.navigation.disabledClass.split(" "))};Ar.forEach(ei=>Vr(ei,"next")),Pr.forEach(ei=>Vr(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(Vr=>!!Vr).forEach(Vr=>Vr.classList.add(c.params.navigation.lockClass))}),we("click",(Ar,Pr)=>{let{nextEl:Vr,prevEl:ei}=c.navigation;Vr=makeElementsArray(Vr),ei=makeElementsArray(ei);const Nr=Pr.target;let Zr=ei.includes(Nr)||Vr.includes(Nr);if(c.isElement&&!Zr){const Wr=Pr.path||Pr.composedPath&&Pr.composedPath();Wr&&(Zr=Wr.find(oi=>Vr.includes(oi)||ei.includes(oi)))}if(c.params.navigation.hideOnClick&&!Zr){if(c.pagination&&c.params.pagination&&c.params.pagination.clickable&&(c.pagination.el===Nr||c.pagination.el.contains(Nr)))return;let Wr;Vr.length?Wr=Vr[0].classList.contains(c.params.navigation.hiddenClass):ei.length&&(Wr=ei[0].classList.contains(c.params.navigation.hiddenClass)),Ie(Wr===!0?"navigationShow":"navigationHide"),[...Vr,...ei].filter(oi=>!!oi).forEach(oi=>oi.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:Nr=>Nr,formatFractionTotal:Nr=>Nr,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 vr(Nr,Zr){const{bulletActiveClass:Wr}=c.params.pagination;!Nr||(Nr=Nr[`${Zr==="prev"?"previous":"next"}ElementSibling`],Nr&&(Nr.classList.add(`${Wr}-${Zr}`),Nr=Nr[`${Zr==="prev"?"previous":"next"}ElementSibling`],Nr&&Nr.classList.add(`${Wr}-${Zr}-${Zr}`)))}function lr(Nr,Zr,Wr){if(Nr=Nr%Wr,Zr=Zr%Wr,Zr===Nr+1)return"next";if(Zr===Nr-1)return"previous"}function yr(Nr){const Zr=Nr.target.closest(classesToSelector(c.params.pagination.bulletClass));if(!Zr)return;Nr.preventDefault();const Wr=elementIndex(Zr)*c.params.slidesPerGroup;if(c.params.loop){if(c.realIndex===Wr)return;const oi=lr(c.realIndex,Wr,c.slides.length);oi==="next"?c.slideNext():oi==="previous"?c.slidePrev():c.slideToLoop(Wr)}else c.slideTo(Wr)}function kr(){const Nr=c.rtl,Zr=c.params.pagination;if(rr())return;let Wr=c.pagination.el;Wr=makeElementsArray(Wr);let oi,ui;const fi=c.virtual&&c.params.virtual.enabled?c.virtual.slides.length:c.slides.length,di=c.params.loop?Math.ceil(fi/c.params.slidesPerGroup):c.snapGrid.length;if(c.params.loop?(ui=c.previousRealIndex||0,oi=c.params.slidesPerGroup>1?Math.floor(c.realIndex/c.params.slidesPerGroup):c.realIndex):typeof c.snapIndex<"u"?(oi=c.snapIndex,ui=c.previousSnapIndex):(ui=c.previousIndex||0,oi=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+=oi-(ui||0),ne>Zr.dynamicMainBullets-1?ne=Zr.dynamicMainBullets-1:ne<0&&(ne=0)),hi=Math.max(oi-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===oi?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&&vr(ze,"prev"),Ue===gr&&vr(ze,"next"))});else{const ze=li[oi];if(ze&&ze.classList.add(...Zr.bulletActiveClass.split(" ")),c.isElement&&li.forEach((Ue,tr)=>{Ue.setAttribute("part",tr===oi?"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(" "));vr(Ue,"prev"),vr(tr,"next")}}if(Zr.dynamicBullets){const ze=Math.min(li.length,Zr.dynamicMainBullets+4),Ue=(Ze*ze-Ze)/2-Ae*Ze,tr=Nr?"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(oi+1)}),li.querySelectorAll(classesToSelector(Zr.totalClass)).forEach(gr=>{gr.textContent=Zr.formatFractionTotal(di)})),Zr.type==="progressbar"){let gr;Zr.progressbarOpposite?gr=c.isHorizontal()?"vertical":"horizontal":gr=c.isHorizontal()?"horizontal":"vertical";const Ae=(oi+1)/di;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,oi+1,di),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 Nr=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 oi="";if(Nr.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 fi=0;fi<ui;fi+=1)Nr.renderBullet?oi+=Nr.renderBullet.call(c,fi,Nr.bulletClass):oi+=`<${Nr.bulletElement} ${c.isElement?'part="bullet"':""} class="${Nr.bulletClass}"></${Nr.bulletElement}>`}Nr.type==="fraction"&&(Nr.renderFraction?oi=Nr.renderFraction.call(c,Nr.currentClass,Nr.totalClass):oi=`<span class="${Nr.currentClass}"></span> / <span class="${Nr.totalClass}"></span>`),Nr.type==="progressbar"&&(Nr.renderProgressbar?oi=Nr.renderProgressbar.call(c,Nr.progressbarFillClass):oi=`<span class="${Nr.progressbarFillClass}"></span>`),c.pagination.bullets=[],Wr.forEach(ui=>{Nr.type!=="custom"&&(ui.innerHTML=oi||""),Nr.type==="bullets"&&c.pagination.bullets.push(...ui.querySelectorAll(classesToSelector(Nr.bulletClass)))}),Nr.type!=="custom"&&Ie("paginationRender",Wr[0])}function Ar(){c.params.pagination=createElementIfNotDefined(c,c.originalParams.pagination,c.params.pagination,{el:"swiper-pagination"});const Nr=c.params.pagination;if(!Nr.el)return;let Zr;typeof Nr.el=="string"&&c.isElement&&(Zr=c.el.querySelector(Nr.el)),!Zr&&typeof Nr.el=="string"&&(Zr=[...document.querySelectorAll(Nr.el)]),Zr||(Zr=Nr.el),!(!Zr||Zr.length===0)&&(c.params.uniqueNavElements&&typeof Nr.el=="string"&&Array.isArray(Zr)&&Zr.length>1&&(Zr=[...c.el.querySelectorAll(Nr.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=>{Nr.type==="bullets"&&Nr.clickable&&Wr.classList.add(...(Nr.clickableClass||"").split(" ")),Wr.classList.add(Nr.modifierClass+Nr.type),Wr.classList.add(c.isHorizontal()?Nr.horizontalClass:Nr.verticalClass),Nr.type==="bullets"&&Nr.dynamicBullets&&(Wr.classList.add(`${Nr.modifierClass}${Nr.type}-dynamic`),ne=0,Nr.dynamicMainBullets<1&&(Nr.dynamicMainBullets=1)),Nr.type==="progressbar"&&Nr.progressbarOpposite&&Wr.classList.add(Nr.progressbarOppositeClass),Nr.clickable&&Wr.addEventListener("click",yr),c.enabled||Wr.classList.add(Nr.lockClass)}))}function Pr(){const Nr=c.params.pagination;if(rr())return;let Zr=c.pagination.el;Zr&&(Zr=makeElementsArray(Zr),Zr.forEach(Wr=>{Wr.classList.remove(Nr.hiddenClass),Wr.classList.remove(Nr.modifierClass+Nr.type),Wr.classList.remove(c.isHorizontal()?Nr.horizontalClass:Nr.verticalClass),Nr.clickable&&(Wr.classList.remove(...(Nr.clickableClass||"").split(" ")),Wr.removeEventListener("click",yr))})),c.pagination.bullets&&c.pagination.bullets.forEach(Wr=>Wr.classList.remove(...Nr.bulletActiveClass.split(" ")))}we("changeDirection",()=>{if(!c.pagination||!c.pagination.el)return;const Nr=c.params.pagination;let{el:Zr}=c.pagination;Zr=makeElementsArray(Zr),Zr.forEach(Wr=>{Wr.classList.remove(Nr.horizontalClass,Nr.verticalClass),Wr.classList.add(c.isHorizontal()?Nr.horizontalClass:Nr.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:Nr}=c.pagination;Nr&&(Nr=makeElementsArray(Nr),Nr.forEach(Zr=>Zr.classList[c.enabled?"remove":"add"](c.params.pagination.lockClass)))}),we("lock unlock",()=>{kr()}),we("click",(Nr,Zr)=>{const Wr=Zr.target,oi=makeElementsArray(c.pagination.el);if(c.params.pagination.el&&c.params.pagination.hideOnClick&&oi&&oi.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=oi[0].classList.contains(c.params.pagination.hiddenClass);Ie(ui===!0?"paginationShow":"paginationHide"),oi.forEach(fi=>fi.classList.toggle(c.params.pagination.hiddenClass))}});const Vr=()=>{c.el.classList.remove(c.params.pagination.paginationDisabledClass);let{el:Nr}=c.pagination;Nr&&(Nr=makeElementsArray(Nr),Nr.forEach(Zr=>Zr.classList.remove(c.params.pagination.paginationDisabledClass))),Ar(),Br(),kr()},ei=()=>{c.el.classList.add(c.params.pagination.paginationDisabledClass);let{el:Nr}=c.pagination;Nr&&(Nr=makeElementsArray(Nr),Nr.forEach(Zr=>Zr.classList.add(c.params.pagination.paginationDisabledClass))),Pr()};Object.assign(c.pagination,{enable:Vr,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,vr,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,pr=c.params.loop?c.progressLoop:c.progress;let br=lr,nr=(yr-lr)*pr;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 Vr(Ae){return c.isHorizontal()?Ae.clientX:Ae.clientY}function ei(Ae){const{scrollbar:ze,rtlTranslate:Ue}=c,{el:tr}=ze;let or;or=(Vr(Ae)-elementOffset(tr)[c.isHorizontal()?"left":"top"]-(vr!==null?vr:lr/2))/(yr-lr),or=Math.max(Math.min(or,1),0),Ue&&(or=1-or);const pr=c.minTranslate()+(c.maxTranslate()-c.minTranslate())*or;c.updateProgress(pr),c.setTranslate(pr),c.updateActiveIndex(),c.updateSlidesClasses()}function Nr(Ae){const ze=c.params.scrollbar,{scrollbar:Ue,wrapperEl:tr}=c,{el:or,dragEl:pr}=Ue;Ze=!0,vr=Ae.target===pr?Vr(Ae)-Ae.target.getBoundingClientRect()[c.isHorizontal()?"left":"top"]:null,Ae.preventDefault(),Ae.stopPropagation(),tr.style.transitionDuration="100ms",pr.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 oi(Ae){const{scrollbar:ze,params:Ue}=c,tr=ze.el;if(!tr)return;const or=tr,pr=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",Nr,pr),Me[nr]("pointermove",Zr,pr),Me[nr]("pointerup",Wr,br)}function ui(){!c.params.scrollbar.el||!c.scrollbar.el||oi("on")}function fi(){!c.params.scrollbar.el||!c.scrollbar.el||oi("off")}function di(){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)),fi()}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():(di(),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)),di(),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:di,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(pr){const br=Ie;br.length!==0&&(br.innerHTML="",br.innerHTML=pr)}function vr(pr){pr===void 0&&(pr=16);const br=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(pr).replace(/x/g,br)}function lr(pr){pr=makeElementsArray(pr),pr.forEach(br=>{br.setAttribute("tabIndex","0")})}function yr(pr){pr=makeElementsArray(pr),pr.forEach(br=>{br.setAttribute("tabIndex","-1")})}function kr(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("role",br)})}function Br(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("aria-roledescription",br)})}function Ar(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("aria-controls",br)})}function Pr(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("aria-label",br)})}function Vr(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("id",br)})}function ei(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("aria-live",br)})}function Nr(pr){pr=makeElementsArray(pr),pr.forEach(br=>{br.setAttribute("aria-disabled",!0)})}function Zr(pr){pr=makeElementsArray(pr),pr.forEach(br=>{br.setAttribute("aria-disabled",!1)})}function Wr(pr){if(pr.keyCode!==13&&pr.keyCode!==32)return;const br=c.params.a11y,nr=pr.target;if(!(c.pagination&&c.pagination.el&&(nr===c.pagination.el||c.pagination.el.contains(pr.target))&&!pr.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 oi(){if(c.params.loop||c.params.rewind||!c.navigation)return;const{nextEl:pr,prevEl:br}=c.navigation;br&&(c.isBeginning?(Nr(br),yr(br)):(Zr(br),lr(br))),pr&&(c.isEnd?(Nr(pr),yr(pr)):(Zr(pr),lr(pr)))}function ui(){return c.pagination&&c.pagination.bullets&&c.pagination.bullets.length}function fi(){return ui()&&c.params.pagination.clickable}function di(){const pr=c.params.a11y;!ui()||c.pagination.bullets.forEach(br=>{c.params.pagination.clickable&&(lr(br),c.params.pagination.renderBullet||(kr(br,"button"),Pr(br,pr.paginationBulletMessage.replace(/\{\{index\}\}/,elementIndex(br)+1)))),br.matches(classesToSelector(c.params.pagination.bulletActiveClass))?br.setAttribute("aria-current","true"):br.removeAttribute("aria-current")})}const li=(pr,br,nr)=>{lr(pr),pr.tagName!=="BUTTON"&&(kr(pr,"button"),pr.addEventListener("keydown",Wr)),Pr(pr,nr),Ar(pr,br)},hi=pr=>{Ze&&Ze!==pr.target&&!Ze.contains(pr.target)&&(Me=!0),c.a11y.clicked=!0},gr=()=>{Me=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{c.destroyed||(c.a11y.clicked=!1)})})},Ae=pr=>{ne=new Date().getTime()},ze=pr=>{if(c.a11y.clicked||!c.params.a11y.scrollOnFocus||new Date().getTime()-ne<100)return;const br=pr.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||pr.sourceCapabilities&&pr.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 pr=c.params.a11y;pr.itemRoleDescriptionMessage&&Br(c.slides,pr.itemRoleDescriptionMessage),pr.slideRole&&kr(c.slides,pr.slideRole);const br=c.slides.length;pr.slideLabelMessage&&c.slides.forEach((nr,$e)=>{const ur=c.params.loop?parseInt(nr.getAttribute("data-swiper-slide-index"),10):$e,$r=pr.slideLabelMessage.replace(/\{\{index\}\}/,ur+1).replace(/\{\{slidesLength\}\}/,br);Pr(nr,$r)})},tr=()=>{const pr=c.params.a11y;c.el.append(Ie);const br=c.el;pr.containerRoleDescriptionMessage&&Br(br,pr.containerRoleDescriptionMessage),pr.containerMessage&&Pr(br,pr.containerMessage),pr.containerRole&&kr(br,pr.containerRole);const nr=c.wrapperEl,$e=pr.id||nr.getAttribute("id")||`swiper-wrapper-${vr(16)}`,ur=c.params.autoplay&&c.params.autoplay.enabled?"off":"polite";Vr(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,pr.nextSlideMessage)),Yr&&Yr.forEach(ki=>li(ki,$e,pr.prevSlideMessage)),fi()&&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:pr,prevEl:br}=c.navigation?c.navigation:{};pr=makeElementsArray(pr),br=makeElementsArray(br),pr&&pr.forEach($e=>$e.removeEventListener("keydown",Wr)),br&&br.forEach($e=>$e.removeEventListener("keydown",Wr)),fi()&&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||oi()}),we("paginationUpdate",()=>{!c.params.a11y.enabled||di()}),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,vr=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),vr&&!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,vr]=ne.split("Version/")[1].split(" ")[0].split(".").map(lr=>Number(lr));ie=rr<16||rr===16&&vr<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(Vr=>{let{contentBoxSize:ei,contentRect:Nr,target:Zr}=Vr;Zr&&Zr!==c.el||(Ar=Nr?Nr.width:(ei[0]||ei).inlineSize,Pr=Nr?Nr.height:(ei[0]||ei).blockSize)}),(Ar!==kr||Pr!==Br)&&ne()})}),Me.observe(c.el))},vr=()=>{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",()=>{vr(),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})}},vr=()=>{Me.forEach(lr=>{lr.disconnect()}),Me.splice(0,Me.length)};ie({observer:!1,observeParents:!1,observeSlideChildren:!1}),we("init",rr),we("destroy",vr)}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(vr=>{vr.apply(we,[rr,...ie])}),m.eventsListeners&&m.eventsListeners[rr]&&m.eventsListeners[rr].forEach(vr=>{vr.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,vr=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 Vr=ie.slidesOffsetAfter;typeof Vr=="function"&&(Vr=ie.slidesOffsetAfter.call(m));const ei=m.snapGrid.length,Nr=m.slidesGrid.length;let Zr=ie.spaceBetween,Wr=-Pr,oi=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 fi=ie.grid&&ie.grid.rows>1&&m.grid;fi?m.grid.initSlides(lr):m.grid&&m.grid.unsetSlides();let di;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){di=0;let gr;if(lr[hi]&&(gr=lr[hi]),fi&&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)di=m.isHorizontal()?elementOuterSize(gr,"width",!0):elementOuterSize(gr,"height",!0);else{const tr=c(Ae,"width"),or=c(Ae,"padding-left"),pr=c(Ae,"padding-right"),br=c(Ae,"margin-left"),nr=c(Ae,"margin-right"),$e=Ae.getPropertyValue("box-sizing");if($e&&$e==="border-box")di=tr+br+nr;else{const{clientWidth:ur,offsetWidth:$r}=gr;di=tr+or+pr+br+nr+($r-ur)}}ze&&(gr.style.transform=ze),Ue&&(gr.style.webkitTransform=Ue),ie.roundLengths&&(di=Math.floor(di))}else di=(Me-(ie.slidesPerView-1)*Zr)/ie.slidesPerView,ie.roundLengths&&(di=Math.floor(di)),lr[hi]&&(lr[hi].style[m.getDirectionLabel("width")]=`${di}px`);lr[hi]&&(lr[hi].swiperSlideSize=di),Ar.push(di),ie.centeredSlides?(Wr=Wr+di/2+oi/2+Zr,oi===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+di+Zr),m.virtualSize+=di+Zr,oi=di,ui+=1}}if(m.virtualSize=Math.max(m.virtualSize,Me)+Vr,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`),fi&&m.grid.updateWrapperSize(di,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+Vr: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!==vr&&m.emit("slidesLengthChange"),kr.length!==ei&&(m.params.watchOverflow&&m.checkOverflow(),m.emit("snapGridLengthChange")),Br.length!==Nr&&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 vr=we[rr];let lr=vr.swiperSlideOffset;ie.cssMode&&ie.centeredSlides&&(lr-=we[0].swiperSlideOffset);const yr=(Ze+(ie.centeredSlides?c.minTranslate():0)-lr)/(vr.swiperSlideSize+ne),kr=(Ze-Me[0]+(ie.centeredSlides?c.minTranslate():0)-lr)/(vr.swiperSlideSize+ne),Br=-(Ze-lr),Ar=Br+c.slidesSizesGrid[rr],Pr=Br>=0&&Br<=c.size-c.slidesSizesGrid[rr],Vr=Br>=0&&Br<c.size-1||Ar>1&&Ar<=c.size||Br<=0&&Ar>=c.size;Vr&&(c.visibleSlides.push(vr),c.visibleSlidesIndexes.push(rr)),toggleSlideClasses$1(vr,Vr,ie.slideVisibleClass),toggleSlideClasses$1(vr,Pr,ie.slideFullyVisibleClass),vr.progress=Ie?-yr:yr,vr.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,vr=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&&!vr&&c.emit("reachEnd toEdge"),(rr&&!Me||vr&&!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,vr,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),vr=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]),vr=elementPrevAll(rr,`.${ie.slideClass}, swiper-slide`)[0],ie.loop&&!vr===0&&(vr=c[c.length-1]))),c.forEach(yr=>{toggleSlideClasses(yr,yr===rr,ie.slideActiveClass),toggleSlideClasses(yr,yr===lr,ie.slideNextClass),toggleSlideClasses(yr,yr===vr,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,vr)=>Ze+we+vr)),m.slides.forEach((rr,vr)=>{ne.includes(rr.column)&&unlazy(m,vr)});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,vr;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)vr=we.indexOf(ie);else{const Br=Math.min(Ie.slidesPerGroupSkip,rr);vr=Br+Math.floor((rr-Br)/Ie.slidesPerGroup)}if(vr>=we.length&&(vr=we.length-1),rr===Me&&!c.params.loop){vr!==ne&&(c.snapIndex=vr,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:vr,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 vr=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, ${vr}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(),vr=Me.maxTranslate();let lr;if(we&&m>rr?lr=rr:we&&m<vr?lr=vr: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:vr,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 Vr=Pr+Math.floor((Ze-Pr)/Me.params.slidesPerGroup);Vr>=rr.length&&(Vr=rr.length-1);const ei=-rr[Vr];if(ne.normalizeSlideIndex)for(let oi=0;oi<vr.length;oi+=1){const ui=-Math.floor(ei*100),fi=Math.floor(vr[oi]*100),di=Math.floor(vr[oi+1]*100);typeof vr[oi+1]<"u"?ui>=fi&&ui<di-(di-fi)/2?Ze=oi:ui>=fi&&ui<di&&(Ze=oi+1):ui>=fi&&(Ze=oi)}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 Nr;Ze>yr?Nr="next":Ze<yr?Nr="prev":Nr="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),Nr!=="reset"&&(Me.transitionStart(ie,Nr),Me.transitionEnd(ie,Nr)),!1;if(ne.cssMode){const oi=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[oi?"scrollLeft":"scrollTop"]=ui})):Br[oi?"scrollLeft":"scrollTop"]=ui,Zr&&requestAnimationFrame(()=>{Me.wrapperEl.style.scrollSnapType="",Me._immediateVirtual=!1});else{if(!Me.support.smoothScroll)return animateCSSModeScroll({swiper:Me,targetPosition:ui,side:oi?"left":"top"}),!0;Br.scrollTo({[oi?"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,Nr),c===0?Me.transitionEnd(ie,Nr):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,Nr))}),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:vr}=Ie.params;let lr=Ie.params.slidesPerView;lr==="auto"?lr=Ie.slidesPerViewDynamic():(lr=Math.ceil(parseFloat(Ie.params.slidesPerView,10)),vr&&lr%2===0&&(lr=lr+1));let yr=rr-ne<lr;if(vr&&(yr=yr||ne<Math.ceil(lr/2)),we&&vr&&Ie.params.slidesPerView!=="auto"&&!Me&&(yr=!1),yr){const kr=vr?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,vr=we.virtual&&Me.virtual.enabled;if(Me.loop){if(Ze&&!vr&&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:vr}=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(vr&&!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((Nr,Zr)=>{Br>=Nr&&(ei=Zr)}),typeof ei<"u"&&(Pr=Me[ei>0?ei-1:ei])}let Vr=0;if(typeof Pr<"u"&&(Vr=Ze.indexOf(Pr),Vr<0&&(Vr=we.activeIndex-1),Ie.slidesPerView==="auto"&&Ie.slidesPerGroup===1&&Ie.slidesPerGroupAuto&&(Vr=Vr-we.slidesPerViewDynamic("previous",!0)+1,Vr=Math.max(Vr,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(Vr,m,c,ie)}),!0;return we.slideTo(Vr,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 vr=Ie.snapGrid[ne],lr=Ie.snapGrid[ne+1];rr-vr>(lr-vr)*we&&(Me+=Ie.params.slidesPerGroup)}else{const vr=Ie.snapGrid[ne-1],lr=Ie.snapGrid[ne];rr-vr<=(lr-vr)*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,vr=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;vr(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;vr(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:vr,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 Vr=Br.slidesPerGroupAuto?Pr:Br.slidesPerGroup;let ei=Vr;ei%Vr!==0&&(ei+=Vr-ei%Vr),ei+=Br.loopAdditionalSlides,rr.loopedSlides=ei;const Nr=rr.grid&&Br.grid&&Br.grid.rows>1;vr.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"):Nr&&Br.grid.fill==="row"&&showWarning("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const Zr=[],Wr=[];let oi=rr.activeIndex;typeof Me>"u"?Me=rr.getSlideIndex(vr.find(ze=>ze.classList.contains(Br.slideActiveClass))):oi=Me;const ui=we==="next"||!we,fi=we==="prev"||!we;let di=0,li=0;const hi=Nr?Math.ceil(vr.length/Br.grid.rows):vr.length,Ae=(Nr?vr[Me].column:Me)+(Ar&&typeof Ie>"u"?-Pr/2+.5:0);if(Ae<ei){di=Math.max(ei-Ae,Vr);for(let ze=0;ze<ei-Ae;ze+=1){const Ue=ze-Math.floor(ze/hi)*hi;if(Nr){const tr=hi-Ue-1;for(let or=vr.length-1;or>=0;or-=1)vr[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),Vr);for(let ze=0;ze<li;ze+=1){const Ue=ze-Math.floor(ze/hi)*hi;Nr?vr.forEach((tr,or)=>{tr.column===Ue&&Wr.push(or)}):Wr.push(Ue)}}if(rr.__preventObserver__=!0,requestAnimationFrame(()=>{rr.__preventObserver__=!1}),fi&&Zr.forEach(ze=>{vr[ze].swiperLoopMoveDOM=!0,kr.prepend(vr[ze]),vr[ze].swiperLoopMoveDOM=!1}),ui&&Wr.forEach(ze=>{vr[ze].swiperLoopMoveDOM=!0,kr.append(vr[ze]),vr[ze].swiperLoopMoveDOM=!1}),rr.recalcSlides(),Br.slidesPerView==="auto"?rr.updateSlides():Nr&&(Zr.length>0&&fi||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&&fi){if(typeof c>"u"){const ze=rr.slidesGrid[oi],tr=rr.slidesGrid[oi+di]-ze;ne?rr.setTranslate(rr.translate-tr):(rr.slideTo(oi+Math.ceil(di),0,!1,!0),Ie&&(rr.touchEventsData.startTranslate=rr.touchEventsData.startTranslate-tr,rr.touchEventsData.currentTranslate=rr.touchEventsData.currentTranslate-tr))}else if(Ie){const ze=Nr?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[oi],tr=rr.slidesGrid[oi-li]-ze;ne?rr.setTranslate(rr.translate-tr):(rr.slideTo(oi-li,0,!1,!0),Ie&&(rr.touchEventsData.startTranslate=rr.touchEventsData.startTranslate-tr,rr.touchEventsData.currentTranslate=rr.touchEventsData.currentTranslate-tr))}else{const ze=Nr?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 vr=!!Me.noSwipingClass&&Me.noSwipingClass!=="",lr=we.composedPath?we.composedPath():we.path;vr&&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 Vr=Pr&&c.allowTouchMove&&Me.touchStartPreventDefault;(Me.touchStartForcePreventDefault||Vr)&&!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 vr;if(rr.type==="touchmove"){if(vr=[...rr.changedTouches].find(ui=>ui.identifier===we.touchId),!vr||vr.identifier!==we.touchId)return}else vr=rr;if(!we.isTouched){we.startMoving&&we.isScrolling&&ie.emit("touchMoveOpposite",rr);return}const lr=vr.pageX,yr=vr.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 Vr=ie.touchesDirection;ie.swipeDirection=Ar>0?"prev":"next",ie.touchesDirection=Pr>0?"prev":"next";const ei=ie.params.loop&&!Ie.cssMode,Nr=ie.touchesDirection==="next"&&ie.allowSlideNext||ie.touchesDirection==="prev"&&ie.allowSlidePrev;if(!we.isMoved){if(ei&&Nr&&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&&Vr!==ie.touchesDirection&&ei&&Nr&&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,oi=Ie.resistanceRatio;if(Ie.touchReleaseOnEdges&&(oi=0),Ar>0?(ei&&Nr&&!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)**oi))):Ar<0&&(ei&&Nr&&!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)**oi))),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(oi=>oi.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:vr,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 oi=we.path||we.composedPath&&we.composedPath();c.updateClickedSlide(oi&&oi[0]||we.target,oi),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,Vr=c.slidesSizesGrid[0];for(let oi=0;oi<vr.length;oi+=oi<Ze.slidesPerGroupSkip?1:Ze.slidesPerGroup){const ui=oi<Ze.slidesPerGroupSkip-1?1:Ze.slidesPerGroup;typeof vr[oi+ui]<"u"?(Ar||Br>=vr[oi]&&Br<vr[oi+ui])&&(Pr=oi,Vr=vr[oi+ui]-vr[oi]):(Ar||Br>=vr[oi])&&(Pr=oi,Vr=vr[vr.length-1]-vr[vr.length-2])}let ei=null,Nr=null;Ze.rewind&&(c.isBeginning?Nr=Ze.virtual&&Ze.virtual.enabled&&c.virtual?c.virtual.slides.length-1:c.slides.length-1:c.isEnd&&(ei=0));const Zr=(Br-vr[Pr])/Vr,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):Nr!==null&&Zr<0&&Math.abs(Zr)>Ze.longSwipesRatio?c.slideTo(Nr):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(Nr!==null?Nr: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",vr=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[vr](Ze.ios||Ze.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0):m[vr]("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),vr=m.getBreakpoint(Me,ne,rr);if(!vr||m.currentBreakpoint===vr)return;const yr=(vr in Me?Me[vr]:void 0)||m.originalParams,kr=isGridEnabled(m,we),Br=isGridEnabled(m,yr),Ar=m.params.grabCursor,Pr=yr.grabCursor,Vr=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 fi=we[ui]&&we[ui].enabled,di=yr[ui]&&yr[ui].enabled;fi&&!di&&m[ui].disable(),!fi&&di&&m[ui].enable()});const ei=yr.direction&&yr.direction!==we.direction,Nr=we.loop&&(yr.slidesPerView!==we.slidesPerView||ei),Zr=we.loop;ei&&ie&&m.changeDirection(),extend$1(m.params,yr);const Wr=m.params.enabled,oi=m.params.loop;Object.assign(m,{allowTouchMove:m.params.allowTouchMove,allowSlideNext:m.params.allowSlideNext,allowSlidePrev:m.params.allowSlidePrev}),Vr&&!Wr?m.disable():!Vr&&Wr&&m.enable(),m.currentBreakpoint=vr,m.emit("_beforeBreakpoint",yr),ie&&(Nr?(m.loopDestroy(),m.loopCreate(c),m.updateSlides()):!Zr&&oi?(m.loopCreate(c),m.updateSlides()):Zr&&!oi&&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:vr}=Ze[ne];c==="window"?Ie.matchMedia(`(min-width: ${vr}px)`).matches&&(we=rr):vr<=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 vr=extend$1({},defaults,rr);return ne.params=extend$1({},vr,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:vr}=we;let lr=1;if(typeof Ie.slidesPerView=="number")return Ie.slidesPerView;if(Ie.centeredSlides){let yr=Me[vr]?Math.ceil(Me[vr].swiperSlideSize):0,kr;for(let Br=vr+1;Br<Me.length;Br+=1)Me[Br]&&!kr&&(yr+=Math.ceil(Me[Br].swiperSlideSize),lr+=1,yr>rr&&(kr=!0));for(let Br=vr-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=vr+1;yr<Me.length;yr+=1)(ie?Ze[yr]+ne[yr]-Ze[vr]<rr:Ze[yr]-Ze[vr]<rr)&&(lr+=1);else for(let yr=vr-1;yr>=0;yr-=1)Ze[vr]-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 vr=Ie.filter(li=>li!=="children"&&li!=="direction"&&li!=="wrapperClass"),{params:lr,pagination:yr,navigation:kr,scrollbar:Br,virtual:Ar,thumbs:Pr}=c;let Vr,ei,Nr,Zr,Wr,oi,ui,fi;Ie.includes("thumbs")&&we.thumbs&&we.thumbs.swiper&&!we.thumbs.swiper.destroyed&&lr.thumbs&&(!lr.thumbs.swiper||lr.thumbs.swiper.destroyed)&&(Vr=!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&&(Nr=!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 di=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?oi=!0:!lr.loop&&we.loop?ui=!0:fi=!0),vr.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&&di(li);else{const hi=we[li];(hi===!0||hi===!1)&&(li==="navigation"||li==="pagination"||li==="scrollbar")?hi===!1&&di(li):lr[li]=we[li]}}),vr.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&&(fi=!0),Vr&&Pr.init()&&Pr.update(!0),ei&&(c.controller.control=lr.controller.control),Nr&&(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),(oi||fi)&&c.loopDestroy(),(ui||fi)&&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),vr=ie.map(Ie);rr.join("")!==vr.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 vr=Object.keys(m[rr]),lr=Object.keys(c[rr]);vr.length!==lr.length?Ze(rr):(vr.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 vr=typeof rr.type=="symbol";ne==="default"&&(ne="container-end"),vr&&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,vr=[];for(let lr=ne;lr<rr;lr+=1)lr>=Me&&lr<=Ze&&vr.length<c.length&&vr.push(c[we(lr)]);return vr.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),vr=vue.ref(!1),lr=vue.ref(null),yr=vue.ref(null),kr=vue.ref(null),Br={value:[]},Ar={value:[]},Pr=vue.ref(null),Vr=vue.ref(null),ei=vue.ref(null),Nr=vue.ref(null),{params:Zr,passedParams:Wr}=getParams(m,!1);getChildren(ie,Br,Ar),kr.value=Wr,Ar.value=Br.value;const oi=()=>{getChildren(ie,Br,Ar),rr.value=!0};Zr.onAny=function(di){for(var li=arguments.length,hi=new Array(li>1?li-1:0),gr=1;gr<li;gr++)hi[gr-1]=arguments[gr];we(di,...hi)},Object.assign(Zr.on,{_beforeBreakpoint:oi,_containerClasses(di,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 di={cache:!1,slides:Br.value,renderExternal:li=>{ne.value=li},renderExternalUpdate:!1};extend(yr.value.params.virtual,di),extend(yr.value.originalParams.virtual,di)}vue.onUpdated(()=>{!vr.value&&yr.value&&(yr.value.emitSlidesClasses(),vr.value=!0);const{passedParams:di}=getParams(m,!1),li=getChangedParams(di,kr.value,Br.value,Ar.value,hi=>hi.props&&hi.props.key);kr.value=di,(li.length||rr.value)&&yr.value&&!yr.value.destroyed&&updateSwiper({swiper:yr.value,slides:Br.value,passedParams:di,changedParams:li,nextEl:Pr.value,prevEl:Vr.value,scrollbarEl:Nr.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:Vr.value,paginationEl:ei.value,scrollbarEl:Nr.value,swiper:yr.value},Zr),we("swiper",yr.value))}),vue.onBeforeUnmount(()=>{yr.value&&!yr.value.destroyed&&yr.value.destroy(!0,!1)});function fi(di){return Zr.virtual?renderVirtual(yr,di,ne.value):(di.forEach((li,hi)=>{li.props||(li.props={}),li.props.swiperRef=yr,li.props.swiperSlideIndex=hi}),di)}return()=>{const{slides:di,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"],fi(di),li["wrapper-end"]]),needsNavigation(m)&&[vue.h("div",{ref:Vr,class:"swiper-button-prev"}),vue.h("div",{ref:Pr,class:"swiper-button-next"})],needsScrollbar(m)&&vue.h("div",{ref:Nr,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 vr=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",vr);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(vr.value),m.lazy&&!ne.value&&vue.h("div",{class:"swiper-lazy-preloader"})]):[ie.default&&ie.default(vr.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 vr=document.createElement("canvas"),lr=vr.getContext("2d");if(!lr)throw new Error("Failed to create 2D context");return vr.width=we,vr.height=Ie,lr.drawImage(typeof m=="string"?await rr(m):m,c,ie,we,Ie,0,0,we,Ie),ne==="canvas"?vr:ne==="blob"?await new Promise((yr,kr)=>{vr.toBlob(Br=>{Br?yr(Br):kr(new Error("Failed to create Blob from canvas"))},Me,Ze)}):ne==="dataUrl"?vr.toDataURL(Me,Ze):await new Promise((yr,kr)=>{vr.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?vr.length-yr:this.position.column+vr.length},c.emit=function(vr,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(vr),vr},c.addFile=function(vr,lr){typeof lr.content=="string"&&(Object.prototype.hasOwnProperty.call(this.files,vr)||(this.files[vr]=lr.content))},c.applySourceMaps=function(){Object.keys(this.files).forEach(function(vr){var lr=this.files[vr];if(this.map.setSourceContent(vr,lr),this.options.inputSourcemaps!==!1){var yr=Ie.resolveSync(lr,vr,Me.readFileSync);if(yr){var kr=new we(yr.map),Br=yr.sourcesRelativeTo;this.map.applySourceMap(kr,vr,ne(Ze.dirname(Br)))}}},this)},c.comment=function(vr){return/^# sourceMappingURL=/.test(vr.comment)?this.emit("",vr.position):this._comment(vr)}}(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 vr=[];for(;;){const{done:Br,value:Ar}=await ne.read();if(Br)break;rr+=Ar.length,vr.push(Ar),we&&we(Ze,rr)}const lr=new Uint8Array(rr);let yr=0;for(const Br of vr)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[vr,lr]of Object.entries(we))rr.setRequestHeader(vr,lr);Ie&&rr.upload&&(rr.upload.onprogress=vr=>{Ie(vr.loaded,vr.total)}),Me&&(rr.onprogress=vr=>{vr.lengthComputable&&Me(vr.loaded,vr.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=vr=>{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:vr}=rr,lr=vr.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 Vr=Pr.declarations.find(Zr=>Zr.type==="declaration"?Zr.property==="src":!1),Nr=Pr.declarations.find(Zr=>Zr.type==="declaration"?Zr.property==="unicode-range":null)?.value;if(Nr&&!textIsInUnicodeRange(ie,Nr))return;if(!Vr)throw new Error("no src declaration in font-face rule");return Vr}}).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 Nr=ei.args[0].raw;if(Nr===void 0)throw new Error("no url in url function");const Zr=await Ze(()=>fetch(Nr).then(ui=>ui.blob())),Wr=Zr.type.split("/")[1],oi=await blobToDataURL(Zr);Ar.value=`url('${oi}') 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),vr=()=>{const Ar=[...rr,...ne],Pr=Ar.reduce((Vr,ei)=>Vr+ei,0)/Ar.length;ie(Pr)},lr=await Promise.all(c.map(async({src:Ar,name:Pr},Vr)=>{const ei=getTextToCoverByFont(Me);return{name:Pr,css:await resolveCSSFontFile(Ar,(Nr,Zr)=>{rr[Vr]=Nr/Zr,vr()},ei,we)}})),yr=Me.createElementNS("http://www.w3.org/2000/svg","defs");for(const{name:Ar,css:Pr}of lr){const Vr=document.createElement("style");Vr.setAttribute("type","text/css"),Vr.setAttribute("data-bx-live-font","true"),Vr.setAttribute("data-bx-font-name",Ar),Vr.innerHTML=Pr,yr.appendChild(Vr)}const kr=Me.documentElement;kr.insertBefore(yr,kr.firstChild);const Br=pLimit(1);return await Promise.all(Ze.map((Ar,Pr)=>Br(()=>resolveImage(Ar,Vr=>{ne[Pr]=Vr,vr()})))),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=[],vr=c.t={};let lr=0;const yr="[a-zA-Z0-9-]",kr=[["\\s",1],["\\d",Ie],[yr,we]],Br=Pr=>{for(const[Vr,ei]of kr)Pr=Pr.split(`${Vr}*`).join(`${Vr}{0,${ei}}`).split(`${Vr}+`).join(`${Vr}{1,${ei}}`);return Pr},Ar=(Pr,Vr,ei)=>{const Nr=Br(Vr),Zr=lr++;Me(Pr,Zr,Vr),vr[Pr]=Zr,rr[Zr]=Vr,Ze[Zr]=new RegExp(Vr,ei?"g":void 0),ne[Zr]=new RegExp(Nr,ei?"g":void 0)};Ar("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ar("NUMERICIDENTIFIERLOOSE","\\d+"),Ar("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${yr}*`),Ar("MAINVERSION",`(${rr[vr.NUMERICIDENTIFIER]})\\.(${rr[vr.NUMERICIDENTIFIER]})\\.(${rr[vr.NUMERICIDENTIFIER]})`),Ar("MAINVERSIONLOOSE",`(${rr[vr.NUMERICIDENTIFIERLOOSE]})\\.(${rr[vr.NUMERICIDENTIFIERLOOSE]})\\.(${rr[vr.NUMERICIDENTIFIERLOOSE]})`),Ar("PRERELEASEIDENTIFIER",`(?:${rr[vr.NUMERICIDENTIFIER]}|${rr[vr.NONNUMERICIDENTIFIER]})`),Ar("PRERELEASEIDENTIFIERLOOSE",`(?:${rr[vr.NUMERICIDENTIFIERLOOSE]}|${rr[vr.NONNUMERICIDENTIFIER]})`),Ar("PRERELEASE",`(?:-(${rr[vr.PRERELEASEIDENTIFIER]}(?:\\.${rr[vr.PRERELEASEIDENTIFIER]})*))`),Ar("PRERELEASELOOSE",`(?:-?(${rr[vr.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${rr[vr.PRERELEASEIDENTIFIERLOOSE]})*))`),Ar("BUILDIDENTIFIER",`${yr}+`),Ar("BUILD",`(?:\\+(${rr[vr.BUILDIDENTIFIER]}(?:\\.${rr[vr.BUILDIDENTIFIER]})*))`),Ar("FULLPLAIN",`v?${rr[vr.MAINVERSION]}${rr[vr.PRERELEASE]}?${rr[vr.BUILD]}?`),Ar("FULL",`^${rr[vr.FULLPLAIN]}$`),Ar("LOOSEPLAIN",`[v=\\s]*${rr[vr.MAINVERSIONLOOSE]}${rr[vr.PRERELEASELOOSE]}?${rr[vr.BUILD]}?`),Ar("LOOSE",`^${rr[vr.LOOSEPLAIN]}$`),Ar("GTLT","((?:<|>)?=?)"),Ar("XRANGEIDENTIFIERLOOSE",`${rr[vr.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ar("XRANGEIDENTIFIER",`${rr[vr.NUMERICIDENTIFIER]}|x|X|\\*`),Ar("XRANGEPLAIN",`[v=\\s]*(${rr[vr.XRANGEIDENTIFIER]})(?:\\.(${rr[vr.XRANGEIDENTIFIER]})(?:\\.(${rr[vr.XRANGEIDENTIFIER]})(?:${rr[vr.PRERELEASE]})?${rr[vr.BUILD]}?)?)?`),Ar("XRANGEPLAINLOOSE",`[v=\\s]*(${rr[vr.XRANGEIDENTIFIERLOOSE]})(?:\\.(${rr[vr.XRANGEIDENTIFIERLOOSE]})(?:\\.(${rr[vr.XRANGEIDENTIFIERLOOSE]})(?:${rr[vr.PRERELEASELOOSE]})?${rr[vr.BUILD]}?)?)?`),Ar("XRANGE",`^${rr[vr.GTLT]}\\s*${rr[vr.XRANGEPLAIN]}$`),Ar("XRANGELOOSE",`^${rr[vr.GTLT]}\\s*${rr[vr.XRANGEPLAINLOOSE]}$`),Ar("COERCEPLAIN",`(^|[^\\d])(\\d{1,${ie}})(?:\\.(\\d{1,${ie}}))?(?:\\.(\\d{1,${ie}}))?`),Ar("COERCE",`${rr[vr.COERCEPLAIN]}(?:$|[^\\d])`),Ar("COERCEFULL",rr[vr.COERCEPLAIN]+`(?:${rr[vr.PRERELEASE]})?(?:${rr[vr.BUILD]})?(?:$|[^\\d])`),Ar("COERCERTL",rr[vr.COERCE],!0),Ar("COERCERTLFULL",rr[vr.COERCEFULL],!0),Ar("LONETILDE","(?:~>?)"),Ar("TILDETRIM",`(\\s*)${rr[vr.LONETILDE]}\\s+`,!0),c.tildeTrimReplace="$1~",Ar("TILDE",`^${rr[vr.LONETILDE]}${rr[vr.XRANGEPLAIN]}$`),Ar("TILDELOOSE",`^${rr[vr.LONETILDE]}${rr[vr.XRANGEPLAINLOOSE]}$`),Ar("LONECARET","(?:\\^)"),Ar("CARETTRIM",`(\\s*)${rr[vr.LONECARET]}\\s+`,!0),c.caretTrimReplace="$1^",Ar("CARET",`^${rr[vr.LONECARET]}${rr[vr.XRANGEPLAIN]}$`),Ar("CARETLOOSE",`^${rr[vr.LONECARET]}${rr[vr.XRANGEPLAINLOOSE]}$`),Ar("COMPARATORLOOSE",`^${rr[vr.GTLT]}\\s*(${rr[vr.LOOSEPLAIN]})$|^$`),Ar("COMPARATOR",`^${rr[vr.GTLT]}\\s*(${rr[vr.FULLPLAIN]})$|^$`),Ar("COMPARATORTRIM",`(\\s*)${rr[vr.GTLT]}\\s*(${rr[vr.LOOSEPLAIN]}|${rr[vr.XRANGEPLAIN]})`,!0),c.comparatorTrimReplace="$1$2$3",Ar("HYPHENRANGE",`^\\s*(${rr[vr.XRANGEPLAIN]})\\s+-\\s+(${rr[vr.XRANGEPLAIN]})\\s*$`),Ar("HYPHENRANGELOOSE",`^\\s*(${rr[vr.XRANGEPLAINLOOSE]})\\s+-\\s+(${rr[vr.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 vr;for(;(vr=rr.exec(m))&&(!ie||ie.index+ie[0].length!==m.length);)(!ie||vr.index+vr[0].length!==ie.index+ie[0].length)&&(ie=vr),rr.lastIndex=vr.index+vr[1].length+vr[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(pr=>this.parseRange(pr.trim())).filter(pr=>pr.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const pr=this.set[0];if(this.set=this.set.filter(br=>!Pr(br[0])),this.set.length===0)this.set=[pr];else if(this.set.length>1){for(const br of this.set)if(br.length===1&&Vr(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 pr=0;pr<or.length;pr++)pr>0&&(this.formatted+=" "),this.formatted+=or[pr].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(tr){const pr=((this.options.includePrerelease&&Br)|(this.options.loose&&Ar))+":"+tr,br=we.get(pr);if(br)return br;const nr=this.options.loose,$e=nr?rr[vr.HYPHENRANGELOOSE]:rr[vr.HYPHENRANGE];tr=tr.replace($e,Ae(this.options.includePrerelease)),Ze("hyphen replace",tr),tr=tr.replace(rr[vr.COMPARATORTRIM],lr),Ze("comparator trim",tr),tr=tr.replace(rr[vr.TILDETRIM],yr),Ze("tilde trim",tr),tr=tr.replace(rr[vr.CARETTRIM],kr),Ze("caret trim",tr);let ur=tr.split(" ").map(ki=>Nr(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[vr.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(pr,wi),wi}intersects(tr,or){if(!(tr instanceof c))throw new TypeError("a Range is required");return this.set.some(pr=>ei(pr,or)&&tr.set.some(br=>ei(br,or)&&pr.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:vr,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",Vr=Ue=>Ue.value==="",ei=(Ue,tr)=>{let or=!0;const pr=Ue.slice();let br=pr.pop();for(;or&&pr.length;)or=pr.every(nr=>br.intersects(nr,tr)),br=pr.pop();return or},Nr=(Ue,tr)=>(Ze("comp",Ue,tr),Ue=ui(Ue,tr),Ze("caret",Ue),Ue=Wr(Ue,tr),Ze("tildes",Ue),Ue=di(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=>oi(or,tr)).join(" "),oi=(Ue,tr)=>{const or=tr.loose?rr[vr.TILDELOOSE]:rr[vr.TILDE];return Ue.replace(or,(pr,br,nr,$e,ur)=>{Ze("tilde",Ue,pr,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=>fi(or,tr)).join(" "),fi=(Ue,tr)=>{Ze("caret",Ue,tr);const or=tr.loose?rr[vr.CARETLOOSE]:rr[vr.CARET],pr=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${pr} <${+nr+1}.0.0-0`:Zr(ur)?nr==="0"?Yr=`>=${nr}.${$e}.0${pr} <${nr}.${+$e+1}.0-0`:Yr=`>=${nr}.${$e}.0${pr} <${+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}${pr} <${nr}.${$e}.${+ur+1}-0`:Yr=`>=${nr}.${$e}.${ur}${pr} <${nr}.${+$e+1}.0-0`:Yr=`>=${nr}.${$e}.${ur} <${+nr+1}.0.0-0`),Ze("caret return",Yr),Yr})},di=(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[vr.XRANGELOOSE]:rr[vr.XRANGE];return Ue.replace(or,(pr,br,nr,$e,ur,$r)=>{Ze("xRange",Ue,pr,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==="<"?pr="<0.0.0-0":pr="*":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"),pr=`${br+nr}.${$e}.${ur}${$r}`):wi?pr=`>=${nr}.0.0${$r} <${+nr+1}.0.0-0`:ki&&(pr=`>=${nr}.${$e}.0${$r} <${nr}.${+$e+1}.0-0`),Ze("xRange return",pr),pr})},hi=(Ue,tr)=>(Ze("replaceStars",Ue,tr),Ue.trim().replace(rr[vr.STAR],"")),gr=(Ue,tr)=>(Ze("replaceGTE0",Ue,tr),Ue.trim().replace(rr[tr.includePrerelease?vr.GTE0PRE:vr.GTE0],"")),Ae=Ue=>(tr,or,pr,br,nr,$e,ur,$r,Yr,wi,ki,Mi)=>(Zr(pr)?or="":Zr(br)?or=`>=${pr}.0.0${Ue?"-0":""}`:Zr(nr)?or=`>=${pr}.${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 pr=0;pr<Ue.length;pr++)if(!Ue[pr].test(tr))return!1;if(tr.prerelease.length&&!or.includePrerelease){for(let pr=0;pr<Ue.length;pr++)if(Ze(Ue[pr].semver),Ue[pr].semver!==Me.ANY&&Ue[pr].semver.prerelease.length>0){const br=Ue[pr].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 vr=0;vr<c.set.length;++vr){const lr=c.set[vr];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(" || "),vr=typeof c.raw=="string"?c.raw:String(c);return rr.length<vr.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,vr,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===">=",vr=vr||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&&vr&&!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$f=["src"],maxTries=3,_sfc_main$o=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,oi)=>{if(we.baseSerial)return Wr(we.baseSerial);const ui=getTemplateSerialUrl(we.templateId,{embedApiBaseUrl:we.embedApiBaseUrl,env:we.env});let fi=!1,di=0;for(;!fi&&di<maxTries;){const li=await fetch(ui);if(li.ok){const hi=await li.json();Wr(hi),fi=!0}else di++}fi||oi(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}})),vr=vue.ref(!1);vue.watchEffect(()=>{Ie("update:ready",vr.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 oi=async()=>{vr.value=!0;let ui,fi;for(;!ui;)ui=await Vr(),ui||await new Promise(li=>setTimeout(li,50));for(;!fi;)kr.value&&(fi=await kr.value.evaluate(()=>window.bx_serial?.value)),fi||await new Promise(li=>setTimeout(li,50));const di={...ui,...we.data};lr.value=fi,await kr.value?.setData(di),Ie("update:data",di),kr.value?.removeEventListener("ready",oi)};kr.value.addEventListener("ready",oi),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 oi=await Vr();isEqual(oi,Wr)||Pr()},{deep:!0});const Vr=()=>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 Nr(Wr){if(!kr.value)throw new Error("Controller is not available");if(!we.webgl)throw new Error("WebGL is not enabled");const oi=await kr.value.evaluate((ui,fi,di)=>{const li=JSON.parse(ui);JSON.parse(fi);const hi=di?JSON.parse(di):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(oi)}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),oi=lr.value.fonts;console.log("fontsInUse",oi);const ui=await exportSVGDocument(Wr,oi,di=>{console.log(di)},!0);return new DOMParser().parseFromString(ui,"image/svg+xml")}return c({renderWebGL:Nr,renderSVG:Zr,webglSupported:ei,resolveData:Vr,controller:kr}),(Wr,oi)=>(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$f)]))}}),BluepicEmbedded_vue_vue_type_style_index_0_scoped_b3d7678c_lang="",BluepicEmbedded=_export_sfc(_sfc_main$o,[["__scopeId","data-v-b3d7678c"]]);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"}),vr=()=>{rr(),Ze()};return Ee(vr),vr}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)}),vr=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(),vr()};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)]),vr=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(),vr()};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),vr=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,vr.value=0,lr.value=0,yr.value=0,kr.value=0,Br.value=0);return}const Vr=Pr.getBoundingClientRect();Ze.value=Vr.height,ne.value=Vr.bottom,rr.value=Vr.left,vr.value=Vr.right,lr.value=Vr.top,yr.value=Vr.width,kr.value=Vr.x,Br.value=Vr.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:vr,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:vr,maxScale:lr,naturalScale:yr,clientCoordsToWrapperCoords:kr,getCanvasCoords:Br,calcProjectionTranslate:Ar}){let Pr=null,Vr=[0,0];const ei=Nr=>Array.from(Nr).map(Zr=>{const Wr=kr(Zr.clientX,Zr.clientY);return{client:[Zr.clientX,Zr.clientY],canvasRel:Br(Wr[0],Wr[1])}});return{handleTouchstart:Nr=>{Nr.target.closest(".matrix")===null&&(Nr.preventDefault(),Pr=ei(Nr.touches),Ze.value,Vr=[Ie.value[0],Ie.value[1]],Me.value)},handleTouchmove:Nr=>{if(Nr.target.closest(".matrix")!==null)return;Nr.preventDefault();const Zr=Array.from(Nr.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],oi=[Pr[1].canvasRel[0]*ie.value,Pr[1].canvasRel[1]*we.value],ui=Math.sqrt(Math.pow(Wr[0]-oi[0],2)+Math.pow(Wr[1]-oi[1],2)),fi=Math.sqrt(Math.pow(Zr[0][0]-Zr[1][0],2)+Math.pow(Zr[0][1]-Zr[1][1],2))/yr.value,di=ce(fi/ui,vr.value,lr.value),li=[Zr[0][0]/m.value,Zr[0][1]/c.value],hi=Pr[0].canvasRel,[gr,Ae]=Ar(di,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*di+gr,ne.value.top+we.value*$r*yr.value*di+Ae]};const pr=Re(Wr,oi);tr=Re(Zr[0],Zr[1])-pr,console.log("startAngle",pr);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=di,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=Nr.touches[0].clientX-Pr[0].client[0],oi=Nr.touches[0].clientY-Pr[0].client[1],ui=[Vr[0]+Wr,Vr[1]+oi];Ie.value=ui}},handleTouchend:Nr=>{Nr.target.closest(".matrix")===null&&(Nr.touches.length===0?Pr=null:(Pr=ei(Nr.touches),Ze.value,Vr=[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:vr,deltaY:lr,ctrlKey:yr}=rr;const kr=[120,100],Br=2;ut(rr)||((Math.abs(vr)===120||Math.abs(vr)===200)&&(vr=vr/(100/Br*Ye(vr,kr))*Math.sign(vr)),(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,Vr=ce(Ar+Pr,ie.value,we.value),[ei,Nr]=Ze(Vr,Ie(rr.clientX,rr.clientY),Me(rr.clientX,rr.clientY));c.value=[ei,Nr],m.value=Vr}else c.value=[c.value[0]-vr,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:vr,width:lr,height:yr}=rt(m),kr=vue.computed(()=>({x:rr.value,y:vr.value,width:lr.value,height:yr.value})),Br=vue.computed(()=>rr.value+we.value.left),Ar=vue.computed(()=>vr.value+we.value.top),Pr=vue.computed(()=>lr.value-we.value.left-we.value.right),Vr=vue.computed(()=>yr.value-we.value.top-we.value.bottom),ei=vue.computed(()=>Pr.value/Vr.value),Nr=vue.computed(()=>c.value/ie.value),Zr=vue.computed(()=>Nr.value>=ei.value?Pr.value/c.value:Vr.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*fi.value-Pr.value,Sn=ie.value*fi.value-Vr.value;if(Me.value||!Ie.value)tn.value=Ji,Tn.value=Vi;else{const An=-Gn,To=Math.max(0,-Gn/2),pn=-Sn,Dn=Math.max(0,-Sn/2);tn.value=ce(Ji,An,To),Tn.value=ce(Vi,pn,Dn)}}})})(),oi=(()=>{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}})})(),fi=vue.computed(()=>oi.value*Zr.value),di=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);oi.value=tn,Wr.value=Gn,hi.value=Vi,Ae=!0,vue.nextTick(()=>{Ae=!1}),setTimeout(()=>{hi.value=!1},gr.value*1e3)}vue.watch([li,fi,di],()=>{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],Sn=$r(.5,.5,tn,Tn,Ji),An=Sn[0]-Gn[0],To=Sn[1]-Gn[1];return[An,To]}function tr(){const tn=Ue(oi.value,[0,0],ui.value);return{x:he(Wr.value[0]+tn[0],6),y:he(Wr.value[1]+tn[1],6),scale:he(oi.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]],oi.value=tn.scale,ui.value=Ji}});function pr(tn,Tn){return[tn-Br.value,Tn-Ar.value]}function br(tn,Tn){const[Ji,Vi]=pr(tn,Tn);return[Ji/Pr.value,Vi/Vr.value]}function nr(tn,Tn){const Ji=[0,0],Vi=[tn-Wr.value[0],Tn-Wr.value[1]],Gn=pe(Vi,Ji,-ui.value),Sn=[Gn[0]/fi.value,Gn[1]/fi.value];return[Sn[0]/c.value,Sn[1]/ie.value]}function $e(tn,Tn){const Ji=pr(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??oi.value,Vi=Vi??Wr.value,Gn=Gn??ui.value;const Sn=[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,Sn,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,Sn=ie.value*Zr.value,An=Ji[0]*Gn*tn,To=Ji[1]*Sn*tn,pn=pe([An,To],[0,0],Vi??ui.value),Dn=Tn[0]*Pr.value,Ho=Tn[1]*Vr.value,zn=Dn-pn[0],Fn=Ho-pn[1];return[zn,Fn]}function ki(tn,Tn,Ji){const Vi=Ji,Gn=Ue(oi.value,[0,0],Vi),Sn=[0-Gn[0],0-Gn[1]],An=oi.value,To=$r(tn,Tn,An,Sn,Vi),pn=$r(tn,Tn),Dn=pn[0]-To[0],Ho=pn[1]-To[1];Wr.value=[Sn[0]+Dn,Sn[1]+Ho],ui.value=Vi}const{handleTouchend:Mi,handleTouchmove:si,handleTouchstart:_i}=lt({wrapperInnerWidth:Pr,wrapperInnerHeight:Vr,canvasNaturalWidth:c,canvasNaturalHeight:ie,translate:Wr,rotate:ui,scale:oi,offset:we,rotationEnabled:Me,minScale:Ze,maxScale:ne,naturalScale:Zr,clientCoordsToWrapperCoords:pr,getCanvasCoords:nr,calcProjectionTranslate:wi}),{handleWheel:ii}=it({scale:oi,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:dn}=dt(ui,Me,ki,$e);return{handleTouchend:Mi,handleTouchmove:si,handleTouchstart:_i,handleGesturestart:Di,handleGesturechange:Ui,handleGestureend:dn,translate:Wr,scale:oi,rotate:ui,renderingScale:fi,renderingTranslate:di,renderingRotate:li,exposedTransform:or,rotateCanvas:ki,calcProjectionTranslate:wi,clientCoordsToWrapperCoords:pr,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:vr,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 vr=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)&&(fi(!0),oi()):oi(),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))}),Vr(),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)},Vr=()=>{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,pr)=>or/(Me.axisVelocity[pr]||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))},Nr=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(Nr).length===Ae.length;return ze||Ue})&&Wr(),Me.accelerationFactors=gr}},Wr=()=>{Me.isMomentum=!0},oi=()=>{Me=Le(),Me.isStarted=!0,Me.startTime=Date.now(),rr=void 0,ne=!1},ui=(()=>{let gr;return()=>{clearTimeout(gr),gr=setTimeout(fi,Me.willEndTimeout)}})(),fi=(gr=!1)=>{!Me.isStarted||(Me.isMomentum&&gr?yr({isEnding:!0,isMomentumCancel:!0}):yr({isEnding:!0}),Me.isMomentum=!1,Me.isStarted=!1)},{observe:di,unobserve:li,disconnect:hi}=wt(vr);return lr(m),re({on:c,off:ie,observe:di,unobserve:li,disconnect:hi,feedWheel:vr,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"),vr=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:Vr,handleMousedown:ei,handleMousemove:Nr,handleMouseup:Zr,handleTouchstart:Wr,handleTouchmove:oi,handleTouchend:ui,handleGesturestart:fi,handleGesturechange:di,handleGestureend:li,applyTransform:hi,rotateCanvas:gr,compose:Ae,exposedTransform:ze,calcProjectionTranslate:Ue,clientCoordinatesToCanvasCoordinates:tr,normalizeMatrixCoordinates:or,transitionEnabled:pr,transitionDuration:br,wrapperX:nr,wrapperY:$e,wrapperWidth:ur,wrapperHeight:$r}=ft({wrapperElementRef:Me,canvasNaturalWidth:rr,canvasNaturalHeight:vr,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),Vr(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&&oi(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&&Nr(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 dn=vue.computed(()=>!Ui()&&we.gesture),tn=Gn=>{dn.value&&fi(Gn)},Tn=Gn=>{dn.value&&di(Gn)},Ji=Gn=>{dn.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,Sn)=>(vue.openBlock(),vue.createElementBlock("div",{ref_key:"zoompinchRef",ref:Me,class:vue.normalizeClass(["zoompinch",{"transition-enabled":vue.unref(pr)}]),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$e={class:"error-symbol"},_hoisted_3$a={class:"error-message"},_hoisted_4$7={key:0},_hoisted_5$6={key:1},_hoisted_6$4={class:"error-actions"},_hoisted_7$4={xmlns:"http://www.w3.org/2000/svg"},_hoisted_8$4={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:{},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");console.log("DATA IN <BluepicLiveTemplate>",Ie.value);const Me=vue.useModel(m,"serial"),Ze=vue.useModel(m,"ready"),ne=vue.ref(),rr=vue.ref(),vr=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"}),Vr=vue.ref({x:0,y:0,scale:1,rotate:0});window.transform=Vr;function ei(Tn){const Ji=vr.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 Nr=vue.computed(()=>Me.value?.frames??{x:1,y:1}),Zr=vue.ref([0,0]);window.focusedFrame=Zr,window.zoompinchRef=vr;const Wr=vue.computed(()=>vr.value?.wrapperBounds),oi=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}),fi=vue.computed(()=>{if(oi.value&&ui.value)return oi.value>ui.value?"width":"height"}),di=vue.computed(()=>{if(oi.value&&ui.value)return ui.value<oi.value?oi.value/ui.value:ui.value/oi.value}),li=vue.computed(()=>{if(oi.value)return oi.value/(Nr.value.x/Nr.value.y)}),hi=vue.computed(()=>{if(li.value&&ui.value)return li.value>ui.value?"width":"height"}),gr=vue.computed(()=>{if(!!di.value)if(hi.value===fi.value){if(hi.value==="height")return Nr.value.y;if(hi.value==="width")return Nr.value.x}else{if(hi.value==="height")return di.value*Nr.value.y;if(hi.value==="width")return di.value*Nr.value.x}});function Ae(Tn,Ji){const Vi=gr.value;if(!Wr.value||!oi.value||!Vi)return;const Gn=fi.value==="width"?Wr.value?.width:Wr.value?.height/oi.value,Sn=fi.value==="height"?Wr.value?.height:Wr.value?.width*oi.value,An=Gn*Vi,To=Sn*Vi,pn=An/2,Dn=To/2,Ho=An/Nr.value.x,zn=To/Nr.value.y,Fn=pn-Ho*.5-Ho*Tn,Wo=Dn-zn*.5-zn*Ji;return{rotate:0,scale:Vi,x:Fn,y:Wo}}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||!Vr.value||!oi.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)!==Vr.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/Nr.value.x),Vi=(Tn.y-Tn.scale*Wr.value.height/2)/(Tn.scale*Wr.value.height/Nr.value.y);return[Ji,Vi]}const tr=vue.computed(()=>{if(!Wr.value||!Vr.value||!oi.value)return;const Tn=fi.value==="width"?Wr.value.width:Wr.value.height*oi.value,Vi=(fi.value==="height"?Wr.value.height:Wr.value.width/oi.value)/2*Vr.value.scale-Wr.value.height/2,Gn=Tn/2*Vr.value.scale-Wr.value.width/2,Sn=-Gn,An=-Vi;return{top:Vi,right:Sn,bottom:An,left:Gn}}),or=vue.computed(()=>{if(!!tr.value)return[(Vr.value.x-tr.value.left)/(tr.value.right-tr.value.left),(Vr.value.y-tr.value.top)/(tr.value.bottom-tr.value.top)]}),pr=vue.computed(()=>{if(!!gr.value)return Math.abs(1-Vr.value.scale/gr.value)}),br=vue.computed(()=>{if(pr.value===void 0||pr.value>.25||!or.value)return;const Tn=Array.from({length:Nr.value.x*Nr.value.y},(pn,Dn)=>{const Ho=Dn%Nr.value.x,zn=Math.floor(Dn/Nr.value.x);return{x:Ho,y:zn,transform:Ae(Ho,zn)}}).filter(({transform:pn})=>pn),Ji=Vr.value.x,Vi=Vr.value.y,Gn=Tn.map(({x:pn,transform:Dn})=>({index:pn,distance:Math.abs(Dn.x-Ji)})),Sn=Tn.map(({y:pn,transform:Dn})=>({index:pn,distance:Math.abs(Dn.y-Vi)})),An=Gn.reduce((pn,Dn)=>pn.distance<Dn.distance?pn:Dn),To=Sn.reduce((pn,Dn)=>pn.distance<Dn.distance?pn:Dn);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 fi.value==="height"?1:Wr.value.height/Wr.value.width}),ur=vue.computed(()=>{if(Wr.value)return fi.value==="width"?1:Wr.value.width/Wr.value.height});window.getTransformToFocusFrame=Ae,window.calcCurrFocusedFrame=Ue,window.bluepicEmbeddedRef=rr;const $r=vue.computed(()=>{if(!!Vr.value)return Vr.value.scale!==1||Vr.value.x!==0||Vr.value.y!==0||Vr.value.rotate!==0}),Yr=()=>{vr.value?.applyTransform(1,[.5,.5],[.5,.5],!0)};function wi(Tn,Ji){if(!gr.value)return;const Vi=1/Nr.value.x,Gn=1/Nr.value.y,Sn=(Tn-1)*Vi+Vi/2,An=(Ji-1)*Gn+Gn/2;vr.value?.applyTransform(gr.value,[.5,.5],[Sn,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=vr.value?.normalizeMatrixCoordinates(Tn,Ji);if(!Vi)return console.error("no matrix coords. This should not happen");const Gn=Math.min(Nr.value.x,Math.max(0,Math.trunc(Vi[0]/(1/Nr.value.x))+1)),Sn=Math.min(Nr.value.y,Math.max(0,Math.trunc(Vi[1]/(1/Nr.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(Vr.value.scale,6),pn=round$3(An?.rotate,6)===round$3(Vr.value.rotate,6),Dn=Math.abs(br.value.x.distance)+Math.abs(br.value.y.distance);if(To&&pn&&Dn!==void 0&&Dn<5&&Gn===nr.value.x&&Sn===nr.value.y)return Yr()}wi(Gn,Sn)}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&&vr.value?.applyTransform(1,[.5,.5],[.5,.5],!0)});let Di,Ui;function dn(){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(()=>{Vr.value={x:0,y:0,scale:1,rotate:0}})}),c({aspectRatio:Ar,aspectRatioSizingSide:Pr,bluepicLiveTemplateRootWidth:yr,bluepicLiveTemplateRootHeight:kr,bluepicEmbeddedRef:rr,zoompinchRef:vr,isMultiFrame:ze,ready:Ze,transform:Vr,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$e,[vue.createVNode(vue.unref(BxIcon),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(BandageOutline))]),_:1})]),vue.createElementVNode("div",_hoisted_3$a,[_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$4,[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:vr,transform:Vr.value,"onUpdate:transform":Ji[4]||(Ji[4]=Vi=>Vr.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:dn,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,Sn=>vue.createElementVNode("span",null,vue.toDisplayString(Tn.watermark),1)),64))])),64))])):vue.createCommentVNode("",!0),(vue.openBlock(),vue.createElementBlock("svg",_hoisted_7$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(Array.from({length:Nr.value.y},(Gn,Sn)=>Sn),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":Vr.value.scale,"--cover-scale-x":ur.value,"--cover-scale-y":$e.value,"--inner-scroll-x":or.value[0],"--inner-scroll-y":or.value[1]})},[Vr.value.scale>ur.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$4)):vue.createCommentVNode("",!0),Vr.value.scale>$e.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$3)):vue.createCommentVNode("",!0),Nr.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(Nr.value.x,Gn=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["frame-dot",{active:nr.value?.x===Gn,disabled:!nr.value}]),onClick:Sn=>ki(Gn,Sn)},null,10,_hoisted_12$2))),256))])])):vue.createCommentVNode("",!0),Nr.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(Nr.value.y,Gn=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["frame-dot",{active:nr.value?.y===Gn,disabled:!nr.value}]),onClick:Sn=>Mi(Gn,Sn)},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_3f408cfe_lang="",BluepicLiveTemplate_vue_vue_type_style_index_1_scoped_3f408cfe_lang="",BluepicLiveTemplate=_export_sfc(_sfc_main$n,[["__scopeId","data-v-3f408cfe"]]),_hoisted_1$h={class:"label"},_hoisted_2$d={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),[Vr,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:Vr-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),[Vr,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`${Vr-Ar}px`}return"100%"});vue.watch(()=>c.field,()=>{vue.nextTick(()=>{Me()})},{immediate:!0});const{fields:vr,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$d,[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)),vr=vue.computed(()=>Math.max(0,ie.length>rr.value?rr.value-1:ie.length)),lr=vue.computed(()=>{if(vr.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(vr.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>vr.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 vr=ie>Me?"next":"prev",lr=(kr,Br)=>vr==="next"&&kr>=Br||vr==="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 Vr=c.params.navigation;Ar=makeElementsArray(Ar),Ar.forEach(ei=>{ei&&(ei.classList[Pr?"add":"remove"](...Vr.disabledClass.split(" ")),ei.tagName==="BUTTON"&&(ei.disabled=Pr),c.params.watchOverflow&&c.enabled&&ei.classList[c.isLocked?"add":"remove"](Vr.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 vr(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),Vr=Me(Ar.prevEl);Object.assign(c.navigation,{nextEl:Pr,prevEl:Vr}),Pr=makeElementsArray(Pr),Vr=makeElementsArray(Vr);const ei=(Nr,Zr)=>{Nr&&Nr.addEventListener("click",Zr==="next"?vr:rr),!c.enabled&&Nr&&Nr.classList.add(...Ar.lockClass.split(" "))};Pr.forEach(Nr=>ei(Nr,"next")),Vr.forEach(Nr=>ei(Nr,"prev"))}function yr(){let{nextEl:Ar,prevEl:Pr}=c.navigation;Ar=makeElementsArray(Ar),Pr=makeElementsArray(Pr);const Vr=(ei,Nr)=>{ei.removeEventListener("click",Nr==="next"?vr:rr),ei.classList.remove(...c.params.navigation.disabledClass.split(" "))};Ar.forEach(ei=>Vr(ei,"next")),Pr.forEach(ei=>Vr(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(Vr=>!!Vr).forEach(Vr=>Vr.classList.add(c.params.navigation.lockClass))}),we("click",(Ar,Pr)=>{let{nextEl:Vr,prevEl:ei}=c.navigation;Vr=makeElementsArray(Vr),ei=makeElementsArray(ei);const Nr=Pr.target;let Zr=ei.includes(Nr)||Vr.includes(Nr);if(c.isElement&&!Zr){const Wr=Pr.path||Pr.composedPath&&Pr.composedPath();Wr&&(Zr=Wr.find(oi=>Vr.includes(oi)||ei.includes(oi)))}if(c.params.navigation.hideOnClick&&!Zr){if(c.pagination&&c.params.pagination&&c.params.pagination.clickable&&(c.pagination.el===Nr||c.pagination.el.contains(Nr)))return;let Wr;Vr.length?Wr=Vr[0].classList.contains(c.params.navigation.hiddenClass):ei.length&&(Wr=ei[0].classList.contains(c.params.navigation.hiddenClass)),Ie(Wr===!0?"navigationShow":"navigationHide"),[...Vr,...ei].filter(oi=>!!oi).forEach(oi=>oi.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:Nr=>Nr,formatFractionTotal:Nr=>Nr,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 vr(Nr,Zr){const{bulletActiveClass:Wr}=c.params.pagination;!Nr||(Nr=Nr[`${Zr==="prev"?"previous":"next"}ElementSibling`],Nr&&(Nr.classList.add(`${Wr}-${Zr}`),Nr=Nr[`${Zr==="prev"?"previous":"next"}ElementSibling`],Nr&&Nr.classList.add(`${Wr}-${Zr}-${Zr}`)))}function lr(Nr,Zr,Wr){if(Nr=Nr%Wr,Zr=Zr%Wr,Zr===Nr+1)return"next";if(Zr===Nr-1)return"previous"}function yr(Nr){const Zr=Nr.target.closest(classesToSelector(c.params.pagination.bulletClass));if(!Zr)return;Nr.preventDefault();const Wr=elementIndex(Zr)*c.params.slidesPerGroup;if(c.params.loop){if(c.realIndex===Wr)return;const oi=lr(c.realIndex,Wr,c.slides.length);oi==="next"?c.slideNext():oi==="previous"?c.slidePrev():c.slideToLoop(Wr)}else c.slideTo(Wr)}function kr(){const Nr=c.rtl,Zr=c.params.pagination;if(rr())return;let Wr=c.pagination.el;Wr=makeElementsArray(Wr);let oi,ui;const fi=c.virtual&&c.params.virtual.enabled?c.virtual.slides.length:c.slides.length,di=c.params.loop?Math.ceil(fi/c.params.slidesPerGroup):c.snapGrid.length;if(c.params.loop?(ui=c.previousRealIndex||0,oi=c.params.slidesPerGroup>1?Math.floor(c.realIndex/c.params.slidesPerGroup):c.realIndex):typeof c.snapIndex<"u"?(oi=c.snapIndex,ui=c.previousSnapIndex):(ui=c.previousIndex||0,oi=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+=oi-(ui||0),ne>Zr.dynamicMainBullets-1?ne=Zr.dynamicMainBullets-1:ne<0&&(ne=0)),hi=Math.max(oi-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===oi?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&&vr(ze,"prev"),Ue===gr&&vr(ze,"next"))});else{const ze=li[oi];if(ze&&ze.classList.add(...Zr.bulletActiveClass.split(" ")),c.isElement&&li.forEach((Ue,tr)=>{Ue.setAttribute("part",tr===oi?"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(" "));vr(Ue,"prev"),vr(tr,"next")}}if(Zr.dynamicBullets){const ze=Math.min(li.length,Zr.dynamicMainBullets+4),Ue=(Ze*ze-Ze)/2-Ae*Ze,tr=Nr?"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(oi+1)}),li.querySelectorAll(classesToSelector(Zr.totalClass)).forEach(gr=>{gr.textContent=Zr.formatFractionTotal(di)})),Zr.type==="progressbar"){let gr;Zr.progressbarOpposite?gr=c.isHorizontal()?"vertical":"horizontal":gr=c.isHorizontal()?"horizontal":"vertical";const Ae=(oi+1)/di;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,oi+1,di),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 Nr=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 oi="";if(Nr.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 fi=0;fi<ui;fi+=1)Nr.renderBullet?oi+=Nr.renderBullet.call(c,fi,Nr.bulletClass):oi+=`<${Nr.bulletElement} ${c.isElement?'part="bullet"':""} class="${Nr.bulletClass}"></${Nr.bulletElement}>`}Nr.type==="fraction"&&(Nr.renderFraction?oi=Nr.renderFraction.call(c,Nr.currentClass,Nr.totalClass):oi=`<span class="${Nr.currentClass}"></span> / <span class="${Nr.totalClass}"></span>`),Nr.type==="progressbar"&&(Nr.renderProgressbar?oi=Nr.renderProgressbar.call(c,Nr.progressbarFillClass):oi=`<span class="${Nr.progressbarFillClass}"></span>`),c.pagination.bullets=[],Wr.forEach(ui=>{Nr.type!=="custom"&&(ui.innerHTML=oi||""),Nr.type==="bullets"&&c.pagination.bullets.push(...ui.querySelectorAll(classesToSelector(Nr.bulletClass)))}),Nr.type!=="custom"&&Ie("paginationRender",Wr[0])}function Ar(){c.params.pagination=createElementIfNotDefined(c,c.originalParams.pagination,c.params.pagination,{el:"swiper-pagination"});const Nr=c.params.pagination;if(!Nr.el)return;let Zr;typeof Nr.el=="string"&&c.isElement&&(Zr=c.el.querySelector(Nr.el)),!Zr&&typeof Nr.el=="string"&&(Zr=[...document.querySelectorAll(Nr.el)]),Zr||(Zr=Nr.el),!(!Zr||Zr.length===0)&&(c.params.uniqueNavElements&&typeof Nr.el=="string"&&Array.isArray(Zr)&&Zr.length>1&&(Zr=[...c.el.querySelectorAll(Nr.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=>{Nr.type==="bullets"&&Nr.clickable&&Wr.classList.add(...(Nr.clickableClass||"").split(" ")),Wr.classList.add(Nr.modifierClass+Nr.type),Wr.classList.add(c.isHorizontal()?Nr.horizontalClass:Nr.verticalClass),Nr.type==="bullets"&&Nr.dynamicBullets&&(Wr.classList.add(`${Nr.modifierClass}${Nr.type}-dynamic`),ne=0,Nr.dynamicMainBullets<1&&(Nr.dynamicMainBullets=1)),Nr.type==="progressbar"&&Nr.progressbarOpposite&&Wr.classList.add(Nr.progressbarOppositeClass),Nr.clickable&&Wr.addEventListener("click",yr),c.enabled||Wr.classList.add(Nr.lockClass)}))}function Pr(){const Nr=c.params.pagination;if(rr())return;let Zr=c.pagination.el;Zr&&(Zr=makeElementsArray(Zr),Zr.forEach(Wr=>{Wr.classList.remove(Nr.hiddenClass),Wr.classList.remove(Nr.modifierClass+Nr.type),Wr.classList.remove(c.isHorizontal()?Nr.horizontalClass:Nr.verticalClass),Nr.clickable&&(Wr.classList.remove(...(Nr.clickableClass||"").split(" ")),Wr.removeEventListener("click",yr))})),c.pagination.bullets&&c.pagination.bullets.forEach(Wr=>Wr.classList.remove(...Nr.bulletActiveClass.split(" ")))}we("changeDirection",()=>{if(!c.pagination||!c.pagination.el)return;const Nr=c.params.pagination;let{el:Zr}=c.pagination;Zr=makeElementsArray(Zr),Zr.forEach(Wr=>{Wr.classList.remove(Nr.horizontalClass,Nr.verticalClass),Wr.classList.add(c.isHorizontal()?Nr.horizontalClass:Nr.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:Nr}=c.pagination;Nr&&(Nr=makeElementsArray(Nr),Nr.forEach(Zr=>Zr.classList[c.enabled?"remove":"add"](c.params.pagination.lockClass)))}),we("lock unlock",()=>{kr()}),we("click",(Nr,Zr)=>{const Wr=Zr.target,oi=makeElementsArray(c.pagination.el);if(c.params.pagination.el&&c.params.pagination.hideOnClick&&oi&&oi.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=oi[0].classList.contains(c.params.pagination.hiddenClass);Ie(ui===!0?"paginationShow":"paginationHide"),oi.forEach(fi=>fi.classList.toggle(c.params.pagination.hiddenClass))}});const Vr=()=>{c.el.classList.remove(c.params.pagination.paginationDisabledClass);let{el:Nr}=c.pagination;Nr&&(Nr=makeElementsArray(Nr),Nr.forEach(Zr=>Zr.classList.remove(c.params.pagination.paginationDisabledClass))),Ar(),Br(),kr()},ei=()=>{c.el.classList.add(c.params.pagination.paginationDisabledClass);let{el:Nr}=c.pagination;Nr&&(Nr=makeElementsArray(Nr),Nr.forEach(Zr=>Zr.classList.add(c.params.pagination.paginationDisabledClass))),Pr()};Object.assign(c.pagination,{enable:Vr,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,vr,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,pr=c.params.loop?c.progressLoop:c.progress;let br=lr,nr=(yr-lr)*pr;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 Vr(Ae){return c.isHorizontal()?Ae.clientX:Ae.clientY}function ei(Ae){const{scrollbar:ze,rtlTranslate:Ue}=c,{el:tr}=ze;let or;or=(Vr(Ae)-elementOffset(tr)[c.isHorizontal()?"left":"top"]-(vr!==null?vr:lr/2))/(yr-lr),or=Math.max(Math.min(or,1),0),Ue&&(or=1-or);const pr=c.minTranslate()+(c.maxTranslate()-c.minTranslate())*or;c.updateProgress(pr),c.setTranslate(pr),c.updateActiveIndex(),c.updateSlidesClasses()}function Nr(Ae){const ze=c.params.scrollbar,{scrollbar:Ue,wrapperEl:tr}=c,{el:or,dragEl:pr}=Ue;Ze=!0,vr=Ae.target===pr?Vr(Ae)-Ae.target.getBoundingClientRect()[c.isHorizontal()?"left":"top"]:null,Ae.preventDefault(),Ae.stopPropagation(),tr.style.transitionDuration="100ms",pr.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 oi(Ae){const{scrollbar:ze,params:Ue}=c,tr=ze.el;if(!tr)return;const or=tr,pr=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",Nr,pr),Me[nr]("pointermove",Zr,pr),Me[nr]("pointerup",Wr,br)}function ui(){!c.params.scrollbar.el||!c.scrollbar.el||oi("on")}function fi(){!c.params.scrollbar.el||!c.scrollbar.el||oi("off")}function di(){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)),fi()}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():(di(),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)),di(),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:di,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(pr){const br=Ie;br.length!==0&&(br.innerHTML="",br.innerHTML=pr)}function vr(pr){pr===void 0&&(pr=16);const br=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(pr).replace(/x/g,br)}function lr(pr){pr=makeElementsArray(pr),pr.forEach(br=>{br.setAttribute("tabIndex","0")})}function yr(pr){pr=makeElementsArray(pr),pr.forEach(br=>{br.setAttribute("tabIndex","-1")})}function kr(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("role",br)})}function Br(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("aria-roledescription",br)})}function Ar(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("aria-controls",br)})}function Pr(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("aria-label",br)})}function Vr(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("id",br)})}function ei(pr,br){pr=makeElementsArray(pr),pr.forEach(nr=>{nr.setAttribute("aria-live",br)})}function Nr(pr){pr=makeElementsArray(pr),pr.forEach(br=>{br.setAttribute("aria-disabled",!0)})}function Zr(pr){pr=makeElementsArray(pr),pr.forEach(br=>{br.setAttribute("aria-disabled",!1)})}function Wr(pr){if(pr.keyCode!==13&&pr.keyCode!==32)return;const br=c.params.a11y,nr=pr.target;if(!(c.pagination&&c.pagination.el&&(nr===c.pagination.el||c.pagination.el.contains(pr.target))&&!pr.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 oi(){if(c.params.loop||c.params.rewind||!c.navigation)return;const{nextEl:pr,prevEl:br}=c.navigation;br&&(c.isBeginning?(Nr(br),yr(br)):(Zr(br),lr(br))),pr&&(c.isEnd?(Nr(pr),yr(pr)):(Zr(pr),lr(pr)))}function ui(){return c.pagination&&c.pagination.bullets&&c.pagination.bullets.length}function fi(){return ui()&&c.params.pagination.clickable}function di(){const pr=c.params.a11y;!ui()||c.pagination.bullets.forEach(br=>{c.params.pagination.clickable&&(lr(br),c.params.pagination.renderBullet||(kr(br,"button"),Pr(br,pr.paginationBulletMessage.replace(/\{\{index\}\}/,elementIndex(br)+1)))),br.matches(classesToSelector(c.params.pagination.bulletActiveClass))?br.setAttribute("aria-current","true"):br.removeAttribute("aria-current")})}const li=(pr,br,nr)=>{lr(pr),pr.tagName!=="BUTTON"&&(kr(pr,"button"),pr.addEventListener("keydown",Wr)),Pr(pr,nr),Ar(pr,br)},hi=pr=>{Ze&&Ze!==pr.target&&!Ze.contains(pr.target)&&(Me=!0),c.a11y.clicked=!0},gr=()=>{Me=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{c.destroyed||(c.a11y.clicked=!1)})})},Ae=pr=>{ne=new Date().getTime()},ze=pr=>{if(c.a11y.clicked||!c.params.a11y.scrollOnFocus||new Date().getTime()-ne<100)return;const br=pr.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||pr.sourceCapabilities&&pr.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 pr=c.params.a11y;pr.itemRoleDescriptionMessage&&Br(c.slides,pr.itemRoleDescriptionMessage),pr.slideRole&&kr(c.slides,pr.slideRole);const br=c.slides.length;pr.slideLabelMessage&&c.slides.forEach((nr,$e)=>{const ur=c.params.loop?parseInt(nr.getAttribute("data-swiper-slide-index"),10):$e,$r=pr.slideLabelMessage.replace(/\{\{index\}\}/,ur+1).replace(/\{\{slidesLength\}\}/,br);Pr(nr,$r)})},tr=()=>{const pr=c.params.a11y;c.el.append(Ie);const br=c.el;pr.containerRoleDescriptionMessage&&Br(br,pr.containerRoleDescriptionMessage),pr.containerMessage&&Pr(br,pr.containerMessage),pr.containerRole&&kr(br,pr.containerRole);const nr=c.wrapperEl,$e=pr.id||nr.getAttribute("id")||`swiper-wrapper-${vr(16)}`,ur=c.params.autoplay&&c.params.autoplay.enabled?"off":"polite";Vr(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,pr.nextSlideMessage)),Yr&&Yr.forEach(ki=>li(ki,$e,pr.prevSlideMessage)),fi()&&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:pr,prevEl:br}=c.navigation?c.navigation:{};pr=makeElementsArray(pr),br=makeElementsArray(br),pr&&pr.forEach($e=>$e.removeEventListener("keydown",Wr)),br&&br.forEach($e=>$e.removeEventListener("keydown",Wr)),fi()&&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||oi()}),we("paginationUpdate",()=>{!c.params.a11y.enabled||di()}),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,vr=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),vr&&!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,vr]=ne.split("Version/")[1].split(" ")[0].split(".").map(lr=>Number(lr));ie=rr<16||rr===16&&vr<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(Vr=>{let{contentBoxSize:ei,contentRect:Nr,target:Zr}=Vr;Zr&&Zr!==c.el||(Ar=Nr?Nr.width:(ei[0]||ei).inlineSize,Pr=Nr?Nr.height:(ei[0]||ei).blockSize)}),(Ar!==kr||Pr!==Br)&&ne()})}),Me.observe(c.el))},vr=()=>{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",()=>{vr(),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})}},vr=()=>{Me.forEach(lr=>{lr.disconnect()}),Me.splice(0,Me.length)};ie({observer:!1,observeParents:!1,observeSlideChildren:!1}),we("init",rr),we("destroy",vr)}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(vr=>{vr.apply(we,[rr,...ie])}),m.eventsListeners&&m.eventsListeners[rr]&&m.eventsListeners[rr].forEach(vr=>{vr.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,vr=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 Vr=ie.slidesOffsetAfter;typeof Vr=="function"&&(Vr=ie.slidesOffsetAfter.call(m));const ei=m.snapGrid.length,Nr=m.slidesGrid.length;let Zr=ie.spaceBetween,Wr=-Pr,oi=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 fi=ie.grid&&ie.grid.rows>1&&m.grid;fi?m.grid.initSlides(lr):m.grid&&m.grid.unsetSlides();let di;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){di=0;let gr;if(lr[hi]&&(gr=lr[hi]),fi&&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)di=m.isHorizontal()?elementOuterSize(gr,"width",!0):elementOuterSize(gr,"height",!0);else{const tr=c(Ae,"width"),or=c(Ae,"padding-left"),pr=c(Ae,"padding-right"),br=c(Ae,"margin-left"),nr=c(Ae,"margin-right"),$e=Ae.getPropertyValue("box-sizing");if($e&&$e==="border-box")di=tr+br+nr;else{const{clientWidth:ur,offsetWidth:$r}=gr;di=tr+or+pr+br+nr+($r-ur)}}ze&&(gr.style.transform=ze),Ue&&(gr.style.webkitTransform=Ue),ie.roundLengths&&(di=Math.floor(di))}else di=(Me-(ie.slidesPerView-1)*Zr)/ie.slidesPerView,ie.roundLengths&&(di=Math.floor(di)),lr[hi]&&(lr[hi].style[m.getDirectionLabel("width")]=`${di}px`);lr[hi]&&(lr[hi].swiperSlideSize=di),Ar.push(di),ie.centeredSlides?(Wr=Wr+di/2+oi/2+Zr,oi===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+di+Zr),m.virtualSize+=di+Zr,oi=di,ui+=1}}if(m.virtualSize=Math.max(m.virtualSize,Me)+Vr,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`),fi&&m.grid.updateWrapperSize(di,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+Vr: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!==vr&&m.emit("slidesLengthChange"),kr.length!==ei&&(m.params.watchOverflow&&m.checkOverflow(),m.emit("snapGridLengthChange")),Br.length!==Nr&&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 vr=we[rr];let lr=vr.swiperSlideOffset;ie.cssMode&&ie.centeredSlides&&(lr-=we[0].swiperSlideOffset);const yr=(Ze+(ie.centeredSlides?c.minTranslate():0)-lr)/(vr.swiperSlideSize+ne),kr=(Ze-Me[0]+(ie.centeredSlides?c.minTranslate():0)-lr)/(vr.swiperSlideSize+ne),Br=-(Ze-lr),Ar=Br+c.slidesSizesGrid[rr],Pr=Br>=0&&Br<=c.size-c.slidesSizesGrid[rr],Vr=Br>=0&&Br<c.size-1||Ar>1&&Ar<=c.size||Br<=0&&Ar>=c.size;Vr&&(c.visibleSlides.push(vr),c.visibleSlidesIndexes.push(rr)),toggleSlideClasses$1(vr,Vr,ie.slideVisibleClass),toggleSlideClasses$1(vr,Pr,ie.slideFullyVisibleClass),vr.progress=Ie?-yr:yr,vr.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,vr=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&&!vr&&c.emit("reachEnd toEdge"),(rr&&!Me||vr&&!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,vr,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),vr=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]),vr=elementPrevAll(rr,`.${ie.slideClass}, swiper-slide`)[0],ie.loop&&!vr===0&&(vr=c[c.length-1]))),c.forEach(yr=>{toggleSlideClasses(yr,yr===rr,ie.slideActiveClass),toggleSlideClasses(yr,yr===lr,ie.slideNextClass),toggleSlideClasses(yr,yr===vr,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,vr)=>Ze+we+vr)),m.slides.forEach((rr,vr)=>{ne.includes(rr.column)&&unlazy(m,vr)});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,vr;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)vr=we.indexOf(ie);else{const Br=Math.min(Ie.slidesPerGroupSkip,rr);vr=Br+Math.floor((rr-Br)/Ie.slidesPerGroup)}if(vr>=we.length&&(vr=we.length-1),rr===Me&&!c.params.loop){vr!==ne&&(c.snapIndex=vr,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:vr,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 vr=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, ${vr}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(),vr=Me.maxTranslate();let lr;if(we&&m>rr?lr=rr:we&&m<vr?lr=vr: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:vr,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 Vr=Pr+Math.floor((Ze-Pr)/Me.params.slidesPerGroup);Vr>=rr.length&&(Vr=rr.length-1);const ei=-rr[Vr];if(ne.normalizeSlideIndex)for(let oi=0;oi<vr.length;oi+=1){const ui=-Math.floor(ei*100),fi=Math.floor(vr[oi]*100),di=Math.floor(vr[oi+1]*100);typeof vr[oi+1]<"u"?ui>=fi&&ui<di-(di-fi)/2?Ze=oi:ui>=fi&&ui<di&&(Ze=oi+1):ui>=fi&&(Ze=oi)}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 Nr;Ze>yr?Nr="next":Ze<yr?Nr="prev":Nr="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),Nr!=="reset"&&(Me.transitionStart(ie,Nr),Me.transitionEnd(ie,Nr)),!1;if(ne.cssMode){const oi=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[oi?"scrollLeft":"scrollTop"]=ui})):Br[oi?"scrollLeft":"scrollTop"]=ui,Zr&&requestAnimationFrame(()=>{Me.wrapperEl.style.scrollSnapType="",Me._immediateVirtual=!1});else{if(!Me.support.smoothScroll)return animateCSSModeScroll({swiper:Me,targetPosition:ui,side:oi?"left":"top"}),!0;Br.scrollTo({[oi?"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,Nr),c===0?Me.transitionEnd(ie,Nr):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,Nr))}),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:vr}=Ie.params;let lr=Ie.params.slidesPerView;lr==="auto"?lr=Ie.slidesPerViewDynamic():(lr=Math.ceil(parseFloat(Ie.params.slidesPerView,10)),vr&&lr%2===0&&(lr=lr+1));let yr=rr-ne<lr;if(vr&&(yr=yr||ne<Math.ceil(lr/2)),we&&vr&&Ie.params.slidesPerView!=="auto"&&!Me&&(yr=!1),yr){const kr=vr?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,vr=we.virtual&&Me.virtual.enabled;if(Me.loop){if(Ze&&!vr&&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:vr}=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(vr&&!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((Nr,Zr)=>{Br>=Nr&&(ei=Zr)}),typeof ei<"u"&&(Pr=Me[ei>0?ei-1:ei])}let Vr=0;if(typeof Pr<"u"&&(Vr=Ze.indexOf(Pr),Vr<0&&(Vr=we.activeIndex-1),Ie.slidesPerView==="auto"&&Ie.slidesPerGroup===1&&Ie.slidesPerGroupAuto&&(Vr=Vr-we.slidesPerViewDynamic("previous",!0)+1,Vr=Math.max(Vr,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(Vr,m,c,ie)}),!0;return we.slideTo(Vr,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 vr=Ie.snapGrid[ne],lr=Ie.snapGrid[ne+1];rr-vr>(lr-vr)*we&&(Me+=Ie.params.slidesPerGroup)}else{const vr=Ie.snapGrid[ne-1],lr=Ie.snapGrid[ne];rr-vr<=(lr-vr)*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,vr=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;vr(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;vr(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:vr,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 Vr=Br.slidesPerGroupAuto?Pr:Br.slidesPerGroup;let ei=Vr;ei%Vr!==0&&(ei+=Vr-ei%Vr),ei+=Br.loopAdditionalSlides,rr.loopedSlides=ei;const Nr=rr.grid&&Br.grid&&Br.grid.rows>1;vr.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"):Nr&&Br.grid.fill==="row"&&showWarning("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const Zr=[],Wr=[];let oi=rr.activeIndex;typeof Me>"u"?Me=rr.getSlideIndex(vr.find(ze=>ze.classList.contains(Br.slideActiveClass))):oi=Me;const ui=we==="next"||!we,fi=we==="prev"||!we;let di=0,li=0;const hi=Nr?Math.ceil(vr.length/Br.grid.rows):vr.length,Ae=(Nr?vr[Me].column:Me)+(Ar&&typeof Ie>"u"?-Pr/2+.5:0);if(Ae<ei){di=Math.max(ei-Ae,Vr);for(let ze=0;ze<ei-Ae;ze+=1){const Ue=ze-Math.floor(ze/hi)*hi;if(Nr){const tr=hi-Ue-1;for(let or=vr.length-1;or>=0;or-=1)vr[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),Vr);for(let ze=0;ze<li;ze+=1){const Ue=ze-Math.floor(ze/hi)*hi;Nr?vr.forEach((tr,or)=>{tr.column===Ue&&Wr.push(or)}):Wr.push(Ue)}}if(rr.__preventObserver__=!0,requestAnimationFrame(()=>{rr.__preventObserver__=!1}),fi&&Zr.forEach(ze=>{vr[ze].swiperLoopMoveDOM=!0,kr.prepend(vr[ze]),vr[ze].swiperLoopMoveDOM=!1}),ui&&Wr.forEach(ze=>{vr[ze].swiperLoopMoveDOM=!0,kr.append(vr[ze]),vr[ze].swiperLoopMoveDOM=!1}),rr.recalcSlides(),Br.slidesPerView==="auto"?rr.updateSlides():Nr&&(Zr.length>0&&fi||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&&fi){if(typeof c>"u"){const ze=rr.slidesGrid[oi],tr=rr.slidesGrid[oi+di]-ze;ne?rr.setTranslate(rr.translate-tr):(rr.slideTo(oi+Math.ceil(di),0,!1,!0),Ie&&(rr.touchEventsData.startTranslate=rr.touchEventsData.startTranslate-tr,rr.touchEventsData.currentTranslate=rr.touchEventsData.currentTranslate-tr))}else if(Ie){const ze=Nr?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[oi],tr=rr.slidesGrid[oi-li]-ze;ne?rr.setTranslate(rr.translate-tr):(rr.slideTo(oi-li,0,!1,!0),Ie&&(rr.touchEventsData.startTranslate=rr.touchEventsData.startTranslate-tr,rr.touchEventsData.currentTranslate=rr.touchEventsData.currentTranslate-tr))}else{const ze=Nr?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 vr=!!Me.noSwipingClass&&Me.noSwipingClass!=="",lr=we.composedPath?we.composedPath():we.path;vr&&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 Vr=Pr&&c.allowTouchMove&&Me.touchStartPreventDefault;(Me.touchStartForcePreventDefault||Vr)&&!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 vr;if(rr.type==="touchmove"){if(vr=[...rr.changedTouches].find(ui=>ui.identifier===we.touchId),!vr||vr.identifier!==we.touchId)return}else vr=rr;if(!we.isTouched){we.startMoving&&we.isScrolling&&ie.emit("touchMoveOpposite",rr);return}const lr=vr.pageX,yr=vr.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 Vr=ie.touchesDirection;ie.swipeDirection=Ar>0?"prev":"next",ie.touchesDirection=Pr>0?"prev":"next";const ei=ie.params.loop&&!Ie.cssMode,Nr=ie.touchesDirection==="next"&&ie.allowSlideNext||ie.touchesDirection==="prev"&&ie.allowSlidePrev;if(!we.isMoved){if(ei&&Nr&&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&&Vr!==ie.touchesDirection&&ei&&Nr&&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,oi=Ie.resistanceRatio;if(Ie.touchReleaseOnEdges&&(oi=0),Ar>0?(ei&&Nr&&!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)**oi))):Ar<0&&(ei&&Nr&&!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)**oi))),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(oi=>oi.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:vr,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 oi=we.path||we.composedPath&&we.composedPath();c.updateClickedSlide(oi&&oi[0]||we.target,oi),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,Vr=c.slidesSizesGrid[0];for(let oi=0;oi<vr.length;oi+=oi<Ze.slidesPerGroupSkip?1:Ze.slidesPerGroup){const ui=oi<Ze.slidesPerGroupSkip-1?1:Ze.slidesPerGroup;typeof vr[oi+ui]<"u"?(Ar||Br>=vr[oi]&&Br<vr[oi+ui])&&(Pr=oi,Vr=vr[oi+ui]-vr[oi]):(Ar||Br>=vr[oi])&&(Pr=oi,Vr=vr[vr.length-1]-vr[vr.length-2])}let ei=null,Nr=null;Ze.rewind&&(c.isBeginning?Nr=Ze.virtual&&Ze.virtual.enabled&&c.virtual?c.virtual.slides.length-1:c.slides.length-1:c.isEnd&&(ei=0));const Zr=(Br-vr[Pr])/Vr,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):Nr!==null&&Zr<0&&Math.abs(Zr)>Ze.longSwipesRatio?c.slideTo(Nr):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(Nr!==null?Nr: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",vr=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[vr](Ze.ios||Ze.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0):m[vr]("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),vr=m.getBreakpoint(Me,ne,rr);if(!vr||m.currentBreakpoint===vr)return;const yr=(vr in Me?Me[vr]:void 0)||m.originalParams,kr=isGridEnabled(m,we),Br=isGridEnabled(m,yr),Ar=m.params.grabCursor,Pr=yr.grabCursor,Vr=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 fi=we[ui]&&we[ui].enabled,di=yr[ui]&&yr[ui].enabled;fi&&!di&&m[ui].disable(),!fi&&di&&m[ui].enable()});const ei=yr.direction&&yr.direction!==we.direction,Nr=we.loop&&(yr.slidesPerView!==we.slidesPerView||ei),Zr=we.loop;ei&&ie&&m.changeDirection(),extend$1(m.params,yr);const Wr=m.params.enabled,oi=m.params.loop;Object.assign(m,{allowTouchMove:m.params.allowTouchMove,allowSlideNext:m.params.allowSlideNext,allowSlidePrev:m.params.allowSlidePrev}),Vr&&!Wr?m.disable():!Vr&&Wr&&m.enable(),m.currentBreakpoint=vr,m.emit("_beforeBreakpoint",yr),ie&&(Nr?(m.loopDestroy(),m.loopCreate(c),m.updateSlides()):!Zr&&oi?(m.loopCreate(c),m.updateSlides()):Zr&&!oi&&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:vr}=Ze[ne];c==="window"?Ie.matchMedia(`(min-width: ${vr}px)`).matches&&(we=rr):vr<=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 vr=extend$1({},defaults,rr);return ne.params=extend$1({},vr,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:vr}=we;let lr=1;if(typeof Ie.slidesPerView=="number")return Ie.slidesPerView;if(Ie.centeredSlides){let yr=Me[vr]?Math.ceil(Me[vr].swiperSlideSize):0,kr;for(let Br=vr+1;Br<Me.length;Br+=1)Me[Br]&&!kr&&(yr+=Math.ceil(Me[Br].swiperSlideSize),lr+=1,yr>rr&&(kr=!0));for(let Br=vr-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=vr+1;yr<Me.length;yr+=1)(ie?Ze[yr]+ne[yr]-Ze[vr]<rr:Ze[yr]-Ze[vr]<rr)&&(lr+=1);else for(let yr=vr-1;yr>=0;yr-=1)Ze[vr]-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 vr=Ie.filter(li=>li!=="children"&&li!=="direction"&&li!=="wrapperClass"),{params:lr,pagination:yr,navigation:kr,scrollbar:Br,virtual:Ar,thumbs:Pr}=c;let Vr,ei,Nr,Zr,Wr,oi,ui,fi;Ie.includes("thumbs")&&we.thumbs&&we.thumbs.swiper&&!we.thumbs.swiper.destroyed&&lr.thumbs&&(!lr.thumbs.swiper||lr.thumbs.swiper.destroyed)&&(Vr=!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&&(Nr=!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 di=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?oi=!0:!lr.loop&&we.loop?ui=!0:fi=!0),vr.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&&di(li);else{const hi=we[li];(hi===!0||hi===!1)&&(li==="navigation"||li==="pagination"||li==="scrollbar")?hi===!1&&di(li):lr[li]=we[li]}}),vr.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&&(fi=!0),Vr&&Pr.init()&&Pr.update(!0),ei&&(c.controller.control=lr.controller.control),Nr&&(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),(oi||fi)&&c.loopDestroy(),(ui||fi)&&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),vr=ie.map(Ie);rr.join("")!==vr.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 vr=Object.keys(m[rr]),lr=Object.keys(c[rr]);vr.length!==lr.length?Ze(rr):(vr.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 vr=typeof rr.type=="symbol";ne==="default"&&(ne="container-end"),vr&&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,vr=[];for(let lr=ne;lr<rr;lr+=1)lr>=Me&&lr<=Ze&&vr.length<c.length&&vr.push(c[we(lr)]);return vr.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),vr=vue.ref(!1),lr=vue.ref(null),yr=vue.ref(null),kr=vue.ref(null),Br={value:[]},Ar={value:[]},Pr=vue.ref(null),Vr=vue.ref(null),ei=vue.ref(null),Nr=vue.ref(null),{params:Zr,passedParams:Wr}=getParams(m,!1);getChildren(ie,Br,Ar),kr.value=Wr,Ar.value=Br.value;const oi=()=>{getChildren(ie,Br,Ar),rr.value=!0};Zr.onAny=function(di){for(var li=arguments.length,hi=new Array(li>1?li-1:0),gr=1;gr<li;gr++)hi[gr-1]=arguments[gr];we(di,...hi)},Object.assign(Zr.on,{_beforeBreakpoint:oi,_containerClasses(di,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 di={cache:!1,slides:Br.value,renderExternal:li=>{ne.value=li},renderExternalUpdate:!1};extend(yr.value.params.virtual,di),extend(yr.value.originalParams.virtual,di)}vue.onUpdated(()=>{!vr.value&&yr.value&&(yr.value.emitSlidesClasses(),vr.value=!0);const{passedParams:di}=getParams(m,!1),li=getChangedParams(di,kr.value,Br.value,Ar.value,hi=>hi.props&&hi.props.key);kr.value=di,(li.length||rr.value)&&yr.value&&!yr.value.destroyed&&updateSwiper({swiper:yr.value,slides:Br.value,passedParams:di,changedParams:li,nextEl:Pr.value,prevEl:Vr.value,scrollbarEl:Nr.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:Vr.value,paginationEl:ei.value,scrollbarEl:Nr.value,swiper:yr.value},Zr),we("swiper",yr.value))}),vue.onBeforeUnmount(()=>{yr.value&&!yr.value.destroyed&&yr.value.destroy(!0,!1)});function fi(di){return Zr.virtual?renderVirtual(yr,di,ne.value):(di.forEach((li,hi)=>{li.props||(li.props={}),li.props.swiperRef=yr,li.props.swiperSlideIndex=hi}),di)}return()=>{const{slides:di,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"],fi(di),li["wrapper-end"]]),needsNavigation(m)&&[vue.h("div",{ref:Vr,class:"swiper-button-prev"}),vue.h("div",{ref:Pr,class:"swiper-button-next"})],needsScrollbar(m)&&vue.h("div",{ref:Nr,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 vr=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",vr);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(vr.value),m.lazy&&!ne.value&&vue.h("div",{class:"swiper-lazy-preloader"})]):[ie.default&&ie.default(vr.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 vr=document.createElement("canvas"),lr=vr.getContext("2d");if(!lr)throw new Error("Failed to create 2D context");return vr.width=we,vr.height=Ie,lr.drawImage(typeof m=="string"?await rr(m):m,c,ie,we,Ie,0,0,we,Ie),ne==="canvas"?vr:ne==="blob"?await new Promise((yr,kr)=>{vr.toBlob(Br=>{Br?yr(Br):kr(new Error("Failed to create Blob from canvas"))},Me,Ze)}):ne==="dataUrl"?vr.toDataURL(Me,Ze):await new Promise((yr,kr)=>{vr.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,9 +2596,9 @@ Use Save As... to download, then click back to return to this page.`)&&(location
|
|
|
2596
2596
|
|
|
2597
2597
|
`);for(;di!==-1;){const li=Wr.slice(0,di).trim();Wr=Wr.slice(di+2),di=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,vr){const lr=vue.ref();async function yr(Vr,ei,Nr){const Zr=Ie.value;if(!Zr)throw console.error("Serial not available"),new Error("Serial not available");let Wr=0;const oi=!0;if(lr.value={},Vr==="pdf"||oi){if(Vr==="idml")throw new Error("IDML rendering is not supported");const ui=await renderRemote(m,c,ie,Me.value,Ze.value,vr.value,Zr.width,Zr.height,Vr,95,Zr.frames??{x:1,y:1},ne.value,rr.value);if(ui.type==="application/zip"){const fi=await unzip(ui);lr.value=Object.fromEntries(await Promise.all(Object.entries(fi.entries).map(async([di,li])=>[di,await li.blob(mimeTypes.lookup(di)||"png")])))}else{const fi=mimeTypes.extension(ui.type)??"png";lr.value={[`${Zr.name}.${fi}`]:ui}}console.log(lr.value)}else{const ui=we.value?.bluepicEmbeddedRef?.renderSVG(),fi=Ie.value;if(!ui)throw console.error("SVG document not available"),new Error("SVG document not available");if(!fi)throw console.error("Serial not available"),new Error("Serial not available");lr.value=Object.fromEntries((await renderLocal(await ui,{width:fi.width,height:fi.height,format:mime.getType(Vr),quality:.95,frames:fi.frames,idmlOptions:{keepGroupTransforms:!1,rasterizeAllMasks:!1,vectorizeAllTexts:!1,keepFontRemoteUrls:!1},svgOptions:{vectorizeAllTexts:!1},fileBasename:ei??`${fi.name}_export`,watermark:Nr})).map(di=>[di.name,di.blob]))}return{files:lr.value,creditsConsumed:Wr}}const kr=vue.ref(!1),Br=vue.ref(),Ar=vue.ref();async function Pr(Vr,ei,Nr){kr.value=!0,Br.value=void 0;const Zr=await renderVideoRemote(m,c,ie,Ze.value,vr.value,Ie.value?.width??0,Ie.value?.height??0,Vr,ei,{fps:30,vcodec:"libx264",pix_fmt:"yuv420p",acodec:"aac",audio:[]},Wr=>{Ar.value=Wr});return kr.value=!1,Br.value=[{name:`${Nr??"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:`${c}_${Ie+1}.${mimeTypes.extension(we.type)}`,blob:we};const Me=we.split("/").pop(),Ze=Me.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?Me:`${c}_${Ie+1}.${Ze}`,blob:rr}}));if(console.log("files",ie),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$c={class:"nav-wrapper"},_hoisted_3$9={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")),vr=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:Vr,description:ei,detailedDescription:Nr,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)(Vr),...vue.unref(ne)(Pr),maxHeight:`${kr.naturalFieldsViewMaxHeight-37-20-5}px`,description:ei,detailedDescription:Nr,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$c,[vue.createVNode(BxDropdown,{"allowed-placements":["top"],trigger:"click",options:lr.value,onSelect:yr,"mobile-layout":""},{trigger:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$9,[vue.createElementVNode("span",null,vue.toDisplayString(vr.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$b=["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,vr=c(we,Ie,Me,0),lr=c(we,Ie,Me,rr),yr=rr>180?1:0;return[`M ${we} ${Ie}`,`L ${vr.x} ${vr.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$b)]))}}),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$a={key:0,class:"branding"},_hoisted_3$8={class:"logo"},_hoisted_4$6={class:"actions"},_hoisted_5$5={class:"editor-inner"},_hoisted_6$4={key:0,class:"view-desktop"},_hoisted_7$3={class:"fields-view"},_hoisted_8$3={key:0,class:"slides-nav-wrapper"},_hoisted_9$2={key:1,class:"form-extra-wrapper"},_hoisted_10$2={class:"time-meta-wrapper"},_hoisted_11$2={class:"play-controls"},_hoisted_12$1={class:"live-view-inner"},_hoisted_13$1=["src"],_hoisted_14$1=["src"],_hoisted_15$1={class:"time-meta-wrapper"},_hoisted_16$1={class:"play-controls"},_hoisted_17={class:"form-extra-wrapper"},_hoisted_18=["src"],_hoisted_19={key:0,class:"timeline-wrapper"},_hoisted_20={class:"time-meta-wrapper"},_hoisted_21={class:"play-controls"},_hoisted_22={class:"fields-view"},_hoisted_23={key:0,class:"slides-nav-wrapper"},_hoisted_24={key:1,class:"form-extra-wrapper"},_hoisted_25={class:"stack-nav-wrapper"},_hoisted_26={key:0,class:"branding"},_hoisted_27={class:"logo"},_hoisted_28={class:"actions"},_hoisted_29={key:3,class:"view-kiosk"},_hoisted_30={class:"kiosk-field-wrapper"},_hoisted_31={key:0,class:"navigation-view"},_hoisted_32={class:"toolbar"},_sfc_main$h=vue.defineComponent({__name:"BluepicEmbeddedEditor",props:vue.mergeModels({data:{},displayMode:{},templateId:{},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},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(["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??{});console.log("DATA IN <BluepicEmbeddedEditor>",Me.value),vue.watch(()=>we.data,an=>{an&&!lodash.exports.isEqual(an,Me.value)&&(Me.value=an)});const Ze=vue.useModel(m,"serial"),ne=vue.useModel(m,"ready"),rr=vue.ref(),{width:vr,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),Vr=vue.ref(),{width:ei}=useWindowSize(),Nr=vue.ref([]),Zr=vue.computed(()=>{if(!Vr.value?.aspectRatio)return;const an=Vr.value.bluepicLiveTemplateRootWidth*Vr.value.aspectRatio;return Pr.value-an}),Wr=vue.computed(()=>we.displayMode==="auto"?ei.value>768?"desktop":"mobile":we.displayMode);function oi(){!Vr.value||(Vr.value.transform={x:0,y:0,scale:1,rotate:0})}const ui=vue.computed(()=>Vr.value?.bluepicLiveTemplateRootWidth),fi=vue.computed(()=>Vr.value?.bluepicLiveTemplateRootHeight);vue.watch([ui,fi],oi);const di=vue.ref(!1),li=()=>di.value=!0,hi=vue.ref();function gr(an){hi.value=an}function Ae(){if(!(!Ze.value?.frames||!hi.value)&&Wr.value==="mobile"){const an=ze.value[hi.value.activeIndex],Rn=[an.originalField,...an.fields].find(Cn=>Cn?.frameIndex!==void 0)?.frameIndex;if(Rn!==void 0&&Ze.value.frames&&Ze.value.frames.x>0&&Ze.value.frames.y>0){const Cn=(Rn-1)%Ze.value.frames.x,Yn=Math.floor((Rn-1)/Ze.value.frames.x);Vr.value?.applyTranformBasedOnFrame(Cn+1,Yn+1)}}}const{mobileFields:ze}=useMobileFields(Nr),Ue=[Navigation,Pagination,Scrollbar,A11y];vue.computed(()=>Nr.value.map(an=>an.hitbox).filter(an=>an));function tr({x:an,y:Rn}){console.log("Matrix click",an,Rn)}const or=vue.computed(()=>ze.value.reduce((an,Rn)=>[...an,...Rn.fields],[])),pr=vue.ref(0),br=vue.ref(!1),nr=vue.computed(()=>or.value.map((an,Rn)=>({label:getFieldDescription(an),value:Rn,icon:()=>renderFieldIcon(an.type,Rn===pr.value)}))),$e=vue.computed(()=>nr.value.find(({value:an})=>an===pr.value)?.label),ur=vue.computed(()=>ei.value<=768);function $r(an){pr.value=an,br.value=!0,or.value[an]}const Yr=vue.computed(()=>pr.value<or.value.length-1),wi=vue.computed(()=>pr.value>0);function ki(){Yr.value&&$r(pr.value+1)}function Mi(){wi.value&&$r(pr.value-1)}const si=vue.computed(()=>or.value[pr.value]),_i=vue.computed(()=>Object.values(Ze.value?.frames??{x:1,y:1}).reduce((an,Rn)=>Rn*an,1)),ii=vue.computed(()=>_i.value>1),Jr=vue.computed({get(){if(!Ze.value?.frames||!ii.value)return;const{x:an,y:Rn}=Vr.value?.closestFrame??{x:1,y:1},Cn=an-1;return(Rn-1)*Ze.value.frames.x+Cn+1},set(an){if(an===void 0||!ii.value||!Ze.value?.frames)return;const Rn=an-1,Cn=Rn%Ze.value.frames.x,Yn=Math.floor(Rn/Ze.value.frames.x);Vr.value?.applyTranformBasedOnFrame(Cn+1,Yn+1)}}),bi=vue.computed(()=>Vr.value?.globalScope??{});vue.watchEffect(()=>{Ie("update:globalScope",bi.value)});const vi=an=>new Function(...Object.keys(bi.value),`return (${an.toString()})()`)(...Object.values(bi.value));vue.provide("computedPropEvaluator",vi);const Di=vue.useSlots(),Ui=an=>{!an||(Nr.value=(an.fields??an?.meta.fields.map(convertDeprecatedField).filter(Rn=>Rn!==void 0)).map(realizeField).filter(Rn=>ii.value&&Wr.value!=="mobile"?(Rn.frameIndex??1)===Jr.value:!0),Me.value={...an.bindings,...Me.value})};we.baseSerial&&Ui(we.baseSerial);const dn=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 Sn=0,An=0;function To(){Vi.value=!Vi.value,Vi.value&&(Sn=Date.now(),An=tn.value);function an(){const Rn=Ze.value?.animation.duration??120;if(Vi.value){const Cn=(Date.now()-Sn)/1e3%Rn,$o=An-An%Ji.value+Cn,Nn=$o-$o%Ji.value;Nn>Rn?Gn.value?tn.value=0:(Vi.value=!1,tn.value=Rn):tn.value=Nn,requestAnimationFrame(an)}}an()}const pn=vue.computed(()=>{const an=we.exportActions??[];return an.length===0?[{renderFormat:"png",trigger:"user-gesture",label:"Download",download:!0,successMessage:"Image downloaded",webhook:void 0,redirect:void 0}]:an}),Dn=vue.computed(()=>pn.value.filter(an=>an.trigger==="user-gesture"||!an.trigger).map((an,Rn)=>({label:an.label,value:Rn}))),Ho=vue.computed(()=>pn.value.filter(an=>an.trigger==="onupdate"));vue.watch(Me,useDebounceFn(()=>{for(const an of Ho.value)Wo(pn.value.indexOf(an))},1e3),{deep:!0});const zn=nanoid(),Fn=vue.ref(!1);async function Wo(an){const Rn=pn.value[an];if(!Rn)return;const Cn={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"},Yn={exportAction:Rn,templateId:kr.value,data:Object.fromEntries(Object.entries(Me.value).filter(([$o,Nn])=>!($o==="TIME"&&!Ze.value?.animation?.enabled||$o in Cn&&Nn===Cn[$o]))),embedProjectId:yr.value,files:null,creditsConsumed:null,sessionId:zn,userAgent:navigator.userAgent,visitorId:"foo",visitorConfidence:0};if(Ie("handle-export-action",Rn),Ie("before-export",Yn),Fn.value=!0,Rn.renderFormat!=="none")if(Ze.value?.animation?.enabled){if(Rn.trigger==="onupdate")return Fn.value=!1,console.error("onupdate is not supported for video export");const $o=await ao("mp4",Ze.value.animation.duration*1e3,`${Ze.value?.name}`);Yn.files=Object.fromEntries(await Promise.all($o.files.map(async Nn=>{const to=await fetch(Nn).then(ma=>ma.blob());return[`video.${mimeTypes.extension(to.type)}`,to]}))),Yn.creditsConsumed=$o.creditsConsumed}else{if(Rn.trigger==="onupdate")return Fn.value=!1,console.error("onupdate is not supported for image export");const $o=await Kn(Rn.renderFormat,`${Ze.value?.name}`,void 0);Yn.files=$o.files??null,Yn.creditsConsumed=$o.creditsConsumed}if(Yn.files!==null&&Rn.download&&Rn.trigger==="user-gesture"&&await downloadFiles(Object.values(Yn.files),`${Ze.value?.name}`),Rn.webhook)try{const $o=await fetch(Rn.webhook,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Yn)}),Nn=await $o.text();$o.ok||console.error("Webhook failed",Nn),console.log("Webhook result",Nn),Rn.successMessage&&createMessage({type:"success",message:Rn.successMessage,closeAfter:5e3})}catch($o){console.error("Webhook error",$o)}if((Yn.files!==null||Rn.webhook)&&Rn.successMessage&&Rn.successMessage,Fn.value=!1,Ie("after-export",Yn),Rn.redirect&&Rn.trigger==="user-gesture"){const $o=new URL(Rn.redirect);$o.searchParams.set("context",JSON.stringify(Yn)),window.location=$o.toString()}}const{render:Kn,renderVideo:ao,videoFiles:pa,videoProgress:Hn,videoRendering:eo}=useRenderer(we.embedApiBaseUrl,we.cloudflarePagesHostname,we.env,Vr,Ze,yr,kr,vue.toRef(we,"bearerToken"),vue.toRef(we,"password"),Me),ea=vue.computed(()=>{if(!Hn.value||!(Hn.value.type==="keyframe"||Hn.value.type==="encode_video"||Hn.value.type==="encode_audio"))return;const an={keyframe:.8,encode_video:.1,encode_audio:.1},Rn=Object.values(an).reduce((Nn,to)=>Nn+to,0),Cn=Object.keys(an).findIndex(Nn=>Nn===Hn.value?.type),Yn=Object.values(an).slice(0,Cn).reduce((Nn,to)=>Nn+to,0),$o=an[Hn.value.type]*(Hn.value.frame/Hn.value.totalFrames);return(Yn+$o)/Rn*100});c({bluepicLiveTemplateRef:Vr,slidesNavIndex:Jr,serial:Ze,ready:ne});function Zn(){window.open("https://bluepic.io","_blank")}return(an,Rn)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bluepic-embedded-editor",{"display-mode-stack":Wr.value==="stack"}])},[Wr.value!=="stack"&&an.showNavBar?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$d,[an.branding?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$a,[vue.createElementVNode("div",{class:"branding-wrapper",onClick:Zn},[vue.createElementVNode("div",_hoisted_3$8,[vue.createVNode(BluepicLogo)]),Rn[22]||(Rn[22]=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_4$6,[Dn.value.length>=2?(vue.openBlock(),vue.createBlock(BxDropdown,{key:0,options:Dn.value,onSelect:Wo},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{secondary:"",loading:(Fn.value||vue.unref(eo))&&ea.value===void 0,disabled:Fn.value||vue.unref(eo)||!ne.value},{icon:vue.withCtx(()=>[ea.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000000",class:"export-button-circular-progress",progress:ea.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[Rn[23]||(Rn[23]=vue.createTextVNode(" Export "))]),_:1},8,["loading","disabled"])]),_:1},8,["options"])):Dn.value.length===1?(vue.openBlock(),vue.createBlock(BxButton,{key:1,secondary:"",onClick:Rn[0]||(Rn[0]=Cn=>Wo(0)),loading:(Fn.value||vue.unref(eo))&&ea.value===void 0,disabled:Fn.value||vue.unref(eo)},{icon:vue.withCtx(()=>[ea.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000",class:"export-button-circular-progress",progress:ea.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(pn.value[0].label),1)]),_:1},8,["loading","disabled"])):vue.createCommentVNode("",!0)])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_5$5,[Wr.value==="desktop"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$4,[vue.createElementVNode("div",_hoisted_7$3,[ii.value&&Jr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$3,[vue.createVNode(SlidesNavigation,{length:_i.value,index:Jr.value,"onUpdate:index":Rn[1]||(Rn[1]=Cn=>Jr.value=Cn)},null,8,["length","index"])])):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$r,{fields:Nr.value},null,8,["fields"]),Di["form-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$2,[vue.renderSlot(an.$slots,"form-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[dn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"timelineWrapperRef",ref:rr,class:"timeline-wrapper"},[vue.createElementVNode("div",_hoisted_10$2,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((dn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":Rn[2]||(Rn[2]=Cn=>tn.value=Cn),min:0,step:Ji.value,max:dn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_11$2,[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_12$1,[vue.createVNode(vue.Transition,{name:"ghost-loading-preview-image-fade"},{default:vue.withCtx(()=>[an.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":an.baseSerial.width/an.baseSerial.height,"--timeline-height":`${vue.unref(lr)}px`,"--offset-top":`${an.liveViewOffsetDesktop.top}px`,"--offset-right":`${an.liveViewOffsetDesktop.right}px`,"--offset-bottom":`${an.liveViewOffsetDesktop.bottom}px`,"--offset-left":`${an.liveViewOffsetDesktop.left}px`})},[vue.createElementVNode("img",{src:an.preview?vue.unref(optimizePreviewUrl)(an.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:an.embedApiBaseUrl,env:an.env}),onLoad:li},null,40,_hoisted_13$1),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":di.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Vr,"template-id":kr.value,"embed-api-base-url":an.embedApiBaseUrl,env:an.env,"cloudflare-pages-hostname":an.cloudflarePagesHostname,"bx-core-version":an.bxCoreVersion,authorization:an.authorization,"async-serial":an.asyncSerial,resolution:an.resolution,webgl:an.webgl,fonts:an.fonts,"base-serial":an.baseSerial,data:Me.value,"onUpdate:data":Rn[3]||(Rn[3]=Cn=>Me.value=Cn),serial:Ze.value,"onUpdate:serial":Rn[4]||(Rn[4]=Cn=>Ze.value=Cn),ready:ne.value,"onUpdate:ready":Rn[5]||(Rn[5]=Cn=>ne.value=Cn),onMatrixClick:tr,watermark:an.watermark,"zoom-and-pan":an.zoomAndPan,scrollbars:an.zoomAndPan,offset:an.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(()=>[an.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":an.baseSerial.width/an.baseSerial.height})},[vue.createElementVNode("img",{src:an.preview?vue.unref(optimizePreviewUrl)(an.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:an.embedApiBaseUrl,env:an.env}),onLoad:li},null,40,_hoisted_14$1),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":di.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Vr,"template-id":kr.value,"embed-api-base-url":an.embedApiBaseUrl,env:an.env,"cloudflare-pages-hostname":an.cloudflarePagesHostname,"bx-core-version":an.bxCoreVersion,authorization:an.authorization,"async-serial":an.asyncSerial,resolution:an.resolution,webgl:an.webgl,fonts:an.fonts,"base-serial":an.baseSerial,data:Me.value,"onUpdate:data":Rn[6]||(Rn[6]=Cn=>Me.value=Cn),serial:Ze.value,"onUpdate:serial":Rn[7]||(Rn[7]=Cn=>Ze.value=Cn),ready:ne.value,"onUpdate:ready":Rn[8]||(Rn[8]=Cn=>ne.value=Cn),onMatrixClick:tr,watermark:an.watermark,"zoom-and-pan":an.zoomAndPan,scrollbars:an.zoomAndPan,offset:an.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),dn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"timelineWrapperRef",ref:rr,class:"timeline-wrapper"},[vue.createElementVNode("div",_hoisted_15$1,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((dn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":Rn[9]||(Rn[9]=Cn=>tn.value=Cn),min:0,step:Ji.value,max:dn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_16$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),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:Cn,originalField:Yn},$o)=>(vue.openBlock(),vue.createBlock(vue.unref(SwiperSlide),null,{default:vue.withCtx(()=>[vue.createVNode(MobileFieldsSlide,{fields:Cn,"original-field":Yn,active:hi.value?.activeIndex===$o,"mobile-fields-slides":vue.unref(ze),"natural-fields-view-max-height":Math.max(180,Zr.value??180),onSelectNav:Rn[10]||(Rn[10]=Nn=>hi.value?.slideTo(Nn)),"slide-index":$o},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_17,[vue.renderSlot(an.$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:Rn[11]||(Rn[11]=Cn=>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:Rn[12]||(Rn[12]=Cn=>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(()=>[an.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":an.baseSerial.width/an.baseSerial.height})},[vue.createElementVNode("img",{src:an.preview?vue.unref(optimizePreviewUrl)(an.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:an.embedApiBaseUrl,env:an.env}),onLoad:li},null,40,_hoisted_18),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":di.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Vr,"template-id":kr.value,"embed-api-base-url":an.embedApiBaseUrl,env:an.env,"cloudflare-pages-hostname":an.cloudflarePagesHostname,"bx-core-version":an.bxCoreVersion,authorization:an.authorization,"async-serial":an.asyncSerial,resolution:an.resolution,webgl:an.webgl,fonts:an.fonts,"base-serial":an.baseSerial,data:Me.value,"onUpdate:data":Rn[13]||(Rn[13]=Cn=>Me.value=Cn),serial:Ze.value,"onUpdate:serial":Rn[14]||(Rn[14]=Cn=>Ze.value=Cn),ready:ne.value,"onUpdate:ready":Rn[15]||(Rn[15]=Cn=>ne.value=Cn),onMatrixClick:tr,watermark:an.watermark,"zoom-and-pan":an.zoomAndPan,scrollbars:an.zoomAndPan,offset:an.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),dn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",_hoisted_19,[vue.createElementVNode("div",_hoisted_20,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((dn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":Rn[16]||(Rn[16]=Cn=>tn.value=Cn),min:0,step:Ji.value,max:dn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_21,[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_22,[ii.value&&Jr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_23,[vue.createVNode(SlidesNavigation,{length:_i.value,index:Jr.value,"onUpdate:index":Rn[17]||(Rn[17]=Cn=>Jr.value=Cn)},null,8,["length","index"])])):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$r,{fields:Nr.value},null,8,["fields"]),Di["form-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_24,[vue.renderSlot(an.$slots,"form-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_25,[an.branding?(vue.openBlock(),vue.createElementBlock("div",_hoisted_26,[vue.createElementVNode("div",{class:"branding-wrapper",onClick:Zn},[vue.createElementVNode("div",_hoisted_27,[vue.createVNode(BluepicLogo)]),Rn[24]||(Rn[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_28,[Dn.value.length>=2?(vue.openBlock(),vue.createBlock(BxDropdown,{key:0,options:Dn.value,onSelect:Wo},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{secondary:"",loading:(Fn.value||vue.unref(eo))&&ea.value===void 0,disabled:Fn.value||vue.unref(eo)},{icon:vue.withCtx(()=>[ea.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000000",class:"export-button-circular-progress",progress:ea.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[Rn[25]||(Rn[25]=vue.createTextVNode(" Export "))]),_:1},8,["loading","disabled"])]),_:1},8,["options"])):Dn.value.length===1?(vue.openBlock(),vue.createBlock(BxButton,{key:1,secondary:"",onClick:Rn[18]||(Rn[18]=Cn=>Wo(0)),loading:(Fn.value||vue.unref(eo))&&ea.value===void 0,disabled:Fn.value||vue.unref(eo)},{icon:vue.withCtx(()=>[ea.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000",class:"export-button-circular-progress",progress:ea.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(pn.value[0].label),1)]),_:1},8,["loading","disabled"])):vue.createCommentVNode("",!0)])])])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_29,[vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Vr,"template-id":kr.value,"embed-api-base-url":an.embedApiBaseUrl,env:an.env,"cloudflare-pages-hostname":an.cloudflarePagesHostname,"bx-core-version":an.bxCoreVersion,authorization:an.authorization,"async-serial":an.asyncSerial,resolution:an.resolution,webgl:an.webgl,fonts:an.fonts,data:Me.value,"onUpdate:data":Rn[19]||(Rn[19]=Cn=>Me.value=Cn),serial:Ze.value,"onUpdate:serial":Rn[20]||(Rn[20]=Cn=>Ze.value=Cn),ready:ne.value,"onUpdate:ready":Rn[21]||(Rn[21]=Cn=>ne.value=Cn),onMatrixClick:tr,watermark:an.watermark,"zoom-and-pan":an.zoomAndPan,scrollbars:an.zoomAndPan,offset:an.liveViewOffsetKiosk},{matrix:vue.withCtx(({composePoint:Cn})=>[vue.createElementVNode("div",_hoisted_30,[Ze.value&&si.value&&br.value?(vue.openBlock(),vue.createBlock(KioskField,{key:0,field:si.value,"compose-point":Cn,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_31,[vue.createElementVNode("div",_hoisted_32,[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_440a38e5_lang="",BluepicEmbeddedEditor=_export_sfc(_sfc_main$h,[["__scopeId","data-v-440a38e5"]]),_hoisted_1$c={class:"collection-field-popup"},_sfc_main$g=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$c,[vue.createVNode(_sfc_main$1c,{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$g,[["__scopeId","data-v-a0928c6b"]]),_sfc_main$f=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=vr=>{if("pos"in vr&&"scale"in vr){const yr=vr.image,kr=vr.pos,Br=vr.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(vr).map(([yr,kr])=>[yr,we.value[kr]])),...Object.fromEntries(Object.entries(vr).map(([yr])=>[`onUpdate:${yr}`,kr=>{we.value[vr[yr]]=kr,Ie("change")}]))}};function rr(vr){return Object.fromEntries(Object.entries(vr).map(([lr,yr])=>typeof yr=="function"?[lr,Ze(yr)]:[lr,yr]))}return(vr,lr)=>(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vr.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$f,[["__scopeId","data-v-b7b49ece"]]),_hoisted_1$b=["onClick"],_hoisted_2$9={class:"label"},_hoisted_3$7={class:"indicator-wrapper"},_sfc_main$e=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(vr=>vr.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,vr)=>(vue.openBlock(),vue.createElementBlock("div",{key:vr,class:vue.normalizeClass(["tab",{active:we.value===rr.name}]),onClick:lr=>we.value=rr.name},[vue.createElementVNode("span",_hoisted_2$9,vue.toDisplayString(rr.label),1)],10,_hoisted_1$b))),128))],512),vue.createElementVNode("div",_hoisted_3$7,[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$e,[["__scopeId","data-v-56b2b10c"]]),_hoisted_1$a={class:"table-data-matcher"},_hoisted_2$8={class:"table-wrapper"},_hoisted_3$6={class:"value"},_sfc_main$d=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 vr(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$a,[vue.createElementVNode("div",_hoisted_2$8,[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=>vr(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$6,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$d,[["__scopeId","data-v-54220f31"]]);function parseCSV(m,c){return m.split(`
|
|
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$9={class:"import-data"},_hoisted_2$7={class:"source-selector"},_hoisted_3$5={class:"source-view"},_hoisted_4$5={class:"gsheets-inputs"},_hoisted_5$4={key:0,class:"spinner-wrapper"},_sfc_main$c=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(""),vr=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/${vr.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(Vr=>{const ei=new FileReader;ei.addEventListener("load",()=>{Vr(ei.result)}),ei.readAsText(Ar)});Ie.value=parseCSV(Pr)}return c({partialData:ne}),(Br,Ar)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$9,[vue.createElementVNode("div",_hoisted_2$7,[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$5,[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$c,[["__scopeId","data-v-bcbee4aa"]]),_hoisted_1$8={class:"preview-view"},_hoisted_2$6={class:"preview-view-tools"},_hoisted_3$4={class:"popup-actions"},_hoisted_4$4={class:"preview-view-live"},_hoisted_5$3={key:0,class:"actions-layer"},_hoisted_6$
|
|
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(){console.log("Trigger import")}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[Vr.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$8,[vue.createElementVNode("div",_hoisted_2$6,[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$1c,{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$4,[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[Vr.value],"onUpdate:data":si[2]||(si[2]=_i=>Pr.value[Vr.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:vr,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:Vr.value<=0,onClick:Nr},{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:Vr.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$3,[vue.createElementVNode("header",null,[Zr.value.length>0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$2,[vue.createElementVNode("span",_hoisted_8$2," 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:fi},{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:di},{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:Vr.value===ii,size:"medium",onClick:Jr=>Vr.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:oi},{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_d87ef82d_lang="",BluepicBatchEditor_vue_vue_type_style_index_1_lang="",BluepicBatchEditor=_export_sfc(_sfc_main$b,[["__scopeId","data-v-d87ef82d"]]),_sfc_main$a=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$a,[["__scopeId","data-v-f719ddd9"]]),BxSkeleton_vue_vue_type_style_index_0_scoped_1589b32d_lang="",_sfc_main$9={},_hoisted_1$7={class:"bx-skeleton"};function _sfc_render$1(m,c){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$7)}const BxSkeleton=_export_sfc(_sfc_main$9,[["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=(vr,lr,yr)=>(yr<0&&(yr+=1),yr>1&&(yr-=1),yr<.16666666666666666?vr+(lr-vr)*6*yr:yr<.5?lr:yr<.6666666666666666?vr+(lr-vr)*(.6666666666666666-yr)*6:vr),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$6=["src","alt"],_hoisted_2$5=["src","alt"],_hoisted_3$3={viewBox:"0 0 35 35"},_hoisted_4$3={x:"50%",y:"55%","dominant-baseline":"middle","text-anchor":"middle"},_sfc_main$8=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(vr){return vr.split(" ").map(lr=>lr[0]).join("")}function ne(vr){for(var lr=5381,yr=0;yr<vr.length;yr++)lr=(lr<<5)+lr+vr.charCodeAt(yr);return lr}function rr(vr){var lr=ne(vr),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(vr,lr)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-avatar",{square:vr.square,[`size-${vr.size}`]:!0}])},[vr.src?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:vr.src,alt:`Avatar of ${vr.name}`},null,8,_hoisted_1$6)):ie.value?.pictureFull&&ie.value?.pictureThumb?(vue.openBlock(),vue.createElementBlock("img",{key:1,src:vr.thumbnail?ie.value.pictureThumb:ie.value.pictureFull,alt:`Avatar of ${ie.value?.name}`},null,8,_hoisted_2$5)):ie.value?.name||vr.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$3,[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$8,[["__scopeId","data-v-d12499eb"]]),_sfc_main$7=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$7,[["__scopeId","data-v-fb8c8804"]]),_hoisted_1$5={key:0,class:"info"},_hoisted_2$4={class:"name"},_hoisted_3$2={class:"email"},_hoisted_4$2={class:"menu"},_hoisted_5$2={class:"bx-user-menu compact"},_hoisted_6$2={class:"info"},_hoisted_7$1={class:"name"},_hoisted_8$1={class:"email"},_hoisted_9={key:0,class:"tags"},_hoisted_10={class:"menu__items"},_hoisted_11={key:1,class:"menu__extra"},_sfc_main$6=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`}}),vr={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:vr[Wr],url:rr.value[Wr]})));function lr(Zr){const Wr=Zr.toUpperCase().split("").map(oi=>127397+oi.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 Vr(){window.open(rr.value.social,"_blank")}function ei(){window.open(rr.value.studio,"_blank")}function Nr(){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$5,[vue.createElementVNode("span",_hoisted_2$4,vue.toDisplayString(Zr.user.name),1),vue.createElementVNode("span",_hoisted_3$2,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$2,[vue.createElementVNode("span",_hoisted_7$1,vue.toDisplayString(Zr.user.name),1),vue.createElementVNode("span",_hoisted_8$1,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,oi=>(vue.openBlock(),vue.createBlock(BxTag,{round:"",type:"primary"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(oi),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]=oi=>ie.value=oi)},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:Nr},{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:Vr},{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$6,[["__scopeId","data-v-de4d86fe"]]),_hoisted_1$4={class:"bx-color-picker"},_hoisted_2$3={key:0,class:"color-label"},_sfc_main$5=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$4,[vue.createElementVNode("div",{class:"color-value",style:vue.normalizeStyle({"--color-value":c.value}),onClick:we},[Ie.showLabel?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$3,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$5,[["__scopeId","data-v-3ba46b8b"]]),_sfc_main$4={},_hoisted_1$3={class:"bx-tab"};function _sfc_render(m,c){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$3,"BXTAB")}const BxTab=_export_sfc(_sfc_main$4,[["render",_sfc_render]]),_sfc_main$3=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),(vr,lr)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vr),{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$3,[["__scopeId","data-v-606fd804"]]),_hoisted_1$2=["data-bx-radio-name"],_hoisted_2$2={class:"bx-radio__label"},_sfc_main$2=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$2,[vue.renderSlot(Me.$slots,"label",{},void 0,!0)])],10,_hoisted_1$2))}}),BxRadio_vue_vue_type_style_index_0_scoped_680cd620_lang="",BxRadio=_export_sfc(_sfc_main$2,[["__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$1={class:"user-avatar"},_hoisted_2$1=["src"],_hoisted_3$1=["src"],_hoisted_4$1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},_hoisted_5$1={x:50,y:50+5},_hoisted_6$1={key:3,class:"layer"},_sfc_main$1=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",_hoisted_1$1,[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),style:vue.normalizeStyle({"--width":`${Me.width}px`,"--height":`${Me.height}px`}),class:"avatar"},null,12,_hoisted_2$1)):Me.user.picture?(vue.openBlock(),vue.createElementBlock("img",{key:1,src:Me.user.picture,class:"avatar"},null,8,_hoisted_3$1)):(vue.openBlock(),vue.createElementBlock("div",{key:2,class:"avatar",style:vue.normalizeStyle({"--color":Ie.value})},[(vue.openBlock(),vue.createElementBlock("svg",_hoisted_4$1,[vue.createElementVNode("text",_hoisted_5$1,vue.toDisplayString(we.value?vue.unref(getInitials)(we.value):"?"),1)]))],4)),ie.layer?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$1,[vue.renderSlot(Me.$slots,"layer",{},void 0,!0)])):vue.createCommentVNode("",!0)]))}}),UserAvatar_vue_vue_type_style_index_0_scoped_c0c688c6_lang="",UserAvatar=_export_sfc(_sfc_main$1,[["__scopeId","data-v-c0c688c6"]]);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,vr])=>[`--${rr}`,vr]))}),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(([vr,lr])=>`${vr}: ${lr};`).join(" ")} }`}},{immediate:!0,deep:!0}),Ie}const BxEmbedThemeDarkmode=`:root {
|
|
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,vr){const lr=vue.ref();async function yr(Vr,ei,Nr){const Zr=Ie.value;if(!Zr)throw console.error("Serial not available"),new Error("Serial not available");let Wr=0;const oi=!0;if(lr.value={},Vr==="pdf"||oi){if(Vr==="idml")throw new Error("IDML rendering is not supported");const ui=await renderRemote(m,c,ie,Me.value,Ze.value,vr.value,Zr.width,Zr.height,Vr,95,Zr.frames??{x:1,y:1},ne.value,rr.value);if(ui.type==="application/zip"){const fi=await unzip(ui);lr.value=Object.fromEntries(await Promise.all(Object.entries(fi.entries).map(async([di,li])=>[di,await li.blob(mimeTypes.lookup(di)||"png")])))}else{const fi=mimeTypes.extension(ui.type)??"png";lr.value={[`${Zr.name}.${fi}`]:ui}}console.log(lr.value)}else{const ui=we.value?.bluepicEmbeddedRef?.renderSVG(),fi=Ie.value;if(!ui)throw console.error("SVG document not available"),new Error("SVG document not available");if(!fi)throw console.error("Serial not available"),new Error("Serial not available");lr.value=Object.fromEntries((await renderLocal(await ui,{width:fi.width,height:fi.height,format:mime.getType(Vr),quality:.95,frames:fi.frames,idmlOptions:{keepGroupTransforms:!1,rasterizeAllMasks:!1,vectorizeAllTexts:!1,keepFontRemoteUrls:!1},svgOptions:{vectorizeAllTexts:!1},fileBasename:ei??`${fi.name}_export`,watermark:Nr})).map(di=>[di.name,di.blob]))}return{files:lr.value,creditsConsumed:Wr}}const kr=vue.ref(!1),Br=vue.ref(),Ar=vue.ref();async function Pr(Vr,ei,Nr){kr.value=!0,Br.value=void 0;const Zr=await renderVideoRemote(m,c,ie,Ze.value,vr.value,Ie.value?.width??0,Ie.value?.height??0,Vr,ei,{fps:30,vcodec:"libx264",pix_fmt:"yuv420p",acodec:"aac",audio:[]},Wr=>{Ar.value=Wr});return kr.value=!1,Br.value=[{name:`${Nr??"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:`${c}_${Ie+1}.${mimeTypes.extension(we.type)}`,blob:we};const Me=we.split("/").pop(),Ze=Me.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?Me:`${c}_${Ie+1}.${Ze}`,blob:rr}}));if(console.log("files",ie),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$c={class:"nav-wrapper"},_hoisted_3$9={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")),vr=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:Vr,description:ei,detailedDescription:Nr,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)(Vr),...vue.unref(ne)(Pr),maxHeight:`${kr.naturalFieldsViewMaxHeight-37-20-5}px`,description:ei,detailedDescription:Nr,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$c,[vue.createVNode(BxDropdown,{"allowed-placements":["top"],trigger:"click",options:lr.value,onSelect:yr,"mobile-layout":""},{trigger:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$9,[vue.createElementVNode("span",null,vue.toDisplayString(vr.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$b=["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,vr=c(we,Ie,Me,0),lr=c(we,Ie,Me,rr),yr=rr>180?1:0;return[`M ${we} ${Ie}`,`L ${vr.x} ${vr.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$b)]))}}),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$a={key:0,class:"branding"},_hoisted_3$8={class:"logo"},_hoisted_4$6={class:"actions"},_hoisted_5$5={class:"editor-inner"},_hoisted_6$3={key:0,class:"view-desktop"},_hoisted_7$3={class:"fields-view"},_hoisted_8$3={key:0,class:"slides-nav-wrapper"},_hoisted_9$2={key:1,class:"form-extra-wrapper"},_hoisted_10$2={class:"time-meta-wrapper"},_hoisted_11$2={class:"play-controls"},_hoisted_12$1={class:"live-view-inner"},_hoisted_13$1=["src"],_hoisted_14$1=["src"],_hoisted_15$1={class:"time-meta-wrapper"},_hoisted_16$1={class:"play-controls"},_hoisted_17={class:"form-extra-wrapper"},_hoisted_18=["src"],_hoisted_19={key:0,class:"timeline-wrapper"},_hoisted_20={class:"time-meta-wrapper"},_hoisted_21={class:"play-controls"},_hoisted_22={class:"fields-view"},_hoisted_23={key:0,class:"slides-nav-wrapper"},_hoisted_24={key:1,class:"form-extra-wrapper"},_hoisted_25={class:"stack-nav-wrapper"},_hoisted_26={key:0,class:"branding"},_hoisted_27={class:"logo"},_hoisted_28={class:"actions"},_hoisted_29={key:3,class:"view-kiosk"},_hoisted_30={class:"kiosk-field-wrapper"},_hoisted_31={key:0,class:"navigation-view"},_hoisted_32={class:"toolbar"},_sfc_main$h=vue.defineComponent({__name:"BluepicEmbeddedEditor",props:vue.mergeModels({data:{},displayMode:{},templateId:{},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},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(["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??{});console.log("DATA IN <BluepicEmbeddedEditor>",Me.value),vue.watch(()=>we.data,an=>{an&&!lodash.exports.isEqual(an,Me.value)&&(Me.value=an)});const Ze=vue.useModel(m,"serial"),ne=vue.useModel(m,"ready"),rr=vue.ref(),{width:vr,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),Vr=vue.ref(),{width:ei}=useWindowSize(),Nr=vue.ref([]),Zr=vue.computed(()=>{if(!Vr.value?.aspectRatio)return;const an=Vr.value.bluepicLiveTemplateRootWidth*Vr.value.aspectRatio;return Pr.value-an}),Wr=vue.computed(()=>we.displayMode==="auto"?ei.value>768?"desktop":"mobile":we.displayMode);function oi(){!Vr.value||(Vr.value.transform={x:0,y:0,scale:1,rotate:0})}const ui=vue.computed(()=>Vr.value?.bluepicLiveTemplateRootWidth),fi=vue.computed(()=>Vr.value?.bluepicLiveTemplateRootHeight);vue.watch([ui,fi],oi);const di=vue.ref(!1),li=()=>di.value=!0,hi=vue.ref();function gr(an){hi.value=an}function Ae(){if(!(!Ze.value?.frames||!hi.value)&&Wr.value==="mobile"){const an=ze.value[hi.value.activeIndex],Rn=[an.originalField,...an.fields].find(Cn=>Cn?.frameIndex!==void 0)?.frameIndex;if(Rn!==void 0&&Ze.value.frames&&Ze.value.frames.x>0&&Ze.value.frames.y>0){const Cn=(Rn-1)%Ze.value.frames.x,Yn=Math.floor((Rn-1)/Ze.value.frames.x);Vr.value?.applyTranformBasedOnFrame(Cn+1,Yn+1)}}}const{mobileFields:ze}=useMobileFields(Nr),Ue=[Navigation,Pagination,Scrollbar,A11y];vue.computed(()=>Nr.value.map(an=>an.hitbox).filter(an=>an));function tr({x:an,y:Rn}){console.log("Matrix click",an,Rn)}const or=vue.computed(()=>ze.value.reduce((an,Rn)=>[...an,...Rn.fields],[])),pr=vue.ref(0),br=vue.ref(!1),nr=vue.computed(()=>or.value.map((an,Rn)=>({label:getFieldDescription(an),value:Rn,icon:()=>renderFieldIcon(an.type,Rn===pr.value)}))),$e=vue.computed(()=>nr.value.find(({value:an})=>an===pr.value)?.label),ur=vue.computed(()=>ei.value<=768);function $r(an){pr.value=an,br.value=!0,or.value[an]}const Yr=vue.computed(()=>pr.value<or.value.length-1),wi=vue.computed(()=>pr.value>0);function ki(){Yr.value&&$r(pr.value+1)}function Mi(){wi.value&&$r(pr.value-1)}const si=vue.computed(()=>or.value[pr.value]),_i=vue.computed(()=>Object.values(Ze.value?.frames??{x:1,y:1}).reduce((an,Rn)=>Rn*an,1)),ii=vue.computed(()=>_i.value>1),Jr=vue.computed({get(){if(!Ze.value?.frames||!ii.value)return;const{x:an,y:Rn}=Vr.value?.closestFrame??{x:1,y:1},Cn=an-1;return(Rn-1)*Ze.value.frames.x+Cn+1},set(an){if(an===void 0||!ii.value||!Ze.value?.frames)return;const Rn=an-1,Cn=Rn%Ze.value.frames.x,Yn=Math.floor(Rn/Ze.value.frames.x);Vr.value?.applyTranformBasedOnFrame(Cn+1,Yn+1)}}),bi=vue.computed(()=>Vr.value?.globalScope??{});vue.watchEffect(()=>{Ie("update:globalScope",bi.value)});const vi=an=>new Function(...Object.keys(bi.value),`return (${an.toString()})()`)(...Object.values(bi.value));vue.provide("computedPropEvaluator",vi);const Di=vue.useSlots(),Ui=an=>{!an||(Nr.value=(an.fields??an?.meta.fields.map(convertDeprecatedField).filter(Rn=>Rn!==void 0)).map(realizeField).filter(Rn=>ii.value&&Wr.value!=="mobile"?(Rn.frameIndex??1)===Jr.value:!0),Me.value={...an.bindings,...Me.value})};we.baseSerial&&Ui(we.baseSerial);const dn=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 Sn=0,An=0;function To(){Vi.value=!Vi.value,Vi.value&&(Sn=Date.now(),An=tn.value);function an(){const Rn=Ze.value?.animation.duration??120;if(Vi.value){const Cn=(Date.now()-Sn)/1e3%Rn,$o=An-An%Ji.value+Cn,Nn=$o-$o%Ji.value;Nn>Rn?Gn.value?tn.value=0:(Vi.value=!1,tn.value=Rn):tn.value=Nn,requestAnimationFrame(an)}}an()}const pn=vue.computed(()=>{const an=we.exportActions??[];return an.length===0?[{renderFormat:"png",trigger:"user-gesture",label:"Download",download:!0,successMessage:"Image downloaded",webhook:void 0,redirect:void 0}]:an}),Dn=vue.computed(()=>pn.value.filter(an=>an.trigger==="user-gesture"||!an.trigger).map((an,Rn)=>({label:an.label,value:Rn}))),Ho=vue.computed(()=>pn.value.filter(an=>an.trigger==="onupdate"));vue.watch(Me,useDebounceFn(()=>{for(const an of Ho.value)Wo(pn.value.indexOf(an))},1e3),{deep:!0});const zn=nanoid(),Fn=vue.ref(!1);async function Wo(an){const Rn=pn.value[an];if(!Rn)return;const Cn={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"},Yn={exportAction:Rn,templateId:kr.value,data:Object.fromEntries(Object.entries(Me.value).filter(([$o,Nn])=>!($o==="TIME"&&!Ze.value?.animation?.enabled||$o in Cn&&Nn===Cn[$o]))),embedProjectId:yr.value,files:null,creditsConsumed:null,sessionId:zn,userAgent:navigator.userAgent,visitorId:"foo",visitorConfidence:0};if(Ie("handle-export-action",Rn),Ie("before-export",Yn),Fn.value=!0,Rn.renderFormat!=="none")if(Ze.value?.animation?.enabled){if(Rn.trigger==="onupdate")return Fn.value=!1,console.error("onupdate is not supported for video export");const $o=await ao("mp4",Ze.value.animation.duration*1e3,`${Ze.value?.name}`);Yn.files=Object.fromEntries(await Promise.all($o.files.map(async Nn=>{const to=await fetch(Nn).then(ma=>ma.blob());return[`video.${mimeTypes.extension(to.type)}`,to]}))),Yn.creditsConsumed=$o.creditsConsumed}else{if(Rn.trigger==="onupdate")return Fn.value=!1,console.error("onupdate is not supported for image export");const $o=await Kn(Rn.renderFormat,`${Ze.value?.name}`,void 0);Yn.files=$o.files??null,Yn.creditsConsumed=$o.creditsConsumed}if(Yn.files!==null&&Rn.download&&Rn.trigger==="user-gesture"&&await downloadFiles(Object.values(Yn.files),`${Ze.value?.name}`),Rn.webhook)try{const $o=await fetch(Rn.webhook,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Yn)}),Nn=await $o.text();$o.ok||console.error("Webhook failed",Nn),console.log("Webhook result",Nn),Rn.successMessage&&createMessage({type:"success",message:Rn.successMessage,closeAfter:5e3})}catch($o){console.error("Webhook error",$o)}if((Yn.files!==null||Rn.webhook)&&Rn.successMessage&&Rn.successMessage,Fn.value=!1,Ie("after-export",Yn),Rn.redirect&&Rn.trigger==="user-gesture"){const $o=new URL(Rn.redirect);$o.searchParams.set("context",JSON.stringify(Yn)),window.location=$o.toString()}}const{render:Kn,renderVideo:ao,videoFiles:pa,videoProgress:Hn,videoRendering:eo}=useRenderer(we.embedApiBaseUrl,we.cloudflarePagesHostname,we.env,Vr,Ze,yr,kr,vue.toRef(we,"bearerToken"),vue.toRef(we,"password"),Me),ea=vue.computed(()=>{if(!Hn.value||!(Hn.value.type==="keyframe"||Hn.value.type==="encode_video"||Hn.value.type==="encode_audio"))return;const an={keyframe:.8,encode_video:.1,encode_audio:.1},Rn=Object.values(an).reduce((Nn,to)=>Nn+to,0),Cn=Object.keys(an).findIndex(Nn=>Nn===Hn.value?.type),Yn=Object.values(an).slice(0,Cn).reduce((Nn,to)=>Nn+to,0),$o=an[Hn.value.type]*(Hn.value.frame/Hn.value.totalFrames);return(Yn+$o)/Rn*100});c({bluepicLiveTemplateRef:Vr,slidesNavIndex:Jr,serial:Ze,ready:ne});function Zn(){window.open("https://bluepic.io","_blank")}return(an,Rn)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bluepic-embedded-editor",{"display-mode-stack":Wr.value==="stack"}])},[Wr.value!=="stack"&&an.showNavBar?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$d,[an.branding?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$a,[vue.createElementVNode("div",{class:"branding-wrapper",onClick:Zn},[vue.createElementVNode("div",_hoisted_3$8,[vue.createVNode(BluepicLogo)]),Rn[22]||(Rn[22]=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_4$6,[Dn.value.length>=2?(vue.openBlock(),vue.createBlock(BxDropdown,{key:0,options:Dn.value,onSelect:Wo},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{secondary:"",loading:(Fn.value||vue.unref(eo))&&ea.value===void 0,disabled:Fn.value||vue.unref(eo)||!ne.value},{icon:vue.withCtx(()=>[ea.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000000",class:"export-button-circular-progress",progress:ea.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[Rn[23]||(Rn[23]=vue.createTextVNode(" Export "))]),_:1},8,["loading","disabled"])]),_:1},8,["options"])):Dn.value.length===1?(vue.openBlock(),vue.createBlock(BxButton,{key:1,secondary:"",onClick:Rn[0]||(Rn[0]=Cn=>Wo(0)),loading:(Fn.value||vue.unref(eo))&&ea.value===void 0,disabled:Fn.value||vue.unref(eo)},{icon:vue.withCtx(()=>[ea.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000",class:"export-button-circular-progress",progress:ea.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(pn.value[0].label),1)]),_:1},8,["loading","disabled"])):vue.createCommentVNode("",!0)])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_5$5,[Wr.value==="desktop"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$3,[vue.createElementVNode("div",_hoisted_7$3,[ii.value&&Jr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$3,[vue.createVNode(SlidesNavigation,{length:_i.value,index:Jr.value,"onUpdate:index":Rn[1]||(Rn[1]=Cn=>Jr.value=Cn)},null,8,["length","index"])])):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$r,{fields:Nr.value},null,8,["fields"]),Di["form-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$2,[vue.renderSlot(an.$slots,"form-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[dn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"timelineWrapperRef",ref:rr,class:"timeline-wrapper"},[vue.createElementVNode("div",_hoisted_10$2,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((dn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":Rn[2]||(Rn[2]=Cn=>tn.value=Cn),min:0,step:Ji.value,max:dn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_11$2,[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_12$1,[vue.createVNode(vue.Transition,{name:"ghost-loading-preview-image-fade"},{default:vue.withCtx(()=>[an.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":an.baseSerial.width/an.baseSerial.height,"--timeline-height":`${vue.unref(lr)}px`,"--offset-top":`${an.liveViewOffsetDesktop.top}px`,"--offset-right":`${an.liveViewOffsetDesktop.right}px`,"--offset-bottom":`${an.liveViewOffsetDesktop.bottom}px`,"--offset-left":`${an.liveViewOffsetDesktop.left}px`})},[vue.createElementVNode("img",{src:an.preview?vue.unref(optimizePreviewUrl)(an.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:an.embedApiBaseUrl,env:an.env}),onLoad:li},null,40,_hoisted_13$1),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":di.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Vr,"template-id":kr.value,"embed-api-base-url":an.embedApiBaseUrl,env:an.env,"cloudflare-pages-hostname":an.cloudflarePagesHostname,"bx-core-version":an.bxCoreVersion,authorization:an.authorization,"async-serial":an.asyncSerial,resolution:an.resolution,webgl:an.webgl,fonts:an.fonts,"base-serial":an.baseSerial,data:Me.value,"onUpdate:data":Rn[3]||(Rn[3]=Cn=>Me.value=Cn),serial:Ze.value,"onUpdate:serial":Rn[4]||(Rn[4]=Cn=>Ze.value=Cn),ready:ne.value,"onUpdate:ready":Rn[5]||(Rn[5]=Cn=>ne.value=Cn),onMatrixClick:tr,watermark:an.watermark,"zoom-and-pan":an.zoomAndPan,scrollbars:an.zoomAndPan,offset:an.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(()=>[an.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":an.baseSerial.width/an.baseSerial.height})},[vue.createElementVNode("img",{src:an.preview?vue.unref(optimizePreviewUrl)(an.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:an.embedApiBaseUrl,env:an.env}),onLoad:li},null,40,_hoisted_14$1),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":di.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Vr,"template-id":kr.value,"embed-api-base-url":an.embedApiBaseUrl,env:an.env,"cloudflare-pages-hostname":an.cloudflarePagesHostname,"bx-core-version":an.bxCoreVersion,authorization:an.authorization,"async-serial":an.asyncSerial,resolution:an.resolution,webgl:an.webgl,fonts:an.fonts,"base-serial":an.baseSerial,data:Me.value,"onUpdate:data":Rn[6]||(Rn[6]=Cn=>Me.value=Cn),serial:Ze.value,"onUpdate:serial":Rn[7]||(Rn[7]=Cn=>Ze.value=Cn),ready:ne.value,"onUpdate:ready":Rn[8]||(Rn[8]=Cn=>ne.value=Cn),onMatrixClick:tr,watermark:an.watermark,"zoom-and-pan":an.zoomAndPan,scrollbars:an.zoomAndPan,offset:an.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),dn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"timelineWrapperRef",ref:rr,class:"timeline-wrapper"},[vue.createElementVNode("div",_hoisted_15$1,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((dn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":Rn[9]||(Rn[9]=Cn=>tn.value=Cn),min:0,step:Ji.value,max:dn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_16$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),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:Cn,originalField:Yn},$o)=>(vue.openBlock(),vue.createBlock(vue.unref(SwiperSlide),null,{default:vue.withCtx(()=>[vue.createVNode(MobileFieldsSlide,{fields:Cn,"original-field":Yn,active:hi.value?.activeIndex===$o,"mobile-fields-slides":vue.unref(ze),"natural-fields-view-max-height":Math.max(180,Zr.value??180),onSelectNav:Rn[10]||(Rn[10]=Nn=>hi.value?.slideTo(Nn)),"slide-index":$o},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_17,[vue.renderSlot(an.$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:Rn[11]||(Rn[11]=Cn=>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:Rn[12]||(Rn[12]=Cn=>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(()=>[an.baseSerial&&!ne.value?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ghost-loading-preview-image-wrapper",style:vue.normalizeStyle({"--aspect-ratio":an.baseSerial.width/an.baseSerial.height})},[vue.createElementVNode("img",{src:an.preview?vue.unref(optimizePreviewUrl)(an.preview,200):vue.unref(getTemplatePreviewUrl)(kr.value,{embedApiBaseUrl:an.embedApiBaseUrl,env:an.env}),onLoad:li},null,40,_hoisted_18),vue.createElementVNode("div",{class:vue.normalizeClass(["skeleton",{"overlays-image":di.value}])},null,2)],4)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Vr,"template-id":kr.value,"embed-api-base-url":an.embedApiBaseUrl,env:an.env,"cloudflare-pages-hostname":an.cloudflarePagesHostname,"bx-core-version":an.bxCoreVersion,authorization:an.authorization,"async-serial":an.asyncSerial,resolution:an.resolution,webgl:an.webgl,fonts:an.fonts,"base-serial":an.baseSerial,data:Me.value,"onUpdate:data":Rn[13]||(Rn[13]=Cn=>Me.value=Cn),serial:Ze.value,"onUpdate:serial":Rn[14]||(Rn[14]=Cn=>Ze.value=Cn),ready:ne.value,"onUpdate:ready":Rn[15]||(Rn[15]=Cn=>ne.value=Cn),onMatrixClick:tr,watermark:an.watermark,"zoom-and-pan":an.zoomAndPan,scrollbars:an.zoomAndPan,offset:an.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),dn.value?.enabled?(vue.openBlock(),vue.createElementBlock("div",_hoisted_19,[vue.createElementVNode("div",_hoisted_20,vue.toDisplayString(vue.unref(timestampToTimecode)(tn.value*1e3,","))+" / "+vue.toDisplayString(vue.unref(timestampToTimecode)((dn.value.duration??120)*1e3,",")),1),vue.createVNode(BxSlider,{modelValue:tn.value,"onUpdate:modelValue":Rn[16]||(Rn[16]=Cn=>tn.value=Cn),min:0,step:Ji.value,max:dn.value.duration??120},null,8,["modelValue","step","max"]),vue.createElementVNode("div",_hoisted_21,[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_22,[ii.value&&Jr.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_23,[vue.createVNode(SlidesNavigation,{length:_i.value,index:Jr.value,"onUpdate:index":Rn[17]||(Rn[17]=Cn=>Jr.value=Cn)},null,8,["length","index"])])):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$r,{fields:Nr.value},null,8,["fields"]),Di["form-extra"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_24,[vue.renderSlot(an.$slots,"form-extra",{},void 0,!0)])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_25,[an.branding?(vue.openBlock(),vue.createElementBlock("div",_hoisted_26,[vue.createElementVNode("div",{class:"branding-wrapper",onClick:Zn},[vue.createElementVNode("div",_hoisted_27,[vue.createVNode(BluepicLogo)]),Rn[24]||(Rn[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_28,[Dn.value.length>=2?(vue.openBlock(),vue.createBlock(BxDropdown,{key:0,options:Dn.value,onSelect:Wo},{trigger:vue.withCtx(()=>[vue.createVNode(BxButton,{secondary:"",loading:(Fn.value||vue.unref(eo))&&ea.value===void 0,disabled:Fn.value||vue.unref(eo)},{icon:vue.withCtx(()=>[ea.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000000",class:"export-button-circular-progress",progress:ea.value},null,8,["progress"])):(vue.openBlock(),vue.createBlock(BxIcon,{key:1},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(ArrowRedoOutline))]),_:1}))]),default:vue.withCtx(()=>[Rn[25]||(Rn[25]=vue.createTextVNode(" Export "))]),_:1},8,["loading","disabled"])]),_:1},8,["options"])):Dn.value.length===1?(vue.openBlock(),vue.createBlock(BxButton,{key:1,secondary:"",onClick:Rn[18]||(Rn[18]=Cn=>Wo(0)),loading:(Fn.value||vue.unref(eo))&&ea.value===void 0,disabled:Fn.value||vue.unref(eo)},{icon:vue.withCtx(()=>[ea.value!==void 0?(vue.openBlock(),vue.createBlock(CircularProgress,{key:0,color:"#000",class:"export-button-circular-progress",progress:ea.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(pn.value[0].label),1)]),_:1},8,["loading","disabled"])):vue.createCommentVNode("",!0)])])])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_29,[vue.createElementVNode("div",{class:vue.normalizeClass(["live-view",{ready:ne.value}])},[vue.createVNode(BluepicLiveTemplate,{ref_key:"bluepicLiveTemplateRef",ref:Vr,"template-id":kr.value,"embed-api-base-url":an.embedApiBaseUrl,env:an.env,"cloudflare-pages-hostname":an.cloudflarePagesHostname,"bx-core-version":an.bxCoreVersion,authorization:an.authorization,"async-serial":an.asyncSerial,resolution:an.resolution,webgl:an.webgl,fonts:an.fonts,data:Me.value,"onUpdate:data":Rn[19]||(Rn[19]=Cn=>Me.value=Cn),serial:Ze.value,"onUpdate:serial":Rn[20]||(Rn[20]=Cn=>Ze.value=Cn),ready:ne.value,"onUpdate:ready":Rn[21]||(Rn[21]=Cn=>ne.value=Cn),onMatrixClick:tr,watermark:an.watermark,"zoom-and-pan":an.zoomAndPan,scrollbars:an.zoomAndPan,offset:an.liveViewOffsetKiosk},{matrix:vue.withCtx(({composePoint:Cn})=>[vue.createElementVNode("div",_hoisted_30,[Ze.value&&si.value&&br.value?(vue.openBlock(),vue.createBlock(KioskField,{key:0,field:si.value,"compose-point":Cn,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_31,[vue.createElementVNode("div",_hoisted_32,[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_440a38e5_lang="",BluepicEmbeddedEditor=_export_sfc(_sfc_main$h,[["__scopeId","data-v-440a38e5"]]),_hoisted_1$c={class:"collection-field-popup"},_sfc_main$g=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$c,[vue.createVNode(_sfc_main$1c,{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$g,[["__scopeId","data-v-a0928c6b"]]),_sfc_main$f=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=vr=>{if("pos"in vr&&"scale"in vr){const yr=vr.image,kr=vr.pos,Br=vr.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(vr).map(([yr,kr])=>[yr,we.value[kr]])),...Object.fromEntries(Object.entries(vr).map(([yr])=>[`onUpdate:${yr}`,kr=>{we.value[vr[yr]]=kr,Ie("change")}]))}};function rr(vr){return Object.fromEntries(Object.entries(vr).map(([lr,yr])=>typeof yr=="function"?[lr,Ze(yr)]:[lr,yr]))}return(vr,lr)=>(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vr.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$f,[["__scopeId","data-v-b7b49ece"]]),_hoisted_1$b=["onClick"],_hoisted_2$9={class:"label"},_hoisted_3$7={class:"indicator-wrapper"},_sfc_main$e=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(vr=>vr.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,vr)=>(vue.openBlock(),vue.createElementBlock("div",{key:vr,class:vue.normalizeClass(["tab",{active:we.value===rr.name}]),onClick:lr=>we.value=rr.name},[vue.createElementVNode("span",_hoisted_2$9,vue.toDisplayString(rr.label),1)],10,_hoisted_1$b))),128))],512),vue.createElementVNode("div",_hoisted_3$7,[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$e,[["__scopeId","data-v-56b2b10c"]]),_hoisted_1$a={class:"table-data-matcher"},_hoisted_2$8={class:"table-wrapper"},_hoisted_3$6={class:"value"},_sfc_main$d=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 vr(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$a,[vue.createElementVNode("div",_hoisted_2$8,[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=>vr(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$6,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$d,[["__scopeId","data-v-54220f31"]]);function parseCSV(m,c){return m.split(`
|
|
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$9={class:"import-data"},_hoisted_2$7={class:"source-selector"},_hoisted_3$5={class:"source-view"},_hoisted_4$5={class:"gsheets-inputs"},_hoisted_5$4={key:0,class:"spinner-wrapper"},_sfc_main$c=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(""),vr=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/${vr.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(Vr=>{const ei=new FileReader;ei.addEventListener("load",()=>{Vr(ei.result)}),ei.readAsText(Ar)});Ie.value=parseCSV(Pr)}return c({partialData:ne}),(Br,Ar)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$9,[vue.createElementVNode("div",_hoisted_2$7,[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$5,[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$c,[["__scopeId","data-v-bcbee4aa"]]),_hoisted_1$8={class:"preview-view"},_hoisted_2$6={class:"preview-view-tools"},_hoisted_3$4={class:"popup-actions"},_hoisted_4$4={class:"preview-view-live"},_hoisted_5$3={key:0,class:"actions-layer"},_hoisted_6$2={key:0,class:"table-view"},_hoisted_7$2={key:0,class:"selected-actions-wrapper"},_hoisted_8$2={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$b=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 vr({x:Mi,y:si}){console.log("Matrix clicked at",Mi,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 Vr=vue.ref(0);function ei(){!Pr.value||(Vr.value=Math.min(Vr.value+1,Pr.value.length-1))}function Nr(){Vr.value=Math.max(Vr.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 oi(){Pr.value=[...Pr.value,structuredClone(vue.toRaw(Pr.value[Pr.value.length-1]))],Vr.value=Pr.value.length-1}function ui(Mi){Vr.value=Mi}function fi(){Me("download",Zr.value)}function di(){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:pr}=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
|
+
`).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(){console.log("Trigger import")}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[Vr.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$8,[vue.createElementVNode("div",_hoisted_2$6,[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$1c,{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$4,[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[Vr.value],"onUpdate:data":si[2]||(si[2]=_i=>Pr.value[Vr.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:vr,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:Vr.value<=0,onClick:Nr},{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:Vr.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$2,[vue.createElementVNode("header",null,[Zr.value.length>0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$2,[vue.createElementVNode("span",_hoisted_8$2," 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:fi},{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:di},{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:Vr.value===ii,size:"medium",onClick:Jr=>Vr.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:oi},{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_d87ef82d_lang="",BluepicBatchEditor_vue_vue_type_style_index_1_lang="",BluepicBatchEditor=_export_sfc(_sfc_main$b,[["__scopeId","data-v-d87ef82d"]]),_sfc_main$a=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$a,[["__scopeId","data-v-f719ddd9"]]),BxSkeleton_vue_vue_type_style_index_0_scoped_1589b32d_lang="",_sfc_main$9={},_hoisted_1$7={class:"bx-skeleton"};function _sfc_render$1(m,c){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$7)}const BxSkeleton=_export_sfc(_sfc_main$9,[["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=(vr,lr,yr)=>(yr<0&&(yr+=1),yr>1&&(yr-=1),yr<.16666666666666666?vr+(lr-vr)*6*yr:yr<.5?lr:yr<.6666666666666666?vr+(lr-vr)*(.6666666666666666-yr)*6:vr),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$6=["src","alt"],_hoisted_2$5=["src","alt"],_hoisted_3$3={viewBox:"0 0 35 35"},_hoisted_4$3={x:"50%",y:"55%","dominant-baseline":"middle","text-anchor":"middle"},_sfc_main$8=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(vr){return vr.split(" ").map(lr=>lr[0]).join("")}function ne(vr){for(var lr=5381,yr=0;yr<vr.length;yr++)lr=(lr<<5)+lr+vr.charCodeAt(yr);return lr}function rr(vr){var lr=ne(vr),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(vr,lr)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["bx-avatar",{square:vr.square,[`size-${vr.size}`]:!0}])},[vr.src?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:vr.src,alt:`Avatar of ${vr.name}`},null,8,_hoisted_1$6)):ie.value?.pictureFull&&ie.value?.pictureThumb?(vue.openBlock(),vue.createElementBlock("img",{key:1,src:vr.thumbnail?ie.value.pictureThumb:ie.value.pictureFull,alt:`Avatar of ${ie.value?.name}`},null,8,_hoisted_2$5)):ie.value?.name||vr.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$3,[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$8,[["__scopeId","data-v-d12499eb"]]),_sfc_main$7=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$7,[["__scopeId","data-v-fb8c8804"]]),_hoisted_1$5={key:0,class:"info"},_hoisted_2$4={class:"name"},_hoisted_3$2={class:"email"},_hoisted_4$2={class:"menu"},_hoisted_5$2={class:"bx-user-menu compact"},_hoisted_6$1={class:"info"},_hoisted_7$1={class:"name"},_hoisted_8$1={class:"email"},_hoisted_9={key:0,class:"tags"},_hoisted_10={class:"menu__items"},_hoisted_11={key:1,class:"menu__extra"},_sfc_main$6=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`}}),vr={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:vr[Wr],url:rr.value[Wr]})));function lr(Zr){const Wr=Zr.toUpperCase().split("").map(oi=>127397+oi.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 Vr(){window.open(rr.value.social,"_blank")}function ei(){window.open(rr.value.studio,"_blank")}function Nr(){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$5,[vue.createElementVNode("span",_hoisted_2$4,vue.toDisplayString(Zr.user.name),1),vue.createElementVNode("span",_hoisted_3$2,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$1,[vue.createElementVNode("span",_hoisted_7$1,vue.toDisplayString(Zr.user.name),1),vue.createElementVNode("span",_hoisted_8$1,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,oi=>(vue.openBlock(),vue.createBlock(BxTag,{round:"",type:"primary"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(oi),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]=oi=>ie.value=oi)},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:Nr},{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:Vr},{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$6,[["__scopeId","data-v-de4d86fe"]]),_hoisted_1$4={class:"bx-color-picker"},_hoisted_2$3={key:0,class:"color-label"},_sfc_main$5=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$4,[vue.createElementVNode("div",{class:"color-value",style:vue.normalizeStyle({"--color-value":c.value}),onClick:we},[Ie.showLabel?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$3,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$5,[["__scopeId","data-v-3ba46b8b"]]),_sfc_main$4={},_hoisted_1$3={class:"bx-tab"};function _sfc_render(m,c){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$3,"BXTAB")}const BxTab=_export_sfc(_sfc_main$4,[["render",_sfc_render]]),_sfc_main$3=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),(vr,lr)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vr),{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$3,[["__scopeId","data-v-606fd804"]]),_hoisted_1$2=["data-bx-radio-name"],_hoisted_2$2={class:"bx-radio__label"},_sfc_main$2=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$2,[vue.renderSlot(Me.$slots,"label",{},void 0,!0)])],10,_hoisted_1$2))}}),BxRadio_vue_vue_type_style_index_0_scoped_680cd620_lang="",BxRadio=_export_sfc(_sfc_main$2,[["__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$1=["src"],_hoisted_2$1=["src"],_hoisted_3$1={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$1=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$1)):Me.user.picture?(vue.openBlock(),vue.createElementBlock("img",{key:1,src:Me.user.picture,class:"avatar"},null,8,_hoisted_2$1)):(vue.openBlock(),vue.createElementBlock("div",{key:2,class:"avatar",style:vue.normalizeStyle({"--color":Ie.value})},[(vue.openBlock(),vue.createElementBlock("svg",_hoisted_3$1,[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$1,[["__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,vr])=>[`--${rr}`,vr]))}),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(([vr,lr])=>`${vr}: ${lr};`).join(" ")} }`}},{immediate:!0,deep:!0}),Ie}const BxEmbedThemeDarkmode=`:root {
|
|
2602
2602
|
--primary-color-base: 0, 105, 255; /* #0069ff */
|
|
2603
2603
|
--primary-color-dark: 4, 84, 195; /* #0454c3 */
|
|
2604
2604
|
--primary-color-light: 135, 180, 244; /* #B9E1F5 */
|