1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,24453,(e,t,i)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:i,blurHeight:r,blurDataURL:s,objectFit:a}){let o=i?40*i:e,l=r?40*r:t,u=o&&l?`viewBox='0 0 ${o} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${s}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},95757,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return s},imageConfigDefault:function(){return a}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},1143,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return u}}),e.r(63516);let n=e.r(61366),r=e.r(24453),s=e.r(95757),a=["-moz-initial","fill","none","scale-down",void 0];function o(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:i=!1,priority:c=!1,preload:d=!1,loading:h,className:p,quality:f,width:m,height:g,fill:v=!1,style:y,overrideSrc:b,onLoad:x,onLoadingComplete:w,placeholder:S="empty",blurDataURL:E,fetchPriority:T,decoding:k="async",layout:C,objectFit:P,objectPosition:A,lazyBoundary:I,lazyRoot:M,...L},N){var O;let j,_,R,{imgConf:D,showAltText:B,blurComplete:H,defaultLoader:V}=N,F=D||s.imageConfigDefault;if("allSizes"in F)j=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),i=F.qualities?.sort((e,t)=>e-t);j={...F,allSizes:e,deviceSizes:t,qualities:i}}if(void 0===V)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let z=L.loader||V;delete L.loader,delete L.srcSet;let U="__next_img_default"in z;if(U){if("custom"===j.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. 2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=z;z=t=>{let{config:i,...n}=t;return e(n)}}if(C){"fill"===C&&(v=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(y={...y,...e});let i={responsive:"100vw",fill:"100vw"}[C];i&&!t&&(t=i)}let G="",$=l(m),W=l(g);if((O=e)&&"object"==typeof O&&(o(O)||void 0!==O.src)){let t=o(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}
2`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(_=t.blurWidth,R=t.blurHeight,E=E||t.blurDataURL,G=t.src,!v)if($||W){if($&&!W){let e=$/t.width;W=Math.round(t.height*e)}else if(!$&&W){let e=W/t.height;$=Math.round(t.width*e)}}else $=t.width,W=t.height}let q=!c&&!d&&("lazy"===h||void 0===h);(!(e="string"==typeof e?e:G)||e.startsWith("data:")||e.startsWith("blob:"))&&(i=!0,q=!1),j.unoptimized&&(i=!0),U&&!j.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(i=!0);let X=l(f),Y=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:P,objectPosition:A}:{},B?{}:{color:"transparent"},y),K=H||"empty"===S?null:"blur"===S?`url("data:image/svg+xml;charset=utf-8,${(0,r.getImageBlurSvg)({widthInt:$,heightInt:W,blurWidth:_,blurHeight:R,blurDataURL:E||"",objectFit:Y.objectFit})}")`:`url("${S}")`,Z=a.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,Q=K?{backgroundSize:Z,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},J=function({config:e,src:t,unoptimized:i,width:r,quality:s,sizes:a,loader:o}){if(i){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(e){let i=t.indexOf("?");if(-1!==i){let n=new URLSearchParams(t.slice(i+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,i)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},i,n){if(n){let i=/(^|\s)(1?\d?\d)vw/g,r=[];for(let e;e=i.exec(n);)r.push(parseInt(e[2]));if(r.length){let i=.01*Math.min(...r);return{widths:t.filter(t=>t>=e[0]*i),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof i?{widths:e,kind:"w"}:{widths:[...new Set([i,2*i].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,r,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((i,n)=>`${o({config:e,src:t,quality:s,width:i})} ${"w"===u?i:n+1}${u}`).join(", "),src:o({config:e,src:t,quality:s,width:l[c]})}}({config:j,src:e,unoptimized:i,width:$,quality:X,sizes:t,loader:z}),ee=q?"lazy":h;return{props:{...L,loading:ee,fetchPriority:T,width:$,height:W,decoding:k,className:p,style:{...Y,...Q},sizes:J.sizes,srcSet:J.srcSet,src:b||J.src},meta:{unoptimized:i,preload:d||c,placeholder:S,fill:v}}}},80068,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return o}});let n=e.r(49521),r="u"<typeof window,s=r?()=>{}:n.useLayoutEffect,a=r?()=>{}:n.useEffect;function o(e){let{headManager:t,reduceComponentsToState:i}=e;function o(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(i(e))}}return r&&(t?.mountedInstances?.add(e.children),o()),s(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),s(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},17734,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return m},defaultHead:function(){return d}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=e.r(81258),a=e.r(44066),o=e.r(63645),l=a._(e.r(49521)),u=s._(e.r(80068)),c=e.r(37696);function d(){return[(0,o.jsx)("meta",{charSet:"utf-8"},"charset"),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(63516);let p=["name","httpEquiv","charSet","itemProp"];function f(e){let t,i,n,r;return e.reduce(h,[]).reverse().concat(d().reverse()).filter((t=new Set,i=new Set,n=new Set,r={},e=>{let s=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let i=e.key.slice(e.key.indexOf("$")+1);t.has(i)?s=!1:t.add(i)}switch(e.type){case"title":case"base":i.has(e.type)?s=!1:i.add(e.type);break;case"meta":for(let t=0,i=p.length;t<i;t++){let i=p[t];if(e.props.hasOwnProperty(i))if("charSet"===i)n.has(i)?s=!1:n.add(i);else{let t=e.props[i],n=r[i]||new Set;("name"!==i||!a)&&n.has(t)?s=!1:(n.add(t),r[i]=n)}}}return s})).reverse().map((e,t)=>{let i=e.key||t;return l.default.cloneElement(e,{key:i})})}let m=function({children:e}){let t=(0,l.useContext)(c.HeadManagerContext);return(0,o.jsx)(u.default,{reduceComponentsToState:f,headManager:t,children:e})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
2dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},87957,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let n=e.r(81258)._(e.r(49521)),r=e.r(95757),s=n.default.createContext(r.imageConfigDefault)},76788,(e,t,i)=>{"use strict";function n(e,t){let i=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e,t.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return n}})},19118,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let n=e.r(76788),r=e.r(61366);function s({config:e,src:t,width:i,quality:a}){let o=(0,r.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let i=new URLSearchParams(t.slice(e+1)),n=i.get("dpl");if(n){o=n,i.delete("dpl");let r=i.toString();t=t.slice(0,e)+(r?"?"+r:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. 3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,n.findClosestQuality)(a,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${i}&q=${l}${t.startsWith("/")&&o?`&dpl=${o}`:""}`}s.__next_img_default=!0;let a=s},75266,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return r}});let n=e.r(49521);function r(e,t){let i=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=i.current;e&&(i.current=null,e());let t=r.current;t&&(r.current=null,t())}else e&&(i.current=s(e,n)),t&&(r.current=s(t,n))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let i=e(t);return"function"==typeof i?i:()=>e(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},97366,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return x}});let n=e.r(81258),r=e.r(44066),s=e.r(63645),a=r._(e.r(49521)),o=n._(e.r(43614)),l=n._(e.r(17734)),u=e.r(1143),c=e.r(95757),d=e.r(87957);e.r(63516);let h=e.r(85928),p=n._(e.r(19118)),f=e.r(75266),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[100,75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1};function g(e,t,i,n,r,s,a){let o=e?.src;e&&e["data-loaded-src"]!==o&&(e["data-loaded-src"]=o,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&r(!0),i?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,r=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{r=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function v(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let y=(0,a.forwardRef)(({src:e,srcSet:t,sizes:i,height:n,width:r,decoding:o,className:l,style:u,fetchPriority:c,placeholder:d,loading:h,unoptimized:p,fill:m,onLoadRef:y,onLoadingCompleteRef:b,setBlurComplete:x,setShowAltText:w,sizesInput:S,onLoad:E,onError:T,...k},C)=>{let P=(0,a.useCallback)(e=>{e&&(T&&(e.src=e.src),e.complete&&g(e,d,y,b,x,p,S))},[e,d,y,b,x,T,p,S]),A=(0,f.useMergedRef)(C,P);return(0,s.jsx)("img",{...k,...v(c),loading:h,width:r,height:n,decoding:o,"data-nimg":m?"fill":"1",className:l,style:u,sizes:i,srcSet:t,src:e,ref:A,onLoad:e=>{g(e.currentTarget,d,y,b,x,p,S)},onError:e=>{w(!0),"empty"!==d&&x(!0),T&&T(e)}})});function b({isAppRouter:e,imgAttributes:t}){let i={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...v(t.fetchPriority)};return e&&o.default.preload?(o.default.preload(t.src,i),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...i},"__nimg-"+t.src+t.srcSet+t.sizes)})}let x=(0,a.forwardRef)((e,t)=>{let i=(0,a.useContext)(h.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),r=(0,a.useMemo)(()=>{let e=m||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
3e-t),i=e.deviceSizes.sort((e,t)=>e-t),r=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:i,qualities:r,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:o,onLoadingComplete:l}=e,f=(0,a.useRef)(o);(0,a.useEffect)(()=>{f.current=o},[o]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[v,x]=(0,a.useState)(!1),[w,S]=(0,a.useState)(!1),{props:E,meta:T}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:r,blurComplete:v,showAltText:w});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y,{...E,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:f,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:S,sizesInput:e.sizes,ref:t}),T.preload?(0,s.jsx)(b,{isAppRouter:!i,imgAttributes:E}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},57377,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=e.r(81258),a=e.r(1143),o=e.r(97366),l=s._(e.r(19118));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[100,75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1}});for(let[e,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}}let c=o.Image},63266,(e,t,i)=>{t.exports=e.r(57377)},65129,(e,t,i)=>{"use strict";var n,r;Object.defineProperty(i,"__esModule",{value:!0}),i.Doctype=i.CDATA=i.Tag=i.Style=i.Script=i.Comment=i.Directive=i.Text=i.Root=i.isTag=i.ElementType=void 0,(r=n=i.ElementType||(i.ElementType={})).Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype",i.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},i.Root=n.Root,i.Text=n.Text,i.Directive=n.Directive,i.Comment=n.Comment,i.Script=n.Script,i.Style=n.Style,i.Tag=n.Tag,i.CDATA=n.CDATA,i.Doctype=n.Doctype},85143,(e,t,i)=>{"use strict";var n,r=e.e&&e.e.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=e.e&&e.e.__assign||function(){return(s=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0}),i.cloneNode=i.hasChildren=i.isDocument=i.isDirective=i.isComment=i.isText=i.isCDATA=i.isTag=i.Element=i.Document=i.CDATA=i.NodeWithChildren=i.ProcessingInstruction=i.Comment=i.Text=i.DataNode=i.Node=void 0;var a=e.r(65129),o=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),S(this,e)},e}();i.Node=o;var l=function(e){function t(t){var i=e.call(this)||this;return i.data=t,i}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e}
3,enumerable:!1,configurable:!0}),t}(o);i.DataNode=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);i.Text=u;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);i.Comment=c;var d=function(e){function t(t,i){var n=e.call(this,i)||this;return n.name=t,n.type=a.ElementType.Directive,n}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);i.ProcessingInstruction=d;var h=function(e){function t(t){var i=e.call(this)||this;return i.children=t,i}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!=(e=this.children[0])?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(o);i.NodeWithChildren=h;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);i.CDATA=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);i.Document=f;var m=function(e){function t(t,i,n,r){void 0===n&&(n=[]),void 0===r&&(r="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var s=e.call(this,n)||this;return s.name=t,s.attribs=i,s.type=r,s}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var i,n;return{name:t,value:e.attribs[t],namespace:null==(i=e["x-attribsNamespace"])?void 0:i[t],prefix:null==(n=e["x-attribsPrefix"])?void 0:n[t]}})},enumerable:!1,configurable:!0}),t}(h);function g(e){return(0,a.isTag)(e)}function v(e){return e.type===a.ElementType.CDATA}function y(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function x(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function S(e,t){if(void 0===t&&(t=!1),y(e))i=new u(e.data);else if(b(e))i=new c(e.data);else if(g(e)){var i,n=t?E(e.children):[],r=new m(e.name,s({},e.attribs),n);n.forEach(function(e){return e.parent=r}),null!=e.namespace&&(r.namespace=e.namespace),e["x-attribsNamespace"]&&(r["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(r["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),i=r}else if(v(e)){var n=t?E(e.children):[],a=new p(n);n.forEach(function(e){return e.parent=a}),i=a}else if(w(e)){var n=t?E(e.children):[],o=new f(n);n.forEach(function(e){return e.parent=o}),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),i=o}else if(x(e)){var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),i=l}else throw Error("Not implemented yet: ".concat(e.type));return i.startIndex=e.startIndex,i.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(i.sourceCodeLocation=e.sourceCodeLocation),i}function E(e){for(var t=e.map(function(e){return S(e,!0)}),i=1;i<t.length;i++)t[i].prev=t[i-1],t[i-1].next=t[i];return t}i.Element=m,i.isTag=g,i.isCDATA=v,i.isText=y,i.isComment=b,i.isDirective=x,i.isDocument=w,i.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},i.cloneNode=S},39967,(e,t,i)=>{"use strict";var n=e.e&&e.e.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);
3(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=e.e&&e.e.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(i,"__esModule",{value:!0}),i.DomHandler=void 0;var s=e.r(65129),a=e.r(85143);r(e.r(85143),i);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,i){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(i=t,t=o),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:o,this.elementCB=null!=i?i:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var i=this.options.xmlMode?s.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,i);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===s.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var i=new a.Text(e);this.addNode(i),this.lastNode=i}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var i=new a.ProcessingInstruction(e,t);this.addNode(i)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],i=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),i&&(e.prev=i,i.next=e),e.parent=t,this.lastNode=null},e}();i.DomHandler=l,i.default=l},30840,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n,r="html",s="head",a="body",o=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,u=/<body[^]*>/i,c=function(e,t){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},d=function(e,t){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},h="object"==typeof window&&window.DOMParser;if("function"==typeof h){var p=new h;c=d=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),p.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var f=document.implementation.createHTMLDocument();c=function(e,t){if(t){var i=f.documentElement.querySelector(t);return i&&(i.innerHTML=e),f}return f.documentElement.innerHTML=e,f}}var m="object"==typeof document&&document.createElement("template");m&&m.content&&(n=function(e){return m.innerHTML=e,m.content.childNodes}),i.default=function(e){var t,i,h=e.match(o),p=h&&h[1]?h[1].toLowerCase():"";switch(p){case r:var f=d(e);if(!l.test(e)){var m=f.querySelector(s);null==(t=null==m?void 0:m.parentNode)||t.removeChild(m)}if(!u.test(e)){var m=f.querySelector(a);null==(i=null==m?void 0:m.parentNode)||i.removeChild(m)}return f.querySelectorAll(r);case s:case a:var g=c(e).querySelectorAll(p);if(u.test(e)&&l.test(e))return g[0].parentNode.childNodes;return g;default:if(n)return n(e);var m=c(e,a).querySelector(a);return m.childNodes}}},91540,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CASE_SENSITIVE_TAG_NAMES_MAP=i.CASE_SENSITIVE_TAG_NAMES=void 0,i.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],i.CASE_SENSITIVE_TAG_NAMES_MAP=i.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{})},71120,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.formatDOM=i.formatAttributes=void 0;var n=e.r(39967),r=e.r(91540);function s(e){for(var t={},i=0,n=e.length;i<n;i++){var r=e[i];t[r.name]=r.value}return t}i.formatAttributes=s,i.formatDOM=function e(t,i,a){void 0===i&&(i=null);for(var o,l=[],u=0,c=t.length;u<c;u++){var d=t[u];switch(d.nodeType){case 1:var h=function(e){var t,i=(t=e=e.toLowerCase(),r.CASE_SENSITIVE_TAG_NAMES_MAP[t]);return i||e}(d.nodeName);(o=new n.Element(h,s(d.attributes))).children=e("template"===h?d.content.childNodes:d.childNodes,o);break;case 3:o=new n.Text(d.nodeValue);break;case 8:o=new n.Comment(d.nodeValue);break;default:continue}var p=l[u-1]||null;p&&(p.next=o),o.parent=i,o.prev=p,o.next=null,l.push(o)}return a&&((o=new n.ProcessingInstruction(a.substring(0,a.indexOf(" ")).toLowerCase(),a)).next=l[0]||null,o.parent=i,l.unshift(o),l[1]&&(l[1].prev=l[0])),l}},30544,(e,t,i)=>{"use strict";
3var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});var r=n(e.r(30840)),s=e.r(71120),a=/<(![a-zA-Z\s]+)>/;i.default=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),i=t?t[1]:void 0;return(0,s.formatDOM)((0,r.default)(e),null,i)}},70341,(e,t,i)=>{i.SAME=0,i.CAMELCASE=1,i.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
3-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},15574,(e,t,i)=>{"use strict";function n(e,t,i,n,r,s,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=r,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=a}let r={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{r[e]=new n(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{r[e]=new n(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{r[e]=new n(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{r[e]=new n(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{r[e]=new n(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{r[e]=new n(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{r[e]=new n(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{r[e]=new n(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{r[e]=new n(e,5,!1,e.toLowerCase(),null,!1,!1)});let s=/[\-\:]([a-z])/g,a=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(s,a);r[t]=new n(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(s,a);r[t]=new n(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}
3),["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(s,a);r[t]=new n(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{r[e]=new n(e,1,!1,e.toLowerCase(),null,!1,!1)}),r.xlinkHref=new n("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{r[e]=new n(e,1,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:o,SAME:l,possibleStandardNames:u}=e.r(70341),c=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(u).reduce((e,t)=>{let i=u[t];return i===l?e[t]=t:i===o?e[t.toLowerCase()]=t:e[t]=i,e},{});i.BOOLEAN=3,i.BOOLEANISH_STRING=2,i.NUMERIC=5,i.OVERLOADED_BOOLEAN=4,i.POSITIVE_NUMERIC=6,i.RESERVED=0,i.STRING=1,i.getPropertyInfo=function(e){return r.hasOwnProperty(e)?r[e]:null},i.isCustomAttribute=c,i.possibleStandardNames=d},54806,(e,t,i)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,s=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g;function d(e){return e?e.replace(c,""):""}t.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var i=1,c=1;function h(e){var t=e.match(r);t&&(i+=t.length);var n=e.lastIndexOf("\n");c=~n?e.length-n:c+e.length}function p(){var e={line:i,column:c};return function(t){return t.position=new f(e),v(s),t}}function f(e){this.start=e,this.end={line:i,column:c},this.source=t.source}f.prototype.content=e;var m=[];function g(n){var r=Error(t.source+":"+i+":"+c+": "+n);if(r.reason=n,r.filename=t.source,r.line=i,r.column=c,r.source=e,t.silent)m.push(r);else throw r}function v(t){var i=t.exec(e);if(i){var n=i[0];return h(n),e=e.slice(n.length),i}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var i=2;""!=e.charAt(i)&&("*"!=e.charAt(i)||"/"!=e.charAt(i+1));)++i;if(i+=2,""===e.charAt(i-1))return g("End of comment missing");var n=e.slice(2,i-2);return c+=2,h(n),e=e.slice(i),c+=2,t({type:"comment",comment:n})}}v(s);var x,w=[];for(y(w);x=function(){var e=p(),t=v(a);if(t){if(b(),!v(o))return g("property missing ':'");var i=v(l),r=e({type:"declaration",property:d(t[0].replace(n,"")),value:i?d(i[0].replace(n,"")):""});return v(u),r}}();)!1!==x&&(w.push(x),y(w));return w}},99035,(e,t,i)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});var r=n(e.r(54806));i.default=function(e,t){var i=null;if(!e||"string"!=typeof e)return i;var n=(0,r.default)(e),s="function"==typeof t;return n.forEach(function(e){if("declaration"===e.type){var n=e.property,r=e.value;s?t(n,r,e):r&&((i=i||{})[n]=r)}}),i}},81156,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,s=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};i.camelCase=function(e,t){var i;return(void 0===t&&(t={}),!(i=e)||s.test(i)||n.test(i))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,u):e.replace(a,u)).replace(r,l))}},69031,(e,t,i)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});var r=n(e.r(99035)),s=e.r(81156);i.default=function(e,t){var i={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,n){e&&n&&(i[(0,s.camelCase)(e,t)]=n)}),i}},11204,(e,t,i)=>{var n=e.r(49521),r=e.r(69031).default,s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),a={reactCompat:!0},o=n.version.split(".")[0]>=16,l=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);t.exports={PRESERVE_CUSTOM_ATTRIBUTES:o,ELEMENTS_WITH_NO_TEXT_CHILDREN:l,isCustomComponent:function(e,t){return -1===e.indexOf("-")?t&&"string"==typeof t.is:!s.has(e)},setStyleProp:function(e,t){if(null!=e)try{t.style=r(e,a)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!l.has(e.name)},returnFirstArg:function(e){return e}}},21099,(e,t,i)=>{var n=e.r(15574),r=e.r(11204),s=["checked","value"],a=["input","select","textarea"],o={reset:!0,submit:!0};function l(e){return n.possibleStandardNames[e]}t.exports=function(e,t){var i,u,c,d,h,p={},f=(e=e||{}).type&&o[e.type];for(i in e){if(c=e[i],n.isCustomAttribute(i)){p[i]=c;continue}if(d=l(u=i.toLowerCase())){switch(h=n.getPropertyInfo(d),-1!==s.indexOf(d)&&-1!==a.indexOf(t)&&!f&&(d=l("default"+u)),p[d]=c,h&&h.type){case n.BOOLEAN:p[d]=!0;break;case n.OVERLOADED_BOOLEAN:""===c&&(p[d]=!0)}continue}r.PRESERVE_CUSTOM_ATTRIBUTES&&(p[i]=c)}return r.setStyleProp(e.style,p),p}},78365,(e,t,i)=>{var n=e.r(49521),r=e.r(21099),s=e.r(11204),a=s.setStyleProp,o=s.canTextBeChildOfNode;
3t.exports=function e(t,i){for(var l,u,c,d,h,p,f=(i=i||{}).library||n,m=f.cloneElement,g=f.createElement,v=f.isValidElement,y=[],b="function"==typeof i.replace,x=i.transform||s.returnFirstArg,w=i.trim,S=0,E=t.length;S<E;S++){if(u=t[S],b&&v(d=i.replace(u))){E>1&&(d=m(d,{key:d.key||S})),y.push(x(d,u,S));continue}if("text"===u.type){if((c=!u.data.trim().length)&&u.parent&&!o(u.parent)||w&&c)continue;y.push(x(u.data,u,S));continue}switch(h=u.attribs,(l=u,s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===l.type&&s.isCustomComponent(l.name,l.attribs))?a(h.style,h):h&&(h=r(h,u.name)),p=null,u.type){case"script":case"style":u.children[0]&&(h.dangerouslySetInnerHTML={__html:u.children[0].data});break;case"tag":"textarea"===u.name&&u.children[0]?h.defaultValue=u.children[0].data:u.children&&u.children.length&&(p=e(u.children,i));break;default:continue}E>1&&(h.key=S),y.push(x(g(u.name,h,p),u,S))}return 1===y.length?y[0]:y}},39296,(e,t,i)=>{var n=e.r(39967),r=e.r(30544).default,s=e.r(21099),a=e.r(78365);r="function"==typeof r.default?r.default:r;var o={lowerCaseAttributeNames:!1};function l(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return""===e?[]:a(r(e,(t=t||{}).htmlparser2||o),t)}l.domToReact=a,l.htmlToDOM=r,l.attributesToProps=s,l.Comment=n.Comment,l.Element=n.Element,l.ProcessingInstruction=n.ProcessingInstruction,l.Text=n.Text,t.exports=l,l.default=l},91788,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},42908,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return v},useLinkStatus:function(){return b}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=e.r(44066),a=e.r(63645),o=s._(e.r(49521)),l=e.r(18938),u=e.r(32294),c=e.r(75266),d=e.r(87937),h=e.r(95603);e.r(63516);let p=e.r(9581),f=e.r(97762),m=e.r(68605),g=e.r(93803);function v(t){var i,n;let r,s,v,[b,x]=(0,o.useOptimistic)(f.IDLE_LINK_STATUS),w=(0,o.useRef)(null),{href:S,as:E,children:T,prefetch:k=null,passHref:C,replace:P,shallow:A,scroll:I,onClick:M,onMouseEnter:L,onTouchStart:N,legacyBehavior:O=!1,onNavigate:j,transitionTypes:_,ref:R,unstable_dynamicOnHover:D,...B}=t;r=T,O&&("string"==typeof r||"number"==typeof r)&&(r=(0,a.jsx)("a",{children:r}));let H=o.default.useContext(u.AppRouterContext),V=!1!==k,F=!1!==k?null===(n=k)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,z="string"==typeof(i=E||S)?i:(0,l.formatUrl)(i);if(O){if(r?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=o.default.Children.only(r)}let U=O?s&&"object"==typeof s&&s.ref:R,G=o.default.useCallback(e=>(null!==H&&(w.current=(0,f.mountLinkInstance)(e,z,H,F,V,x)),()=>{w.current&&((0,f.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,f.unmountPrefetchableInstance)(e)}),[V,z,H,F,x]),$={ref:(0,c.useMergedRef)(G,U),onClick(t){O||"function"!=typeof M||M(t),O&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!H||t.defaultPrevented||function(t,i,n,r,s,a,l){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(i)){r&&(t.preventDefault(),location.replace(i));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(90663);o.default.startTransition(()=>{d(i,r?"replace":"push",!1===s?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l)})}}(t,z,w,P,I,j,_)},onMouseEnter(e){O||"function"!=typeof L||L(e),O&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),H&&V&&(0,f.onNavigationIntent)(e.currentTarget,!0===D)},onTouchStart:function(e){O||"function"!=typeof N||N(e),O&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),H&&V&&(0,f.onNavigationIntent)(e.currentTarget,!0===D)}};return(0,d.isAbsoluteUrl)(z)?$.href=z:O&&!C&&("a"!==s.type||"href"in s.props)||($.href=(0,h.addBasePath)(z)),v=O?o.default.cloneElement(s,$):(0,a.jsx)("a",{...B,...$,children:r}),(0,a.jsx)(y.Provider,{value:b,children:v})}e.r(91788);let y=(0,o.createContext)(f.IDLE_LINK_STATUS),b=()=>(0,o.useContext)(y);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
3dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},65932,(e,t,i)=>{"use strict";t.exports=function e(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;if(Array.isArray(t)){if((n=t.length)!=i.length)return!1;for(r=n;0!=r--;)if(!e(t[r],i[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();if((n=(s=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(i,s[r]))return!1;for(r=n;0!=r--;){var n,r,s,a=s[r];if(!e(t[a],i[a]))return!1}return!0}return t!=t&&i!=i}},8207,55435,64529,47264,87273,5537,91586,37306,15376,72024,50970,1043,85486,58083,84520,88506,89839,55817,12089,75850,48824,33224,48661,33276,79581,e=>{"use strict";let t,i,n,r,s,a,o;e.s([],8207);var l,u,c,d,h,p,f,m,g,v,y,b,x,w,S,E,T,k,C,P,A,I,M,L,N,O,j,_,R,D,B,H,V,F,z,U,G,$,W,q,X,Y,K,Z,Q,J,ee,et=e.i(63645);(l=L||(L={}))[l.LEFT=0]="LEFT",l[l.RIGHT=1]="RIGHT",e.s(["IconPosition",0,L],55435);var ei=function(){return(ei=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};let en=function(e){var t,i=e.label,n=e.ariaLabel,r=e.ariaHidden,s=e.ariaExpanded,a=e.useAriaExpanded,o=e.role,l=void 0===o?"":o,u=e.id,c=e.isDisabled,d=void 0!==c&&c,h=e.icon,p=e.iconPosition,f=void 0===p?L.LEFT:p,m=e.type,g=e.tabIndex,v=void 0===g?0:g,y=e.className,b=e.tailwindString,x=e.tailwindStringLabel,w=e.onClickCallback,S=e.umbracoLinkProps,E=e.children,T=S||{},k=T.route,C=T.title,P=T.url,A=T.target,I=T.queryString;i=null!=(t=null!=i?i:C)?t:"";var M=P||(k?k.path+(I||""):"");return(0,et.jsxs)(M?"a":"button",ei({"aria-label":void 0===n?"":n,"aria-hidden":void 0!==r&&r},void 0!==a&&a?{"aria-expanded":void 0!==s&&s}:{},l?{role:l}:{},v?{tabIndex:v}:{},{id:void 0===u?"":u,className:"group inline-flex items-center ".concat(void 0===y?"":y," ").concat(void 0===b?"":b," ").concat(d?"cursor-not-allowed opacity-60":"")},M?{href:M,target:A||"_self",rel:"_blank"===A?"noopener noreferrer":void 0}:{type:void 0===m?void 0:m,onClick:w,disabled:d},{children:[h&&f===L.LEFT&&h,E&&E,i&&(0,et.jsx)("span",{className:void 0===x?"":x,children:i}),h&&f===L.RIGHT&&h]}))};e.s(["default",0,en],64529),(u=N||(N={}))[u.PRIMARY=0]="PRIMARY",u[u.INVERTED=1]="INVERTED",u[u.INVERTED_OUTLINED=2]="INVERTED_OUTLINED",u[u.PRIMARY_DISABLED=3]="PRIMARY_DISABLED",u[u.INVERTED_DISABLED=4]="INVERTED_DISABLED",u[u.NONE=5]="NONE",u[u.SECONDARY=6]="SECONDARY",u[u.SECONDARY_INVERTED=7]="SECONDARY_INVERTED";var er=e.i(63266),es=e.i(49521);let ea=function(){return(0,et.jsxs)("svg",{height:"48",viewBox:"0 0 68 48",width:"68",children:[(0,et.jsx)("path",{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}),(0,et.jsx)("path",{d:"M 45,24 27,14 27,34",fill:"#fff"})]})},eo=function(){return(0,et.jsxs)("svg",{width:"68",height:"68",children:[(0,et.jsx)("path",{fill:"#3eb2e5",d:"M36.19 68H31.5c-.88-.21-1.8-.21-2.69-.35-8.07-1.3-14.91-4.92-20.29-11.07-7.09-8.12-9.73-17.6-8.01-28.21 1.3-7.99 5.13-14.68 11.3-19.91 8.35-7.09 18.03-9.6 28.75-7.51 9.56 1.86 16.92 7.14 22.13 15.37 3.08 4.86 4.67 10.21 5.03 15.94v3.69c-.12 1.46-.25 2.92-.53 4.37-1.39 7.28-4.77 13.49-10.18 18.55-5.19 4.86-11.32 7.78-18.36 8.81-.82.12-1.66.11-2.47.32ZM21.23 34.13c0 4.84-.01 9.68 0 14.51.01 3.11 3.01 4.79 5.71 3.22 2.7-1.57 5.41-3.13 8.12-4.69 5.59-3.23 11.18-6.46 16.77-9.68.62-.36 1.19-.76 1.58-1.38 1.14-1.81.57-4.09-1.34-5.2-8.43-4.88-16.88-9.75-25.32-14.62-.88-.51-1.81-.65-2.79-.38-1.72.48-2.73 1.85-2.73 3.75v14.46Z"}),(0,et.jsx)("path",{fill:"#f8fcfd",d:"M21.23 34.13V19.67c0-1.9 1.01-3.27 2.73-3.75.98-.27 1.92-.13 2.79.38 8.44 4.87 16.88 9.74 25.32 14.62 1.91 1.11 2.48 3.39 1.34 5.2-.39.62-.96 1.02-1.58 1.38-5.59 3.22-11.18 6.45-16.77 9.68-2.71 1.56-5.42 3.12-8.12 4.69-2.69 1.57-5.7-.11-5.71-3.22-.02-4.84 0-9.68 0-14.51Z"})]})};(c=O||(O={})).UNKNOWN="Unknown",c.YOU_TUBE="YouTube",c.VIMEO="Vimeo",c.INDIVEO="Indiveo";var el=function(e){switch(e){case O.VIMEO:return(0,et.jsx)(eo,{});case O.YOU_TUBE:return(0,et.jsx)(ea,{});default:return null}};let eu=function(e,t){if(!e||!t)return"";switch(e){case O.VIMEO:return"https://vumbnail.com/".concat(t,"_large.jpg");case O.YOU_TUBE:return"https://i.ytimg.com/vi/".concat(t,"/maxresdefault.jpg");default:return""}},ec=function(e,t){if(!e&&!t)return"";var i=(null==t?void 0:t.includes("?"))?new URLSearchParams((null==t?void 0:t.split("?")[1])||""):new URLSearchParams;switch(e){case O.VIMEO:i.set("autoplay","1"),i.set("keyboard","false"),i.set("byLine","0"),i.set("portrait","0");break;case O.YOU_TUBE:i.set("autoplay","1"),i.set("disablekb","1");break;default:return t}return(null==t?void 0:t.split("?")[0])+"?"+i.toString()};var ed=function(){return(ed=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};let eh=function(e){var t=e.platform,i=e.src,n=e.id,r=e.title,s=e.thumbnailUrl,a=e.className,o=e.playButtonOverride,l=void 0===o?null:o,u=e.ariaLabel,c=e.quality,d=(0,es.useRef)(null),h=(0,es.useState)(s||eu(t,n)),p=h[0],f=h[1],m=function(){var e=document.createElement("iframe");e.setAttribute("allowfullscreen","1"),e.setAttribute("loading","lazy"),e.setAttribute("referrerpolicy","strict-origin-when-cross-origin"),e.setAttribute("aria-label",u||r||"Video player"),e.setAttribute("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),e.setAttribute("src",ec(t,i)),e.setAttribute("class","w-full h-full border-0 border-none ".concat(a)),d.current&&(d.current.innerHTML="",d.current.appendChild(e))};return(0,et.jsxs)("div",{ref:d,className:"".concat(O.VIMEO===t?"h-auto":"h-full"," w-full"),children:[t&&(0,et.jsx)("span",{className:"absolute left-1/2 top-1/2 z-10 -translate-x-1/2 -translate-y-1/2 scale-75 transform cursor-pointer md:scale-100",onClick:m,children:null!=l?l:el(t)}),t&&n&&(0,et.jsx)(er.default,ed({alt:r||"Video",onClick:m,src:p,onError:function(){t===O.YOU_TUBE&&f("https://i.ytimg.com/vi/".concat(n,"/hqdefault.jpg")),t===O.VIMEO&&f("https://vumbnail.com/".concat(n,".jpg"))},className:"h-full w-full cursor-pointer object-cover",fill:!0},"number"==typeof c?{quality:c}:{}))]})};(d=j||(j={})).VIDEO_NATIVE="VideoNative",d.WIDE_SCREEN="WideScreen",d.SMALL_SCREEN="SmallScreen",d.CINEMA="Cinema",d.SQUARE="Square",d.PORTRAIT="Portrait";var ep=function(e,t){return t?ep(t,e%t):e};let ef=function(e,t,i){if(!e)return"aspect-ratio: auto;";switch(e){case j.VIDEO_NATIVE:if(!t||!i)return"aspect-video";var n=ep(t,i);return 1!==n?"aspect-[".concat(t/n,"/").concat(i/n,"]"):"aspect-video";case j.WIDE_SCREEN:return"aspect-video";case j.SMALL_SCREEN:return"aspect-[4/3]";case j.CINEMA:return"aspect-[21/9]";case j.SQUARE:return"aspect-square";case j.PORTRAIT:return"aspect-[9/16] w-1/2";default:return"aspect-video"}};var em=function(){return(em=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};let eg=function(e){var t=e.platform,i=e.id,n=e.src,r=e.title,s=e.aspect,a=e.oEmbedData,o=e.tailwindString,l=void 0===o?"":o,u=e.playButtonOverride,c=void 0===u?null:u,d=e.ariaLabel,h=e.quality,p=e.wrapperProps;if(!t)return null;var f=a||{},m=f.width,g=f.height,v=f.thumbnailUrl,y=ef(s||"",m,g);switch(t){case O.VIMEO:return(0,et.jsx)(et.Fragment,{children:n&&(0,et.jsx)("div",em({}
3,p,{className:"relative h-0 w-full max-w-full overflow-hidden pb-[56.25%] ".concat(l),children:(0,et.jsx)(eh,{platform:t,src:n.replace("&dnt=1","").replace("dnt=1",""),id:i,title:r,thumbnailUrl:v,className:"absolute left-0 top-0",playButtonOverride:c,ariaLabel:d,quality:h})}))});case O.YOU_TUBE:return(0,et.jsx)(et.Fragment,{children:i&&y&&(0,et.jsx)("div",em({},p,{className:"".concat(y," relative w-full self-stretch md:min-h-96 ").concat(l),children:(0,et.jsx)(eh,{platform:t,src:n,id:i,title:r,thumbnailUrl:v,playButtonOverride:c,ariaLabel:d,quality:h})}))});case O.INDIVEO:return(0,et.jsx)(et.Fragment,{children:n&&(0,et.jsx)("div",em({},p,{className:"relative h-0 w-full max-w-full overflow-hidden pb-[56.25%] ".concat(l),children:(0,et.jsx)("iframe",{allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",className:"absolute left-0 top-0 h-full w-full",scrolling:"no",frameBorder:"0",referrerPolicy:"strict-origin-when-cross-origin",src:n,loading:"lazy",title:r||"Indiveo Video","aria-label":d})}))});case O.UNKNOWN:default:return null}};(h=_||(_={})).H1="h1",h.H2="h2",h.H3="h3",h.H4="h4",h.H5="h5",h.H6="h6",e.s(["HeadingLevel",0,_],47264);let ev=function(e){var t=e.content,i=e.tailwindString;return t?"string"==typeof t?(0,et.jsx)("div",{className:"markup ".concat(i),dangerouslySetInnerHTML:{__html:t}}):(0,et.jsx)("div",{className:"markup ".concat(i),children:t}):null},ey=function(e){var t=e.headingLevel,i=e.text,n=(e.styleAs,e.tailwindString),r=void 0===n?"":n,s=e.ariaHidden,a=void 0!==s&&s,o=e.id,l=void 0===o?void 0:o,u=e.style,c=void 0===u?void 0:u;switch(t){case _.H1:return(0,et.jsx)("h1",{id:l||void 0,"aria-hidden":a,style:c,className:"mb-4 md:mb-6 ".concat(r),children:(0,et.jsx)(ev,{content:i})});case _.H2:return(0,et.jsx)("h2",{id:l||void 0,"aria-hidden":a,style:c,className:"mb-4 md:mb-6 ".concat(r),children:(0,et.jsx)(ev,{content:i})});case _.H3:return(0,et.jsx)("h3",{id:l||void 0,"aria-hidden":a,style:c,className:"mb-4 md:mb-6 ".concat(r),children:(0,et.jsx)(ev,{content:i})});case _.H4:return(0,et.jsx)("h4",{id:l||void 0,"aria-hidden":a,style:c,className:"mb-4 md:mb-6 ".concat(r),children:(0,et.jsx)(ev,{content:i})});case _.H5:return(0,et.jsx)("h5",{id:l||void 0,"aria-hidden":a,style:c,className:"mb-4 md:mb-6 ".concat(r),children:(0,et.jsx)(ev,{content:i})});case _.H6:return(0,et.jsx)("h6",{id:l||void 0,"aria-hidden":a,style:c,className:"mb-4 md:mb-6 ".concat(r),children:(0,et.jsx)(ev,{content:i})});default:return(0,et.jsx)("p",{id:l||void 0,"aria-hidden":a,style:c,className:"mb-4 md:mb-6 ".concat(r),children:(0,et.jsx)(ev,{content:i})})}};e.s(["default",0,ey],87273),e.s(["default",0,function(e){var t=e.children,i=e.tailwindString;return t?(0,et.jsx)("span",{className:"flex items-center justify-center ".concat(void 0===i?"":i),children:t}):null}],5537);var eb=function(){return(eb=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};let ex=function(e){var t=e.url,i=e.alt,n=e.width,r=e.height,s=e.className,a=e.focalPoint,o=e.fill,l=e.priority,u=e.sizes,c=e.resolutionMultiplier,d=void 0===c?1:c,h=n?Math.round(n*d):n,p=r?Math.round(r*d):r,f=new
3URLSearchParams(eb(eb(eb({},a?{rxy:"".concat(null==a?void 0:a.left,",").concat(null==a?void 0:a.top)}:{}),a&&h&&p?{width:"".concat(h),height:"".concat(p)}:{}),t.includes(".svg")?{}:{format:"webp"}));return f.toString()&&(t=t.includes("?")?"".concat(t,"&").concat(f):"".concat(t,"?").concat(f)),(0,et.jsx)(er.default,eb({alt:i,role:"".concat(i?"":"presentation"),className:s},void 0!==o&&o?{fill:!0}:{width:n,height:r},{placeholder:"blur",blurDataURL:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkNAYAADsANjxFfOAAAAAASUVORK5CYII="',priority:void 0!==l&&l,quality:100,sizes:u||"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",src:encodeURI(t)}))};e.s(["default",0,ex],91586);let ew=function(e){var t=e.text,i=e.tailwindString;return t?(0,et.jsx)("p",{className:void 0===i?"":i,children:t}):null};e.s(["default",0,ew],37306);let eS=function(e){var t=e.className;return(0,et.jsxs)("svg",{className:void 0===t?"":t,width:16,height:16,viewBox:"8 6 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,et.jsx)("path",{d:"M9.08984 8.99996C9.32495 8.33163 9.789 7.76807 10.3998 7.40909C11.0106 7.05012 11.7287 6.9189 12.427 7.03867C13.1253 7.15844 13.7587 7.52148 14.2149 8.06349C14.6712 8.60549 14.9209 9.29148 14.9198 9.99996C14.9198 12 11.9198 13 11.9198 13",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),(0,et.jsx)("path",{d:"M12 17H12.01",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})]})},eE=function(e){var t=e.rotate,i=e.tailwindString;return(0,et.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"".concat(void 0!==t&&t?"-rotate-90":"rotate-90"," transition-transform ").concat(void 0===i?"":i),role:"presentation",width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",children:(0,et.jsx)("path",{d:"M12 24.5L20 16.5L12 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})};(R||(R={})).ENTER="Enter";let eT=function(e){var t=e.id,i=e.name,n=e.helpText,r=e.label,s=e.options,a=e.required,o=void 0!==a&&a,l=e.defaultValue,u=e.value,c=e.onChange,d=e.onClickCallback,h=e.labelClassName,p=void 0===h?"":h,f=e.formControlClassname,m=e.className,g=e.labelAsFirstValue,v=void 0!==g&&g,y=e.errorMessage,b=e.error,x=e.iconTailwindString,w=e.errorTailwindString,S=void 0===w?"":w,E=e.tooltipAriaLabel,T=e.helperTooltip,k=void 0!==T&&T,C=e.tooltipIconClassName,P=e.tooltipIconWrapperClassName,A=e.helperClassName,I=void 0===A?"":A,M=e.selectPrompt,L=e.errorBelowInput,N=void 0!==L&&L,O=e.customRequiredIndicator,j=(0,es.useId)(),_=(0,es.useRef)(null),D=(0,es.useId)(),B=(0,es.useId)(),H=(0,es.useState)(!1),V=H[0],F=H[1],z=(0,es.useState)(null!=l?l:""),U=z[0],G=z[1],$=(0,es.useState)(null),W=$[0],q=$[1],X=void 0!==u?u:U,Y=void 0!==b?b:W;(0,es.useEffect)(function(){var e=function(e){_.current&&!_.current.contains(e.target)&&F(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var K=function(e){o&&!X?c||q(y||"Error"):c||q(null)},Z=function(e){d&&d(e),F(!V)},Q=(0,es.useState)(!1),J=Q[0],ee=Q[1];return(0,et.jsxs)("div",{className:"relative ".concat(void 0===f?"":f),ref:_,children:[!v&&(0,et.jsxs)("div",{className:"mb-2 flex gap-2",children:[(0,et.jsxs)("label",{htmlFor:null!=t?t:j,className:"block ".concat(p),children:[r," ",o&&(void 0!==O?O:" *")]}),k&&!!n&&(0,et.jsx)("span",{role:"button",tabIndex:0,"aria-label":void 0===E?"":E,"aria-expanded":J,"aria-controls":B,onClick:function(){return ee(function(e){return!e})},onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),ee(function(e){return!e}))},className:"cursor-pointer ".concat(void 0===P?"":P),children:(0,et.jsx)(eS,{className:"w-5 h-5 text-gray-400 ".concat(void 0===C?"":C)})})]}),(!k||J)&&n&&(0,et.jsxs)("span",{id:B,className:"block pb-2 text-base ".concat(null!=I?I:""),children:[(0,et.jsx)("span",{className:"sr-only",children:" | "}),n]}),!N&&Y&&(0,et.jsx)("span",{id:D,className:"".concat(p," ").concat(S," text-signal-error block"),children:Y}),(0,et.jsxs)("div",{className:"relative",children:[(0,et.jsxs)("select",{id:null!=t?t:j,name:i,value:X,onClick:function(e){return Z},onKeyDown:function(e){e.key===R.ENTER&&(V?F(!1):F(!0))},onChange:function(e){c?c(e.target.value):(G(e.target.value),q(null))},onBlur:K,onInvalid:function(e){return K(e)},"aria-required":o,"aria-expanded":V,"aria-describedby":"".concat(D," ").concat(n?B:""),className:"".concat(void 0===m?"":m," block min-h-14 w-full cursor-pointer appearance-none overflow-hidden rounded pl-4 pr-10 focus:outline"),children:[v&&(0,et.jsx)("option",{value:"",children:r}),M&&!l&&!u&&(0,et.jsx)("option",{value:"",disabled:!0,children:M}),null==s?void 0:s.map(function(e,t){var i;return(0,et.jsx)("option",{value:null!=(i=e.value)?i:"","aria-selected":X===e.value,className:"cursor-pointer px-10 py-2",children:e.label},t)})]}),(0,et.jsx)("span",{className:"pointer-events-none absolute bottom-0 right-2 top-0 flex items-center justify-center",children:(0,et.jsx)(eE,{rotate:V,tailwindString:void 0===x?"":x})})]}),N&&Y&&(0,et.jsx)("span",{id:D,className:"".concat(p," ").concat(S," text-signal-error block"),children:Y})]})};(p=D||(D={})).YOUTUBE="youtube",p.LINKEDIN="linkedin",p.INSTAGRAM="instagram",p.X="x-twitter",p.FACEBOOK="facebook",p.SPOTIFY="spotify",p.VIMEO="vimeo";let ek=function(e){var t=e.label,i=e.name,n=e.helpText,r=e.defaultValue,s=e.value,a=e.onChange,o=e.placeholder,l=e.className,u=e.formControlClassName,c=e.labelClassName,d=void 0===c?"":c,h=e.tooltipIconClassName,p=e.tooltipIconWrapperClassName,f=e.helperClassName,m=void 0===f?"":f,g=e.rows,v=e.maxLength,y=void 0===v?500:v,b=e.required,x=void 0!==b&&b,w=e.errorMessage,S=e.error,E=e.pattern,T=e.patternInvalidErrorMessage,k=e.errorTailwindString,C=void 0===k?"":k,P=e.helperTooltip,A=void 0!==P&&P,I=e.tooltipAriaLabel,M=e.errorBelowInput,L=void 0!==M&&M,N=e.customRequiredIndicator,O=e.showCharactersLeft,j=e.charactersLeftText,_=e.charactersLeftClassName,R=(0,es.useId)(),D=(0,es.useId)(),B=(0,es.useId)(),H=(0,es.useState)(null),V=H[0],F=H[1],z=(0,es.useState)(r||""),U=z[0],G=z[1],$=function(e){return x&&!e.target.value?(F(w||"Required"),!1):E&&!new RegExp(E).test(e.target.value)?(F(T||"Error"),!1):(F(null),!0)},W=void 0!==s?s:U,q=void 0!==S?S:V,X=(0,es.useState)(!1),Y=X[0],K=X[1];return(0,et.jsxs)("div",{className:"".concat(void 0===u?"":u," relative block"),children:[t&&(0,et.jsxs)("div",{className:"mb-2 flex gap-2",children:[(0,et.jsxs)("label",{className:"".concat(d," block"),htmlFor:R,children:[t,x&&(void 0!==N?N:" *")]}),A&&!!n&&(0,et.jsx)("span",{role:"button",tabIndex:0,"aria-label":void 0===I?"":I,"aria-expanded":Y,"aria-controls":B,onClick:function(){return K(function(e){return!e})}
3,onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),K(function(e){return!e}))},className:"cursor-pointer ".concat(void 0===p?"":p),children:(0,et.jsx)(eS,{className:"w-5 h-5 text-gray-400 ".concat(void 0===h?"":h)})})]}),(!A||Y)&&n&&(0,et.jsxs)("span",{id:B,className:"block pb-2 text-base ".concat(null!=m?m:""),children:[(0,et.jsx)("span",{className:"sr-only",children:" | "}),n]}),!L&&q&&(0,et.jsx)("span",{id:D,className:"".concat(d," block text-signal-error ").concat(C),children:q}),(0,et.jsx)("textarea",{id:R,name:i,placeholder:o,value:W,required:x,"aria-required":x,maxLength:y,className:"".concat(void 0===l?"":l," px-3 py-4"),cols:y,rows:void 0===g?2:g,onChange:function(e){a?a(e):G(e.target.value)},onBlur:function(e){return $(e)},onInvalid:function(e){return $(e)},"aria-describedby":"".concat(D," ").concat(n?B:"")}),L&&q&&(0,et.jsx)("span",{id:D,className:"".concat(d," block text-signal-error ").concat(C),children:q}),void 0!==O&&O&&(0,et.jsx)("span",{className:"block ".concat(void 0===_?"":_),"aria-live":"polite",children:(void 0===j?"{count} tekens over":j).replace(/\{\{?count\}?\}/g,String(Math.max(y-W.length,0)))})]})},eC=function(e){var t=e.name,i=e.className,n=e.maxLength,r=void 0===n?250:n,s=e.helpText,a=void 0===s?"":s,o=e.placeholder,l=e.min,u=e.max,c=e.defaultValue,d=e.value,h=e.label,p=void 0===h?"":h,f=e.labelClassName,m=void 0===f?"":f,g=e.formControlClassname,v=e.type,y=e.required,b=void 0!==y&&y,x=e.autoComplete,w=e.errorMessage,S=e.error,E=e.pattern,T=e.patternInvalidErrorMessage,k=e.onChange,C=e.ariaLabel,P=e.errorTailwindString,A=void 0===P?"":P,I=e.helperTooltip,M=void 0!==I&&I,L=e.tooltipIconClassName,N=e.tooltipIconWrapperClassName,O=e.helperClassName,j=void 0===O?"":O,_=e.tooltipAriaLabel,R=e.errorBelowInput,D=void 0!==R&&R,B=e.customRequiredIndicator,H=e.showCharactersLeft,V=e.charactersLeftText,F=e.charactersLeftClassName,z=(0,es.useId)(),U=(0,es.useId)(),G=(0,es.useId)(),$=(0,es.useState)(null),W=$[0],q=$[1],X=(0,es.useState)(c||""),Y=X[0],K=X[1],Z=function(e){return b&&!e.target.value?(q(w||"Required"),!1):E&&!new RegExp(E).test(e.target.value)?(q(T||"Error"),!1):(q(null),!0)},Q=void 0!==d?d:Y,J=void 0!==S?S:W,ee=(0,es.useState)(!1),ei=ee[0],en=ee[1];return(0,et.jsxs)("div",{className:"".concat(void 0===g?"":g," relative block"),children:[p&&(0,et.jsxs)("div",{className:"mb-2 flex gap-2",children:[(0,et.jsxs)("label",{className:"".concat(m," block"),htmlFor:z,children:[p,b&&(void 0!==B?B:" *")]}),M&&!!a&&(0,et.jsx)("span",{role:"button",tabIndex:0,"aria-label":_,"aria-expanded":ei,"aria-controls":G,onClick:function(){return en(function(e){return!e})},onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),en(function(e){return!e}))},className:"cursor-pointer ".concat(void 0===N?"":N),children:(0,et.jsx)(eS,{className:"w-5 h-5 text-gray-400 ".concat(void 0===L?"":L)})})]}),(!M||ei)&&a&&(0,et.jsxs)("span",{id:G,className:"block pb-2 text-base ".concat(null!=j?j:""),children:[(0,et.jsx)("span",{className:"sr-only",children:" | "}),a]}),!D&&J&&(0,et.jsx)("span",{id:U,className:"".concat(m," block text-signal-error ").concat(A),children:J}),(0,et.jsx)("input",{id:z,name:t,type:void 0===v?"text":v,placeholder:o,min:l,max:u,value:Q,required:b,"aria-required":b,"aria-label":void 0===C?"":C,maxLength:r,autoComplete:void 0===x?"on":x,className:"".concat(void 0===i?"":i," px-3 py-4"),onChange:function(e){void 0!==k?k(e):K(e.target.value)},onBlur:function(e){return Z(e)},onInvalid:function(e){return Z(e)},"aria-describedby":"".concat(U," ").concat(a?G:"")}),D&&J&&(0,et.jsx)("span",{id:U,className:"".concat(m," block text-signal-error ").concat(A),children:J}),void 0!==H&&H&&(0,et.jsx)("span",{className:"block ".concat(void 0===F?"":F),"aria-live":"polite",children:(void 0===V?"{count} tekens over":V).replace(/\{\{?count\}?\}/g,String(Math.max(r-Q.length,0)))})]})},eP=function(e){var t,i=e.umbracoLinkProps,n=e.label,r=e.className,s=e.icon,a=e.iconPosition,o=void 0===a?L.RIGHT:a;return i?(0,et.jsx)(en,{"aria-label":n||i.title,umbracoLinkProps:i,label:n||(null!=(t=i.title)?t:""),className:r,icon:void 0===s?null:s,iconPosition:o}):null};var eA=e.i(17210);(f=B||(B={})).SVG="svg",f.PNG="png",f.JPEG="jpeg";let eI=function(e){var t,i,n=e.umbracoImageProps,r=e.className,s=void 0===r?"":r,a=e.classNameWrapper,o=e.printTailwindString,l=e.priority,u=e.fill,c=e.sizes,d=e.alt,h=e.imageBaseHostUrl,p=void 0===h?"https://umbraco.skal.nl":h,f=e.resolutionMultiplier,m=void 0===f?1:f,g=e.printSupported,v=(0,es.useRef)(null),y=(0,es.useState)(null),b=y[0],x=y[1],w=(0,es.useState)(null),S=w[0],E=w[1];if((0,es.useEffect)(function(){var e=function(){v.current&&(x(v.current.clientWidth),E(v.current.clientHeight))};return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]),!n)return null;var T=n.url,k=n.name,C=n.extension,P=n.width,A=n.height,I=(null==(t=n.focalPoint)?void 0:t.left)&&(null==(i=n.focalPoint)?void 0:i.top)?{left:n.focalPoint.left,top:n.focalPoint.top}:void 0;return(0,et.jsx)(et.Fragment,{children:C===B.SVG||(null==T?void 0:T.includes(".".concat(B.SVG)))?(0,et.jsx)(ex,{url:p+(null!=T?T:""),alt:d||k||"",fill:u,className:s,focalPoint:I,priority:l,sizes:c,width:null!=P?P:void 0,height:null!=A?A:void 0,resolutionMultiplier:null!=m?m:1}):(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)("div",{ref:v,className:"h-full w-full ".concat(void 0===a?"":a),children:b?(0,et.jsx)(ex,{url:p+(null!=T?T:""),alt:d||k||"",fill:u,className:s,focalPoint:I,priority:l,sizes:c,width:null!=b?b:void 0,height:null!=S?S:void 0,resolutionMultiplier:null!=m?m:1}):null}),void 0!==g&&g&&(0,et.jsx)("span",{className:"hidden print:block ".concat(void 0===o?"":o),children:d||k||""})]})})};function eM(e){return null==e?{objectFit:"cover"}:{objectFit:"cover",objectPosition:"".concat(100*e.left,"% ").concat(100*e.top,"%")}}var eL=function(){return(eL=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},eN="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw";function eO(e){var t,i,n,r,s=e.umbracoImageProps,a=e.className,o=e.priority,l=void 0!==o&&o,u=e.alt,c=e.imageBaseHostUrl,d=e.fill,h=e.sizes,p=e.width,f=e.height,m=e.crop,g=e.printSupported,v=e.printTailwindString,y=e.disableWebpFormatting;if(!s)return null;var b=s.url,x=s.extension,w=s.name,S=s.width,E=s.height;if(!b)return null;var T=function(e,t,i,n){void 0===n&&(n=!1);var r="svg"===t||e.includes(".svg"),s=i+e;if(r)return s;var a=s.split("?"),o=a[0],l=void 0===o?"":o,u=a[1],c=new URLSearchParams(void 0===u?"":u);n?"webp"===c.get("format")&&c.delete("format"):"webp"!==c.get("format")&&c.set("format","webp");var d=c.toString();return d?"".concat(l,"?").concat(d):l}(b,x,void 0===c?"https://umbraco.skal.nl":c,void 0!==y&&y),k=null!=(t=null!=u?u:w)?t:"",C=void 0!==g&&g?(0,et.jsx)("span",{className:"hidden print:block ".concat(void 0===v?"":v),children:k}):null,P=m?null==(i=s.crops)?void 0:i.find(function(e){return e.alias===m}):void 0;if(null==P?void 0:P.coordinates){var A,I,M,L,N,O,j,_=(I=(A=P.coordinates).x1,M=A.y1,L=A.x2,N=A.y2,O=1-I-L,j=1-M-N,{position:"absolute",width:"".concat(1/O*100,"%"),height:"".concat(1/j*100,"%"),left:"".concat(-I/O*100,"%"),top:"".concat(-M/j*100,"%")}),R=d?{position:"absolute",inset:0,overflow:"hidden"}
3:{position:"relative",overflow:"hidden",width:null!=p?p:P.width,height:null!=f?f:P.height};return(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)("div",{style:R,className:a,children:(0,et.jsx)("div",{style:_,children:(0,et.jsx)(er.default,{src:T,alt:k,fill:!0,sizes:null!=h?h:eN,quality:100,priority:l})})}),C]})}if(P){var D=eM(s.focalPoint);if(d)return(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)(er.default,{src:T,alt:k,fill:!0,sizes:null!=h?h:eN,quality:100,priority:l,className:a,style:D}),C]});var B={position:"relative",overflow:"hidden",width:null!=p?p:P.width,height:null!=f?f:P.height,aspectRatio:"".concat(P.width," / ").concat(P.height)};return(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)("div",{style:B,className:a,children:(0,et.jsx)(er.default,{src:T,alt:k,fill:!0,sizes:null!=h?h:eN,quality:100,priority:l,style:D})}),C]})}var H=function(e){if(null!=e)return{objectPosition:"".concat(100*e.left,"% ").concat(100*e.top,"%")}}(s.focalPoint),V=null!=(n=null!=p?p:S)?n:void 0,F=null!=(r=null!=f?f:E)?r:void 0;return d?(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)(er.default,{src:T,alt:k,fill:!0,sizes:null!=h?h:eN,quality:100,priority:l,className:a,style:eM(s.focalPoint)}),C]}):(0,et.jsxs)(et.Fragment,{children:[(0,et.jsx)(er.default,eL({src:T,alt:k,width:V,height:F},h?{sizes:h}:{},{quality:100,priority:l,className:a,style:H})),C]})}e.s(["default",0,eO],15376),(H||(H={})).MP4="mp4",e.s(["default",()=>tQ],50970);var ej=e.i(39296),e_=ej.default.domToReact;ej.default.htmlToDOM;var eR=ej.default.attributesToProps;ej.default.Comment;var eD=ej.default.Element;ej.default.ProcessingInstruction,ej.default.Text;let eB=ej.default,eH=function(e){var t=e.children,i=e.tag,n=e.ref,r=e.id,s=e.style,a=e.tailwindString;return t?(0,et.jsx)(void 0===i?"div":i,{ref:n,id:(void 0===r?"":r)||void 0,className:void 0===a?"":a,style:void 0===s?{}:s,children:t}):null};e.s(["Box",0,eH],72024);let eV=function(e){var t=e.url,i=e.VideoComponent,n=e.tailwindString;if(!t)return null;var r="https://www.youtube.com",s=t.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:embed\/|shorts\/|watch\?v=|v\/|.+\/.+\/)?|youtu\.be\/)([a-zA-Z0-9_-]{11})/),a=null==s?void 0:s[1],o={videoDetails:{videoType:O.YOU_TUBE,videoId:a,embedUrl:"".concat(r,"/embed/").concat(a),title:"",oEmbedData:void 0},aspectRatio:j.VIDEO_NATIVE};return(0,et.jsx)(et.Fragment,{children:i?(0,et.jsx)(i,{video:o}):(0,et.jsx)(eg,{platform:O.YOU_TUBE,id:a,src:"".concat(r,"/embed/").concat(a),title:"",aspect:j.VIDEO_NATIVE,oEmbedData:void 0,tailwindString:void 0===n?"":n})})};function eF(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var ez=eF(),eU={exec:()=>null};function eG(e,t=""){let i="string"==typeof e?e:e.source,n={replace:(e,t)=>{let r="string"==typeof t?t:t.source;return r=r.replace(eW.caret,"$1"),i=i.replace(e,r),n},getRegex:()=>new RegExp(i,t)};return n}var e$=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),eW={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}>`)},eq=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,eX=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,eY=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,eK=eG(eY).replace(/bull/g,eX).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),eZ=eG(eY).replace(/bull/g,eX).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),eQ=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,eJ=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,e0=eG(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",eJ).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),e1=eG(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,eX).getRegex(),e2="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",e3=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,e5=eG("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
3)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",e3).replace("tag",e2).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),e6=eG(eQ).replace("hr",eq).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",e2).getRegex(),e8={blockquote:eG(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",e6).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:e0,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:eq,html:e5,lheading:eK,list:e1,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:e6,table:eU,text:/^[^\n]+/},e4=eG("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",eq).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",e2).getRegex(),e9={...e8,lheading:eZ,table:e4,paragraph:eG(eQ).replace("hr",eq).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",e4).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",e2).getRegex()},e7={...e8,html:eG("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",e3).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:eU,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:eG(eQ).replace("hr",eq).replace("heading",` *#{1,6} *[^ 4]`).replace("lheading",eK).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},te=/^( {2,}|\\)\n(?!\s*$)/,tt=/[\p{P}\p{S}]/u,ti=/[\s\p{P}\p{S}]/u,tn=/[^\s\p{P}\p{S}]/u,tr=eG(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,ti).getRegex(),ts=/(?!~)[\p{P}\p{S}]/u,ta=/(?![*_])[\p{P}\p{S}]/u,to=eG(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",e$?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),tl=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,tu=eG(tl,"u").replace(/punct/g,tt).getRegex(),tc=eG(tl,"u").replace(/punct/g,ts).getRegex(),td="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",th=eG(td,"gu").replace(/notPunctSpace/g,tn).replace(/punctSpace/g,ti).replace(/punct/g,tt).getRegex(),tp=eG(td,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,ts).getRegex(),tf=eG("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,tn).replace(/punctSpace/g,ti).replace(/punct/g,tt).getRegex(),tm=eG(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,ta).getRegex(),tg=eG("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|[*_])/u).replace(/punctSpace/g,/(?![*_])[\s\p{P}\p{S}]/u).replace(/punct/g,ta).getRegex(),tv=eG(/\\(punct)/,"gu").replace(/punct/g,tt).getRegex(),ty=eG(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),tb=eG(e3).replace("(?:-->|$)","-->").getRegex(),tx=eG("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",tb).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),tw=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,tS=eG(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",tw).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),tE=eG(/^!?\[(label)\]\[(ref)\]/).replace("label",tw).replace("ref",eJ).getRegex(),tT=eG(/^!?\[(ref)\](?:\[\])?/).replace("ref",eJ).getRegex(),tk=eG("reflink|nolink(?!\\()","g").replace("reflink",tE).replace("nolink",tT).getRegex(),tC=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,tP={_backpedal:eU,anyPunctuation:tv,autolink:ty,blockSkip:to,br:te,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:eU,delLDelim:eU,delRDelim:eU,emStrongLDelim:tu,emStrongRDelimAst:th,emStrongRDelimUnd:tf,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:tS,nolink:tT,punctuation:tr,reflink:tE,reflinkSearch:tk,tag:tx,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:eU},tA={...tP,link:eG(/^!?\[(label)\]\((.*?)\)/).replace("label",tw).getRegex(),reflink:eG(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",tw).getRegex()},tI={...tP,emStrongRDelimAst:tp,emStrongLDelim:tc,delLDelim:tm,delRDelim:tg,url:eG(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",tC).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:eG(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",tC).getRegex()},tM={...tI,br:eG(te).replace("{2,}","*").getRegex(),text:eG(tI.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},tL={normal:e8,gfm:e9,pedantic:e7},tN={normal:tP,gfm:tI,breaks:tM,pedantic:tA},tO={"&":"&","<":"<",">":">",'"':""","'":"'"},tj=e=>tO[e];function t_(e,t){if(t){if(eW.escapeTest.test(e))return e.replace(eW.escapeReplace,tj)}else if(eW.escapeTestNoEncode.test(e))return e.replace(eW.escapeReplaceNoEncode,tj);return e}function tR(e){try{e=encodeURI(e).replace(eW.percentDecode,"%")}catch{return null}return e}function tD(e,t){let i=e.replace(eW.findPipe,(e,t,i)=>{let n=!1,r=t;for(;--r>=0&&"\\"===i[r];)n=!n;return n?"|":" |"}).split(eW.splitPipe),n=0;if(i[0].trim()||i.shift(),i.length>0&&!i.at(-1)?.trim()&&i.pop(),t)if(i.length>t)i.splice(t);else for(;i.length<t;)i.push("");for(;n<i.length;n++)i[n]=i[n].trim().replace(eW.slashPipe,"|");return i}function tB(e,t,i){let n=e.length;if(0===n)return"";let r=0;for(;r<n;){let s=e.charAt(n-r-1);if(s!==t||i)if(s!==t&&i)r++;else break;else r++}return e.slice(0,n-r)}function tH(e,t,i,n,r){let s=t.href,a=t.title||null,o=e[1].replace(r.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:i,href:s,title:a,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,l}var tV=class{options;rules;lexer;constructor(e){this.options=e||ez}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:tB(e,` 5`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],i=function(e,t,i){let n=e.match(i.other.indentCodeCompensation);if(null===n)return t;let r=n[1];return t.split(` 6`).map(e=>{let t=e.match(i.other.beginningSpace);if(null===t)return e;let[n]=t;return n.length>=r.length?e.slice(r.length):e}).join(` 7`)}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:i}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=tB(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:tB(t[0],` 8`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=tB(t[0],` 9`).split(` 10`),i="",n="",r=[];for(;e.length>0;){let t=!1,s=[],a;for(a=0;a<e.length;a++)if(this.rules.other.blockquoteStart.test(e[a]))s.push(e[a]),t=!0;else if(t)break;else s.push(e[a]);e=e.slice(a);let o=s.join(` 11`),l=o.replace(this.rules.other.blockquoteSetextReplace,` 12 $1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i} 13${o}`:o,n=n?`${n} 14${l}`:l;let u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,r,!0),this.lexer.state.top=u,0===e.length)break;let c=r.at(-1);if(c?.type==="code")break;if(c?.type==="blockquote"){let t=c.raw+` 15`+e.join(` 16`),s=this.blockquote(t);r[r.length-1]=s,i=i.substring(0,i.length-c.raw.length)+s.raw,n=n.substring(0,n.length-c.text.length)+s.text;break}if(c?.type==="list"){let t=c.raw+` 17`+e.join(` 18`),s=this.list(t);r[r.length-1]=s,i=i.substring(0,i.length-c.raw.length)+s.raw,n=n.substring(0,n.length-c.raw.length)+s.raw,e=t.substring(r.at(-1).raw.length).split(` 19`);continue}}return{type:"blockquote",raw:i,tokens:r,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let i=t[1].trim(),n=i.length>1,r={type:"list",raw:"",ordered:n,start:n?+i.slice(0,-1):"",loose:!1,items:[]};i=n?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=n?i:"[*+-]");let s=this.rules.other.listItemRegex(i),a=!1;for(;e;){let i=!1,n="",o="";if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;n=t[0],e=e.substring(n.length);let l=function(e,t=0){let i=t,n="";for(let t of e)if(" "===t){let e=4-i%4;n+=" ".repeat(e),i+=e}else n+=t,i++;return n}(t[2].split(` 20`,1)[0],t[1].length),u=e.split(` 21`,1)[0],c=!l.trim(),d=0;if(this.options.pedantic?(d=2,o=l.trimStart()):c?d=t[1].length+1:(d=(d=l.search(this.rules.other.nonSpaceChar))>4?1:d,o=l.slice(d),d+=t[1].length),c&&this.rules.other.blankLine.test(u)&&(n+=u+` 22`,e=e.substring(u.length+1),i=!0),!i){let t=this.rules.other.nextBulletRegex(d),i=this.rules.other.hrRegex(d),r=this.rules.other.fencesBeginRegex(d),s=this.rules.other.headingBeginRegex(d),a=this.rules.other.htmlBeginRegex(d),h=this.rules.other.blockquoteBeginRegex(d);for(;e;){let p=e.split(` 23`,1)[0],f;if(u=p,f=this.options.pedantic?u=u.replace(this.rules.other.listReplaceNesting," "):u.replace(this.rules.other.tabCharGlobal," "),r.test(u)||s.test(u)||a.test(u)||h.test(u)||t.test(u)||i.test(u))break;if(f.search(this.rules.other.nonSpaceChar)>=d||!u.trim())o+=` 24`+f.slice(d);else{if(c||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||r.test(l)||s.test(l)||i.test(l))break;o+=` 25`+u}
25c=!u.trim(),n+=p+` 26`,e=e.substring(p.length+1),l=f.slice(d)}}r.loose||(a?r.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(a=!0)),r.items.push({type:"list_item",raw:n,task:!!this.options.gfm&&this.rules.other.listIsTask.test(o),loose:!1,text:o,tokens:[]}),r.raw+=n}let o=r.items.at(-1);if(!o)return;for(let e of(o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd(),r.raw=r.raw.trimEnd(),r.items)){if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),e.task){if(e.text=e.text.replace(this.rules.other.listReplaceTask,""),e.tokens[0]?.type==="text"||e.tokens[0]?.type==="paragraph"){e.tokens[0].raw=e.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),e.tokens[0].text=e.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}}let t=this.rules.other.listTaskCheckbox.exec(e.raw);if(t){let i={type:"checkbox",raw:t[0]+" ",checked:"[ ]"!==t[0]};e.checked=i.checked,r.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=i.raw+e.tokens[0].raw,e.tokens[0].text=i.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(i)):e.tokens.unshift({type:"paragraph",raw:i.raw,text:i.raw,tokens:[i]}):e.tokens.unshift(i)}}if(!r.loose){let t=e.tokens.filter(e=>"space"===e.type);r.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(r.loose)for(let e of r.items)for(let t of(e.loose=!0,e.tokens))"text"===t.type&&(t.type="paragraph");return r}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:i,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let i=tD(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(` 27`):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(i.length===n.length){for(let e of n)this.rules.other.tableAlignRight.test(e)?s.align.push("right"):this.rules.other.tableAlignCenter.test(e)?s.align.push("center"):this.rules.other.tableAlignLeft.test(e)?s.align.push("left"):s.align.push(null);for(let e=0;e<i.length;e++)s.header.push({text:i[e],tokens:this.lexer.inline(i[e]),header:!0,align:s.align[e]});for(let e of r)s.rows.push(tD(e,s.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:s.align[t]})));return s}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===` 28`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=tB(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e){if(-1===e.indexOf(")"))return -1;let t=0;for(let i=0;i<e.length;i++)if("\\"===e[i])i++;else if("("===e[i])t++;else if(")"===e[i]&&--t<0)return i;return t>0?-2:-1}(t[2]);if(-2===e)return;if(e>-1){let i=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,i).trim(),t[3]=""}}let i=t[2],n="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(i);e&&(i=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(i=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?i.slice(1):i.slice(1,-1)),tH(t,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let i;if((i=this.rules.inline.reflink.exec(e))||(i=this.rules.inline.nolink.exec(e))){let e=t[(i[2]||i[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=i[0].charAt(0);return{type:"text",raw:e,text:e}}
28return tH(i,e,i[0],this.lexer,this.rules)}}emStrong(e,t,i=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&i.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[2])||!i||this.rules.inline.punctuation.exec(i))){let i=[...n[0]].length-1,r,s,a=i,o=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+i);null!=(n=l.exec(t));){if(!(r=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(s=[...r].length,n[3]||n[4]){a+=s;continue}if((n[5]||n[6])&&i%3&&!((i+s)%3)){o+=s;continue}if((a-=s)>0)continue;s=Math.min(s,s+a+o);let t=[...n[0]][0].length,l=e.slice(0,i+n.index+t+s);if(Math.min(i,s)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let u=l.slice(2,-2);return{type:"strong",raw:l,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),i=this.rules.other.nonSpaceChar.test(e),n=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return i&&n&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,i=""){let n=this.rules.inline.delLDelim.exec(e);if(n&&(!n[1]||!i||this.rules.inline.punctuation.exec(i))){let i=[...n[0]].length-1,r,s,a=i,o=this.rules.inline.delRDelim;for(o.lastIndex=0,t=t.slice(-1*e.length+i);null!=(n=o.exec(t));){if(!(r=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])||(s=[...r].length)!==i)continue;if(n[3]||n[4]){a+=s;continue}if((a-=s)>0)continue;s=Math.min(s,s+a);let t=[...n[0]][0].length,o=e.slice(0,i+n.index+t+s),l=o.slice(i,-i);return{type:"del",raw:o,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,i;return i="@"===t[2]?"mailto:"+(e=t[1]):e=t[1],{type:"link",raw:t[0],text:e,href:i,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,i;if("@"===t[2])i="mailto:"+(e=t[0]);else{let n;do n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(n!==t[0])e=t[0],i="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:i,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},tF=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ez,this.options.tokenizer=this.options.tokenizer||new tV,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:eW,block:tL.normal,inline:tN.normal};this.options.pedantic?(t.block=tL.pedantic,t.inline=tN.pedantic):this.options.gfm&&(t.block=tL.gfm,this.options.breaks?t.inline=tN.breaks:t.inline=tN.gfm),this.tokenizer.rules=t}static get rules(){return{block:tL,inline:tN}}static lex(t,i){return new e(i).lex(t)}static lexInline(t,i){return new e(i).inlineTokens(t)}lex(e){e=e.replace(eW.carriageReturn,` 29`),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],i=!1){for(this.options.pedantic&&(e=e.replace(eW.tabCharGlobal," ").replace(eW.spaceLine,""));e;){let n;if(this.options.extensions?.block?.some(i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))continue;if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length);let i=t.at(-1);1===n.raw.length&&void 0!==i?i.raw+=` 30`:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length);let i=t.at(-1);i?.type==="paragraph"||i?.type==="text"?(i.raw+=(i.raw.endsWith(` 31`)?"":` 32`)+n.raw,i.text+=` 33`+n.text,this.inlineQueue.at(-1).src=i.text):t.push(n);continue}if((n=this.tokenizer.fences(e))||(n=this.tokenizer.heading(e))||(n=this.tokenizer.hr(e))||(n=this.tokenizer.blockquote(e))||(n=this.tokenizer.list(e))||(n=this.tokenizer.html(e))){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length);let i=t.at(-1);i?.type==="paragraph"||i?.type==="text"?(i.raw+=(i.raw.endsWith(` 34`)?"":` 35`)+n.raw,i.text+=` 36`+n.raw,this.inlineQueue.at(-1).src=i.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}
36,t.push(n));continue}if((n=this.tokenizer.table(e))||(n=this.tokenizer.lheading(e))){e=e.substring(n.raw.length),t.push(n);continue}let r=e;if(this.options.extensions?.startBlock){let t=1/0,i=e.slice(1),n;this.options.extensions.startBlock.forEach(e=>{"number"==typeof(n=e.call({lexer:this},i))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(r=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(r))){let s=t.at(-1);i&&s?.type==="paragraph"?(s.raw+=(s.raw.endsWith(` 37`)?"":` 38`)+n.raw,s.text+=` 39`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):t.push(n),i=r.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length);let i=t.at(-1);i?.type==="text"?(i.raw+=(i.raw.endsWith(` 40`)?"":` 41`)+n.raw,i.text+=` 42`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let i,n=e,r=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(n));)e.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(n));)n=n.slice(0,r.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(n));)i=r[2]?r[2].length:0,n=n.slice(0,r.index+i)+"["+"a".repeat(r[0].length-i-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let s=!1,a="";for(;e;){let i;if(s||(a=""),s=!1,this.options.extensions?.inline?.some(n=>!!(i=n.call({lexer:this},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)))continue;if((i=this.tokenizer.escape(e))||(i=this.tokenizer.tag(e))||(i=this.tokenizer.link(e))){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(i.raw.length);let n=t.at(-1);"text"===i.type&&n?.type==="text"?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if((i=this.tokenizer.emStrong(e,n,a))||(i=this.tokenizer.codespan(e))||(i=this.tokenizer.br(e))||(i=this.tokenizer.del(e,n,a))||(i=this.tokenizer.autolink(e))||!this.state.inLink&&(i=this.tokenizer.url(e))){e=e.substring(i.raw.length),t.push(i);continue}let r=e;if(this.options.extensions?.startInline){let t=1/0,i=e.slice(1),n;this.options.extensions.startInline.forEach(e=>{"number"==typeof(n=e.call({lexer:this},i))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(r=e.substring(0,t+1))}if(i=this.tokenizer.inlineText(r)){e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(a=i.raw.slice(-1)),s=!0;let n=t.at(-1);n?.type==="text"?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}},tz=class{options;parser;constructor(e){this.options=e||ez}space(e){return""}code({text:e,lang:t,escaped:i}){let n=(t||"").match(eW.notSpaceStart)?.[0],r=e.replace(eW.endingNewline,"")+` 43`;return n?'<pre><code class="language-'+t_(n)+'">'+(i?r:t_(r,!0))+`</code></pre> 44`:"<pre><code>"+(i?r:t_(r,!0))+`</code></pre> 45`}blockquote({tokens:e}){return`<blockquote> 46${this.parser.parse(e)}</blockquote> 47`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}> 48`}hr(e){return`<hr> 49`}list(e){let t=e.ordered,i=e.start,n="";for(let t=0;t<e.items.length;t++){let i=e.items[t];n+=this.listitem(i)}let r=t?"ol":"ul";return"<"+r+(t&&1!==i?' start="'+i+'"':"")+`> 50`+n+"</"+r+`> 51`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li> 52`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p> 53`}table(e){let t="",i="";for(let t=0;t<e.header.length;t++)i+=this.tablecell(e.header[t]);t+=this.tablerow({text:i});let n="";for(let t=0;t<e.rows.length;t++){let r=e.rows[t];i="";for(let e=0;e<r.length;e++)i+=this.tablecell(r[e]);n+=this.tablerow({text:i})}return n&&(n=`<tbody>${n}</tbody>`),`<table> 54<thead> 55`+t+`</thead> 56`+n+`</table> 57`}tablerow({text:e}){return`<tr> 58${e}</tr> 59`}tablecell(e){let t=this.parser.parseInline(e.tokens),i=e.header?"th":"td";return(e.align?`<${i} align="${e.align}">`:`<${i}>`)+t+`</${i}> 60`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${t_(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:i}){let n=this.parser.parseInline(i),r=tR(e);if(null===r)return n;let s='<a href="'+(e=r)+'"';return t&&(s+=' title="'+t_(t)+'"'),s+=">"+n+"</a>"}image({href:e,title:t,text:i,tokens:n}){n&&(i=this.parser.parseInline(n,this.parser.textRenderer));let r=tR(e);if(null===r)return t_(i);e=r;let s=`<img src="${e}" alt="${t_(i)}"`;return t&&(s+=` title="${t_(t)}"`),s+=">"}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:t_(e.text)}}
60,tU=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},tG=class e{options;renderer;textRenderer;constructor(e){this.options=e||ez,this.options.renderer=this.options.renderer||new tz,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new tU}static parse(t,i){return new e(i).parse(t)}static parseInline(t,i){return new e(i).parseInline(t)}parse(e){let t="";for(let i=0;i<e.length;i++){let n=e[i];if(this.options.extensions?.renderers?.[n.type]){let e=this.options.extensions.renderers[n.type].call({parser:this},n);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(n.type)){t+=e||"";continue}}switch(n.type){case"space":t+=this.renderer.space(n);break;case"hr":t+=this.renderer.hr(n);break;case"heading":t+=this.renderer.heading(n);break;case"code":t+=this.renderer.code(n);break;case"table":t+=this.renderer.table(n);break;case"blockquote":t+=this.renderer.blockquote(n);break;case"list":t+=this.renderer.list(n);break;case"checkbox":t+=this.renderer.checkbox(n);break;case"html":t+=this.renderer.html(n);break;case"def":t+=this.renderer.def(n);break;case"paragraph":t+=this.renderer.paragraph(n);break;case"text":t+=this.renderer.text(n);break;default:{let e='Token with "'+n.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return t}parseInline(e,t=this.renderer){let i="";for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=this.options.extensions.renderers[r.type].call({parser:this},r);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)){i+=e||"";continue}}switch(r.type){case"escape":case"text":i+=t.text(r);break;case"html":i+=t.html(r);break;case"link":i+=t.link(r);break;case"image":i+=t.image(r);break;case"checkbox":i+=t.checkbox(r);break;case"strong":i+=t.strong(r);break;case"em":i+=t.em(r);break;case"codespan":i+=t.codespan(r);break;case"br":i+=t.br(r);break;case"del":i+=t.del(r);break;default:{let e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return i}},t$=class{options;block;constructor(e){this.options=e||ez}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?tF.lex:tF.lexInline}provideParser(){return this.block?tG.parse:tG.parseInline}},tW=new class{defaults=eF();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=tG;Renderer=tz;TextRenderer=tU;Lexer=tF;Tokenizer=tV;Hooks=t$;constructor(...e){this.use(...e)}walkTokens(e,t){let i=[];for(let n of e)switch(i=i.concat(t.call(this,n)),n.type){case"table":for(let e of n.header)i=i.concat(this.walkTokens(e.tokens,t));for(let e of n.rows)for(let n of e)i=i.concat(this.walkTokens(n.tokens,t));break;case"list":i=i.concat(this.walkTokens(n.items,t));break;default:{let e=n;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(n=>{let r=e[n].flat(1/0);i=i.concat(this.walkTokens(r,t))}):e.tokens&&(i=i.concat(this.walkTokens(e.tokens,t)))}}return i}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let i={...e};if(i.async=this.defaults.async||i.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let i=t.renderers[e.name];i?t.renderers[e.name]=function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=i.apply(this,t)),n}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let i=t[e.level];i?i.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),i.extensions=t),e.renderer){let t=this.defaults.renderer||new tz(this.defaults);for(let i in e.renderer){if(!(i in t))throw Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let n=e.renderer[i],r=t[i];t[i]=(...e)=>{let i=n.apply(t,e);return!1===i&&(i=r.apply(t,e)),i||""}}i.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new tV(this.defaults);for(let i in e.tokenizer){if(!(i in t))throw Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let n=e.tokenizer[i],r=t[i];t[i]=(...e)=>{let i=n.apply(t,e);return!1===i&&(i=r.apply(t,e)),i}}i.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new t$;for(let i in e.hooks){if(!(i in t))throw Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let n=e.hooks[i],r=t[i];
60t$.passThroughHooks.has(i)?t[i]=e=>{if(this.defaults.async&&t$.passThroughHooksRespectAsync.has(i))return(async()=>{let i=await n.call(t,e);return r.call(t,i)})();let s=n.call(t,e);return r.call(t,s)}:t[i]=(...e)=>{if(this.defaults.async)return(async()=>{let i=await n.apply(t,e);return!1===i&&(i=await r.apply(t,e)),i})();let i=n.apply(t,e);return!1===i&&(i=r.apply(t,e)),i}}i.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;i.walkTokens=function(e){let i=[];return i.push(n.call(this,e)),t&&(i=i.concat(t.call(this,e))),i}}this.defaults={...this.defaults,...i}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return tF.lex(e,t??this.defaults)}parser(e,t){return tG.parse(e,t??this.defaults)}parseMarkdown(e){return(t,i)=>{let n={...i},r={...this.defaults,...n},s=this.onError(!!r.silent,!!r.async);if(!0===this.defaults.async&&!1===n.async)return s(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return s(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return s(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(r.hooks&&(r.hooks.options=r,r.hooks.block=e),r.async)return(async()=>{let i=r.hooks?await r.hooks.preprocess(t):t,n=await (r.hooks?await r.hooks.provideLexer():e?tF.lex:tF.lexInline)(i,r),s=r.hooks?await r.hooks.processAllTokens(n):n;r.walkTokens&&await Promise.all(this.walkTokens(s,r.walkTokens));let a=await (r.hooks?await r.hooks.provideParser():e?tG.parse:tG.parseInline)(s,r);return r.hooks?await r.hooks.postprocess(a):a})().catch(s);try{r.hooks&&(t=r.hooks.preprocess(t));let i=(r.hooks?r.hooks.provideLexer():e?tF.lex:tF.lexInline)(t,r);r.hooks&&(i=r.hooks.processAllTokens(i)),r.walkTokens&&this.walkTokens(i,r.walkTokens);let n=(r.hooks?r.hooks.provideParser():e?tG.parse:tG.parseInline)(i,r);return r.hooks&&(n=r.hooks.postprocess(n)),n}catch(e){return s(e)}}}onError(e,t){return i=>{if(i.message+=` 61Please report this to https://github.com/markedjs/marked.`,e){let e="<p>An error occurred:</p><pre>"+t_(i.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(i);throw i}}};function tq(e,t){return tW.parse(e,t)}tq.options=tq.setOptions=function(e){return tW.setOptions(e),tq.defaults=tW.defaults,ez=tq.defaults,tq},tq.getDefaults=eF,tq.defaults=ez,tq.use=function(...e){return tW.use(...e),tq.defaults=tW.defaults,ez=tq.defaults,tq},tq.walkTokens=function(e,t){return tW.walkTokens(e,t)},tq.parseInline=tW.parseInline,tq.Parser=tG,tq.parser=tG.parse,tq.Renderer=tz,tq.TextRenderer=tU,tq.Lexer=tF,tq.lexer=tF.lex,tq.Tokenizer=tV,tq.Hooks=t$,tq.parse=tq,tq.options,tq.setOptions,tq.use,tq.walkTokens,tq.parseInline,tG.parse,tF.lex;var tX=function(e){if(!e)return"";
61var t=e.replace(/\\r\\n/g,"\n").replace(/\\n/g,"\n").replace(/\\r/g,"\n");return tq.setOptions({gfm:!0,breaks:!0}),tq.parse(t)},tY=function(e,t){(0,es.useEffect)(function(){if(null==e?void 0:e.current){var i=function(){var i,n=null==(i=e.current)?void 0:i.querySelectorAll("table");n&&n.forEach(function(e){var i,n,r,s=e.querySelectorAll("tbody tr");if(0!==s.length){var a=null==(i=null==s?void 0:s[0])?void 0:i.querySelectorAll("th"),o=[];if(null==a||a.forEach(function(e){var t,i,n=e.querySelector("p"),r=null!=(i=null==(t=e.textContent)?void 0:t.trim())?i:"";e.setAttribute("aria-label",r||""),null==n||n.setAttribute("aria-hidden","true"),o.push(r)}),0===o.length&&e.querySelectorAll("thead th").forEach(function(e){var t,i;o.push(null!=(i=null==(t=e.textContent)?void 0:t.trim())?i:"")}),0!==o.length)for(var l=(null==a?void 0:a.length)&&(null==a?void 0:a.length)>0?1:0,u=l;u<s.length;u++){var c=null==(n=null==s?void 0:s[u])?void 0:n.querySelectorAll("th"),d=null==(r=null==s?void 0:s[u])?void 0:r.querySelectorAll("td, th");null==d||d.forEach(function(e,i){var n,r;if(o[i]){var s=o[i],a=null!=(r=null==(n=e.textContent)?void 0:n.trim())?r:"";s&&t&&e.setAttribute("data-label",s);var l=e.querySelector("p")||e.firstElementChild;l?l.setAttribute("aria-label","".concat(s," - ").concat(a)):e.setAttribute("aria-label","".concat(s," - ").concat(a))}}),null==c||c.forEach(function(e,t){if(o[t]){var i=e.querySelector("p");i&&(e.setAttribute("aria-label",i.getAttribute("aria-label")||""),i.setAttribute("aria-hidden","true"))}})}}})};i();var n=new MutationObserver(i);return e.current&&n.observe(e.current,{childList:!0,subtree:!0}),function(){return n.disconnect()}}},[e])};let tK=function(e){var t=e.iconColor,i=e.className;return(0,et.jsx)("svg",{className:"text-".concat(void 0===t?"gray-darkest":t," ").concat(void 0===i?"":i),width:24,height:24,viewBox:"0 0 24 24",children:(0,et.jsx)("path",{fill:"currentColor",d:"M21.33 21.33H2.67V2.67H12V0H2.67C1.19 0 0 1.19 0 2.67v18.67a2.67 2.67 0 0 0 2.67 2.67h18.67c1.47 0 2.67-1.2 2.67-2.67v-9.33h-2.67v9.33ZM14.67 0v2.67h4.79L6.35 15.77l1.88 1.88L21.34 4.54v4.79h2.67V0h-9.33Z"})})};var tZ=function(){return(tZ=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};let tQ=function(e){var t=e.html,i=e.markdown,n=e.title,r=e.VideoComponent,s=void 0===r?void 0:r,a=e.imageBaseHostUrl,o=void 0===a?"https://umbraco.skal.nl":a,l=e.blockSwitch,u=e.unorderedListIcon,c=void 0===u?null:u,d=e.buttonIcon,h=void 0===d?null:d,p=e.titleId,f=e.tailwindString,m=e.tailwindStringTitle,g=e.tailwindStringHeading2,v=void 0===g?"title-lg-mb md:title-lg":g,y=e.tailwindStringHeading3,b=void 0===y?"title-md-mb md:title-md":y,x=e.tailwindStringHeading4,w=void 0===x?"title-sm-mb md:title-sm":x,S=e.tailwindStringText,E=void 0===S?"body-md-mb md:body-md":S,T=e.tailwindStringLink,k=void 0===T?"":T,C=e.tailwindStringImage,P=void 0===C?"":C,A=e.tailwindStringVideo,I=void 0===A?"":A,M=e.tailwindStringButton,N=void 0===M?"":M,O=e.tailwindStringScrollbarTable,j=void 0===O?"":O,R=e.ariaLabelScrollbarTable,D=void 0===R?"Scrollable table":R,B=(e.tailwindStringFormWrapper,e.tailwindStringForm,e.isMobileVertical),H=e.printSupported,V=void 0!==H&&H,F=e.showExternalIcon,z=void 0===F||F,U=e.externalIcon,G=void 0===U?(0,et.jsx)(tK,{}):U,$=e.disableWebpFormatting,W=void 0!==$&&$,q=(0,es.useRef)(null);tY(q,void 0!==B&&B);var X=null==t?void 0:t.blocks,Y={replace:function(e){var t,i,n,r,a,u,d,p,f,m,g,y,x,S,T,C,A,M,O,R,B,H,F,U,$,q,K,Z,Q,J,ee,ei,en,er,es;if(e instanceof eD){var ea,eo,el,eu,ec,ed,eh,ep,ef,em,eg,ev=(eg="",e instanceof eD&&e.attribs&&((null==(ea=null==e?void 0:e.attribs.style)?void 0:ea.includes("text-align: center;"))&&(eg+="text-center"),(null==(eo=null==e?void 0:e.attribs.style)?void 0:eo.includes("text-align: left;"))&&(eg+="text-left"),(null==(el=null==e?void 0:e.attribs.style)?void 0:el.includes("text-align: right;"))&&(eg+="text-right"),(null==(eu=null==e?void 0:e.attribs.style)?void 0:eu.includes("margin-right: auto;"))&&(eg+="mr-auto "),(null==(ec=null==e?void 0:e.attribs.style)?void 0:ec.includes("margin-left: auto;"))&&(eg+="ml-auto "),(null==(ed=null==e?void 0:e.attribs.style)?void 0:ed.includes("float: right;"))&&(eg+="ml-auto "),(null==(eh=null==e?void 0:e.attribs.style)?void 0:eh.includes("border-color:"))&&(eg+="border-1 "),(null==(ep=null==e?void 0:e.attribs.style)?void 0:ep.includes("dashed"))&&(eg+="border-dashed [&_td]:border-dashed "),(null==(ef=null==e?void 0:e.attribs.style)?void 0:ef.includes("dotted"))&&(eg+="border-dotted [&_td]:border-dotted "),(null==(em=null==e?void 0:e.attribs.style)?void 0:em.includes("double"))&&(eg+="border-double [&_td]:border-double ")),eg);switch(/^umb/.test(null==(t=null==e?void 0:e.name)?void 0:t.toLocaleLowerCase())&&(null==e?void 0:e.attribs["data-content-id"])&&(e.name="umb"),null==e?void 0:e.name){case"h2":return(0,et.jsx)(ey,{headingLevel:_.H2,text:e_(null==e?void 0:e.children,Y),style:eR(null==e?void 0:e.attribs).style,tailwindString:"".concat(v," ").concat(ev)});case"h3":return(0,et.jsx)(ey,{headingLevel:_.H3,text:e_(null==e?void 0:e.children,Y),style:eR(null==e?void 0:e.attribs).style,tailwindString:"".concat(b," ").concat(ev)});case"h4":return(0,et.jsx)(ey,{headingLevel:_.H4,text:e_(null==e?void 0:e.children,Y),style:eR(null==e?void 0:e.attribs).style,tailwindString:"".concat(w," ").concat(ev)});case"p":return(0,et.jsx)("p",{style:eR(null==e?void 0:e.attribs).style,className:"mb-4 md:mb-6 ".concat(E," ").concat(ev),children:e_(null==e?void 0:e.children,Y)});case"table":return(0,et.jsx)("div",{className:"mb-4 md:mb-6 ".concat(E," ").concat(ev),children:(0,et.jsx)("div",{className:"overflow-x-auto focus:outline-none focus:ring-2 focus:ring-black focus:ring-offset-2 ".concat(j),tabIndex:0,role:"region","aria-label":D,style:{scrollbarWidth:"thin",scrollbarColor:"#6b7280 #f3f4f6"},children:(0,et.jsx)("table",tZ({},eR(null==e?void 0:e.attribs),{className:"min-w-full ".concat(ev),children:e_(null==e?void 0:e.children,Y)}))})});case"tr":return(0,et.jsx)("tr",tZ({},eR(null==e?void 0:e.attribs),{children:e_(null==e?void 0:e.children,Y)}));case"td":return(0,et.jsx)("td",tZ({},eR(null==e?void 0:e.attribs),{className:"".concat(ev),children:(0,et.jsx)("div",{children:e_(null==e?void 0:e.children,Y)})}));case"strong":return(0,et.jsx)("strong",{style:eR(null==e?void 0:e.attribs).style,className:"font-bold ".concat(ev),children:e_(null==e?void 0:e.children,Y)});case"em":return(0,et.jsx)("em",{style:eR(null==e?void 0:e.attribs).style,className:"italic ".concat(ev),children:e_(null==e?void 0:e.children,Y)});case"ul":return(0,et.jsx)("ul",{style:eR(null==e?void 0:e.attribs).style,className:"mb-4 list-disc px-4 md:mb-6 [&_ul]:mt-1 [&_ul]:mb-[3px] ".concat(E," ").concat(ev),children:e_(null==e?void 0:e.children,Y)});case"ol":return(0,et.jsx)("ol",{style:eR(null==e?void 0:e.attribs).style,className:"mb-4 ml-2 flex list-decimal flex-col gap-1 px-4 md:mb-6 md:ml-3 md:gap-2 [&_ol]:mt-1 [&_ol]:-mb-[3px] ".concat(E," ").concat(ev),start:(null==(i=null==e?void 0:e.attribs)?void 0:i.start)?Number(e.attribs.start):void 0,children:e_(null==e?void 0:e.children,Y)});case"li":if(e.parent instanceof eD&&"ul"==e.parent.name&&c)return(0,et.jsxs)("li",{style:eR(null==e?void 0:e.attribs).style,className:"flex list-none items-start gap-2 px-0!",children:[c,(0,et.jsx)("div",{children:e_(null==e?void 0:e.children,Y)})]});return(0,et.jsx)("li",{style:eR(null==e?void 0:e.attribs).style,children:e_(null==e?void 0:e.children,Y)});case"div":if((null==(r=null==(n=null==e?void 0:e.attribs)?void 0:n.class)?void 0:r.includes("embeditem"))&&(null==e?void 0:e.attribs["data-embed-url"]))return(0,et.jsx)(eV,{url:null==e?void 0:e.attribs["data-embed-url"],VideoComponent:s,tailwindString:I});return(0,et.jsx)("div",{children:e_(null==e?void 0:e.children,Y)});case"figure":if((null==(u=null==(a=null==e?void 0:e.children)?void 0:a[0])?void 0:u.name)==="iframe"&&(null==(m=null==(f=null==(p=null==(d=null==e?void 0:e.children)?void 0:d[0])?void 0:p.attribs)?void 0:f.src)?void 0:m.includes("youtube")))return(0,et.jsx)(eV,{url:null==(S=null==(x=null==(y=null==(g=null==e?void 0:e.children)?void 0:g[0])?void 0:y.attribs)?void 0:x.src)?void 0:S.replace("//",""),VideoComponent:s,tailwindString:I});return(0,et.jsx)("figure",{className:"mb-4 md:mb-6",children:e_(null==e?void 0:e.children,Y)});case"img":var eb=null!=(C=null==(T=null==e?void 0:e.attribs)?void 0:T.src)?C:"";if(!eb)return null;var ex=eb.replace(/^https?:\/\/[^/]+/,""),ew=null!=(O=null==(M=(null!=(A=ex.split("?")[0])?A:ex).split(".").pop())?void 0:M.toLowerCase())?O:"",eS={url:ex,extension:ew,width:Number(null==(R=null==e?void 0:e.attribs)?void 0:R.width)||void 0,height:Number(null==(B=null==e?void 0:e.attribs)?void 0:B.height)||void 0};return(0,et.jsx)(eO,{umbracoImageProps:eS,imageBaseHostUrl:"string"==typeof o?o:void 0,alt:null!=(F=null==(H=null==e?void 0:e.attribs)?void 0:H.alt)?F:"",className:"".concat(P," ").concat(ev," mb-4 md:mb-6"),disableWebpFormatting:W});case"a":var eE=(null==e?void 0:e.attribs.target)==="_blank";return(0,et.jsxs)("a",{style:eR(null==e?void 0:e.attribs).style,id:null!=($=null==(U=null==e?void 0:e.attribs)?void 0:U.id)?$:"",href:null!=(K=null==(q=null==e?void 0:e.attribs)?void 0:q.href)?K:"",target:null==(Z=null==e?void 0:e.attribs)?void 0:Z.target,className:"underline hover:underline ".concat(eE&&z&&"inline-flex items-center justify-center gap-1"," ").concat(k),children:[e_(null==e?void 0:e.children,Y),eE&&z?G:"",V&&(0,et.jsx)(eH,{tag:"span",tailwindString:"hidden print:inline-flex ml-1",children:null==(Q=null==e?void 0:e.attribs)?void 0:Q.href})]});case"umb":var eT=null==X?void 0:X.find(function(t){var i;return(null==(i=null==t?void 0:t.content)?void 0:i.id)==(null==e?void 0:e.attribs["data-content-id"])});if(l){var ek=l(eT);return null!=ek?ek:null}if((null==(ei=null==(ee=null==(J=null==eT?void 0:eT.content)?void 0:J.properties)?void 0:ee.buttonLink)?void 0:ei.length)>0)return(0,et.jsx)(eP,{className:N,umbracoLinkProps:null==(es=null==(er=null==(en=null==eT?void 0:eT.content)?void 0:en.properties)?void 0:er.buttonLink)?void 0:es[0],icon:(0,et.jsx)(et.Fragment,{children:h}),iconPosition:L.RIGHT})}}}},K=null;if(i?K=tX(i):(null==t?void 0:t.markup)&&(K=t.markup),!K)return null;var Z=eB(K,Y);return(0,et.jsxs)(et.Fragment,{children:[n&&(0,et.jsx)(ey,{id:void 0===p?void 0:p,headingLevel:_.H2,text:n,tailwindString:void 0===m?"title-lg-mb md:title-lg":m}),(0,et.jsx)("div",{ref:q,className:void 0===f?"":f,children:Z})]})},tJ=function(e){var t,i=e.text,n=e.blocks,r=e.tailwindStringInnerItem,s=e.tailwindStringOuterItem,a=e.tailwindStringRichText,o=e.tailwindStringButton,l=e.isOpen,u=e.bottomContent,c=e.customRichText,d=e.inert,h=void 0===d?null:d,p=(0,es.useRef)(null);return(0,et.jsx)("div",{ref:p,className:"overflow-hidden transition-[max-height] ease-in-out ".concat(s),"aria-hidden":!l,inert:null!==h?h:!l,style:{maxHeight:l?"".concat(null==(t=p.current)?void 0:t.scrollHeight,"px"):"0px"},children:(0,et.jsxs)("div",{className:"px-4 pb-5 pt-2 ".concat(r),children:[c?es.default.isValidElement(c)?c:es.default.cloneElement(c,{html:{markup:i,blocks:n||[]}}):i&&(0,et.jsx)(tQ,{html:{markup:i,blocks:n||[]},tailwindStringText:"body-md-mb md:body-md text-text-alternate !mb-0 ".concat(a),tailwindStringButton:o||""}),(0,et.jsx)(et.Fragment,{children:u&&u})]})})},t0=function(e){var t=e.title,i=e.subTitle,n=e.tailwindStringAccordeonHead,r=e.tailwindStringHeadingWrapper,s=e.tailwindStringHeading,a=e.tailwindStringSubHeading,o=e.isOpen,l=e.closedIcon,u=e.openIcon,c=e.ariaLabelOpen,d=e.ariaLabelClosed,h=e.onClickCallback;return(0,et.jsxs)("button",{className:"flex w-full items-start justify-between px-4 py-5 transition-all hover:bg-gray-lightest ".concat(n),"aria-label":"".concat(o?d:c," ").concat(t),"aria-expanded":o,onClick:h,children:[(0,et.jsxs)("div",{className:r,children:[(0,et.jsx)(ey,{headingLevel:_.H3,text:t,ariaHidden:!0,tailwindString:"label-md-mb !mb-0 text-left md:label-md ".concat(s)}),i&&(0,et.jsx)(ew,{text:i,tailwindString:"mb-0! text-left ".concat(a)})]}),(0,et.jsx)("span",{className:"min-w-5",children:o?u:l})]})};e.i(42908);var t1=function(){return(t1=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};let t2=function(e){var t=e.children,i=e.tag,n=e.id,r=e.tailwindString,s=e.style,a=e.ariaLabel,o=void 0===a?"":a;return t?(0,et.jsx)(void 0===i?"div":i,t1({id:(void 0===n?"":n)||void 0,className:"flex ".concat(void 0===r?"":r),style:void 0===s?{}:s},o&&{"aria-label":o},{children:t})):null};e.s(["default",0,t2],1043),(m=V||(V={})).SM="sm",m.MD="md",m.LG="lg";var t3=function(e){switch(e){case V.SM:return"h-[60px] lg:h-[213px]";case V.MD:return"h-[200px] lg:h-[213px]";case V.LG:default:return"h-[200px] lg:h-[326px]"}};e.s(["default",0,function(e){var t,i,n,r,s,a,o,l,u,c,d,h,p=e.image,f=e.title,m=e.text,g=e.subTitle,v=e.url,y=e.isExternal,b=e.showImage,x=e.imageContent,w=void 0===x?null:x,S=e.imageSize,E=void 0===S?V.LG:S,T=e.bottomContent,k=e.isListItem,C=e.tailwindString,P=e.tailwindStringImage,A=e.tailwindStringUmbracoImage,I=e.tailwindStringContent,M=e.tailwindStringSubtitle,L=e.tailwindStringTitle,N=e.tailwindStringText,O=e.tailwindStringWrapper,j=e.imageBaseHostUrl,R=(h="",p&&(d=(null==(s=null==(r=null==(n=null==(i=null==(t=null==p?void 0:p.items)?void 0:t[0])?void 0:i.content)?void 0:n.properties)?void 0:r.selectedImage)?void 0:s[0])||void 0,h=null!=(c=null==(u=null==(l=null==(o=null==(a=null==p?void 0:p.items)?void 0:a[0])?void 0:o.content)?void 0:l.properties)?void 0:u.altText)?c:""),{umbracoImage:d,altText:h}),D=R.umbracoImage,B=R.altText,H=t3(E);return(0,et.jsx)(void 0===k||k?"li":"div",{className:"w-full list-none ".concat(void 0===O?"":O),children:(0,et.jsxs)(v?"a":"div",{href:v,target:y&&v?"_blank":"_self",rel:y&&v?"noopener noreferrer":void 0,className:"group flex h-full flex-col overflow-hidden transition-all ".concat(void 0===C?"":C),children:[(void 0===b||b)&&(0,et.jsxs)("figure",{className:"relative ".concat(H," ").concat(void 0===P?"":P),children:[(0,et.jsx)(eI,{imageBaseHostUrl:void 0===j?"https://umbraco.skal.nl":j,umbracoImageProps:D,alt:B,className:"h-full object-cover ".concat(void 0===A?"":A)}),(0,et.jsx)(et.Fragment,{children:w&&w})]}),(0,et.jsxs)("div",{className:"flex flex-1 flex-col justify-between gap-4 ".concat(void 0===I?"":I
61),children:[(0,et.jsxs)("span",{children:[g&&("string"==typeof g?(0,et.jsx)(ew,{text:g,tailwindString:void 0===M?"":M}):g),f&&("string"==typeof f?(0,et.jsx)(ey,{headingLevel:_.H3,text:f,tailwindString:void 0===L?"":L}):f),m&&("string"==typeof m?(0,et.jsx)(ev,{content:m,tailwindString:void 0===N?"":N}):m)]}),T&&T]})]})})}],85486);let t5=function(e){var t=e.children,i=e.tailwindString,n=e.option,r=e.id,s=e.isFocused,a=void 0!==s&&s,o=(e.index,e.onClickCallback);return(0,et.jsxs)("li",{id:r,role:"option",tabIndex:-1,"aria-selected":a,onClick:o&&o,className:"min-h-6 cursor-pointer border-b px-4 py-3 transition-all last:border-none ".concat(a?"bg-blue-100 outline-2 outline-blue-600":"bg-white"," ").concat(void 0===i?"":i),children:[(null==n?void 0:n.label)&&(0,et.jsx)("span",{children:n.label}),t&&t]})},t6=function(e){var t=e.options,i=e.searchValue,n=e.hasSearch;return void 0===n||n?null==t?void 0:t.filter(function(e){var t;return null==(t=null==e?void 0:e.label)?void 0:t.toLowerCase().includes(i.toLowerCase())}):t},t8=function(e){var t=e.rotate,i=e.tailwindString;return(0,et.jsx)("svg",{className:"".concat(void 0!==t&&t?"-rotate-90":"rotate-90"," transition-transform ").concat(void 0===i?"text-black":i),role:"presentation",width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",children:(0,et.jsx)("path",{d:"M12 24.5L20 16.5L12 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},t4=function(e){var t=e.iconColor,i=e.className;return(0,et.jsx)("svg",{className:"text-".concat(void 0===t?"red":t," ").concat(void 0===i?"":i),width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,et.jsx)("path",{d:"M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})};var t9=function(){return(t9=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};let t7=function(e){var t=e.placeholder,i=void 0===t?"":t,n=e.defaultValue,r=e.id,s=e.label,a=e.tailwindString,o=e.tailwindStringForm,l=e.tailwindStringSearch,u=e.tailwindStringSubmitWrapper,c=e.tailwindStringSubmit,d=e.hideSubmitButton,h=e.searchIcon,p=void 0===h?(0,et.jsx)(t4,{}):h,f=e.minLength,m=void 0===f?void 0:f,g=e.maxLength,v=void 0===g?void 0:g,y=e.onChangeCallback,b=e.handleSubmitCallback;return(0,et.jsx)(eH,{tailwindString:"relative h-[60px] md:h-[72px] rounded-lg border border-gray-light bg-white px-4 py-2 md:px-6 md:py-3 transition-all focus-within:outline ".concat(void 0===a?"":a),children:(0,et.jsxs)("form",{className:"flex h-full items-center gap-4 ".concat(void 0===o?"":o),onSubmit:function(e){e.preventDefault(),b&&b(e)},children:[(0,et.jsx)(et.Fragment,{children:p}),(0,et.jsx)("input",t9({name:"search",id:void 0===r?"":r,placeholder:i,"aria-label":i,className:"label-md-mb h-full w-full !px-0 md:label-md focus:outline-none ".concat(void 0===l?"":l),defaultValue:void 0===n?"":n,onChange:y&&y},m&&{min:m},v&&{max:v})),!(void 0!==d&&d)&&(0,et.jsx)(eH,{tailwindString:void 0===u?"":u,children:(0,et.jsx)(en,{label:s,type:"submit",tailwindString:void 0===c?"":c})})]})})};e.s(["default",0,t7],58083),e.s(["default",0,function(e){var t,i=e.name,n=e.helpText,r=e.label,s=e.options,a=void 0===s?[]:s,o=e.required,l=void 0!==o&&o,u=e.defaultValue,c=e.value,d=e.onChange,h=e.labelAsFirstValue,p=void 0!==h&&h,f=e.errorMessage,m=e.searchIcon,g=e.searchPlaceholder,v=e.hasSearch,y=void 0===v||v,b=e.ariaLabel,x=e.tailwindString,w=e.tailwindStringLabel,S=void 0===w?"":w,E=e.tailwindStringChrevronWrapper,T=e.tailwindStringChrevron,k=e.tailwindStringSelect,C=e.tailwindStringOption,P=void 0===C?"":C,A=e.tailwindStringSearch,I=e.tailwindStringOptionWrapper,M=(0,es.useId)(),L=(0,es.useId)(),N=(0,es.useId)(),O=(0,es.useState)(!1),j=O[0],_=O[1],R=(0,es.useState)(c||(void 0===u?"":u)),D=R[0],B=R[1],H=(0,es.useState)(""),V=H[0],F=H[1],z=(0,es.useState)(""),U=z[0],G=z[1],$=(0,es.useState)(null),W=$[0],q=$[1],X=(0,es.useState)(-1),Y=X[0],K=X[1],Z=(0,es.useRef)(null),Q=(0,es.useRef)(null),J=function(e){B(e),q(null),null==d||d(e),_(!1),K(-1)};(0,es.useEffect)(function(){d&&d(D)},[D]),(0,es.useEffect)(function(){var e=setTimeout(function(){F(U),K(-1)},300);return function(){return clearTimeout(e)}},[U]),(0,es.useEffect)(function(){var e=function(e){Q.current&&!Q.current.contains(e.target)&&Z.current&&!Z.current.contains(e.target)&&(_(!1),F(""),G(""),K(-1))};return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}},[]);var ee=function(e){if("Escape"===e.key){_(!1),F(""),G(""),K(-1);return}
61if(!j){("ArrowDown"===e.key||"Enter"===e.key||" "===e.key)&&(e.preventDefault(),_(!0));return}var t,i=t6({options:a,searchValue:V,hasSearch:y}),n=+!!p+i.length;if("ArrowDown"===e.key)e.preventDefault(),K(function(e){return Math.min(e+1,n-1)});else if("ArrowUp"===e.key)e.preventDefault(),K(function(e){return Math.max(e-1,0)});else if("Enter"===e.key){if(e.preventDefault(),Y<0)return;if(p&&0===Y)J("");else{var r=i[Y-!!p];r&&J(r.value||"")}}else"Tab"===e.key&&(e.preventDefault(),_(!1),F(""),G(""),K(-1),null==(t=Z.current)||t.focus())};return(0,es.useEffect)(function(){if(!(Y<0)){var e=document.getElementById("".concat(M,"-option-").concat(Y));null==e||e.scrollIntoView({block:"nearest"})}},[Y,M]),(0,et.jsxs)(eH,{tailwindString:"relative",children:[!p&&(0,et.jsxs)("label",{htmlFor:M,className:"block ".concat(S),children:[r," ",l&&" *"]}),n&&(0,et.jsx)("span",{id:N,className:"block pb-2 text-base",children:n}),W&&(0,et.jsx)("span",{id:L,className:"".concat(S," text-signal-error block"),children:W}),(0,et.jsxs)("select",{id:M,name:i,"aria-expanded":j,defaultValue:D,"aria-required":l,"aria-label":b,"aria-describedby":"".concat(L," ").concat(n?N:""),className:"sr-only",children:[p&&(0,et.jsx)("option",{value:"",children:r}),null==a?void 0:a.map(function(e,t){var i;return(0,et.jsx)("option",{value:null!=(i=e.value)?i:"",children:e.label},t)})]}),(0,et.jsxs)("button",{onBlur:function(){l&&!D&&q(f||"Error")},className:"relative flex h-[60px] md:h-[72px] w-full items-center justify-between hyphens-auto border bg-white px-4 py-3 text-left transition-all ".concat(void 0===x?"":x),onClick:function(){return _(!j)},onKeyDown:ee,tabIndex:0,role:"combobox","aria-label":b,"aria-controls":M,"aria-expanded":j,ref:Z,children:[(0,et.jsx)("span",{className:"line-clamp-2 ".concat(S),children:(null==(t=a.find(function(e){return e.value===D}))?void 0:t.label)||r}),(0,et.jsx)("span",{className:"min-w-[45px] border-l pl-3 ".concat(void 0===E?"":E),children:(0,et.jsx)(t8,{tailwindString:void 0===T?"":T,rotate:j})})]}),j&&(0,et.jsxs)("div",{ref:Q,onKeyDown:ee,className:"absolute left-0 top-full z-10 mt-2 w-full overflow-hidden border xl:min-w-[350px] ".concat(void 0===k?"":k),children:[y&&(0,et.jsx)("div",{className:"relative z-10 shadow-md",children:(0,et.jsx)(t7,{defaultValue:U,placeholder:g,searchIcon:m,onChangeCallback:function(e){return G(e.target.value)},hideSubmitButton:!0,tailwindString:"!h-full rounded-none border-none bg-[transparent] !px-2 !py-0 focus-within:!outline-none",tailwindStringSearch:void 0===A?"":A})}),(0,et.jsxs)("ul",{className:"max-h-[210px] overflow-y-auto ".concat(void 0===I?"":I),role:"listbox","aria-activedescendant":Y>=0?"".concat(M,"-option-").concat(Y):void 0,children:[p&&(0,et.jsx)(t5,{id:"".concat(M,"-option-0"),isFocused:0===Y,tailwindString:P,option:{label:r,value:""},onClickCallback:function(){return J("")},index:0}),t6({options:a,searchValue:V,hasSearch:y}).map(function(e,t){var i=+!!p+t;return(0,et.jsx)(t5,{id:"".concat(M,"-option-").concat(i),isFocused:Y===i,tailwindString:P,option:e,onClickCallback:function(){return J((null==e?void 0:e.value)||"")},index:i},e.value)})]})]})]})}],84520);var ie=e.i(43614);e.s(["default",()=>ia],88506);let it=function(){"u">typeof document&&document.cookie.includes("googtrans=/")&&null!==document.querySelector(".goog-te-combo")&&(document.documentElement.classList.contains("translated-rtl")||document.documentElement.classList.contains("translated-ltr"))&&setTimeout(function(){var e;null==(e=document.querySelector(".goog-te-combo"))||e.dispatchEvent(new Event("change"))},200)},ii=function(e){var t=e.title,i=e.subTitle,n=e.text,r=e.blocks,s=e.isDefaultOpen,a=e.isOpen,o=e.onOpenChange,l=e.tailwindStringAccordeonHead,u=e.tailwindStringHeadingWrapper,c=e.tailwindStringHeading,d=e.tailwindStringSubHeading,h=e.tailwindStringInnerItem,p=e.tailwindStringOuterItem,f=e.tailwindStringRichText,m=e.tailwindStringLi,g=e.tailwindStringButton,v=e.closedIcon,y=e.openIcon,b=e.ariaLabelOpen,x=e.ariaLabelClosed,w=e.bottomContent,S=e.customRichText,E=e.inert,T=(0,es.useState)(void 0!==s&&s||!1),k=T[0],C=T[1],P=void 0!==a?a:k;return(0,es.useEffect)(function(){it()},[P]),(0,et.jsxs)("li",{className:"list-none border-b border-gray-light ".concat(m),children:[(0,et.jsx)(t0,{title:t||"",subTitle:(void 0===i?null:i)||"",tailwindStringHeadingWrapper:null!=u?u:"",tailwindStringAccordeonHead:null!=l?l:"",tailwindStringHeading:null!=c?c:"",tailwindStringSubHeading:null!=d?d:"",isOpen:P,closedIcon:v,openIcon:y,ariaLabelOpen:b,ariaLabelClosed:x,onClickCallback:function(){var e=!P;C(e),null==o||o(e)}}
61),(0,et.jsx)(tJ,{inert:void 0===E?null:E,text:n,blocks:void 0===r?[]:r,isOpen:P,tailwindStringInnerItem:h,tailwindStringOuterItem:p,tailwindStringRichText:f,tailwindStringButton:g,bottomContent:void 0===w?null:w,customRichText:S})]})},ir=function(e){var t=e.iconColor,i=e.className,n=e.title,r=void 0===n?"":n;return(0,et.jsxs)("svg",{className:"text-".concat(void 0===t?"gray-darkest":t," ").concat(void 0===i?"":i),width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r&&(0,et.jsx)("title",{children:r}),(0,et.jsx)("path",{d:"M5 12H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]})},is=function(e){var t=e.iconColor,i=e.className,n=e.title,r=void 0===n?"":n;return(0,et.jsxs)("svg",{className:"text-".concat(void 0===t?"gray-darkest":t," ").concat(void 0===i?"":i),width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r&&(0,et.jsx)("title",{children:r}),(0,et.jsx)("path",{d:"M12 5V19M5 12H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]})},ia=function(e){var t=e.title,i=e.text,n=e.items,r=e.tailwindStringTitle,s=e.tailwindStringText,a=e.tailwindStringAccordeonHead,o=e.tailwindStringHeadingWrapper,l=e.tailwindStringHeading,u=e.tailwindStringSubHeading,c=e.tailwindStringInnerItem,d=e.tailwindStringOuterItem,h=e.tailwindStringRichText,p=e.tailwindStringUl,f=e.tailwindStringLi,m=e.tailwindStringButton,g=e.closedIcon,v=void 0===g?(0,et.jsx)(is,{className:"min-w-6"}):g,y=e.openIcon,b=void 0===y?(0,et.jsx)(ir,{className:"min-w-6"}):y,x=e.ariaLabelOpen,w=e.ariaLabelClosed,S=e.inert,E=void 0===S?null:S;return n?(0,et.jsxs)(et.Fragment,{children:[t&&(0,et.jsx)(ey,{headingLevel:_.H2,text:t||"",tailwindString:"title-lg-mb mb-6 md:title-lg ".concat(r)}),i&&(0,et.jsx)(tQ,{html:i,tailwindString:s}),(0,et.jsx)("ul",{className:"border-t border-gray-light ".concat(p),children:(null==n?void 0:n.length)&&(null==n?void 0:n.length)>0&&(null==n?void 0:n.map(function(e,t){return(0,et.jsx)(ii,{title:e.title,subTitle:e.subTitle,isDefaultOpen:e.isDefaultOpen,isOpen:e.isOpen,onOpenChange:e.onOpenChange,tailwindStringAccordeonHead:a,tailwindStringHeadingWrapper:o,tailwindStringHeading:l,tailwindStringSubHeading:u,tailwindStringInnerItem:c,tailwindStringOuterItem:d,tailwindStringRichText:h,tailwindStringLi:f,tailwindStringButton:m,text:e.text,blocks:e.blocks,openIcon:b,closedIcon:v,ariaLabelOpen:x,ariaLabelClosed:w,bottomContent:e.bottomContent,customRichText:e.customRichText,inert:E},t)}))})]}):null},io=(0,es.createContext)({});function il(e){let t=(0,es.useRef)(null);return null===t.current&&(t.current=e()),t.current}let iu="u">typeof window,ic=iu?es.useLayoutEffect:es.useEffect,id=(0,es.createContext)(null);function ih(e){return"object"==typeof e&&null!==e}function ip(e){return ih(e)&&"offsetHeight"in e}var im=es;let ig=(0,es.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function iv(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class iy extends im.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,i=ip(e)&&e.offsetWidth||0,n=ip(e)&&e.offsetHeight||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=i-r.width-r.left,r.bottom=n-r.height-r.top}return null}componentDidUpdate(){}render(){return this.props.children}}function ib({children:e,isPresent:t,anchorX:i,anchorY:n,root:r,pop:s}){let a=(0,im.useId)(),o=(0,im.useRef)(null),l=(0,im.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=(0,im.useContext)(ig),c=function(...e){return es.useCallback(function(...e){return t=>{let i=!1,n=e.map(e=>{let n=iv(e,t);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let t=0;t<n.length;t++){let i=n[t];"function"==typeof i?i():iv(e[t],null)}}}}(...e),e)}(o,e.props?.ref??e?.ref);return(0,im.useInsertionEffect)(()=>{let{width:e,height:c,top:d,left:h,right:p,bottom:f}=l.current;if(t||!1===s||!o.current||!e||!c)return;
61let m="left"===i?`left: ${h}`:`right: ${p}`,g="bottom"===n?`bottom: ${f}`:`top: ${d}`;o.current.dataset.motionPopId=a;let v=document.createElement("style");u&&(v.nonce=u);let y=r??document.head;return y.appendChild(v),v.sheet&&v.sheet.insertRule(` 62 [data-motion-pop-id="${a}"] { 63 position: absolute !important; 64 width: ${e}px !important; 65 height: ${c}px !important; 66 ${m}px !important; 67 ${g}px !important; 68 } 69 `),()=>{y.contains(v)&&y.removeChild(v)}},[t]),(0,et.jsx)(iy,{isPresent:t,childRef:o,sizeRef:l,pop:s,children:!1===s?e:im.cloneElement(e,{ref:c})})}let ix=({children:e,initial:t,isPresent:i,onExitComplete:n,custom:r,presenceAffectsLayout:s,mode:a,anchorX:o,anchorY:l,root:u})=>{let c=il(iw),d=(0,es.useId)(),h=!0,p=(0,es.useMemo)(()=>(h=!1,{id:d,initial:t,isPresent:i,custom:r,onExitComplete:e=>{for(let t of(c.set(e,!0),c.values()))if(!t)return;n&&n()},register:e=>(c.set(e,!1),()=>c.delete(e))}),[i,c,n]);return s&&h&&(p={...p}),(0,es.useMemo)(()=>{c.forEach((e,t)=>c.set(t,!1))},[i]),es.useEffect(()=>{i||c.size||!n||n()},[i]),e=(0,et.jsx)(ib,{pop:"popLayout"===a,isPresent:i,anchorX:o,anchorY:l,root:u,children:e}),(0,et.jsx)(id.Provider,{value:p,children:e})};function iw(){return new Map}function iS(e=!0){let t=(0,es.useContext)(id);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=t,s=(0,es.useId)();(0,es.useEffect)(()=>{if(e)return r(s)},[e]);let a=(0,es.useCallback)(()=>e&&n&&n(s),[s,n,e]);return!i&&n?[!1,a]:[!0]}let iE=e=>e.key||"";function iT(e){let t=[];return es.Children.forEach(e,e=>{(0,es.isValidElement)(e)&&t.push(e)}),t}let ik=({children:e,custom:t,initial:i=!0,onExitComplete:n,presenceAffectsLayout:r=!0,mode:s="sync",propagate:a=!1,anchorX:o="left",anchorY:l="top",root:u})=>{let[c,d]=iS(a),h=(0,es.useMemo)(()=>iT(e),[e]),p=a&&!c?[]:h.map(iE),f=(0,es.useRef)(!0),m=(0,es.useRef)(h),g=il(()=>new Map),v=(0,es.useRef)(new Set),[y,b]=(0,es.useState)(h),[x,w]=(0,es.useState)(h);ic(()=>{f.current=!1,m.current=h;for(let e=0;e<x.length;e++){let t=iE(x[e]);p.includes(t)?(g.delete(t),v.current.delete(t)):!0!==g.get(t)&&g.set(t,!1)}},[x,p.length,p.join("-")]);let S=[];if(h!==y){let e=[...h];for(let t=0;t<x.length;t++){let i=x[t],n=iE(i);p.includes(n)||(e.splice(t,0,i),S.push(i))}return"wait"===s&&S.length&&(e=S),w(iT(e)),b(h),null}let{forceRender:E}=(0,es.useContext)(io);return(0,et.jsx)(et.Fragment,{children:x.map(e=>{let y=iE(e),b=(!a||!!c)&&(h===x||p.includes(y));return(0,et.jsx)(ix,{isPresent:b,initial:(!f.current||!!i)&&void 0,custom:t,presenceAffectsLayout:r,mode:s,root:u,onExitComplete:b?void 0:()=>{if(v.current.has(y)||(v.current.add(y),!g.has(y)))return;g.set(y,!0);let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(E?.(),w(m.current),a&&d?.(),n&&n())},anchorX:o,anchorY:l,children:e},y)})})},iC=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],iP=new Set(iC),iA=(e,t,i)=>i>t?t:i<e?e:i,iI={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},iM={...iI,transform:e=>iA(0,1,e)},iL={...iI,default:1},iN=e=>Math.round(1e5*e)/1e5,iO=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ij=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,i_=(e,t)=>i=>!!("string"==typeof i&&ij.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),iR=(e,t,i)=>n=>{if("string"!=typeof n)return n;let[r,s,a,o]=n.match(iO);return{[e]:parseFloat(r),[t]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},iD={...iI,transform:e=>Math.round(iA(0,255,e))},iB={test:i_("rgb","red"),parse:iR("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+iD.transform(e)+", "+iD.transform(t)+", "+iD.transform(i)+", "+iN(iM.transform(n))+")"},iH={test:i_("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alph
69a:r?parseInt(r,16)/255:1}},transform:iB.transform},iV=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),iF=iV("deg"),iz=iV("%"),iU=iV("px"),iG=iV("vh"),i$=iV("vw"),iW={...iz,parse:e=>iz.parse(e)/100,transform:e=>iz.transform(100*e)},iq={test:i_("hsl","hue"),parse:iR("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+iz.transform(iN(t))+", "+iz.transform(iN(i))+", "+iN(iM.transform(n))+")"},iX={test:e=>iB.test(e)||iH.test(e)||iq.test(e),parse:e=>iB.test(e)?iB.parse(e):iq.test(e)?iq.parse(e):iH.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?iB.transform(e):iq.transform(e),getAnimatableNone:e=>{let t=iX.parse(e);return t.alpha=0,iX.transform(t)}},iY=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,iK="number",iZ="color",iQ=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function iJ(e){let t=e.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,a=t.replace(iQ,e=>(iX.test(e)?(n.color.push(s),r.push(iZ),i.push(iX.parse(e))):e.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(e)):(n.number.push(s),r.push(iK),i.push(parseFloat(e))),++s,"${}")).split("${}");return{values:i,split:a,indexes:n,types:r}}function i0(e){return iJ(e).values}function i1(e){let{split:t,types:i}=iJ(e),n=t.length;return e=>{let r="";for(let s=0;s<n;s++)if(r+=t[s],void 0!==e[s]){let t=i[s];t===iK?r+=iN(e[s]):t===iZ?r+=iX.transform(e[s]):r+=e[s]}return r}}let i2=e=>"number"==typeof e?0:iX.test(e)?iX.getAnimatableNone(e):e,i3={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(iO)?.length||0)+(e.match(iY)?.length||0)>0},parse:i0,createTransformer:i1,getAnimatableNone:function(e){let t=i0(e);return i1(e)(t.map(i2))}},i5=new Set(["brightness","contrast","saturate","opacity"]);function i6(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(iO)||[];if(!n)return e;let r=i.replace(n,""),s=+!!i5.has(t);return n!==i&&(s*=100),t+"("+s+r+")"}let i8=/\b([a-z-]*)\(.*?\)/gu,i4={...i3,getAnimatableNone:e=>{let t=e.match(i8);return t?t.map(i6).join(" "):e}},i9={...i3,getAnimatableNone:e=>{let t=i3.parse(e);return i3.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},i7={...iI,transform:Math.round},ne={borderWidth:iU,borderTopWidth:iU,borderRightWidth:iU,borderBottomWidth:iU,borderLeftWidth:iU,borderRadius:iU,borderTopLeftRadius:iU,borderTopRightRadius:iU,borderBottomRightRadius:iU,borderBottomLeftRadius:iU,width:iU,maxWidth:iU,height:iU,maxHeight:iU,top:iU,right:iU,bottom:iU,left:iU,inset:iU,insetBlock:iU,insetBlockStart:iU,insetBlockEnd:iU,insetInline:iU,insetInlineStart:iU,insetInlineEnd:iU,padding:iU,paddingTop:iU,paddingRight:iU,paddingBottom:iU,paddingLeft:iU,paddingBlock:iU,paddingBlockStart:iU,paddingBlockEnd:iU,paddingInline:iU,paddingInlineStart:iU,paddingInlineEnd:iU,margin:iU,marginTop:iU,marginRight:iU,marginBottom:iU,marginLeft:iU,marginBlock:iU,marginBlockStart:iU,marginBlockEnd:iU,marginInline:iU,marginInlineStart:iU,marginInlineEnd:iU,fontSize:iU,backgroundPositionX:iU,backgroundPositionY:iU,rotate:iF,rotateX:iF,rotateY:iF,rotateZ:iF,scale:iL,scaleX:iL,scaleY:iL,scaleZ:iL,skew:iF,skewX:iF,skewY:iF,distance:iU,translateX:iU,translateY:iU,translateZ:iU,x:iU,y:iU,z:iU,perspective:iU,transformPerspective:iU,opacity:iM,originX:iW,originY:iW,originZ:iU,zIndex:i7,fillOpacity:iM,strokeOpacity:iM,numOctaves:i7},nt={...ne,color:iX,backgroundColor:iX,outlineColor:iX,fill:iX,stroke:iX,borderColor:iX,borderTopColor:iX,borderRightColor:iX,borderBottomColor:iX,borderLeftColor:iX,filter:i4,WebkitFilter:i4,mask:i9,WebkitMask:i9},ni=e=>nt[e],nn=()=>({translate:0,scale:1,origin:0,originPoint:0}),nr=()=>({x:nn(),y:nn()}),ns=()=>({min:0,max:0}),na=()=>({x:ns(),y:ns()}),no=e=>!!(e&&e.getVelocity),nl=new Set(["width","height","top","left","right","bottom",...iC]),nu=e=>t=>t.test(e),nc=[iI,iU,iz,iF,i$,iG,{test:e=>"auto"===e,parse:e=>e}],nd=e=>nc.find(nu(e)),nh=()=>{},np=()=>{};eA.default;let nf=e=>t=>"string"==typeof t&&t.startsWith(e),nm=nf("--"),ng=nf("var(--"),nv=e=>!!ng(e)&&ny.test(e.split("/*")[0].trim()),ny=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function nb(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let nx=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,nw=e=>180*e/Math.PI,nS=e=>nT(nw(Math.atan2(e[1],e[0]))),nE={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:nS,rotateZ:nS,skewX:e=>nw(Math.atan(e[1])),skewY:e=>nw(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},nT=e=>((e%=360)<0&&(e+=360),e),nk=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),nC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),nP={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:nk,scaleY:nC,scale:e=>(nk(e)+nC(e))/2,rotateX:e=>nT(nw(Math.atan2(e[6],e[5]))),rotateY:e=>nT(nw(Math.atan2(-e[2],e[0]))),rotateZ:nS,rotate:nS,skewX:e=>nw(Math.atan(e[4])),skewY:e=>nw(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function nA(e){return+!!e.includes("scale")}function nI(e,t){let i,n;if(!e||"none"===e)return nA(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=nP,n=r;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=nE,n=t}if(!n)return nA(t);let s=i[t],a=n[1].split(",").map(nM);return"function"==typeof s?s(a):a[s]}function nM(e){return parseFloat(e.trim())}let nL=e=>e===iI||e===iU,nN=new Set(["x","y","z"]),nO=iC.filter(e=>!nN.has(e)),nj={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>nI(t,"x"),y:(e,{transform:t})=>nI(t,"y")};nj.translateX=nj.x,nj.translateY=nj.y;let n_=e=>e,nR={},nD=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function nB(e,t){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,a=nD.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,n=new Set,r=!1,s=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){a.has(t)&&(c.schedule(t),e()),l++,t(o)}let c={schedule:(e,t=!1,s=!1)=>{let o=s&&r?i:n;return t&&a.add(e),o.has(e)||o.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){s=!0;return}
69r=!0,[i,n]=[n,i],i.forEach(u),t,l=0,i.clear(),r=!1,s&&(s=!1,c.process(e))}};return c}(s,t?i:void 0),e),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:p,postRender:f}=a,m=()=>{let s=nR.useManualTiming?r.timestamp:performance.now();i=!1,nR.useManualTiming||(r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1)),r.timestamp=s,r.isProcessing=!0,o.process(r),l.process(r),u.process(r),c.process(r),d.process(r),h.process(r),p.process(r),f.process(r),r.isProcessing=!1,i&&t&&(n=!1,e(m))};return{schedule:nD.reduce((t,s)=>{let o=a[s];return t[s]=(t,s=!1,a=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||e(m)),o.schedule(t,s,a)),t},{}),cancel:e=>{for(let t=0;t<nD.length;t++)a[nD[t]].cancel(e)},state:r,steps:a}}let{schedule:nH,cancel:nV,state:nF,steps:nz}=nB("u">typeof requestAnimationFrame?requestAnimationFrame:n_,!0),nU=new Set,nG=!1,n$=!1,nW=!1;function nq(){if(n$){let e=Array.from(nU).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t,n=(t=[],nO.forEach(i=>{let n=e.getValue(i);void 0!==n&&(t.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),t);n.length&&(i.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}n$=!1,nG=!1,nU.forEach(e=>e.complete(nW)),nU.clear()}function nX(){nU.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(n$=!0)})}class nY{constructor(e,t,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(nU.add(this),nG||(nG=!0,nH.read(nX),nH.resolveKeyframes(nq))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:n}=this;if(null===e[0]){let r=n?.get(),s=e[e.length-1];if(void 0!==r)e[0]=r;else if(i&&t){let n=i.readValue(t,s);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=s),n&&void 0===r&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),nU.delete(this)}cancel(){"scheduled"===this.state&&(nU.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let nK=new Set([i4,i9]);function nZ(e,t){let i=ni(e);return nK.has(i)||(i=i3),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let nQ=new Set(["auto","none","0"]);class nJ extends nY{constructor(e,t,i,n,r){super(e,t,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let n=e[i];if("string"==typeof n&&nv(n=n.trim())){let r=function e(t,i,n=1){np(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(e){let t=nx.exec(e);if(!t)return[,];let[,i,n,r]=t;return[`--${i??n}`,r]}(t);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let e=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return nv(s)?e(s,i,n+1):s}(n,t.current);void 0!==r&&(e[i]=r),i===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!nl.has(i)||2!==e.length)return;let[n,r]=e,s=nd(n),a=nd(r);if(nb(n)!==nb(r)&&nj[i]){this.needsMeasurement=!0;return}if(s!==a)if(nL(s)&&nL(a))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else nj[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&i.push(t);i.length&&function(e,t,i){let n,r=0;for(;r<e.length&&!n;){let t=e[r];"string"==typeof t&&!nQ.has(t)&&iJ(t).values.length&&(n=e[r]),r++}if(n&&i)for(let r of t)e[r]=nZ(i,n)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=nj[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(i,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=nj[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
69h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let n0=e=>1e3*e;function n1(e,t){-1===e.indexOf(t)&&e.push(t)}function n2(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class n3{constructor(){this.subscriptions=[]}add(e){return n1(this.subscriptions,e),()=>n2(this.subscriptions,e)}notify(e,t,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function n5(e){let t;return()=>(void 0===t&&(t=e()),t)}let n6={};function n8(e,t){let i=n5(e);return()=>n6[t]??i()}let n4=n8(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),n9=e=>null!==e;function n7(e,{repeat:t,repeatType:i="loop"},n,r=1){let s=e.filter(n9),a=r<0||t&&"loop"!==i&&t%2==1?0:s.length-1;return a&&void 0!==n?n:s[a]}class re{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let rt={layout:0,mainThread:0,waapi:0},ri=e=>Array.isArray(e)&&"number"==typeof e[0],rn=n8(()=>{try{document.createElement("div").animate({opacity:0}
69,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),rr=(e,t,i=10)=>{let n="",r=Math.max(Math.round(t/i),2);for(let t=0;t<r;t++)n+=Math.round(1e4*e(t/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},rs=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,ra={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rs([0,.65,.55,1]),circOut:rs([.55,0,1,.45]),backIn:rs([.31,.01,.66,-.59]),backOut:rs([.33,1.53,.69,.99])};function ro(e){return"function"==typeof e&&"applyToOptions"in e}class rl extends re{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:a,onComplete:o}=e;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=e,np("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return ro(e)&&rn()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let c={[t]:i};l&&(c.offset=l);let d=function e(t,i){if(t)return"function"==typeof t?rn()?rr(t,i):"ease-out":ri(t)?rs(t):Array.isArray(t)?t.map(t=>e(t,i)||ra.easeOut):ra[t]}(o,r);Array.isArray(d)&&(c.easing=d);let h={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};u&&(h.pseudoElement=u);let p=e.animate(c,h);return p}(t,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let e=n7(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(e):i.startsWith("--")?t.style.setProperty(i,e):t.style[i]=e,this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=n0(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&n4())?(this.animation.timeline=e,n_):t(this)}}let ru=new Set(["opacity","clipPath","filter","transform"]),{schedule:rc}=nB(queueMicrotask,!1);function rd(){t=void 0}let rh={now:()=>(void 0===t&&rh.set(nF.isProcessing||nR.useManualTiming?nF.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(rd)}};class rp{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=rh.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=rh.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new n3);let i=this.events[e].add(t);return"change"===e?()=>{i(),nH.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return o&&o.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=rh.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function rf(e,t){return new rp(e,t)}let rm=[...nc,iX,i3],rg=new WeakMap;function rv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function ry(e){return"string"==typeof e||Array.isArray(e)}let rb=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],rx=["initial",...rb];function rw(e){return rv(e.animate)||rx.some(t=>ry(e[t]))}function rS(e){return!!(rw(e)||e.variants)}let rE={current:null},rT={current:!1},rk="u">typeof window;function rC(e){let t=[{},{}];
69return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function rP(e,t,i,n){if("function"==typeof t){let[r,s]=rC(n);t=t(void 0!==i?i:e.custom,r,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[r,s]=rC(n);t=t(void 0!==i?i:e.custom,r,s)}return t}let rA=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rI={};class rM{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=nY,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=rh.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,nH.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=o,this.blockInitialAnimation=!!s,this.isControllingVariants=rw(t),this.isVariantNode=rS(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&no(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,rg.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(rT.current||function(){if(rT.current=!0,rk)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rE.current=e.matches;e.addEventListener("change",t),t()}else rE.current=!1}(),this.shouldReduceMotion=rE.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),nV(this.notifyUpdate),nV(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&ru.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:s,duration:a}=t.accelerate,o=new rl({element:this.current,name:e,keyframes:n,times:r,ease:s,duration:n0(a)}),l=i(o);this.valueSubscriptions.set(e,()=>{l(),o.cancel()});return}let n=iP.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&nH.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in rI){let t=rI[e];if(!t)continue;let{isEnabled:i,Feature:n}=t;if(!this.features[e]&&n&&i(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];
69t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):na()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<rA.length;t++){let i=rA[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=e["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(e,t,i){for(let n in t){let r=t[n],s=i[n];if(no(r))e.addValue(n,r);else if(no(s))e.addValue(n,rf(r,{owner:e}));else if(s!==r)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{let t=e.getStaticValue(n);e.addValue(n,rf(void 0!==t?t:r,{owner:e}))}}for(let n in i)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=rf(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){let n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!rm.find(nu(n))&&i3.test(t)&&(i=nZ(e,t))}this.setBaseTarget(e,no(i)?i.get():i)}return no(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=rP(this.props,i,this.presenceContext?.custom);n&&(t=n[e])}if(i&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||no(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new n3),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){rc.render(this.render)}}class rL extends rM{constructor(){super(...arguments),this.KeyframeResolver=nJ}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;no(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function rN(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let rO=(e,t)=>t&&"number"==typeof e?t.transform(e):e,rj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},r_=iC.length;function rR(e,t,i){let{style:n,vars:r,transformOrigin:s}=e,a=!1,o=!1;for(let e in t){let i=t[e];if(iP.has(e)){a=!0;continue}if(nm(e)){r[e]=i;continue}{let t=rO(i,ne[e]);e.startsWith("origin")?(o=!0,s[e]=t):n[e]=t}}if(!t.transform&&(a||i?n.transform=function(e,t,i){let n="",r=!0;for(let s=0;s<r_;s++){let a=iC[s],o=e[a];if(void 0===o)continue;let l=!0;if("number"==typeof o)l=o===+!!a.startsWith("scale");else{let e=parseFloat(o);l=a.startsWith("scale")?1===e:0===e}if(!l||i){let e=rO(o,ne[a]);if(!l){r=!1;let t=rj[a]||a;n+=`${t}(${e}) `}i&&(t[a]=e)}}return n=n.trim(),i?n=i(t,r?"":n):r&&(n="none"),n}(t,e.transform,i):n.transform&&(n.transform="none")),o){let{originX:e="50%",originY:t="50%",originZ:i=0}=s;n.transformOrigin=`${e} ${t} ${i}`}}let rD={offset:"stroke-dashoffset",array:"stroke-dasharray"},rB={offset:"strokeDashoffset",array:"strokeDasharray"},rH=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function rV(e,{attrX:t,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:a=0,...o}
69,l,u,c){if(rR(e,o,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;for(let e of(d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete d.transformBox),rH))void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==r&&function(e,t,i=1,n=0,r=!0){e.pathLength=1;let s=r?rD:rB;e[s.offset]=`${-n}`,e[s.array]=`${t} ${i}`}(d,r,s,a,!1)}let rF=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),rz=e=>"string"==typeof e&&"svg"===e.toLowerCase();function rU(e,{style:t,vars:i},n,r){let s,a=e.style;for(s in t)a[s]=t[s];for(s in r?.applyProjectionStyles(a,n),i)a.setProperty(s,i[s])}function rG(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let r$={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!iU.test(e))return e;else e=parseFloat(e);let i=rG(e,t.target.x),n=rG(e,t.target.y);return`${i}% ${n}%`}},rW=(e,t,i)=>e+(t-e)*i,rq={borderRadius:{...r$,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:r$,borderTopRightRadius:r$,borderBottomLeftRadius:r$,borderBottomRightRadius:r$,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=i3.parse(e);if(n.length>5)return e;let r=i3.createTransformer(e),s=+("number"!=typeof n[0]),a=i.x.scale*t.x,o=i.y.scale*t.y;n[0+s]/=a,n[1+s]/=o;let l=rW(a,o,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function rX(e,{layout:t,layoutId:i}){return iP.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!rq[e]||"opacity"===e)}function rY(e,t,i){let n=e.style,r=t?.style,s={};if(!n)return s;for(let t in n)(no(n[t])||r&&no(r[t])||rX(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(s[t]=n[t]);return s}function rK(e,t,i){let n=rY(e,t,i);for(let i in e)(no(e[i])||no(t[i]))&&(n[-1!==iC.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return n}class rZ extends rL{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=na}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(iP.has(t)){let e=ni(t);return e&&e.default||0}return t=rF.has(t)?t:rN(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return rK(e,t,i)}build(e,t,i){rV(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,n){for(let i in rU(e,t,void 0,n),t.attrs)e.setAttribute(rF.has(i)?i:rN(i),t.attrs[i])}mount(e){this.isSVGTag=rz(e.tagName),super.mount(e)}}function rQ({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function rJ(e){return void 0===e||1===e}function r0({scale:e,scaleX:t,scaleY:i}){return!rJ(e)||!rJ(t)||!rJ(i)}function r1(e){return r0(e)||r2(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function r2(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function r3(e,t,i,n,r){return void 0!==r&&(e=n+r*(e-n)),n+i*(e-n)+t}function r5(e,t=0,i=1,n,r){e.min=r3(e.min,t,i,n,r),e.max=r3(e.max,t,i,n,r)}function r6(e,{x:t,y:i}){r5(e.x,t.translate,t.scale,t.originPoint),r5(e.y,i.translate,i.scale,i.originPoint)}function r8(e,t){e.min=e.min+t,e.max=e.max+t}function r4(e,t,i,n,r=.5){let s=rW(e.min,e.max,r);r5(e,t,i,s,n)}function r9(e,t){r4(e.x,t.x,t.scaleX,t.scale,t.originX),r4(e.y,t.y,t.scaleY,t.scale,t.originY)}function r7(e,t){return rQ(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}class se extends rL{constructor(){super(...arguments),this.type="html",this.renderInstance=rU}readValueFromInstance(e,t){if(iP.has(t))return this.projection?.isProjecting?nA(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return nI(i,t)})(e,t);{let i=window.getComputedStyle(e),n=(nm(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return r7(e,t)}build(e,t,i){rR(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return rY(e,t,i)}}let st=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function si(e){if("string"!=typeof e||e.includes("-"));else if(st.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let sn=(0,es.createContext)({strict:!1}),sr=(0,es.createContext)({});function ss(e){return Array.isArray(e)?e.join(" "):e}let sa=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
69function so(e,t,i){for(let n in t)no(t[n])||rX(n,i)||(e[n]=t[n])}let sl=()=>({...sa(),attrs:{}}),su=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function sc(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||su.has(e)}let sd=e=>!sc(e);try{g=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default,"function"==typeof g&&(sd=e=>e.startsWith("on")?!sc(e):g(e))}catch{}function sh(e){return no(e)?e.get():e}let sp=e=>(t,i)=>{let n=(0,es.useContext)(sr),r=(0,es.useContext)(id),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,n,r){return{latestValues:function(e,t,i,n){let r={},s=n(e,{});for(let e in s)r[e]=sh(s[e]);let{initial:a,animate:o}=e,l=rw(e),u=rS(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===o&&(o=t.animate));let c=!!i&&!1===i.initial,d=(c=c||!1===a)?o:a;if(d&&"boolean"!=typeof d&&!rv(d)){let t=Array.isArray(d)?d:[d];for(let i=0;i<t.length;i++){let n=rP(e,t[i]);if(n){let{transitionEnd:e,transition:t,...i}=n;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(r[e]=t)}for(let t in e)r[t]=e[t]}}}return r}(i,n,r,e),renderState:t()}})(e,t,n,r);return i?s():il(s)},sf=sp({scrapeMotionValuesFromProps:rY,createRenderState:sa}),sm=sp({scrapeMotionValuesFromProps:rK,createRenderState:sl}),sg={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},sv=!1;function sy(){return!function(){if(sv)return;let e={};for(let t in sg)e[t]={isEnabled:e=>sg[t].some(t=>!!e[t])};rI=e,sv=!0}(),rI}let sb=Symbol.for("motionComponentSymbol"),sx="data-"+rN("framerAppearId"),sw=(0,es.createContext)({});function sS(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function sE(e,{forwardMotionProps:t=!1,type:i}={},n,r){n&&function(e){let t=sy();for(let i in e)t[i]={...t[i],...e[i]};rI=t}(n);let s=i?"svg"===i:si(e),a=s?sm:sf;function o(i,n){var o;let l,u,c,d={...(0,es.useContext)(ig),...i,layoutId:function({layoutId:e}){let t=(0,es.useContext)(io).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:h}=d,p=function(e){let{initial:t,animate:i}=function(e,t){if(rw(e)){let{initial:t,animate:i}=e;return{initial:!1===t||ry(t)?t:void 0,animate:ry(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,es.useContext)(sr));return(0,es.useMemo)(()=>({initial:t,animate:i}),[ss(t),ss(i)])}(i),f=a(i,h);if(!h&&iu){(0,es.useContext)(sn).strict;let t=function(e){let{drag:t,layout:i}=sy();if(!t&&!i)return{};let n={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);l=t.MeasureLayout,p.visualElement=function(e,t,i,n,r,s){let{visualElement:a}=(0,es.useContext)(sr),o=(0,es.useContext)(sn),l=(0,es.useContext)(id),u=(0,es.useContext)(ig),c=u.reducedMotion,d=u.skipAnimations,h=(0,es.useRef)(null),p=(0,es.useRef)(!1);n=n||o.renderer,!h.current&&n&&(h.current=n(e,{visualState:t,parent:a,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:d,isSVG:s}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));let f=h.current,m=(0,es.useContext)(sw);f&&!f.projection&&r&&("html"===f.type||"svg"===f.type)&&function(e,t,i,n){let{layoutId:r,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!a||o&&sS(o),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u})}(h.current,i,r,m);let g=(0,es.useRef)(!1);(0,es.useInsertionEffect)(()=>{f&&g.current&&f.update(i,l)});let v=i[sx],y=(0,es.useRef)(!!v&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return ic(()=>{p.current=!0,f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),y.current&&f.animationState&&f.animationState.animateChanges())}),(0,es.useEffect)(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),y.current=!1),f.enteringChildren=void 0)}),f}(e,f,d,r,t.ProjectionNode,s)}return(0,et.jsxs)(sr.Provider,{value:p,children:[l&&p.visualElement?(0,et.jsx)(l,{visualElement:p.visualElement,...d}):null,function(e,t,i,{latestValues:n},r,s=!1,a){let o=(a??si(e)?function(e,t,i,n){let r=(0,es.useMemo)(()=>{let i=sl();return rV(i,t,rz(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};so(t,e.style,e),r.style={...t,...r.style}}return r}:function(e,t){let i,n,r={},s=(i=e.style||{},so(n={},i,e),Object.assign(n,function({transformTemplate:e},t){return(0,es.useMemo)(()=>{let i=sa();return rR(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}
69`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=s,r})(t,n,r,e),l=function(e,t,i){let n={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&(sd(r)||!0===i&&sc(r)||!t&&!sc(r)||e.draggable&&r.startsWith("onDrag"))&&(n[r]=e[r]);return n}(t,"string"==typeof e,s),u=e!==es.Fragment?{...l,...o,ref:i}:{},{children:c}=t,d=(0,es.useMemo)(()=>no(c)?c.get():c,[c]);return(0,es.createElement)(e,{...u,children:d})}(e,i,(o=p.visualElement,u=(0,es.useRef)(n),(0,es.useInsertionEffect)(()=>{u.current=n}),c=(0,es.useRef)(null),(0,es.useCallback)(e=>{e&&f.onMount?.(e),o&&(e?o.mount(e):o.unmount());let t=u.current;if("function"==typeof t)if(e){let i=t(e);"function"==typeof i&&(c.current=i)}else c.current?(c.current(),c.current=null):t(e);else t&&(t.current=e)},[o])),f,h,t,s)]})}o.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,es.forwardRef)(o);return l[sb]=e,l}class sT{constructor(e){this.isMounted=!1,this.node=e}update(){}}function sk(e,t,i){let n=e.getProps();return rP(n,t,void 0!==i?i:n.custom,e)}function sC(e,t){if(e?.inherit&&t){let{inherit:i,...n}=e;return{...t,...n}}return e}function sP(e,t){let i=e?.[t]??e?.default??e;return i!==e?sC(i,e):i}let sA=e=>Array.isArray(e);function sI(e,t){let i=e.getValue("willChange");if(no(i)&&i.add)return i.add(t);if(!i&&nR.WillChange){let i=new nR.WillChange("auto");e.addValue("willChange",i),i.add(t)}}let sM=(e,t)=>i=>t(e(i)),sL=(...e)=>e.reduce(sM);function sN(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function sO(e,t){return i=>i>0?t:e}let sj=(e,t,i)=>{let n=e*e,r=i*(t*t-n)+n;return r<0?0:Math.sqrt(r)},s_=[iH,iB,iq];function sR(e){let t=s_.find(t=>t.test(e));if(nh(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let i=t.parse(e);return t===iq&&(i=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,s=0,a=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,o=2*i-n;r=sN(o,n,e+1/3),s=sN(o,n,e),a=sN(o,n,e-1/3)}else r=s=a=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),alpha:n}}(i)),i}let sD=(e,t)=>{let i=sR(e),n=sR(t);if(!i||!n)return sO(e,t);let r={...i};return e=>(r.red=sj(i.red,n.red,e),r.green=sj(i.green,n.green,e),r.blue=sj(i.blue,n.blue,e),r.alpha=rW(i.alpha,n.alpha,e),iB.transform(r))},sB=new Set(["none","hidden"]);function sH(e,t){return i=>rW(e,t,i)}function sV(e){return"number"==typeof e?sH:"string"==typeof e?nv(e)?sO:iX.test(e)?sD:sU:Array.isArray(e)?sF:"object"==typeof e?iX.test(e)?sD:sz:sO}function sF(e,t){let i=[...e],n=i.length,r=e.map((e,i)=>sV(e)(e,t[i]));return e=>{for(let t=0;t<n;t++)i[t]=r[t](e);return i}}function sz(e,t){let i={...e,...t},n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=sV(e[r])(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}}let sU=(e,t)=>{let i=i3.createTransformer(t),n=iJ(e),r=iJ(t);if(!(n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length))return nh(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),sO(e,t);if(sB.has(e)&&!r.values.length||sB.has(t)&&!n.values.length)return sB.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return sL(sF(function(e,t){let i=[],n={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){let s=t.types[r],a=e.indexes[s][n[s]],o=e.values[a]??0;i[r]=o,n[s]++}return i}(n,r),r.values),i)};function sG(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?rW(e,t,i):sV(e)(e,t)}let s$=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>nH.update(t,e),stop:()=>nV(t),now:()=>nF.isProcessing?nF.timestamp:rh.now()}};function sW(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}function sq(e,t,i){var n,r;let s=Math.max(t-5,0);return n=i-e(s),(r=t-s)?1e3/r*n:0}let sX=.01,sY=2,sK=.005,sZ=.5;function sQ(e,t){return e*Math.sqrt(1-t*t)}let sJ=["duration","bounce"],s0=["stiffness","damping","mass"];function s1(e,t){return t.some(t=>void 0!==e[t])}function s2(e=.3,t=.3){let i,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:s}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:c,mass:d,duration:h,velocity:p,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!s1(e,s0)&&s1(e,sJ))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),n=i*i,r=2*iA(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:r}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:n=1}){let r,s;nh(e<=n0(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=iA(.05,1,a),e=iA(.01,10,e/1e3),a<1?(r=t=>{let n=t*a,r=n*e;return .001-(n-i)/sQ(t,a)*Math.exp(-r)},s=t=>{let n=t*a*e,s=Math.pow(a,2)*Math.pow(t,2)*e,o=Math.exp(-n),l=sQ(Math.pow(t,2),a);return(n*i+i-s)*o*(-r(t)+.001>0?-1:1)/l}):(r=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),s=t=>e*e*(i-t)*Math.exp(-t*e));let o=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(r,s,5/e);if(e=n0(e),isNaN(o))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(o,2)*n;
69return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-((n.velocity||0)/1e3)}),m=p||0,g=c/(2*Math.sqrt(u*d)),v=o-a,y=Math.sqrt(u/d)/1e3,b=5>Math.abs(v);if(r||(r=b?sX:sY),s||(s=b?sK:sZ),g<1){let e=sQ(y,g);i=t=>o-Math.exp(-g*y*t)*((m+g*y*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===g)i=e=>o-Math.exp(-y*e)*(v+(m+y*v)*e);else{let e=y*Math.sqrt(g*g-1);i=t=>{let i=Math.exp(-g*y*t),n=Math.min(e*t,300);return o-i*((m+g*y*v)*Math.sinh(n)+e*v*Math.cosh(n))/e}}let x={calculatedDuration:f&&h||null,next:e=>{let t=i(e);if(f)l.done=e>=h;else{let n=0===e?m:0;g<1&&(n=0===e?n0(m):sq(i,e,t));let a=Math.abs(o-t)<=s;l.done=Math.abs(n)<=r&&a}return l.value=l.done?o:t,l},toString:()=>{let e=Math.min(sW(x),2e4),t=rr(t=>x.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return x}function s3({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:c}){let d,h,p=e[0],f={done:!1,value:p},m=i*t,g=p+m,v=void 0===a?g:a(g);v!==g&&(m=v-p);let y=e=>-m*Math.exp(-e/n),b=e=>v+y(e),x=e=>{let t=y(e),i=b(e);f.done=Math.abs(t)<=u,f.value=f.done?v:i},w=e=>{let t;if(t=f.value,void 0!==o&&t<o||void 0!==l&&t>l){var i;d=e,h=s2({keyframes:[f.value,(i=f.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:sq(b,e,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:c})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,x(e),w(e)),void 0!==d&&e>=d)?h.next(e-d):(t||x(e),f)}}}s2.applyToOptions=e=>{let t=function(e,t=100,i){let n=i({...e,keyframes:[0,t]}),r=Math.min(sW(n),2e4);return{type:"keyframes",ease:e=>n.next(r*e).value/t,duration:r/1e3}}(e,100,s2);return e.ease=t.ease,e.duration=n0(t.duration),e.type="keyframes",e};let s5=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function s6(e,t,i,n){return e===t&&i===n?n_:r=>0===r||1===r?r:s5(function(e,t,i,n,r){let s,a,o=0;do(s=s5(a=t+(i-t)/2,n,r)-e)>0?i=a:t=a;while(Math.abs(s)>1e-7&&++o<12)return a}(r,0,1,e,i),t,n)}let s8=s6(.42,0,1,1),s4=s6(0,0,.58,1),s9=s6(.42,0,.58,1),s7=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ae=e=>t=>1-e(1-t),at=s6(.33,1.53,.69,.99),ai=ae(at),an=s7(ai),ar=e=>(e*=2)<1?.5*ai(e):.5*(2-Math.pow(2,-10*(e-1))),as=e=>1-Math.sin(Math.acos(e)),aa=ae(as),ao=s7(as),al={linear:n_,easeIn:s8,easeInOut:s9,easeOut:s4,circIn:as,circInOut:ao,circOut:aa,backIn:ai,backInOut:an,backOut:at,anticipate:ar},au=e=>{if(ri(e)){np(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,n,r]=e;return s6(t,i,n,r)}return"string"==typeof e?(np(void 0!==al[e],`Invalid easing type '${e}'`,"invalid-easing-type"),al[e]):e},ac=(e,t,i)=>{let n=t-e;return 0===n?1:(i-e)/n};function ad({duration:e=300,keyframes:t,times:i,ease:n="easeInOut"}){var r;let s,a=Array.isArray(n)&&"number"!=typeof n[0]?n.map(au):au(n),o={done:!1,value:t[0]},l=function(e,t,{clamp:i=!0,ease:n,mixer:r}={}){let s=e.length;if(np(s===t.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,i){let n=[],r=i||nR.mix||sG,s=e.length-1;for(let i=0;i<s;i++){let s=r(e[i],e[i+1]);t&&(s=sL(Array.isArray(t)?t[i]||n_:t,s)),n.push(s)}return n}(t,n,r),l=o.length,u=i=>{if(a&&i<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(i<e[n+1]);n++);let r=ac(e[n],e[n+1],i);return o[n](r)};return i?t=>u(iA(e[0],e[s-1],t)):u}((r=i&&i.length===t.length?i:(!function(e,t){let i=e[e.length-1];for(let n=1;n<=t;n++){let r=ac(0,t,n);e.push(rW(i,1,r))}}(s=[0],t.length-1),s),r.map(t=>t*e)),t,{ease:Array.isArray(a)?a:t.map(()=>a||s9).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}let ah={decay:s3,inertia:s3,tween:ad,keyframes:ad,spring:s2};function ap(e){"string"==typeof e.type&&(e.type=ah[e.type])}let af=e=>e/100;class am extends re{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==rh.now()&&this.tick(rh.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},rt.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;ap(e);let{type:t=ad,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=e,{keyframes:a}=e,o=t||ad;o!==ad&&"number"!=typeof a[0]&&(this.mixKeyframes=sL(af,sG(a[0],a[1])),a=[0,100]);let l=o({...e,keyframes:a});"mirror"===r&&(this.mirroredGenerator=o({...e,keyframes:[...a].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=sW(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:o}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:c,repeatType:d,repeatDelay:h,type:p,onUpdate:f,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let y=this.currentTime,b=i;if(c){let e=Math.min(this.currentTime,n)/a,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,c+1))%2&&("reverse"===d?(i=1-i,h&&(i-=h/a)):"mirror"===d&&(b=s)),y=iA(0,1,i)*a}let x=v?{done:!1,value:u[0]}:b.next(y);r&&(x.value=r(x.value));let{done:w}=x;v||null===o||(w=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&p!==s3&&(x.value=n7(u,this.options,m,this.speed)),f&&f(x.value),S&&this.finish(),x}
69then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=n0(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(rh.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=s$,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(rh.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,rt.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let ag={anticipate:ar,backInOut:an,circInOut:ao};class av extends rl{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in ag&&(e.ease=ag[e.ease])}(e),ap(e),super(e),void 0!==e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new am({...s,autoplay:!1}),o=Math.max(10,rh.now()-this.startTime),l=iA(0,10,o-10);t.setWithVelocity(a.sample(Math.max(0,o-l)).value,a.sample(o).value,l),a.stop()}}let ay=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(i3.test(e)||"0"===e)&&!e.startsWith("url("));function ab(e){e.duration=0,e.type="keyframes"}let ax=new Set(["opacity","clipPath","filter","transform"]),aw=n5(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class aS extends re{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:a,name:o,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=rh.now();const d={autoplay:e,delay:t,type:i,repeat:n,repeatDelay:r,repeatType:s,name:o,motionValue:l,element:u,...c},h=u?.KeyframeResolver||nY;this.keyframeResolver=new h(a,(e,t,i)=>this.onKeyframesResolved(e,t,d,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,n){this.keyframeResolver=void 0;let{name:r,type:s,velocity:a,delay:o,isHandoff:l,onUpdate:u}=i;this.resolvedAt=rh.now(),!function(e,t,i,n){let r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],a=ay(r,t),o=ay(s,t);return nh(a===o,`You are trying to animate ${t} from "${r}" to "${s}". "${a?s:r}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||ro(i))&&n)}(e,r,s,a)&&((nR.instantAnimations||!o)&&u?.(n7(e,i,t)),e[0]=e[e.length-1],ab(i),i.repeat=0);let c={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},d=!l&&function(e){let{motionValue:t,name:i,repeatDelay:n,repeatType:r,damping:s,type:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
69let{onUpdate:o,transformTemplate:l}=t.owner.getProps();return aw()&&i&&ax.has(i)&&("transform"!==i||!l)&&!o&&!n&&"mirror"!==r&&0!==s&&"inertia"!==a}(c),h=c.motionValue?.owner?.current,p=d?new av({...c,element:h}):new am(c);p.finished.then(()=>{this.notifyFinished()}).catch(n_),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),nW=!0,nX(),nq(),nW=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let aE={type:"spring",stiffness:500,damping:25,restSpeed:10},aT={type:"keyframes",duration:.8},ak={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},aC=e=>null!==e,aP=(e,t,i,n={},r,s)=>a=>{let o=sP(n,e)||{},l=o.delay||n.delay||0,{elapsed:u=0}=n;u-=n0(l);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-u,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:s?void 0:r};!function({when:e,delay:t,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(o)&&Object.assign(c,((e,{keyframes:t})=>t.length>2?aT:iP.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:aE:ak)(e,c)),c.duration&&(c.duration=n0(c.duration)),c.repeatDelay&&(c.repeatDelay=n0(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(ab(c),0===c.delay&&(d=!0)),(nR.instantAnimations||nR.skipAnimations||r?.shouldSkipAnimations)&&(d=!0,ab(c),c.delay=0),c.allowFlatten=!o.type&&!o.ease,d&&!s&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:i="loop"}){let n=e.filter(aC),r=t&&"loop"!==i&&t%2==1?0:n.length-1;return n[r]}(c.keyframes,o);if(void 0!==e)return void nH.update(()=>{c.onUpdate(e),c.onComplete()})}return o.isSync?new am(c):new aS(c)};function aA(e,t,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s,transitionEnd:a,...o}=t,l=e.getDefaultTransition();s=s?sC(s,l):l;let u=s?.reduceMotion;n&&(s=n);let c=[],d=r&&e.animationState&&e.animationState.getState()[r];for(let t in o){let n=e.getValue(t,e.latestValues[t]??null),r=o[t];if(void 0===r||d&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(d,t))continue;let a={delay:i,...sP(s||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating&&!Array.isArray(r)&&r===l&&!a.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){let i=e.props[sx];if(i){let e=window.MotionHandoffAnimation(i,t,nH);null!==e&&(a.startTime=e,h=!0)}}sI(e,t);let p=u??e.shouldReduceMotion;n.start(aP(t,n,r,p&&nl.has(t)?{type:!1}:a,e,h));let f=n.animation;f&&c.push(f)}if(a){let t=()=>nH.update(()=>{a&&function(e,t){let{transitionEnd:i={},transition:n={},...r}=sk(e,t)||{};for(let t in r={...r,...i}){var s;let i=sA(s=r[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,rf(i))}}(e,a)});c.length?Promise.all(c).then(t):t()}return c}function aI(e,t,i,n=0,r=1){let s=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,o=(a-1)*n;return"function"==typeof i?i(s,a):1===r?s*n:o-s*n}function aM(e,t,i={}){let n=sk(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:r=e.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>
69Promise.all(aA(e,n,i)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=r;return function(e,t,i=0,n=0,r=0,s=1,a){let o=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),o.push(aM(l,t,{...a,delay:i+("function"==typeof n?0:n)+aI(e.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(o)}(e,t,n,s,a,o,i)}:()=>Promise.resolve(),{when:o}=r;if(!o)return Promise.all([s(),a(i.delay)]);{let[e,t]="beforeChildren"===o?[s,a]:[a,s];return e().then(()=>t())}}let aL=rx.length;function aN(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}let aO=[...rb].reverse(),aj=rb.length;function a_(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function aR(){return{animate:a_(!0),whileInView:a_(),whileHover:a_(),whileTap:a_(),whileDrag:a_(),whileFocus:a_(),exit:a_()}}let aD=0;function aB(e){return[e("x"),e("y")]}let aH=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),aV=new Set(["INPUT","SELECT","TEXTAREA"]);function aF(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}let az={x:!1,y:!1};function aU(e){return e.max-e.min}function aG(e,t,i,n=.5){e.origin=n,e.originPoint=rW(t.min,t.max,e.origin),e.scale=aU(i)/aU(t),e.translate=rW(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function a$(e,t,i,n){aG(e.x,t.x,i.x,n?n.originX:void 0),aG(e.y,t.y,i.y,n?n.originY:void 0)}function aW(e,t,i){e.min=i.min+t.min,e.max=e.min+aU(t)}function aq(e,t,i){e.min=t.min-i.min,e.max=e.min+aU(t)}function aX(e,t,i){aq(e.x,t.x,i.x),aq(e.y,t.y,i.y)}function aY(e){return ih(e)&&"ownerSVGElement"in e}function aK(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let r=i?.[e]??n.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(e=>null!=e)}let aZ=new WeakMap,aQ=(e,t,i)=>(n,r)=>r&&r[0]?r[0][e+"Size"]:aY(n)&&"getBBox"in n?n.getBBox()[t]:n[i],aJ=aQ("inline","width","offsetWidth"),a0=aQ("block","height","offsetHeight");function a1({target:e,borderBoxSize:t}){aZ.get(e)?.forEach(i=>{i(e,{get width(){return aJ(e,t)},get height(){return a0(e,t)}})})}function a2(e){e.forEach(a1)}let a3=new Set;function a5(e,t){let r;return"function"==typeof e?(a3.add(e),n||(n=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};a3.forEach(t=>t(e))},window.addEventListener("resize",n)),()=>{a3.delete(e),a3.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(a2)),(r=aK(e)).forEach(e=>{let n=aZ.get(e);n||(n=new Set,aZ.set(e,n)),n.add(t),i?.observe(e)}),()=>{r.forEach(e=>{let n=aZ.get(e);n?.delete(t),n?.size||i?.unobserve(e)})})}let a6=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function a8(e){return{point:{x:e.pageX,y:e.pageY}}}function a4(e,t,i,n){return aF(e,t,e=>a6(e)&&i(e,a8(e)),n)}let a9=({current:e})=>e?e.ownerDocument.defaultView:null,a7=(e,t)=>Math.abs(e-t),oe=new Set(["auto","scroll"]);class ot{constructor(e,t,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=or(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(e=i.offset,t={x:0,y:0},Math.sqrt(a7(e.x,t.x)**2+a7(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:a}=nF;this.history.push({...s,timestamp:a});let{onStart:o,onMove:l}=this.handlers;n||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>
69{this.lastMoveEvent=e,this.lastMoveEventInfo=oi(t,this.transformPagePoint),nH.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=or("pointercancel"===e.type?this.lastMoveEventInfo:oi(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),n&&n(e,s)},!a6(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const o=oi(a8(e),this.transformPagePoint),{point:l}=o,{timestamp:u}=nF;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,or(o,this.history)),this.removeListeners=sL(a4(this.contextWindow,"pointermove",this.handlePointerMove),a4(this.contextWindow,"pointerup",this.handlePointerUp),a4(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(oe.has(e.overflowX)||oe.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let i=e===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},r={x:n.x-t.x,y:n.y-t.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(e,n),nH.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),nV(this.updatePoint)}}function oi(e,t){return t?{point:t(e.point)}:e}function on(e,t){return{x:e.x-t.x,y:e.y-t.y}}function or({point:e},t){return{point:e,delta:on(e,os(t)),offset:on(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,n=os(e);for(;t>=0&&(i=e[t],!(n.timestamp-i.timestamp>n0(.1)));)t--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&n.timestamp-i.timestamp>2*n0(.1)&&(i=e[1]);let r=(n.timestamp-i.timestamp)/1e3;if(0===r)return{x:0,y:0};let s={x:(n.x-i.x)/r,y:(n.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t)}}function os(e){return e[e.length-1]}function oa(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function oo(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}function ol(e,t,i){return{min:ou(e,t),max:ou(e,i)}}function ou(e,t){return"number"==typeof e?e:e[t]||0}let oc=new WeakMap;class od{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=na(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=e=>{t&&this.snapToCursor(a8(e).point),this.stopAnimation()},s=(e,t)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(az[e])return null;else return az[e]=!0,()=>{az[e]=!1};return az.x||az.y?null:(az.x=az.y=!0,()=>{az.x=az.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),aB(e=>{let t=this.getAxisMotionValue(e).get()||0;if(iz.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[e];n&&(t=aU(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&nH.update(()=>r(e,t),!1,!0),sI(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),s&&nH.update(()=>s(e,t),!1,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new ot(e,{onSessionStart:r,onStart:s,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:a9(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,n=t||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&nH.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,i){let{drag:n}=this.getProps();if(!i||!op(e,n,this.currentDirection))return;let r=this.getAxisMotionValue(e),s=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:i},n){return void 0!==t&&e<t?e=n?rW(t,e,n.min):Math.max(e,t):void 0!==i&&e>i&&(e=n?rW(i,e,n.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),r.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&sS(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:n,right:r}){return{x:oa(e.x,i,r),y:oa(e.y,t,n)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:ol(e,"left","right"),y:ol(e,"top","bottom")}}(t),n!==this.constraints&&!sS(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&aB(e=>{var t,n;let r;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],n=this.constraints[e],r={},void 0!==n.min&&(r.min=n.min-t.min),void 0!==n.max&&(r.max=n.max-t.min),r))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!sS(t))return!1;let n=t.current;np(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=function(e,t,i){let n=r7(e,i),{scroll:r}=t;return r&&(r8(n.x,r.offset.x),r8(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),a=(e=r.layout.layoutBox,{x:oo(e.x,s.x),y:oo(e.y,s.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=rQ(e))}return a}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(aB(a=>{if(!op(a,t,this.currentDirection))return;let l=o&&o[a]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return sI(this.visualElement,e),i.start(aP(e,i,0,t,this.visualElement,!1))}stopAnimation(){aB(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){aB(t=>{let{drag:i}=this.getProps();if(!op(t,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(t);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[t],a=r.get()||0;r.set(e[t]-rW(i,s,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!sS(t)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};aB(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,r;let s,a,o,l=t.get();n[e]=(i={min:l,max:l},r=this.constraints[e],s=.5,a=aU(i),(o=aU(r))>a?s=ac(r.min,r.max-a,i.min):a>o&&(s=ac(i.min,i.max-o,r.min)),iA(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),aB(t=>{if(!op(t,e,null))return;let i=this.getAxisMotionValue(t),{min:r,max:s}=this.constraints[t];i.set(rW(r,s,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;oc.set(this.visualElement,this);let t=this.visualElement.current,i=a4(t,"pointerdown",e=>{let{drag:i,dragListener:n=!0}
69=this.getProps(),r=e.target,s=r!==t&&(aV.has(r.tagName)||!0===r.isContentEditable);i&&n&&!s&&this.start(e)}),n=()=>{var i,n,r;let s,a,{dragConstraints:o}=this.getProps();sS(o)&&o.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,n=o.current,s=a5(i,oh(r=()=>this.scalePositionWithinConstraints())),a=a5(n,oh(r)),e=()=>{s(),a()}))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),nH.read(n);let a=aF(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(aB(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),i(),s(),o&&o(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:a}}}function oh(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function op(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let of=e=>(t,i)=>{e&&nH.update(()=>e(t,i),!1,!0)},om={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var og=es;let ov=!1;class oy extends og.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=e;r&&(t.group&&t.group.add(r),i&&i.register&&n&&i.register(r),ov&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),om.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,e.layoutDependency!==t&&s.setOptions({...s.options,layoutDependency:t}),ov=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==r?s.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?s.promote():s.relegate()||nH.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),rc.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:n}=e;ov=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function ob(e){let[t,i]=iS(),n=(0,og.useContext)(io);return(0,et.jsx)(oy,{...e,layoutGroup:n,switchLayoutGroup:(0,og.useContext)(sw),isPresent:t,safeToRemove:i})}let ox=["TopLeft","TopRight","BottomLeft","BottomRight"],ow=ox.length,oS=e=>"string"==typeof e?parseFloat(e):e,oE=e=>"number"==typeof e||iU.test(e);function oT(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let ok=oP(0,.5,aa),oC=oP(.5,.95,n_);function oP(e,t,i){return n=>n<e?0:n>t?1:i(ac(e,t,n))}function oA(e,t){e.min=t.min,e.max=t.max}function oI(e,t){oA(e.x,t.x),oA(e.y,t.y)}function oM(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function oL(e,t,i,n,r){return e-=t,e=n+1/i*(e-n),void 0!==r&&(e=n+1/r*(e-n)),e}function oN(e,t,[i,n,r],s,a){!function(e,t=0,i=1,n=.5,r,s=e,a=e){if(iz.test(t)&&(t=parseFloat(t),t=rW(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let o=rW(s.min,s.max,n);e===s&&(o-=t),e.min=oL(e.min,t,i,o,r),e.max=oL(e.max,t,i,o,r)}(e,t[i],t[n],t[r],t.scale,s,a)}let oO=["x","scaleX","originX"],oj=["y","scaleY","originY"];function o_(e,t,i,n){oN(e.x,t,oO,i?i.x:void 0,n?n.x:void 0),oN(e.y,t,oj,i?i.y:void 0,n?n.y:void 0)}function oR(e){return 0===e.translate&&1===e.scale}function oD(e){return oR(e.x)&&oR(e.y)}function oB(e,t){return e.min===t.min&&e.max===t.max}function oH(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function oV(e,t){return oH(e.x,t.x)&&oH(e.y,t.y)}function oF(e){return aU(e.x)/aU(e.y)}function oz(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class oU{constructor(){this.members=[]}add(e){n1(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1===n.isConnected&&!1!==i.isPresent&&!i.snapshot&&n2(this.members,i)}e.scheduleRender()}remove(e){if(n2(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e],n=i.instance;if(!1!==i.isPresent&&(!n||!1!==n.isConnected)){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender();let n=i.options.layoutDependency,r=e.options.layoutDependency;if(void 0===n||void 0===r||n!==r){let n=i.instance;!(n&&!1===n.isConnected&&!i.snapshot)&&(e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0))}let{crossfade:s}=e.options;!1===s&&i.hide()}}
69exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let oG=(e,t)=>e.depth-t.depth;class o${constructor(){this.children=[],this.isDirty=!1}add(e){n1(this.children,e),this.isDirty=!0}remove(e){n2(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(oG),this.isDirty=!1,this.children.forEach(e)}}let oW=["","X","Y","Z"],oq=0;function oX(e,t,i,n){let{latestValues:r}=t;r[e]&&(i[e]=r[e],t.setStaticValue(e,0),n&&(n[e]=0))}function oY({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(e={},i=t?.()){this.id=oq++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(oQ),this.nodes.forEach(o6),this.nodes.forEach(o8),this.nodes.forEach(oJ)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new o$)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new n3),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=aY(t)&&!(aY(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),e){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;nH.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,s;n=e,this.root.updateBlockedByResize=!0,i&&i(),t=rh.now(),s=({timestamp:e})=>{let i=e-t;i>=250&&(nV(s),r(i-250))},nH.setup(s,!0),i=()=>nV(s),om.hasAnimatedSinceResize&&(om.hasAnimatedSinceResize=!1,this.nodes.forEach(o5))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||li,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=r.getProps(),l=!this.targetLayout||!oV(this.targetLayout,n),u=!t&&i;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...sP(s,"layout"),onPlay:a,onComplete:o};(r.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||o5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),nV(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
69h(o4),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let n=i.props[sx];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",nH,!(e||i))}let{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&e(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(o1);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(o2);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(o3),this.nodes.forEach(oK),this.nodes.forEach(oZ)):this.nodes.forEach(o2),this.clearAllSnapshots();let e=rh.now();nF.delta=iA(0,1e3/60,e-nF.timestamp),nF.timestamp=e,nF.isProcessing=!0,nz.update.process(nF),nz.preRender.process(nF),nz.render.process(nF),nF.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,rc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(o0),this.sharedNodes.forEach(o9)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,nH.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){nH.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||aU(this.snapshot.measuredBox.x)||aU(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=na(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!r)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!oD(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||r1(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),ls((t=n).x),ls(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return na();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(lo))){let{scroll:e}=this.root;e&&(r8(t.x,e.offset.x),r8(t.y,e.offset.y))}return t}removeElementScroll(e){let t=na();if(oI(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&oI(t,e),r8(t.x,r.offset.x),r8(t.y,r.offset.y))}return t}applyTransform(e,t=!1){let i=na();oI(i,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&r9(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),r1(n.latestValues)&&r9(i,n.latestValues)}return r1(this.latestValues)&&r9(i,this.latestValues),i}removeTransform(e){let t=na();oI(t,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];if(!i.instance||!r1(i.latestValues))continue;r0(i.latestValues)&&i.updateSnapshot();let n=na();oI(n,i.measurePageBox()),o_(t,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return r1(this.latestValues)&&o_(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==nF.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
69isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=nF.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=na(),this.targetWithTransforms=na()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,o,l;this.forceRelativeParentToResolveTarget(),a=this.target,o=this.relativeTarget,l=this.relativeParent.target,aW(a.x,o.x,l.x),aW(a.y,o.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):oI(this.target,this.layout.layoutBox),r6(this.target,this.targetDelta)):oI(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||r0(this.parent.latestValues)||r2(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=na(),this.relativeTargetOrigin=na(),aX(this.relativeTargetOrigin,t,i),oI(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===nF.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;oI(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;!function(e,t,i,n=!1){let r,s,a=i.length;if(a){t.x=t.y=1;for(let o=0;o<a;o++){s=(r=i[o]).projectionDelta;let{visualElement:a}=r.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&r9(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,r6(e,s)),n&&r1(r.latestValues)&&r9(e,r.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=na());let{target:o}=e;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(oM(this.prevProjectionDelta.x,this.projectionDelta.x),oM(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),a$(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&oz(this.projectionDelta.x,this.prevProjectionDelta.x)&&oz(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=nr(),this.projectionDelta=nr(),this.projectionDeltaWithTransform=nr()}setAnimationOrigin(e,t=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},a=nr();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=na(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(lt));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(o7(a.x,e.x,n),o7(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,f,m,g;aX(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=o,g=n,le(p.x,f.x,m.x,g),le(p.y,f.y,m.y,g),i&&(u=this.relativeTarget,h=i,oB(u.x,h.x)&&oB(u.y,h.y))&&(this.isProjectionDirty=!1),i||(i=na()),oI(i,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,i,n,r,s){r?(e.opacity=rW(0,i.opacity??1,ok(n)),e.opacityExit=rW(t.opacity??1,0,oC(n))):s&&(e.opacity=rW(t.opacity??1,i.opacity??1,n));for(let r=0;r<ow;r++){let s=`border${ox[r]}Radius`,a=oT(t,s),o=oT(i,s);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||oE(a)===oE(o)?(e[s]=Math.max(rW(oS(a),oS(o),n),0),(iz.test(o)||iz.test(a))&&(e[s]+="
69%")):e[s]=o)}(t.rotate||i.rotate)&&(e.rotate=rW(t.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(nV(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nH.update(()=>{var t,i,n;let r;om.hasAnimatedSinceResize=!0,rt.layout++,this.motionValue||(this.motionValue=rf(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,i=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{rt.layout--},onComplete:()=>{rt.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(r=no(t)?t:rf(t)).start(aP("",r,i,n)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:n,latestValues:r}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&la(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||na();let t=aU(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=aU(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}oI(t,i),r9(t,r),a$(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new oU),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let n={};i.z&&oX("z",e,n,this.animationValues);for(let t=0;t<oW.length;t++)oX(`rotate${oW[t]}`,e,n,this.animationValues),oX(`skew${oW[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=sh(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=sh(t?.pointerEvents)||""),this.hasProjected&&!r1(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(e,t,i){let n="",r=e.x.translate/t.x,s=e.y.translate/t.y,a=i?.z||0;if((r||s||a)&&(n=`translate3d(${r}px, ${s}px, ${a}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,rotateX:r,rotateY:s,skewX:a,skewY:o}=i;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),a&&(n+=`skewX(${a}deg) `),o&&(n+=`skewY(${o}deg) `)}let o=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==o||1!==l)&&(n+=`scale(${o}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);
69i&&(s=i(r,s)),e.transform=s;let{x:a,y:o}=this.projectionDelta;for(let t in e.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,n.animationValues?e.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:e.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,rq){if(void 0===r[t])continue;let{correct:i,applyTo:a,isCSSVariable:o}=rq[t],l="none"===s?r[t]:i(r[t],n);if(a){let t=a.length;for(let i=0;i<t;i++)e[a[i]]=l}else o?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?sh(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(o1),this.root.sharedNodes.clear()}}}function oK(e){e.updateLayout()}function oZ(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=e.layout,{animationType:r}=e.options,s=t.source!==e.layout.source;"size"===r?aB(e=>{let n=s?t.measuredBox[e]:t.layoutBox[e],r=aU(n);n.min=i[e].min,n.max=n.min+r}):la(r,t.layoutBox,i)&&aB(n=>{let r=s?t.measuredBox[n]:t.layoutBox[n],a=aU(i[n]);r.max=r.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});let a=nr();a$(a,i,t.layoutBox);let o=nr();s?a$(o,e.applyTransform(n,!0),t.measuredBox):a$(o,i,t.layoutBox);let l=!oD(a),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let a=na();aX(a,t.layoutBox,r.layoutBox);let o=na();aX(o,i,s.layoutBox),oV(a,o)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=o,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function oQ(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function oJ(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function o0(e){e.clearSnapshot()}function o1(e){e.clearMeasurements()}function o2(e){e.isLayoutDirty=!1}function o3(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function o5(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function o6(e){e.resolveTargetDelta()}function o8(e){e.calcProjection()}function o4(e){e.resetSkewAndRotation()}function o9(e){e.removeLeadSnapshot()}function o7(e,t,i){e.translate=rW(t.translate,0,i),e.scale=rW(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function le(e,t,i,n){e.min=rW(t.min,i.min,n),e.max=rW(t.max,i.max,n)}function lt(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let li={duration:.45,ease:[.4,0,.1,1]},ln=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),lr=ln("applewebkit/")&&!ln("chrome/")?Math.round:n_;function ls(e){e.min=lr(e.min),e.max=lr(e.max)}function la(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(oF(t)-oF(i)))}function lo(e){return e!==e.root&&e.scroll?.wasRoot}let ll=oY({attachResizeListener:(e,t)=>aF(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),lu={current:void 0},lc=oY({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!lu.current){let e=new ll({});e.mount(window),e.setOptions({layoutScroll:!0}),lu.current=e}return lu.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function ld(e,t){let i=aK(e),n=new AbortController;return[i,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function lh(e,t,i){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&nH.postRender(()=>r(t,a8(t)))}let lp=(e,t)=>!!t&&(e===t||lp(e,t.parentElement)),lf=new WeakSet;function lm(e){return t=>{"Enter"===t.key&&e(t)}}function lg(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function lv(e){return a6(e)&&!(az.x||az.y)}let ly=new WeakSet;function lb(e,t,i){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&nH.postRender(()=>r(t,a8(t)))}let lx=new WeakMap,lw=new WeakMap,lS=e=>{let t=lx.get(e.target);t&&t(e)},lE=e=>{e.forEach(lS)},lT={some:0,all:1},lk=function(e,t){if("u"<typeof Proxy)return sE;let i=new Map,n=(i,n)=>sE(i,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,sE(s,void 0,e,t)),i.get(s))})}({animation:{Feature:class extends sT{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>aM(e,t,i)));else if("string"==typeof t)n=aM(e,t,i);else{let r="function"==typeof t?sk(e,t,i.custom):t;n=Promise.all(aA(e,r,i))}return n.then(()=>
69{e.notify("AnimationComplete",t)})})(e,t,i))),i=aR(),n=!0,r=t=>(i,n)=>{let r=sk(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(r){let{transition:e,transitionEnd:t,...n}=r;i={...i,...n,...t}}return i};function s(s){let{props:a}=e,o=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<aL;e++){let n=rx[e],r=t.props[n];(ry(r)||!1===r)&&(i[n]=r)}return i}(e.parent)||{},l=[],u=new Set,c={},d=1/0;for(let t=0;t<aj;t++){var h,p;let f=aO[t],m=i[f],g=void 0!==a[f]?a[f]:o[f],v=ry(g),y=f===s?m.isActive:null;!1===y&&(d=t);let b=g===o[f]&&g!==a[f]&&v;if(b&&n&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...c},!m.isActive&&null===y||!g&&!m.prevProp||rv(g)||"boolean"==typeof g)continue;if("exit"===f&&m.isActive&&!0!==y){m.prevResolvedValues&&(c={...c,...m.prevResolvedValues});continue}let x=(h=m.prevProp,"string"==typeof(p=g)?p!==h:!!Array.isArray(p)&&!aN(p,h)),w=x||f===s&&m.isActive&&!b&&v||t>d&&v,S=!1,E=Array.isArray(g)?g:[g],T=E.reduce(r(f),{});!1===y&&(T={});let{prevResolvedValues:k={}}=m,C={...k,...T},P=t=>{w=!0,u.has(t)&&(S=!0,u.delete(t)),m.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in C){let t=T[e],i=k[e];if(!c.hasOwnProperty(e))(sA(t)&&sA(i)?aN(t,i):t===i)?void 0!==t&&u.has(e)?P(e):m.protectedKeys[e]=!0:null!=t?P(e):u.add(e)}m.prevProp=g,m.prevResolvedValues=T,m.isActive&&(c={...c,...T}),n&&e.blockInitialAnimation&&(w=!1);let A=b&&x,I=!A||S;w&&I&&l.push(...E.map(t=>{let i={type:f};if("string"==typeof t&&n&&!A&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,r=sk(n,t);if(n.enteringChildren&&r){let{delayChildren:t}=r.transition||{};i.delay=aI(n.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(u.size){let t={};if("boolean"!=typeof a.initial){let i=sk(e,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(t.transition=i.transition)}u.forEach(i=>{let n=e.getBaseTarget(i),r=e.getValue(i);r&&(r.liveStyle=!0),t[i]=n??null}),l.push({animation:t})}let f=!!l.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(f=!1),n=!1,f?t(l):Promise.resolve()}return{animateChanges:s,setActive:function(t,n){if(i[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),i[t].isActive=n;let r=s(t);for(let e in i)i[e].protectedKeys={};return r},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=aR()}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();rv(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends sT{constructor(){super(...arguments),this.id=aD++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends sT{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:a}=i,o={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:lT[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=t?i:n;r&&r(e)};return e=this.node.current,t=function({root:e,...t}){let i=e||document;lw.has(i)||lw.set(i,{});let n=lw.get(i),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(lE,{root:e,...t})),n[r]}(o),lx.set(e,l),t.observe(e),()=>{lx.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends sT{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[n,r,s]=ld(e,i),a=e=>{let n=e.currentTarget;if(!lv(e)||ly.has(e))return;lf.add(n),i.stopPropagation&&ly.add(e);let s=t(n,e),a=(e,t)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),lf.has(n)&&lf.delete(n),lv(e)&&"function"==typeof s&&s(e,{success:t})},o=e=>{a(e,n===window||n===document||i.useGlobalTarget||lp(n,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",l,r)};
69return n.forEach(e=>{((i.useGlobalTarget?window:e).addEventListener("pointerdown",a,r),ip(e))&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let n=lm(()=>{if(lf.has(i))return;lg(i,"down");let e=lm(()=>{lg(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>lg(i,"cancel"),t)});i.addEventListener("keydown",n,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),t)})(e,r)),aH.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(lb(this.node,t,"Start"),(e,{success:t})=>lb(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends sT{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=sL(aF(this.node.current,"focus",()=>this.onFocus()),aF(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends sT{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[n,r,s]=ld(e,i);return n.forEach(e=>{let i,n=!1,s=!1,a=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},o=e=>{n=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),s&&(s=!1,a(e))},l=e=>{if("touch"!==e.pointerType){if(n){s=!0;return}a(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||az.x||az.y)return;s=!1;let a=t(e,n);"function"==typeof a&&(i=a,e.addEventListener("pointerleave",l,r))},r),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",o,r)},r)}),s}(e,(e,t)=>(lh(this.node,t,"Start"),e=>lh(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends sT{constructor(){super(...arguments),this.removePointerDownListener=n_}onPointerDown(e){this.session=new ot(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:a9(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:of(e),onStart:of(t),onMove:of(i),onEnd:(e,t)=>{delete this.session,n&&nH.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=a4(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends sT{constructor(e){super(e),this.removeGroupControls=n_,this.removeListeners=n_,this.controls=new od(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||n_}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:lc,MeasureLayout:ob},layout:{ProjectionNode:lc,MeasureLayout:ob}},(e,t)=>t.isSVG??si(e)?new rZ(t):new se(t,{allowProjection:e!==es.Fragment}));var lC={left:{hidden:{x:"-100%"},visible:{x:0},exit:{x:"-100%"}},right:{hidden:{x:"100%"},visible:{x:0},exit:{x:"100%"}},top:{hidden:{y:"-100%"},visible:{y:0},exit:{y:"-100%"}},bottom:{hidden:{y:"100%"},visible:{y:0},exit:{y:"100%"}},fade:{hidden:{opacity:0,scale:.95},visible:{opacity:1,scale:1},exit:{opacity:0,scale:.95}}};e.s(["default",0,function(e){var t=e.isOpen,i=e.onClose,n=e.children,r=e.position,s=void 0===r?"right":r,a=e.ease,o=e.duration,l=e.maxWidth,u=e.hasBackdrop,c=e.zIndex,d=e.tailwindString,h=(0,es.useRef)(null),p=(0,es.useRef)(null);return((0,es.useEffect)(function(){var e=function(e){"Escape"===e.key&&i()};return t&&p.current&&p.current.focus(),t?(document.body.classList.add("disabled"),window.addEventListener("keydown",e)):document.body.classList.remove("disabled"),function(){return window.removeEventListener("keydown",e)}},[t]),"object"!=typeof window)?null:(0,ie.createPortal)((0,et.jsx)(ik,{children:t&&(0,et.jsx)(lk.div,{ref:h,className:"fixed inset-0 flex z-[".concat(void 0===c?70:c,"] ").concat(void 0===u||u?"bg-black/50":"bg-[transparent]"," ").concat("fade"===s?"items-center justify-center":""),role:"dialog","aria-modal":"true",onMouseDown:function(e){e.target===h.current&&i()},initial:{opacity:0}
69,animate:{opacity:1},exit:{opacity:0},children:(0,et.jsx)(lk.div,{ref:p,style:{maxWidth:void 0===l?"400px":l},className:"w-full overflow-x-hidden bg-white outline-none focus:outline-none ".concat("left"===s||"right"===s?"h-full":"mx-auto w-full"," ").concat(void 0===d?"":d),initial:lC[s].hidden,animate:lC[s].visible,exit:lC[s].exit,transition:{type:"fade"===s?"spring":"tween",ease:void 0===a?"easeIn":a,duration:void 0===o?.15:o},tabIndex:-1,children:n})})}),document.body)}],89839);let lP=function(e){var t=e.label,i=e.ariaLabel,n=e.tailwindString,r=e.tailwindStringDisabled,s=e.tailwindStringActive,a=e.icon,o=e.iconPosition,l=void 0===o?L.LEFT:o,u=e.isActive,c=e.isDisabled,d=void 0!==c&&c,h=e.onClickCallback;return(0,et.jsx)(en,{label:void 0===t?"":t,ariaLabel:void 0===i?"":i,icon:void 0===a?null:a,onClickCallback:h,tabIndex:d?-1:0,className:"".concat(void 0===n?"":n," ").concat(void 0!==u&&u?void 0===s?"":s:""," ").concat(d?void 0===r?"":r:""),iconPosition:l})};var lA=function(e,t,i){if(i||2==arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))};let lI=function(e){var t=e.currentPage,i=e.pagesCount;return i<=5?Array.from({length:i},function(e,t){return t+1}):t<=2?lA(lA([],Array.from({length:3},function(e,t){return t+1}),!0),["...",i],!1):t>=i-1?lA([1,"..."],Array.from({length:3},function(e,t){return i-2+t}),!0):lA(lA([1,"..."],Array.from({length:3},function(e,i){return t-1+i}),!0),["...",i],!1)},lM=function(e){var t=e.iconColor,i=e.className;return(0,et.jsx)("svg",{className:"text-".concat(void 0===t?"gray-darkest":t," ").concat(void 0===i?"":i," min-w-6"),width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,et.jsx)("path",{d:"M4.66699 9.99996H16.3337M16.3337 9.99996L10.5003 4.16663M16.3337 9.99996L10.5003 15.8333",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})};function lL(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function lN(e={},t={}){let i=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>i.indexOf(e)).forEach(i=>{void 0===e[i]?e[i]=t[i]:lL(t[i])&&lL(e[i])&&Object.keys(t[i]).length>0&&lN(e[i],t[i])})}e.s(["default",0,function(e){var t=e.sectionId,i=void 0===t?"":t,n=e.currentPage,r=e.perPage,s=e.totalItems,a=e.showPrevNext,o=void 0!==a&&a,l=e.tailwindString,u=e.tailwindStringButton,c=void 0===u?"":u,d=e.tailwindStringButtonActive,h=void 0===d?"":d,p=e.tailwindStringButtonDisabled,f=void 0===p?"":p,m=e.tailwindStringSpread,g=void 0===m?"":m,v=e.textStyle,y=void 0===v?"":v,b=e.prevLabel,x=e.nextLabel,w=e.showPrevNextLabels,S=void 0!==w&&w,E=e.onChangeCallback;if(s<=0)return null;var T=Math.ceil(s/r);if(T<=1)return null;var k=function(e){if(!(e<1)&&!(e>T)){var t;i?(t=document.getElementById(i))&&t.scrollIntoView({behavior:"smooth"}):globalThis.scrollTo({top:0,left:0,behavior:"smooth"}),E(e)}},C=lI({currentPage:n,pagesCount:T});return(0,et.jsx)("div",{className:void 0===l?"":l,children:(0,et.jsxs)("ul",{className:"flex flex-wrap gap-2 md:gap-4",children:[o&&(0,et.jsx)("li",{"aria-hidden":1===n,className:"hidden md:block",children:(0,et.jsx)(lP,{ariaLabel:b,label:S&&b?b:"",tailwindString:c,tailwindStringActive:h,tailwindStringDisabled:f,isDisabled:1===n,icon:(0,et.jsx)(lM,{className:"rotate-180 transform"}),iconPosition:L.LEFT,onClickCallback:function(){return k(n-1)}})}),C.map(function(e,t){return(0,et.jsx)("li",{"aria-hidden":"number"!=typeof e,className:y,children:"number"==typeof e?(0,et.jsx)(lP,{ariaLabel:e.toString(),tailwindString:c,tailwindStringActive:h,tailwindStringDisabled:f,label:e.toString(),isActive:e===n,onClickCallback:function(){return k(e)}}):(0,et.jsx)("span",{className:g,children:e})},t)}),o&&(0,et.jsx)("li",{"aria-hidden":n===T,className:"hidden md:block",children:(0,et.jsx)(lP,{ariaLabel:x,label:S&&x?x:"",tailwindString:c,tailwindStringActive:h,tailwindStringDisabled:f,isDisabled:n===T,icon:(0,et.jsx)(lM,{}),iconPosition:L.RIGHT,onClickCallback:function(){return k(n+1)}})})]})})}],55817),e.s(["default",0,function(e){var t=e.number,i=e.height,n=e.width,r=e.tailwindString;return(0,et.jsx)(et.Fragment,{children:Array.from(Array(t),function(e,t){return(0,et.jsx)("div",{className:"w-full animate-pulse rounded-lg bg-gray-300 ".concat(r),style:{height:i,width:n}},t)})})}],12089);let lO={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function lj(){let e="u">typeof document?document:{};return lN(e,lO),e}let l_={document:lO,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){}
69,clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"u"<typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"u">typeof setTimeout&&clearTimeout(e)}};function lR(){let e="u">typeof window?window:{};return lN(e,l_),e}function lD(e,t=0){return setTimeout(e,t)}function lB(){return Date.now()}function lH(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function lV(...e){let t=Object(e[0]);for(let i=1;i<e.length;i+=1){let n=e[i];if(null!=n&&("u">typeof window&&void 0!==window.HTMLElement?!(n instanceof HTMLElement):!n||1!==n.nodeType&&11!==n.nodeType)){let e=Object.keys(Object(n)).filter(e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e);for(let i=0,r=e.length;i<r;i+=1){let r=e[i],s=Object.getOwnPropertyDescriptor(n,r);void 0!==s&&s.enumerable&&(lH(t[r])&&lH(n[r])?n[r].__swiper__?t[r]=n[r]:lV(t[r],n[r]):!lH(t[r])&&lH(n[r])?(t[r]={},n[r].__swiper__?t[r]=n[r]:lV(t[r],n[r])):t[r]=n[r])}}}return t}function lF(e,t,i){e.style.setProperty(t,i)}function lz({swiper:e,targetPosition:t,side:i}){let n,r=lR(),s=-e.translate,a=null,o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);let l=t>s?"next":"prev",u=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,c=()=>{n=new Date().getTime(),null===a&&(a=n);let l=s+(.5-Math.cos(Math.max(Math.min((n-a)/o,1),0)*Math.PI)/2)*(t-s);if(u(l,t)&&(l=t),e.wrapperEl.scrollTo({[i]:l}),u(l,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:l})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(c)};c()}function lU(e,t=""){let i=lR(),n=[...e.children];return(i.HTMLSlotElement&&e instanceof HTMLSlotElement&&n.push(...e.assignedElements()),t)?n.filter(e=>e.matches(t)):n}function lG(e){try{console.warn(e);return}catch(e){}}function l$(e,t=[]){let i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:function(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}(t)),i}function lW(e,t){return lR().getComputedStyle(e,null).getPropertyValue(t)}function lq(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function lX(e,t,i){let n=lR();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function lY(e,t=""){"u">typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}function lK(){let e,t;return r||(e=lR(),r={smoothScroll:(t=lj()).documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}),r}function lZ(e={}){return s||(s=function({userAgent:e}={}){let t=lK(),i=lR(),n=i.navigator.platform,r=e||i.navigator.userAgent,s={ios:!1,android:!1},a=i.screen.width,o=i.screen.height,l=r.match(/(Android);?[\s\/]+([\d.]+)?/),u=r.match(/(iPad)(?!\1).*OS\s([\d_]+)/),c=r.match(/(iPod)(.*OS\s([\d_]+))?/),d=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="MacIntel"===n;return!u&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${o}`)>=0&&((u=r.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),h=!1),l&&"Win32"!==n&&(s.os="android",s.android=!0),(u||d||c)&&
69(s.os="ios",s.ios=!0),s}(e)),s}function lQ(){return a||(a=function(){let e=lR(),t=lZ(),i=!1;function n(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(n()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));i=e<16||16===e&&n<2}}let r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=n(),a=s||r&&t.ios;return{isSafari:i||s,needPerspectiveFix:i,need3dFix:a,isWebView:r}}()),a}let lJ=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)},l0=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)},l1=(e,t)=>{if(!e||e.destroyed||!e.params)return;let i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&!t.lazyPreloaderManaged&&t.remove()})),t&&!t.lazyPreloaderManaged&&t.remove()}},l2=(e,t)=>{if(!e.slides[t])return;let i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},l3=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);let n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let i=[r-t];i.push(...Array.from({length:t}).map((e,t)=>r+n+t)),e.slides.forEach((t,n)=>{i.includes(t.column)&&l2(e,n)});return}let s=r+n-1;if(e.params.rewind||e.params.loop)for(let n=r-t;n<=s+t;n+=1){let t=(n%i+i)%i;(t<r||t>s)&&l2(e,t)}else for(let n=Math.max(r-t,0);n<=Math.min(s+t,i-1);n+=1)n!==r&&(n>s||n<r)&&l2(e,n)};function l5({swiper:e,runCallbacks:t,direction:i,step:n}){let{activeIndex:r,previousIndex:s}=e,a=i;a||(a=r>s?"next":r<s?"prev":"reset"),e.emit(`transition${n}`),t&&"reset"===a?e.emit(`slideResetTransition${n}`):t&&r!==s&&(e.emit(`slideChangeTransition${n}`),"next"===a?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`))}function l6(e,t,i){let n=lR(),{params:r}=e,s=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return!s||!(i<=a)&&!(i>=n.innerWidth-a)||"prevent"===s&&(t.preventDefault(),!0)}function l8(e){var t,i;let n,r,s=lj(),a=e;a.originalEvent&&(a=a.originalEvent);let o=this.touchEventsData;if("pointerdown"===a.type){if(null!==o.pointerId&&o.pointerId!==a.pointerId)return;o.pointerId=a.pointerId}else"touchstart"===a.type&&1===a.targetTouches.length&&(o.touchId=a.targetTouches[0].identifier);if("touchstart"===a.type)return void l6(this,a,a.targetTouches[0].pageX);let{params:l,touches:u,enabled:c}=this;if(!c||!l.simulateTouch&&"mouse"===a.pointerType||this.animating&&l.preventInteractionOnTransition)return;!this.animating&&l.cssMode&&l.loop&&this.loopFix();let d=a.target;if("wrapper"===l.touchEventsTarget&&(t=d,i=this.wrapperEl,n=lR(),!(r=i.contains(t))&&n.HTMLSlotElement&&i instanceof HTMLSlotElement&&((r=[...i.assignedElements()].includes(t))||(r=function(e,t){let i=[t];for(;i.length>0;){let t=i.shift();if(e===t)return!0;i.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(t,i))),!r)||"which"in a&&3===a.which||"button"in a&&a.button>0||o.isTouched&&o.isMoved)return;let h=!!l.noSwipingClass&&""!==l.noSwipingClass,p=a.composedPath?a.composedPath():a.path;h&&a.target&&a.target.shadowRoot&&p&&(d=p[0]);let f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(a.target&&a.target.shadowRoot);if(l.noSwiping&&(m?function(e,t=this){return function t(i){if(!i||i===lj()||i===lR())return null;i.assignedSlot&&(i=i.assignedSlot);let n=i.closest(e);return n||i.getRootNode?n||t(i.getRootNode().host):null}(t)}(f,d):d.closest(f))){this.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;u.currentX=a.pageX,u.currentY=a.pageY;let g=u.currentX,v=u.currentY;if(!l6(this,a,g))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),u.startX=g,u.startY=v,o.touchStartTime=lB(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let y=!0;d.matches(o.focusableElements)&&(y=!1,"SELECT"===d.nodeName&&(o.isTouched=!1)),s.activeElement&&s.activeElement.matches(o.focusableElements)&&s.activeElement!==d&&("mouse"===a.pointerType||"mouse"!==a.pointerType&&!d.matches(o.focusableElements))&&s.activeElement.blur();let b=y&&this.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||b)&&!d.isContentEditable&&a.preventDefault(),l.freeMode&&l.freeMode.enabled&&this.freeMode&&this.animating&&!l.cssMode&&this.freeMode.onTouchStart(),this.emit
69("touchStart",a)}function l4(e){let t,i,n=lj(),r=this.touchEventsData,{params:s,touches:a,rtlTranslate:o,enabled:l}=this;if(!l||!s.simulateTouch&&"mouse"===e.pointerType)return;let u=e;if(u.originalEvent&&(u=u.originalEvent),"pointermove"===u.type&&(null!==r.touchId||u.pointerId!==r.pointerId))return;if("touchmove"===u.type){if(!(t=[...u.changedTouches].find(e=>e.identifier===r.touchId))||t.identifier!==r.touchId)return}else t=u;if(!r.isTouched){r.startMoving&&r.isScrolling&&this.emit("touchMoveOpposite",u);return}let c=t.pageX,d=t.pageY;if(u.preventedByNestedSwiper){a.startX=c,a.startY=d;return}if(!this.allowTouchMove){u.target.matches(r.focusableElements)||(this.allowClick=!1),r.isTouched&&(Object.assign(a,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=lB());return}if(s.touchReleaseOnEdges&&!s.loop){if(this.isVertical()){if(d<a.startY&&this.translate<=this.maxTranslate()||d>a.startY&&this.translate>=this.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(o&&(c>a.startX&&-this.translate<=this.maxTranslate()||c<a.startX&&-this.translate>=this.minTranslate()))return;else if(!o&&(c<a.startX&&this.translate<=this.maxTranslate()||c>a.startX&&this.translate>=this.minTranslate()))return}if(n.activeElement&&n.activeElement.matches(r.focusableElements)&&n.activeElement!==u.target&&"mouse"!==u.pointerType&&n.activeElement.blur(),n.activeElement&&u.target===n.activeElement&&u.target.matches(r.focusableElements)){r.isMoved=!0,this.allowClick=!1;return}r.allowTouchCallbacks&&this.emit("touchMove",u),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=c,a.currentY=d;let h=a.currentX-a.startX,p=a.currentY-a.startY;if(this.params.threshold&&Math.sqrt(h**2+p**2)<this.params.threshold)return;if(void 0===r.isScrolling){let e;this.isHorizontal()&&a.currentY===a.startY||this.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:h*h+p*p>=25&&(e=180*Math.atan2(Math.abs(p),Math.abs(h))/Math.PI,r.isScrolling=this.isHorizontal()?e>s.touchAngle:90-e>s.touchAngle)}if(r.isScrolling&&this.emit("touchMoveOpposite",u),void 0===r.startMoving&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(r.startMoving=!0),r.isScrolling||"touchmove"===u.type&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;this.allowClick=!1,!s.cssMode&&u.cancelable&&u.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&u.stopPropagation();let f=this.isHorizontal()?h:p,m=this.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;s.oneWayMovement&&(f=Math.abs(f)*(o?1:-1),m=Math.abs(m)*(o?1:-1)),a.diff=f,f*=s.touchRatio,o&&(f=-f,m=-m);let g=this.touchesDirection;this.swipeDirection=f>0?"prev":"next",this.touchesDirection=m>0?"prev":"next";let v=this.params.loop&&!s.cssMode,y="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!r.isMoved){if(v&&y&&this.loopFix({direction:this.swipeDirection}),r.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,s.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",u)}if(new Date().getTime(),!1!==s._loopSwapReset&&r.isMoved&&r.allowThresholdMove&&g!==this.touchesDirection&&v&&y&&Math.abs(f)>=1){Object.assign(a,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}this.emit("sliderMove",u),r.isMoved=!0,r.currentTranslate=f+r.startTranslate;let b=!0,x=s.resistanceRatio;if(s.touchReleaseOnEdges&&(x=0),f>0?(v&&y&&!i&&r.allowThresholdMove&&r.currentTranslate>(s.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==s.slidesPerView&&this.slides.length-s.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>this.minTranslate()&&(b=!1,s.resistance&&(r.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+r.startTranslate+f)**x))):f<0&&(v&&y&&!i&&r.allowThresholdMove&&r.currentTranslate<(s.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==s.slidesPerView&&this.slides.length-s.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===s.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),r.currentTranslate<this.maxTranslate()&&(b=!1,s.resistance&&(r.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-r.startTranslate-f)**x))),b&&(u.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),this.allowSlidePrev||this.allowSlideNext||(r.currentTranslate=r.startTranslate),s.threshold>0)if(Math.abs(f)>s.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,a.diff=this.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{r.currentTranslate=r.startTranslate;return}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&this.freeMode||s.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(r.currentTranslate),this.setTranslate(r.currentTranslate))}function l9(e){let t,i,n=this,r=n.touchEventsData,s=e;if(s.originalEvent&&(s=s.originalEvent),"touchend"===s.type||"touchcancel"===s.type){if(!(t=[...s.changedTouches].find(e=>e.identifier===r.touchId))||t.identifier!==r.touchId)return}else{if(null!==r.touchId||s.pointerId!==r.pointerId)return;t=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(n.browser.isSafari||n.browser.isWebView)))return;r.pointerId=null,r.touchId=null;let{params:a,touches:o,rtlTranslate:l,slidesGrid:u,enabled:c}=n;if(!c||!a.simulateTouch&&"mouse"===s.pointerType)return;if(r.allowTouchCallbacks&&n.emit("touchEnd",s),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&a.grabCursor&&n.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}a.grabCursor&&r.isMoved&&r.isTouched&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!1);let d=lB(),h=d-r.touchStartTime;if(n.allowClick){let e=s.path||s.composedPath&&s.composedPath();n.updateClickedSlide(e&&e[0]||s.target,e),n.emit("tap click",s),h<300&&d-r.lastClickTime<300&&n.emit("doubleTap doubleClick",
69s)}if(r.lastClickTime=lB(),lD(()=>{n.destroyed||(n.allowClick=!0)}),!r.isTouched||!r.isMoved||!n.swipeDirection||0===o.diff&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,i=a.followFinger?l?n.translate:-n.translate:-r.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void n.freeMode.onTouchEnd({currentPos:i});let p=i>=-n.maxTranslate()&&!n.params.loop,f=0,m=n.slidesSizesGrid[0];for(let e=0;e<u.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){let t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==u[e+t]?(p||i>=u[e]&&i<u[e+t])&&(f=e,m=u[e+t]-u[e]):(p||i>=u[e])&&(f=e,m=u[u.length-1]-u[u.length-2])}let g=null,v=null;a.rewind&&(n.isBeginning?v=a.virtual&&a.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(g=0));let y=(i-u[f])/m,b=f<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(h>a.longSwipesMs){if(!a.longSwipes)return void n.slideTo(n.activeIndex);"next"===n.swipeDirection&&(y>=a.longSwipesRatio?n.slideTo(a.rewind&&n.isEnd?g:f+b):n.slideTo(f)),"prev"===n.swipeDirection&&(y>1-a.longSwipesRatio?n.slideTo(f+b):null!==v&&y<0&&Math.abs(y)>a.longSwipesRatio?n.slideTo(v):n.slideTo(f))}else{if(!a.shortSwipes)return void n.slideTo(n.activeIndex);n.navigation&&(s.target===n.navigation.nextEl||s.target===n.navigation.prevEl)?s.target===n.navigation.nextEl?n.slideTo(f+b):n.slideTo(f):("next"===n.swipeDirection&&n.slideTo(null!==g?g:f+b),"prev"===n.swipeDirection&&n.slideTo(null!==v?v:f))}}function l7(){let e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:r,snapGrid:s}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let o=a&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function ue(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function ut(){let{wrapperEl:e,rtlTranslate:t,enabled:i}=this;if(!i)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function ui(e){l1(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function un(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let ur=(e,t)=>{let i=lj(),{params:n,el:r,wrapperEl:s,device:a}=e,o=!!n.nested,l="on"===t?"addEventListener":"removeEventListener";r&&"string"!=typeof r&&(i[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),r[l]("touchstart",e.onTouchStart,{passive:!1}),r[l]("pointerdown",e.onTouchStart,{passive:!1}),i[l]("touchmove",e.onTouchMove,{passive:!1,capture:o}),i[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),i[l]("touchend",e.onTouchEnd,{passive:!0}),i[l]("pointerup",e.onTouchEnd,{passive:!0}),i[l]("pointercancel",e.onTouchEnd,{passive:!0}),i[l]("touchcancel",e.onTouchEnd,{passive:!0}),i[l]("pointerout",e.onTouchEnd,{passive:!0}),i[l]("pointerleave",e.onTouchEnd,{passive:!0}),i[l]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&r[l]("click",e.onClick,!0),n.cssMode&&s[l]("scroll",e.onScroll),n.updateOnWindowResize?e[t](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",l7,!0):e[t]("observerUpdate",l7,!0),r[l]("load",e.onLoad,{capture:!0}))},us=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var ua={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",
69spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!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};let uo={eventsEmitter:{on(e,t,i){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;let r=i?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][r](t)}),n},once(e,t,i){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;function r(...i){n.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(n,i)}return r.__emitterProxy=t,n.on(e,r,i)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let i=this;return i.eventsListeners&&!i.destroyed&&i.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)})}),i},emit(...e){let t,i,n,r=this;return r.eventsListeners&&!r.destroyed&&r.eventsListeners&&("string"==typeof e[0]||Array.isArray(e[0])?(t=e[0],i=e.slice(1,e.length),n=r):(t=e[0].events,i=e[0].data,n=e[0].context||r),i.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEach(e=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(t=>{t.apply(n,[e,...i])}),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach(e=>{e.apply(n,i)})})),r}},update:{updateSize:function(){let e,t,i=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:i.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:i.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(lW(i,"padding-left")||0,10)-parseInt(lW(i,"padding-right")||0,10),t=t-parseInt(lW(i,"padding-top")||0,10)-parseInt(lW(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e,t=this;function i(e,i){return parseFloat(e.getPropertyValue(t.getDirectionLabel(i))||0)}let n=t.params,{wrapperEl:r,slidesEl:s,rtlTranslate:a,wrongRTL:o}=t,l=t.virtual&&n.virtual.enabled,u=l?t.virtual.slides.length:t.slides.length,c=lU(s,`.${t.params.slideClass}, swiper-slide`),d=l?t.virtual.slides.length:c.length,h=[],p=[],f=[],m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(t));let g=n.slidesOffsetAfter;"function"==typeof g&&(g=n.slidesOffsetAfter.call(t));let v=t.snapGrid.length,y=t.slidesGrid.length,b=t.size-m-g,x=n.spaceBetween,w=-m,S=0,E=0;if(void 0===b)return;"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*b:"string"==typeof x&&(x=parseFloat(x)),t.virtualSize=-x-m-g,c.forEac
69h(e=>{a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(lF(r,"--swiper-centered-offset-before",""),lF(r,"--swiper-centered-offset-after","")),n.cssMode&&(lF(r,"--swiper-slides-offset-before",`${m}px`),lF(r,"--swiper-slides-offset-after",`${g}px`));let T=n.grid&&n.grid.rows>1&&t.grid;T?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let k="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let r=0;r<d;r+=1){e=0;let s=c[r];if(!s||(T&&t.grid.updateSlide(r,s,c),"none"!==lW(s,"display"))){if(l&&"auto"===n.slidesPerView)n.virtual.slidesPerViewAutoSlideSize&&(e=n.virtual.slidesPerViewAutoSlideSize),e&&s&&(n.roundLengths&&(e=Math.floor(e)),s.style[t.getDirectionLabel("width")]=`${e}px`);else if("auto"===n.slidesPerView){k&&(s.style[t.getDirectionLabel("width")]="");let r=getComputedStyle(s),a=s.style.transform,o=s.style.webkitTransform;if(a&&(s.style.transform="none"),o&&(s.style.webkitTransform="none"),n.roundLengths)e=t.isHorizontal()?lX(s,"width",!0):lX(s,"height",!0);else{let t=i(r,"width"),n=i(r,"padding-left"),a=i(r,"padding-right"),o=i(r,"margin-left"),l=i(r,"margin-right"),u=r.getPropertyValue("box-sizing");if(u&&"border-box"===u)e=t+o+l;else{let{clientWidth:i,offsetWidth:r}=s;e=t+n+a+o+l+(r-i)}}a&&(s.style.transform=a),o&&(s.style.webkitTransform=o),n.roundLengths&&(e=Math.floor(e))}else e=(b-(n.slidesPerView-1)*x)/n.slidesPerView,n.roundLengths&&(e=Math.floor(e)),s&&(s.style[t.getDirectionLabel("width")]=`${e}px`);s&&(s.swiperSlideSize=e),f.push(e),n.centeredSlides?(w=w+e/2+S/2+x,0===S&&0!==r&&(w=w-b/2-x),0===r&&(w=w-b/2-x),.001>Math.abs(w)&&(w=0),n.roundLengths&&(w=Math.floor(w)),E%n.slidesPerGroup==0&&h.push(w),p.push(w)):(n.roundLengths&&(w=Math.floor(w)),(E-Math.min(t.params.slidesPerGroupSkip,E))%t.params.slidesPerGroup==0&&h.push(w),p.push(w),w=w+e+x),t.virtualSize+=e+x,S=e,E+=1}}if(t.virtualSize=Math.max(t.virtualSize,b)+g,a&&o&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width=`${t.virtualSize+x}px`),n.setWrapperSize&&(r.style[t.getDirectionLabel("width")]=`${t.virtualSize+x}px`),T&&t.grid.updateWrapperSize(e,h),!n.centeredSlides){let e="auto"!==n.slidesPerView&&n.slidesPerView%1!=0,i=n.snapToSlideEdge&&!n.loop&&("auto"===n.slidesPerView||e),r=h.length;if(i){let e;if("auto"===n.slidesPerView){e=1;let t=0;for(let i=f.length-1;i>=0;i-=1)if((t+=f[i]+(i<f.length-1?x:0))<=b)e=f.length-i;else break}else e=Math.floor(n.slidesPerView);r=Math.max(d-e,0)}let s=[];for(let e=0;e<h.length;e+=1){let a=h[e];n.roundLengths&&(a=Math.floor(a)),i?e<=r&&s.push(a):h[e]<=t.virtualSize-b&&s.push(a)}h=s,Math.floor(t.virtualSize-b)-Math.floor(h[h.length-1])>1&&!i&&h.push(t.virtualSize-b)}if(l&&n.loop){let e=f[0]+x;if(n.slidesPerGroup>1){let i=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),r=e*n.slidesPerGroup;for(let e=0;e<i;e+=1)h.push(h[h.length-1]+r)}for(let i=0;i<t.virtual.slidesBefore+t.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&h.push(h[h.length-1]+e),p.push(p[p.length-1]+e),t.virtualSize+=e}if(0===h.length&&(h=[0]),0!==x){let e=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");c.filter((e,t)=>!n.cssMode||!!n.loop||t!==c.length-1).forEach(t=>{t.style[e]=`${x}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;f.forEach(t=>{e+=t+(x||0)});let t=(e-=x)>b?e-b:0;h=h.map(e=>e<=0?-m:e>t?t+g:e)}if(n.centerInsufficientSlides){let e=0;if(f.forEach(t=>{e+=t+(x||0)}),(e-=x)<b){let t=(b-e)/2;h.forEach((e,i)=>{h[i]=e-t}),p.forEach((e,i)=>{p[i]=e+t})}}if(Object.assign(t,{slides:c,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){lF(r,"--swiper-centered-offset-before",`${-h[0]}px`),lF(r,"--swiper-centered-offset-after",`${t.size/2-f[f.length-1]/2}px`);let e=-t.snapGrid[0],i=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+i)}if(d!==u&&t.emit("slidesLengthChange"),h.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==y&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!l&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){let e=`${n.containerModifierClass}backface-hidden`,i=t.el.classList.contains(e);d<=n.maxBackfaceHiddenSlides?i||t.el.classList.add(e):i&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t,i=this,n=[],r=i.virtual&&i.params.virtual.enabled,s=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);let a=e=>r?i.slides[i.getSlideIndexByData(e)]:i.slides[e];if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>
691)if(i.params.centeredSlides)(i.visibleSlides||[]).forEach(e=>{n.push(e)});else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){let e=i.activeIndex+t;if(e>i.slides.length&&!r)break;n.push(a(e))}else n.push(a(i.activeIndex));for(t=0;t<n.length;t+=1)if(void 0!==n[t]){let e=n[t].offsetHeight;s=e>s?e:s}(s||0===s)&&(i.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let i=0;i<e.length;i+=1)e[i].swiperSlideOffset=(this.isHorizontal()?e[i].offsetLeft:e[i].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){let t=this.params,{slides:i,rtlTranslate:n,snapGrid:r}=this;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();let s=-e;n&&(s=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let a=t.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*this.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<i.length;e+=1){let o=i[e],l=o.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=i[0].swiperSlideOffset);let u=(s+(t.centeredSlides?this.minTranslate():0)-l)/(o.swiperSlideSize+a),c=(s-r[0]+(t.centeredSlides?this.minTranslate():0)-l)/(o.swiperSlideSize+a),d=-(s-l),h=d+this.slidesSizesGrid[e],p=d>=0&&d<=this.size-this.slidesSizesGrid[e],f=d>=0&&d<this.size-1||h>1&&h<=this.size||d<=0&&h>=this.size;f&&(this.visibleSlides.push(o),this.visibleSlidesIndexes.push(e)),lJ(o,f,t.slideVisibleClass),lJ(o,p,t.slideFullyVisibleClass),o.progress=n?-u:u,o.originalProgress=n?-c:c}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,i=this.maxTranslate()-this.minTranslate(),{progress:n,isBeginning:r,isEnd:s,progressLoop:a}=this,o=r,l=s;if(0===i)n=0,r=!0,s=!0;else{n=(e-this.minTranslate())/i;let t=1>Math.abs(e-this.minTranslate()),a=1>Math.abs(e-this.maxTranslate());r=t||n<=0,s=a||n>=1,t&&(n=0),a&&(n=1)}if(t.loop){let t=this.getSlideIndexByData(0),i=this.getSlideIndexByData(this.slides.length-1),n=this.slidesGrid[t],r=this.slidesGrid[i],s=this.slidesGrid[this.slidesGrid.length-1],o=Math.abs(e);(a=o>=n?(o-n)/s:(o+s-r)/s)>1&&(a-=1)}Object.assign(this,{progress:n,progressLoop:a,isBeginning:r,isEnd:s}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),r&&!o&&this.emit("reachBeginning toEdge"),s&&!l&&this.emit("reachEnd toEdge"),(o&&!r||l&&!s)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){let e,t,i,{slides:n,params:r,slidesEl:s,activeIndex:a}=this,o=this.virtual&&r.virtual.enabled,l=this.grid&&r.grid&&r.grid.rows>1,u=e=>lU(s,`.${r.slideClass}${e}, swiper-slide${e}`)[0];if(o)if(r.loop){let t=a-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=u(`[data-swiper-slide-index="${t}"]`)}else e=u(`[data-swiper-slide-index="${a}"]`);else l?(e=n.find(e=>e.column===a),i=n.find(e=>e.column===a+1),t=n.find(e=>e.column===a-1)):e=n[a];e&&!l&&(i=function(e,t){let i=[];for(;e.nextElementSibling;){let n=e.nextElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}(e,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!i&&(i=n[0]),t=function(e,t){let i=[];for(;e.previousElementSibling;){let n=e.previousElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}(e,`.${r.slideClass}, swiper-slide`)[0],r.loop),n.forEach(n=>{l0(n,n===e,r.slideActiveClass),l0(n,n===i,r.slideNextClass),l0(n,n===t,r.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,i,n=this,r=n.rtlTranslate?n.translate:-n.translate,{snapGrid:s,params:a,activeIndex:o,realIndex:l,snapIndex:u}=n,c=e,d=e=>{let t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if(void 0===c&&(c=function(e){let t,{slidesGrid:i,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<i.length;e+=1)void 0!==i[e+1]?r>=i[e]&&r<i[e+1]-(i[e+1]-i[e])/2?t=e:r>=i[e]&&r<i[e+1]&&(t=e+1):r>=i[e]&&(t=e);return n.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(n)),s.indexOf(r)>=0)t=s.indexOf(r);else{let e=Math.min(a.slidesPerGroupSkip,c);t=e+Math.floor((c-e)/a.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),c===o&&!n.params.loop){t!==u&&(n.snapIndex=t,n.emit("snapIndexChange"));return}if(c===o&&n.params.loop&&n.virtual&&n.params.virtual.enabled){n.realIndex=d(c);return}let h=n.grid&&a.grid&&a.grid.rows>1;if(n.virtual&&a.virtual.enabled)i=a.loop?d(c):c;else if(h){let e=n.slides.find(e=>e.column===c),t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(n.slides.indexOf(e),0)),i=Math.floor(t/a.grid.rows)}else if(n.slides[c]){let e=n.slides[c].getAttribute("data-swiper-slide-index");i=e?parseInt(e,10):c}else i=c;Object.assign(n,{previousSnapIndex:u,snapIndex:t,previousRealIndex:l,realIndex:i,previousIndex:o,activeIndex:c}),n.initialized&&l3(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(l!==i&&n.emit("realIndexChange"),n.emit("slideChange"))},updateClickedSlide:function(e,t){let i,n=this.params,r=e.closest(`.${n.slideClass}, swiper-slide`);!r&&this.isElement&&t&&t.length>
691&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(r=e)});let s=!1;if(r){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===r){s=!0,i=e;break}}if(r&&s)this.clickedSlide=r,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=i;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}n.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e=this.isHorizontal()?"x":"y"){let{params:t,rtlTranslate:i,translate:n,wrapperEl:r}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let s=function(e,t="x"){let i,n,r,s,a,o=lR(),l=((a=lR()).getComputedStyle&&(s=a.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s);return o.WebKitCSSMatrix?((n=l.transform||l.webkitTransform).split(",").length>6&&(n=n.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new o.WebKitCSSMatrix("none"===n?"":n)):i=(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=o.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=o.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0}(r,e);return s+=this.cssOverflowAdjustment(),i&&(s=-s),s||0},setTranslate:function(e,t){let{rtlTranslate:i,params:n,wrapperEl:r,progress:s}=this,a=0,o=0;this.isHorizontal()?a=i?-e:e:o=e,n.roundLengths&&(a=Math.floor(a),o=Math.floor(o)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:o,n.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-a:-o:n.virtualTranslate||(this.isHorizontal()?a-=this.cssOverflowAdjustment():o-=this.cssOverflowAdjustment(),r.style.transform=`translate3d(${a}px, ${o}px, 0px)`);let l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==s&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,i=!0,n=!0,r){let s,a=this,{params:o,wrapperEl:l}=a;if(a.animating&&o.preventInteractionOnTransition)return!1;let u=a.minTranslate(),c=a.maxTranslate();if(s=n&&e>u?u:n&&e<c?c:e,a.updateProgress(s),o.cssMode){let e=a.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-s;else{if(!a.support.smoothScroll)return lz({swiper:a,targetPosition:-s,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-s,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(s),i&&(a.emit("beforeTransitionStart",t,r),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(s),i&&(a.emit("beforeTransitionStart",t,r),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){!a||a.destroyed||e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,i&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e=!0,t){let{params:i}=this;i.cssMode||(i.autoHeight&&this.updateAutoHeight(),l5({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){let{params:i}=this;this.animating=!1,i.cssMode||(this.setTransition(0),l5({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e=0,t,i=!0,n,r){let s;"string"==typeof e&&(e=parseInt(e,10));let a=this,o=e;o<0&&(o=0);let{params:l,snapGrid:u,slidesGrid:c,previousIndex:d,activeIndex:h,rtlTranslate:p,wrapperEl:f,enabled:m}=a;if(!m&&!n&&!r||a.destroyed||a.animating&&l.preventInteractionOnTransition)return!1;void 0===t&&(t=a.params.speed);let g=Math.min(a.params.slidesPerGroupSkip,o),v=g+Math.floor((o-g)/a.params.slidesPerGroup);v>=u.length&&(v=u.length-1);let y=-u[v];
69if(l.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){let t=-Math.floor(100*y),i=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=i&&t<n-(n-i)/2?o=e:t>=i&&t<n&&(o=e+1):t>=i&&(o=e)}if(a.initialized&&o!==h&&(!a.allowSlideNext&&(p?y>a.translate&&y>a.minTranslate():y<a.translate&&y<a.minTranslate())||!a.allowSlidePrev&&y>a.translate&&y>a.maxTranslate()&&(h||0)!==o))return!1;o!==(d||0)&&i&&a.emit("beforeSlideChangeStart"),a.updateProgress(y),s=o>h?"next":o<h?"prev":"reset";let b=a.virtual&&a.params.virtual.enabled;if(!(b&&r)&&(p&&-y===a.translate||!p&&y===a.translate))return a.updateActiveIndex(o),l.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==l.effect&&a.setTranslate(y),"reset"!==s&&(a.transitionStart(i,s),a.transitionEnd(i,s)),!1;if(l.cssMode){let e=a.isHorizontal(),i=p?y:-y;if(0===t)b&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),b&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[e?"scrollLeft":"scrollTop"]=i})):f[e?"scrollLeft":"scrollTop"]=i,b&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return lz({swiper:a,targetPosition:i,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}let x=lQ().isSafari;return b&&!r&&x&&a.isElement&&a.virtual.update(!1,!1,o),a.setTransition(t),a.setTranslate(y),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(i,s),0===t?a.transitionEnd(i,s):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){!a||a.destroyed||e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,s))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,i=!0,n){"string"==typeof e&&(e=parseInt(e,10));let r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);let s=r.grid&&r.params.grid&&r.params.grid.rows>1,a=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)a+=r.virtual.slidesBefore;else{let e;if(s){let t=a*r.params.grid.rows;e=r.slides.find(e=>+e.getAttribute("data-swiper-slide-index")===t).column}else e=r.getSlideIndexByData(a);let t=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:i,slidesOffsetBefore:o,slidesOffsetAfter:l}=r.params,u=i||!!o||!!l,c=r.params.slidesPerView;"auto"===c?c=r.slidesPerViewDynamic():(c=Math.ceil(parseFloat(r.params.slidesPerView,10)),u&&c%2==0&&(c+=1));let d=t-e<c;if(u&&(d=d||e<Math.ceil(c/2)),n&&u&&"auto"!==r.params.slidesPerView&&!s&&(d=!1),d){let i=u?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?r.realIndex:void 0})}if(s){let e=a*r.params.grid.rows;a=r.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e).column}else a=r.getSlideIndexByData(a)}return requestAnimationFrame(()=>{r.slideTo(a,t,i,n)}),r},slideNext:function(e,t=!0,i){let n=this,{enabled:r,params:s,animating:a}=n;if(!r||n.destroyed)return n;void 0===e&&(e=n.params.speed);let o=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));let l=n.activeIndex<s.slidesPerGroupSkip?1:o,u=n.virtual&&s.virtual.enabled;if(s.loop){if(a&&!u&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,e,t,i)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e,t=!0,i){let n=this,{params:r,snapGrid:s,slidesGrid:a,rtlTranslate:o,enabled:l,animating:u}=n;if(!l||n.destroyed)return n;void 0===e&&(e=n.params.speed);let c=n.virtual&&r.virtual.enabled;if(r.loop){if(u&&!c&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let h=d(o?n.translate:-n.translate),p=s.map(e=>d(e)),f=r.freeMode&&r.freeMode.enabled,m=s[p.indexOf(h)-1];if(void 0===m&&(r.cssMode||f)){let e;
69s.forEach((t,i)=>{h>=t&&(e=i)}),void 0!==e&&(m=f?s[e]:s[e>0?e-1:e])}let g=0;if(void 0!==m&&((g=a.indexOf(m))<0&&(g=n.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(g=Math.max(g=g-n.slidesPerViewDynamic("previous",!0)+1,0))),r.rewind&&n.isBeginning){let r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,e,t,i)}return r.loop&&0===n.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{n.slideTo(g,e,t,i)}),!0):n.slideTo(g,e,t,i)},slideReset:function(e,t=!0,i){if(!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t=!0,i,n=.5){if(this.destroyed)return;void 0===e&&(e=this.params.speed);let r=this.activeIndex,s=Math.min(this.params.slidesPerGroupSkip,r),a=s+Math.floor((r-s)/this.params.slidesPerGroup),o=this.rtlTranslate?this.translate:-this.translate;if(o>=this.snapGrid[a]){let e=this.snapGrid[a];o-e>(this.snapGrid[a+1]-e)*n&&(r+=this.params.slidesPerGroup)}else{let e=this.snapGrid[a-1];o-e<=(this.snapGrid[a]-e)*n&&(r-=this.params.slidesPerGroup)}return r=Math.min(r=Math.max(r,0),this.slidesGrid.length-1),this.slideTo(r,e,t,i)},slideToClickedSlide:function(){let e,t=this;if(t.destroyed)return;let{params:i,slidesEl:n}=t,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,s=t.getSlideIndexWhenGrid(t.clickedIndex),a=t.isElement?"swiper-slide":`.${i.slideClass}`,o=t.grid&&t.params.grid&&t.params.grid.rows>1;if(i.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),i.centeredSlides?t.slideToLoop(e):s>(o?(t.slides.length-r)/2-(t.params.grid.rows-1):t.slides.length-r)?(t.loopFix(),s=t.getSlideIndex(lU(n,`${a}[data-swiper-slide-index="${e}"]`)[0]),lD(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}},loop:{loopCreate:function(e,t){let i,n=this,{params:r,slidesEl:s}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;let a=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||a)&&((i=lU(s,`.${r.slideBlankClass}
69`)).forEach(e=>{e.remove()}),i.length>0&&(n.recalcSlides(),n.updateSlides()));let o=r.slidesPerGroup*(a?r.grid.rows:1),l=n.slides.length%o!=0,u=a&&n.slides.length%r.grid.rows!=0,c=e=>{for(let t=0;t<e;t+=1){let e=n.isElement?l$("swiper-slide",[r.slideBlankClass]):l$("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(e)}};l?r.loopAddBlankSlides?(c(o-n.slides.length%o),n.recalcSlides(),n.updateSlides()):lG("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)"):u&&(r.loopAddBlankSlides?(c(r.grid.rows-n.slides.length%r.grid.rows),n.recalcSlides(),n.updateSlides()):lG("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)")),lU(s,`.${r.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)});let d=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:d?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:i,setTranslate:n,activeSlideIndex:r,initial:s,byController:a,byMousewheel:o}={}){let l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");let{slides:u,allowSlidePrev:c,allowSlideNext:d,slidesEl:h,params:p}=l,{centeredSlides:f,slidesOffsetBefore:m,slidesOffsetAfter:g,initialSlide:v}=p,y=f||!!m||!!g;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled){t&&(y||0!==l.snapIndex?y&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=d,l.emit("loopFix");return}let b=p.slidesPerView;"auto"===b?b=l.slidesPerViewDynamic():(b=Math.ceil(parseFloat(p.slidesPerView,10)),y&&b%2==0&&(b+=1));let x=p.slidesPerGroupAuto?b:p.slidesPerGroup,w=y?Math.max(x,Math.ceil(b/2)):x;w%x!=0&&(w+=x-w%x),l.loopedSlides=w+=p.loopAdditionalSlides;let S=l.grid&&p.grid&&p.grid.rows>1;u.length<b+w||"cards"===l.params.effect&&u.length<b+2*w?lG("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):S&&"row"===p.grid.fill&&lG("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let E=[],T=[],k=S?Math.ceil(u.length/p.grid.rows):u.length,C=s&&k-v<b&&!y,P=C?v:l.activeIndex;void 0===r?r=l.getSlideIndex(u.find(e=>e.classList.contains(p.slideActiveClass))):P=r;let A="next"===i||!i,I="prev"===i||!i,M=0,L=0,N=(S?u[r].column:r)+(y&&void 0===n?-b/2+.5:0);if(N<w){M=Math.max(w-N,x);for(let e=0;e<w-N;e+=1){let t=e-Math.floor(e/k)*k;if(S){let e=k-t-1;for(let t=u.length-1;t>=0;t-=1)u[t].column===e&&E.push(t)}else E.push(k-t-1)}}else if(N+b>k-w){L=Math.max(N-(k-2*w),x),C&&(L=Math.max(L,b-k+v+1));for(let e=0;e<L;e+=1){let t=e-Math.floor(e/k)*k;S?u.forEach((e,i)=>{e.column===t&&T.push(i)}):T.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),"cards"===l.params.effect&&u.length<b+2*w&&(T.includes(r)&&T.splice(T.indexOf(r),1),E.includes(r)&&E.splice(E.indexOf(r),1)),I&&E.forEach(e=>{u[e].swiperLoopMoveDOM=!0,h.prepend(u[e]),u[e].swiperLoopMoveDOM=!1}),A&&T.forEach(e=>{u[e].swiperLoopMoveDOM=!0,h.append(u[e]),u[e].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===p.slidesPerView?l.updateSlides():S&&(E.length>0&&I||T.length>0&&A)&&l.slides.forEach((e,t)=>{l.grid.updateSlide(t,e,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),t){if(E.length>0&&I){if(void 0===e){let e=l.slidesGrid[P],t=l.slidesGrid[P+M]-e;o?l.setTranslate(l.translate-t):(l.slideTo(P+Math.ceil(M),0,!1,!0),n&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(n){let e=S?E.length/p.grid.rows:E.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(T.length>0&&A)if(void 0===e){let e=l.slidesGrid[P],t=l.slidesGrid[P-L]-e;o?l.setTranslate(l.translate-t):(l.slideTo(P-L,0,!1,!0),n&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{let e=S?T.length/p.grid.rows:T.length;l.slideTo(l.activeIndex-e,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!a){let s={slideRealIndex:e,direction:i,setTranslate:n,activeSlideIndex:r,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(e
69=>{!e.destroyed&&e.params.loop&&e.loopFix({...s,slideTo:e.params.slidesPerView===p.slidesPerView&&t})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...s,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView&&t})}l.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||!t||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let i=[];this.slides.forEach(e=>{i[void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=l8.bind(this),this.onTouchMove=l4.bind(this),this.onTouchEnd=l9.bind(this),this.onDocumentTouchStart=un.bind(this),e.cssMode&&(this.onScroll=ut.bind(this)),this.onClick=ue.bind(this),this.onLoad=ui.bind(this),ur(this,"on")},detachEvents:function(){ur(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:i,params:n,el:r}=e,s=n.breakpoints;if(!s||s&&0===Object.keys(s).length)return;let a=lj(),o="window"!==n.breakpointsBase&&n.breakpointsBase?"container":n.breakpointsBase,l=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?e.el:a.querySelector(n.breakpointsBase),u=e.getBreakpoint(s,o,l);if(!u||e.currentBreakpoint===u)return;let c=(u in s?s[u]:void 0)||e.originalParams,d=us(e,n),h=us(e,c),p=e.params.grabCursor,f=c.grabCursor,m=n.enabled;d&&!h?(r.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&h&&(r.classList.add(`${n.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===n.grid.fill)&&r.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),p&&!f?e.unsetGrabCursor():!p&&f&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===c[t])return;let i=n[t]&&n[t].enabled,r=c[t]&&c[t].enabled;i&&!r&&e[t].disable(),!i&&r&&e[t].enable()});let g=c.direction&&c.direction!==n.direction,v=n.loop&&(c.slidesPerView!==n.slidesPerView||g),y=n.loop;g&&i&&e.changeDirection(),lV(e.params,c);let b=e.params.enabled,x=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!b?e.disable():!m&&b&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",c),i&&(v?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&x?(e.loopCreate(t),e.updateSlides()):y&&!x&&e.loopDestroy()),e.emit("breakpoint",c)},getBreakpoint:function(e,t="window",i){if(!e||"container"===t&&!i)return;let n=!1,r=lR(),s="window"===t?r.innerHeight:i.clientHeight,a=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:s*parseFloat(e.substr(1)),point:e}:{value:e,point:e});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<a.length;e+=1){let{point:s,value:o}=a[e];"window"===t?r.matchMedia(`(min-width: ${o}px)`).matches&&(n=s):o<=i.clientWidth&&(n=s)}return n||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:i}=t;if(i){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*i;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit
69(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e,t;let i,{classNames:n,params:r,rtl:s,el:a,device:o}=this,l=(e=["initialized",r.direction,{"free-mode":this.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:s},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],t=r.containerModifierClass,i=[],e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&i.push(t+n)}):"string"==typeof e&&i.push(t+e)}),i);n.push(...l),a.classList.add(...n),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},ul={};class uu{constructor(...e){let t,i;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?i=e[0]:[t,i]=e,i||(i={}),i=lV({},i),t&&!i.el&&(i.el=t);const n=lj();if(i.el&&"string"==typeof i.el&&n.querySelectorAll(i.el).length>1){const e=[];return n.querySelectorAll(i.el).forEach(t=>{let n=lV({},i,{el:t});e.push(new uu(n))}),e}const r=this;r.__swiper__=!0,r.support=lK(),r.device=lZ({userAgent:i.userAgent}),r.browser=lQ(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],i.modules&&Array.isArray(i.modules)&&i.modules.forEach(e=>{"function"==typeof e&&0>r.modules.indexOf(e)&&r.modules.push(e)});const s={};r.modules.forEach(e=>{var t;e({params:i,swiper:r,extendParams:(t=i,function(e={}){let i=Object.keys(e)[0],n=e[i];"object"!=typeof n||null===n||(!0===t[i]&&(t[i]={enabled:!0}),"navigation"===i&&t[i]&&t[i].enabled&&!t[i].prevEl&&!t[i].nextEl&&(t[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&t[i]&&t[i].enabled&&!t[i].el&&(t[i].auto=!0),i in t&&"enabled"in n&&("object"!=typeof t[i]||"enabled"in t[i]||(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}))),lV(s,e)}),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const a=lV({},ua,s);return r.params=lV({},a,ul,i),r.originalParams=lV({},r.params),r.passedParams=lV({}
69,i),r.params&&r.params.on&&Object.keys(r.params.on).forEach(e=>{r.on(e,r.params.on[e])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.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:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(e){return this.isHorizontal()?e:({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"})[e]}getSlideIndex(e){let{slidesEl:t,params:i}=this,n=lq(lU(t,`.${i.slideClass}, swiper-slide`)[0]);return lq(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=lU(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let i=this.minTranslate(),n=(this.maxTranslate()-i)*e+i;this.translateTo(n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(i=>{let n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){let{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:a,activeIndex:o}=this,l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=n[o]?Math.ceil(n[o].swiperSlideSize):0;for(let i=o+1;i<n.length;i+=1)n[i]&&!e&&(t+=Math.ceil(n[i].swiperSlideSize),l+=1,t>a&&(e=!0));for(let i=o-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=o+1;e<n.length;e+=1)(t?r[e]+s[e]-r[o]<a:r[e]-r[o]<a)&&(l+=1);else for(let e=o-1;e>=0;e-=1)r[o]-r[e]<a&&(l+=1);return l}update(){let e,t=this;if(!t||t.destroyed)return;let{snapGrid:i,params:n}=t;function r(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&l1(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&t.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){let i=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;
69e=t.slideTo(i.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||r()}n.watchOverflow&&i!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t=!0){let i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${i}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,r=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(n()):lU(i,n())[0];return!r&&t.params.createElements&&(r=l$("div",t.params.wrapperClass),i.append(r),lU(i,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:i,wrapperEl:r,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:r,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===lW(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===lW(i,"direction")),wrongRTL:"-webkit-box"===lW(r,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(e=>{e.complete?l1(t,e):e.addEventListener("load",e=>{l1(t,e.target)})}),l3(t),t.initialized=!0,l3(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){let i=this,{params:n,el:r,wrapperEl:s,slides:a}=i;if(void 0===i.params||i.destroyed)return null;(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),s&&s.removeAttribute("style"),a&&a.length&&a.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e)&&(i.el&&"string"!=typeof i.el&&(i.el.swiper=null),Object.keys(i).forEac
69h(e=>{try{i[e]=null}catch(e){}try{delete i[e]}catch(e){}}));return i.destroyed=!0,null}static extendDefaults(e){lV(ul,e)}static get extendedDefaults(){return ul}static get defaults(){return ua}static installModule(e){uu.prototype.__modules__||(uu.prototype.__modules__=[]);let t=uu.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>uu.installModule(e)):uu.installModule(e),uu}}Object.keys(uo).forEach(e=>{Object.keys(uo[e]).forEach(t=>{uu.prototype[t]=uo[e][t]})}),uu.use([function({swiper:e,on:t,emit:i}){let n=lR(),r=null,s=null,a=()=>{e&&!e.destroyed&&e.initialized&&(i("beforeResize"),i("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&i("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver(t=>{s=n.requestAnimationFrame(()=>{let{width:i,height:n}=e,r=i,s=n;t.forEach(({contentBoxSize:t,contentRect:i,target:n})=>{n&&n!==e.el||(r=i?i.width:(t[0]||t).inlineSize,s=i?i.height:(t[0]||t).blockSize)}),(r!==i||s!==n)&&a()})})).observe(e.el):(n.addEventListener("resize",a),n.addEventListener("orientationchange",o))}),t("destroy",()=>{s&&n.cancelAnimationFrame(s),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),n.removeEventListener("resize",a),n.removeEventListener("orientationchange",o)})},function({swiper:e,extendParams:t,on:i,emit:n}){let r=[],s=lR(),a=(t,i={})=>{let a=new(s.MutationObserver||s.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void n("observerUpdate",t[0]);let i=function(){n("observerUpdate",t[0])};s.requestAnimationFrame?s.requestAnimationFrame(i):s.setTimeout(i,0)});a.observe(t,{attributes:void 0===i.attributes||i.attributes,childList:e.isElement||(void 0===i.childList||i).childList,characterData:void 0===i.characterData||i.characterData}),r.push(a)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(e.params.observer){if(e.params.observeParents){let t=function(e){let t=[],i=e.parentElement;for(;i;)t.push(i),i=i.parentElement;return t}(e.hostEl);for(let e=0;e<t.length;e+=1)a(t[e])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}}),i("destroy",()=>{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)})}]);let uc=["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","_snapToSlideEdge","_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 ud(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function uh(e,t){let i=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>
69i.indexOf(e)).forEach(i=>{void 0===e[i]?e[i]=t[i]:ud(t[i])&&ud(e[i])&&Object.keys(t[i]).length>0?t[i].__swiper__?e[i]=t[i]:uh(e[i],t[i]):e[i]=t[i]})}function up(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function uf(e={}){return e.pagination&&void 0===e.pagination.el}function um(e={}){return e.scrollbar&&void 0===e.scrollbar.el}function ug(e=""){let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),i=[];return t.forEach(e=>{0>i.indexOf(e)&&i.push(e)}),i.join(" ")}function uv(){return(uv=Object.assign.bind()).apply(this,arguments)}function uy(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function ub(e,t){return"u"<typeof window?(0,es.useEffect)(e,t):(0,es.useLayoutEffect)(e,t)}let ux=(0,es.createContext)(null),uw=(0,es.createContext)(null);(0,es.forwardRef)(({className:e,tag:t="div",wrapperTag:i="div",children:n,onSwiper:r,...s}={},a)=>{let o,l,u=!1,[c,d]=(0,es.useState)("swiper"),[h,p]=(0,es.useState)(null),[f,m]=(0,es.useState)(!1),g=(0,es.useRef)(!1),v=(0,es.useRef)(null),y=(0,es.useRef)(null),b=(0,es.useRef)(null),x=(0,es.useRef)(null),w=(0,es.useRef)(null),S=(0,es.useRef)(null),E=(0,es.useRef)(null),T=(0,es.useRef)(null),{params:k,passedParams:C,rest:P,events:A}=function(e={},t=!0){let i={on:{}},n={},r={};uh(i,ua),i._emitClasses=!0,i.init=!1;let s={},a=uc.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({},e)).forEach(o=>{void 0!==e[o]&&(a.indexOf(o)>=0?ud(e[o])?(i[o]={},r[o]={},uh(i[o],e[o]),uh(r[o],e[o])):(i[o]=e[o],r[o]=e[o]):0===o.search(/on[A-Z]/)&&"function"==typeof e[o]?t?n[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:i.on[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:s[o]=e[o])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===i[e]&&(i[e]={}),!1===i[e]&&delete i[e]}),{params:i,passedParams:r,rest:s,events:n}}(s),{slides:I,slots:M}=(o=[],l={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]}
69,es.default.Children.toArray(n).forEach(e=>{if(uy(e))o.push(e);else if(e.props&&e.props.slot&&l[e.props.slot])l[e.props.slot].push(e);else if(e.props&&e.props.children){let t=function e(t){let i=[];return es.default.Children.toArray(t).forEach(t=>{uy(t)?i.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>i.push(e))}),i}(e.props.children);t.length>0?t.forEach(e=>o.push(e)):l["container-end"].push(e)}else l["container-end"].push(e)}),{slides:o,slots:l}),L=()=>{m(!f)};Object.assign(k.on,{_containerClasses(e,t){d(t)}});let N=()=>{Object.assign(k.on,A),u=!0;let e={...k};if(delete e.wrapperClass,y.current=new uu(e),y.current.virtual&&y.current.params.virtual.enabled){y.current.virtual.slides=I;let e={cache:!1,slides:I,renderExternal:p,renderExternalUpdate:!1};uh(y.current.params.virtual,e),uh(y.current.originalParams.virtual,e)}};return v.current||N(),y.current&&y.current.on("_beforeBreakpoint",L),(0,es.useEffect)(()=>()=>{y.current&&y.current.off("_beforeBreakpoint",L)}),(0,es.useEffect)(()=>{!g.current&&y.current&&(y.current.emitSlidesClasses(),g.current=!0)}),ub(()=>{if(a&&(a.current=v.current),v.current)return y.current.destroyed&&N(),!function({el:e,nextEl:t,prevEl:i,paginationEl:n,scrollbarEl:r,swiper:s},a){up(a)&&t&&i&&(s.params.navigation.nextEl=t,s.originalParams.navigation.nextEl=t,s.params.navigation.prevEl=i,s.originalParams.navigation.prevEl=i),uf(a)&&n&&(s.params.pagination.el=n,s.originalParams.pagination.el=n),um(a)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(e)}({el:v.current,nextEl:w.current,prevEl:S.current,paginationEl:E.current,scrollbarEl:T.current,swiper:y.current},k),r&&!y.current.destroyed&&r(y.current),()=>{y.current&&!y.current.destroyed&&y.current.destroy(!0,!1)}},[]),ub(()=>{!u&&A&&y.current&&Object.keys(A).forEach(e=>{y.current.on(e,A[e])});let e=function(e,t,i,n,r){let s=[];if(!t)return s;let a=e=>{0>s.indexOf(e)&&s.push(e)};if(i&&n){let e=n.map(r),t=i.map(r);e.join("")!==t.join("")&&a("children"),n.length!==i.length&&a("children")}return uc.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(i=>{if(i in e&&i in t)if(ud(e[i])&&ud(t[i])){let n=Object.keys(e[i]),r=Object.keys(t[i]);n.length!==r.length?a(i):(n.forEach(n=>{e[i][n]!==t[i][n]&&a(i)}),r.forEach(n=>{e[i][n]!==t[i][n]&&a(i)}))}else e[i]!==t[i]&&a(i)}),s}(C,b.current,I,x.current,e=>e.key);return b.current=C,x.current=I,e.length&&y.current&&!y.current.destroyed&&function({swiper:e,slides:t,passedParams:i,changedParams:n,nextEl:r,prevEl:s,scrollbarEl:a,paginationEl:o}){let l,u,c,d,h,p,f,m,g=n.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:v,pagination:y,navigation:b,scrollbar:x,virtual:w,thumbs:S}=e;n.includes("thumbs")&&i.thumbs&&i.thumbs.swiper&&!i.thumbs.swiper.destroyed&&v.thumbs&&(!v.thumbs.swiper||v.thumbs.swiper.destroyed)&&(l=!0),n.includes("controller")&&i.controller&&i.controller.control&&v.controller&&!v.controller.control&&(u=!0),n.includes("pagination")&&i.pagination&&(i.pagination.el||o)&&(v.pagination||!1===v.pagination)&&y&&!y.el&&(c=!0),n.includes("scrollbar")&&i.scrollbar&&(i.scrollbar.el||a)&&(v.scrollbar||!1===v.scrollbar)&&x&&!x.el&&(d=!0),n.includes("navigation")&&i.navigation&&(i.navigation.prevEl||s)&&(i.navigation.nextEl||r)&&(v.navigation||!1===v.navigation)&&b&&!b.prevEl&&!b.nextEl&&(h=!0);let E=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),v[t].prevEl=void 0,v[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),v[t].el=void 0,e[t].el=void 0))};n.includes("loop")&&e.isElement&&(v.loop&&!i.loop?p=!0:!v.loop&&i.loop?f=!0:m=!0),g.forEach(e=>{if(ud(v[e])&&ud(i[e]))Object.assign(v[e],i[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in i[e]&&!i[e].enabled&&E(e);else{let t=i[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&E(e):v[e]=i[e]}}),g.includes("controller")&&!u&&e.controller&&e.controller.control&&v.controller&&v.controller.control&&(e.controller.control=v.controller.control),n.includes("children")&&t&&w&&v.virtual.enabled?(w.slides=t,w.update(!0)):n.includes("virtual")&&w&&v.virtual.enabled&&(t&&(w.slides=t),w.update(!0)),n.includes("children")&&t&&v.loop&&(m=!0),l&&S.init()&&S.update(!0),u&&(e.controller.control=v.controller.control),c&&(e.isElement&&(!o||"string"==typeof o)&&((o=document.createElement("div")).classList.add("swiper-pagination"),o.part.add("pagination"),e.el.appendChild(o)),o&&(v.pagination.el=o),y.init(),y.render(),y.update()),d&&(e.isElement&&(!a||"string"==typeof a)&&((a=document.createElement("div")).classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(v.scrollbar.el=a),x.init(),x.updateSize(),x.setTranslate()),h&&(e.isElement&&(r&&"string"!=typeof r||((r=document.createElement("div")).classList.add("swiper-button-next"),lY(r,e.navigation.arrowSvg),r.part.add("button-next"),e.el.appendChild(r)),s&&"string"!=typeof s||((s=document.createElement("div")).classList.add("swiper-button-prev"),lY(s,e.navigation.arrowSvg),s.part.add("button-prev"),e.el.appendChild(s))),r&&(v.navigation.nextEl=r),s&&(v.navigation.prevEl=s),b.init(),b.update(
69)),n.includes("allowSlideNext")&&(e.allowSlideNext=i.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=i.allowSlidePrev),n.includes("direction")&&e.changeDirection(i.direction,!1),(p||m)&&e.loopDestroy(),(f||m)&&e.loopCreate(),e.update()}({swiper:y.current,slides:I,passedParams:C,changedParams:e,nextEl:w.current,prevEl:S.current,scrollbarEl:T.current,paginationEl:E.current}),()=>{A&&y.current&&Object.keys(A).forEach(e=>{y.current.off(e,A[e])})}}),ub(()=>{var e;(e=y.current)&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())},[h]),es.default.createElement(t,uv({ref:v,className:ug(`${c}${e?` ${e}`:""}`)},P),es.default.createElement(uw.Provider,{value:y.current},M["container-start"],es.default.createElement(i,{className:function(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}(k.wrapperClass)},M["wrapper-start"],k.virtual?function(e,t,i){if(!i)return null;let n=e=>{let i=e;return e<0?i=t.length+e:i>=t.length&&(i-=t.length),i},r=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:s,to:a}=i,o=e.params.loop?-t.length:0,l=e.params.loop?2*t.length:t.length,u=[];for(let e=o;e<l;e+=1)e>=s&&e<=a&&u.push(t[n(e)]);return u.map((t,i)=>es.default.cloneElement(t,{swiper:e,style:r,key:t.props.virtualIndex||t.key||`slide-${i}`}))}(y.current,I,h):I.map((e,t)=>es.default.cloneElement(e,{swiper:y.current,swiperSlideIndex:t})),M["wrapper-end"]),up(k)&&es.default.createElement(es.default.Fragment,null,es.default.createElement("div",{ref:S,className:"swiper-button-prev"}),es.default.createElement("div",{ref:w,className:"swiper-button-next"})),um(k)&&es.default.createElement("div",{ref:T,className:"swiper-scrollbar"}),uf(k)&&es.default.createElement("div",{ref:E,className:"swiper-pagination"}),M["container-end"]))}).displayName="Swiper",(0,es.forwardRef)(({tag:e="div",children:t,className:i="",swiper:n,zoom:r,lazy:s,virtualIndex:a,swiperSlideIndex:o,...l}={},u)=>{let c=(0,es.useRef)(null),[d,h]=(0,es.useState)("swiper-slide"),[p,f]=(0,es.useState)(!1);function m(e,t,i){t===c.current&&h(i)}ub(()=>{if(void 0!==o&&(c.current.swiperSlideIndex=o),u&&(u.current=c.current),c.current&&n){if(n.destroyed){"swiper-slide"!==d&&h("swiper-slide");return}return n.on("_slideClass",m),()=>{n&&n.off("_slideClass",m)}}}),ub(()=>{n&&c.current&&!n.destroyed&&h(n.getSlideClasses(c.current))},[n]);let g={isActive:d.indexOf("swiper-slide-active")>=0,isVisible:d.indexOf("swiper-slide-visible")>=0,isPrev:d.indexOf("swiper-slide-prev")>=0,isNext:d.indexOf("swiper-slide-next")>=0},v=()=>"function"==typeof t?t(g):t;return es.default.createElement(e,uv({ref:c,className:ug(`${d}${i?` ${i}`:""}`),"data-swiper-slide-index":a,onLoad:()=>{f(!0)}},l),r&&es.default.createElement(ux.Provider,{value:g},es.default.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof r?r:void 0},v(),s&&!p&&es.default.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}}))),!r&&es.default.createElement(ux.Provider,{value:g},v(),s&&!p&&es.default.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}})))}).displayName="SwiperSlide",(v=F||(F={})).SM="sm",v.MD="md",v.LG="lg",e.s(["ContainerSizes",0,F],75850);let uS=function(e){var t=e.children,i=e.size,n=void 0===i?F.MD:i,r=e.tailwindString;return t?(0,et.jsx)("div",{className:"px-4 md:px-5 container-".concat(n," ").concat(void 0===r?"":r),children:t}):null};e.s(["default",0,uS],48824),e.s(["default",0,function(e){var t=e.desktopGridColumns,i=e.tabletGridColumns,n=e.mobileGridColumns,r=e.gapY,s=e.gapX,a=e.tailwindString,o=e.children,l=e.tag;return(0,et.jsx)(void 0===l?"ul":l,{className:"not-sr-only grid grid-cols-".concat(void 0===n?1:n," md:grid-cols-").concat(void 0===i?2:i," lg:grid-cols-").concat(void 0===t?3:t," gap-x-").concat(void 0===s?5:s," gap-y-").concat(void 0===r?5:r," ").concat(void 0===a?"":a),children:null!=o?o:null})}],33224),e.s(["default",0,function(e){var t=e.children,i=e.tailwindString;return t?(0,et.jsx)("main",{className:"w-full ".concat(void 0===i?"":i),children:t}):null}],48661);let uE=function(e){var t=e.children,i=e.tag,n=e.ref,r=e.id,s=e.containerSize,a=void 0===s?F.MD:s,o=e.tailwindString,l=e.tailwindStringContainer;return t?(0,et.jsx)(void 0===i?"section":i,{id:(void 0===r?"":r)||void 0,ref:n||void 0,className:"w-full ".concat(void 0===o?"":o),children:(0,et.jsx)(uS,{tailwindString:void 0===l?"":l,size:a,children:t})}):null};e.s(["default",0,uE],33276);let uT=function(e){var t=e.showIcon;return(0,et.jsx)("svg",{className:"h-4 w-4 text-white transition-opacity ".concat(t?"opacity-100":"opacity-0"),width:"13",height:"9",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,et.jsx)("path",{d:"M11.1818 1L4.18182 8L1 4.81818",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},uk=e=>{switch(e?.toLowerCase()?.trim()){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case"":case null:case void 0:return!1;default:return JSON.parse(e)}};var uC=function(e,t,i){if(i||2==arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))};let uP=function(e){var t,i,n,r,s,a,o,l=e.field,u=e.styles,c=e.requiredErrorMessage,d=e.value,h=e.error,p=e.onChange,f
69=e.checkedIcon,m=void 0===f?(0,et.jsx)(uT,{showIcon:!0}):f,g=e.helperTooltip,v=void 0!==g&&g,y=e.tooltipAriaLabel,b=e.errorBelowInput,x=void 0!==b&&b,w=e.customRequiredIndicator,S=(0,es.useId)(),E=(0,es.useId)(),T=(0,es.useId)(),k=(0,es.useState)(!1),C=k[0],P=k[1],A=(0,es.useState)([]),I=A[0],M=A[1],L=(0,es.useState)(null),N=L[0],O=L[1],j=void 0!==d?d:I,_=void 0!==h?h:N,R=function(e){var t=e.target,i=t.value,n=t.checked?uC(uC([],j,!0),[i],!1):j.filter(function(e){return e!==i});p?p(n):(M(n),O(null))},D=function(e){l.required&&0===j.length?p||O(l.requiredErrorMessage||c||null):p||O(null)};return(null==(t=l.preValues)?void 0:t.length)===0&&l.preValues.push({caption:null==(i=l.settings)?void 0:i.caption,value:null==(n=l.settings)?void 0:n.defaultValue}),(0,et.jsxs)("fieldset",{className:null==u?void 0:u.tailwindStringSpacing,name:l.alias,children:[uk(l.settings.showLabel)&&(0,et.jsxs)("div",{className:"mb-2 flex gap-2",children:[(0,et.jsxs)("legend",{className:"".concat(null==u?void 0:u.tailwindStringLabel," block"),children:[l.caption,l.required&&(void 0!==w?w:" *")]}),v&&!!(null==l?void 0:l.helpText)&&(0,et.jsx)("span",{role:"button",tabIndex:0,"aria-label":void 0===y?"":y,"aria-expanded":C,"aria-controls":T,onClick:function(){return P(function(e){return!e})},onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),P(function(e){return!e}))},className:"cursor-pointer ".concat(null!=(r=null==u?void 0:u.tailwindStringToolTipIconWrapper)?r:""),children:(0,et.jsx)(eS,{className:"w-5 h-5 text-gray-400 ".concat(null!=(s=null==u?void 0:u.tailwindStringToolTipIcon)?s:"")})})]}),(!v||C)&&(null==l?void 0:l.helpText)&&(0,et.jsxs)("span",{id:T,className:"block pb-2 text-base ".concat(null!=(a=null==u?void 0:u.tailwindStringHelperText)?a:""),children:[(0,et.jsx)("span",{className:"sr-only",children:" | "}),null==l?void 0:l.helpText]}),!x&&_&&(0,et.jsx)("span",{id:E,className:"text-signal-error mb-2 block text-base font-medium sm:text-md sm:font-normal ".concat(null==u?void 0:u.tailwindStringErrorText),children:_}),(0,et.jsx)("div",{className:"flex ".concat("Horizontal"===l.settings.displayLayout?"flex-row":"flex-col"," gap-3 ").concat(null==u?void 0:u.tailwindStringCheckboxWrapper),children:null==(o=l.preValues)?void 0:o.map(function(e,t){var i,n,r,s;return(0,et.jsxs)("div",{className:"flex items-center gap-2",children:[(0,et.jsx)("input",{type:"checkbox",id:"".concat(S,"_").concat(t),name:l.alias,value:e.value||e.caption,checked:j.includes(null!=(i=e.value||e.caption)?i:""),className:"peer sr-only",onChange:R,onInvalid:function(e){return D(e)},onBlur:D,"aria-describedby":"".concat(_?E:void 0," ").concat((null==l?void 0:l.helpText)?T:"")}),(0,et.jsx)("div",{onClick:function(){var t,i,n=j.includes(null!=(t=e.value||e.caption)?t:"")?j.filter(function(t){return t!==(e.value||e.caption)}):uC(uC([],j,!0),[null!=(i=e.value||e.caption)?i:""],!1);p?p(n):M(n)},className:"".concat(null==u?void 0:u.tailwindStringBorder," relative flex h-5 w-5 items-center justify-center ").concat(null==u?void 0:u.tailwindStringCheckboxChecked," peer-focus-visible:outline peer-focus-visible:outline-offset-2"),children:j.includes(null!=(n=e.value||e.caption)?n:"")&&m}),(0,et.jsx)("label",{htmlFor:"".concat(S,"_").concat(t),className:"".concat(null==u?void 0:u.tailwindStringCheckboxLabel," ").concat(j.includes(null!=(r=e.value||e.caption)?r:"")?null==u?void 0:u.tailwindStringCheckboxLabelChecked:""),children:null!=(s=e.caption)?s:e.value})]},t)})}),x&&_&&(0,et.jsx)("span",{id:E,className:"text-signal-error mt-2 block text-base font-medium sm:text-md sm:font-normal ".concat(null==u?void 0:u.tailwindStringErrorText),children:_})]})},uA=function(e){var t,i,n,r,s,a=e.field,o=e.styles,l=e.value,u=e.error,c=e.onChange,d=e.helperTooltip,h=e.tooltipAriaLabel,p=e.errorBelowInput,f=e.customRequiredIndicator;return(0,et.jsx)(eT,{label:uk(null!=(i=null==(t=a.settings)?void 0:t.showLabel)?i:"")?a.caption:"",name:a.alias,helpText:a.helpText,helperTooltip:void 0!==d&&d,defaultValue:void 0===l?null==(n=a.settings)?void 0:n.defaultValue:void 0,value:l,onChange:c,labelClassName:"".concat(null==o?void 0:o.tailwindStringLabel),formControlClassname:null==o?void 0:o.tailwindStringSpacing,className:"".concat(null==o?void 0:o.tailwindStringBorder," w-full pl-4 focus-within:outline-2"),required:a.required,errorMessage:a.requiredErrorMessage,error:u,options:null==(r=a.preValues)?void 0:r.map(function(e){return{value:e.value,label:e.caption}}),selectPrompt:null==(s=a.settings)?void 0:s.selectPrompt,iconTailwindString:null==o?void 0:o.tailwindStringDropdownIcon,errorTailwindString:null==o?void 0:o.tailwindStringErrorText,helperClassName:null==o?void 0:o.tailwindStringHelperText,tooltipIconClassName:null==o?void 0:o.tailwindStringToolTipIcon,tooltipIconWrapperClassName:null==o?void 0:o.tailwindStringToolTipIconWrapper,tooltipAriaLabel:void 0===h?"":h,errorBelowInput:void 0!==p&&p,customRequiredIndicator:f},a.id)},uI=function(){return(0,et.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",fill:"none",role:"presentation",children:[(0,et.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M16.25 2.5h.34c4.077 0 6.116 0 7.531.998a5.17 5.17 0 0 1 1.07 1.006c1.059 1.332 1.059 3.25 1.059 7.087v3.182c0 3.704 0 5.556-.586 7.035-.943 2.378-2.935 4.254-5.462 5.14-1.572.552-3.54.552-7.475.552-2.249 0-3.373 0-4.271-.315-1.444-.507-2.583-1.578-3.121-2.937C5 23.403 5 22.344 5 20.228V15"}),(0,et.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M26.249 15a4.167 4.167 0 0 1-4.167 4.167c-.832 0-1.813-.146-2.622.07a2.083 2.083 0 0 0-1.473 1.474c-.217.809-.071 1.79-.071 2.622a4.167 4.167 0 0 1-4.167 4.167"}),(0,et.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M13.751 7.5h-10m5-5v10"})]})},uM=function(e){var t=e.iconColor,i=e.className,n=e.title,r=void 0===n?"":n;return(0,et.jsxs)("svg",{className:"text-".concat(void 0===t?"gray-darkest":t," ").concat(void 0===i?"":i),width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r&&(0,et.jsx)("title",{children:r}),(0,et.jsx)("path",{d:"M5 12H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]})},uL=function(e){var t,i,n=e.label,r=e.name,s=e.helpText,a=e.placeholder,o=e.errorMessage,l=void 0===o?"":o,u=e.formControlClassName,c=e.labelClassName,d=void 0===c?"":c,h=e.required,p=void 0!==h&&h,f=e.options,m=e.className,g=e.inputClassName,v=e.requiredErrorMessage,y=void 0===v?"":v,b=e.invalidFileTypesErrorMessage,x=void 0===b?"Bestandstype {fileExtension} is niet toegestaan. Toegestaan:":b,w=e.errorTailwindString,S=void 0===w?"":w,E=e.value,T=e.error,k=e.onCh
69ange,C=e.helperTooltip,P=void 0!==C&&C,A=e.tooltipIconClassName,I=e.tooltipIconWrapperClassName,M=e.helperClassName,L=void 0===M?"":M,N=e.tooltipAriaLabel,O=e.errorBelowInput,j=void 0!==O&&O,_=e.customRequiredIndicator,R=e.uploadedFilesListClassName,D=e.uploadedFilesListItemClassName,B=void 0===D?"":D,H=e.uploadedFilesListItemNameClassName,V=void 0===H?"":H,F=e.uploadedFilesListItemRemoveClassName,z=void 0===F?"":F,U=e.showUploadedFilesList,G=void 0!==U&&U,$=e.customRemoveButton,W=e.fileInfoText,q=e.fileInfoTextClassName,X=e.listItemPrefix,Y=e.showFileMeta,K=void 0!==Y&&Y,Z=e.fileMetaExtensionClassName,Q=void 0===Z?"":Z,J=e.fileMetaSizeClassName,ee=void 0===J?"":J,ei=e.hideHelperText,en=void 0!==ei&&ei,er=(0,es.useId)(),ea=(0,es.useId)(),eo=(0,es.useId)(),el=null!=(t=null==f?void 0:f.allowMultipleFileUploads)&&t,eu=(0,es.useState)([]),ec=eu[0],ed=eu[1],eh=(0,es.useState)(null),ep=eh[0],ef=eh[1],em=void 0!==E?E?Array.isArray(E)?E:[E]:[]:ec,eg=null!=(i=em.map(function(e){return e.name||""})[0])?i:"",ev=void 0!==T?T:ep,ey=function(){var e=document.querySelector("input[name=".concat(r,"]"));(null!==e&&(e.value=""),k)?k(null):ed([])},eb=function(e){var t=em.filter(function(t,i){return i!==e});k?k(t.length>0?t:null):ed(t)},ex=function(){var e;return null==(e=null==f?void 0:f.allowedUploadExtensions)?void 0:e.map(function(e){return".".concat(e)}).join(",")},ew=function(e){if(!Number.isFinite(e)||e<=0)return"0 KB";var t=e/1024;return t<1024?"".concat(Math.round(t)," KB"):"".concat((t/1024).toFixed(1)," MB")},eE=function(e){var t,i=null==(t=e.split(".").pop())?void 0:t.toLowerCase();return i?".".concat(i):""},eT=en?void 0:s,ek=(0,es.useState)(!1),eC=ek[0],eP=ek[1];return(0,et.jsxs)("div",{className:void 0===u?"":u,children:[n&&(0,et.jsxs)("div",{className:"mb-2 flex gap-2",children:[(0,et.jsxs)("label",{className:"".concat(d," block"),htmlFor:er,children:[n,p&&(void 0!==_?_:" *")]}),P&&!!eT&&(0,et.jsx)("span",{role:"button",tabIndex:0,"aria-label":void 0===N?"":N,"aria-expanded":eC,"aria-controls":eo,onClick:function(){return eP(function(e){return!e})},onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),eP(function(e){return!e}))},className:"cursor-pointer ".concat(void 0===I?"":I),children:(0,et.jsx)(eS,{className:"w-5 h-5 text-gray-400 ".concat(void 0===A?"":A)})})]}),(!P||eC)&&s&&!en&&(0,et.jsxs)("span",{id:eo,className:"block pb-2 text-base ".concat(null!=L?L:""),children:[(0,et.jsx)("span",{className:"sr-only",children:" | "}),s]}),!j&&ev&&(0,et.jsx)("span",{id:ea,className:"".concat(d," text-signal-error block ").concat(S),children:ev}),(0,et.jsxs)("div",{className:"".concat(void 0===m?"":m," relative flex w-full flex-col items-center"),children:[(0,et.jsxs)("span",{className:"text-gray-upload relative flex flex-col items-center justify-center text-center text-sm font-medium",children:[(0,et.jsx)(uI,{}),!G&&em.length>0?(0,et.jsxs)(et.Fragment,{children:[el&&em.length>1?"".concat(eg," +").concat(em.length-1):eg,(0,et.jsx)("span",{className:"bg-secondary absolute -right-10 z-10 flex h-8 w-8 cursor-pointer items-center justify-center rounded-full transition-all hover:opacity-80",onClick:function(){return ey()},children:(0,et.jsx)(uM,{className:"primary",title:"Clear"})})]}):a,W&&(0,et.jsx)("span",{className:"mt-1 text-xs ".concat(void 0===q?"":q),children:W})]}),(0,et.jsx)("input",{type:"file",id:er,className:"absolute inset-0 h-full w-full cursor-pointer rounded-s opacity-0 ".concat(void 0===g?"":g),onChange:function(e){var t,i,n,r,s,a=Array.from(null!=(t=e.target.files)?t:[]);if(0===a.length)return void(k?k(null):(ef(p?l||y:null),ed([])));var o=el?a:a.slice(0,1);if(!(null==f?void 0:f.allowAllUploadExtensions)){var u=o.find(function(e){var t,i,n=null==(t=e.name.split(".").pop())?void 0:t.toLowerCase();return!!n&&!(null==(i=ex())?void 0:i.includes(".".concat(n)))});if(u){var c=null!=(n=null==(i=u.name.split(".").pop())?void 0:i.toLowerCase())?n:"",d="".concat((x||"").replace("{fileExtension}","".concat(c))," ").concat(null==(r=null==f?void 0:f.allowedUploadExtensions)?void 0:r.join(", "));k?k(null):(ef(d),ed([])),ey();return}}k?k(el?o:null!=(s=o[0])?s:null):(ed(o),ef(null))},accept:ex(),name:r,multiple:el,required:p,"aria-describedby":"".concat(ea," ").concat(s?eo:"")})]}),G&&em.length>0&&(0,et.jsx)("div",{className:"flex flex-col mt-4 ".concat(void 0===R?"":R),children:em.map(function(e,t){return(0,et.jsxs)("div",{className:"flex items-center justify-between ".concat(B),children:[(0,et.jsxs)("span",{className:"flex min-w-0 items-center gap-2 ".concat(V),children:[X&&(0,et.jsx)("span",{className:"shrink-0",children:X}),(0,et.jsx)("span",{className:"truncate",children:e.name}),K&&(0,et.jsxs)("span",{className:"flex shrink-0 items-center gap-2",children:[(0,et.jsx)("span",{className:"".concat(Q),children:eE(e.name)}),(0,et.jsx)("span",{className:" ".concat(ee),children:ew(e.size)})]})]}),$?(0,et.jsx)("button",{type:"button",onClick:function(){return eb(t)},className:"cursor-pointer ".concat(z),"aria-label":"Remove file",children:$}):(0,et.jsx)("button",{type:"button",onClick:function(){return eb(t)},className:"cursor-pointer ".concat(z),"aria-label":"Remove file",children:(0,et.jsx)(uM,{className:"w-5 h-5",title:"Remove"})})]},"".concat(e.name,"-").concat(t))})}),j&&ev&&(0,et.jsx)("span",{id:ea,className:"".concat(d," text-signal-error block ").concat(S),children:ev})]})};var uN=function(){return(uN=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};
69let uO=function(e){var t,i,n,r,s=e.field,a=e.styles,o=e.icons,l=e.value,u=e.error,c=e.onChange,d=e.helperTooltip,h=e.tooltipAriaLabel,p=e.errorBelowInput,f=e.customRequiredIndicator,m=e.allowMultipleFileUploads,g=e.fileInfoText,v=e.fileInfoTextClassName,y=e.showUploadedFilesList,b=e.hideFileUploadHelperText,x=e.listItemPrefix,w=e.showFileMeta,S=e.fileMetaExtensionClassName,E=e.fileMetaSizeClassName,T=m?uN(uN({},s.fileUploadOptions),{allowMultipleFileUploads:m}):s.fileUploadOptions;return(0,et.jsx)(uL,{labelClassName:"".concat(null==a?void 0:a.tailwindStringLabel),label:uk(null!=(i=null==(t=s.settings)?void 0:t.showLabel)?i:"")?s.caption:"",helpText:null==s?void 0:s.helpText,name:null!=(n=s.id)?n:s.alias,formControlClassName:null==a?void 0:a.tailwindStringSpacing,errorMessage:s.requiredErrorMessage,required:s.required,placeholder:s.helpText,options:T,className:"".concat(null!=(r=null==a?void 0:a.tailwindStringFileUploadWrapper)?r:null==a?void 0:a.tailwindStringBorder," max-w-full gap-2 p-8 focus-within:outline-2"),inputClassName:null==a?void 0:a.tailwindStringFileUploadInput,errorTailwindString:null==a?void 0:a.tailwindStringErrorText,helperClassName:null==a?void 0:a.tailwindStringHelperText,uploadedFilesListClassName:null==a?void 0:a.tailwindStringFileUploadList,uploadedFilesListItemClassName:null==a?void 0:a.tailwindStringFileUploadListItem,uploadedFilesListItemNameClassName:null==a?void 0:a.tailwindStringFileUploadListItemName,uploadedFilesListItemRemoveClassName:null==a?void 0:a.tailwindStringFileUploadListItemRemove,showUploadedFilesList:y,customRemoveButton:null==o?void 0:o.customRemoveButton,tooltipIconClassName:null==a?void 0:a.tailwindStringToolTipIcon,tooltipIconWrapperClassName:null==a?void 0:a.tailwindStringToolTipIconWrapper,value:l,error:u,onChange:c,helperTooltip:void 0!==d&&d,tooltipAriaLabel:void 0===h?"":h,errorBelowInput:void 0!==p&&p,customRequiredIndicator:f,fileInfoText:g,fileInfoTextClassName:v,listItemPrefix:x,showFileMeta:w,fileMetaExtensionClassName:S,fileMetaSizeClassName:E,hideHelperText:b},s.id)},uj=function(e){var t,i,n=e.field,r=e.styles;return(0,et.jsx)(eH,{tailwindString:"".concat(null==r?void 0:r.tailwindStringLabel," ").concat(null==r?void 0:r.tailwindStringSpacing),children:(0,et.jsx)(ev,{content:null==(t=n.settings)?void 0:t.html,tailwindString:null!=(i=null==r?void 0:r.tailwindStringRichtext)?i:""})})},u_=function(e){var t,i,n,r,s,a,o,l,u=e.field,c=e.styles,d=e.value,h=e.error,p=e.onChange,f=e.isControlled,m=void 0===f?void 0!==d&&void 0!==p:f,g=e.helperTooltip,v=e.tooltipAriaLabel,y=e.errorBelowInput,b=e.customRequiredIndicator,x=e.displayCharactersLeft,w=e.charactersLeftText;return(0,et.jsx)(ek,{labelClassName:"".concat(null==c?void 0:c.tailwindStringLabel),label:(null==(t=u.settings)?void 0:t.showLabel)!=""?uk(null!=(n=null==(i=u.settings)?void 0:i.showLabel)?n:"")?u.caption:"":u.caption,rows:(null==(r=u.settings)?void 0:r.numberOfRows)?Number(u.settings.numberOfRows):void 0,name:u.alias,helpText:u.helpText,helperTooltip:void 0!==g&&g,defaultValue:m||null==(s=u.settings)?void 0:s.defaultValue,value:m?d:void 0,onChange:m?function(e){return null==p?void 0:p(e.target.value)}:void 0,className:"w-full ".concat(null==c?void 0:c.tailwindStringBorder," ").concat(null==c?void 0:c.tailwindStringTextArea),formControlClassName:null==c?void 0:c.tailwindStringSpacing,required:u.required,placeholder:null==(a=u.settings)?void 0:a.placeholder,maxLength:(null==(o=u.settings)?void 0:o.maximumLength)?Number(u.settings.maximumLength):void 0,pattern:u.pattern,errorMessage:u.requiredErrorMessage,error:h,patternInvalidErrorMessage:u.patternInvalidErrorMessage,errorTailwindString:null==c?void 0:c.tailwindStringErrorText,helperClassName:null==c?void 0:c.tailwindStringHelperText,tooltipIconClassName:null==c?void 0:c.tailwindStringToolTipIcon,tooltipIconWrapperClassName:null==c?void 0:c.tailwindStringToolTipIconWrapper,tooltipAriaLabel:void 0===v?"":v,errorBelowInput:void 0!==y&&y,customRequiredIndicator:b,showCharactersLeft:void 0!==x&&x&&!!(null==(l=u.settings)?void 0:l.maximumLength),charactersLeftText:w,charactersLeftClassName:null==c?void 0:c.tailwindStringCharactersLeft},u.id)},uR=function(e){var t,i,n,r,s,a,o,l,u,c=e.field,d=e.type,h=void 0===d?"text":d,p=e.styles,f=e.value,m=e.error,g=e.onChange,v=e.isControlled,y=void 0===v?void 0!==f&&void 0!==g:v,b=e.helperTooltip,x=e.tooltipAriaLabel,w=e.errorBelowInput,S=e.customRequiredIndicator,E=e.displayCharactersLeft,T=e.charactersLeftText;return"hidden"===h?(0,et.jsx)(eC,{defaultValue:null==(t=c.settings)?void 0:t.defaultValue,type:h,formControlClassname:"hidden"},c.id):(""===h&&(h="text"),(0,et.jsx)(eC,{className:"w-full rounded ".concat(null==p?void 0:p.tailwindStringBorder," ").concat(null==p?void 0:p.tailwindStringTextField),formControlClassname:null==p?void 0:p.tailwindStringSpacing,labelClassName:"".concat(null==p?void 0:p.tailwindStringLabel),label:(null==(i=c.settings)?void 0:i.showLabel)!=""?uk(null!=(r=null==(n=c.settings)?void 0:n.showLabel)?r:"")?c.caption:"":c.caption,name:c.alias,helpText:c.helpText,helperTooltip:void 0!==b&&b,type:h,required:c.required,defaultValue:y||null==(s=c.settings)?void 0:s.defaultValue,value:y?f:void 0,onChange:y?function(e){return g&&g(e.target.value)}:void 0,placeholder:null==(a=c.settings)?void 0:a.placeholder,maxLength:(null==(o=c.settings)?void 0:o.maximumLength)?Number(c.settings.maximumLength):void 0,pattern:c.pattern,autoComplete:null==(l=c.settings)?void 0:l.autocompleteAttribute,errorMessage:c.requiredErrorMessage,error:m,patternInvalidErrorMessage:c.patternInvalidErrorMessage,errorTailwindString:null==p?void 0:p.tailwindStringErrorText,helperClassName:null==p?void 0:p.tailwindStringHelperText,tooltipIconClassName:null==p?void 0:p.tailwindStringToolTipIcon,tooltipIconWrapperClassName:null==p?void 0:p.tailwindStringToolTipIconWrapper,tooltipAriaLabel:void 0===x?"":x,errorBelowInput:void 0!==w&&w,customRequiredIndicator:S,showCharactersLeft:void 0!==E&&E&&!!(null==(u=c.settings)?void 0:u.maximumLength),charactersLeftText:T,charactersLeftClassName:null==p?void 0:p.tailwindStringCharactersLeft},c.id))},uD=function(e){var t,i,n,r=e.field,s=e.styles,a=e.requiredErrorMessage,o=e.value,l=e.error,u=e.onChange,c=e.checkedIcon,d=void 0===c?(0,et.jsx)("span",{className:"col-start-1 row-start-1 h-[10px] w-[10px] rounded-full peer-checked:bg-white"}):c,h=e.helperTooltip,p=void 0!==h&&h,f=e.tooltipAriaLabel,m=e.errorBelowInput,g=void 0!==m&&m,v=e.customRequiredIndicator,y=(0,es.useId)(),b=(0,es.useId)(),x=(0,es.useId)(),w=(0,es.useState)(!1),S=w[0],E=w[1],T=(0,es.useState)(null),k=T[0],C=T[1],P=(0,es.useState)(null),A=P[0],I=P[1],M=void 0!==o?o:k,L=void 0!==l?l:A,N=function(e){var t=e.target.value;u?u(t):(C(t),I(null))},O=function(e){r.required&&!M?u||I(r.requiredErrorMessage||a||""):u||I(null)};return(0,et.jsxs)("div",{className:"".concat(null==s?void 0:s.tailwindStringSpacing),children:[(0,et.jsxs)("fieldset",{children:[uk(r.settings.showLabel)&&(0,et.jsxs)("div",{className:"mb-2 flex gap-2",children:[(0,et.jsxs)("legend",{className:"".concat(null==s?void 0:s.tailwindStringLabel," block"),children:[r.caption,r.required&&(void 0!==v?v:" *")]}),p&&!!(null==r?void 0:r.helpText)&&(0,et.jsx)("span",{role:"button",tabIndex:0,"aria-label":void 0===f?"":f,"aria-expanded":S,"aria-controls":x,onClick:function(){return E(function(e){return!e})}
69,onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),E(function(e){return!e}))},className:"cursor-pointer ".concat(null==s?void 0:s.tailwindStringToolTipIconWrapper),children:(0,et.jsx)(eS,{className:"w-5 h-5 text-gray-400 ".concat(null!=(t=null==s?void 0:s.tailwindStringToolTipIcon)?t:"")})})]}),(!p||S)&&(null==r?void 0:r.helpText)&&(0,et.jsxs)("span",{id:x,className:"block pb-2 text-base ".concat(null!=(i=null==s?void 0:s.tailwindStringHelperText)?i:""),children:[(0,et.jsx)("span",{className:"sr-only",children:" | "}),null==r?void 0:r.helpText]}),!g&&L&&(0,et.jsx)("span",{id:b,className:"text-signal-error mb-2 block text-base font-medium sm:text-md sm:font-normal ".concat(null==s?void 0:s.tailwindStringErrorText),children:L}),(0,et.jsx)("div",{className:"flex gap-4 ".concat("Horizontal"===r.settings.displayLayout?"flex-row":"flex-col"," ").concat(null==s?void 0:s.tailwindStringRadioWrapper),children:null==(n=r.preValues)?void 0:n.map(function(e,t){var i,n,a;return(0,et.jsx)("label",{htmlFor:"".concat(y,"_").concat(t),className:"focus-within:outline-primary cursor-pointer rounded focus-within:outline ".concat(null==s?void 0:s.tailwindStringRadioLabel," ").concat(M===e.value?null==s?void 0:s.tailwindStringRadioLabelChecked:""),children:(0,et.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,et.jsxs)("div",{className:"relative grid place-items-center",children:[(0,et.jsx)("input",{type:"radio",id:"".concat(y,"_").concat(t),value:null!=(i=e.value)?i:"",name:null!=(n=r.id)?n:r.alias,checked:M===e.value,onChange:N,onBlur:O,onInvalid:function(e){return O(e)},className:"".concat(null==s?void 0:s.tailwindStringBorder," fill-primary stroke-primary text-primary peer col-start-1 row-start-1 h-5 w-5 shrink-0 appearance-none rounded-full outline-none ").concat(null==s?void 0:s.tailwindStringRadioChecked),"aria-describedby":"".concat(L?b:void 0," ").concat((null==r?void 0:r.helpText)?x:"")}),d]}),(0,et.jsx)("span",{children:null!=(a=e.caption)?a:e.value})]})},t)})})]}),g&&L&&(0,et.jsx)("span",{id:b,className:"text-signal-error mt-2 block text-base font-medium sm:text-md sm:font-normal ".concat(null==s?void 0:s.tailwindStringErrorText),children:L})]})};(y=z||(z={})).NO_INDICATOR="NoIndicator",y.MARK_MANDATORY_FIELDS="MarkMandatoryFields",y.MARK_OPTIONAL_FIELDS="MarkOptionalFields",(b=U||(U={})).IS="Is",b.IS_NOT="IsNot",b.GREATER_THEN="GreaterThen",b.LESS_THEN="LessThen",b.CONTAINS="Contains",b.CONTAINS_IGNORE_CASE="ContainsIgnoreCase",b.STARTS_WITH="StartsWith",b.STARTS_WITH_IGNORE_CASE="StartsWithIgnoreCase",b.ENDS_WITH="EndsWith",b.ENDS_WITH_IGNORE_CASE="EndsWithIgnoreCase",b.NOT_CONTAINS="NotContains",b.NOT_CONTAINS_IGNORE_CASE="NotContainsIgnoreCase",b.NOT_STARTS_WITH="NotStartsWith",b.NOT_STARTS_WITH_IGNORE_CASE="NotStartsWithIgnoreCase",b.NOT_ENDS_WITH="NotEndsWith",b.NOT_ENDS_WITH_IGNORE_CASE="NotEndsWithIgnoreCase",(x=G||(G={})).ALL="All",x.ANY="Any",(w=$||($={})).SHOW="Show",w.HIDE="Hide",(S=W||(W={})).SHOW="Show",S.HIDE="Hide",(E=q||(q={})).ALL="All",E.ANY="Any",(T=X||(X={})).IS="Is",T.IS_NOT="IsNot",T.GREATER_THEN="GreaterThen",T.LESS_THEN="LessThen",T.CONTAINS="Contains",T.CONTAINS_IGNORE_CASE="ContainsIgnoreCase",T.STARTS_WITH="StartsWith",T.STARTS_WITH_IGNORE_CASE="StartsWithIgnoreCase",T.ENDS_WITH="EndsWith",T.ENDS_WITH_IGNORE_CASE="EndsWithIgnoreCase",T.NOT_CONTAINS="NotContains",T.NOT_CONTAINS_IGNORE_CASE="NotContainsIgnoreCase",T.NOT_STARTS_WITH="NotStartsWith",T.NOT_STARTS_WITH_IGNORE_CASE="NotStartsWithIgnoreCase",T.NOT_ENDS_WITH="NotEndsWith",T.NOT_ENDS_WITH_IGNORE_CASE="NotEndsWithIgnoreCase",(k=Y||(Y={})).TEXT="Short answer",k.TEXTAREA="Long answer",k.PASSWORD="Password",k.DATE="Date",k.CHECKBOX="Checkbox",k.FILE_UPLOAD="File upload",k.MULTIPLE_CHOICE="Multiple choice",k.DATA_CONSENT="Data Consent",k.DROPDOWN="Dropdown",k.SINGLE_CHOICE="Single choice",k.TITLE_DESCRIPTION="Title and description",k.RICH_TEXT="Rich text",k.HIDDEN="Hidden",k.RECAPTCHAV3="reCAPTCHA v3 with score";let uB=function(e){var t,i,n,r,s,a,o,l,u,c,d,h=e.field,p=e.styles,f=e.requiredErrorMessage,m=e.value,g=e.error,v=e.onChange,y=e.checkedIcon,b=void 0===y?(0,et.jsx)(uT,{showIcon:!0}):y,x=e.helperTooltip,w=void 0!==x&&x,S=e.tooltipAriaLabel,E=e.errorBelowInput,T=void 0!==E&&E,k=e.customRequiredIndicator,C=(0,es.useId)(),P=(0,es.useId)(),A=(0,es.useId)(),I=(0,es.useState)(!1),M=I[0],L=I[1],N=(0,es.useState)("off"),O=N[0],j=N[1],_=(0,es.useState)(null),R=_[0],D=_[1],B=void 0!==m?m:O,H=void 0!==g?g:R,V=function(e){var t=e.target.checked?"on":"off";v?v(t):(j(t),F(e,t))},F=function(e,t){var i=void 0!==t?"on"===t:e.target.checked;h.required&&!i?v||D(h.requiredErrorMessage||f||"Error"):v||D(null)};(null==(t=h.type)?void 0:t.name)===Y.CHECKBOX&&(null==(i=h.preValues)?void 0:i.length)===0?h.preValues.push({caption:null==(n=h.settings)?void 0:n.caption,value:null==(r=h.settings)?void 0:r.defaultValue}):(null==(s=h.type)?void 0:s.name)===Y.DATA_CONSENT&&(null==(a=h.preValues)?void 0:a.length)===0&&h.preValues.push({caption:null==(o=h.settings)?void 0:o.acceptCopy,value:null==(l=h.settings)?void 0:l.acceptCopy});var z=[null==p?void 0:p.tailwindStringSpacing,null==p?void 0:p.tailwindStringSingleCheckboxWrapper].filter(
69Boolean).join(" ");return(0,et.jsxs)("fieldset",{className:z,name:h.alias,children:[uk(h.settings.showLabel)&&(0,et.jsxs)("div",{className:"mb-2 flex gap-2",children:[(0,et.jsxs)("legend",{className:"".concat(null==p?void 0:p.tailwindStringLabel," block"),children:[h.caption,h.required&&(void 0!==k?k:" *")]}),w&&!!(null==h?void 0:h.helpText)&&(0,et.jsx)("span",{role:"button",tabIndex:0,"aria-label":void 0===S?"":S,"aria-expanded":M,"aria-controls":A,onClick:function(){return L(function(e){return!e})},onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),L(function(e){return!e}))},className:"cursor-pointer ".concat(null==p?void 0:p.tailwindStringToolTipIconWrapper),children:(0,et.jsx)(eS,{className:"w-5 h-5 text-gray-400 ".concat(null!=(u=null==p?void 0:p.tailwindStringToolTipIcon)?u:"")})})]}),(!w||M)&&(null==h?void 0:h.helpText)&&(0,et.jsxs)("span",{id:A,className:"block pb-2 text-base ".concat(null!=(c=null==p?void 0:p.tailwindStringHelperText)?c:""),children:[(0,et.jsx)("span",{className:"sr-only",children:" | "}),null==h?void 0:h.helpText]}),!T&&H&&(0,et.jsx)("span",{id:P,className:"text-signal-error mb-2 block text-base font-medium sm:text-md sm:font-normal ".concat(null==p?void 0:p.tailwindStringErrorText),children:H}),(0,et.jsx)("div",{className:"flex flex-col gap-3",children:null==(d=h.preValues)?void 0:d.map(function(e,t){return(0,et.jsxs)("label",{htmlFor:"".concat(C,"_").concat(t),className:"flex items-center gap-2 ".concat(null==p?void 0:p.tailwindStringCheckboxLabel),children:[(0,et.jsx)("input",{type:"checkbox",id:"".concat(C,"_").concat(t),name:h.alias,value:B,checked:"on"===B,className:"peer sr-only",required:h.required,onChange:V,onBlur:function(e){return F(e)},onInvalid:function(e){return F(e)},"aria-describedby":"".concat(H?P:void 0," ").concat((null==h?void 0:h.helpText)?A:"")}),(0,et.jsx)("div",{className:"".concat(null==p?void 0:p.tailwindStringBorder," border-primary relative flex h-5 w-5 items-center justify-center rounded border ").concat(null==p?void 0:p.tailwindStringCheckboxChecked," peer-focus-visible:outline peer-focus-visible:outline-offset-2"),children:"on"===B&&b}),(0,et.jsx)("span",{className:"on"===B?null==p?void 0:p.tailwindStringCheckboxLabelChecked:"",children:e.caption||h.caption})]},t)})}),T&&H&&(0,et.jsx)("span",{id:P,className:"text-signal-error mt-2 block text-base font-medium sm:text-md sm:font-normal ".concat(null==p?void 0:p.tailwindStringErrorText),children:H})]})},uH=function(e){var t=e.message,i=e.isHtml,n=e.style;return(0,et.jsx)("div",{style:void 0===n?{}:n,className:"w-full my-5 text-body-md",children:i?(0,et.jsx)(ev,{content:null!=t?t:""}):(0,et.jsx)("p",{className:"text-body-md",children:t})})},uV=function(e){var t,i,n,r=e.field,s=e.containerClassName,a=e.captionClassName,o=e.bodyClassName;return(0,et.jsxs)("div",{className:void 0===s?"":s,children:[function(e,t,i){switch(e){case"h2":return(0,et.jsx)("h2",{className:i,children:t});case"h3":return(0,et.jsx)("h3",{className:i,children:t});case"h4":return(0,et.jsx)("h4",{className:i,children:t});case"h5":return(0,et.jsx)("h5",{className:i,children:t});case"h6":return(0,et.jsx)("h6",{className:i,children:t});default:return(0,et.jsx)("p",{className:i,children:t})}}(null==(t=r.settings)?void 0:t.captionTag,null==(i=r.settings)?void 0:i.caption,void 0===a?"":a),(0,et.jsx)("p",{className:void 0===o?"":o,children:null==(n=r.settings)?void 0:n.bodyText})]})};var uF=function(e,t){var i;return[null!=(i=null==e?void 0:e.stepButtonTextPrefix)?i:null==e?void 0:e.nextButtonTextPrefix,t].filter(function(e){return!!(e&&e.trim())}).join(" ")};let uz=function(e){var t=e.currentStep,i=e.totalSteps,n=e.stepsValid,r=e.visitedSteps,s=e.styles,a=e.translations,o=e.onStepClick,l=e.captions,u=e.showCaption,c=void 0!==u&&u,d=e.showNumbers,h=void 0===d||d;return(0,et.jsx)(eH,{tailwindString:"mb-8 flex items-center justify-center gap-4 ".concat(null==s?void 0:s.tailwindStringPager),children:Array.from({length:i}).map(function(e,i){var u,d=n[i]&&r.includes(i),p=i===t,f=n.slice(0,i).every(Boolean),m=r.includes(i)&&i!==t&&f;return(!s||(null==s?void 0:s.tailwindStringPagerStepFilled)||(s.tailwindStringPagerStepFilled="border-[#03A55A] bg-[#03A55A] text-white"),!s||(null==s?void 0:s.tailwindStringPagerStepCurrent)||(s.tailwindStringPagerStepCurrent="border-black bg-black font-bold text-white"),!s||(null==s?void 0:s.tailwindStringPagerStepUnvisited)||(s.tailwindStringPagerStepUnvisited="border-[#397BCA] bg-white text-gray-500"),c&&l&&l[i])?(0,et.jsxs)(t2,{tailwindString:"items-center flex-col gap-2",children:[(0,et.jsx)("button",{type:"button",disabled:!m,onClick:function(){return m&&o(i)},"aria-current":p?"step":void 0,"aria-label":uF(a,(null==(u=l[i])?void 0:u.toLocaleLowerCase())||""),className:"flex h-10 w-10 items-center justify-center rounded-full border-2 transition-all ".concat(p?null==s?void 0:s.tailwindStringPagerStepCurrent:""," ").concat(d&&!p?null==s?void 0:s.tailwindStringPagerStepFilled:""," ").concat(!d&&!p?null==s?void 0:s.tailwindStringPagerStepUnvisited:""," ").concat(m?"cursor-pointer hover:scale-105":"cursor-default"," "),children:h&&(0,et.jsx)(et.Fragment,{children:i+1})},i),(0,et.jsx)("span",{className:"text-sm ".concat(null==s?void 0:s.tailwindStringPagerStepCaption),children:l[i]})]},i):(0,et.jsx)("button",{type:"button",disabled:!m,onClick:function(){return m&&o(i)},"aria-current":p?"step":void 0,"aria-label":uF(a,(i+1).toString()),className:"flex h-10 w-10 items-center justify-center rounded-full border-2 transition-all ".concat(p?null==s?void 0:s.tailwindStringPagerStepCurrent:""," ").concat(d&&!p?null==s?void 0:s.tailwindStringPagerStepFilled:""," ").concat(!d&&!p?null==s?void 0:s.tailwindStringPagerStepUnvisited:""," ").concat(m?"cursor-pointer hover:scale-105":"cursor-default"," "),children:h&&(0,et.jsx)(et.Fragment,{children:i+1})},i)})})},uU=function(){return(0,et.jsxs)("div",{role:"status",children:[(0,et.jsxs)("svg",{"aria-hidden":"true",className:"text-magenta-120 inline h-6 w-6 animate-spin fill-white dark:fill-white",viewBox:"0 0 100 101",fill:"none",children:[(0,et.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,et.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.
691071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),(0,et.jsx)("span",{className:"sr-only",children:"Laden..."})]})};var uG=function(e){if(null!=e){var t=e.trim();if(""!==t){var i=t.match(/^(\d{4}-\d{2}-\d{2})/);if(i)return i[1];if(/^-?\d+$/.test(t)){var n=new Date;return n.setDate(n.getDate()+parseInt(t,10)),u$(n)}}}},u$=function(e){var t=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(i,"-").concat(n)};let uW=function(e){var t,i,n,r,s,a,o,l=e.field,u=e.styles,c=e.value,d=e.error,h=e.onChange,p=e.isControlled,f=void 0===p?void 0!==c&&void 0!==h:p,m=e.helperTooltip,g=e.tooltipAriaLabel,v=e.errorBelowInput,y=e.customRequiredIndicator,b=uG(null==(t=l.settings)?void 0:t.minDate),x=uG(null==(i=l.settings)?void 0:i.maxDate);return(0,et.jsx)(eC,{min:b,max:x,className:"rounded w-full ".concat(null==u?void 0:u.tailwindStringBorder," ").concat(null==u?void 0:u.tailwindStringTextField),formControlClassname:null==u?void 0:u.tailwindStringSpacing,labelClassName:"".concat(null==u?void 0:u.tailwindStringLabel),label:uk(null!=(r=null==(n=l.settings)?void 0:n.showLabel)?r:"")?l.caption:"",name:l.alias,helpText:l.helpText,helperTooltip:void 0!==m&&m,type:"date",required:l.required,defaultValue:f||null==(s=l.settings)?void 0:s.defaultValue,value:f?c:void 0,onChange:f?function(e){return h&&h(e.target.value)}:void 0,placeholder:null==(a=l.settings)?void 0:a.placeholder,autoComplete:null==(o=l.settings)?void 0:o.autocompleteAttribute,errorMessage:l.requiredErrorMessage,error:d,patternInvalidErrorMessage:l.patternInvalidErrorMessage,errorTailwindString:null==u?void 0:u.tailwindStringErrorText,helperClassName:null==u?void 0:u.tailwindStringHelperText,tooltipIconClassName:null==u?void 0:u.tailwindStringToolTipIcon,tooltipIconWrapperClassName:null==u?void 0:u.tailwindStringToolTipIconWrapper,tooltipAriaLabel:void 0===g?"":g,errorBelowInput:void 0!==v&&v,customRequiredIndicator:y}
69,l.id)};var uq=function(){function e(e){var t=e.formValues,i=e.fieldIdToAlias;this.fieldIdToAlias=i,this.formValues=t}return e.prototype.evaluateRule=function(e){if(!e.field||!e.value||!this.fieldIdToAlias[e.field])return!0;var t=this.formValues[e.field],i=this.convertValueToString(t),n=!1;switch(e.operator){case"Is":n="true"===e.value||"1"===e.value?"true"===i||"on"===i||"1"===i:"false"===e.value||"0"===e.value?"false"===i||"0"===i||""===i:i===e.value;break;case"IsNot":n="true"===e.value||"1"===e.value?"true"!==i&&"on"!==i&&"1"!==i:"false"===e.value||"0"===e.value?"false"!==i&&"0"!==i&&""!==i:i!==e.value;break;case"GreaterThen":n=parseFloat(i)>parseFloat(e.value);break;case"LessThen":n=parseFloat(i)<parseFloat(e.value);break;case"Contains":n=i.includes(e.value);break;case"StartsWith":n=i.startsWith(e.value);break;case"EndsWith":n=i.endsWith(e.value);break;default:n=!0}return n},e.prototype.convertValueToString=function(e){return null==e?"":"boolean"==typeof e?e?"true":"false":"string"==typeof e?e:"number"==typeof e?e.toString():Array.isArray(e)?e.join(","):String(e)},e.prototype.evaluateCondition=function(e){var t=this,i=e.actionType,n=e.logicType,r=e.rules.map(function(e){return t.evaluateRule(e)}),s=!1;return("All"===n?s=r.every(function(e){return!0===e}):"Any"===n&&(s=r.some(function(e){return!0===e})),"Show"===i)?s:"Hide"!==i||!s},e}();function uX(e){var t=e.field,i=e.fieldset,n=e.column,r=e.isClient,s=e.fieldIdToAlias,a=e.formValues;if(!r)return!0;var o=[];if(t.condition&&t.condition.rules&&t.condition.rules.length>0&&o.push(t.condition),(null==n?void 0:n.condition)&&n.condition.rules&&n.condition.rules.length>0&&o.push(n.condition),(null==i?void 0:i.condition)&&i.condition.rules&&i.condition.rules.length>0&&o.push(i.condition),0===o.length)return!0;var l=new uq({formValues:a,fieldIdToAlias:s});return o.map(function(e){return l.evaluateCondition(e)}).every(function(e){return!0===e})}function uY(e){var t=e.page,i=e.isClient,n=e.fieldIdToAlias,r=e.formValues;if(!i)return!0;var s=null==t?void 0:t.condition;return null==s||!s.rules||0===s.rules.length||new uq({formValues:r,fieldIdToAlias:n}).evaluateCondition(s)}var uK=function(e,t){var i,n,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=o(0),a.throw=o(1),a.return=o(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(o){return function(l){var u=[o,l];if(i)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(s=0)),s;)try{if(i=1,n&&(r=2&u[0]?n.return:u[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,u[1])).done)return r;switch(n=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,n=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===u[0]||2===u[0])){s=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){s.label=u[1];break}if(6===u[0]&&s.label<r[1]){s.label=r[1],r=u;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(u);break}r[2]&&s.ops.pop(),s.trys.pop();continue}u=t.call(e,s)}catch(e){u=[6,e],n=0}finally{i=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},uZ=function(e){var t,i,n,r;return t=void 0,i=void 0,n=void 0,r=function(){return uK(this,function(t){return[2,new Promise(function(t,i){var n=new FileReader;n.readAsDataURL(e),n.onload=function(){return t(n.result)},n.onerror=function(e){return i(e)}})]})},new(n||(n=Promise))(function(e,s){function a(e){try{l(r.next(e))}catch(e){s(e)}}function o(e){try{l(r.throw(e))}catch(e){s(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof n?i:new n(function(e){e(i)})).then(a,o)}l((r=r.apply(t,i||[])).next())})};let uQ=function(e){var t,i=[];return null==(t=null==e?void 0:e.pages)||t.forEach(function(e){var t;null==(t=e.fieldsets)||t.forEach(function(e){var t;null==(t=e.columns)||t.forEach(function(e){var t;null==(t=e.fields)||t.forEach(function(e){i.push(e)})})})}),i},uJ=function(e){switch(e){case 1:default:return"grid-cols-1";case 2:return"max-md:grid-cols-1 grid-cols-2";case 3:return"max-md:grid-cols-1 grid-cols-3";case 4:return"max-md:grid-cols-1 max-lg:grid-cols-2 grid-cols-4"}};var u0=function(e,t,i){if(i||2==arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))},u1=function(e){if(void 0===e&&(e=[]),!e||0===e.length)return[];for(var t=Math.max.apply(Math,u0(u0([],e.map(function(e){var t,i;return null!=(i=null==(t=e.fields)?void 0:t.length)?i:0}),!1),[0],!1)),i=[],n=function(t){var n=[];e.forEach(function(e,i){var r,s=null==(r=e.fields)?void 0:r[t];
69s&&n.push({field:s,columnIndex:i})}),n.length>0&&i.push(n)},r=0;r<t;r++)n(r);return i},u2=function(e,t,i){if(i||2==arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))},u3=function(){window.grecaptcha&&window.grecaptcha.ready(function(){var e=document.getElementsByClassName("grecaptcha-badge")[0];e&&(e.style.display="block",e.style.zIndex="1")})},u5=function(){window.grecaptcha&&window.grecaptcha.ready(function(){var e=document.getElementsByClassName("grecaptcha-badge")[0];e&&(e.style.display="none")})};let u6=function(e){var t=(0,es.useState)(!1),i=t[0],n=t[1];return(0,es.useEffect)(function(){if("u">typeof window&&""!==e&&!i){if(window.grecaptcha){u3(),n(!0);return}var t=document.createElement("script");t.async=!0,t.src="https://www.google.com/recaptcha/api.js?render=".concat(e),t.addEventListener("load",function(){n(!0),u3()}),document.body.appendChild(t)}},[i]),(0,es.useEffect)(function(){return u5},[]),{reCaptchaLoaded:i,generateReCaptchaToken:function(t){return new Promise(function(r,s){return i?"u"<typeof window||!window.grecaptcha?(n(!1),s(Error("ReCaptcha not loaded"))):void window.grecaptcha.ready(function(){window.grecaptcha.execute(e,{action:t}).then(function(e){r(e)})}):s(Error("ReCaptcha not loaded"))})}}};var u8=function(){return(u8=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},u4=function(e,t,i,n){return new(i||(i=Promise))(function(r,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,o)}l((n=n.apply(e,t||[])).next())})},u9=function(e,t){var i,n,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=o(0),a.throw=o(1),a.return=o(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(o){return function(l){var u=[o,l];if(i)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(s=0)),s;)try{if(i=1,n&&(r=2&u[0]?n.return:u[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,u[1])).done)return r;switch(n=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,n=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===u[0]||2===u[0])){s=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){s.label=u[1];break}if(6===u[0]&&s.label<r[1]){s.label=r[1],r=u;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(u);break}r[2]&&s.ops.pop(),s.trys.pop();continue}u=t.call(e,s)}catch(e){u=[6,e],n=0}finally{i=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},u7=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]]);return i};e.s(["default",0,function(e){var t,i,n,r,s,a,o,l,u,c,d,h,p,f,m,g,v,y,b=e.form,x=e.title,w=e.styles,S=void 0===w?{}:w,E=e.translations,T=void 0===E?{}:E,k=e.icons,C=void 0===k?{}:k,P=e.handleFormSubmit,A=e.isPending,I=void 0!==A&&A,M=e.formSend,N=void 0!==M&&M,O=e.formError,j=void 0!==O&&O,R=e.reCaptchaSiteKey,D=void 0===R?"":R,B=e.showCaption,H=e.showNumbers,V=e.helperTooltip,F=void 0!==V&&V,z=e.tooltipAriaLabel,U=void 0===z?"":z,G=e.scrollOffsetTop,$=e.errorBelowInput,W=void 0!==$&&$,q=e.displayCharactersLeft,X=void 0!==q&&q,K=e.customRequiredIndicator,Z=e.allowMultipleFileUploads,Q=e.showUploadedFilesList,J=e.hideFileUploadHelperText,ee=e.fileUploadListItemPrefix,ei=e.showFileUploadItemMeta,er=e.ref;if(!b)return null;var ea=(0,es.useMemo)(function(){var e;return e={}
69,(null==b?void 0:b.pages)&&b.pages.forEach(function(t){var i;null==(i=null==t?void 0:t.fieldsets)||i.forEach(function(t){var i;null==(i=null==t?void 0:t.columns)||i.forEach(function(t){var i;null==(i=null==t?void 0:t.fields)||i.forEach(function(t){(null==t?void 0:t.id)&&(null==t?void 0:t.alias)&&(e[t.id]=t.alias)})})})}),e},[b]),eo=(0,es.useMemo)(function(){return uQ(b)},[b]),el=(0,es.useState)(function(){var e,t={};return null==(e=uQ(b))||e.forEach(function(e){var i;(null==(i=e.settings)?void 0:i.defaultValue)&&(t[e.id]=e.settings.defaultValue)}),t}),eu=el[0],ec=el[1],ed=(0,es.useState)({}),eh=ed[0],ep=ed[1],ef=(0,es.useState)(!1),em=ef[0],eg=ef[1],ev=(0,es.useState)(0),eb=(ev[0],ev[1]),ex=(0,es.useRef)(null),eS=(0,es.useRef)(0),eE=(void 0===t&&(t=0),n=(i=(0,es.useState)(t))[0],r=i[1],a=(s=(0,es.useState)([t]))[0],o=s[1],{currentPage:n,setCurrentPage:r,visitedSteps:a,goToNextPage:function(e){var t="number"==typeof e?e:n+1;o(function(e){return e.includes(t)?e:u2(u2([],e,!0),[t],!1)}),r(t)},goToPreviousPage:function(e){var t="number"==typeof e?e:n-1;o(function(e){return e.includes(t)?e:u2(u2([],e,!0),[t],!1)}),r(t)},handleStepClick:function(e){a.includes(e)&&e!==n&&(r(e),o(function(t){return t.includes(e)?t:u2(u2([],t,!0),[e],!1)}))}}),eT=eE.currentPage,ek=(eE.setCurrentPage,eE.visitedSteps),eC=eE.goToNextPage,eP=eE.goToPreviousPage,eA=eE.handleStepClick,eI=b.pages.map(function(e){return e.caption||""}),eM=(0,es.useMemo)(function(){return b.pages.map(function(e){return uY({page:e,isClient:em,fieldIdToAlias:ea,formValues:eu})})},[b,em,ea,eu]),eL=null==(d=eM[eT])||d,eN=eM.findIndex(function(e,t){return t>eT&&e}),eO=eM.reduce(function(e,t,i){return i<eT&&t?i:e},-1),ej=-1!==eO?eO:eT-1,e_=b.pages.map(function(e,t){return t}).filter(function(e){return eM[e]||e===eT}),eR=(void 0===(l=ek)&&(l=[]),void 0===(u=eT)&&(u=0),c=function(e,t){if((null==(i=e.type)?void 0:i.name)!==Y.DATE||!t)return!1;var i,n,r,s=uG(null==(n=e.settings)?void 0:n.minDate),a=uG(null==(r=e.settings)?void 0:r.maxDate);return!!s&&t<s||!!a&&t>a},{validateCurrentPageFields:function(e,t){var i,n={},r=null==(i=null==b?void 0:b.pages)?void 0:i[e];return!r||(uY({page:r,isClient:em,fieldIdToAlias:ea,formValues:eu})?(r.fieldsets.forEach(function(e){e.columns.forEach(function(t){t.fields.forEach(function(i){var r,s;if(uX({field:i,fieldset:e,column:t,isClient:em,fieldIdToAlias:ea,formValues:eu})){var a=eu[i.id],o=(null==(r=i.type)?void 0:r.name)===Y.CHECKBOX||(null==(s=i.type)?void 0:s.name)===Y.DATA_CONSENT?"on"!==a:!a;i.required&&o&&(n[i.id]=i.requiredErrorMessage||(null==T?void 0:T.requiredFieldErrorMessageFallback)||""),i.pattern&&a&&!new RegExp(i.pattern).test(a)&&(n[i.id]=i.patternInvalidErrorMessage||(null==T?void 0:T.patternFieldErrorMessageFallback)||""),c(i,a)&&(n[i.id]=i.patternInvalidErrorMessage||(null==T?void 0:T.patternFieldErrorMessageFallback)||"")}})})}),t(n),0===Object.keys(n).length):(t({}),!0))},stepsValid:(0,es.useMemo)(function(){var e;return(null!=(e=null==b?void 0:b.pages)?e:[]).map(function(e,t){if(!l.includes(t)||t===u||!uY({page:e,isClient:em,fieldIdToAlias:ea,formValues:eu}))return!0;var i=!0;return e.fieldsets.forEach(function(e){e.columns.forEach(function(t){t.fields.forEach(function(n){var r,s;if(uX({field:n,fieldset:e,column:t,isClient:em,fieldIdToAlias:ea,formValues:eu})){var a=eu[n.id],o=(null==(r=n.type)?void 0:r.name)===Y.CHECKBOX||(null==(s=n.type)?void 0:s.name)===Y.DATA_CONSENT?"on"!==a:!a;n.required&&o&&(i=!1),n.pattern&&a&&!new RegExp(n.pattern).test(a)&&(i=!1),c(n,a)&&(i=!1)}})})}),i})},[b,eu,em,ea,l,u])}),eD=eR.validateCurrentPageFields,eB=eR.stepsValid,eV=u6(D),eF=eV.reCaptchaLoaded,ez=eV.generateReCaptchaToken,eU=void 0!==eo.find(function(e){var t;return(null==(t=e.type)?void 0:t.name)===Y.RECAPTCHAV3}),eG=function(){return u4(void 0,void 0,void 0,function(){var e,t,i,n,r,s,a,o,l,u,c,d,h;return u9(this,function(p){switch(p.label){case 0:if(!eD(eT,ep))return[2];e={},t=0,i=Object.entries(eu),p.label=1;case 1:if(!(t<i.length))return[3,7];if(r=(n=i[t])[0],s=n[1],a=null!=(d=ea[r])?d:r,!(s instanceof File))return[3,3];return[4,uZ(s)];case 2:return o=p.sent(),e[a]=[{fileName:s.name||"",fileContents:s.name?o:""}],[3,6];case 3:if(!(Array.isArray(s)&&s[0]instanceof File))return[3,5];return l=e,u=a,[4,Promise.all(s.map(function(e){return u4(void 0,void 0,void 0,function(){var t,i;return u9(this,function(n){switch(n.label){case 0:if(i={fileName:e.name||""},!e.name)return[3,2];return[4,uZ(e)];case 1:return t=n.sent(),[3,3];case 2:t="",n.label=3;case 3:return[2,(i.fileContents=t,i)]}})})}))];case 4:return l[u]=p.sent(),[3,6];case 5:e[a]=s,p.label=6;case 6:return t++,[3,1];case 7:if(null==(h=null==b?void 0:b.pages)||h.forEach(function(t){var i;
69null==(i=t.fieldsets)||i.forEach(function(t){var i;null==(i=t.columns)||i.forEach(function(t){var i;null==(i=t.fields)||i.forEach(function(t){var i;if((null==(i=t.type)?void 0:i.name)==="Dropdown"&&t.preValues&&t.preValues.length>0){var n=e[t.alias],r=t.preValues[0];(!n||""===n)&&(null==r?void 0:r.value)&&(e[t.alias]=r.value)}})})})}),c="",!(""!==D&&eF&&eU))return[3,9];return[4,ez("handleSubmit")];case 8:c=p.sent(),p.label=9;case 9:return setTimeout(function(){P(e,c)},200),[2]}})})},e$=function(e,t){ec(function(i){var n;return u8(u8({},i),((n={})[e]=t,n))}),ep(function(t){return t[e],u7(t,["symbol"==typeof e?e:e+""])})};return(null==S?void 0:S.tailwindStringBorder)||(S.tailwindStringBorder="rounded-md border"),(null==S?void 0:S.tailwindStringLabel)||(S.tailwindStringLabel="text-black text-label-md mb-2"),(null==S?void 0:S.tailwindStringSpacing)||(S.tailwindStringSpacing="mt-8"),(null==S?void 0:S.tailwindStringTitle)||(S.tailwindStringTitle=""),(null==S?void 0:S.tailwindStringButtonPrevious)||(S.tailwindStringButtonPrevious="bg-gray-300 text-black"),(null==S?void 0:S.tailwindStringButtonNext)||(S.tailwindStringButtonNext="bg-black text-white disabled:hover:bg-black"),(0,es.useEffect)(function(){eb(function(e){return e+1})},[eT,eu]),(0,es.useEffect)(function(){ep({})},[eT]),(0,es.useEffect)(function(){eg(!0)},[]),(0,es.useEffect)(function(){ex.current&&em&&eT!==eS.current&&ex.current.scrollIntoView({behavior:"smooth",block:"start"}),eS.current=eT},[eT,em]),(0,et.jsxs)(uE,{"aria-live":"polite",tailwindString:"".concat(em?"visible":"invisible"," relative"),children:[(0,et.jsx)("div",{ref:ex,style:{position:"absolute",top:"-".concat(void 0===G?0:G,"px")}}),x&&(0,et.jsx)(ey,{tailwindString:"text-title-lg mb-0! text-black ".concat(S.tailwindStringTitle),headingLevel:_.H2,text:x}),(null==b?void 0:b.pages)&&e_.length>1&&!N&&(0,et.jsx)(uz,{currentStep:e_.indexOf(eT),totalSteps:e_.length,stepsValid:e_.map(function(e){var t;return null==(t=eB[e])||t}),visitedSteps:e_.map(function(e,t){return ek.includes(e)?t:-1}).filter(function(e){return -1!==e}),styles:S,translations:T,onStepClick:function(e){var t;return eA(null!=(t=e_[e])?t:e)},captions:e_.map(function(e){var t;return null!=(t=eI[e])?t:""}),showCaption:void 0!==B&&B,showNumbers:void 0===H||H}),(null==b?void 0:b.pages)&&N?(0,et.jsx)(uH,{message:b.messageOnSubmit,isHtml:b.messageOnSubmitIsHtml}):(0,et.jsxs)("form",u8({},er&&{ref:er},{id:"umbracoForm",className:null!=(h=null==S?void 0:S.tailwindString)?h:"",onSubmit:function(e){return u4(void 0,void 0,void 0,function(){return u9(this,function(t){switch(t.label){case 0:return e.preventDefault(),e.stopPropagation(),[4,eG()];case 1:return t.sent(),[2]}})})},autoComplete:"on",noValidate:!0,children:[null==(m=null==(f=null==(p=null==b?void 0:b.pages)?void 0:p[eT])?void 0:f.fieldsets)?void 0:m.map(function(e,t){var i,n,r=u1(e.columns),s=null!=(n=null==(i=e.columns)?void 0:i.length)?n:1;return(0,et.jsx)("div",{className:"grid grid-cols-1 gap-y-4",children:r.map(function(t,i){return t.some(function(t){var i,n=t.field,r=t.columnIndex,s=null==(i=e.columns)?void 0:i[r];return s&&uX({field:n,fieldset:e,column:s,isClient:em,fieldIdToAlias:ea,formValues:eu})})?(0,et.jsx)("div",{className:"grid gap-x-4 ".concat(uJ(s)),children:t.map(function(t){var i,n=t.field,r=t.columnIndex,s=null==(i=e.columns)?void 0:i[r];return s&&uX({field:n,fieldset:e,column:s,isClient:em,fieldIdToAlias:ea,formValues:eu})?(0,et.jsx)("div",{children:function(e,t,i,n,r,s,a,o,l,u,c,d,h,p,f,m,g,v,y,b,x){var w,S,E,T,k,C;switch(null==(w=e.type)?void 0:w.name){case Y.TEXT:return(0,et.jsx)(uR,{field:e,type:null==(S=e.settings)?void 0:S.fieldType,styles:t,value:n,error:r,isControlled:!0,onChange:x,helperTooltip:s,tooltipAriaLabel:a,errorBelowInput:o,customRequiredIndicator:l,displayCharactersLeft:y,charactersLeftText:b},e.id);case Y.TEXTAREA:return(0,et.jsx)(u_,{field:e,styles:t,value:n,error:r,isControlled:!0,helperTooltip:s,tooltipAriaLabel:a,errorBelowInput:o,customRequiredIndicator:l,displayCharactersLeft:y,charactersLeftText:b,onChange:x},e.id);case Y.PASSWORD:return(0,et.jsx)(uR,{field:e,type:"password",styles:t,value:n,error:r,isControlled:!0,helperTooltip:s,tooltipAriaLabel:a,errorBelowInput:o,customRequiredIndicator:l,displayCharactersLeft:y,charactersLeftText:b,onChange:x},e.id);case Y.CHECKBOX:case Y.DATA_CONSENT:return(0,et.jsx)(uB,{field:e,styles:t,value:n,error:r,checkedIcon:null!=(E=null==i?void 0:i.checkboxIcon)?E:void 0,helperTooltip:s,tooltipAriaLabel:a,errorBelowInput:o,customRequiredIndicator:l,onCh
69ange:x},e.id);case Y.MULTIPLE_CHOICE:return(0,et.jsx)(uP,{field:e,styles:t,value:n,error:r,helperTooltip:s,tooltipAriaLabel:a,errorBelowInput:o,customRequiredIndicator:l,onChange:x},e.id);case Y.DROPDOWN:return(0,et.jsx)(uA,{field:e,styles:t,value:n,error:r,helperTooltip:s,tooltipAriaLabel:a,errorBelowInput:o,customRequiredIndicator:l,onChange:x},e.id);case Y.SINGLE_CHOICE:return(0,et.jsx)(uD,{field:e,styles:t,value:n,error:r,checkedIcon:null!=(T=null==i?void 0:i.radioIcon)?T:void 0,helperTooltip:s,tooltipAriaLabel:a,errorBelowInput:o,customRequiredIndicator:l,onChange:x},e.id);case Y.TITLE_DESCRIPTION:return(0,et.jsx)(uV,{field:e,containerClassName:null==t?void 0:t.tailwindStringSpacing,captionClassName:null==t?void 0:t.tailwindStringTitleDescriptionCaption,bodyClassName:null==t?void 0:t.tailwindStringTitleDescriptionBody},e.id);case Y.RICH_TEXT:return(0,et.jsx)(uj,{field:e,styles:t},e.id);case Y.FILE_UPLOAD:return(0,et.jsx)(uO,{field:e,styles:t,icons:i,value:n,error:r,helperTooltip:s,tooltipAriaLabel:a,errorBelowInput:o,customRequiredIndicator:l,allowMultipleFileUploads:u,fileInfoText:c,fileInfoTextClassName:d,showUploadedFilesList:h,hideFileUploadHelperText:p,listItemPrefix:f,showFileMeta:m,fileMetaExtensionClassName:g,fileMetaSizeClassName:v,onChange:x},e.id);case Y.DATE:return(0,et.jsx)(uW,{field:e,styles:t,value:n,error:r,isControlled:!0,helperTooltip:s,tooltipAriaLabel:a,errorBelowInput:o,customRequiredIndicator:l,onChange:x},e.id);case Y.HIDDEN:return(0,et.jsx)("input",{type:"hidden",name:e.alias,value:null!=(C=null!=n?n:null==(k=e.settings)?void 0:k.defaultValue)?C:"",readOnly:!0},e.id);default:return null}}(n,S,C,eu[n.id],eh[n.id],F,U,W,K,Z,null==S?void 0:S.fileUploadInfoText,null==S?void 0:S.fileUploadInfoTextClassName,Q,J,ee,ei,null==S?void 0:S.fileUploadMetaExtensionClassName,null==S?void 0:S.fileUploadMetaSizeClassName,X,null==T?void 0:T.charactersLeftText,function(e){e$(n.id,e)})},n.id):null})},i):null})},t)}),(0,et.jsxs)(t2,{tailwindString:"my-6 items-center justify-between max-md:flex-col-reverse max-md:gap-4 ".concat(null==S?void 0:S.tailwindStringButtonsWrapper),children:[-1!==ej&&(0,et.jsx)(en,{tailwindString:"flex gap-2 items-center text-label-md min-w-28 justify-center rounded-md px-6 py-3 transition-all ".concat(null==S?void 0:S.tailwindStringButtonPrevious),type:"button",label:(null==T?void 0:T.previousButtonTextPrefix)?"".concat(null==T?void 0:T.previousButtonTextPrefix," ").concat((null==(g=eI[ej])?void 0:g.toLocaleLowerCase())||""):null==T?void 0:T.previousButtonText,onClickCallback:function(){return eP(ej)},icon:(null==C?void 0:C.previousIcon)?C.previousIcon:void 0,iconPosition:L.LEFT}),j&&(null==T?void 0:T.submitErrorMessageGeneral)&&(0,et.jsx)(eH,{tailwindString:"mx-auto",children:j&&(0,et.jsx)(ew,{text:null==T?void 0:T.submitErrorMessageGeneral,tailwindString:"text-body-md"})}),eL&&(-1!==eN?(0,et.jsx)(en,{tailwindString:"flex gap-2 items-center text-label-md min-w-28 justify-center rounded-md px-6 py-3 transition-all ".concat(null==S?void 0:S.tailwindStringButtonNext),type:"button",isDisabled:I,label:(null==T?void 0:T.nextButtonTextPrefix)?"".concat(null==T?void 0:T.nextButtonTextPrefix," ").concat((null==(v=eI[eN])?void 0:v.toLocaleLowerCase())||""):null==T?void 0:T.nextButtonText,onClickCallback:function(){eD(eT,ep)&&eC(eN)},icon:(null==C?void 0:C.nextIcon)?C.nextIcon:void 0,iconPosition:L.RIGHT}):(0,et.jsx)(en,{tailwindString:"text-label-md min-w-28 justify-center rounded-md px-6 py-3 transition-all ".concat(null==S?void 0:S.tailwindStringButtonNext),type:"button",onClickCallback:function(){return eG()},isDisabled:I,label:I?"":null!=(y=null==b?void 0:b.submitLabel)?y:"",icon:I?(0,et.jsx)(uU,{}):null}))]})]}))]})}],79581),(0,es.createContext)(void 0),(C=K||(K={})).ROADMAP="roadmap",C.HYBRID="hybrid",C.SATELLITE="satellite",C.TERRAIN="terrain",(P=Z||(Z={})).ONE="1",P.TWO="2",(A=Q||(Q={})).PNG="png",A.PNG8="png8",A.PNG32="png32",A.GIF="gif",A.JPG="jpg",A.JPG_BASELINE="jpg-baseline",(I=J||(J={})).COOPERATIVE="cooperative",I.GREEDY="greedy",I.NONE="none",I.AUTO="auto";var ce=e.i(65932);function ct(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]]);return i}
69function ci(e,t,i,n){return new(i||(i=Promise))(function(r,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(a,o)}l((n=n.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;let cn="NOT_LOADED",cr="LOADED",cs="AUTH_FAILURE";class ca{static load(e,t){return ci(this,void 0,void 0,function*(){var i,n;let r=e.libraries?e.libraries.split(","):[],s=this.serializeParams(e);this.listeners.push(t),(null==(n=null==(i=window.google)?void 0:i.maps)?void 0:n.importLibrary)?(this.serializedApiParams||(this.loadingStatus=cr),this.notifyLoadingStatusListeners()):(this.serializedApiParams=s,this.initImportLibrary(e)),this.serializedApiParams&&this.serializedApiParams!==s&&console.warn("[google-maps-api-loader] The maps API has already been loaded with different parameters and will not be loaded again. Refresh the page for new values to have effect.");let a=["maps",...r];yield Promise.all(a.map(e=>google.maps.importLibrary(e)))})}static serializeParams(e){return[e.v,e.key,e.language,e.region,e.authReferrerPolicy,e.solutionChannel].join("/")}static initImportLibrary(e){if(window.google||(window.google={}),window.google.maps||(window.google.maps={}),window.google.maps.importLibrary)return void console.error("[google-maps-api-loader-internal]: initImportLibrary must only be called once");let t=null,i=()=>t||(t=new Promise((t,i)=>{var n;let r=document.createElement("script"),s=new URLSearchParams;for(let[t,i]of Object.entries(e)){let e=t.replace(/[A-Z]/g,e=>"_"+e[0].toLowerCase());s.set(e,String(i))}s.set("loading","async"),s.set("callback","__googleMapsCallback__"),r.async=!0,r.src="https://maps.googleapis.com/maps/api/js?"+s.toString(),r.nonce=(null==(n=document.querySelector("script[nonce]"))?void 0:n.nonce)||"",r.onerror=()=>{this.loadingStatus="FAILED",this.notifyLoadingStatusListeners(),i(Error("The Google Maps JavaScript API could not load."))},window.__googleMapsCallback__=()=>{this.loadingStatus=cr,this.notifyLoadingStatusListeners(),t()},window.gm_authFailure=()=>{this.loadingStatus=cs,this.notifyLoadingStatusListeners()},this.loadingStatus="LOADING",this.notifyLoadingStatusListeners(),document.head.append(r)}));google.maps.importLibrary=e=>i().then(()=>google.maps.importLibrary(e))}static notifyLoadingStatusListeners(){for(let e of this.listeners)e(this.loadingStatus)}}ca.loadingStatus=cn,ca.listeners=[];let co=["gmp_visgl_reactgooglemaps_v1.7.1"],cl=es.default.createContext(null),cu=e=>{let{children:t}=e,i=ct(e,["children"]),{mapInstances:n,addMapInstance:r,removeMapInstance:s,clearMapInstances:a}=function(){let[e,t]=(0,es.useState)({});return{mapInstances:e,addMapInstance:(e,i="default")=>{t(t=>Object.assign(Object.assign({},t),{[i]:e}))},removeMapInstance:(e="default")=>{t(t=>(t[e],ct(t,["symbol"==typeof e?e:e+""])))},clearMapInstances:()=>{t({})}}}(),{status:o,loadedLibraries:l,importLibrary:u}=function(e){let{onLoad:t,onError:i,apiKey:n,version:r,libraries:s=[]}=e,a=ct(e,["onLoad","onError","apiKey","version","libraries"]),[o,l]=(0,es.useState)(ca.loadingStatus),[u,c]=(0,es.useReducer)((e,t)=>e[t.name]?e:Object.assign(Object.assign({},e),{[t.name]:t.value}),{}),d=(0,es.useMemo)(()=>null==s?void 0:s.join(","),[s]),h=(0,es.useMemo)(()=>JSON.stringify(Object.assign({apiKey:n,version:r},a)),[n,r,a]),p=(0,es.useCallback)(e=>ci(this,void 0,void 0,function*(){var t;if(u[e])return u[e];if(!(null==(t=null==google?void 0:google.maps)?void 0:t.importLibrary))throw Error("[api-provider-internal] importLibrary was called before google.maps.importLibrary was defined.");let i=yield window.google.maps.importLibrary(e);return c({name:e,value:i}),i}),[u]);return(0,es.useEffect)(()=>{ci(this,void 0,void 0,function*(){try{let e=Object.assign({key:n},a);for(let t of(r&&(e.v=r),(null==d?void 0:d.length)>0&&(e.libraries=d),(void 0===e.channel||e.channel<0||e.channel>999)&&delete e.channel,void 0===e.solutionChannel?e.solutionChannel="GMP_visgl_rgmlibrary_v1_default":""===e.solutionChannel&&delete e.solutionChannel,yield ca.load(e,e=>l(e)),["core","maps",...s]))yield p(t);t&&t()}catch(e){i?i(e):console.error("<ApiProvider> failed to load the Google Maps JavaScript API",e)}})},[n,d,h]),{status:o,loadedLibraries:u,importLibrary:p}}(i),c=(0,es.useMemo)(()=>i.disableUsageAttribution?null:co,[i.disableUsageAttribution]),d=(0,es.useMemo)(()=>({mapInstances:n,addMapInstance:r,removeMapInstance:s,clearMapInstances:a,status:o,loadedLibraries:l,importLibrary:u,internalUsageAttributionIds:c}),[n,r,s,a,o,l,u,c]);return es.default.createElement(cl.Provider,{value:d},t)},cc={onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onContextmenu:"contextmenu",onDblclick:"dblclick",onDrag:"drag",onDragend:"dragend",onDragstart:"dragstart",onHeadingChanged:"heading_changed",onIdle:"idle",onIsFractionalZoomEnabledChanged:"isfractionalzoomenabled_changed",onMapCapabilitiesChanged:"mapcapabilities_changed",onMapTypeIdChanged:"maptypeid_changed",onMousemove:"mou
69semove",onMouseout:"mouseout",onMouseover:"mouseover",onProjectionChanged:"projection_changed",onRenderingTypeChanged:"renderingtype_changed",onTilesLoaded:"tilesloaded",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed",onCameraChanged:"bounds_changed"},cd=["bounds_changed","center_changed","heading_changed","tilt_changed","zoom_changed"],ch=["click","contextmenu","dblclick","mousemove","mouseout","mouseover"],cp=Object.keys(cc),cf=new Set(["backgroundColor","clickableIcons","controlSize","disableDefaultUI","disableDoubleClickZoom","draggable","draggableCursor","draggingCursor","fullscreenControl","fullscreenControlOptions","gestureHandling","headingInteractionEnabled","isFractionalZoomEnabled","keyboardShortcuts","mapTypeControl","mapTypeControlOptions","mapTypeId","maxZoom","minZoom","noClear","panControl","panControlOptions","restriction","rotateControl","rotateControlOptions","scaleControl","scaleControlOptions","scrollwheel","streetView","streetViewControl","streetViewControlOptions","styles","tiltInteractionEnabled","zoomControl","zoomControlOptions"]);function cm(){var e;return(null==(e=(0,es.useContext)(cl))?void 0:e.status)||cn}function cg(e){return e&&"object"==typeof e&&"lat"in e&&"lng"in e&&Number.isFinite(e.lat)&&Number.isFinite(e.lng)?e:e.toJSON()}let cv=()=>es.default.createElement("div",{style:{position:"absolute",top:0,left:0,bottom:0,right:0,zIndex:999,display:"flex",flexFlow:"column nowrap",textAlign:"center",justifyContent:"center",fontSize:".8rem",color:"rgba(0,0,0,0.6)",background:"#dddddd",padding:"1rem 1.5rem"}},es.default.createElement("h2",null,"Error: AuthFailure"),es.default.createElement("p",null,"A problem with your API key prevents the map from rendering correctly. Please make sure the value of the ",es.default.createElement("code",null,"APIProvider.apiKey")," prop is correct. Check the error-message in the console for further details."));class cy{static has(e){return this.entries[e]&&this.entries[e].length>0}static pop(e){return this.entries[e]&&this.entries[e].pop()||null}static push(e,t){this.entries[e]||(this.entries[e]=[]),this.entries[e].push(t)}}cy.entries={};let cb=es.default.createContext(null),cx=e=>{let t,i,n,r,s,a,{children:o,id:l,className:u,style:c}=e,d=(0,es.useContext)(cl),h=cm();if(!d)throw Error("<Map> can only be used inside an <ApiProvider> component.");let[p,f,m]=function(e,t){let i,n,r=cm()===cr,[s,a]=(0,es.useState)(null),[o,l]=function(){let[e,t]=(0,es.useState)(null);return[e,(0,es.useCallback)(e=>t(e),[t])]}(),u=(i=function(){let[,e]=(0,es.useReducer)(e=>e+1,0);return e}(),n=(0,es.useRef)({center:{lat:0,lng:0},heading:0,tilt:0,zoom:0}),(0,es.useEffect)(()=>{if(!s)return;let e=google.maps.event.addListener(s,"bounds_changed",()=>{let e,t,r,a,o;e=s.getCenter(),t=s.getZoom(),r=s.getHeading()||0,a=s.getTilt()||0,o=s.getBounds(),e&&o&&Number.isFinite(t)||console.warn("[useTrackedCameraState] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),Object.assign(n.current,{center:(null==e?void 0:e.toJSON())||{lat:0,lng:0},zoom:t||0,heading:r,tilt:a}),i()});return()=>e.remove()},[s,i]),n),{id:c,defaultBounds:d,defaultCenter:h,defaultZoom:p,defaultHeading:f,defaultTilt:m,reuseMaps:g,renderingType:v,colorScheme:y}=e,b=ct(e,["id","defaultBounds","defaultCenter","defaultZoom","defaultHeading","defaultTilt","reuseMaps","renderingType","colorScheme"]),x=void 0!==e.zoom||void 0!==e.defaultZoom,w=void 0!==e.center||void 0!==e.defaultCenter;d||x&&w||console.warn("<Map> component is missing configuration. You have to provide zoom and center (via the `zoom`/`defaultZoom` and `center`/`defaultCenter` props) or specify the region to show using `defaultBounds`. See https://visgl.github.io/react-google-maps/docs/api-reference/components/map#required"),!b.center&&h&&(b.center=h),!b.zoom&&Number.isFinite(p)&&(b.zoom=p),!b.heading&&Number.isFinite(f)&&(b.heading=f),!b.tilt&&Number.isFinite(m)&&(b.tilt=m);let S=b.internalUsageAttributionIds;for(let e of(null==S?b.internalUsageAttributionIds=t.internalUsageAttributionIds:b.internalUsageAttributionIds=[...t.internalUsageAttributionIds||[],...S],Object.keys(b)))void 0===b[e]&&delete b[e];let E=(0,es.useRef)(void 0);return(0,es.useEffect)(()=>{let i,n;if(!o||!r)return;let{addMapInstance:s,removeMapInstance:l}=t,{mapId:h}=e,p=`${h||"default"}:${v||"default"}:${y||"LIGHT"}`;if(g&&cy.has(p)?(i=(n=cy.pop(p)).getDiv(),o.appendChild(i),n.setOptions(b),setTimeout(()=>n.setCenter(n.getCenter()),0)):((i=document.createElement("div")).style.height="100%",o.appendChild(i),n=new google.maps.Map(i,Object.assign(Object.assign(Object.assign({},b),v?{renderingType:v}:{}),y?{colorScheme:y}:{}))),a(n),s(n,c),d){let{padding:e}=d,t=ct(d,["padding"]);n.fitBounds(t,e)}else x&&w||n.fitBounds({east:180,west:-180,south:-90,north:90});if(E.current){let{mapId:e,cameraState:t}=E.current;e!==h&&n.setOptions(t)}return()=>{E.current={mapId:h,cameraState:u.current},i.remove(),g?cy.push(p,n):google.maps.event.clearInstanceListeners(n),a(null),l(c)}},[o,r,c,e.mapId,e.renderingType,e.colorScheme]),[s,l,u]}(e,d);for(let o of(t=e.center?cg(e.center):null,i=null,n=null,t&&Number.isFinite(t.lat)&&Number.isFinite(t.lng)&&(i=t.lat,n=t.lng),r=Number.isFinite(e.zoom)?e.zoom:null,s=Number.isFinite(e.heading)?e.heading:null,a=Number.isFinite(e.tilt)?e.tilt:null,(0,es.useLayoutEffect)(()=>
69{if(!p)return;let e={},t=!1;null!==i&&null!==n&&(m.current.center.lat!==i||m.current.center.lng!==n)&&(e.center={lat:i,lng:n},t=!0),null!==r&&m.current.zoom!==r&&(e.zoom=r,t=!0),null!==s&&m.current.heading!==s&&(e.heading=s,t=!0),null!==a&&m.current.tilt!==a&&(e.tilt=a,t=!0),t&&p.moveCamera(e)}),cp)){let t=e[o],i=cc[o];(0,es.useEffect)(()=>{if(!p||!t)return;let e=google.maps.event.addListener(p,i,e=>{t(function(e,t,i){var n;let r={type:e,map:t,detail:{},stoppable:!1,stop:()=>{}};if(cd.includes(e)){let e=t.getCenter(),i=t.getZoom(),n=t.getHeading()||0,s=t.getTilt()||0,a=t.getBounds();return e&&a&&Number.isFinite(i)||console.warn("[createEvent] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),r.detail={center:(null==e?void 0:e.toJSON())||{lat:0,lng:0},zoom:i||0,heading:n,tilt:s,bounds:(null==a?void 0:a.toJSON())||{north:90,east:180,south:-90,west:-180}},r}if(ch.includes(e)){if(!i)throw Error("[createEvent] mouse events must provide a srcEvent");return r.domEvent=i.domEvent,r.stoppable=!0,r.stop=()=>i.stop(),r.detail={latLng:(null==(n=i.latLng)?void 0:n.toJSON())||null,placeId:i.placeId},r}return r}(i,p,e))});return()=>e.remove()},[p,i,t])}!function(e,t){var i,n,r;let s,a,o={};for(let e of Object.keys(t))cf.has(e)&&(o[e]=t[e]);i=()=>{e&&e.setOptions(o)},n=[o],r=ce.default,(0,es.useEffect)(i,[(s=(0,es.useRef)(void 0),(0,es.useEffect)(()=>{s.current=n}),a=s.current,(0,es.useMemo)(()=>a&&r(a,n)?a:n,[n,a,r]))])}(p,e);let g=function(e,t){let{viewport:i,viewState:n}=t;return(0,es.useLayoutEffect)(()=>{if(!e||!n)return;let{latitude:t,longitude:i,bearing:r,pitch:s,zoom:a}=n;e.moveCamera({center:{lat:t,lng:i},heading:r,tilt:s,zoom:a+1})},[e,n]),!!i}(p,e),v=!!e.controlled;(0,es.useEffect)(()=>{if(p)return g&&p.setOptions({disableDefaultUI:!0}),(g||v)&&p.setOptions({gestureHandling:"none",keyboardShortcuts:!1}),()=>{p.setOptions({gestureHandling:e.gestureHandling,keyboardShortcuts:e.keyboardShortcuts})}},[p,g,v,e.gestureHandling,e.keyboardShortcuts]);let y=e.center?cg(e.center):null,b=null,x=null;y&&Number.isFinite(y.lat)&&Number.isFinite(y.lng)&&(b=y.lat,x=y.lng);let w=(0,es.useMemo)(()=>{var t,i,n;return{center:{lat:null!=b?b:0,lng:null!=x?x:0},zoom:null!=(t=e.zoom)?t:0,heading:null!=(i=e.heading)?i:0,tilt:null!=(n=e.tilt)?n:0}},[b,x,e.zoom,e.heading,e.tilt]);(0,es.useLayoutEffect)(()=>{if(!p||!v)return;p.moveCamera(w);let e=p.addListener("bounds_changed",()=>{p.moveCamera(w)});return()=>e.remove()},[p,v,w]);let S=(0,es.useMemo)(()=>Object.assign({width:"100%",height:"100%",position:"relative",zIndex:g?-1:0},c),[c,g]),E=(0,es.useMemo)(()=>({map:p}),[p]);return h===cs?es.default.createElement("div",{style:Object.assign({position:"relative"},u?{}:S),className:u},es.default.createElement(cv,null)):es.default.createElement("div",Object.assign({ref:f,"data-testid":"map",style:u?void 0:S,className:u},l?{id:l}:{}),p?es.default.createElement(cb.Provider,{value:E},o):null)};cx.deckGLViewProps=!0;let cw=new Set,cS=(e=null)=>{let t=(0,es.useContext)(cl),{map:i}=(0,es.useContext)(cb)||{};if(null===t)return!function(...e){let t=JSON.stringify(e);cw.has(t)||(cw.add(t),console.error(...e))}("useMap(): failed to retrieve APIProviderContext. Make sure that the <APIProvider> component exists and that the component you are calling `useMap()` from is a sibling of the <APIProvider>."),null;let{mapInstances:n}=t;return null!==e?n[e]||null:i||n.default||null};function cE(e,t,i){(0,es.useEffect)(()=>{if(!e||!t||!i)return;let n=google.maps.event.addListener(e,t,i);return()=>n.remove()},[e,t,i])}function cT(e,t,i){(0,es.useEffect)(()=>{e&&(e[t]=i)},[e,t,i])}function ck(e,t,i){(0,es.useEffect)(()=>{if(e&&t&&i)return e.addEventListener(t,i),()=>e.removeEventListener(t,i)},[e,t,i])}let cC=new class{constructor(){this.renderedStyles=new Set,this.styleElement=null}getStyleElement(){return this.styleElement||(this.styleElement=document.createElement("style"),this.styleElement.setAttribute("data-rgm-anchor-styles",""),document.head.appendChild(this.styleElement)),this.styleElement}addAdvancedMarkerPointerEventsOverwrite(){if(this.renderedStyles.has("marker-pointer-events"))return;let e=this.getStyleElement();e.textContent+=` 70 gmp-advanced-marker[data-origin='rgm'] { 71 pointer-events: none !important; 72 } 73 `,this.renderedStyles.add("marker-pointer-events")}cleanup(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null,this.renderedStyles.clear())}},cP=es.default.createContext(null),cA=["50%","100%"];
73function cI(e){return e.nodeType===Node.ELEMENT_NODE}(0,es.forwardRef)((e,t)=>{let{children:i,style:n,className:r,anchorPoint:s}=e,[a,o]=function(e){var t,i,n,r,s,a;let o,l,[u,c]=(0,es.useState)(null),[d,h]=(0,es.useState)(null),p=cS(),f=(t="marker",o=cm()===cr,l=(0,es.useContext)(cl),(0,es.useEffect)(()=>{o&&l&&l.importLibrary(t)},[o,l,t]),(null==l?void 0:l.loadedLibraries[t])||null),{children:m,onClick:g,className:v,onMouseEnter:y,onMouseLeave:b,onDrag:x,onDragStart:w,onDragEnd:S,collisionBehavior:E,clickable:T,draggable:k,position:C,title:P,zIndex:A,anchorPoint:I,anchorLeft:M,anchorTop:L}=e,N=es.Children.count(m);return(0,es.useEffect)(()=>{if(!p||!f)return;let e=new f.AdvancedMarkerElement;e.map=p,c(e);let t=null;return N>0&&(e.content=t=document.createElement("div"),h(t)),()=>{e.map=null,null==t||t.remove(),c(null),h(null)}},[p,f,N]),(0,es.useEffect)(()=>{(null==u?void 0:u.content)&&cI(u.content)&&!(N>0)&&(u.content.className=null!=v?v:"")},[u,v,N]),i=u,n=I,r=M,s=L,a=N>0,(0,es.useEffect)(()=>{if(!i||!a)return;let e=function(){var e;if(!(null==(e=null==google?void 0:google.maps)?void 0:e.version))return;let t=google.maps.version.split("."),i=parseInt(t[0],10),n=parseInt(t[1],10);return i>3||3===i&&n>=62}(),t=i.content;if(t&&cI(t)){if(void 0!==r||void 0!==s){e||console.warn(`AdvancedMarker: The anchorLeft and anchorTop props are only supported in Google Maps API version 3.62 and above. The current version is ${google.maps.version}.`),i.anchorLeft=r,i.anchorTop=s,void 0!==n&&console.warn("AdvancedMarker: the anchorPoint prop is ignored when anchorLeft and/or anchorTop are set.");return}if(void 0!==n){let[r,s]=null!=n?n:cA,a=`calc(-1 * ${r})`,o=`calc(-1 * ${s})`;e?(i.anchorLeft=a,i.anchorTop=o,t.style.transform=""):(t.style.transform=`translate(50%, 100%) translate(${a}, ${o})`,i.dataset.origin="rgm",cC.addAdvancedMarkerPointerEventsOverwrite())}}},[i,n,r,s,a]),cT(u,"position",C),cT(u,"title",null!=P?P:""),cT(u,"zIndex",A),cT(u,"collisionBehavior",E),(0,es.useEffect)(()=>{u&&(void 0!==k?u.gmpDraggable=k:x||w||S?u.gmpDraggable=!0:u.gmpDraggable=!1)},[u,k,x,S,w]),(0,es.useEffect)(()=>{if(!u)return;let e=void 0!==T||!!g||!!y||!!b;u.gmpClickable=e,e&&(null==u?void 0:u.content)&&cI(u.content)&&(u.content.style.pointerEvents="all",g&&(u.content.style.cursor="pointer"))},[u,T,g,y,b]),cE(u,"click",g),cE(u,"drag",x),cE(u,"dragstart",w),cE(u,"dragend",S),ck(null==u?void 0:u.element,"mouseenter",y),ck(null==u?void 0:u.element,"mouseleave",b),[u,d]}(e),l=(0,es.useMemo)(()=>a?{marker:a}:null,[a]);return((0,es.useImperativeHandle)(t,()=>a,[a]),o)?es.default.createElement(cP.Provider,{value:l},(0,ie.createPortal)(es.default.createElement(cM,{anchorPoint:s,styles:n,className:r},i),o)):null}).displayName="AdvancedMarker";let cM=({children:e,styles:t,className:i})=>es.default.createElement("div",{className:i,style:t},e);(0,es.forwardRef)((e,t)=>{let i=function(e){let[t,i]=(0,es.useState)(null),n=cS(),{onClick:r,onDrag:s,onDragStart:a,onDragEnd:o,onMouseOver:l,onMouseOut:u}=e,c=ct(e,["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut"]),{position:d,draggable:h}=c;return(0,es.useEffect)(()=>{if(!n){void 0===n&&console.error("<Marker> has to be inside a Map component.");return}let e=new google.maps.Marker(c);return e.setMap(n),i(e),()=>{e.setMap(null),i(null)}},[n]),(0,es.useEffect)(()=>{if(!t)return;let e=google.maps.event;return r&&e.addListener(t,"click",r),s&&e.addListener(t,"drag",s),a&&e.addListener(t,"dragstart",a),o&&e.addListener(t,"dragend",o),l&&e.addListener(t,"mouseover",l),u&&e.addListener(t,"mouseout",u),t.setDraggable(!!h),()=>{e.clearInstanceListeners(t)}},[t,h,r,s,a,o,l,u]),(0,es.useEffect)(()=>{t&&t.setOptions(c)},[t,c]),(0,es.useEffect)(()=>{!h&&d&&t&&t.setPosition(d)},[h,d,t]),t}(e);return(0,es.useImperativeHandle)(t,()=>i,[i]),es.default.createElement(es.default.Fragment,null)}).displayName="Marker";var cL=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]]);return i};(0,es.forwardRef)(function(e,t){var i,n,r,s,a,o,l=(n=e.radius,r=e.center,s=cL(e,["radius","center"]),a=(0,es.useRef)(new google.maps.Circle).current,(0,es.useEffect)(function(){r&&!function(e,t){if(!e||!t)return!1;let i=cg(e),n=cg(t);return i.lat===n.lat&&i.lng===n.lng}(r,a.getCenter())&&a.setCenter(r)},[r]),(0,es.useEffect)(function(){null!=n&&n!==a.getRadius()&&a.setRadius(1e3*n)},[n]),(0,es.useEffect)(function(){a.setOptions(s)},[JSON.stringify(s)]),o=null==(i=(0,es.useContext)(cb))?void 0:i.map,(0,es.useEffect)(function(){return o?(a.setMap(o),function(){a.setMap(null)}):(void 0===o&&console.error("<LocationCircle> has to be inside a Map component."),function(){a.setMap(null)})}
73,[o]),a);return(0,es.useImperativeHandle)(t,function(){return{setRadius:function(e){l.setRadius(1e3*e)},setCenter:function(e){l.setCenter(e)},getCircle:function(){return l}}}),null});let{getOwnPropertyNames:cN,getOwnPropertySymbols:cO}=Object,{hasOwnProperty:cj}=Object.prototype;function c_(e,t){return function(i,n,r){return e(i,n,r)&&t(i,n,r)}}function cR(e){return function(t,i,n){if(!t||!i||"object"!=typeof t||"object"!=typeof i)return e(t,i,n);let{cache:r}=n,s=r.get(t),a=r.get(i);if(s&&a)return s===i&&a===t;r.set(t,i),r.set(i,t);let o=e(t,i,n);return r.delete(t),r.delete(i),o}}function cD(e){return cN(e).concat(cO(e))}let cB=Object.hasOwn||((e,t)=>cj.call(e,t));function cH(e,t){return e===t||!e&&!t&&e!=e&&t!=t}let{getOwnPropertyDescriptor:cV,keys:cF}=Object;function cz(e,t){return e.byteLength===t.byteLength&&c0(new Uint8Array(e),new Uint8Array(t))}function cU(e,t,i){let n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!i.equals(e[n],t[n],n,n,e,t,i))return!1;return!0}function cG(e,t){return e.byteLength===t.byteLength&&c0(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function c$(e,t){return cH(e.getTime(),t.getTime())}function cW(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function cq(e,t){return e===t}function cX(e,t,i){let n,r,s=e.size;if(s!==t.size)return!1;if(!s)return!0;let a=Array(s),o=e.entries(),l=0;for(;(n=o.next())&&!n.done;){let s=t.entries(),o=!1,u=0;for(;(r=s.next())&&!r.done;){if(a[u]){u++;continue}let s=n.value,c=r.value;if(i.equals(s[0],c[0],l,u,e,t,i)&&i.equals(s[1],c[1],s[0],c[0],e,t,i)){o=a[u]=!0;break}u++}if(!o)return!1;l++}return!0}function cY(e,t,i){let n=cF(e),r=n.length;if(cF(t).length!==r)return!1;for(;r-- >0;)if(!c2(e,t,i,n[r]))return!1;return!0}function cK(e,t,i){let n,r,s,a=cD(e),o=a.length;if(cD(t).length!==o)return!1;for(;o-- >0;)if(!c2(e,t,i,n=a[o])||(r=cV(e,n),s=cV(t,n),(r||s)&&(!r||!s||r.configurable!==s.configurable||r.enumerable!==s.enumerable||r.writable!==s.writable)))return!1;return!0}function cZ(e,t){return cH(e.valueOf(),t.valueOf())}function cQ(e,t){return e.source===t.source&&e.flags===t.flags}function cJ(e,t,i){let n,r,s=e.size;if(s!==t.size)return!1;if(!s)return!0;let a=Array(s),o=e.values();for(;(n=o.next())&&!n.done;){let s=t.values(),o=!1,l=0;for(;(r=s.next())&&!r.done;){if(!a[l]&&i.equals(n.value,r.value,n.value,r.value,e,t,i)){o=a[l]=!0;break}l++}if(!o)return!1}return!0}function c0(e,t){let i=e.byteLength;if(t.byteLength!==i||e.byteOffset!==t.byteOffset)return!1;for(;i-- >0;)if(e[i]!==t[i])return!1;return!0}function c1(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function c2(e,t,i,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!e.$$typeof||!!t.$$typeof)||cB(t,n)&&i.equals(e[n],t[n],n,n,e,t,i)}let c3={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},c5=Object.prototype.toString;function c6(e={}){let{circular:t=!1,createInternalComparator:i,createState:n,strict:r=!1}=e,s=function({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:i,areDatesEqual:n,areErrorsEqual:r,areFunctionsEqual:s,areMapsEqual:a,areNumbersEqual:o,areObjectsEqual:l,arePrimitiveWrappersEqual:u,areRegExpsEqual:c,areSetsEqual:d,areTypedArraysEqual:h,areUrlsEqual:p,unknownTagComparators:f}){return function(m,g,v){if(m===g)return!0;if(null==m||null==g)return!1;let y=typeof m;if(y!==typeof g)return!1;if("object"!==y)return"number"===y?o(m,g,v):"function"===y&&s(m,g,v);let b=m.constructor;if(b!==g.constructor)return!1;if(b===Object)return l(m,g,v);if(Array.isArray(m))return t(m,g,v);if(b===Date)return n(m,g,v);if(b===RegExp)return c(m,g,v);if(b===Map)return a(m,g,v);if(b===Set)return d(m,g,v);let x=c5.call(m);if("[object Date]"===x)return n(m,g,v);if("[object RegExp]"===x)return c(m,g,v);if("[object Map]"===x)return a(m,g,v);if("[object Set]"===x)return d(m,g,v);if("[object Object]"===x)return"function"!=typeof m.then&&"function"!=typeof g.then&&l(m,g,v);if("[object URL]"===x)return p(m,g,v);if("[object Error]"===x)return r(m,g,v);if("[object Arguments]"===x)return l(m,g,v);if(c3[x])return h(m,g,v);if("[object ArrayBuffer]"===x)return e(m,g,v);if("[object DataView]"===x)return i(m,g,v);if("[object Boolean]"===x||"[object Number]"===x||"[object String]"===x)return u(m,g,v);if(f){let e=f[x];if(!e){let t=null!=m?m[Symbol.toStringTag]:void 0;t&&(e=f[t])}if(e)return e(m,g,v)}return!1}}(function({circular:e,createCustomConfig:t,strict:i}){let n={areArrayBuffersEqual:cz,areArraysEqual:i?cK:cU,areDataViewsEqual:cG,areDatesEqual:c$,areErrorsEqual:cW,areFunctionsEqual:cq,areMapsEqual:i?c_(cX,cK):cX,areNumbersEqual:cH,areObjectsEqual:i?cK:cY,arePrimitiveWrappersEqual:cZ,areRegExpsEqual:cQ,areSetsEqual:i?c_(cJ,cK):cJ,areTypedArraysEqual:i?c_(c0,cK):c0,areUrlsEqual:c1,unknownTagComparators:void 0};if(t&&(n=Object.assign({},n,t(n))),e){let e=cR(n.areArraysEqual),t=cR(n.areMapsEqual),i=cR(n.areObjectsEqual),r=cR(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:i,areSetsEqual:r})}return n}(e)),a=i?i(s):function(e,t,i,n,r,a,o){return s(e,t,o)};return function({circular:e,comparator:t,createState:i,equals:n,strict:r}){if(i)return function(s,a){let{cache:o=e?new WeakMap:void 0,meta:l}=i();return t(s,a,{cache:o,equals:n,meta:l,strict:r})};if(e)return function(e,i){return t(e,i,{cache:new WeakMap,equals:n,meta:void 0,strict:r})};let s={cache:void 0,equals:n,meta:void 0,strict:r};return function(e,i){return t(e,i,s)}}
73({circular:t,comparator:s,createState:n,equals:a,strict:r})}c6(),c6({strict:!0}),c6({circular:!0}),c6({circular:!0,strict:!0}),c6({createInternalComparator:()=>cH}),c6({strict:!0,createInternalComparator:()=>cH}),c6({circular:!0,createInternalComparator:()=>cH}),c6({circular:!0,createInternalComparator:()=>cH,strict:!0}),Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Math.fround||new Float32Array(1),"function"==typeof SuppressedError&&SuppressedError,(M=ee||(ee={})).CLUSTERING_BEGIN="clusteringbegin",M.CLUSTERING_END="clusteringend",M.CLUSTER_CLICK="click",M.GMP_CLICK="gmp-click";var c8=function(){return(c8=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},c4=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]]);return i},c9=(0,es.forwardRef)(function(e,t){var i=e.mapId,n=e.children,r=e.id,s=e.tailwindString,a=e.lat,o=e.lng,l=e.defaultZoom,u=e.disableDefaultUI,c=e.gestureHandling,d=void 0===c?J.COOPERATIVE:c,h=e.mapType,p=void 0===h?K.TERRAIN:h,f=e.restriction,m=e.renderingType,g=e.reuseMaps,v=e.styles,y=cS();return(0,es.useImperativeHandle)(t,function(){return{setZoom:function(e){y&&y.setZoom(e)},getZoom:function(){return y?y.getZoom():void 0},setCenter:function(e){y&&y.panTo(e)}}},[y]),(0,et.jsx)(cx,{renderingType:void 0===m?"RASTER":m,id:r,restriction:f,mapT
73ypeId:p,mapId:i,className:"h-[400px] w-full md:h-[600px] ".concat(void 0===s?"":s),defaultCenter:{lat:void 0===a?52.1:a,lng:void 0===o?5.2:o},defaultZoom:void 0===l?7:l,gestureHandling:d,reuseMaps:void 0!==g&&g,disableDefaultUI:void 0!==u&&u,styles:void 0===v?[]:v,children:n})});(0,es.forwardRef)(function(e,t){var i=e.language,n=c4(e,["language"]);return(0,et.jsx)(cu,{apiKey:n.apiKey,language:void 0===i?"nl":i,children:(0,et.jsx)(c9,c8({},n,{ref:t}))})})},57057,e=>{"use strict";var t=e.i(64529);e.s(["Button",()=>t.default])},73863,e=>{"use strict";var t=e.i(1043);e.s(["Flex",()=>t.default])},3316,(e,t,i)=>{"use strict";function n(){return(n=Object.assign.bind()).apply(this,arguments)}Object.defineProperty(i,"__esModule",{value:!0}),i.extends=n},31471,(e,t,i)=>{t.exports=e.r(50568)},84873,(e,t,i)=>{"use strict";var n=e.r(49521),r=e.r(49929);function s(){let e=n.useContext(r.IntlContext);if(!e)throw Error(void 0);return e}i.useIntlContext=s,i.useLocale=function(){return s().locale}},98435,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(84873);e.r(49521),e.r(49929),i.useLocale=n.useLocale},43020,(e,t,i)=>{"use strict";t.exports=e.r(98435)},56454,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.COOKIE_LOCALE_NAME="NEXT_LOCALE",i.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",i.LOCALE_SEGMENT_NAME="locale"},77018,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(31471),r=e.r(43020),s=e.r(56454);i.default=function(){let e=n.useParams();return"string"==typeof(null==e?void 0:e[s.LOCALE_SEGMENT_NAME])?e[s.LOCALE_SEGMENT_NAME]:r.useLocale()}},92486,(e,t,i)=>{"use strict";function n(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}function r(e){return"object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e)}function s(e,t){let i;return"string"==typeof e?i=a(t,e):(i={...e},e.pathname&&(i.pathname=a(t,e.pathname))),i}function a(e,t){let i="/"+e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),i+=t}function o(e,t){let i="/".concat(e);return t===i||t.startsWith("".concat(i,"/"))}function l(e){let t=e.replace(/\[([^\]]+)\]/g,e=>e.startsWith("[...")||e.startsWith("[[...")?"(.*)":"([^/]+)").replaceAll("(.*)]","(.*)");return new RegExp("^".concat(t,"$"))}Object.defineProperty(i,"__esModule",{value:!0}),i.hasPathnamePrefixed=o,i.isLocalHref=r,i.isRelativeHref=n,i.localizeHref=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=arguments.length>3?arguments[3]:void 0;if(!r(e)||n(e))return e;let l=t!==i;return(null==t||o(t,a)||l)&&null!=t?s(e,t):e},i.localizePathname=a,i.matchesPathname=function(e,t){return l(e).test(t)},i.prefixHref=s,i.templateToRegex=l,i.unlocalizePathname=function(e,t){return e.replace(new RegExp("^/".concat(t)),"")||"/"}},50808,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(3316),r=e.r(42908),s=e.r(31471),a=e.r(49521),o=e.r(77018),l=e.r(92486);function u(e){return e&&e.__esModule?e:{default:e}}var c=u(r),d=u(a);i.default=a.forwardRef(function(e,t){let{href:i,locale:r,prefetch:u,...h}=e,p=s.usePathname(),f=o.default(),m=r!==f,[g,v]=a.useState(()=>l.isLocalHref(i)&&r?l.prefixHref(i,r):i);return a.useEffect(()=>{p&&v(l.localizeHref(i,r,f,null!=p?p:void 0))},[f,i,r,p]),m&&(u=!1),d.default.createElement(c.default,n.extends({ref:t,href:g,prefetch:u},h))})},35725,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(3316),r=e.r(49521),s=e.r(77018),a=e.r(50808),o=r&&r.__esModule?r:{default:r};let l=r.forwardRef(function(e,t){let{locale:i,...r}=e,l=s.default();return o.default.createElement(a.default,n.extends({ref:t,locale:i||l},r))});l.displayName="Link",i.default=l},27002,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(49521),r=e.r(35725),s=n&&n.__esModule?n:{default:n};i.default=function(e){return s.default.createElement(r.default,e)}},56811,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(27002);let r=n.default;i.Link=n.default,i.LocalizedLink=r},78338,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(3316),r=e.r(67821),s=e.r(49521),a=e.r(10327),o=s&&s.__esModule?s:{default:s};i.default=function(e){let t,{children:i,locale:s,now:l,...u}=e;try{t=r.useRouter()}catch(e){}if(!s&&t&&(s=t.locale),!s)throw Error(void 0);return o.default.createElement(a.IntlProvider,n.extends({locale:s,now:l},u),i)}},89128,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(31471),r=e.r(49521),s=e.r(77018),a=e.r(92486);i.default=function(){let e=n.useRouter(),t=s.default();return r.useMemo(()=>{function i(e,i){return a.localizeHref(e,i||t,t,window.location.pathname)}return{...e,push(t,n){let{locale:r,...s}=n||{},a=[i(t,r)];return Object.keys(s).length>0&&a.push(s),e.push(...a)},replace(t,n){let{locale:r,...s}=n||{},a=[i(t,r)];return Object.keys(s).length>0&&a.push(s),e.replace(...a)},prefetch(t,n){let{locale:r,...s}=n||{},a=[i(t,r)];return Object.keys(s).length>0&&a.push(s),e.prefetch(...a)}}},[t,e])}},1607,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(89128);
73i.default=function(){return n.default()}},65648,e=>{"use strict";var t,i,n,r,s,a,o,l,u,c,d,h,p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)};function f(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var m=function(){return(m=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function g(e,t,i){if(i||2==arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function v(e){return e.type===o.literal}function y(e){return e.type===o.number}function b(e){return e.type===o.date}function x(e){return e.type===o.time}function w(e){return e.type===o.select}function S(e){return e.type===o.plural}function E(e){return e.type===o.tag}function T(e){return!!(e&&"object"==typeof e&&e.type===l.number)}function k(e){return!!(e&&"object"==typeof e&&e.type===l.dateTime)}"function"==typeof SuppressedError&&SuppressedError,(t=a||(a={}))[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=o||(o={}))[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(n=l||(l={}))[n.number=0]="number",n[n.dateTime=1]="dateTime";var C=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,P=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,A=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,I=/^(@+)?(\+|#+)?[rs]?$/g,M=/(\*)(0+)|(#+)(0+)|(0+)/g,L=/^(0+)$/;function N(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(I,function(e,i,n){return"string"!=typeof n?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===n?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof n?n.length:0)),""}),t}function O(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function j(e){var t=O(e);return t||{}}var _=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,R={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]},D=new RegExp("^".concat(C.source,"*")),B=new RegExp("".concat(C.source,"*$"));function H(e,t){return{start:e,end:t}}var V=!!String.prototype.startsWith,F=!!String.fromCodePoint,z=!!Object.fromEntries,U=!!String.prototype.codePointAt,G=!!String.prototype.trimStart,$=!!String.prototype.trimEnd,W=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&0x1fffffffffffff>=Math.abs(e)},q=!0;try{q=(null==(u=ee("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:u[0])==="a"}catch(e){q=!1}var X=V?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Y=F?String.fromCodePoint:function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var n="",r=t.length,s=0;r>s;){if((e=t[s++])>1114111)throw RangeError(e+" is not a valid code point");n+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return n},K=z?Object.fromEntries:function(e){for(var t={},i=0;i<e.length;i++){var n=e[i],r=n[0],s=n[1];t[r]=s}return t},Z=U?function(e,t){return e.codePointAt(t)}:function(e,t){var i,n=e.length;if(!(t<0)&&!(t>=n)){var r=e.charCodeAt(t);return r<55296||r>56319||t+1===n||(i=e.charCodeAt(t+1))<56320||i>57343?r:(r-55296<<10)+(i-56320)+65536}},Q=G?function(e){return e.trimStart()}:function(e){return e.replace(D,"")},J=$?function(e){return e.trimEnd()}:function(e){return e.replace(B,"")};function ee(e,t){return new RegExp(e,t)}if(q){var et=ee("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");c=function(e,t){var i;return et.lastIndex=t,null!=(i=et.exec(e)[1])?i:""}}else c=function(e,t){for(var i=[];;){var n,r=Z(e,t);if(void 0===r||er(r)||(n=r)>=33&&n<=35||36===n||n>=37&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||n>=162&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||n>=8208&&n<=8213||n>=8214&&n<=8215||8216===n||8217===n||8218===n||n>=8219&&n<=8220||8221===n||8222===n||8223===n||n>=8224&&n<=8231||n>=8240&&n<=8248||8249===n||8250===n||n>=8251&&n<=8254||n>=8257&&n<=8259||8260===n||8261===n||8262===n||n>=8263&&n<=8273||8274===n||8275===n||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||8608===n||n>=8609&&n<=8610||8611===n||n>=8612&&n<=8613||8614===n||n>=8615&&n<=8621||8622===n||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||8658===n||8659===n||8660===n||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||8968===n||8969===n||8970===n||8971===n||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||9001===n||9002===n||n>=9003&&n<=9083||9084===n||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||9655===n||n>
73=9656&&n<=9664||9665===n||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||9839===n||n>=9840&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||n>=10132&&n<=10175||n>=10176&&n<=10180||10181===n||10182===n||n>=10183&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||n>=10649&&n<=10711||10712===n||10713===n||10714===n||10715===n||n>=10716&&n<=10747||10748===n||10749===n||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||11158===n||n>=11159&&n<=11263||n>=11776&&n<=11777||11778===n||11779===n||11780===n||11781===n||n>=11782&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||n>=11790&&n<=11798||11799===n||n>=11800&&n<=11801||11802===n||11803===n||11804===n||11805===n||n>=11806&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||n>=11818&&n<=11822||11823===n||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||11840===n||11841===n||11842===n||n>=11843&&n<=11855||n>=11856&&n<=11857||11858===n||n>=11859&&n<=11903||n>=12289&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||n>=12306&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||n>=12318&&n<=12319||12320===n||12336===n||64830===n||64831===n||n>=65093&&n<=65094)break;i.push(r),t+=r>=65536?2:1}return Y.apply(void 0,i)};var ei=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r=this.char();if(123===r){var s=this.parseArgument(e,i);if(s.err)return s;n.push(s.val)}else if(125===r&&e>0)break;else if(35===r&&("plural"===t||"selectordinal"===t)){var l=this.clonePosition();this.bump(),n.push({type:o.pound,location:H(l,this.clonePosition())})}else if(60!==r||this.ignoreTag||47!==this.peek())if(60===r&&!this.ignoreTag&&en(this.peek()||0)){var s=this.parseTag(e,t);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(e,t);if(s.err)return s;n.push(s.val)}else if(!i)return this.error(a.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()));else break}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.literal,value:"<".concat(n,"/>"),location:H(i,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(a.INVALID_TAG,H(i,this.clonePosition()));var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var s=r.val,l=this.clonePosition();if(!this.bumpIf("</"))return this.error(a.UNCLOSED_TAG,H(i,this.clonePosition()));if(this.isEOF()||!en(this.char()))return this.error(a.INVALID_TAG,H(l,this.clonePosition()));var u=this.clonePosition();return n!==this.parseTagName()?this.error(a.UNMATCHED_CLOSING_TAG,H(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:o.tag,value:n,children:s,location:H(i,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,H(l,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r){n+=r;
73continue}var s=this.tryParseUnquoted(e,t);if(s){n+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){n+=a;continue}break}var l=H(i,this.clonePosition());return{val:{type:o.literal,value:n,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(en(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(i);this.bump()}return Y.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),Y(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,H(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(a.EMPTY_ARGUMENT,H(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(a.MALFORMED_ARGUMENT,H(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,H(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.argument,value:n,location:H(i,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,H(i,this.clonePosition()));return this.parseArgumentOptions(e,t,n,i);default:return this.error(a.MALFORMED_ARGUMENT,H(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=c(this.message,t),n=t+i.length;return this.bumpTo(n),{value:i,location:H(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,n){var r,s=this.clonePosition(),u=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(u){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,H(s,c));case"number":case"date":case"time":this.bumpSpace();var d=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var f=J(p.val);if(0===f.length)return this.error(a.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));d={style:f,styleLocation:H(h,this.clonePosition())}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var v=H(n,this.clonePosition());if(d&&X(null==d?void 0:d.style,"::",0)){var y=Q(d.style.slice(2));if("number"===u){var p=this.parseNumberSkeletonFromString(y,d.styleLocation);if(p.err)return p;return{val:{type:o.number,value:i,location:v,style:p.val},err:null}}if(0===y.length)return this.error(a.EXPECT_DATE_TIME_SKELETON,v);var b,x=y;this.locale&&(x=function(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var s=0;n+1<e.length&&e.charAt(n+1)===r;)s++,n++;var a=1+(1&s),o=s<2?1:3+(s>>1),l=function(e){var t,i=e.hourCycle;if(void 0===i&&e.hourCycles&&e.hourCycles.length&&(i=e.hourCycles[0]),i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n=e.language;return"root"!==n&&(t=e.maximize().region),(R[t||""]||R[n||""]||R["".concat(n,"-001")]||R["001"])[0]}(t);for(("H"==l||"k"==l)&&(o=0);o-- >0;)i+="a";for(;a-- >0;)i=l+i}else"J"===r?i+="H":i+=r}return i}(y,this.locale));var f={type:l.dateTime,pattern:x,location:d.styleLocation,parsedOptions:this.shouldParseSkeletons?(b={},x.replace(_,function(e){var t=e.length;switch(e[0]){case"G":b.era=4===t?"long":5===t?"narrow":"short";break;case"y":b.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":b.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":b.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":b.weekday=4===t?"short":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");b.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");b.weekday=["short","long","narrow","short"][t-4];break;case"a":b.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":b.hourCycle="h12",b.hour=["numeric","2-digit"][t-1];break;case"H":b.hourCycle="h23",b.hour=["numeric","2-digit"][t-1];break;case"K":b.hourCycle="h11",b.hour=["numeric","2-digit"][t-1];break;case"k":b.hourCycle="h24",b.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":b.minute=["numeric","2-digit"][t-1];break;case"s":b.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":b.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),b):{}};return{val:{type:"date"===u?o.date:o.time,value:i,location:v,style:f},err:null}}return{val:{type:"number"===u?o.number:"date"===u?o.date:o.time,value:i,location:v,style:null!=(r=null==d?void 0:d.style)?r:null},err:null};
73case"plural":case"selectordinal":case"select":var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,H(w,m({},w)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),E=0;if("select"!==u&&"offset"===S.value){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),S=this.parseIdentifierIfPossible(),E=p.val}var T=this.tryParsePluralOrSelectOptions(e,u,t,S);if(T.err)return T;var g=this.tryParseArgumentClose(n);if(g.err)return g;var k=H(n,this.clonePosition());if("select"===u)return{val:{type:o.select,value:i,options:K(T.val),location:k},err:null};return{val:{type:o.plural,value:i,options:K(T.val),offset:E,pluralType:"plural"===u?"cardinal":"ordinal",location:k},err:null};default:return this.error(a.INVALID_ARGUMENT_TYPE,H(s,c))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,H(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(P).filter(function(e){return e.length>0}),i=[],n=0;n<t.length;n++){var r=t[n].split("/");if(0===r.length)throw Error("Invalid number skeleton");for(var s=r[0],a=r.slice(1),o=0;o<a.length;o++)if(0===a[o].length)throw Error("Invalid number skeleton");i.push({stem:s,options:a})}return i}(e)}catch(e){return this.error(a.INVALID_NUMBER_SKELETON,t)}return{val:{type:l.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},i=0;i<e.length;i++){var n=e[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=m(m(m({},t),{notation:"scientific"}),n.options.reduce(function(e,t){return m(m({},e),j(t))},{}));continue;case"engineering":t=m(m(m({},t),{notation:"engineering"}),n.options.reduce(function(e,t){return m(m({},e),j(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"integer-width":if(n.options.length>1)throw RangeError("integer-width stems only accept a single optional option");n.options[0].replace(M,function(e,i,n,r,s,a){if(i)t.minimumIntegerDigits=n.length;else if(r&&s)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(L.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(A.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(A,function(e,i,n,r,s,a){return"*"===n?t.minimumFractionDigits=i.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:s&&a?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+a.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""});var r=n.options[0];"w"===r?t=m(m({}
73,t),{trailingZeroDisplay:"stripIfInteger"}):r&&(t=m(m({},t),N(r)));continue}if(I.test(n.stem)){t=m(m({},t),N(n.stem));continue}var s=O(n.stem);s&&(t=m(m({},t),s));var a=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!L.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem);a&&(t=m(m({},t),a))}return t}(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){for(var r,s=!1,o=[],l=new Set,u=n.value,c=n.location;;){if(0===u.length){var d=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=H(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error("select"===t?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,i);if(f.err)return f;var m=this.tryParseArgumentClose(p);if(m.err)return m;o.push([u,{value:f.val,location:H(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(r=this.parseIdentifierIfPossible()).value,c=r.location}return 0===o.length?this.error("select"===t?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(a.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)r=!0,s=10*s+(a-48),this.bump();else break}var o=H(n,this.clonePosition());return r?W(s*=i)?{val:s,err:null}:this.error(t,o):this.error(e,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Z(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(X(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&er(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return null!=i?i:null},e}();function en(e){return e>=97&&e<=122||e>=65&&e<=90}function er(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function es(e,t){void 0===t&&(t={});var i=new ei(e,t=m({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(i.err){var n=SyntaxError(a[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,w(t)||S(t))for(var i in t.options)delete t.options[i].location,e(t.options[i].value);else y(t)&&T(t.style)||(b(t)||x(t))&&k(t.style)?delete t.style.location:E(t)&&e(t.children)})}(i.val),i.val}function ea(e,t){var i=t&&t.cache?t.cache:ed,n=t&&t.serializer?t.serializer:eu;return(t&&t.strategy?t.strategy:function(e,t){var i,n,r=1===e.length?eo:el;return i=t.cache.create(),n=t.serializer,r.bind(this,e,i,n)})(e,{cache:i,serializer:n})}function eo(e,t,i,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:i(n),s=t.get(r);return void 0===s&&(s=e.call(this,n),t.set(r,s)),s}function el(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),s=t.get(r);return void 0===s&&(s=e.apply(this,n),t.set(r,s)),s}var eu=function(){return JSON.stringify(arguments)};function ec(){this.cache=Object.create(null)}ec.prototype.get=function(e){return this.cache[e]},ec.prototype.set=function(e,t){this.cache[e]=t};var ed={create:function(){return new ec}},eh={variadic:function(e,t){var i,n;return i=t.cache.create(),n=t.serializer,el.bind(this,e,i,n)},monadic:function(e,t){var i,n;return i=t.cache.create(),n=t.serializer,eo.bind(this,e,i,n)}};(r=d||(d={})).MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API";var ep=function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.code=i,r.originalMessage=n,r}return f(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ef=function(e){function t(t,i,n,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),d.INVALID_VALUE,r)||this}return f(t,e),t}(ep),em=function(e){function t(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),d.INVALID_VALUE,n)||this}return f(t,e),t}(ep),eg=function(e){function t(t,i){return e.call(this,'The intl str
73ing context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),d.MISSING_VALUE,i)||this}return f(t,e),t}(ep);function ev(e){return"function"==typeof e}function ey(e,t,i,n,r,s,a){if(1===e.length&&v(e[0]))return[{type:h.literal,value:e[0].value}];for(var l=[],u=0;u<e.length;u++){var c=e[u];if(v(c)){l.push({type:h.literal,value:c.value});continue}if(c.type===o.pound){"number"==typeof s&&l.push({type:h.literal,value:i.getNumberFormat(t).format(s)});continue}var p=c.value;if(!(r&&p in r))throw new eg(p,a);var f=r[p];if(c.type===o.argument){f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),l.push({type:"string"==typeof f?h.literal:h.object,value:f});continue}if(b(c)){var m="string"==typeof c.style?n.date[c.style]:k(c.style)?c.style.parsedOptions:void 0;l.push({type:h.literal,value:i.getDateTimeFormat(t,m).format(f)});continue}if(x(c)){var m="string"==typeof c.style?n.time[c.style]:k(c.style)?c.style.parsedOptions:n.time.medium;l.push({type:h.literal,value:i.getDateTimeFormat(t,m).format(f)});continue}if(y(c)){var m="string"==typeof c.style?n.number[c.style]:T(c.style)?c.style.parsedOptions:void 0;m&&m.scale&&(f*=m.scale||1),l.push({type:h.literal,value:i.getNumberFormat(t,m).format(f)});continue}if(E(c)){var g=c.children,C=c.value,P=r[C];if(!ev(P))throw new em(C,"function",a);var A=P(ey(g,t,i,n,r,s).map(function(e){return e.value}));Array.isArray(A)||(A=[A]),l.push.apply(l,A.map(function(e){return{type:"string"==typeof e?h.literal:h.object,value:e}}))}if(w(c)){var I=c.options[f]||c.options.other;if(!I)throw new ef(c.value,f,Object.keys(c.options),a);l.push.apply(l,ey(I.value,t,i,n,r));continue}if(S(c)){var I=c.options["=".concat(f)];if(!I){if(!Intl.PluralRules)throw new ep('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',d.MISSING_INTL_API,a);var M=i.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0));I=c.options[M]||c.options.other}if(!I)throw new ef(c.value,f,Object.keys(c.options),a);l.push.apply(l,ey(I.value,t,i,n,r,f-(c.offset||0)));continue}}return l.length<2?l:l.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===h.literal&&t.type===h.literal?i.value+=t.value:e.push(t),e},[])}function eb(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}e.s(["ErrorCode",0,d,"FormatError",0,ep,"InvalidValueError",0,ef,"InvalidValueTypeError",0,em,"MissingValueError",0,eg],21967),(s=h||(h={}))[s.literal=0]="literal",s[s.object=1]="object",e.s(["PART_TYPE",0,h,"formatToParts",0,ey,"isFormatXMLElementFn",0,ev],7902);var ex=function(){function e(t,i,n,r){var s,a,o=this;if(void 0===i&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var i=t.reduce(function(e,t){return e.length&&t.type===h.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return ey(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(s=e.formats,n?Object.keys(s).reduce(function(e,t){var i,r;return e[t]=(i=s[t],(r=n[t])?m(m(m({},i||{}),r||{}),Object.keys(i).reduce(function(e,t){return e[t]=m(m({},i[t]),r[t]||{}),e},{})):i),e},m({},s)):s),this.formatters=r&&r.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ea(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,g([void 0],t,!1)))},{cache:eb(a.number),strategy:eh.variadic}),getDateTimeFormat:ea(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,g([void 0],t,!1)))},{cache:eb(a.dateTime),strategy:eh.variadic}),getPluralRules:ea(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,g([void 0],t,!1)))},{cache:eb(a.pluralRules),strategy:eh.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}
73,enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])},e.__parse=es,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();e.s(["IntlMessageFormat",0,ex],73060),e.s(["default",0,ex],88387),e.i(88387),e.i(7902),e.i(73060),e.i(21967),e.s(["ErrorCode",0,d,"FormatError",0,ep,"IntlMessageFormat",0,ex,"InvalidValueError",0,ef,"InvalidValueTypeError",0,em,"MissingValueError",0,eg,"PART_TYPE",0,h,"default",0,ex,"formatToParts",0,ey,"isFormatXMLElementFn",0,ev],65648)},55377,(e,t,i)=>{"use strict";var n,r=e.r(65648),s=e.r(49521),a=e.r(37734),o=r&&r.__esModule?r:{default:r};function l(e,t,i){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}let u=((n={}).MISSING_MESSAGE="MISSING_MESSAGE",n.MISSING_FORMAT="MISSING_FORMAT",n.INSUFFICIENT_PATH="INSUFFICIENT_PATH",n.INVALID_MESSAGE="INVALID_MESSAGE",n.INVALID_KEY="INVALID_KEY",n.FORMATTING_ERROR="FORMATTING_ERROR",n);class c extends Error{constructor(e,t){let i=e;t&&(i+=": "+t),super(i),l(this,"code",void 0),l(this,"originalMessage",void 0),this.code=e,t&&(this.originalMessage=t)}}function d(e,t){return e?Object.keys(e).reduce((i,n)=>(i[n]={timeZone:t,...e[n]},i),{}):e}function h(e,t,i){if(!e)throw Error(void 0);let n=e;return t.split(".").forEach(e=>{let t=n[e];if(null==e||null==t)throw Error(void 0);n=t}),n}let p=365/12*86400;function f(e){let{formats:t,locale:i,now:n,onError:r=a.defaultOnError,timeZone:s}=e;function o(e,t,i,n){let s;try{s=function(e,t){let i;if("string"==typeof t){if(!(i=null==e?void 0:e[t])){let e=new c(u.MISSING_FORMAT,void 0);throw r(e),e}}else i=t;return i}(i,t)}catch(t){return String(e)}try{return n(s)}catch(t){return r(new c(u.FORMATTING_ERROR,t.message)),String(e)}}return{dateTime:function(e,n){return o(e,n,null==t?void 0:t.dateTime,t=>{var n;return!s||null!=(n=t)&&n.timeZone||(t={...t,timeZone:s}),new Intl.DateTimeFormat(i,t).format(e)})},number:function(e,n){return o(e,n,null==t?void 0:t.number,t=>new Intl.NumberFormat(i,t).format(e))},relativeTime:function(e,t){try{var s;let r,a,o;if(!t){if(!n)throw Error(void 0);t=n}let l=e instanceof Date?e:new Date(e),u=t instanceof Date?t:new Date(t),{unit:c,value:d}=(s=(l.getTime()-u.getTime())/1e3,(o=Math.abs(s))<60?(a="second",r=Math.round(s)):o<3600?(a="minute",r=Math.round(s/60)):o<86400?(a="hour",r=Math.round(s/3600)):o<604800?(a="day",r=Math.round(s/86400)):o<p?(a="week",r=Math.round(s/604800)):o<31536e3?(a="month",r=Math.round(s/p)):(a="year",r=Math.round(s/31536e3)),{value:r,unit:a});return new Intl.RelativeTimeFormat(i,{numeric:"auto"}).format(d,c)}catch(t){return r(new c(u.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,n){return o(e,n,null==t?void 0:t.list,t=>new Intl.ListFormat(i,t).format(e))}}}i.IntlError=c,i.IntlErrorCode=u,i.createBaseTranslator=function(e){let t=function(e){let{messages:t,namespace:i,onError:n=a.defaultOnError}=e;try{if(!t)throw Error(void 0);let e=i?h(t,i):t;if(!e)throw Error(void 0);return e}catch(t){let e=new c(u.MISSING_MESSAGE,t.message);return n(e),e}}({messages:e.messages,namespace:e.namespace,onError:e.onError});return function(e){let{defaultTranslationValues:t,formats:i,getMessageFallback:n=a.defaultGetMessageFallback,locale:r,messageFormatCache:l,messagesOrError:p,namespace:f,onError:m,timeZone:g}=e;function v(e,t,i){let r=new c(t,i);return m(r),n({error:r,key:e,namespace:f})}function y(e,a,m){let y,b;if(p instanceof c)return n({error:p,key:e,namespace:f});try{y=h(p,e)}catch(t){return v(e,u.MISSING_MESSAGE,t.message)}let x=[r,f,e,String(y)].filter(e=>null!=e).join(".");if(null!=l&&l.has(x))b=l.get(x);else{if("object"==typeof y){let t;return v(e,Array.isArray(y)?u.INVALID_MESSAGE:u.INSUFFICIENT_PATH,t)}let t=function(e,t){if(t)return;let i=e.replace(/'([{}])/gi,"$1");return/<|{/.test(i)?void 0:i}(y,a);if(t)return t;try{var w;let e,t,n,s,a;b=new o.default(y,r,(w={...i,...m},e=g?{...w,dateTime:d(w.dateTime,g)}:w,t=o.default.formats.date,n=g?d(t,g):t,s=o.default.formats.time,a=g?d(s,g):s,{...e,date:{...n,...null==e?void 0:e.dateTime},time:{...a,...null==e?void 0:e.dateTime}}))}catch(t){return v(e,u.INVALID_MESSAGE,t.message)}null==l||l.set(x,b)}try{let e=b.format(function(e){if(0===Object.keys(e).length)return;let t={};return Object.keys(e).forEach(i=>
73{let n,r=0,a=e[i];n="function"==typeof a?e=>{let t=a(e);return s.isValidElement(t)?s.cloneElement(t,{key:i+r++}):t}:a,t[i]=n}),t}({...t,...a}));if(null==e)throw Error(void 0);return s.isValidElement(e)||Array.isArray(e)||"string"==typeof e?e:String(e)}catch(t){return v(e,u.FORMATTING_ERROR,t.message)}}function b(e,t,i){let n=y(e,t,i);return"string"!=typeof n?v(e,u.INVALID_MESSAGE,void 0):n}return b.rich=y,b.raw=e=>{if(p instanceof c)return n({error:p,key:e,namespace:f});try{return h(p,e)}catch(t){return v(e,u.MISSING_MESSAGE,t.message)}},b}({...e,messagesOrError:t})},i.createFormatter=f,i.createIntl=function(){let e=f(...arguments);return{formatDateTime:e.dateTime,formatNumber:e.number,formatRelativeTime:e.relativeTime}},i.resolveNamespace=function(e,t){return e===t?void 0:e.slice((t+".").length)}},13566,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(55377),r=e.r(37734);e.r(65648),e.r(49521),i.IntlError=n.IntlError,i.IntlErrorCode=n.IntlErrorCode,i.createBaseTranslator=n.createBaseTranslator,i.createFormatter=n.createFormatter,i.createIntl=n.createIntl,i.initializeConfig=r.initializeConfig,i.createTranslator=function(e){let{getMessageFallback:t=r.defaultGetMessageFallback,messages:i,namespace:s,onError:a=r.defaultOnError,...o}=e;return function(e,t){let{getMessageFallback:i,messages:r,namespace:s,onError:a,...o}=e;r=r[t],s=n.resolveNamespace(s,t);let l=n.createBaseTranslator({...o,onError:a,getMessageFallback:i,messages:r,namespace:s}),u=l.rich;function c(){return l(...arguments)}return c.rich=(e,t,r)=>{let o=u(e,t,r);if("string"!=typeof o){let t=new n.IntlError(n.IntlErrorCode.FORMATTING_ERROR,void 0);return a(t),i({error:t,key:e,namespace:s})}return o},c.raw=l.raw,c}({...o,onError:a,getMessageFallback:t,messages:{"!":i},namespace:s?"!.".concat(s):"!"},"!")}},51579,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(27717),r=e.r(84873),s=e.r(49521),a=e.r(55377);e.r(37734),e.r(49929),e.r(65648),i.IntlProvider=n.IntlProvider,i.useLocale=r.useLocale,i.useFormatter=function(){let{formats:e,locale:t,now:i,onError:n,timeZone:o}=r.useIntlContext();return s.useMemo(()=>a.createFormatter({formats:e,locale:t,now:i,onError:n,timeZone:o}),[e,i,t,n,o])},i.useIntl=function(){let{formats:e,locale:t,now:i,onError:n,timeZone:o}=r.useIntlContext();return s.useMemo(()=>a.createIntl({formats:e,locale:t,now:i,onError:n,timeZone:o}),[e,i,t,n,o])},i.useMessages=function(){return r.useIntlContext().messages},i.useNow=function(e){let t=null==e?void 0:e.updateInterval,{now:i}=r.useIntlContext(),[n,a]=s.useState(i||new Date);return s.useEffect(()=>{if(!t)return;let e=setInterval(()=>{a(new Date)},t);return()=>{clearInterval(e)}},[i,t]),n},i.useTimeZone=function(){return r.useIntlContext().timeZone},i.useTranslations=function(e){return function(e,t){let{defaultTranslationValues:i,formats:n,getMessageFallback:o,locale:l,messageFormatCache:u,onError:c,timeZone:d}=r.useIntlContext();return e=e["!"],t=a.resolveNamespace(t,"!"),s.useMemo(()=>a.createBaseTranslator({messageFormatCache:u,getMessageFallback:o,messages:e,defaultTranslationValues:i,namespace:t,onError:c,formats:n,locale:l,timeZone:d}),[u,o,e,t,c,i,n,l,d])}({"!":r.useIntlContext().messages},e?"!.".concat(e):"!")}},62419,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(55377),r=e.r(13566),s=e.r(37734),a=e.r(27717),o=e.r(51579),l=e.r(84873);e.r(65648),e.r(49521),e.r(49929),i.IntlError=n.IntlError,i.IntlErrorCode=n.IntlErrorCode,i.createBaseTranslator=n.createBaseTranslator,i.createFormatter=n.createFormatter,i.createIntl=n.createIntl,i.createTranslator=r.createTranslator,i.initializeConfig=s.initializeConfig,i.IntlProvider=a.IntlProvider,i.useFormatter=o.useFormatter,i.useIntl=o.useIntl,i.useMessages=o.useMessages,i.useNow=o.useNow,i.useTimeZone=o.useTimeZone,i.useTranslations=o.useTranslations,i.useLocale=l.useLocale},33950,(e,t,i)=>{"use strict";t.exports=e.r(62419)},50070,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e.r(56811),r=e.r(77018),s=e.r(78338),a=e.r(27002),o=e.r(1607),l=e.r(33950);i.LocalizedLink=n.LocalizedLink,i.useLocale=r.default,i.NextIntlClientProvider=s.default,i.NextIntlProvider=s.default,i.Link=a.default,i.useL
73ocalizedRouter=o.default,Object.keys(l).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(i,e,{enumerable:!0,get:function(){return l[e]}})})},8687,(e,t,i)=>{"use strict";t.exports=e.r(50070)},69353,e=>{"use strict";e.s(["ENGAGE_EVENT",0,{DOWNLOAD:"download",CTA_CLICK:"cta_click",SEARCH:"search",SEARCH_NO_RESULTS:"search_no_results",FORM_SUBMIT:"form_submit"}])},42561,9339,e=>{"use strict";let t="External-Visitor-Id",i="engage.externalVisitorId",n=async e=>{try{let i={"Content-Type":"application/json"};e.visitorId&&(i[t]=e.visitorId);let n=await fetch("/api/engage/pageview",{method:"POST",headers:i,body:JSON.stringify({url:e.url,referrerUrl:e.referrerUrl??""})});if(!n.ok)return null;return await n.json()}catch{return null}};e.s(["trackEvent",0,e=>{if(e.pageviewId)try{let i={"Content-Type":"application/json","Pageview-Id":e.pageviewId};e.visitorId&&(i[t]=e.visitorId),fetch("/api/engage/pageevent",{method:"POST",headers:i,keepalive:!0,body:JSON.stringify({category:e.category,action:e.action,label:e.label,timestamp:new Date().toISOString()})}).catch(()=>{})}catch{}},"trackPageview",0,n],42561),e.s(["getVisitorId",0,()=>{try{return window.localStorage.getItem(i)}catch{return null}},"setVisitorId",0,e=>{try{window.localStorage.setItem(i,e)}catch{}}],9339)},56790,e=>{"use strict";var t=e.i(63645),i=e.i(49521),n=e.i(31471),r=e.i(42561),s=e.i(9339),a=e.i(69353);let o=[".pdf",".doc",".docx",".xls",".xlsx",".ppt",".pptx",".csv",".txt",".rtf",".zip",".rar",".7z",".png",".jpg",".jpeg",".gif",".svg",".mp3",".mp4",".mov",".wav"],l=(0,i.createContext)({trackEvent:()=>{}});e.s(["EngageProvider",0,({children:e})=>{let u=(0,n.usePathname)(),c=(0,n.useSearchParams)(),d=(0,i.useRef)(null),h=(0,i.useRef)(null),p=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)([]),[,g]=(0,i.useState)(0);(0,i.useEffect)(()=>{h.current=(0,s.getVisitorId)()},[]),(0,i.useEffect)(()=>{let e=window.location.href,t=`${u}?${c?.toString()??""}`;if(f.current===t)return;f.current=t;let i=p.current??document.referrer??"";p.current=e,(async()=>{let t=await (0,r.trackPageview)({url:e,referrerUrl:i,visitorId:h.current});if(!t)return;d.current=t.pageviewId,t.externalVisitorId&&t.externalVisitorId!==h.current&&(h.current=t.externalVisitorId,(0,s.setVisitorId)(t.externalVisitorId));let n=m.current;m.current=[],n.forEach(e=>{(0,r.trackEvent)({pageviewId:t.pageviewId,visitorId:h.current,category:e.category,action:e.action,label:e.label})}),g(e=>e+1)})()},[u,c]),(0,i.useEffect)(()=>{if("u"<typeof document)return;let e=e=>{let t=e.target,i=t?.closest("a");if(!i)return;let n=i.getAttribute("href"),s=i.hasAttribute("download");if(!n||!(e=>{if(!e)return!1;let t=e.toLowerCase().split("?")[0].split("#")[0];return o.some(e=>t.endsWith(e))})(n)&&!s)return;let l=d.current;l?(0,r.trackEvent)({pageviewId:l,visitorId:h.current,category:a.ENGAGE_EVENT.DOWNLOAD,action:n}):m.current.push({category:a.ENGAGE_EVENT.DOWNLOAD,action:n})};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[]);let v=(0,i.useCallback)((e,t,i)=>{d.current?(0,r.trackEvent)({pageviewId:d.current,visitorId:h.current,category:e,action:t,label:i}):m.current.push({category:e,action:t,label:i})},[]);return(0,t.jsx)(l.Provider,{value:{trackEvent:v},children:e})},"useEngage",0,()=>(0,i.useContext)(l)],56790)},86929,18113,e=>{"use strict";var t=e.i(87273);e.s(["Heading",()=>t.default],86929);var i=e.i(33276);e.s(["Section",()=>i.default],18113)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.