PageSourceSearch

https://www.vantage.bank/_next/static/chunks/381-384e33c7ef7830ac.js?dpl=dpl_JBFxt4beuPCRDYq9iSYSgUkqC81a

js vantage.bank collected 2026-10-01 15:53:50 UTC 187,545 bytes, 11 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[381],{63:(e,t,r)=>{"use strict";var n=r(7260);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},296:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});let n=(0,r(2115).createContext)({})},474:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(8140)._(r(2115)).default.createContext({})},821:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},861:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},990:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BLOCKS",{enumerable:!0,get:function(){return r}});var r=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({})},1124:(e,t)=>{"use strict";function r(e){var t;let{config:r,src:n,width:i,quality:s}=e,o=s||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+o+(n.startsWith("/_next/static/media/")&&1?"&dpl=dpl_JBFxt4beuPCRDYq9iSYSgUkqC81a":"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},1130:(e,t,r)=>{"use strict";let n;r.d(t,{P:()=>sm});var i=r(2115);let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(s),a=e=>180*e/Math.PI,l=e=>c(a(Math.atan2(e[1],e[0]))),u={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:l,rotateZ:l,skewX:e=>a(Math.atan(e[1])),skewY:e=>a(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},c=e=>((e%=360)<0&&(e+=360),e),h=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),d=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),p={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:h,scaleY:d,scale:e=>(h(e)+d(e))/2,rotateX:e=>c(a(Math.atan2(e[6],e[5]))),rotateY:e=>c(a(Math.atan2(-e[2],e[0]))),rotateZ:l,rotate:l,skewX:e=>a(Math.atan(e[4])),skewY:e=>a(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function f(e){return+!!e.includes("scale")}function m(e,t){let r,n;if(!e||"none"===e)return f(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=p,n=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=u,n=t}if(!n)return f(t);let s=r[t],o=n[1].split(",").map(y);return"function"==typeof s?s(o):o[s]}function y(e){return parseFloat(e.trim())}let g=e=>t=>"string"==typeof t&&t.startsWith(e),v=g("--"),b=g("var(--"),E=e=>!!b(e)&&S.test(e.split("/*")[0].trim()),S=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function x({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}let T=(e,t,r)=>e+(t-e)*r;function w(e){return void 0===e||1===e}function P({scale:e,scaleX:t,scaleY:r}){return!w(e)||!w(t)||!w(r)}function A(e){return P(e)||O(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function O(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function L(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function C(e,t=0,r=1,n,i){e.min=L(e.min,t,r,n,i),e.max=L(e.max,t,r,n,i)}function _(e,{x:t,y:r}){C(e.x,t.translate,t.scale,t.originPoint),C(e.y,r.translate,r.scale,r.originPoint)}function D(e,t){e.min=e.min+t,e.max=e.max+t}function M(e,t,r,n,i=.5){let s=T(e.min,e.max,i);C(e,t,r,s,n)}function k(e,t){M(e.x,t.x,t.scaleX,t.scale,t.originX),M(e.y,t.y,t.scaleY,t.scale,t.originY)}function R(e,t){return x(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}let j=new Set(["width","height","top","left","right","bottom",...s]),B=(e,t,r)=>r>t?t:r<e?e:r,I={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},N={...I,transform:e=>B(0,1,e)},V={...I,default:1},K=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),U=K("deg"),F=K("%"),H=K("px"),$=K("vh"),z=K("vw"),G={...F,parse:e=>F.parse(e)/100,transform:e=>F.transform(100*e)},W=e=>t=>t.test(e),Y=[I,H,F,U,z,$,{test:e=>"auto"===e,parse:e=>e}],q=e=>Y.find(W(e)),X=()=>{},Z=()=>{},Q=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),J=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ee=e=>e===I||e===H,et=new Set(["x","y","z"]),er=s.filter(e=>!et.has(e)),en={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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})=>m(t,"x"),y:(e,{transform:t})=>m(t,"y")};en.translateX=en.x,en.translateY=en.y;let ei=e=>e,es={},eo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],ea={value:null,addProjectionMetrics:null};function el(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},s=()=>r=!0,o=eo.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,i=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){o.has(t)&&(c.schedule(t),e()),l++,t(a)}let c={schedule:(e,t=!1,s=!1)=>{let a=s&&i?r:n;return t&&o.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(a=e,i){s=!0;return}i=!0,[r,n]=[n,r],r.forEach(u),t&&ea.value&&ea.value.frameloop[t].push(l),l=0,r.clear(),i=!1,s&&(s=!1,c.process(e))}};return c}(s,t?r:void 0),e),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:d,render:p,postRender:f}=o,m=()=>{let s=es.useManualTiming?i.timestamp:performance.now();r=!1,es.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(s-i.timestamp,40),1)),i.timestamp=s,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),h.process(i),d.process(i),p.process(i),f.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(m))};return{schedule:eo.reduce((t,s)=>{let a=o[s];return t[s]=(t,s=!1,o=!1)=>(!r&&(r=!0,n=!0,i.isProcessing||e(m)),a.schedule(t,s,o)),t},{}),cancel:e=>{for(let t=0;t<eo.length;t++)o[eo[t]].cancel(e)},state:i,steps:o}}let{schedule:eu,cancel:ec,state:eh,steps:ed}=el("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:ei,!0),ep=new Set,ef=!1,em=!1,ey=!1;function eg(){if(em){let e=Array.from(ep).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;
1t.forEach(e=>{let t=function(e){let t=[];return er.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t}(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}em=!1,ef=!1,ep.forEach(e=>e.complete(ey)),ep.clear()}function ev(){ep.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(em=!0)})}class eb{constructor(e,t,r,n,i,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(ep.add(this),ef||(ef=!0,eu.read(ev),eu.resolveKeyframes(eg))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let i=n?.get(),s=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,s);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=s),n&&void 0===i&&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),ep.delete(this)}cancel(){"scheduled"===this.state&&(ep.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eE=e=>/^0[^.\s]+$/u.test(e),eS=e=>Math.round(1e5*e)/1e5,ex=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,eT=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ew=(e,t)=>r=>!!("string"==typeof r&&eT.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),eP=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,s,o,a]=n.match(ex);return{[e]:parseFloat(i),[t]:parseFloat(s),[r]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},eA={...I,transform:e=>Math.round(B(0,255,e))},eO={test:ew("rgb","red"),parse:eP("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+eA.transform(e)+", "+eA.transform(t)+", "+eA.transform(r)+", "+eS(N.transform(n))+")"},eL={test:ew("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:eO.transform},eC={test:ew("hsl","hue"),parse:eP("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+F.transform(eS(t))+", "+F.transform(eS(r))+", "+eS(N.transform(n))+")"},e_={test:e=>eO.test(e)||eL.test(e)||eC.test(e),parse:e=>eO.test(e)?eO.parse(e):eC.test(e)?eC.parse(e):eL.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?eO.transform(e):eC.transform(e),getAnimatableNone:e=>{let t=e_.parse(e);return t.alpha=0,e_.transform(t)}},eD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eM="number",ek="color",eR=/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 ej(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],s=0,o=t.replace(eR,e=>(e_.test(e)?(n.color.push(s),i.push(ek),r.push(e_.parse(e))):e.startsWith("var(")?(n.var.push(s),i.push("var"),r.push(e)):(n.number.push(s),i.push(eM),r.push(parseFloat(e))),++s,"${}")).split("${}");return{values:r,split:o,indexes:n,types:i}}function eB(e){return ej(e).values}function eI(e){let{split:t,types:r}=ej(e),n=t.length;return e=>{let i="";for(let s=0;s<n;s++)if(i+=t[s],void 0!==e[s]){let t=r[s];t===eM?i+=eS(e[s]):t===ek?i+=e_.transform(e[s]):i+=e[s]}return i}}let eN=e=>"number"==typeof e?0:e_.test(e)?e_.getAnimatableNone(e):e,eV={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(ex)?.length||0)+(e.match(eD)?.length||0)>0},parse:eB,createTransformer:eI,getAnimatableNone:function(e){let t=eB(e);return eI(e)(t.map(eN))}},eK=new Set(["brightness","contrast","saturate","opacity"]);function eU(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(ex)||[];if(!n)return e;let i=r.replace(n,""),s=+!!eK.has(t);return n!==r&&(s*=100),t+"("+s+i+")"}let eF=/\b([a-z-]*)\(.*?\)/gu,eH={...eV,getAnimatableNone:e=>{let t=e.match(eF);return t?t.map(eU).join(" "):e}},e$={...I,transform:Math.round},ez={borderWidth:H,borderTopWidth:H,borderRightWidth:H,borderBottomWidth:H,borderLeftWidth:H,borderRadius:H,radius:H,borderTopLeftRadius:H,borderTopRightRadius:H,borderBottomRightRadius:H,borderBottomLeftRadius:H,width:H,maxWidth:H,height:H,maxHeight:H,top:H,right:H,bottom:H,left:H,padding:H,paddingTop:H,paddingRight:H,paddingBottom:H,paddingLeft:H,margin:H,marginTop:H,marginRight:H,marginBottom:H,marginLeft:H,backgroundPositionX:H,backgroundPositionY:H,rotate:U,rotateX:U,rotateY:U,rotateZ:U,scale:V,scaleX:V,scaleY:V,scaleZ:V,skew:U,skewX:U,skewY:U,distance:H,translateX:H,translateY:H,translateZ:H,x:H,y:H,z:H,perspective:H,transformPerspective:H,opacity:N,originX:G,originY:G,originZ:H,zIndex:e$,fillOpacity:N,strokeOpacity:N,numOctaves:e$},eG={...ez,color:e_,backgroundColor:e_,outlineColor:e_,fill:e_,stroke:e_,borderColor:e_,borderTopColor:e_,borderRightColor:e_,borderBottomColor:e_,borderLeftColor:e_,filter:eH,WebkitFilter:eH},eW=e=>eG[e];function eY(e,t){let r=eW(e);return r!==eH&&(r=eV),r.getAnimatableNone?r.getAnimatableNone(t):void 0}
1let eq=new Set(["auto","none","0"]);class eX extends eb{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&E(n=n.trim())){let i=function e(t,r,n=1){Z(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,s]=function(e){let t=J.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${r??n}`,i]}(t);if(!i)return;let o=window.getComputedStyle(r).getPropertyValue(i);if(o){let e=o.trim();return Q(e)?parseFloat(e):e}return E(s)?e(s,r,n+1):s}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!j.has(r)||2!==e.length)return;let[n,i]=e,s=q(n),o=q(i);if(s!==o)if(ee(s)&&ee(o))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else en[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var n;(null===e[t]||("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||eE(n)))&&r.push(t)}r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!eq.has(t)&&ej(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=eY(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=en[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let i=r.length-1,s=r[i];r[i]=en[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let eZ=e=>!!(e&&e.getVelocity);function eQ(){n=void 0}let eJ={now:()=>(void 0===n&&eJ.set(eh.isProcessing||es.useManualTiming?eh.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(eQ)}};function e0(e,t){-1===e.indexOf(t)&&e.push(t)}function e1(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class e2{constructor(){this.subscriptions=[]}add(e){return e0(this.subscriptions,e),()=>e1(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let e5={current:void 0};class e3{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=eJ.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=eJ.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 e2);let r=this.events[e].add(t);return"change"===e?()=>{r(),eu.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}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 e5.current&&e5.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=eJ.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*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 e8(e,t){return new e3(e,t)}let e6=[...Y,e_,eV],{schedule:e4}=el(queueMicrotask,!1),e9={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"]},e7={};for(let e in e9)e7[e]={isEnabled:t=>e9[e].some(e=>!!t[e])};let te=()=>({translate:0,scale:1,origin:0,originPoint:0}),tt=()=>({x:te(),y:te()}),tr=()=>({min:0,max:0}),tn=()=>({x:tr(),y:tr()});var ti=r(3577);let ts={current:null},to={current:!1},ta=new WeakMap;function tl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tu(e){return"string"==typeof e||Array.isArray(e)}let tc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],th=["initial",...tc];function td(e){return tl(e.animate)||th.some(t=>tu(e[t]))}function tp(e){return!!(td(e)||e.variants)}function tf(e){let t=[{},{}];
1return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function tm(e,t,r,n){if("function"==typeof t){let[i,s]=tf(n);t=t(void 0!==r?r:e.custom,i,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,s]=tf(n);t=t(void 0!==r?r:e.custom,i,s)}return t}let ty=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tg{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:i,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eb,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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=eJ.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eu.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!i,this.isControllingVariants=td(t),this.isVariantNode=tp(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==a[e]&&eZ(t)&&t.set(a[e])}}mount(e){this.current=e,ta.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)),to.current||function(){if(to.current=!0,ti.B)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ts.current=e.matches;e.addEventListener("change",t),t()}else ts.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ts.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),ec(this.notifyUpdate),ec(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 r;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=o.has(e);n&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eu.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),r&&r(),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 e7){let t=e7[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];t.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):tn()}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<ty.length;t++){let r=ty[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let i=t[n],s=r[n];if(eZ(i))e.addValue(n,i);else if(eZ(s))e.addValue(n,e8(i,{owner:e}));else if(s!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,e8(void 0!==t?t:i,{owner:e}))}}for(let n in r)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}
1addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&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 r=this.values.get(e);return void 0===r&&void 0!==t&&(r=e8(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){if("string"==typeof r&&(Q(r)||eE(r)))r=parseFloat(r);else{let n;n=r,!e6.find(W(n))&&eV.test(t)&&(r=eY(e,t))}this.setBaseTarget(e,eZ(r)?r.get():r)}return eZ(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=tm(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||eZ(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 e2),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){e4.render(this.render)}}class tv extends tg{constructor(){super(...arguments),this.KeyframeResolver=eX}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;eZ(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}let tb=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tS=s.length;function tx(e,t,r){let{style:n,vars:i,transformOrigin:a}=e,l=!1,u=!1;for(let e in t){let r=t[e];if(o.has(e)){l=!0;continue}if(v(e)){i[e]=r;continue}{let t=tb(r,ez[e]);e.startsWith("origin")?(u=!0,a[e]=t):n[e]=t}}if(!t.transform&&(l||r?n.transform=function(e,t,r){let n="",i=!0;for(let o=0;o<tS;o++){let a=s[o],l=e[a];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===+!!a.startsWith("scale"):0===parseFloat(l))||r){let e=tb(l,ez[a]);if(!u){i=!1;let t=tE[a]||a;n+=`${t}(${e}) `}r&&(t[a]=e)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=a;n.transformOrigin=`${e} ${t} ${r}`}}function tT(e,{style:t,vars:r},n,i){let s,o=e.style;for(s in t)o[s]=t[s];for(s in i?.applyProjectionStyles(o,n),r)o.setProperty(s,r[s])}let tw={};function tP(e,{layout:t,layoutId:r}){return o.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!tw[e]||"opacity"===e)}function tA(e,t,r){let{style:n}=e,i={};for(let s in n)(eZ(n[s])||t.style&&eZ(t.style[s])||tP(s,e)||r?.getValue(s)?.liveStyle!==void 0)&&(i[s]=n[s]);return i}class tO extends tv{constructor(){super(...arguments),this.type="html",this.renderInstance=tT}readValueFromInstance(e,t){if(o.has(t))return this.projection?.isProjecting?f(t):((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return m(r,t)})(e,t);{let r=window.getComputedStyle(e),n=(v(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return R(e,t)}build(e,t,r){tx(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return tA(e,t,r)}}let tL=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tC={offset:"stroke-dashoffset",array:"stroke-dasharray"},t_={offset:"strokeDashoffset",array:"strokeDasharray"};function tD(e,{attrX:t,attrY:r,attrScale:n,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a}
1,l,u,c){if(tx(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:d}=e;h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete h.transformBox),void 0!==t&&(h.x=t),void 0!==r&&(h.y=r),void 0!==n&&(h.scale=n),void 0!==i&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let s=i?tC:t_;e[s.offset]=H.transform(-n);let o=H.transform(t),a=H.transform(r);e[s.array]=`${o} ${a}`}(h,i,s,o,!1)}let tM=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"]),tk=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tR(e,t,r){let n=tA(e,t,r);for(let r in e)(eZ(e[r])||eZ(t[r]))&&(n[-1!==s.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class tj extends tv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tn}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(o.has(t)){let e=eW(t);return e&&e.default||0}return t=tM.has(t)?t:tL(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return tR(e,t,r)}build(e,t,r){tD(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){for(let r in tT(e,t,void 0,n),t.attrs)e.setAttribute(tM.has(r)?r:tL(r),t.attrs[r])}mount(e){this.isSVGTag=tk(e.tagName),super.mount(e)}}let tB=["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 tI(e){if("string"!=typeof e||e.includes("-"));else if(tB.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var tN=r(5155),tV=r(296);let tK=(0,i.createContext)({strict:!1});var tU=r(3127);let tF=(0,i.createContext)({});function tH(e){return Array.isArray(e)?e.join(" "):e}let t$=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function tz(e,t,r){for(let n in t)eZ(t[n])||tP(n,r)||(e[n]=t[n])}let tG=()=>({...t$(),attrs:{}}),tW=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","ignoreStrict","viewport"]);function tY(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||tW.has(e)}let tq=e=>!tY(e);try{!function(e){"function"==typeof e&&(tq=t=>t.startsWith("on")?!tY(t):e(t))}(require("@emotion/is-prop-valid").default)}catch{}var tX=r(9686),tZ=r(4416);function tQ(e){return eZ(e)?e.get():e}let tJ=e=>(t,r)=>{let n=(0,i.useContext)(tF),s=(0,i.useContext)(tX.t),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,i){return{latestValues:function(e,t,r,n){let i={},s=n(e,{});for(let e in s)i[e]=tQ(s[e]);let{initial:o,animate:a}=e,l=td(e),u=tp(e);t&&u&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===a&&(a=t.animate));let c=!!r&&!1===r.initial,h=(c=c||!1===o)?a:o;if(h&&"boolean"!=typeof h&&!tl(h)){let t=Array.isArray(h)?h:[h];for(let r=0;r<t.length;r++){let n=tm(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,n,i,e),renderState:t()}})(e,t,n,s);return r?o():(0,tZ.M)(o)},t0=tJ({scrapeMotionValuesFromProps:tA,createRenderState:t$}),t1=tJ({scrapeMotionValuesFromProps:tR,createRenderState:tG}),t2=Symbol.for("motionComponentSymbol");function t5(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let t3="data-"+tL("framerAppearId"),t8=(0,i.createContext)({});var t6=r(6553);function t4(e){var t,r;let{forwardMotionProps:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;s&&function(e){for(let t in e)e7[t]={...e7[t],...e[t]}}(s);let a=tI(e)?t1:t0;function l(t,r){var s;let l,u={...(0,i.useContext)(tU.Q),...t,layoutId:function(e){let{layoutId:t}=e,r=(0,i.useContext)(tV.L).id;return r&&void 0!==t?r+"-"+t:t}(t)},{isStatic:c}=u,h=function(e){let{initial:t,animate:r}=function(e,t){if(td(e)){let{initial:t,animate:r}=e;return{initial:!1===t||tu(t)?t:void 0,animate:tu(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(tF));return(0,i.useMemo)(()=>({initial:t,animate:r}),[tH(t),tH(r)])}(t),d=a(t,c);if(!c&&ti.B){(0,i.useContext)(tK).strict;let t=function(e){let{drag:t,layout:r}=e7;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==r?void 0:r.isEnabled(e))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(u);l=t.MeasureLayout,h.visualElement=function(e,t,r,n,s){let{visualElement:o}=(0,i.useContext)(tF),a=(0,i.useContext)(tK),l=(0,i.useContext)(tX.t),u=(0,i.useContext)(tU.Q).reducedMotion,c=(0,i.useRef)(null);n=n||a.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:o,props:r,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let h=c.current,d=(0,i.useContext)(t8);h&&!h.projection&&s&&("html"===h.type||"svg"===h.type)&&function(e,t,r,n){let{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new r(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:i,layout:s,alwaysMeasureLayout:!!o||a&&t5(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u})}(c.current,r,s,d);let p=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{h&&p.current&&h.update(r,l)});let f=r[t3],m=(0,i.useRef)(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return(0,t6.E)(()=>{h&&(p.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),m.current&&h.animationState&&h.animationState.animateChanges())}),(0,i.useEffect)(()=>{h&&(!m.current&&h.animationState&&h.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),m.current=!1),h.enteringChildren=void 0)}),h}(e,d,u,o,t.ProjectionNode)}return(0,tN.jsxs)(tF.Provider,{value:h,children:[l&&h.visualElement?(0,tN.jsx)(l,{visualElement:h.visualElement,...u}):null,function(e,t,r,{latestValues:n},s,o=!1){let a=(tI(e)?function(e,t,r,n){let s=(0,i.useMemo)(()=>{let r=tG();return tD(r,t,tk(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};tz(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,t){let r={},n=function(e,t){let r=e.style||{},n={};return tz(n,r,e),Object.assign(n,function({transformTemplate:e},t){return(0,i.useMemo)(()=>{let r=t$();return tx(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r})(t,n,s,e),l=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(tq(i)||!0===r&&tY(i)||!t&&!tY(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(t,"string"==typeof e,o),u=e!==i.Fragment?{...l,...a,ref:r}:{},{children:c}=t,h=(0,i.useMemo)(()=>eZ(c)?c.get():c,[c]);return(0,i.createElement)(e,{...u,children:h})}(e,t,(s=h.visualElement,(0,i.useCallback)(e=>{e&&d.onMount&&d.onMount(e),s&&(e?s.mount(e):s.unmount()),r&&("function"==typeof r?r(e):t5(r)&&(r.current=e))},[s])),d,c,n)]})}l.displayName="motion.".concat("string"==typeof e?e:"create(".concat(null!=(r=null!=(t=e.displayName)?t:e.name)?r:"",")"));let u=(0,i.forwardRef)(l);return u[t2]=e,u}function t9(e,t,r){let n=e.getProps();return tm(n,t,void 0!==r?r:n.custom,e)}function t7(e,t){return e?.[t]??e?.default??e}let re=e=>Array.isArray(e);function rt(e,t){let r=e.getValue("willChange");if(eZ(r)&&r.add)return r.add(t);if(!r&&es.WillChange){let r=new es.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function rr(e){e.duration=0,e.type}let rn=(e,t)=>r=>t(e(r)),ri=(...e)=>e.reduce(rn),rs=e=>1e3*e,ro={layout:0,mainThread:0,waapi:0};function ra(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function rl(e,t){return r=>r>0?t:e}let ru=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},rc=[eL,eO,eC];function rh(e){let t=rc.find(t=>t.test(e));if(X(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===eC&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,s=0,o=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,a=2*r-n;i=ra(a,n,e+1/3),s=ra(a,n,e),o=ra(a,n,e-1/3)}else i=s=o=r;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(r)),r}let rd=(e,t)=>{let r=rh(e),n=rh(t);if(!r||!n)return rl(e,t);let i={...r};return e=>(i.red=ru(r.red,n.red,e),i.green=ru(r.green,n.green,e),i.blue=ru(r.blue,n.blue,e),i.alpha=T(r.alpha,n.alpha,e),eO.transform(i))},rp=new Set(["none","hidden"]);function rf(e,t){return r=>T(e,t,r)}
1function rm(e){return"number"==typeof e?rf:"string"==typeof e?E(e)?rl:e_.test(e)?rd:rv:Array.isArray(e)?ry:"object"==typeof e?e_.test(e)?rd:rg:rl}function ry(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>rm(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function rg(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=rm(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let rv=(e,t)=>{let r=eV.createTransformer(t),n=ej(e),i=ej(t);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?rp.has(e)&&!i.values.length||rp.has(t)&&!n.values.length?function(e,t){return rp.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}(e,t):ri(ry(function(e,t){let r=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let s=t.types[i],o=e.indexes[s][n[s]],a=e.values[o]??0;r[i]=a,n[s]++}return r}(n,i),i.values),r):(X(!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"),rl(e,t))};function rb(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?T(e,t,r):rm(e)(e,t)}let rE=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eu.update(t,e),stop:()=>ec(t),now:()=>eh.isProcessing?eh.timestamp:eJ.now()}},rS=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function rx(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}function rT(e,t,r){var n,i;let s=Math.max(t-5,0);return n=r-e(s),(i=t-s)?1e3/i*n:0}let rw={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function rP(e,t){return e*Math.sqrt(1-t*t)}let rA=["duration","bounce"],rO=["stiffness","damping","mass"];function rL(e,t){return t.some(t=>void 0!==e[t])}function rC(e=rw.visualDuration,t=rw.bounce){let r,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:s}=n,o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:c,mass:h,duration:d,velocity:p,isResolvedFromDuration:f}=function(e){let t={velocity:rw.velocity,stiffness:rw.stiffness,damping:rw.damping,mass:rw.mass,isResolvedFromDuration:!1,...e};if(!rL(e,rO)&&rL(e,rA))if(e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*B(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:rw.mass,stiffness:n,damping:i}}else{let r=function({duration:e=rw.duration,bounce:t=rw.bounce,velocity:r=rw.velocity,mass:n=rw.mass}){let i,s;X(e<=rs(rw.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=B(rw.minDamping,rw.maxDamping,o),e=B(rw.minDuration,rw.maxDuration,e/1e3),o<1?(i=t=>{let n=t*o,i=n*e;return .001-(n-r)/rP(t,o)*Math.exp(-i)},s=t=>{let n=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-n),l=rP(Math.pow(t,2),o);return(n*r+r-s)*a*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),s=t=>e*e*(r-t)*Math.exp(-t*e));let a=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,s,5/e);if(e=rs(e),isNaN(a))return{stiffness:rw.stiffness,damping:rw.damping,duration:e};{let t=Math.pow(a,2)*n;return{stiffness:t,damping:2*o*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,mass:rw.mass}).isResolvedFromDuration=!0}return t}({...n,velocity:-((n.velocity||0)/1e3)}),m=p||0,y=c/(2*Math.sqrt(u*h)),g=a-o,v=Math.sqrt(u/h)/1e3,b=5>Math.abs(g);if(i||(i=b?rw.restSpeed.granular:rw.restSpeed.default),s||(s=b?rw.restDelta.granular:rw.restDelta.default),y<1){let e=rP(v,y);r=t=>a-Math.exp(-y*v*t)*((m+y*v*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===y)r=e=>a-Math.exp(-v*e)*(g+(m+v*g)*e);else{let e=v*Math.sqrt(y*y-1);r=t=>{let r=Math.exp(-y*v*t),n=Math.min(e*t,300);return a-r*((m+y*v*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}
1let E={calculatedDuration:f&&d||null,next:e=>{let t=r(e);if(f)l.done=e>=d;else{let n=0===e?m:0;y<1&&(n=0===e?rs(m):rT(r,e,t));let o=Math.abs(a-t)<=s;l.done=Math.abs(n)<=i&&o}return l.value=l.done?a:t,l},toString:()=>{let e=Math.min(rx(E),2e4),t=rS(t=>E.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return E}function r_({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d,p=e[0],f={done:!1,value:p},m=r*t,y=p+m,g=void 0===o?y:o(y);g!==y&&(m=g-p);let v=e=>-m*Math.exp(-e/n),b=e=>g+v(e),E=e=>{let t=v(e),r=b(e);f.done=Math.abs(t)<=u,f.value=f.done?g:r},S=e=>{let t;if(t=f.value,void 0!==a&&t<a||void 0!==l&&t>l){var r;h=e,d=rC({keyframes:[f.value,(r=f.value,void 0===a?l:void 0===l||Math.abs(a-r)<Math.abs(l-r)?a:l)],velocity:rT(b,e,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c})}};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,E(e),S(e)),void 0!==h&&e>=h)?d.next(e-h):(t||E(e),f)}}}rC.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),i=Math.min(rx(n),2e4);return{type:"keyframes",ease:e=>n.next(i*e).value/t,duration:i/1e3}}(e,100,rC);return e.ease=t.ease,e.duration=rs(t.duration),e.type="keyframes",e};let rD=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function rM(e,t,r,n){return e===t&&r===n?ei:i=>0===i||1===i?i:rD(function(e,t,r,n,i){let s,o,a=0;do(s=rD(o=t+(r-t)/2,n,i)-e)>0?r=o:t=o;while(Math.abs(s)>1e-7&&++a<12);return o}(i,0,1,e,r),t,n)}let rk=rM(.42,0,1,1),rR=rM(0,0,.58,1),rj=rM(.42,0,.58,1),rB=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,rI=e=>t=>1-e(1-t),rN=rM(.33,1.53,.69,.99),rV=rI(rN),rK=rB(rV),rU=e=>(e*=2)<1?.5*rV(e):.5*(2-Math.pow(2,-10*(e-1))),rF=e=>1-Math.sin(Math.acos(e)),rH=rI(rF),r$=rB(rF),rz=e=>Array.isArray(e)&&"number"==typeof e[0],rG={linear:ei,easeIn:rk,easeInOut:rj,easeOut:rR,circIn:rF,circInOut:r$,circOut:rH,backIn:rV,backInOut:rK,backOut:rN,anticipate:rU},rW=e=>{if(rz(e)){Z(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,i]=e;return rM(t,r,n,i)}return"string"==typeof e?(Z(void 0!==rG[e],`Invalid easing type '${e}'`,"invalid-easing-type"),rG[e]):e},rY=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};function rq({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var i;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(rW):rW(n),o={done:!1,value:t[0]},a=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let s=e.length;if(Z(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 o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,r){let n=[],i=r||es.mix||rb,s=e.length-1;for(let r=0;r<s;r++){let s=i(e[r],e[r+1]);t&&(s=ri(Array.isArray(t)?t[r]||ei:t,s)),n.push(s)}return n}(t,n,i),l=a.length,u=r=>{if(o&&r<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let i=rY(e[n],e[n+1],r);return a[n](i)};return r?t=>u(B(e[0],e[s-1],t)):u}((i=r&&r.length===t.length?r:function(e){let t=[0];return!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=rY(0,t,n);e.push(T(r,1,i))}}(t,e.length-1),t}(t),i.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||rj).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}let rX=e=>null!==e;function rZ(e,{repeat:t,repeatType:r="loop"},n,i=1){let s=e.filter(rX),o=i<0||t&&"loop"!==r&&t%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}let rQ={decay:r_,inertia:r_,tween:rq,keyframes:rq,spring:rC};function rJ(e){"string"==typeof e.type&&(e.type=rQ[e.type])}class r0{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 r1=e=>e/100;class r2 extends r0{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!==eJ.now()&&this.tick(eJ.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},ro.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;rJ(e);let{type:t=rq,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:s=0}=e,{keyframes:o}=e,a=t||rq;a!==rq&&"number"!=typeof o[0]&&(this.mixKeyframes=ri(r1,rb(o[0],o[1])),o=[0,100]);let l=a({...e,keyframes:o});"mirror"===i&&(this.mirroredGenerator=a({...e,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=rx(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(r+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:r,totalDuration:n,mixKeyframes:i,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return r.next(0);let{delay:l=0,keyframes:u,repeat:c,repeatType:h,repeatDelay:d,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 y=this.currentTime-l*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?y<0:y>n;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let v=this.currentTime,b=r;if(c){let e=Math.min(this.currentTime,n)/o,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,c+1))%2&&("reverse"===h?(r=1-r,d&&(r-=d/o)):"mirror"===h&&(b=s)),v=B(0,1,r)*o}let E=g?{done:!1,value:u[0]}:b.next(v);
1i&&(E.value=i(E.value));let{done:S}=E;g||null===a||(S=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return x&&p!==r_&&(E.value=rZ(u,this.options,m,this.speed)),f&&f(E.value),x&&this.finish(),E}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get time(){return this.currentTime/1e3}set time(e){e=rs(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(eJ.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=rE,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"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(eJ.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,ro.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)}}function r5(e){let t;return()=>(void 0===t&&(t=e()),t)}let r3=r5(()=>void 0!==window.ScrollTimeline),r8={},r6=function(e,t){let r=r5(e);return()=>r8[t]??r()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),r4=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,r9={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:r4([0,.65,.55,1]),circOut:r4([.55,0,1,.45]),backIn:r4([.31,.01,.66,-.59]),backOut:r4([.33,1.53,.69,.99])};function r7(e){return"function"==typeof e&&"applyToOptions"in e}class ne extends r0{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;let{element:t,name:r,keyframes:n,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=e;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=e,Z("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:e,...t}){return r7(e)&&r6()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:n=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let h=function e(t,r){if(t)return"function"==typeof t?r6()?rS(t,r):"ease-out":rz(t)?r4(t):Array.isArray(t)?t.map(t=>e(t,r)||r9.easeOut):r9[t]}(a,i);Array.isArray(h)&&(c.easing=h),ea.value&&ro.waapi++;let d={delay:n,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let p=e.animate(c,d);return ea.value&&p.finished.finally(()=>{ro.waapi--}),p}(t,r,n,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=rZ(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,r){t.startsWith("--")?e.style.setProperty(t,r):e.style[t]=r}(t,r,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(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(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){this.finishedTime=null,this.animation.currentTime=rs(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 Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&r3())?(this.animation.timeline=e,ei):t(this)}}let nt={anticipate:rU,backInOut:rK,circInOut:r$};class nr extends ne{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in nt&&(e.ease=nt[e.ease])}(e),rJ(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:i,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let o=new r2({...s,autoplay:!1}),a=rs(this.finishedTime??this.time);t.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let nn=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eV.test(e)||"0"===e)&&!e.startsWith("url(")),ni=new Set(["opacity","clipPath","filter","transform"]),ns=r5(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class no extends r0{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=eJ.now();let h={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:s,name:a,motionValue:l,element:u,...c},d=u?.KeyframeResolver||eb;this.keyframeResolver=new d(o,(e,t,r)=>this.onKeyframesResolved(e,t,h,!r),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){this.keyframeResolver=void 0;let{name:i,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=r;this.resolvedAt=eJ.now(),!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=nn(i,t),a=nn(s,t);return X(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||r7(r))&&n)}(e,i,s,o)&&((es.instantAnimations||!a)&&u?.(rZ(e,r,t)),e[0]=e[e.length-1],rr(r),r.repeat=0);let c={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},h=!l&&function(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:s,type:o}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
1let{onUpdate:a,transformTemplate:l}=t.owner.getProps();return ns()&&r&&ni.has(r)&&("transform"!==r||!l)&&!a&&!n&&"mirror"!==i&&0!==s&&"inertia"!==o}(c)?new nr({...c,element:c.motionValue.owner.current}):new r2(c);h.finished.then(()=>this.notifyFinished()).catch(ei),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}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(),ey=!0,ev(),eg(),ey=!1),this._animation}get duration(){return this.animation.duration}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 na=e=>null!==e,nl={type:"spring",stiffness:500,damping:25,restSpeed:10},nu={type:"keyframes",duration:.8},nc={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nh=(e,t,r,n={},i,s)=>a=>{let l=t7(n,e)||{},u=l.delay||n.delay||0,{elapsed:c=0}=n;c-=rs(u);let h={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-c,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:s?void 0:i};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(l)&&Object.assign(h,((e,{keyframes:t})=>t.length>2?nu:o.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:nl:nc)(e,h)),h.duration&&(h.duration=rs(h.duration)),h.repeatDelay&&(h.repeatDelay=rs(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let d=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(rr(h),0===h.delay&&(d=!0)),(es.instantAnimations||es.skipAnimations)&&(d=!0,rr(h),h.delay=0),h.allowFlatten=!l.type&&!l.ease,d&&!s&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:r="loop"},n){let i=e.filter(na),s=t&&"loop"!==r&&t%2==1?0:i.length-1;return i[s]}(h.keyframes,l);if(void 0!==e)return void eu.update(()=>{h.onUpdate(e),h.onComplete()})}return l.isSync?new r2(h):new no(h)};function nd(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:o,...a}=t;n&&(s=n);let l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let t in a){let n=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||u&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(u,t))continue;let o={delay:r,...t7(s||{},t)},c=n.get();if(void 0!==c&&!n.isAnimating&&!Array.isArray(i)&&i===c&&!o.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){let r=e.props[t3];if(r){let e=window.MotionHandoffAnimation(r,t,eu);null!==e&&(o.startTime=e,h=!0)}}rt(e,t),n.start(nh(t,n,i,e.shouldReduceMotion&&j.has(t)?{type:!1}:o,e,h));let d=n.animation;d&&l.push(d)}return o&&Promise.all(l).then(()=>{eu.update(()=>{o&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=t9(e,t)||{};for(let t in i={...i,...r}){var s;let r=re(s=i[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,e8(r))}}(e,o)})}),l}function np(e,t,r,n=0,i=1){let s=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,a=(o-1)*n;return"function"==typeof r?r(s,o):1===i?s*n:a-s*n}function nf(e,t,r={}){let n=t9(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let s=n?()=>Promise.all(nd(e,n,r)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=i;return function(e,t,r=0,n=0,i=0,s=1,o){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(nf(l,t,{...o,delay:r+("function"==typeof n?0:n)+np(e.variantChildren,l,n,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,n,s,o,a,r)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([s(),o(r.delay)]);{let[e,t]="beforeChildren"===a?[s,o]:[o,s];return e().then(()=>t())}}function nm(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}let ny=th.length,ng=[...tc].reverse(),nv=tc.length;function nb(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nE(){return{animate:nb(!0),whileInView:nb(),whileHover:nb(),whileTap:nb(),whileDrag:nb(),whileFocus:nb(),exit:nb()}}class nS{constructor(e){this.isMounted=!1,this.node=e}update(){}}class nx extends nS{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>nf(e,t,r)));else if("string"==typeof t)n=nf(e,t,r);else{let i="function"==typeof t?t9(e,t,r.custom):t;n=Promise.all(nd(e,i,r))}return n.then(()=>
1{e.notify("AnimationComplete",t)})})(e,t,r))),r=nE(),n=!0,i=t=>(r,n)=>{let i=t9(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function s(s){let{props:o}=e,a=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<ny;e++){let n=th[e],i=t.props[n];(tu(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},l=[],u=new Set,c={},h=1/0;for(let t=0;t<nv;t++){var d,p;let f=ng[t],m=r[f],y=void 0!==o[f]?o[f]:a[f],g=tu(y),v=f===s?m.isActive:null;!1===v&&(h=t);let b=y===a[f]&&y!==o[f]&&g;if(b&&n&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...c},!m.isActive&&null===v||!y&&!m.prevProp||tl(y)||"boolean"==typeof y)continue;let E=(d=m.prevProp,"string"==typeof(p=y)?p!==d:!!Array.isArray(p)&&!nm(p,d)),S=E||f===s&&m.isActive&&!b&&g||t>h&&g,x=!1,T=Array.isArray(y)?y:[y],w=T.reduce(i(f),{});!1===v&&(w={});let{prevResolvedValues:P={}}=m,A={...P,...w},O=t=>{S=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in A){let t=w[e],r=P[e];if(!c.hasOwnProperty(e))(re(t)&&re(r)?nm(t,r):t===r)?void 0!==t&&u.has(e)?O(e):m.protectedKeys[e]=!0:null!=t?O(e):u.add(e)}m.prevProp=y,m.prevResolvedValues=w,m.isActive&&(c={...c,...w}),n&&e.blockInitialAnimation&&(S=!1);let L=b&&E,C=!L||x;S&&C&&l.push(...T.map(t=>{let r={type:f};if("string"==typeof t&&n&&!L&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,i=t9(n,t);if(n.enteringChildren&&i){let{delayChildren:t}=i.transition||{};r.delay=np(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(u.size){let t={};if("boolean"!=typeof o.initial){let r=t9(e,Array.isArray(o.initial)?o.initial[0]:o.initial);r&&r.transition&&(t.transition=r.transition)}u.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=n??null}),l.push({animation:t})}let f=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(f=!1),n=!1,f?t(l):Promise.resolve()}return{animateChanges:s,setActive:function(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let i=s(t);for(let e in r)r[e].protectedKeys={};return i},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=nE(),n=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tl(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?.()}}let nT=0;class nw extends nS{constructor(){super(...arguments),this.id=nT++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)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(){}}let nP={x:!1,y:!1};function nA(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}let nO=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function nL(e){return{point:{x:e.pageX,y:e.pageY}}}function nC(e,t,r,n){return nA(e,t,e=>nO(e)&&r(e,nL(e)),n)}function n_(e){return e.max-e.min}function nD(e,t,r,n=.5){e.origin=n,e.originPoint=T(t.min,t.max,e.origin),e.scale=n_(r)/n_(t),e.translate=T(r.min,r.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 nM(e,t,r,n){nD(e.x,t.x,r.x,n?n.originX:void 0),nD(e.y,t.y,r.y,n?n.originY:void 0)}function nk(e,t,r){e.min=r.min+t.min,e.max=e.min+n_(t)}function nR(e,t,r){e.min=t.min-r.min,e.max=e.min+n_(t)}function nj(e,t,r){nR(e.x,t.x,r.x),nR(e.y,t.y,r.y)}function nB(e){return[e("x"),e("y")]}let nI=({current:e})=>e?e.ownerDocument.defaultView:null,nN=(e,t)=>Math.abs(e-t);class nV{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:i=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=nF(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){return Math.sqrt(nN(e.x,t.x)**2+nN(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!r)return;let{point:n}=e,{timestamp:i}=eh;this.history.push({...n,timestamp:i});let{onStart:s,onMove:o}=this.handlers;t||(s&&s(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>
1{this.lastMoveEvent=e,this.lastMoveEventInfo=nK(t,this.transformPagePoint),eu.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=nF("pointercancel"===e.type?this.lastMoveEventInfo:nK(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,s),n&&n(e,s)},!nO(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=n||window;let o=nK(nL(e),this.transformPagePoint),{point:a}=o,{timestamp:l}=eh;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,nF(o,this.history)),this.removeListeners=ri(nC(this.contextWindow,"pointermove",this.handlePointerMove),nC(this.contextWindow,"pointerup",this.handlePointerUp),nC(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ec(this.updatePoint)}}function nK(e,t){return t?{point:t(e.point)}:e}function nU(e,t){return{x:e.x-t.x,y:e.y-t.y}}function nF({point:e},t){return{point:e,delta:nU(e,nH(t)),offset:nU(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=nH(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>rs(.1)));)r--;if(!n)return{x:0,y:0};let s=(i.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(i.x-n.x)/s,y:(i.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,.1)}}function nH(e){return e[e.length-1]}function n$(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function nz(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function nG(e,t,r){return{min:nW(e,t),max:nW(e,r)}}function nW(e,t){return"number"==typeof e?e:e[t]||0}let nY=new WeakMap;class nq{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=tn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let i=e=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(nL(e).point)},s=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(nP[e])return null;else return nP[e]=!0,()=>{nP[e]=!1};return nP.x||nP.y?null:(nP.x=nP.y=!0,()=>{nP.x=nP.y=!1})}(r),!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),nB(e=>{let t=this.getAxisMotionValue(e).get()||0;if(F.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=n_(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&eu.postRender(()=>i(e,t)),rt(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:s}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:o}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&s(e,t)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>nB(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new nV(e,{onSessionStart:i,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:nI(this.visualElement)})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!n||!r)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&eu.postRender(()=>o(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!nX(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),s=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?T(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?T(r,e,n.max):Math.min(e,r)),e}(s,this.constraints[e],this.elastic[e])),i.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&t5(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:n$(e.x,r,i),y:n$(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:nG(e,"left","right"),y:nG(e,"top","bottom")}}(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&nB(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!t5(t))return!1;let n=t.current;Z(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:i}=this.visualElement;if(!i||!i.layout)return!1;let s=function(e,t,r){let n=R(e,r),{scroll:i}=t;return i&&(D(n.x,i.offset.x),D(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),o=(e=i.layout.layoutBox,{x:nz(e.x,s.x),y:nz(e.y,s.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=x(e))}return o}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(nB(o=>{if(!nX(o,t,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});
1let u={type:"inertia",velocity:r?e[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return rt(this.visualElement,e),r.start(nh(e,r,0,t,this.visualElement,!1))}stopAnimation(){nB(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){nB(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){nB(t=>{let{drag:r}=this.getProps();if(!nX(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:s}=n.layout.layoutBox[t];i.set(e[t]-T(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!t5(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nB(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let r=t.get();n[e]=function(e,t){let r=.5,n=n_(e),i=n_(t);return i>n?r=rY(t.min,t.max-n,e.min):n>i&&(r=rY(e.min,e.max-i,t.min)),B(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),nB(t=>{if(!nX(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:s}=this.constraints[t];r.set(T(i,s,n[t]))})}addListeners(){if(!this.visualElement.current)return;nY.set(this.visualElement,this);let e=nC(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();t5(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),eu.read(t);let i=nA(window,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nB(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),n(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:s,dragMomentum:o}}}function nX(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class nZ extends nS{constructor(e){super(e),this.removeGroupControls=ei,this.removeListeners=ei,this.controls=new nq(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ei}unmount(){this.removeGroupControls(),this.removeListeners()}}let nQ=e=>(t,r)=>{e&&eu.postRender(()=>e(t,r))};class nJ extends nS{constructor(){super(...arguments),this.removePointerDownListener=ei}onPointerDown(e){this.session=new nV(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nI(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:nQ(e),onStart:nQ(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&eu.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=nC(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var n0=r(5601);let n1={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function n2(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let n5={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!H.test(e))return e;else e=parseFloat(e);let r=n2(e,t.target.x),n=n2(e,t.target.y);return`${r}% ${n}%`}},n3=!1;class n8 extends i.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;for(let e in n4)tw[e]=n4[e],v(e)&&(tw[e].isCSSVariable=!0);i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),n3&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),n1.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,{projection:s}=r;return s&&(s.isPresent=i,n3=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==i?s.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?s.promote():s.relegate()||eu.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),e4.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n3=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function n6(e){let[t,r]=(0,n0.xQ)(),n=(0,i.useContext)(tV.L);return(0,tN.jsx)(n8,{...e,layoutGroup:n,switchLayoutGroup:(0,i.useContext)(t8),isPresent:t,safeToRemove:r})}let n4={borderRadius:{...n5,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:n5,borderTopRightRadius:n5,borderBottomLeftRadius:n5,borderBottomRightRadius:n5,boxSh
1adow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=eV.parse(e);if(n.length>5)return e;let i=eV.createTransformer(e),s=+("number"!=typeof n[0]),o=r.x.scale*t.x,a=r.y.scale*t.y;n[0+s]/=o,n[1+s]/=a;let l=T(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),i(n)}}};var n9=r(3142);function n7(e){return(0,n9.G)(e)&&"ownerSVGElement"in e}let ie=(e,t)=>e.depth-t.depth;class it{constructor(){this.children=[],this.isDirty=!1}add(e){e0(this.children,e),this.isDirty=!0}remove(e){e1(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ie),this.isDirty=!1,this.children.forEach(e)}}let ir=["TopLeft","TopRight","BottomLeft","BottomRight"],ii=ir.length,is=e=>"string"==typeof e?parseFloat(e):e,io=e=>"number"==typeof e||H.test(e);function ia(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let il=ic(0,.5,rH),iu=ic(.5,.95,ei);function ic(e,t,r){return n=>n<e?0:n>t?1:r(rY(e,t,n))}function ih(e,t){e.min=t.min,e.max=t.max}function id(e,t){ih(e.x,t.x),ih(e.y,t.y)}function ip(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function im(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function iy(e,t,[r,n,i],s,o){!function(e,t=0,r=1,n=.5,i,s=e,o=e){if(F.test(t)&&(t=parseFloat(t),t=T(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=T(s.min,s.max,n);e===s&&(a-=t),e.min=im(e.min,t,r,a,i),e.max=im(e.max,t,r,a,i)}(e,t[r],t[n],t[i],t.scale,s,o)}let ig=["x","scaleX","originX"],iv=["y","scaleY","originY"];function ib(e,t,r,n){iy(e.x,t,ig,r?r.x:void 0,n?n.x:void 0),iy(e.y,t,iv,r?r.y:void 0,n?n.y:void 0)}function iE(e){return 0===e.translate&&1===e.scale}function iS(e){return iE(e.x)&&iE(e.y)}function ix(e,t){return e.min===t.min&&e.max===t.max}function iT(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function iw(e,t){return iT(e.x,t.x)&&iT(e.y,t.y)}function iP(e){return n_(e.x)/n_(e.y)}function iA(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class iO{constructor(){this.members=[]}add(e){e0(this.members,e),e.scheduleRender()}remove(e){if(e1(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,r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let iL={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},iC=["","X","Y","Z"],i_=0;function iD(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function iM({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=t?.()){this.id=i_++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ea.value&&(iL.nodes=iL.calculatedTargetDeltas=iL.calculatedProjections=0),this.nodes.forEac
1h(ij),this.nodes.forEach(iF),this.nodes.forEach(iH),this.nodes.forEach(iB),ea.addProjectionMetrics&&ea.addProjectionMetrics(iL)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new it)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new e2),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=n7(t)&&!(n7(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:r,layout:n,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,i=()=>this.root.updateBlockedByResize=!1;eu.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==n&&(n=e,this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=eJ.now(),n=({timestamp:t})=>{let i=t-r;i>=250&&(ec(n),e(i-250))};return eu.setup(n,!0),()=>ec(n)}(i,250),n1.hasAnimatedSinceResize&&(n1.hasAnimatedSinceResize=!1,this.nodes.forEach(iU)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||i.getDefaultTransition()||iq,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!iw(this.targetLayout,n),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...t7(s,"layout"),onPlay:o,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||iU(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(),ec(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.forEach(i$),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:r}=t.options;if(!r)return;let n=r.props[t3];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",eu,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(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:r}=this.options;if(void 0===t&&!r)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.forEac
1h(iN);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(iV);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(iK),this.nodes.forEach(ik),this.nodes.forEach(iR)):this.nodes.forEach(iV),this.clearAllSnapshots();let e=eJ.now();eh.delta=B(0,1e3/60,e-eh.timestamp),eh.timestamp=e,eh.isProcessing=!0,ed.update.process(eh),ed.preRender.process(eh),ed.render.process(eh),eh.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,e4.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(iI),this.sharedNodes.forEach(iz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eu.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eu.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||n_(this.snapshot.measuredBox.x)||n_(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.layoutCorrected=tn(),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:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!iS(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||A(this.latestValues)||s)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),iQ((t=n).x),iQ(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return tn();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(i0))){let{scroll:e}=this.root;e&&(D(t.x,e.offset.x),D(t.y,e.offset.y))}return t}removeElementScroll(e){let t=tn();if(id(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:s}=n;n!==this.root&&i&&s.layoutScroll&&(i.wasRoot&&id(t,e),D(t.x,i.offset.x),D(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let r=tn();id(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&k(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),A(n.latestValues)&&k(r,n.latestValues)}return A(this.latestValues)&&k(r,this.latestValues),r}removeTransform(e){let t=tn();id(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!A(r.latestValues))continue;P(r.latestValues)&&r.updateSnapshot();let n=tn();id(n,r.measurePageBox()),ib(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return A(this.latestValues)&&ib(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!==eh.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(this.layout&&(n||i)){if(this.resolvedRelativeTargetAt=eh.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tn(),this.relativeTargetOrigin=tn(),nj(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),id(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=tn(),this.targetWithTransforms=tn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,nk(s.x,o.x,a.x),nk(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):id(this.target,this.layout.layoutBox),_(this.target,this.targetDelta)):id(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tn(),this.relativeTargetOrigin=tn(),nj(this.relativeTargetOrigin,this.target,e.target),id(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ea.value&&iL.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||P(this.parent.latestValues)||O(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)}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===eh.timestamp&&(r=!1),r)return;let{layout:n,layoutId:i}=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||i))return;id(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(e,t,r,n=!1){let i,s,o=r.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(i=r[a]).projectionDelta;let{visualElement:o}=i.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&k(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,_(e,s)),n&&A(i.latestValues)&&k(e,i.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=tn());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ip(this.prevProjectionDelta.x,this.projectionDelta.x),ip(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nM(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&iA(this.projectionDelta.x,this.prevProjectionDelta.x)&&iA(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),ea.value&&iL.calculatedProjections++}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=tt(),this.projectionDelta=tt(),this.projectionDeltaWithTransform=tt()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,i=n?n.latestValues:{},s={...this.latestValues},o=tt();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=tn(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(iY));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;
1if(iG(o.x,e.x,n),iG(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,m,y;nj(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,y=n,iW(p.x,f.x,m.x,y),iW(p.y,f.y,m.y,y),r&&(u=this.relativeTarget,d=r,ix(u.x,d.x)&&ix(u.y,d.y))&&(this.isProjectionDirty=!1),r||(r=tn()),id(r,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,r,n,i,s){i?(e.opacity=T(0,r.opacity??1,il(n)),e.opacityExit=T(t.opacity??1,0,iu(n))):s&&(e.opacity=T(t.opacity??1,r.opacity??1,n));for(let i=0;i<ii;i++){let s=`border${ir[i]}Radius`,o=ia(t,s),a=ia(r,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||io(o)===io(a)?(e[s]=Math.max(T(is(o),is(a),n),0),(F.test(a)||F.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||r.rotate)&&(e.rotate=T(t.rotate||0,r.rotate||0,n))}(s,i,this.latestValues,n,h,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&&(ec(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eu.update(()=>{n1.hasAnimatedSinceResize=!0,ro.layout++,this.motionValue||(this.motionValue=e8(0)),this.currentAnimation=function(e,t,r){let n=eZ(e)?e:e8(e);return n.start(nh("",n,t,r)),n.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{ro.layout--},onComplete:()=>{ro.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),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:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&iJ(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||tn();let t=n_(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=n_(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}id(t,r),k(t,i),nM(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new iO),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.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:r}={}){let n=this.getStack();n&&n.promote(this,r),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:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&iD("z",e,n,this.animationValues);for(let t=0;t<iC.length;t++)iD(`rotate${iC[t]}`,e,n,this.animationValues),iD(`skew${iC[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 r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=tQ(t?.pointerEvents)||"",e.transform=r?r(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=tQ(t?.pointerEvents)||""),this.hasProjected&&!A(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(e,t,r){let n="",i=e.x.translate/t.x,s=e.y.translate/t.y,o=r?.z||0;if((i||s||o)&&(n=`translate3d(${i}px, ${s}px, ${o}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:s,skewX:o,skewY:a}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);r&&(s=r(i,s)),e.transform=s;let{x:o,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?e.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,tw
1){if(void 0===i[t])continue;let{correct:r,applyTo:o,isCSSVariable:a}=tw[t],l="none"===s?i[t]:r(i[t],n);if(o){let t=o.length;for(let r=0;r<t;r++)e[o[r]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?tQ(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(iN),this.root.sharedNodes.clear()}}}function ik(e){e.updateLayout()}function iR(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:i}=e.options,s=t.source!==e.layout.source;"size"===i?nB(e=>{let n=s?t.measuredBox[e]:t.layoutBox[e],i=n_(n);n.min=r[e].min,n.max=n.min+i}):iJ(i,t.layoutBox,r)&&nB(n=>{let i=s?t.measuredBox[n]:t.layoutBox[n],o=n_(r[n]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+o)});let o=tt();nM(o,r,t.layoutBox);let a=tt();s?nM(a,e.applyTransform(n,!0),t.measuredBox):nM(a,r,t.layoutBox);let l=!iS(o),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:s}=n;if(i&&s){let o=tn();nj(o,t.layoutBox,i.layoutBox);let a=tn();nj(a,r,s.layoutBox),iw(o,a)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ij(e){ea.value&&iL.nodes++,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 iB(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function iI(e){e.clearSnapshot()}function iN(e){e.clearMeasurements()}function iV(e){e.isLayoutDirty=!1}function iK(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function iU(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function iF(e){e.resolveTargetDelta()}function iH(e){e.calcProjection()}function i$(e){e.resetSkewAndRotation()}function iz(e){e.removeLeadSnapshot()}function iG(e,t,r){e.translate=T(t.translate,0,r),e.scale=T(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function iW(e,t,r,n){e.min=T(t.min,r.min,n),e.max=T(t.max,r.max,n)}function iY(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let iq={duration:.45,ease:[.4,0,.1,1]},iX=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),iZ=iX("applewebkit/")&&!iX("chrome/")?Math.round:ei;function iQ(e){e.min=iZ(e.min),e.max=iZ(e.max)}function iJ(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(iP(t)-iP(r)))}function i0(e){return e!==e.root&&e.scroll?.wasRoot}let i1=iM({attachResizeListener:(e,t)=>nA(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),i2={current:void 0},i5=iM({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!i2.current){let e=new i1({});e.mount(window),e.setOptions({layoutScroll:!0}),i2.current=e}return i2.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});var i3=r(8561);function i8(e,t){let r=(0,i3.K)(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function i6(e){return!("touch"===e.pointerType||nP.x||nP.y)}function i4(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&eu.postRender(()=>i(t,nL(t)))}class i9 extends nS{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,s]=i8(e,r),o=e=>{if(!i6(e))return;let{target:r}=e,n=t(r,e);if("function"!=typeof n||!r)return;let s=e=>{i6(e)&&(n(e),r.removeEventListener("pointerleave",s))};r.addEventListener("pointerleave",s,i)};
1return n.forEach(e=>{e.addEventListener("pointerenter",o,i)}),s}(e,(e,t)=>(i4(this.node,t,"Start"),e=>i4(this.node,e,"End"))))}unmount(){}}class i7 extends nS{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=ri(nA(this.node.current,"focus",()=>this.onFocus()),nA(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var se=r(9021);let st=(e,t)=>!!t&&(e===t||st(e,t.parentElement)),sr=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),sn=new WeakSet;function si(e){return t=>{"Enter"===t.key&&e(t)}}function ss(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function so(e){return nO(e)&&!(nP.x||nP.y)}function sa(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&eu.postRender(()=>i(t,nL(t)))}class sl extends nS{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,s]=i8(e,r),o=e=>{let n=e.currentTarget;if(!so(e))return;sn.add(n);let s=t(n,e),o=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),sn.has(n)&&sn.delete(n),so(e)&&"function"==typeof s&&s(e,{success:t})},a=e=>{o(e,n===window||n===document||r.useGlobalTarget||st(n,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return n.forEach(e=>{((r.useGlobalTarget?window:e).addEventListener("pointerdown",o,i),(0,se.s)(e))&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=si(()=>
1{if(sn.has(r))return;ss(r,"down");let e=si(()=>{ss(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>ss(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,i)),sr.has(e.tagName)||-1!==e.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(sa(this.node,t,"Start"),(e,{success:t})=>sa(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let su=new WeakMap,sc=new WeakMap,sh=e=>{let t=su.get(e.target);t&&t(e)},sd=e=>{e.forEach(sh)},sp={some:0,all:1};class sf extends nS{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,s={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:sp[n]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),s=t?r:n;s&&s(e)};var a=this.node.current;let l=function({root:e,...t}){let r=e||document;sc.has(r)||sc.set(r,{});let n=sc.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(sd,{root:e,...t})),n[i]}(s);return su.set(a,o),l.observe(a),()=>{su.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}let sm=function(e,t){if("undefined"==typeof Proxy)return t4;let r=new Map,n=(r,n)=>t4(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(i,s)=>"create"===s?n:(r.has(s)||r.set(s,t4(s,void 0,e,t)),r.get(s))})}({animation:{Feature:nx},exit:{Feature:nw},inView:{Feature:sf},tap:{Feature:sl},focus:{Feature:i7},hover:{Feature:i9},pan:{Feature:nJ},drag:{Feature:nZ,ProjectionNode:i5,MeasureLayout:n6},layout:{ProjectionNode:i5,MeasureLayout:n6}},(e,t)=>tI(e)?new tj(t):new tO(t,{allowProjection:e!==i.Fragment}))},1262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(2115),i=n.useLayoutEffect,s=n.useEffect;function o(e){let{headManager:t,reduceComponentsToState:r}=e;function o(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),s(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},1356:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return E}});let n=r(8140),i=r(9417),s=r(5155),o=i._(r(2115)),a=n._(r(7650)),l=n._(r(4841)),u=r(5040),c=r(821),h=r(3455);r(4781);let d=r(9862),p=n._(r(1124)),f=r(3011),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function y(e,t,r,n,i,s,o){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function g(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,o.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:a,width:l,decoding:u,className:c,style:h,fetchPriority:d,placeholder:p,loading:m,unoptimized:v,fill:b,onLoadRef:E,onLoadingCompleteRef:S,setBlurComplete:x,setShowAltText:T,sizesInput:w,onLoad:P,onError:A,...O}=e,L=(0,o.useCallback)(e=>{e&&(A&&(e.src=e.src),e.complete&&y(e,p,E,S,x,v,w))},[r,p,E,S,x,A,v,w]),C=(0,f.useMergedRef)(t,L);return(0,s.jsx)("img",{...O,...g(d),loading:m,width:l,height:a,decoding:u,"data-nimg":b?"fill":"1",className:c,style:h,sizes:i,srcSet:n,src:r,ref:C,onLoad:e=>{y(e.currentTarget,p,E,S,x,v,w)},onError:e=>{T(!0),"empty"!==p&&x(!0),A&&A(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...g(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let E=(0,o.forwardRef)((e,t)=>{let r=(0,o.useContext)(d.RouterContext),n=(0,o.useContext)(h.ImageConfigContext),i=(0,o.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
1e-t),i=t.deviceSizes.sort((e,t)=>e-t),s=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:s}},[n]),{onLoad:a,onLoadingComplete:l}=e,f=(0,o.useRef)(a);(0,o.useEffect)(()=>{f.current=a},[a]);let y=(0,o.useRef)(l);(0,o.useEffect)(()=>{y.current=l},[l]);let[g,E]=(0,o.useState)(!1),[S,x]=(0,o.useState)(!1),{props:T,meta:w}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:g,showAltText:S});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v,{...T,unoptimized:w.unoptimized,placeholder:w.placeholder,fill:w.fill,onLoadRef:f,onLoadingCompleteRef:y,setBlurComplete:E,setShowAltText:x,sizesInput:e.sizes,ref:t}),w.priority?(0,s.jsx)(b,{isAppRouter:!r,imgAttributes:T}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var n=function(e){return e&&e.__esModule?e:{default:e}}(r(474)),i=r(7276);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(){var e;function t(e,r){var s=this,l=this;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");o(this,"obj",void 0),o(this,"path",void 0),o(this,"_errors",void 0),o(this,"catch",void 0),o(this,"exists",void 0),o(this,"object",void 0),o(this,"string",void 0),o(this,"number",void 0),o(this,"array",void 0),o(this,"enum",void 0),o(this,"empty",void 0),o(this,"minLength",void 0),o(this,"noAdditionalProperties",void 0),o(this,"each",void 0),this.obj=e,this.path=r,this._errors=[],this.catch=function(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=l._errors).push.apply(e,a(r))},this.exists=function(e){return e in s.obj||(s.catch((0,i.requiredPropertyError)({property:e,path:s.path.of(e)})),!1)},this.object=function(e){var t,r=e?s.obj[e]:s.obj;if(e&&!s.exists(e))return!1;if((0,n.default)(r))return!0;var o=e?s.path.of(e):s.path,a=null!=(t=null!=e?e:s.path.last())?t:"value";return s.catch((0,i.typeMismatchError)({typeName:"Object",property:a,path:o,value:r})),!1},this.string=function(e){var t=s.obj[e];return(!e||!!s.exists(e))&&("string"==typeof t||(s.catch((0,i.typeMismatchError)({typeName:"String",property:e,path:s.path.of(e),value:t})),!1))},this.number=function(e,t){var r=s.obj[e];return!!t&&!(e in s.obj)||!!s.exists(e)&&(!("number"!=typeof r||Number.isNaN(r))||(s.catch((0,i.typeMismatchError)({typeName:"Number",property:e,path:s.path.of(e),value:r})),!1))},this.array=function(e){var t=s.obj[e];return(!e||!!s.exists(e))&&(!!Array.isArray(t)||(s.catch((0,i.typeMismatchError)({typeName:"Array",property:e,path:s.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=s.obj[e];return!!("string"==typeof r&&t.includes(r))||(s.catch((0,i.enumError)({expected:t,value:r,path:s.path.of(e)})),!1)},this.empty=function(e){if(!s.array(e))return!1;var t=s.obj[e];return 0===t.length||(s.catch((0,i.maxSizeError)({max:0,value:t,path:s.path.of(e)})),!1)},this.minLength=function(e,t){if(!s.array(e))return!1;var r=s.obj[e];return r.length>=t||(s.catch((0,i.minSizeError)({min:t,value:r,path:s.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(s.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return s.catch((0,i.unknownPropertyError)({property:e,path:s.path.of(e)}))}),0===t.length},this.each=function(e,t){if(s.array(e)){var r=s.obj[e],n=!1;r.forEach(function(r,i){if(!n){var o=t(r,s.path.of(e).of(i));o.length>0&&(n=!0),s.catch.apply(s,a(o))}})}}}return e=[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(r,n){return e._errors.findIndex(function(e){return t(r)===t(e)})===n})}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}()},1875:function(e,t){var r,n;void 0===(n="function"==typeof(r=function(){"use strict";var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r="boolean"==typeof RegExp().sticky;function n(e){return e&&"[object RegExp]"===t.call(e)}function i(e){return e&&"object"==typeof e&&!n(e)&&!Array.isArray(e)}function s(e){return e.length?"(?:"+e.map(function(e){return"(?:"+e+")"}).join("|")+")":"(?!)"}function o(e){if("string"==typeof e)return"(?:"+e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(n(e)){if(e.ignoreCase)throw Error("RegExp /i flag not allowed");if(e.global)throw Error("RegExp /g flag is implied");
vendor: 7,092 bytes, line 1
1if(e.sticky)throw Error("RegExp /y flag is implied");if(e.multiline)throw Error("RegExp /m flag is implied");return e.source}throw Error("Not a pattern: "+e)}function a(e,t){return e.length>t?e:Array(t-e.length+1).join(" ")+e}function l(t,r){if(i(r)||(r={match:r}),r.include)throw Error("Matching rules cannot also include states");var s={defaultType:t,lineBreaks:!!r.error||!!r.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var o in r)e.call(r,o)&&(s[o]=r[o]);if("string"==typeof s.type&&t!==s.type)throw Error("Type transform cannot be a string (type '"+s.type+"' for token '"+t+"')");var a=s.match;return s.match=Array.isArray(a)?a:a?[a]:[],s.match.sort(function(e,t){return n(e)&&n(t)?0:n(t)?-1:n(e)?1:t.length-e.length}),s}function u(e){return Array.isArray(e)?function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];if(n.include){for(var i=[].concat(n.include),s=0;s<i.length;s++)t.push({include:i[s]});continue}if(!n.type)throw Error("Rule has no type: "+JSON.stringify(n));t.push(l(n.type,n))}return t}(e):function(e){for(var t=Object.getOwnPropertyNames(e),r=[],n=0;n<t.length;n++){var s=t[n],o=[].concat(e[s]);if("include"===s){for(var a=0;a<o.length;a++)r.push({include:o[a]});continue}var u=[];o.forEach(function(e){i(e)?(u.length&&r.push(l(s,u)),r.push(l(s,e)),u=[]):u.push(e)}),u.length&&r.push(l(s,u))}return r}(e)}var c=l("error",{lineBreaks:!0,shouldThrow:!0});function h(e,t){for(var i=null,a=Object.create(null),l=!0,u=null,h=[],d=[],p=0;p<e.length;p++)e[p].fallback&&(l=!1);for(var p=0;p<e.length;p++){var f=e[p];if(f.include)throw Error("Inheritance is not allowed in stateless lexers");if(f.error||f.fallback){if(i)if(!f.fallback==!i.fallback)throw Error("Multiple "+(f.fallback?"fallback":"error")+" rules not allowed (for token '"+f.defaultType+"')");else throw Error("fallback and error are mutually exclusive (for token '"+f.defaultType+"')");i=f}var m=f.match.slice();if(l)for(;m.length&&"string"==typeof m[0]&&1===m[0].length;)a[m.shift().charCodeAt(0)]=f;if(f.pop||f.push||f.next){if(!t)throw Error("State-switching options are not allowed in stateless lexers (for token '"+f.defaultType+"')");if(f.fallback)throw Error("State-switching options are not allowed on fallback tokens (for token '"+f.defaultType+"')")}if(0!==m.length){l=!1,h.push(f);for(var y=0;y<m.length;y++){var g=m[y];if(n(g)){if(null===u)u=g.unicode;else if(u!==g.unicode&&!1===f.fallback)throw Error("If one rule is /u then all must be")}}var v=s(m.map(o)),b=new RegExp(v);if(b.test(""))throw Error("RegExp matches empty string: "+b);if(RegExp("|"+v).exec("").length-1>0)throw Error("RegExp has capture groups: "+b+"\nUse (?: … ) instead");if(!f.lineBreaks&&b.test("\n"))throw Error("Rule should declare lineBreaks: "+b);d.push("("+v+")")}}var E=i&&i.fallback,S=r&&!E?"ym":"gm";return!0===u&&(S+="u"),{regexp:new RegExp(s(d)+(r||E?"":"|"),S),groups:h,fast:a,error:i||c}}function d(e,t,r){var n=e&&(e.push||e.next);if(n&&!r[n])throw Error("Missing state '"+n+"' (in token '"+e.defaultType+"' of state '"+t+"')");if(e&&e.pop&&1!=+e.pop)throw Error("pop must be 1 (in token '"+e.defaultType+"' of state '"+t+"')")}var p=function(e,t){this.startState=t,this.states=e,this.buffer="",this.stack=[],this.reset()};p.prototype.reset=function(e,t){return this.buffer=e||"",this.index=0,this.line=t?t.line:1,this.col=t?t.col:1,this.queuedToken=t?t.queuedToken:null,this.queuedText=t?t.queuedText:"",this.queuedThrow=t?t.queuedThrow:null,this.setState(t?t.state:this.startState),this.stack=t&&t.stack?t.stack.slice():[],this},p.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},p.prototype.setState=function(e){if(e&&this.state!==e){this.state=e;var t=this.states[e];this.groups=t.groups,this.error=t.error,this.re=t.regexp,this.fast=t.fast}},p.prototype.popState=function(){this.setState(this.stack.pop())},p.prototype.pushState=function(e){this.stack.push(this.state),this.setState(e)};var f=r?function(e,t){return e.exec(t)}:function(e,t){var r=e.exec(t);return 0===r[0].length?null:r};function m(){return this.value}if(p.prototype._getGroup=function(e){for(var t=this.groups.length,r=0;r<t;r++)if(void 0!==e[r+1])return this.groups[r];throw Error("Cannot find token type for matched text")},p.prototype.next=function(){var e=this.index;if(this.queuedGroup){var t=this._token(this.queuedGroup,this.queuedText,e);return this.queuedGroup=null,this.queuedText="",t}var r=this.buffer;if(e!==r.length){var n=this.fast[r.charCodeAt(e)];if(n)return this._token(n,r.charAt(e),e);var i=this.re;i.lastIndex=e;var s=f(i,r),o=this.error;if(null==s)return this._token(o,r.slice(e,r.length),e);var n=this._getGroup(s),a=s[0];return o.fallback&&s.index!==e?(this.queuedGroup=n,this.queuedText=a,this._token(o,r.slice(e,s.index),e)):this._token(n,a,e)}},p.prototype._token=function(e,t,r){var n=0;if(e.lineBreaks){var i=/\n/g,s=1;if("\n"===t)n=1;else for(;i.exec(t);)n++,s=i.lastIndex}var o={type:"function"==typeof e.type&&e.type(t)||e.defaultType,value:"function"==typeof e.value?e.value(t):t,text:t,toString:m,offset:r,lineBreaks:n,line:this.line,col:this.col},a=t.length;if(this.index+=a,this.line+=n,0!==n?this.col=a-s+1:this.col+=a,e.shouldThrow)throw Error(this.formatError(o,"invalid syntax"));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),o},"undefined"!=typeof Symbol&&Symbol.iterator){var y=function(e){this.lexer=e};y.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},y.prototype[Symbol.iterator]=function(){return this},p.prototype[Symbol.iterator]=function(){return new y(this)}}return p.prototype.formatError=function(e,t){if(null==e)var r=this.buffer.slice(this.index),e={text:r,offset:this.index,lineBreaks:+(-1!==r.indexOf("\n")),line:this.line,col:this.col};var n=Math.max(e.line-2,1),i=String(e.line+2).length,s=(function(e,t){for(var r=e.length,n=0;;){var i=e.lastIndexOf("\n",r-1);if(-1===i)break;if(n++,r=i,n===t||0===r)break}var s=n<t?0:r+1;return e.substring(s).split("\n")})(this.buffer,this.line-e.line+2+1).slice(0,5),o=[];o.push(t+" at line "+e.line+" col "+e.col+":"),o.push("");for(var l=0;l<s.length;l++){var u=s[l],c=n+l;o.push(a(String(c),i)+"  "+u),c===e.line&&o.push(a("",i+e.col+1)+"^")}return o.join("\n")},p.prototype.clone=function(){return new p(this.states,this.state)},p.prototype.has=function(e){return!0},{compile:function(e){return new p({start:h(u(e))},"start")},states:function(e,t){var r=e.$all?u(e.$all):[];delete e.$all;var n=Object.getOwnPropertyNames(e);t||(t=n[0]);for(var i=Object.create(null),s=0;s<n.length;s++){var o=n[s];i[o]=u(e[o]).concat(r)}for(var s=0;s<n.length;s++)for(var o=n[s],a=i[o],l=Object.create(null),c=0;c<a.length;c++){var f=a[c];if(f.include){var m=[c,1];if(f.include!==o&&!l[f.include]){l[f.include]=!0;var y=i[f.include];if(!y)throw Error("Cannot include nonexistent state '"+f.include+"' (in state '"+o+"')");for(var g=0;g<y.length;g++){var v=y[g];-1===a.indexOf(v)&&m.push(v)}}
1a.splice.apply(a,m),c--}}for(var b=Object.create(null),s=0;s<n.length;s++){var o=n[s];b[o]=h(i[o],!0)}for(var s=0;s<n.length;s++){for(var E=n[s],S=b[E],x=S.groups,c=0;c<x.length;c++)d(x[c],E,b);for(var T=Object.getOwnPropertyNames(S.fast),c=0;c<T.length;c++)d(S.fast[T[c]],E,b)}return new p(b,t)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(e){for(var t="undefined"!=typeof Map,r=t?new Map:Object.create(null),n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++){var s=n[i],o=e[s];(Array.isArray(o)?o:[o]).forEach(function(e){if("string"!=typeof e)throw Error("keyword must be string (in keyword '"+s+"')");t?r.set(e,s):r[e]=s})}return function(e){return t?r.get(e):r[e]}}}})?r.apply(t,[]):r)||(e.exports=n)},2062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"INLINES",{enumerable:!0,get:function(){return r}});var r=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})},2084:(e,t)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Path",{enumerable:!0,get:function(){return i}});var i=function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!(this instanceof e))throw TypeError("Cannot call a class as a function");n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=i,this.of=function(n){var i;return new e(((function(e){if(Array.isArray(e))return r(e)})(i=t.path)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return r(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}},2296:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return f},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return g},NormalizeError:function(){return m},PageNotFoundError:function(){return y},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return o},getURL:function(){return a},isAbsoluteUrl:function(){return s},isResSent:function(){return u},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,i=Array(n),s=0;s<n;s++)i[s]=arguments[s];return r||(r=!0,t=e(...i)),t}}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>i.test(e);function o(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function a(){let{href:e}=window.location,t=o();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
1configurable:!0});return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class f extends Error{}class m extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},2619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return y},useLinkStatus:function(){return v}});let n=r(9417),i=r(5155),s=n._(r(2115)),o=r(7670),a=r(6752),l=r(3011),u=r(2296),c=r(6058);r(4781);let h=r(3499),d=r(8607),p=r(1807);r(7045);let f=r(6048);function m(e){return"string"==typeof e?e:(0,o.formatUrl)(e)}function y(e){var t;let r,n,o,[y,v]=(0,s.useOptimistic)(h.IDLE_LINK_STATUS),b=(0,s.useRef)(null),{href:E,as:S,children:x,prefetch:T=null,passHref:w,replace:P,shallow:A,scroll:O,onClick:L,onMouseEnter:C,onTouchStart:_,legacyBehavior:D=!1,onNavigate:M,ref:k,unstable_dynamicOnHover:R,...j}=e;r=x,D&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let B=s.default.useContext(a.AppRouterContext),I=!1!==T,N=!1!==T?null===(t=T)||"auto"===t?f.FetchStrategy.PPR:f.FetchStrategy.Full:f.FetchStrategy.PPR,{href:V,as:K}=s.default.useMemo(()=>{let e=m(E);return{href:e,as:S?m(S):e}},[E,S]);D&&(n=s.default.Children.only(r));let U=D?n&&"object"==typeof n&&n.ref:k,F=s.default.useCallback(e=>(null!==B&&(b.current=(0,h.mountLinkInstance)(e,V,B,N,I,v)),()=>{b.current&&((0,h.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,h.unmountPrefetchableInstance)(e)}),[I,V,B,N,v]),H={ref:(0,l.useMergedRef)(F,U),onClick(e){D||"function"!=typeof L||L(e),D&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),B&&(e.defaultPrevented||function(e,t,r,n,i,o,a){let{nodeName:l}=e.currentTarget;if(!("A"===l.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,d.isLocalURL)(t)){i&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}s.default.startTransition(()=>{(0,p.dispatchNavigateAction)(r||t,i?"replace":"push",null==o||o,n.current)})}}(e,V,K,b,P,O,M))},onMouseEnter(e){D||"function"!=typeof C||C(e),D&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),B&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===R)},onTouchStart:function(e){D||"function"!=typeof _||_(e),D&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),B&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===R)}};return(0,u.isAbsoluteUrl)(K)?H.href=K:D&&!w&&("a"!==n.type||"href"in n.props)||(H.href=(0,c.addBasePath)(K)),o=D?s.default.cloneElement(n,H):(0,i.jsx)("a",{...j,...H,children:r}),(0,i.jsx)(g.Provider,{value:y,children:o})}let g=(0,s.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,s.useContext)(g);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get EntityLinkAssertion(){return y},get HyperLinkAssertion(){return g},get NodeAssertion(){return m},get VOID_CONTENT(){return f},get assert(){return v},get assertLink(){return b}});var n=r(1613);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function s(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,r){var n,i,o;return t=u(t),n=e,(i=p()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r))&&("object"==((o=i)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)||"function"==typeof i)?i:s(n)}function a(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}
1function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var f=[],m=function(){var e;function t(e,r){a(this,t),l(this,"contentRule",void 0),l(this,"validateData",void 0),this.contentRule=e,this.validateData=r}return e=[{key:"assert",value:function(e,t){var r=new n.ObjectAssertion(e,t);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var i=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),s=i.nodeTypes,o=i.min,a=void 0===o?0:o;if(0===s.length&&a>0)throw Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(r.minLength("content",a),0===s.length?r.empty("content"):r.each("content",function(e,t){var r=new n.ObjectAssertion(e,t);return r.object()&&r.enum("nodeType",s),r.errors}),r.object("data")){var l,u,c=null!=(u=null==(l=this.validateData)?void 0:l.call(this,e.data,t.of("data")))?u:[];r.catch.apply(r,d(c))}return r.errors}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}(),y=function(e){function t(e,r){var i;return a(this,t),l(i=o(this,t,[r,function(e,t){return s(i).assertLink(e,t)}]),"linkType",void 0),l(i,"type",void 0),l(i,"assertLink",void 0),i.linkType=e,i.assertLink=function(e,t){var r=new n.ObjectAssertion(e,t);if(r.object("target")){var s=new n.ObjectAssertion(e.target.sys,t.of("target").of("sys"));s.object()&&(s.enum("type",[i.type]),s.enum("linkType",[i.linkType]),"Link"===i.type?(s.string("id"),s.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===i.type&&(s.string("urn"),s.noAdditionalProperties(["type","linkType","urn"]))),r.catch.apply(r,d(s.errors))}return r.noAdditionalProperties(["target"]),r.errors},i.type=i.linkType.startsWith("Contentful:")?"ResourceLink":"Link",i}return c(t,e),t}(m),g=function(e){function t(){var e;return a(this,t),l(e=o(this,t,[["text"],function(t,r){return s(e).assertLink(t,r)}]),"assertLink",function(e,t){var r=new n.ObjectAssertion(e,t);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return c(t,e),t}(m),v=function(e,t){return new m(e,t)},b=function(e,t){return new y(e,t)}},3011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(2115);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=s(e,n)),t&&(i.current=s(t,n))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3068:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"assertText",{enumerable:!0,get:function(){return i}});var n=r(1613);function i(e,t){var r=new n.ObjectAssertion(e,t);return r.object()&&(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,t){var r=new n.ObjectAssertion(e,t);return r.object()&&r.string("type"),r.errors}),r.string("value")),r.errors}},3078:(e,t)=>{"use strict";function r(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,n(e));else t.set(r,n(i));return t}function s(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return s},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return i}})},3127:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});let n=(0,r(2115).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},3142:(e,t,r)=>{"use strict";function n(e){return"object"==typeof e&&null!==e}r.d(t,{G:()=>n})},3455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let n=r(8140)._(r(2115)),i=r(821),s=n.default.createContext(i.imageConfigDefault)},3577:(e,t,r)=>{"use strict";r.d(t,{B:()=>n});let n="undefined"!=typeof window},3929:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4105:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:s,objectFit:o}=e,a=n?40*n:t,l=i?40*i:r,u=a&&l?"viewBox='0 0 "+a+" "+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"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},4416:(e,t,r)=>{"use strict";r.d(t,{M:()=>i});var n=r(2115);function i(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},4570:(e,t,r)=>{"use strict";r.d(t,{W:()=>o});var n=r(2115),i=r(8561);let s={some:0,all:1};function o(e,{root:t,margin:r,amount:a,once:l=!1,initial:u=!1}={}){let[c,h]=(0,n.useState)(u);return(0,n.useEffect)(()=>{if(!e.current||l&&c)return;let n={root:t&&t.current||void 0,margin:r,amount:a};return function(e,t,{root:r,margin:n,amount:o="some"}={}){let a=(0,i.K)(e),l=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{let r=l.get(e.target);if(!!r!==e.isIntersecting)if(e.isIntersecting){let r=t(e.target,e);"function"==typeof r?l.set(e.target,r):u.unobserve(e.target)}else"function"==typeof r&&(r(e),l.delete(e.target))})},{root:r,rootMargin:n,threshold:"number"==typeof o?o:s[o]});return a.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(h(!0),l?void 0:()=>h(!1)),n)},[t,e,r,l,a]),c}},4652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return a}});let n=r(8140),i=r(5040),s=r(1356),o=n._(r(1124));function a(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=s.Image},4841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return h}});let n=r(8140),i=r(9417),s=r(5155),o=i._(r(2115)),a=n._(r(1262)),l=r(737),u=r(2073),c=r(861);function h(e){void 0===e&&(e=!1);let t=[(0,s.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(4781);let p=["name","httpEquiv","charSet","itemProp"];function f(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(h(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let s=!0,o=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){o=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?s=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?s=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(i.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?s=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!o)&&r.has(e)?s=!1:(r.add(e),n[t]=r)}}}return s}}()).reverse().map((e,t)=>{let r=e.key||t;return o.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,o.useContext)(l.AmpStateContext),n=(0,o.useContext)(u.HeadManagerContext);return(0,s.jsx)(a.default,{reduceComponentsToState:f,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return l}}),r(4781);let n=r(4105),i=r(821),s=["-moz-initial","fill","none","scale-down",void 0];function o(e){return void 0!==e.default}function a(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 l(e,t){var r,l;let u,c,h,{src:d,sizes:p,unoptimized:f=!1,priority:m=!1,loading:y,className:g,quality:v,width:b,height:E,fill:S=!1,style:x,overrideSrc:T,onLoad:w,onLoadingComplete:P,placeholder:A="empty",blurDataURL:O,fetchPriority:L,decoding:C="async",layout:_,objectFit:D,objectPosition:M,lazyBoundary:k,lazyRoot:R,...j}=e,{imgConf:B,showAltText:I,blurComplete:N,defaultLoader:V}=t,K=B||i.imageConfigDefault;if("allSizes"in K)u=K;else{let e=[...K.deviceSizes,...K.imageSizes].sort((e,t)=>e-t),t=K.deviceSizes.sort((e,t)=>e-t),n=null==(r=K.qualities)?void 0:r.sort((e,t)=>e-t);u={...K,allSizes:e,deviceSizes:t,qualities:n}}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 U=j.loader||V;delete j.loader,delete j.srcSet;let F="__next_img_default"in U;if(F){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=U;U=t=>{let{config:r,...n}=t;return e(n)}}if(_){"fill"===_&&(S=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[_];e&&(x={...x,...e});let t={responsive:"100vw",fill:"100vw"}[_];t&&!p&&(p=t)}let H="",$=a(b),z=a(E);if((l=d)&&"object"==typeof l&&(o(l)||void 0!==l.src)){let e=o(d)?d.default:d;if(!e.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(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.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(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,h=e.blurHeight,O=O||e.blurDataURL,H=e.src,!S)if($||z){if($&&!z){let t=$/e.width;z=Math.round(e.height*t)}else if(!$&&z){let t=z/e.height;$=Math.round(e.width*t)}}else $=e.width,z=e.height}let G=!m&&("lazy"===y||void 0===y);(!(d="string"==typeof d?d:H)||d.startsWith("data:")||d.startsWith("blob:"))&&(f=!0,G=!1),u.unoptimized&&(f=!0),F&&!u.dangerouslyAllowSVG&&d.split("?",1)[0].endsWith(".svg")&&(f=!0);let W=a(v),Y=Object.assign(S?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:D,objectPosition:M}:{},I?{}:{color:"transparent"},x),q=N||"empty"===A?null:"blur"===A?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:$,heightInt:z,blurWidth:c,blurHeight:h,blurDataURL:O||"",objectFit:Y.objectFit})+'")':'url("'+A+'")',X=s.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,Z=q?{backgroundSize:X,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:s,sizes:o,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((e,n)=>a({config:t,src:r,quality:s,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:a({config:t,src:r,quality:s,width:l[c]})}}({config:u,src:d,unoptimized:f,width:$,quality:W,sizes:p,loader:U});return{props:{...j,loading:G?"lazy":y,fetchPriority:L,width:$,height:z,decoding:C,className:g,style:{...Y,...Z},sizes:Q.sizes,srcSet:Q.srcSet,src:T||Q.src},meta:{unoptimized:f,priority:m,placeholder:A,fill:S}}}},5239:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(4652),i=r.n(n)},5601:(e,t,r)=>{"use strict";r.d(t,{xQ:()=>s});var n=r(2115),i=r(9686);function s(e=!0){let t=(0,n.useContext)(i.t);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:o,register:a}=t,l=(0,n.useId)();(0,n.useEffect)(()=>
1{if(e)return a(l)},[e]);let u=(0,n.useCallback)(()=>e&&o&&o(l),[l,o,e]);return!r&&o?[!1,u]:[!0]}},5688:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return i}});var n=r(990),i={nodeType:n.BLOCKS.DOCUMENT,data:{},content:[{nodeType:n.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}},5814:(e,t,r)=>{"use strict";var n=r(2115),i=r(8300);let s={[i.BLOCKS.DOCUMENT]:(e,t)=>t,[i.BLOCKS.PARAGRAPH]:(e,t)=>n.createElement("p",null,t),[i.BLOCKS.HEADING_1]:(e,t)=>n.createElement("h1",null,t),[i.BLOCKS.HEADING_2]:(e,t)=>n.createElement("h2",null,t),[i.BLOCKS.HEADING_3]:(e,t)=>n.createElement("h3",null,t),[i.BLOCKS.HEADING_4]:(e,t)=>n.createElement("h4",null,t),[i.BLOCKS.HEADING_5]:(e,t)=>n.createElement("h5",null,t),[i.BLOCKS.HEADING_6]:(e,t)=>n.createElement("h6",null,t),[i.BLOCKS.EMBEDDED_ENTRY]:(e,t)=>n.createElement("div",null,t),[i.BLOCKS.EMBEDDED_RESOURCE]:(e,t)=>n.createElement("div",null,t),[i.BLOCKS.UL_LIST]:(e,t)=>n.createElement("ul",null,t),[i.BLOCKS.OL_LIST]:(e,t)=>n.createElement("ol",null,t),[i.BLOCKS.LIST_ITEM]:(e,t)=>n.createElement("li",null,t),[i.BLOCKS.QUOTE]:(e,t)=>n.createElement("blockquote",null,t),[i.BLOCKS.HR]:()=>n.createElement("hr",null),[i.BLOCKS.TABLE]:(e,t)=>n.createElement("table",null,n.createElement("tbody",null,t)),[i.BLOCKS.TABLE_ROW]:(e,t)=>n.createElement("tr",null,t),[i.BLOCKS.TABLE_HEADER_CELL]:(e,t)=>
1n.createElement("th",null,t),[i.BLOCKS.TABLE_CELL]:(e,t)=>n.createElement("td",null,t),[i.INLINES.ASSET_HYPERLINK]:e=>a(i.INLINES.ASSET_HYPERLINK,e),[i.INLINES.ENTRY_HYPERLINK]:e=>a(i.INLINES.ENTRY_HYPERLINK,e),[i.INLINES.RESOURCE_HYPERLINK]:e=>l(i.INLINES.RESOURCE_HYPERLINK,e),[i.INLINES.EMBEDDED_ENTRY]:e=>a(i.INLINES.EMBEDDED_ENTRY,e),[i.INLINES.EMBEDDED_RESOURCE]:(e,t)=>l(i.INLINES.EMBEDDED_RESOURCE,e),[i.INLINES.HYPERLINK]:(e,t)=>n.createElement("a",{href:e.data.uri},t)},o={[i.MARKS.BOLD]:e=>n.createElement("b",null,e),[i.MARKS.ITALIC]:e=>n.createElement("i",null,e),[i.MARKS.UNDERLINE]:e=>n.createElement("u",null,e),[i.MARKS.CODE]:e=>n.createElement("code",null,e),[i.MARKS.SUPERSCRIPT]:e=>n.createElement("sup",null,e),[i.MARKS.SUBSCRIPT]:e=>n.createElement("sub",null,e),[i.MARKS.STRIKETHROUGH]:e=>n.createElement("s",null,e)};function a(e,t){return n.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function l(e,t){return n.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}t.i=function(e,t={}){if(!e)return null;let r=e;return t.stripEmptyTrailingParagraph&&(r=i.helpers.stripEmptyTrailingParagraphFromDocument(e)),function e(t,r){let{renderNode:s,renderMark:o,renderText:a,preserveWhitespace:l}=r;if(i.helpers.isText(t)){let e=a?a(t.value):t.value;if(l&&!a){let t=(e=e.replace(/ {2,}/g,e=>"\xa0".repeat(e.length))).split("\n"),r=[];t.forEach((e,i)=>{r.push(e),i!==t.length-1&&r.push(n.createElement("br",null))}),e=r}return t.marks.reduce((e,t)=>o[t.type]?o[t.type](e):e,e)}{var u;let i=(u=t.content,u.map((t,i)=>{var s;return s=e(t,r),n.isValidElement(s)&&null===s.key?n.cloneElement(s,{key:i}):s}));return t.nodeType&&s[t.nodeType]?s[t.nodeType](t,i):n.createElement(n.Fragment,null,i)}}(r,{renderNode:{...s,...t.renderNode},renderMark:{...o,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}},5937:(e,t,r)=>{"use strict";r(7088);let n=new Map;function i(e){return[...Array.isArray(e)?e:[e],"en"]}function s(e,t,r){let n,s=i(e);if(r||(r="default"),"string"==typeof r)switch(n={day:"numeric",month:"short",year:"numeric"},r){case"full":n.weekday="long";case"long":n.month="long";break;case"short":n.month="numeric"}else n=r;return u(()=>c("date",s,r),()=>new Intl.DateTimeFormat(s,n)).format("string"==typeof t?new Date(t):t)}function o(e,t,r){let n;if(r||(r="default"),"string"==typeof r)switch(n={second:"numeric",minute:"numeric",hour:"numeric"},r){case"full":case"long":n.timeZoneName="short";break;case"short":delete n.second}else n=r;return s(e,t,n)}function a(e,t,r){let n=i(e);return u(()=>c("number",n,r),()=>new Intl.NumberFormat(n,r)).format(t)}function l(e,t,r,{offset:n=0,...s}){let o=i(e),a=t?u(()=>c("plural-ordinal",o),()=>new Intl.PluralRules(o,{type:"ordinal"})):u(()=>c("plural-cardinal",o),()=>new Intl.PluralRules(o,{type:"cardinal"}));return s[r]??s[a.select(r-n)]??s.other}function u(e,t){let r=e(),i=n.get(r);return i||(i=t(),n.set(r,i)),i}function c(e,t,r){let n=t.join("-");return`${e}-${n}-${JSON.stringify(r)}`}let h=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,d=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(e,t,r)=>t?String.fromCharCode(parseInt(t,16)):String.fromCharCode(parseInt(r,16))),p="%__lingui_octothorpe__%",f=(e,t)=>t[e]??t.other;var m=Object.defineProperty;class y{constructor(){((e,t,r)=>((e,t,r)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r))(this,"_events",{})}on(e,t){var r;return(r=this._events)[e]??(r[e]=[]),this._events[e].push(t),()=>this.removeListener(e,t)}removeListener(e,t){let r=this._getListeners(e);if(!r)return;let n=r.indexOf(t);~n&&r.splice(n,1)}emit(e,...t){let r=this._getListeners(e);r&&r.map(e=>e.apply(this,t))}_getListeners(e){let t=this._events[e];return!!Array.isArray(t)&&t}}var g=Object.defineProperty,v=(e,t,r)=>(((e,t,r)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),r);class b extends y{constructor(e){super(),v(this,"_locale",""),v(this,"_locales"),v(this,"_localeData",{}),v(this,"_messages",{}),v(this,"_missing"),v(this,"_messageCompiler"),v(this,"t",this._.bind(this)),null!=e.missing&&(this._missing=e.missing),null!=e.messages&&this.load(e.messages),null!=e.localeData&&this.loadLocaleData(e.localeData),("string"==typeof e.locale||e.locales)&&this.activate(e.locale??"en",e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}get localeData(){return this._localeData[this._locale]??{}}_loadLocaleData(e,t){let r=this._localeData[e];r?Object.assign(r,t):this._localeData[e]=t}setMessagesCompiler(e){return this._messageCompiler=e,this}loadLocaleData(e,t){"string"==typeof e?this._loadLocaleData(e,t):Object.keys(e).forEach(t=>
1this._loadLocaleData(t,e[t])),this.emit("change")}_load(e,t){let r=this._messages[e];r?Object.assign(r,t):this._messages[e]=t}load(e,t){"string"==typeof e&&"object"==typeof t?this._load(e,t):Object.entries(e).forEach(([e,t])=>this._load(e,t)),this.emit("change")}loadAndActivate({locale:e,locales:t,messages:r}){this._locale=e,this._locales=t||void 0,this._messages[this._locale]=r,this.emit("change")}activate(e,t){this._locale=e,this._locales=t,this.emit("change")}_(e,t,r){var n,i,u;if(!this.locale)throw Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let c=r?.message;e||(e=""),"string"!=typeof e&&(t=e.values||t,c=e.message,e=e.id);let m=this.messages[e],y=void 0===m,g=this._missing;if(g&&y)return"function"==typeof g?g(this._locale,e):g;y&&this.emit("missing",{id:e,locale:this._locale});let v=m||c||e;return("string"==typeof v&&(this._messageCompiler?v=this._messageCompiler(v):console.warn(`Uncompiled message detected! Message:
2
3> ${v}
4
5That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
6ICU features such as interpolation and plurals will not work properly for that message. 
7
8Please compile your catalog first. 
9`)),"string"==typeof v&&h.test(v))?d(v):"string"==typeof v?v:(n=v,i=this._locale,u=this._locales,(e={},t)=>{let r=((e,t,r={})=>{let n=t||e,i=e=>"object"==typeof e?e:r[e],u=(e,t)=>{let s=a(n,e,Object.keys(r).length?i("number"):void 0);return t.replace(RegExp(p,"g"),s)};return{plural:(e,t)=>{let{offset:r=0}=t,i=l(n,!1,e,t);return u(e-r,i)},selectordinal:(e,t)=>{let{offset:r=0}=t,i=l(n,!0,e,t);return u(e-r,i)},select:f,number:(e,t)=>a(n,e,i(t)||{style:t}),date:(e,t)=>s(n,e,i(t)||t),time:(e,t)=>o(n,e,i(t)||t)}})(i,u,t),c=(t,n=!1)=>Array.isArray(t)?t.reduce((t,i)=>{let s;if("#"===i&&n)return t+p;if("string"==typeof i)return t+i;let[o,a,l]=i,u={};return("plural"===a||"selectordinal"===a||"select"===a?Object.entries(l).forEach(([e,t])=>{u[e]=c(t,"plural"===a||"selectordinal"===a)}):u=l,null==(s=a?(0,r[a])(e[o],u):e[o]))?t:t+s},""):t,m=c(n);return"string"==typeof m&&h.test(m)?d(m):"string"==typeof m?m:m?String(m):""})(t,r?.formats)}date(e,t){return s(this._locales||this._locale,e,t)}number(e,t){return a(this._locales||this._locale,e,t)}}function E(e={}){return new b(e)}let S=E();t.I18n=b,t.formats={__proto__:null,date:s,defaultLocale:"en",number:a,plural:l,time:o},t.i18n=S,t.setupI18n=E},6261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get CONTAINERS(){return p},get HEADINGS(){return f},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return h},get TEXT_CONTAINERS(){return m},get TOP_LEVEL_BLOCKS(){return u},get V1_MARKS(){return g},get V1_NODE_TYPES(){return y},get VOID_BLOCKS(){return d}});var n,i=r(990),s=r(2062),o=r(7282);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE,i.BLOCKS.TABLE],c=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],h=[i.BLOCKS.TABLE,i.BLOCKS.TABLE_ROW,i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],d=[i.BLOCKS.HR,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],p=(l(n={},i.BLOCKS.OL_LIST,[i.BLOCKS.LIST_ITEM]),l(n,i.BLOCKS.UL_LIST,[i.BLOCKS.LIST_ITEM]),l(n,i.BLOCKS.LIST_ITEM,c),l(n,i.BLOCKS.QUOTE,[i.BLOCKS.PARAGRAPH]),l(n,i.BLOCKS.TABLE,[i.BLOCKS.TABLE_ROW]),l(n,i.BLOCKS.TABLE_ROW,[i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL]),l(n,i.BLOCKS.TABLE_CELL,[i.BLOCKS.PARAGRAPH,i.BLOCKS.UL_LIST,i.BLOCKS.OL_LIST]),l(n,i.BLOCKS.TABLE_HEADER_CELL,[i.BLOCKS.PARAGRAPH]),n),f=[i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6],m=[i.BLOCKS.PARAGRAPH].concat(function(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);
9if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(f)),y=[i.BLOCKS.DOCUMENT,i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.LIST_ITEM,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,s.INLINES.HYPERLINK,s.INLINES.ENTRY_HYPERLINK,s.INLINES.ASSET_HYPERLINK,s.INLINES.EMBEDDED_ENTRY,"text"],g=[o.MARKS.BOLD,o.MARKS.CODE,o.MARKS.ITALIC,o.MARKS.UNDERLINE]},6553:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(2115);let i=r(3577).B?n.useLayoutEffect:n.useEffect},7045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},7088:(e,t,r)=>{"use strict";let n=r(8080);class i extends Error{constructor(e,t,r){super(e),this.token=t,this.type=r||"error"}}let s=e=>e<4?"short":4===e?"long":"narrow",o=e=>e%2==0?"2-digit":"numeric",a={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},l=e=>e>="A"&&e<="Z"||e>="a"&&e<="z";function u(e,t=e=>e){return function e(t,r){return t.filter(e=>"content"!==e.type).length?t.map(t=>{if("content"===t.type)return r(t.value);if("octothorpe"===t.type)return"#";if("argument"===t.type)return[t.arg];if("function"===t.type){let e=t?.param?.[0];if("date"===t.key&&e){var n,u;let r=(n=e.value.trim(),u=e=>{throw Error(`Unable to compile date expression: ${e.message}`)},/^::/.test(n)?function(e,t,r=e=>{throw e}){let n={timeZone:t},a=[];for(let t of e){let{error:e,field:l,str:u}=t;if(e){let n=new i(e.message,t);n.stack=e.stack,r(n)}u&&r(new i(`Ignoring string part: ${u}`,t,i.WARNING)),l&&(-1===a.indexOf(l)?a.push(l):r(new i(`Duplicate ${l} token`,t)));let c=function(e,t){switch(e.field){case"era":return{era:s(e.width)};case"year":switch(e.char){case"y":return{year:o(e.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return t(`${e.desc} is not supported; falling back to year:numeric`,i.WARNING),{year:"numeric"}}case"month":return{month:function(e,t){switch(e.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:t(`${e.desc} is not supported with width ${e.width}`);return}}(e,t)};case"day":return{day:function(e,t){let{char:r,desc:n,width:i}=e;return"d"===r?o(i):void t(`${n} is not supported`)}(e,t)};case"weekday":return{weekday:function(e,t){let{char:r,desc:n,width:o}=e;return("c"===r||"e"===r)&&o<3&&t(`Numeric value is not supported for ${n}; falling back to weekday:short`,i.WARNING),s(o)}(e,t)};case"period":break;case"hour":let r,n=o(e.width);switch(e.char){case"h":r="h12";break;case"H":r="h23";break;case"k":r="h24";break;case"K":r="h11"}return r?{hour:n,hourCycle:r}:{hour:n};case"min":return{minute:o(e.width)};case"sec":return{second:o(e.width)};case"tz":return{timeZoneName:function(e,t){let{char:r,desc:n,width:i}=e;switch(r){case"v":case"z":return 4===i?"long":"short";case"V":if(4===i)return"long";t(`${n} is not supported with width ${i}`);return;case"X":t(`${n} is not supported`);return}return"short"}(e,t)};case"quarter":case"week":case"sec-frac":case"ms":t(`${e.desc} is not supported`)}}(t,(e,n)=>r(new i(e,t,n)));c&&Object.assign(n,c)}return n}(function(e){let t=[],r=0;for(;;){let n=function(e,t){let r=e[t];if(!r)return null;if(l(r)){var n=t;let r=e[n],i=1;for(;e[++n]===r;)++i;let s=a[r];if(!s){let e=`The letter ${r} is not a valid field identifier`;return{char:r,error:Error(e),width:i}}return{char:r,field:s.field,desc:s.desc,width:i}}if("'"===r){var i=t;let r=e[++i],n=2;if("'"===r)return{char:"'",str:r,width:n};for(;;){let t=e[++i];if(++n,void 0===t)return{char:"'",error:Error(`Unterminated quoted literal in pattern: ${r||e}`),str:r,width:n};if("'"===t)if("'"!==e[++i])return{char:"'",str:r,width:n};else++n;r+=t}return}let s=r,o=1;for(;;){let n=e[++t];if(!n||l(n)||"'"===n)return{char:r,str:s,width:o};s+=n,o+=1}}(e,r);if(!n)return t;
9t.push(n),r+=n.width}}(n.substring(2)),void 0,u):n);return[t.arg,t.key,r]}return e?[t.arg,t.key,e.value.trim()]:[t.arg,t.key]}let c=t.pluralOffset,h={};return t.cases.forEach(({key:t,tokens:n})=>{h["="===t[0]?t.slice(1):t]=e(n,r)}),[t.arg,t.type,{offset:c,...h}]}):t.map(e=>r(e.value))}(n.parse(e),t)}t.compileMessage=function(e,t=e=>e){try{return u(e,t)}catch(t){return console.error(`${t.message} 
10
11Message: ${e}`),[e]}},t.compileMessageOrThrow=u},7276:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get enumError(){return l},get maxSizeError(){return a},get minSizeError(){return o},get requiredPropertyError(){return c},get typeMismatchError(){return s},get unknownPropertyError(){return u}});var n=r(5937);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var s=function(e){var t=e.path,r=e.property,i=e.typeName,s=e.value;return{details:n.i18n._({id:"RichText.RichTextTypes.Validator.TypeMismatchErrorMessage",message:'The type of "{property}" is incorrect, expected type: {typeName}',values:{property:r,typeName:i}}),name:"type",path:t.toArray(),type:i,value:s}},o=function(e){var t=e.min,r=e.value;return{name:"size",min:t,path:e.path.toArray(),details:n.i18n._({id:"RichText.RichTextTypes.Validator.MinSizeErrorMessage",message:"Size must be at least {min}",values:{min:t}}),value:r}},a=function(e){var t=e.max,r=e.value;return{name:"size",max:t,path:e.path.toArray(),details:n.i18n._({id:"RichText.RichTextTypes.Validator.MaxSizeErrorMessage",message:"Size must be at most {max}",values:{max:t}}),value:r}},l=function(e){var t=e.expected,r=e.value,s=e.path;return{details:n.i18n._({id:"RichText.RichTextTypes.Validator.EnumErrorMessage",message:"Value must be one of expected values"}),name:"in",expected:((function(e){if(Array.isArray(e))return i(e)})(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return i(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).sort(),path:s.toArray(),value:r}},u=function(e){var t=e.property,r=e.path;return{details:n.i18n._({id:"RichText.RichTextTypes.Validator.UnknownPropertyErrorMessage",message:'The property "{property}" is not expected',values:{property:t}}),name:"unexpected",path:r.toArray()}},c=function(e){var t=e.property,r=e.path;return{details:n.i18n._({id:"RichText.RichTextTypes.Validator.RequiredPropertyErrorMessage",message:'The property "{property}" is required here',values:{property:t}}),name:"required",path:r.toArray()}}},7282:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MARKS",{enumerable:!0,get:function(){return r}});var r=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({})},7670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return s},formatWithValidation:function(){return a},urlObjectKeys:function(){return o}});let n=r(9417)._(r(3078)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,s=e.protocol||"",o=e.pathname||"",a=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return s&&!s.endsWith(":")&&(s+=":"),e.slashes||(!s||i.test(s))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),""+s+u+(o=o.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+a}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return s(e)}},7671:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
vendor: 4,552 bytes, line 11
11dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.lexer=t.states=void 0;let i=n(r(1875));t.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^']|'')*'(?!')/u,value:e=>e.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:e=>e.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:e=>e.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:e=>e.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:e=>e.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:e=>e.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:e=>e.substring(0,e.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},t.lexer=i.default.states(t.states)},8080:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseError=void 0,t.parse=function(e,t={}){return new u(e,t).parse()};let n=r(7671),i=e=>({offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}),s=e=>"plural"===e||"select"===e||"selectordinal"===e,o=["number","date","time","spellout","ordinal","duration"],a=["zero","one","two","few","many","other"];class l extends Error{constructor(e,t){super(n.lexer.formatError(e,t))}}t.ParseError=l;class u{constructor(e,t){var r,i,s,o;this.lexer=n.lexer.reset(e),this.cardinalKeys=null!=(r=null==t?void 0:t.cardinal)?r:a,this.ordinalKeys=null!=(i=null==t?void 0:t.ordinal)?i:a,this.strict=null!=(s=null==t?void 0:t.strict)&&s,this.strictPluralKeys=null==(o=null==t?void 0:t.strictPluralKeys)||o}parse(){return this.parseBody(!1,!0)}checkSelectKey(e,t,r){if("="===r[0]){if("select"===t)throw new l(e,`The case ${r} is not valid with select`)}else if("select"!==t){let n="plural"===t?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&n.length>0&&!n.includes(r))throw new l(e,`The ${t} case ${r} is not valid in this locale`)}}parseSelect({value:e},t,r,n){let s={type:n,arg:e,cases:[],ctx:r};for(let e of("plural"===n||"selectordinal"===n?t=!0:this.strict&&(t=!1),this.lexer))switch(e.type){case"offset":if("select"===n)throw new l(e,"Unexpected plural offset for select");if(s.cases.length>0)throw new l(e,"Plural offset must be set before cases");s.pluralOffset=Number(e.value),r.text+=e.text,r.lineBreaks+=e.lineBreaks;break;case"case":this.checkSelectKey(e,n,e.value),s.cases.push({key:e.value,tokens:this.parseBody(t),ctx:i(e)});break;case"end":return s;default:throw new l(e,`Unexpected lexer token: ${e.type}`)}throw new l(null,"Unexpected message end")}parseArgToken(e,t){let r=i(e),n=this.lexer.next();if(!n)throw new l(null,"Unexpected message end");if(r.text+=n.text,r.lineBreaks+=n.lineBreaks,this.strict&&("func-simple"===n.type||"func-args"===n.type)&&!o.includes(n.value))throw new l(e,`Invalid strict mode function arg type: ${n.value}`);switch(n.type){case"end":return{type:"argument",arg:e.value,ctx:r};case"func-simple":{let t=this.lexer.next();if(!t)throw new l(null,"Unexpected message end");if("end"!==t.type)throw new l(t,`Unexpected lexer token: ${t.type}`);if(r.text+=t.text,s(n.value.toLowerCase()))throw new l(n,`Invalid type identifier: ${n.value}`);return{type:"function",arg:e.value,key:n.value,ctx:r}}case"func-args":{if(s(n.value.toLowerCase())){let e=`Invalid type identifier: ${n.value}`;throw new l(n,e)}let i=this.parseBody(!this.strict&&t);return this.strict&&i.length>0&&(i=function(e,t){let r="",n="";for(let i of t){let t=i.ctx.text;switch(n+=t,i.type){case"content":r+=i.value;break;case"argument":case"function":case"octothorpe":r+=t;break;default:throw new l(e,`Unsupported part in strict mode function arg style: ${t}`)}}return[{type:"content",value:r.trim(),ctx:Object.assign({},t[0].ctx,{text:n})}]}(e,i)),{type:"function",arg:e.value,key:n.value,param:i,ctx:r}}case"select":if(s(n.value))return this.parseSelect(e,t,r,n.value);throw new l(n,`Unexpected select type ${n.value}`);default:throw new l(n,`Unexpected lexer token: ${n.type}`)}}parseBody(e,t){let r=[],n=null;for(let s of this.lexer)if("argument"===s.type)n&&(n=null),r.push(this.parseArgToken(s,e));else if("octothorpe"===s.type&&e)n&&(n=null),r.push({type:"octothorpe",ctx:i(s)});else{if("end"===s.type&&!t)return r;let o=s.value;
11if(!e&&"quoted"===s.type&&"#"===o[0]){if(o.includes("{"))throw new l(s,`Unsupported escape pattern: ${o}`);o=s.text}n?(n.value+=o,n.ctx.text+=s.text,n.ctx.lineBreaks+=s.lineBreaks):(n={type:"content",value:o,ctx:i(s)},r.push(n))}if(t)return r;throw new l(null,"Unexpected message end")}}},8300:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get BLOCKS(){return n.BLOCKS},get EMPTY_DOCUMENT(){return o.EMPTY_DOCUMENT},get INLINES(){return i.INLINES},get MARKS(){return s.MARKS},get helpers(){return a},get validateRichTextDocument(){return l.validateRichTextDocument}});var n=r(990),i=r(2062),s=r(7282);u(r(6261),t),u(r(8669),t),u(r(3929),t);var o=r(5688),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}(r(9865)),l=r(8845);function u(e,t){return Object.keys(e).forEach(function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),e}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}},8561:(e,t,r)=>{"use strict";function n(e,t,r){if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let i=r?.[e]??n.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}r.d(t,{K:()=>n})},8607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return s}});let n=r(2296),i=r(2929);function s(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},8669:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8845:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateRichTextDocument",{enumerable:!0,get:function(){return b}});var n,i=r(990),s=r(2062),o=r(6261),a=r(1613),l=r(2987),u=r(2084),c=r(3068);function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return h(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var f=(0,l.assert)(p(Object.values(s.INLINES)).concat(["text"]).sort()),m=(0,l.assert)([i.BLOCKS.LIST_ITEM]),y=(0,l.assertLink)("Entry",l.VOID_CONTENT),g=(0,l.assert)(function(){return{nodeTypes:[i.BLOCKS.PARAGRAPH],min:1}},function(e,t){var r=new a.ObjectAssertion(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors}),v=(d(n={},i.BLOCKS.DOCUMENT,(0,l.assert)(o.TOP_LEVEL_BLOCKS)),d(n,i.BLOCKS.PARAGRAPH,f),d(n,i.BLOCKS.HEADING_1,f),d(n,i.BLOCKS.HEADING_2,f),d(n,i.BLOCKS.HEADING_3,f),d(n,i.BLOCKS.HEADING_4,f),d(n,i.BLOCKS.HEADING_5,f),d(n,i.BLOCKS.HEADING_6,f),d(n,i.BLOCKS.QUOTE,(0,l.assert)(o.CONTAINERS[i.BLOCKS.QUOTE])),d(n,i.BLOCKS.EMBEDDED_ENTRY,y),d(n,i.BLOCKS.EMBEDDED_ASSET,(0,l.assertLink)("Asset",l.VOID_CONTENT)),d(n,i.BLOCKS.EMBEDDED_RESOURCE,(0,l.assertLink)("Contentful:Entry",l.VOID_CONTENT)),d(n,i.BLOCKS.HR,(0,l.assert)(l.VOID_CONTENT)),d(n,i.BLOCKS.OL_LIST,m),d(n,i.BLOCKS.UL_LIST,m),d(n,i.BLOCKS.LIST_ITEM,(0,l.assert)(p(o.LIST_ITEM_BLOCKS).sort())),d(n,i.BLOCKS.TABLE,(0,l.assert)(function(){return{nodeTypes:[i.BLOCKS.TABLE_ROW],min:1}})),d(n,i.BLOCKS.TABLE_ROW,(0,l.assert)(function(){return{nodeTypes:[i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],min:1}})),d(n,i.BLOCKS.TABLE_CELL,g),d(n,i.BLOCKS.TABLE_HEADER_CELL,g),d(n,s.INLINES.HYPERLINK,new l.HyperLinkAssertion),d(n,s.INLINES.EMBEDDED_ENTRY,y),d(n,s.INLINES.EMBEDDED_RESOURCE,(0,l.assertLink)("Contentful:Entry",l.VOID_CONTENT)),d(n,s.INLINES.ENTRY_HYPERLINK,(0,l.assertLink)("Entry",["text"])),d(n,s.INLINES.ASSET_HYPERLINK,(0,l.assertLink)("Asset",["text"])),d(n,s.INLINES.RESOURCE_HYPERLINK,(0,l.assertLink)("Contentful:Entry",["text"])),n),b=function(e){var t=new u.Path,r=new a.ObjectAssertion(e,t);return(r.object()&&r.enum("nodeType",[i.BLOCKS.DOCUMENT]),r.errors.length>0)?r.errors:function e(t,r){if("text"===t.nodeType)return(0,c.assertText)(t,r);var n=v[t.nodeType].assert(t,r);
11if(n.length>0)return n;var i=new a.ObjectAssertion(t,r);return i.each("content",function(t,r){return e(t,r)}),i.errors}(e,t)}},9021:(e,t,r)=>{"use strict";r.d(t,{s:()=>i});var n=r(3142);function i(e){return(0,n.G)(e)&&"offsetHeight"in e}},9686:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});let n=(0,r(2115).createContext)(null)},9862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(8140)._(r(2115)).default.createContext(null)},9865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get isBlock(){return a},get isEmptyParagraph(){return u},get isInline(){return o},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return c}});var n=r(990),i=r(2062);function s(e,t){var r=!0,n=!1,i=void 0;try{for(var s,o=Object.keys(e)[Symbol.iterator]();!(r=(s=o.next()).done);r=!0){var a=s.value;if(t===e[a])return!0}}catch(e){n=!0,i=e}finally{try{r||null==o.return||o.return()}finally{if(n)throw i}}return!1}function o(e){return s(i.INLINES,e.nodeType)}function a(e){return s(n.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function u(e){if(e.nodeType!==n.BLOCKS.PARAGRAPH||1!==e.content.length)return!1;var t=e.content[0];return"text"===t.nodeType&&""===t.value}function c(e){var t,r;return!(null!=e&&(void 0===e?"undefined":e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&"content"in e&&Array.isArray(e.content))||e.content.length<2?e:u(e.content[e.content.length-1])?(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e),r=r={content:e.content.slice(0,-1)},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t):e}}}]);

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.