-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1402.f6e10076.iframe.bundle.js
2 lines (2 loc) · 445 KB
/
1402.f6e10076.iframe.bundle.js
1
2
/*! For license information please see 1402.f6e10076.iframe.bundle.js.LICENSE.txt */
(self.webpackChunk_leather_io_ui=self.webpackChunk_leather_io_ui||[]).push([[1402],{"../../node_modules/.pnpm/@radix-ui+react-avatar@1.0.4_@types+react-dom@18.2.25_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{H4:()=>$cddcb0b647441e34$export$fb8d7f40caaeea67,_V:()=>$cddcb0b647441e34$export$3e431a229df88919,bL:()=>$cddcb0b647441e34$export$be92b6f5f03c0fe9});var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/extends.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),_radix_ui_react_context__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-context@1.0.1_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.mjs"),_radix_ui_react_use_callback_ref__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.0.1_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"),_radix_ui_react_use_layout_effect__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.0.1_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"),_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-primitive@1.0.3_@types+react-dom@18.2.25_@types+react@18.2.79_react-dom@18.2._q2hdzynczbqlprxkwgklkdriia/node_modules/@radix-ui/react-primitive/dist/index.mjs");const[$cddcb0b647441e34$var$createAvatarContext,$cddcb0b647441e34$export$90370d16b488820f]=(0,_radix_ui_react_context__WEBPACK_IMPORTED_MODULE_1__.A)("Avatar"),[$cddcb0b647441e34$var$AvatarProvider,$cddcb0b647441e34$var$useAvatarContext]=$cddcb0b647441e34$var$createAvatarContext("Avatar"),$cddcb0b647441e34$export$e2255cf6045e8d47=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,forwardedRef)=>{const{__scopeAvatar,...avatarProps}=props,[imageLoadingStatus,setImageLoadingStatus]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("idle");return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)($cddcb0b647441e34$var$AvatarProvider,{scope:__scopeAvatar,imageLoadingStatus,onImageLoadingStatusChange:setImageLoadingStatus},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_2__.sG.span,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__.A)({},avatarProps,{ref:forwardedRef})))})),$cddcb0b647441e34$export$2cd8ae1985206fe8=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,forwardedRef)=>{const{__scopeAvatar,src,onLoadingStatusChange=()=>{},...imageProps}=props,context=$cddcb0b647441e34$var$useAvatarContext("AvatarImage",__scopeAvatar),imageLoadingStatus=function $cddcb0b647441e34$var$useImageLoadingStatus(src){const[loadingStatus,setLoadingStatus]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("idle");return(0,_radix_ui_react_use_layout_effect__WEBPACK_IMPORTED_MODULE_5__.N)((()=>{if(!src)return void setLoadingStatus("error");let isMounted=!0;const image=new window.Image,updateStatus=status=>()=>{isMounted&&setLoadingStatus(status)};return setLoadingStatus("loading"),image.onload=updateStatus("loaded"),image.onerror=updateStatus("error"),image.src=src,()=>{isMounted=!1}}),[src]),loadingStatus}(src),handleLoadingStatusChange=(0,_radix_ui_react_use_callback_ref__WEBPACK_IMPORTED_MODULE_4__.c)((status=>{onLoadingStatusChange(status),context.onImageLoadingStatusChange(status)}));return(0,_radix_ui_react_use_layout_effect__WEBPACK_IMPORTED_MODULE_5__.N)((()=>{"idle"!==imageLoadingStatus&&handleLoadingStatusChange(imageLoadingStatus)}),[imageLoadingStatus,handleLoadingStatusChange]),"loaded"===imageLoadingStatus?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_2__.sG.img,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__.A)({},imageProps,{ref:forwardedRef,src})):null})),$cddcb0b647441e34$export$69fffb6a9571fbfe=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,forwardedRef)=>{const{__scopeAvatar,delayMs,...fallbackProps}=props,context=$cddcb0b647441e34$var$useAvatarContext("AvatarFallback",__scopeAvatar),[canRender,setCanRender]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(void 0===delayMs);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(void 0!==delayMs){const timerId=window.setTimeout((()=>setCanRender(!0)),delayMs);return()=>window.clearTimeout(timerId)}}),[delayMs]),canRender&&"loaded"!==context.imageLoadingStatus?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_2__.sG.span,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__.A)({},fallbackProps,{ref:forwardedRef})):null}));const $cddcb0b647441e34$export$be92b6f5f03c0fe9=$cddcb0b647441e34$export$e2255cf6045e8d47,$cddcb0b647441e34$export$3e431a229df88919=$cddcb0b647441e34$export$2cd8ae1985206fe8,$cddcb0b647441e34$export$fb8d7f40caaeea67=$cddcb0b647441e34$export$69fffb6a9571fbfe},"../../node_modules/.pnpm/@radix-ui+react-switch@1.1.0_@types+react-dom@18.2.25_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{bL:()=>Root,zi:()=>Thumb});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),_radix_ui_primitive__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+primitive@1.1.0/node_modules/@radix-ui/primitive/dist/index.mjs"),_radix_ui_react_compose_refs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.0_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),_radix_ui_react_context__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-context@1.1.0_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.mjs"),_radix_ui_react_use_controllable_state__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.1.0_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"),_radix_ui_react_use_previous__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.0_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.mjs"),_radix_ui_react_use_size__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-use-size@1.1.0_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.mjs"),_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-primitive@2.0.0_@types+react-dom@18.2.25_@types+react@18.2.79_react-dom@18.2._m7qra5idlleum44nzg2btxeay4/node_modules/@radix-ui/react-primitive/dist/index.mjs"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js"),[createSwitchContext,createSwitchScope]=(0,_radix_ui_react_context__WEBPACK_IMPORTED_MODULE_2__.A)("Switch"),[SwitchProvider,useSwitchContext]=createSwitchContext("Switch"),Switch=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((props,forwardedRef)=>{const{__scopeSwitch,name,checked:checkedProp,defaultChecked,required,disabled,value="on",onCheckedChange,...switchProps}=props,[button,setButton]=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),composedRefs=(0,_radix_ui_react_compose_refs__WEBPACK_IMPORTED_MODULE_3__.s)(forwardedRef,(node=>setButton(node))),hasConsumerStoppedPropagationRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef(!1),isFormControl=!button||Boolean(button.closest("form")),[checked=!1,setChecked]=(0,_radix_ui_react_use_controllable_state__WEBPACK_IMPORTED_MODULE_4__.i)({prop:checkedProp,defaultProp:defaultChecked,onChange:onCheckedChange});return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(SwitchProvider,{scope:__scopeSwitch,checked,disabled,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_5__.sG.button,{type:"button",role:"switch","aria-checked":checked,"aria-required":required,"data-state":getState(checked),"data-disabled":disabled?"":void 0,disabled,value,...switchProps,ref:composedRefs,onClick:(0,_radix_ui_primitive__WEBPACK_IMPORTED_MODULE_6__.m)(props.onClick,(event=>{setChecked((prevChecked=>!prevChecked)),isFormControl&&(hasConsumerStoppedPropagationRef.current=event.isPropagationStopped(),hasConsumerStoppedPropagationRef.current||event.stopPropagation())}))}),isFormControl&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(BubbleInput,{control:button,bubbles:!hasConsumerStoppedPropagationRef.current,name,value,checked,required,disabled,style:{transform:"translateX(-100%)"}})]})}));Switch.displayName="Switch";var SwitchThumb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((props,forwardedRef)=>{const{__scopeSwitch,...thumbProps}=props,context=useSwitchContext("SwitchThumb",__scopeSwitch);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_5__.sG.span,{"data-state":getState(context.checked),"data-disabled":context.disabled?"":void 0,...thumbProps,ref:forwardedRef})}));SwitchThumb.displayName="SwitchThumb";var BubbleInput=props=>{const{control,checked,bubbles=!0,...inputProps}=props,ref=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),prevChecked=(0,_radix_ui_react_use_previous__WEBPACK_IMPORTED_MODULE_7__.Z)(checked),controlSize=(0,_radix_ui_react_use_size__WEBPACK_IMPORTED_MODULE_8__.X)(control);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>{const input=ref.current,inputProto=window.HTMLInputElement.prototype,setChecked=Object.getOwnPropertyDescriptor(inputProto,"checked").set;if(prevChecked!==checked&&setChecked){const event=new Event("click",{bubbles});setChecked.call(input,checked),input.dispatchEvent(event)}}),[prevChecked,checked,bubbles]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:checked,...inputProps,tabIndex:-1,ref,style:{...props.style,...controlSize,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function getState(checked){return checked?"checked":"unchecked"}var Root=Switch,Thumb=SwitchThumb},"../../node_modules/.pnpm/@radix-ui+react-tabs@1.0.4_@types+react-dom@18.2.25_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B8:()=>$69cb30bb0017df05$export$54c2e3dc7acea9f5,UC:()=>$69cb30bb0017df05$export$7c6e2c02157bb7d2,bL:()=>$69cb30bb0017df05$export$be92b6f5f03c0fe9,l9:()=>$69cb30bb0017df05$export$41fb9f06171c75f4});var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/extends.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),_radix_ui_primitive__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+primitive@1.0.1/node_modules/@radix-ui/primitive/dist/index.mjs"),_radix_ui_react_context__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-context@1.0.1_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.mjs"),_radix_ui_react_roving_focus__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.0.4_@types+react-dom@18.2.25_@types+react@18.2.79_react-dom@18_gwziov6bewyhzrap5bbufmv4f4/node_modules/@radix-ui/react-roving-focus/dist/index.mjs"),_radix_ui_react_presence__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-presence@1.0.1_@types+react-dom@18.2.25_@types+react@18.2.79_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.mjs"),_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-primitive@1.0.3_@types+react-dom@18.2.25_@types+react@18.2.79_react-dom@18.2._q2hdzynczbqlprxkwgklkdriia/node_modules/@radix-ui/react-primitive/dist/index.mjs"),_radix_ui_react_direction__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-direction@1.0.1_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.mjs"),_radix_ui_react_use_controllable_state__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.0.1_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"),_radix_ui_react_id__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("../../node_modules/.pnpm/@radix-ui+react-id@1.0.1_@types+react@18.2.79_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.mjs");const[$69cb30bb0017df05$var$createTabsContext,$69cb30bb0017df05$export$355f5bd209d7b13a]=(0,_radix_ui_react_context__WEBPACK_IMPORTED_MODULE_1__.A)("Tabs",[_radix_ui_react_roving_focus__WEBPACK_IMPORTED_MODULE_2__.RG]),$69cb30bb0017df05$var$useRovingFocusGroupScope=(0,_radix_ui_react_roving_focus__WEBPACK_IMPORTED_MODULE_2__.RG)(),[$69cb30bb0017df05$var$TabsProvider,$69cb30bb0017df05$var$useTabsContext]=$69cb30bb0017df05$var$createTabsContext("Tabs"),$69cb30bb0017df05$export$b2539bed5023c21c=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,forwardedRef)=>{const{__scopeTabs,value:valueProp,onValueChange,defaultValue,orientation="horizontal",dir,activationMode="automatic",...tabsProps}=props,direction=(0,_radix_ui_react_direction__WEBPACK_IMPORTED_MODULE_3__.jH)(dir),[value,setValue]=(0,_radix_ui_react_use_controllable_state__WEBPACK_IMPORTED_MODULE_4__.i)({prop:valueProp,onChange:onValueChange,defaultProp:defaultValue});return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)($69cb30bb0017df05$var$TabsProvider,{scope:__scopeTabs,baseId:(0,_radix_ui_react_id__WEBPACK_IMPORTED_MODULE_5__.B)(),value,onValueChange:setValue,orientation,dir:direction,activationMode},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_6__.sG.div,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_7__.A)({dir:direction,"data-orientation":orientation},tabsProps,{ref:forwardedRef})))})),$69cb30bb0017df05$export$9712d22edc0d78c1=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,forwardedRef)=>{const{__scopeTabs,loop=!0,...listProps}=props,context=$69cb30bb0017df05$var$useTabsContext("TabsList",__scopeTabs),rovingFocusGroupScope=$69cb30bb0017df05$var$useRovingFocusGroupScope(__scopeTabs);return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_radix_ui_react_roving_focus__WEBPACK_IMPORTED_MODULE_2__.bL,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_7__.A)({asChild:!0},rovingFocusGroupScope,{orientation:context.orientation,dir:context.dir,loop}),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_6__.sG.div,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_7__.A)({role:"tablist","aria-orientation":context.orientation},listProps,{ref:forwardedRef})))})),$69cb30bb0017df05$export$8114b9fdfdf9f3ba=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,forwardedRef)=>{const{__scopeTabs,value,disabled=!1,...triggerProps}=props,context=$69cb30bb0017df05$var$useTabsContext("TabsTrigger",__scopeTabs),rovingFocusGroupScope=$69cb30bb0017df05$var$useRovingFocusGroupScope(__scopeTabs),triggerId=$69cb30bb0017df05$var$makeTriggerId(context.baseId,value),contentId=$69cb30bb0017df05$var$makeContentId(context.baseId,value),isSelected=value===context.value;return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_radix_ui_react_roving_focus__WEBPACK_IMPORTED_MODULE_2__.q7,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_7__.A)({asChild:!0},rovingFocusGroupScope,{focusable:!disabled,active:isSelected}),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_6__.sG.button,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_7__.A)({type:"button",role:"tab","aria-selected":isSelected,"aria-controls":contentId,"data-state":isSelected?"active":"inactive","data-disabled":disabled?"":void 0,disabled,id:triggerId},triggerProps,{ref:forwardedRef,onMouseDown:(0,_radix_ui_primitive__WEBPACK_IMPORTED_MODULE_8__.m)(props.onMouseDown,(event=>{disabled||0!==event.button||!1!==event.ctrlKey?event.preventDefault():context.onValueChange(value)})),onKeyDown:(0,_radix_ui_primitive__WEBPACK_IMPORTED_MODULE_8__.m)(props.onKeyDown,(event=>{[" ","Enter"].includes(event.key)&&context.onValueChange(value)})),onFocus:(0,_radix_ui_primitive__WEBPACK_IMPORTED_MODULE_8__.m)(props.onFocus,(()=>{const isAutomaticActivation="manual"!==context.activationMode;isSelected||disabled||!isAutomaticActivation||context.onValueChange(value)}))})))})),$69cb30bb0017df05$export$bd905d70e8fd2ebb=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((props,forwardedRef)=>{const{__scopeTabs,value,forceMount,children,...contentProps}=props,context=$69cb30bb0017df05$var$useTabsContext("TabsContent",__scopeTabs),triggerId=$69cb30bb0017df05$var$makeTriggerId(context.baseId,value),contentId=$69cb30bb0017df05$var$makeContentId(context.baseId,value),isSelected=value===context.value,isMountAnimationPreventedRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(isSelected);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{const rAF=requestAnimationFrame((()=>isMountAnimationPreventedRef.current=!1));return()=>cancelAnimationFrame(rAF)}),[]),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_radix_ui_react_presence__WEBPACK_IMPORTED_MODULE_9__.C,{present:forceMount||isSelected},(({present})=>(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_6__.sG.div,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_7__.A)({"data-state":isSelected?"active":"inactive","data-orientation":context.orientation,role:"tabpanel","aria-labelledby":triggerId,hidden:!present,id:contentId,tabIndex:0},contentProps,{ref:forwardedRef,style:{...props.style,animationDuration:isMountAnimationPreventedRef.current?"0s":void 0}}),present&&children)))}));function $69cb30bb0017df05$var$makeTriggerId(baseId,value){return`${baseId}-trigger-${value}`}function $69cb30bb0017df05$var$makeContentId(baseId,value){return`${baseId}-content-${value}`}const $69cb30bb0017df05$export$be92b6f5f03c0fe9=$69cb30bb0017df05$export$b2539bed5023c21c,$69cb30bb0017df05$export$54c2e3dc7acea9f5=$69cb30bb0017df05$export$9712d22edc0d78c1,$69cb30bb0017df05$export$41fb9f06171c75f4=$69cb30bb0017df05$export$8114b9fdfdf9f3ba,$69cb30bb0017df05$export$7c6e2c02157bb7d2=$69cb30bb0017df05$export$bd905d70e8fd2ebb},"../../node_modules/.pnpm/dompurify@3.1.4/node_modules/dompurify/dist/purify.js":function(module){module.exports=function(){"use strict";const{entries,setPrototypeOf,isFrozen,getPrototypeOf,getOwnPropertyDescriptor}=Object;let{freeze,seal,create}=Object,{apply,construct}="undefined"!=typeof Reflect&&Reflect;freeze||(freeze=function freeze(x){return x}),seal||(seal=function seal(x){return x}),apply||(apply=function apply(fun,thisValue,args){return fun.apply(thisValue,args)}),construct||(construct=function construct(Func,args){return new Func(...args)});const arrayForEach=unapply(Array.prototype.forEach),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function numberIsNaN(x){return"number"==typeof x&&isNaN(x)}function unapply(func){return function(thisArg){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return apply(func,thisArg,args)}}function unconstruct(func){return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return construct(func,args)}}function addToSet(set,array){let transformCaseFunc=arguments.length>2&&void 0!==arguments[2]?arguments[2]:stringToLowerCase;setPrototypeOf&&setPrototypeOf(set,null);let l=array.length;for(;l--;){let element=array[l];if("string"==typeof element){const lcElement=transformCaseFunc(element);lcElement!==element&&(isFrozen(array)||(array[l]=lcElement),element=lcElement)}set[element]=!0}return set}function cleanArray(array){for(let index=0;index<array.length;index++)objectHasOwnProperty(array,index)||(array[index]=null);return array}function clone(object){const newObject=create(null);for(const[property,value]of entries(object))objectHasOwnProperty(object,property)&&(Array.isArray(value)?newObject[property]=cleanArray(value):value&&"object"==typeof value&&value.constructor===Object?newObject[property]=clone(value):newObject[property]=value);return newObject}function lookupGetter(object,prop){for(;null!==object;){const desc=getOwnPropertyDescriptor(object,prop);if(desc){if(desc.get)return unapply(desc.get);if("function"==typeof desc.value)return unapply(desc.value)}object=getPrototypeOf(object)}function fallbackValue(){return null}return fallbackValue}const html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),svgFilters=freeze(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),svgDisallowed=freeze(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text=freeze(["#text"]),html=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),svg=freeze(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mathMl=freeze(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm),TMPLIT_EXPR=seal(/\${[\w\W]*}/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i),CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var EXPRESSIONS=Object.freeze({__proto__:null,MUSTACHE_EXPR,ERB_EXPR,TMPLIT_EXPR,DATA_ATTR,ARIA_ATTR,IS_ALLOWED_URI,IS_SCRIPT_OR_DATA,ATTR_WHITESPACE,DOCTYPE_NAME,CUSTOM_ELEMENT});const NODE_TYPE={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},getGlobal=function getGlobal(){return"undefined"==typeof window?null:window},_createTrustedTypesPolicy=function _createTrustedTypesPolicy(trustedTypes,purifyHostElement){if("object"!=typeof trustedTypes||"function"!=typeof trustedTypes.createPolicy)return null;let suffix=null;const ATTR_NAME="data-tt-policy-suffix";purifyHostElement&&purifyHostElement.hasAttribute(ATTR_NAME)&&(suffix=purifyHostElement.getAttribute(ATTR_NAME));const policyName="dompurify"+(suffix?"#"+suffix:"");try{return trustedTypes.createPolicy(policyName,{createHTML:html=>html,createScriptURL:scriptUrl=>scriptUrl})}catch(_){return console.warn("TrustedTypes policy "+policyName+" could not be created."),null}};function createDOMPurify(){let window=arguments.length>0&&void 0!==arguments[0]?arguments[0]:getGlobal();const DOMPurify=root=>createDOMPurify(root);if(DOMPurify.version="3.1.4",DOMPurify.removed=[],!window||!window.document||window.document.nodeType!==NODE_TYPE.document)return DOMPurify.isSupported=!1,DOMPurify;let{document}=window;const originalDocument=document,currentScript=originalDocument.currentScript,{DocumentFragment,HTMLTemplateElement,Node,Element,NodeFilter,NamedNodeMap=window.NamedNodeMap||window.MozNamedAttrMap,HTMLFormElement,DOMParser,trustedTypes}=window,ElementPrototype=Element.prototype,cloneNode=lookupGetter(ElementPrototype,"cloneNode"),getNextSibling=lookupGetter(ElementPrototype,"nextSibling"),getChildNodes=lookupGetter(ElementPrototype,"childNodes"),getParentNode=lookupGetter(ElementPrototype,"parentNode");if("function"==typeof HTMLTemplateElement){const template=document.createElement("template");template.content&&template.content.ownerDocument&&(document=template.content.ownerDocument)}let trustedTypesPolicy,emptyHTML="";const{implementation,createNodeIterator,createDocumentFragment,getElementsByTagName}=document,{importNode}=originalDocument;let hooks={};DOMPurify.isSupported="function"==typeof entries&&"function"==typeof getParentNode&&implementation&&void 0!==implementation.createHTMLDocument;const{MUSTACHE_EXPR,ERB_EXPR,TMPLIT_EXPR,DATA_ATTR,ARIA_ATTR,IS_SCRIPT_OR_DATA,ATTR_WHITESPACE,CUSTOM_ELEMENT}=EXPRESSIONS;let{IS_ALLOWED_URI:IS_ALLOWED_URI$1}=EXPRESSIONS,ALLOWED_TAGS=null;const DEFAULT_ALLOWED_TAGS=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text]);let ALLOWED_ATTR=null;const DEFAULT_ALLOWED_ATTR=addToSet({},[...html,...svg,...mathMl,...xml]);let CUSTOM_ELEMENT_HANDLING=Object.seal(create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),FORBID_TAGS=null,FORBID_ATTR=null,ALLOW_ARIA_ATTR=!0,ALLOW_DATA_ATTR=!0,ALLOW_UNKNOWN_PROTOCOLS=!1,ALLOW_SELF_CLOSE_IN_ATTR=!0,SAFE_FOR_TEMPLATES=!1,SAFE_FOR_XML=!0,WHOLE_DOCUMENT=!1,SET_CONFIG=!1,FORCE_BODY=!1,RETURN_DOM=!1,RETURN_DOM_FRAGMENT=!1,RETURN_TRUSTED_TYPE=!1,SANITIZE_DOM=!0,SANITIZE_NAMED_PROPS=!1;const SANITIZE_NAMED_PROPS_PREFIX="user-content-";let KEEP_CONTENT=!0,IN_PLACE=!1,USE_PROFILES={},FORBID_CONTENTS=null;const DEFAULT_FORBID_CONTENTS=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let DATA_URI_TAGS=null;const DEFAULT_DATA_URI_TAGS=addToSet({},["audio","video","img","source","image","track"]);let URI_SAFE_ATTRIBUTES=null;const DEFAULT_URI_SAFE_ATTRIBUTES=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),MATHML_NAMESPACE="http://www.w3.org/1998/Math/MathML",SVG_NAMESPACE="http://www.w3.org/2000/svg",HTML_NAMESPACE="http://www.w3.org/1999/xhtml";let NAMESPACE=HTML_NAMESPACE,IS_EMPTY_INPUT=!1,ALLOWED_NAMESPACES=null;const DEFAULT_ALLOWED_NAMESPACES=addToSet({},[MATHML_NAMESPACE,SVG_NAMESPACE,HTML_NAMESPACE],stringToString);let PARSER_MEDIA_TYPE=null;const SUPPORTED_PARSER_MEDIA_TYPES=["application/xhtml+xml","text/html"],DEFAULT_PARSER_MEDIA_TYPE="text/html";let transformCaseFunc=null,CONFIG=null;const MAX_NESTING_DEPTH=255,formElement=document.createElement("form"),isRegexOrFunction=function isRegexOrFunction(testValue){return testValue instanceof RegExp||testValue instanceof Function},_parseConfig=function _parseConfig(){let cfg=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!CONFIG||CONFIG!==cfg){if(cfg&&"object"==typeof cfg||(cfg={}),cfg=clone(cfg),PARSER_MEDIA_TYPE=-1===SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE)?DEFAULT_PARSER_MEDIA_TYPE:cfg.PARSER_MEDIA_TYPE,transformCaseFunc="application/xhtml+xml"===PARSER_MEDIA_TYPE?stringToString:stringToLowerCase,ALLOWED_TAGS=objectHasOwnProperty(cfg,"ALLOWED_TAGS")?addToSet({},cfg.ALLOWED_TAGS,transformCaseFunc):DEFAULT_ALLOWED_TAGS,ALLOWED_ATTR=objectHasOwnProperty(cfg,"ALLOWED_ATTR")?addToSet({},cfg.ALLOWED_ATTR,transformCaseFunc):DEFAULT_ALLOWED_ATTR,ALLOWED_NAMESPACES=objectHasOwnProperty(cfg,"ALLOWED_NAMESPACES")?addToSet({},cfg.ALLOWED_NAMESPACES,stringToString):DEFAULT_ALLOWED_NAMESPACES,URI_SAFE_ATTRIBUTES=objectHasOwnProperty(cfg,"ADD_URI_SAFE_ATTR")?addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES),cfg.ADD_URI_SAFE_ATTR,transformCaseFunc):DEFAULT_URI_SAFE_ATTRIBUTES,DATA_URI_TAGS=objectHasOwnProperty(cfg,"ADD_DATA_URI_TAGS")?addToSet(clone(DEFAULT_DATA_URI_TAGS),cfg.ADD_DATA_URI_TAGS,transformCaseFunc):DEFAULT_DATA_URI_TAGS,FORBID_CONTENTS=objectHasOwnProperty(cfg,"FORBID_CONTENTS")?addToSet({},cfg.FORBID_CONTENTS,transformCaseFunc):DEFAULT_FORBID_CONTENTS,FORBID_TAGS=objectHasOwnProperty(cfg,"FORBID_TAGS")?addToSet({},cfg.FORBID_TAGS,transformCaseFunc):{},FORBID_ATTR=objectHasOwnProperty(cfg,"FORBID_ATTR")?addToSet({},cfg.FORBID_ATTR,transformCaseFunc):{},USE_PROFILES=!!objectHasOwnProperty(cfg,"USE_PROFILES")&&cfg.USE_PROFILES,ALLOW_ARIA_ATTR=!1!==cfg.ALLOW_ARIA_ATTR,ALLOW_DATA_ATTR=!1!==cfg.ALLOW_DATA_ATTR,ALLOW_UNKNOWN_PROTOCOLS=cfg.ALLOW_UNKNOWN_PROTOCOLS||!1,ALLOW_SELF_CLOSE_IN_ATTR=!1!==cfg.ALLOW_SELF_CLOSE_IN_ATTR,SAFE_FOR_TEMPLATES=cfg.SAFE_FOR_TEMPLATES||!1,SAFE_FOR_XML=!1!==cfg.SAFE_FOR_XML,WHOLE_DOCUMENT=cfg.WHOLE_DOCUMENT||!1,RETURN_DOM=cfg.RETURN_DOM||!1,RETURN_DOM_FRAGMENT=cfg.RETURN_DOM_FRAGMENT||!1,RETURN_TRUSTED_TYPE=cfg.RETURN_TRUSTED_TYPE||!1,FORCE_BODY=cfg.FORCE_BODY||!1,SANITIZE_DOM=!1!==cfg.SANITIZE_DOM,SANITIZE_NAMED_PROPS=cfg.SANITIZE_NAMED_PROPS||!1,KEEP_CONTENT=!1!==cfg.KEEP_CONTENT,IN_PLACE=cfg.IN_PLACE||!1,IS_ALLOWED_URI$1=cfg.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,NAMESPACE=cfg.NAMESPACE||HTML_NAMESPACE,CUSTOM_ELEMENT_HANDLING=cfg.CUSTOM_ELEMENT_HANDLING||{},cfg.CUSTOM_ELEMENT_HANDLING&&isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(CUSTOM_ELEMENT_HANDLING.tagNameCheck=cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck),cfg.CUSTOM_ELEMENT_HANDLING&&isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(CUSTOM_ELEMENT_HANDLING.attributeNameCheck=cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),cfg.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),SAFE_FOR_TEMPLATES&&(ALLOW_DATA_ATTR=!1),RETURN_DOM_FRAGMENT&&(RETURN_DOM=!0),USE_PROFILES&&(ALLOWED_TAGS=addToSet({},text),ALLOWED_ATTR=[],!0===USE_PROFILES.html&&(addToSet(ALLOWED_TAGS,html$1),addToSet(ALLOWED_ATTR,html)),!0===USE_PROFILES.svg&&(addToSet(ALLOWED_TAGS,svg$1),addToSet(ALLOWED_ATTR,svg),addToSet(ALLOWED_ATTR,xml)),!0===USE_PROFILES.svgFilters&&(addToSet(ALLOWED_TAGS,svgFilters),addToSet(ALLOWED_ATTR,svg),addToSet(ALLOWED_ATTR,xml)),!0===USE_PROFILES.mathMl&&(addToSet(ALLOWED_TAGS,mathMl$1),addToSet(ALLOWED_ATTR,mathMl),addToSet(ALLOWED_ATTR,xml))),cfg.ADD_TAGS&&(ALLOWED_TAGS===DEFAULT_ALLOWED_TAGS&&(ALLOWED_TAGS=clone(ALLOWED_TAGS)),addToSet(ALLOWED_TAGS,cfg.ADD_TAGS,transformCaseFunc)),cfg.ADD_ATTR&&(ALLOWED_ATTR===DEFAULT_ALLOWED_ATTR&&(ALLOWED_ATTR=clone(ALLOWED_ATTR)),addToSet(ALLOWED_ATTR,cfg.ADD_ATTR,transformCaseFunc)),cfg.ADD_URI_SAFE_ATTR&&addToSet(URI_SAFE_ATTRIBUTES,cfg.ADD_URI_SAFE_ATTR,transformCaseFunc),cfg.FORBID_CONTENTS&&(FORBID_CONTENTS===DEFAULT_FORBID_CONTENTS&&(FORBID_CONTENTS=clone(FORBID_CONTENTS)),addToSet(FORBID_CONTENTS,cfg.FORBID_CONTENTS,transformCaseFunc)),KEEP_CONTENT&&(ALLOWED_TAGS["#text"]=!0),WHOLE_DOCUMENT&&addToSet(ALLOWED_TAGS,["html","head","body"]),ALLOWED_TAGS.table&&(addToSet(ALLOWED_TAGS,["tbody"]),delete FORBID_TAGS.tbody),cfg.TRUSTED_TYPES_POLICY){if("function"!=typeof cfg.TRUSTED_TYPES_POLICY.createHTML)throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL)throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');trustedTypesPolicy=cfg.TRUSTED_TYPES_POLICY,emptyHTML=trustedTypesPolicy.createHTML("")}else void 0===trustedTypesPolicy&&(trustedTypesPolicy=_createTrustedTypesPolicy(trustedTypes,currentScript)),null!==trustedTypesPolicy&&"string"==typeof emptyHTML&&(emptyHTML=trustedTypesPolicy.createHTML(""));freeze&&freeze(cfg),CONFIG=cfg}},MATHML_TEXT_INTEGRATION_POINTS=addToSet({},["mi","mo","mn","ms","mtext"]),HTML_INTEGRATION_POINTS=addToSet({},["foreignobject","annotation-xml"]),COMMON_SVG_AND_HTML_ELEMENTS=addToSet({},["title","style","font","a","script"]),ALL_SVG_TAGS=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]),ALL_MATHML_TAGS=addToSet({},[...mathMl$1,...mathMlDisallowed]),_checkValidNamespace=function _checkValidNamespace(element){let parent=getParentNode(element);parent&&parent.tagName||(parent={namespaceURI:NAMESPACE,tagName:"template"});const tagName=stringToLowerCase(element.tagName),parentTagName=stringToLowerCase(parent.tagName);return!!ALLOWED_NAMESPACES[element.namespaceURI]&&(element.namespaceURI===SVG_NAMESPACE?parent.namespaceURI===HTML_NAMESPACE?"svg"===tagName:parent.namespaceURI===MATHML_NAMESPACE?"svg"===tagName&&("annotation-xml"===parentTagName||MATHML_TEXT_INTEGRATION_POINTS[parentTagName]):Boolean(ALL_SVG_TAGS[tagName]):element.namespaceURI===MATHML_NAMESPACE?parent.namespaceURI===HTML_NAMESPACE?"math"===tagName:parent.namespaceURI===SVG_NAMESPACE?"math"===tagName&&HTML_INTEGRATION_POINTS[parentTagName]:Boolean(ALL_MATHML_TAGS[tagName]):element.namespaceURI===HTML_NAMESPACE?!(parent.namespaceURI===SVG_NAMESPACE&&!HTML_INTEGRATION_POINTS[parentTagName])&&!(parent.namespaceURI===MATHML_NAMESPACE&&!MATHML_TEXT_INTEGRATION_POINTS[parentTagName])&&!ALL_MATHML_TAGS[tagName]&&(COMMON_SVG_AND_HTML_ELEMENTS[tagName]||!ALL_SVG_TAGS[tagName]):!("application/xhtml+xml"!==PARSER_MEDIA_TYPE||!ALLOWED_NAMESPACES[element.namespaceURI]))},_forceRemove=function _forceRemove(node){arrayPush(DOMPurify.removed,{element:node});try{node.parentNode.removeChild(node)}catch(_){node.remove()}},_removeAttribute=function _removeAttribute(name,node){try{arrayPush(DOMPurify.removed,{attribute:node.getAttributeNode(name),from:node})}catch(_){arrayPush(DOMPurify.removed,{attribute:null,from:node})}if(node.removeAttribute(name),"is"===name&&!ALLOWED_ATTR[name])if(RETURN_DOM||RETURN_DOM_FRAGMENT)try{_forceRemove(node)}catch(_){}else try{node.setAttribute(name,"")}catch(_){}},_initDocument=function _initDocument(dirty){let doc=null,leadingWhitespace=null;if(FORCE_BODY)dirty="<remove></remove>"+dirty;else{const matches=stringMatch(dirty,/^[\r\n\t ]+/);leadingWhitespace=matches&&matches[0]}"application/xhtml+xml"===PARSER_MEDIA_TYPE&&NAMESPACE===HTML_NAMESPACE&&(dirty='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+dirty+"</body></html>");const dirtyPayload=trustedTypesPolicy?trustedTypesPolicy.createHTML(dirty):dirty;if(NAMESPACE===HTML_NAMESPACE)try{doc=(new DOMParser).parseFromString(dirtyPayload,PARSER_MEDIA_TYPE)}catch(_){}if(!doc||!doc.documentElement){doc=implementation.createDocument(NAMESPACE,"template",null);try{doc.documentElement.innerHTML=IS_EMPTY_INPUT?emptyHTML:dirtyPayload}catch(_){}}const body=doc.body||doc.documentElement;return dirty&&leadingWhitespace&&body.insertBefore(document.createTextNode(leadingWhitespace),body.childNodes[0]||null),NAMESPACE===HTML_NAMESPACE?getElementsByTagName.call(doc,WHOLE_DOCUMENT?"html":"body")[0]:WHOLE_DOCUMENT?doc.documentElement:body},_createNodeIterator=function _createNodeIterator(root){return createNodeIterator.call(root.ownerDocument||root,root,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT|NodeFilter.SHOW_PROCESSING_INSTRUCTION|NodeFilter.SHOW_CDATA_SECTION,null)},_isClobbered=function _isClobbered(elm){return elm instanceof HTMLFormElement&&(void 0!==elm.__depth&&"number"!=typeof elm.__depth||void 0!==elm.__removalCount&&"number"!=typeof elm.__removalCount||"string"!=typeof elm.nodeName||"string"!=typeof elm.textContent||"function"!=typeof elm.removeChild||!(elm.attributes instanceof NamedNodeMap)||"function"!=typeof elm.removeAttribute||"function"!=typeof elm.setAttribute||"string"!=typeof elm.namespaceURI||"function"!=typeof elm.insertBefore||"function"!=typeof elm.hasChildNodes)},_isNode=function _isNode(object){return"function"==typeof Node&&object instanceof Node},_executeHook=function _executeHook(entryPoint,currentNode,data){hooks[entryPoint]&&arrayForEach(hooks[entryPoint],(hook=>{hook.call(DOMPurify,currentNode,data,CONFIG)}))},_sanitizeElements=function _sanitizeElements(currentNode){let content=null;if(_executeHook("beforeSanitizeElements",currentNode,null),_isClobbered(currentNode))return _forceRemove(currentNode),!0;const tagName=transformCaseFunc(currentNode.nodeName);if(_executeHook("uponSanitizeElement",currentNode,{tagName,allowedTags:ALLOWED_TAGS}),currentNode.hasChildNodes()&&!_isNode(currentNode.firstElementChild)&®ExpTest(/<[/\w]/g,currentNode.innerHTML)&®ExpTest(/<[/\w]/g,currentNode.textContent))return _forceRemove(currentNode),!0;if(currentNode.nodeType===NODE_TYPE.progressingInstruction)return _forceRemove(currentNode),!0;if(SAFE_FOR_XML&¤tNode.nodeType===NODE_TYPE.comment&®ExpTest(/<[/\w]/g,currentNode.data))return _forceRemove(currentNode),!0;if(!ALLOWED_TAGS[tagName]||FORBID_TAGS[tagName]){if(!FORBID_TAGS[tagName]&&_isBasicCustomElement(tagName)){if(CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp&®ExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck,tagName))return!1;if(CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function&&CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName))return!1}if(KEEP_CONTENT&&!FORBID_CONTENTS[tagName]){const parentNode=getParentNode(currentNode)||currentNode.parentNode,childNodes=getChildNodes(currentNode)||currentNode.childNodes;if(childNodes&&parentNode)for(let i=childNodes.length-1;i>=0;--i){const childClone=cloneNode(childNodes[i],!0);childClone.__removalCount=(currentNode.__removalCount||0)+1,parentNode.insertBefore(childClone,getNextSibling(currentNode))}}return _forceRemove(currentNode),!0}return currentNode instanceof Element&&!_checkValidNamespace(currentNode)?(_forceRemove(currentNode),!0):"noscript"!==tagName&&"noembed"!==tagName&&"noframes"!==tagName||!regExpTest(/<\/no(script|embed|frames)/i,currentNode.innerHTML)?(SAFE_FOR_TEMPLATES&¤tNode.nodeType===NODE_TYPE.text&&(content=currentNode.textContent,arrayForEach([MUSTACHE_EXPR,ERB_EXPR,TMPLIT_EXPR],(expr=>{content=stringReplace(content,expr," ")})),currentNode.textContent!==content&&(arrayPush(DOMPurify.removed,{element:currentNode.cloneNode()}),currentNode.textContent=content)),_executeHook("afterSanitizeElements",currentNode,null),!1):(_forceRemove(currentNode),!0)},_isValidAttribute=function _isValidAttribute(lcTag,lcName,value){if(SANITIZE_DOM&&("id"===lcName||"name"===lcName)&&(value in document||value in formElement||"__depth"===value||"__removalCount"===value))return!1;if(ALLOW_DATA_ATTR&&!FORBID_ATTR[lcName]&®ExpTest(DATA_ATTR,lcName));else if(ALLOW_ARIA_ATTR&®ExpTest(ARIA_ATTR,lcName));else if(!ALLOWED_ATTR[lcName]||FORBID_ATTR[lcName]){if(!(_isBasicCustomElement(lcTag)&&(CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp&®ExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck,lcTag)||CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function&&CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag))&&(CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp&®ExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck,lcName)||CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function&&CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName))||"is"===lcName&&CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp&®ExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck,value)||CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function&&CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))))return!1}else if(URI_SAFE_ATTRIBUTES[lcName]);else if(regExpTest(IS_ALLOWED_URI$1,stringReplace(value,ATTR_WHITESPACE,"")));else if("src"!==lcName&&"xlink:href"!==lcName&&"href"!==lcName||"script"===lcTag||0!==stringIndexOf(value,"data:")||!DATA_URI_TAGS[lcTag])if(ALLOW_UNKNOWN_PROTOCOLS&&!regExpTest(IS_SCRIPT_OR_DATA,stringReplace(value,ATTR_WHITESPACE,"")));else if(value)return!1;return!0},_isBasicCustomElement=function _isBasicCustomElement(tagName){return"annotation-xml"!==tagName&&stringMatch(tagName,CUSTOM_ELEMENT)},_sanitizeAttributes=function _sanitizeAttributes(currentNode){_executeHook("beforeSanitizeAttributes",currentNode,null);const{attributes}=currentNode;if(!attributes)return;const hookEvent={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ALLOWED_ATTR};let l=attributes.length;for(;l--;){const attr=attributes[l],{name,namespaceURI,value:attrValue}=attr,lcName=transformCaseFunc(name);let value="value"===name?attrValue:stringTrim(attrValue);if(hookEvent.attrName=lcName,hookEvent.attrValue=value,hookEvent.keepAttr=!0,hookEvent.forceKeepAttr=void 0,_executeHook("uponSanitizeAttribute",currentNode,hookEvent),value=hookEvent.attrValue,hookEvent.forceKeepAttr)continue;if(_removeAttribute(name,currentNode),!hookEvent.keepAttr)continue;if(!ALLOW_SELF_CLOSE_IN_ATTR&®ExpTest(/\/>/i,value)){_removeAttribute(name,currentNode);continue}if(SAFE_FOR_XML&®ExpTest(/((--!?|])>)|<\/(style|title)/i,value)){_removeAttribute(name,currentNode);continue}SAFE_FOR_TEMPLATES&&arrayForEach([MUSTACHE_EXPR,ERB_EXPR,TMPLIT_EXPR],(expr=>{value=stringReplace(value,expr," ")}));const lcTag=transformCaseFunc(currentNode.nodeName);if(_isValidAttribute(lcTag,lcName,value)){if(!SANITIZE_NAMED_PROPS||"id"!==lcName&&"name"!==lcName||(_removeAttribute(name,currentNode),value=SANITIZE_NAMED_PROPS_PREFIX+value),trustedTypesPolicy&&"object"==typeof trustedTypes&&"function"==typeof trustedTypes.getAttributeType)if(namespaceURI);else switch(trustedTypes.getAttributeType(lcTag,lcName)){case"TrustedHTML":value=trustedTypesPolicy.createHTML(value);break;case"TrustedScriptURL":value=trustedTypesPolicy.createScriptURL(value)}try{namespaceURI?currentNode.setAttributeNS(namespaceURI,name,value):currentNode.setAttribute(name,value),_isClobbered(currentNode)?_forceRemove(currentNode):arrayPop(DOMPurify.removed)}catch(_){}}}_executeHook("afterSanitizeAttributes",currentNode,null)},_sanitizeShadowDOM=function _sanitizeShadowDOM(fragment){let shadowNode=null;const shadowIterator=_createNodeIterator(fragment);for(_executeHook("beforeSanitizeShadowDOM",fragment,null);shadowNode=shadowIterator.nextNode();){if(_executeHook("uponSanitizeShadowNode",shadowNode,null),_sanitizeElements(shadowNode))continue;const parentNode=getParentNode(shadowNode);shadowNode.nodeType===NODE_TYPE.element&&(parentNode&&parentNode.__depth?shadowNode.__depth=(shadowNode.__removalCount||0)+parentNode.__depth+1:shadowNode.__depth=1),(shadowNode.__depth>=MAX_NESTING_DEPTH||shadowNode.__depth<0||numberIsNaN(shadowNode.__depth))&&_forceRemove(shadowNode),shadowNode.content instanceof DocumentFragment&&(shadowNode.content.__depth=shadowNode.__depth,_sanitizeShadowDOM(shadowNode.content)),_sanitizeAttributes(shadowNode)}_executeHook("afterSanitizeShadowDOM",fragment,null)};return DOMPurify.sanitize=function(dirty){let cfg=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},body=null,importedNode=null,currentNode=null,returnNode=null;if(IS_EMPTY_INPUT=!dirty,IS_EMPTY_INPUT&&(dirty="\x3c!--\x3e"),"string"!=typeof dirty&&!_isNode(dirty)){if("function"!=typeof dirty.toString)throw typeErrorCreate("toString is not a function");if("string"!=typeof(dirty=dirty.toString()))throw typeErrorCreate("dirty is not a string, aborting")}if(!DOMPurify.isSupported)return dirty;if(SET_CONFIG||_parseConfig(cfg),DOMPurify.removed=[],"string"==typeof dirty&&(IN_PLACE=!1),IN_PLACE){if(dirty.nodeName){const tagName=transformCaseFunc(dirty.nodeName);if(!ALLOWED_TAGS[tagName]||FORBID_TAGS[tagName])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(dirty instanceof Node)body=_initDocument("\x3c!----\x3e"),importedNode=body.ownerDocument.importNode(dirty,!0),importedNode.nodeType===NODE_TYPE.element&&"BODY"===importedNode.nodeName||"HTML"===importedNode.nodeName?body=importedNode:body.appendChild(importedNode);else{if(!RETURN_DOM&&!SAFE_FOR_TEMPLATES&&!WHOLE_DOCUMENT&&-1===dirty.indexOf("<"))return trustedTypesPolicy&&RETURN_TRUSTED_TYPE?trustedTypesPolicy.createHTML(dirty):dirty;if(body=_initDocument(dirty),!body)return RETURN_DOM?null:RETURN_TRUSTED_TYPE?emptyHTML:""}body&&FORCE_BODY&&_forceRemove(body.firstChild);const nodeIterator=_createNodeIterator(IN_PLACE?dirty:body);for(;currentNode=nodeIterator.nextNode();){if(_sanitizeElements(currentNode))continue;const parentNode=getParentNode(currentNode);currentNode.nodeType===NODE_TYPE.element&&(parentNode&&parentNode.__depth?currentNode.__depth=(currentNode.__removalCount||0)+parentNode.__depth+1:currentNode.__depth=1),(currentNode.__depth>=MAX_NESTING_DEPTH||currentNode.__depth<0||numberIsNaN(currentNode.__depth))&&_forceRemove(currentNode),currentNode.content instanceof DocumentFragment&&(currentNode.content.__depth=currentNode.__depth,_sanitizeShadowDOM(currentNode.content)),_sanitizeAttributes(currentNode)}if(IN_PLACE)return dirty;if(RETURN_DOM){if(RETURN_DOM_FRAGMENT)for(returnNode=createDocumentFragment.call(body.ownerDocument);body.firstChild;)returnNode.appendChild(body.firstChild);else returnNode=body;return(ALLOWED_ATTR.shadowroot||ALLOWED_ATTR.shadowrootmode)&&(returnNode=importNode.call(originalDocument,returnNode,!0)),returnNode}let serializedHTML=WHOLE_DOCUMENT?body.outerHTML:body.innerHTML;return WHOLE_DOCUMENT&&ALLOWED_TAGS["!doctype"]&&body.ownerDocument&&body.ownerDocument.doctype&&body.ownerDocument.doctype.name&®ExpTest(DOCTYPE_NAME,body.ownerDocument.doctype.name)&&(serializedHTML="<!DOCTYPE "+body.ownerDocument.doctype.name+">\n"+serializedHTML),SAFE_FOR_TEMPLATES&&arrayForEach([MUSTACHE_EXPR,ERB_EXPR,TMPLIT_EXPR],(expr=>{serializedHTML=stringReplace(serializedHTML,expr," ")})),trustedTypesPolicy&&RETURN_TRUSTED_TYPE?trustedTypesPolicy.createHTML(serializedHTML):serializedHTML},DOMPurify.setConfig=function(){_parseConfig(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),SET_CONFIG=!0},DOMPurify.clearConfig=function(){CONFIG=null,SET_CONFIG=!1},DOMPurify.isValidAttribute=function(tag,attr,value){CONFIG||_parseConfig({});const lcTag=transformCaseFunc(tag),lcName=transformCaseFunc(attr);return _isValidAttribute(lcTag,lcName,value)},DOMPurify.addHook=function(entryPoint,hookFunction){"function"==typeof hookFunction&&(hooks[entryPoint]=hooks[entryPoint]||[],arrayPush(hooks[entryPoint],hookFunction))},DOMPurify.removeHook=function(entryPoint){if(hooks[entryPoint])return arrayPop(hooks[entryPoint])},DOMPurify.removeHooks=function(entryPoint){hooks[entryPoint]&&(hooks[entryPoint]=[])},DOMPurify.removeAllHooks=function(){hooks={}},DOMPurify}return createDOMPurify()}()},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/GroupPlaybackControls.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>GroupPlaybackControls});var frameloop_frame=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/frame.mjs");const supportsScrollTimeline=(0,__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/memo.mjs").p)((()=>void 0!==window.ScrollTimeline));class GroupPlaybackControls{constructor(animations){this.stop=()=>this.runAll("stop"),this.animations=animations.filter(Boolean)}then(onResolve,onReject){return Promise.all(this.animations).then(onResolve).catch(onReject)}getAll(propName){return this.animations[0][propName]}setAll(propName,newValue){for(let i=0;i<this.animations.length;i++)this.animations[i][propName]=newValue}attachTimeline(timeline){const cancelAll=this.animations.map((animation=>{if(!supportsScrollTimeline()||!animation.attachTimeline)return animation.pause(),function observeTimeline(update,timeline){let prevProgress;const onFrame=()=>{const{currentTime}=timeline,progress=(null===currentTime?0:currentTime.value)/100;prevProgress!==progress&&update(progress),prevProgress=progress};return frameloop_frame.Gt.update(onFrame,!0),()=>(0,frameloop_frame.WG)(onFrame)}((progress=>{animation.time=animation.duration*progress}),timeline);animation.attachTimeline(timeline)}));return()=>{cancelAll.forEach(((cancelTimeline,i)=>{cancelTimeline&&cancelTimeline(),this.animations[i].stop()}))}}get time(){return this.getAll("time")}set time(time){this.setAll("time",time)}get speed(){return this.getAll("speed")}set speed(speed){this.setAll("speed",speed)}get startTime(){return this.getAll("startTime")}get duration(){let max=0;for(let i=0;i<this.animations.length;i++)max=Math.max(max,this.animations[i].duration);return max}runAll(methodName){this.animations.forEach((controls=>controls[methodName]()))}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>acceleratedValues});const acceleratedValues=new Set(["opacity","clipPath","filter","transform"])},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/generators/spring/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{o:()=>spring});var time_conversion=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/time-conversion.mjs"),utils_velocity=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.mjs"),errors=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/errors.mjs"),clamp=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/clamp.mjs");const safeMin=.001,minDuration=.01,maxDuration=10,minDamping=.05,maxDamping=1;function findSpring({duration=800,bounce=.25,velocity=0,mass=1}){let envelope,derivative;(0,errors.$)(duration<=(0,time_conversion.f)(maxDuration),"Spring duration must be 10 seconds or less");let dampingRatio=1-bounce;dampingRatio=(0,clamp.q)(minDamping,maxDamping,dampingRatio),duration=(0,clamp.q)(minDuration,maxDuration,(0,time_conversion.X)(duration)),dampingRatio<1?(envelope=undampedFreq=>{const exponentialDecay=undampedFreq*dampingRatio,delta=exponentialDecay*duration,a=exponentialDecay-velocity,b=calcAngularFreq(undampedFreq,dampingRatio),c=Math.exp(-delta);return safeMin-a/b*c},derivative=undampedFreq=>{const delta=undampedFreq*dampingRatio*duration,d=delta*velocity+velocity,e=Math.pow(dampingRatio,2)*Math.pow(undampedFreq,2)*duration,f=Math.exp(-delta),g=calcAngularFreq(Math.pow(undampedFreq,2),dampingRatio);return(-envelope(undampedFreq)+safeMin>0?-1:1)*((d-e)*f)/g}):(envelope=undampedFreq=>Math.exp(-undampedFreq*duration)*((undampedFreq-velocity)*duration+1)-safeMin,derivative=undampedFreq=>Math.exp(-undampedFreq*duration)*(duration*duration*(velocity-undampedFreq)));const undampedFreq=function approximateRoot(envelope,derivative,initialGuess){let result=initialGuess;for(let i=1;i<rootIterations;i++)result-=envelope(result)/derivative(result);return result}(envelope,derivative,5/duration);if(duration=(0,time_conversion.f)(duration),isNaN(undampedFreq))return{stiffness:100,damping:10,duration};{const stiffness=Math.pow(undampedFreq,2)*mass;return{stiffness,damping:2*dampingRatio*Math.sqrt(mass*stiffness),duration}}}const rootIterations=12;function calcAngularFreq(undampedFreq,dampingRatio){return undampedFreq*Math.sqrt(1-dampingRatio*dampingRatio)}const durationKeys=["duration","bounce"],physicsKeys=["stiffness","damping","mass"];function isSpringType(options,keys){return keys.some((key=>void 0!==options[key]))}function spring({keyframes,restDelta,restSpeed,...options}){const origin=keyframes[0],target=keyframes[keyframes.length-1],state={done:!1,value:origin},{stiffness,damping,mass,duration,velocity,isResolvedFromDuration}=function getSpringOptions(options){let springOptions={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...options};if(!isSpringType(options,physicsKeys)&&isSpringType(options,durationKeys)){const derived=findSpring(options);springOptions={...springOptions,...derived,mass:1},springOptions.isResolvedFromDuration=!0}return springOptions}({...options,velocity:-(0,time_conversion.X)(options.velocity||0)}),initialVelocity=velocity||0,dampingRatio=damping/(2*Math.sqrt(stiffness*mass)),initialDelta=target-origin,undampedAngularFreq=(0,time_conversion.X)(Math.sqrt(stiffness/mass)),isGranularScale=Math.abs(initialDelta)<5;let resolveSpring;if(restSpeed||(restSpeed=isGranularScale?.01:2),restDelta||(restDelta=isGranularScale?.005:.5),dampingRatio<1){const angularFreq=calcAngularFreq(undampedAngularFreq,dampingRatio);resolveSpring=t=>{const envelope=Math.exp(-dampingRatio*undampedAngularFreq*t);return target-envelope*((initialVelocity+dampingRatio*undampedAngularFreq*initialDelta)/angularFreq*Math.sin(angularFreq*t)+initialDelta*Math.cos(angularFreq*t))}}else if(1===dampingRatio)resolveSpring=t=>target-Math.exp(-undampedAngularFreq*t)*(initialDelta+(initialVelocity+undampedAngularFreq*initialDelta)*t);else{const dampedAngularFreq=undampedAngularFreq*Math.sqrt(dampingRatio*dampingRatio-1);resolveSpring=t=>{const envelope=Math.exp(-dampingRatio*undampedAngularFreq*t),freqForT=Math.min(dampedAngularFreq*t,300);return target-envelope*((initialVelocity+dampingRatio*undampedAngularFreq*initialDelta)*Math.sinh(freqForT)+dampedAngularFreq*initialDelta*Math.cosh(freqForT))/dampedAngularFreq}}return{calculatedDuration:isResolvedFromDuration&&duration||null,next:t=>{const current=resolveSpring(t);if(isResolvedFromDuration)state.done=t>=duration;else{let currentVelocity=0;dampingRatio<1&&(currentVelocity=0===t?(0,time_conversion.f)(initialVelocity):(0,utils_velocity.Y)(resolveSpring,t,current));const isBelowVelocityThreshold=Math.abs(currentVelocity)<=restSpeed,isBelowDisplacementThreshold=Math.abs(target-current)<=restDelta;state.done=isBelowVelocityThreshold&&isBelowDisplacementThreshold}return state.value=state.done?target:current,state}}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/generators/utils/calc-duration.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Y:()=>maxGeneratorDuration,t:()=>calcGeneratorDuration});const maxGeneratorDuration=2e4;function calcGeneratorDuration(generator){let duration=0;let state=generator.next(duration);for(;!state.done&&duration<maxGeneratorDuration;)duration+=50,state=generator.next(duration);return duration>=maxGeneratorDuration?1/0:duration}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Y:()=>calcGeneratorVelocity});var _utils_velocity_per_second_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/velocity-per-second.mjs");const velocitySampleDuration=5;function calcGeneratorVelocity(resolveValue,t,current){const prevT=Math.max(t-velocitySampleDuration,0);return(0,_utils_velocity_per_second_mjs__WEBPACK_IMPORTED_MODULE_0__.f)(current-resolveValue(prevT),t-prevT)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/hooks/use-animate.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{l:()=>useAnimate});var use_constant=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/use-constant.mjs"),react=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js");var errors=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/errors.mjs");function resolveElements(elements,scope,selectorCache){var _a;if("string"==typeof elements){let root=document;scope&&((0,errors.V)(Boolean(scope.current),"Scope provided, but no element detected."),root=scope.current),selectorCache?(null!==(_a=selectorCache[elements])&&void 0!==_a||(selectorCache[elements]=root.querySelectorAll(elements)),elements=selectorCache[elements]):elements=root.querySelectorAll(elements)}else elements instanceof Element&&(elements=[elements]);return Array.from(elements||[])}var store=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/store.mjs"),GroupPlaybackControls=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/GroupPlaybackControls.mjs");var visual_element_target=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs"),is_svg_element=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs"),SVGVisualElement=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs"),HTMLVisualElement=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs");function createVisualElement(element){const options={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},node=(0,is_svg_element.x)(element)?new SVGVisualElement.l(options):new HTMLVisualElement.M(options);node.mount(element),store.C.set(element,node)}var single_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/interfaces/single-value.mjs"),spring=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/generators/spring/index.mjs"),calc_duration=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/generators/utils/calc-duration.mjs"),time_conversion=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/time-conversion.mjs");function createGeneratorEasing(options,scale=100){const generator=(0,spring.o)({keyframes:[0,scale],...options}),duration=Math.min((0,calc_duration.t)(generator),calc_duration.Y);return{type:"keyframes",ease:progress=>generator.next(duration*progress).value/scale,duration:(0,time_conversion.X)(duration)}}var offsets_default=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/offsets/default.mjs"),fill=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/offsets/fill.mjs"),progress=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/progress.mjs"),is_motion_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs");function calcNextTime(current,next,prev,labels){var _a;return"number"==typeof next?next:next.startsWith("-")||next.startsWith("+")?Math.max(0,current+parseFloat(next)):"<"===next?prev:null!==(_a=labels.get(next))&&void 0!==_a?_a:current}var is_easing_array=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.mjs");function getEasingForSegment(easing,i){return(0,is_easing_array.h)(easing)?easing[((min,max,v)=>{const rangeSize=max-min;return((v-min)%rangeSize+rangeSize)%rangeSize+min})(0,easing.length,i)]:easing}var array=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/array.mjs"),number=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/mix/number.mjs");function addKeyframes(sequence,keyframes,easing,offset,startTime,endTime){!function eraseKeyframes(sequence,startTime,endTime){for(let i=0;i<sequence.length;i++){const keyframe=sequence[i];keyframe.at>startTime&&keyframe.at<endTime&&((0,array.Ai)(sequence,keyframe),i--)}}(sequence,startTime,endTime);for(let i=0;i<keyframes.length;i++)sequence.push({value:keyframes[i],at:(0,number.k)(startTime,endTime,offset[i]),easing:getEasingForSegment(easing,i)})}function compareByTime(a,b){return a.at===b.at?null===a.value?1:null===b.value?-1:0:a.at-b.at}function getSubjectSequence(subject,sequences){return!sequences.has(subject)&&sequences.set(subject,{}),sequences.get(subject)}function getValueSequence(name,sequences){return sequences[name]||(sequences[name]=[]),sequences[name]}function keyframesAsList(keyframes){return Array.isArray(keyframes)?keyframes:[keyframes]}function getValueTransition(transition,key){return transition[key]?{...transition,...transition[key]}:{...transition}}const isNumber=keyframe=>"number"==typeof keyframe,isNumberKeyframesArray=keyframes=>keyframes.every(isNumber);function animateElements(elementOrSelector,keyframes,options,scope){const elements=resolveElements(elementOrSelector,scope),numElements=elements.length;(0,errors.V)(Boolean(numElements),"No valid element provided.");const animations=[];for(let i=0;i<numElements;i++){const element=elements[i];store.C.has(element)||createVisualElement(element);const visualElement=store.C.get(element),transition={...options};"function"==typeof transition.delay&&(transition.delay=transition.delay(i,numElements)),animations.push(...(0,visual_element_target.$)(visualElement,{...keyframes,transition},{}))}return new GroupPlaybackControls.P(animations)}function animateSequence(sequence,options,scope){const animations=[],animationDefinitions=function createAnimationsFromSequence(sequence,{defaultTransition={},...sequenceTransition}={},scope){const defaultDuration=defaultTransition.duration||.3,animationDefinitions=new Map,sequences=new Map,elementCache={},timeLabels=new Map;let prevTime=0,currentTime=0,totalDuration=0;for(let i=0;i<sequence.length;i++){const segment=sequence[i];if("string"==typeof segment){timeLabels.set(segment,currentTime);continue}if(!Array.isArray(segment)){timeLabels.set(segment.name,calcNextTime(currentTime,segment.at,prevTime,timeLabels));continue}let[subject,keyframes,transition={}]=segment;void 0!==transition.at&&(currentTime=calcNextTime(currentTime,transition.at,prevTime,timeLabels));let maxDuration=0;const resolveValueSequence=(valueKeyframes,valueTransition,valueSequence,elementIndex=0,numElements=0)=>{const valueKeyframesAsList=keyframesAsList(valueKeyframes),{delay=0,times=(0,offsets_default.Z)(valueKeyframesAsList),type="keyframes",...remainingTransition}=valueTransition;let{ease=defaultTransition.ease||"easeOut",duration}=valueTransition;const calculatedDelay="function"==typeof delay?delay(elementIndex,numElements):delay,numKeyframes=valueKeyframesAsList.length;if(numKeyframes<=2&&"spring"===type){let absoluteDelta=100;if(2===numKeyframes&&isNumberKeyframesArray(valueKeyframesAsList)){const delta=valueKeyframesAsList[1]-valueKeyframesAsList[0];absoluteDelta=Math.abs(delta)}const springTransition={...remainingTransition};void 0!==duration&&(springTransition.duration=(0,time_conversion.f)(duration));const springEasing=createGeneratorEasing(springTransition,absoluteDelta);ease=springEasing.ease,duration=springEasing.duration}null!=duration||(duration=defaultDuration);const startTime=currentTime+calculatedDelay,targetTime=startTime+duration;1===times.length&&0===times[0]&&(times[1]=1);const remainder=times.length-valueKeyframesAsList.length;remainder>0&&(0,fill.f)(times,remainder),1===valueKeyframesAsList.length&&valueKeyframesAsList.unshift(null),addKeyframes(valueSequence,valueKeyframesAsList,ease,times,startTime,targetTime),maxDuration=Math.max(calculatedDelay+duration,maxDuration),totalDuration=Math.max(targetTime,totalDuration)};if((0,is_motion_value.S)(subject))resolveValueSequence(keyframes,transition,getValueSequence("default",getSubjectSequence(subject,sequences)));else{const elements=resolveElements(subject,scope,elementCache),numElements=elements.length;for(let elementIndex=0;elementIndex<numElements;elementIndex++){const subjectSequence=getSubjectSequence(elements[elementIndex],sequences);for(const key in keyframes)resolveValueSequence(keyframes[key],getValueTransition(transition,key),getValueSequence(key,subjectSequence),elementIndex,numElements)}}prevTime=currentTime,currentTime+=maxDuration}return sequences.forEach(((valueSequences,element)=>{for(const key in valueSequences){const valueSequence=valueSequences[key];valueSequence.sort(compareByTime);const keyframes=[],valueOffset=[],valueEasing=[];for(let i=0;i<valueSequence.length;i++){const{at,value,easing}=valueSequence[i];keyframes.push(value),valueOffset.push((0,progress.q)(0,totalDuration,at)),valueEasing.push(easing||"easeOut")}0!==valueOffset[0]&&(valueOffset.unshift(0),keyframes.unshift(keyframes[0]),valueEasing.unshift("easeInOut")),1!==valueOffset[valueOffset.length-1]&&(valueOffset.push(1),keyframes.push(null)),animationDefinitions.has(element)||animationDefinitions.set(element,{keyframes:{},transition:{}});const definition=animationDefinitions.get(element);definition.keyframes[key]=keyframes,definition.transition[key]={...defaultTransition,duration:totalDuration,ease:valueEasing,times:valueOffset,...sequenceTransition}}})),animationDefinitions}(sequence,options,scope);return animationDefinitions.forEach((({keyframes,transition},subject)=>{let animation;animation=(0,is_motion_value.S)(subject)?(0,single_value.z)(subject,keyframes.default,transition.default):animateElements(subject,keyframes,transition),animations.push(animation)})),new GroupPlaybackControls.P(animations)}const createScopedAnimate=scope=>function scopedAnimate(valueOrElementOrSequence,keyframes,options){let animation;var value;return value=valueOrElementOrSequence,animation=Array.isArray(value)&&Array.isArray(value[0])?animateSequence(valueOrElementOrSequence,keyframes,scope):function isDOMKeyframes(keyframes){return"object"==typeof keyframes&&!Array.isArray(keyframes)}(keyframes)?animateElements(valueOrElementOrSequence,keyframes,options,scope):(0,single_value.z)(valueOrElementOrSequence,keyframes,options),scope&&scope.animations.push(animation),animation};createScopedAnimate();function useAnimate(){const scope=(0,use_constant.M)((()=>({current:null,animations:[]}))),animate=(0,use_constant.M)((()=>createScopedAnimate(scope)));return function useUnmountEffect(callback){return(0,react.useEffect)((()=>()=>callback()),[])}((()=>{scope.animations.forEach((animation=>animation.stop()))})),[scope,animate]}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>animateMotionValue});var time_conversion=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/time-conversion.mjs"),transform=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs");const underDampedSpring={type:"spring",stiffness:500,damping:25,restSpeed:10},keyframesTransition={type:"keyframes",duration:.8},ease={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(valueKey,{keyframes})=>keyframes.length>2?keyframesTransition:transform.f.has(valueKey)?valueKey.startsWith("scale")?{type:"spring",stiffness:550,damping:0===keyframes[1]?2*Math.sqrt(550):30,restSpeed:10}:underDampedSpring:ease;var transitions=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/transitions.mjs"),GlobalConfig=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/GlobalConfig.mjs");const instantAnimationState_current=!1,isNotNull=value=>null!==value;function getFinalKeyframe(keyframes,{repeat,repeatType="loop"},finalKeyframe){const resolvedKeyframes=keyframes.filter(isNotNull),index=repeat&&"loop"!==repeatType&&repeat%2==1?0:resolvedKeyframes.length-1;return index&&void 0!==finalKeyframe?finalKeyframe:resolvedKeyframes[index]}var frameloop_frame=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/frame.mjs"),DOMKeyframesResolver=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs"),memo=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/memo.mjs"),noop=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/noop.mjs"),sync_time=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/sync-time.mjs"),KeyframesResolver=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.mjs"),errors=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/errors.mjs"),complex=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/complex/index.mjs");const isAnimatable=(value,name)=>"zIndex"!==name&&(!("number"!=typeof value&&!Array.isArray(value))||!("string"!=typeof value||!complex.f.test(value)&&"0"!==value||value.startsWith("url(")));class BaseAnimation{constructor({autoplay=!0,delay=0,type="keyframes",repeat=0,repeatDelay=0,repeatType="loop",...options}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=sync_time.k.now(),this.options={autoplay,delay,type,repeat,repeatDelay,repeatType,...options},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,KeyframesResolver.q)(),this._resolved}onKeyframesResolved(keyframes,finalKeyframe){this.resolvedAt=sync_time.k.now(),this.hasAttemptedResolve=!0;const{name,type,velocity,delay,onComplete,onUpdate,isGenerator}=this.options;if(!isGenerator&&!function canAnimate(keyframes,name,type,velocity){const originKeyframe=keyframes[0];if(null===originKeyframe)return!1;if("display"===name||"visibility"===name)return!0;const targetKeyframe=keyframes[keyframes.length-1],isOriginAnimatable=isAnimatable(originKeyframe,name),isTargetAnimatable=isAnimatable(targetKeyframe,name);return(0,errors.$)(isOriginAnimatable===isTargetAnimatable,`You are trying to animate ${name} from "${originKeyframe}" to "${targetKeyframe}". ${originKeyframe} is not an animatable value - to enable this animation set ${originKeyframe} to a value animatable to ${targetKeyframe} via the \`style\` property.`),!(!isOriginAnimatable||!isTargetAnimatable)&&(function hasKeyframesChanged(keyframes){const current=keyframes[0];if(1===keyframes.length)return!0;for(let i=0;i<keyframes.length;i++)if(keyframes[i]!==current)return!0}(keyframes)||"spring"===type&&velocity)}(keyframes,name,type,velocity)){if(instantAnimationState_current||!delay)return null==onUpdate||onUpdate(getFinalKeyframe(keyframes,this.options,finalKeyframe)),null==onComplete||onComplete(),void this.resolveFinishedPromise();this.options.duration=0}const resolvedAnimation=this.initPlayback(keyframes,finalKeyframe);!1!==resolvedAnimation&&(this._resolved={keyframes,finalKeyframe,...resolvedAnimation},this.onPostResolved())}onPostResolved(){}then(resolve,reject){return this.currentFinishedPromise.then(resolve,reject)}updateFinishedPromise(){this.currentFinishedPromise=new Promise((resolve=>{this.resolveFinishedPromise=resolve}))}}var spring=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/generators/spring/index.mjs"),utils_velocity=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.mjs");function inertia({keyframes,velocity=0,power=.8,timeConstant=325,bounceDamping=10,bounceStiffness=500,modifyTarget,min,max,restDelta=.5,restSpeed}){const origin=keyframes[0],state={done:!1,value:origin},nearestBoundary=v=>void 0===min?max:void 0===max||Math.abs(min-v)<Math.abs(max-v)?min:max;let amplitude=power*velocity;const ideal=origin+amplitude,target=void 0===modifyTarget?ideal:modifyTarget(ideal);target!==ideal&&(amplitude=target-origin);const calcDelta=t=>-amplitude*Math.exp(-t/timeConstant),calcLatest=t=>target+calcDelta(t),applyFriction=t=>{const delta=calcDelta(t),latest=calcLatest(t);state.done=Math.abs(delta)<=restDelta,state.value=state.done?target:latest};let timeReachedBoundary,spring$1;const checkCatchBoundary=t=>{var v;(v=state.value,void 0!==min&&v<min||void 0!==max&&v>max)&&(timeReachedBoundary=t,spring$1=(0,spring.o)({keyframes:[state.value,nearestBoundary(state.value)],velocity:(0,utils_velocity.Y)(calcLatest,t,state.value),damping:bounceDamping,stiffness:bounceStiffness,restDelta,restSpeed}))};return checkCatchBoundary(0),{calculatedDuration:null,next:t=>{let hasUpdatedFrame=!1;return spring$1||void 0!==timeReachedBoundary||(hasUpdatedFrame=!0,applyFriction(t),checkCatchBoundary(t)),void 0!==timeReachedBoundary&&t>=timeReachedBoundary?spring$1.next(t-timeReachedBoundary):(!hasUpdatedFrame&&applyFriction(t),state)}}}var easing_ease=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/ease.mjs"),is_easing_array=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.mjs"),map=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/utils/map.mjs"),clamp=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/clamp.mjs"),pipe=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/pipe.mjs"),progress=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/progress.mjs"),number=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/mix/number.mjs");function hueToRgb(p,q,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?p+6*(q-p)*t:t<.5?q:t<2/3?p+(q-p)*(2/3-t)*6:p}var hex=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/hex.mjs"),rgba=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/rgba.mjs"),hsla=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/hsla.mjs");function mixImmediate(a,b){return p=>p>0?b:a}const mixLinearColor=(from,to,v)=>{const fromExpo=from*from,expo=v*(to*to-fromExpo)+fromExpo;return expo<0?0:Math.sqrt(expo)},colorTypes=[hex.u,rgba.B,hsla.V];function asRGBA(color){const type=(v=color,colorTypes.find((type=>type.test(v))));var v;if((0,errors.$)(Boolean(type),`'${color}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(type))return!1;let model=type.parse(color);return type===hsla.V&&(model=function hslaToRgba({hue,saturation,lightness,alpha}){hue/=360,lightness/=100;let red=0,green=0,blue=0;if(saturation/=100){const q=lightness<.5?lightness*(1+saturation):lightness+saturation-lightness*saturation,p=2*lightness-q;red=hueToRgb(p,q,hue+1/3),green=hueToRgb(p,q,hue),blue=hueToRgb(p,q,hue-1/3)}else red=green=blue=lightness;return{red:Math.round(255*red),green:Math.round(255*green),blue:Math.round(255*blue),alpha}}(model)),model}const mixColor=(from,to)=>{const fromRGBA=asRGBA(from),toRGBA=asRGBA(to);if(!fromRGBA||!toRGBA)return mixImmediate(from,to);const blended={...fromRGBA};return v=>(blended.red=mixLinearColor(fromRGBA.red,toRGBA.red,v),blended.green=mixLinearColor(fromRGBA.green,toRGBA.green,v),blended.blue=mixLinearColor(fromRGBA.blue,toRGBA.blue,v),blended.alpha=(0,number.k)(fromRGBA.alpha,toRGBA.alpha,v),rgba.B.transform(blended))};var color=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/index.mjs"),is_css_variable=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs");const invisibleValues=new Set(["none","hidden"]);function mixNumber(a,b){return p=>(0,number.k)(a,b,p)}function getMixer(a){return"number"==typeof a?mixNumber:"string"==typeof a?(0,is_css_variable.p)(a)?mixImmediate:color.y.test(a)?mixColor:mixComplex:Array.isArray(a)?mixArray:"object"==typeof a?color.y.test(a)?mixColor:mixObject:mixImmediate}function mixArray(a,b){const output=[...a],numValues=output.length,blendValue=a.map(((v,i)=>getMixer(v)(v,b[i])));return p=>{for(let i=0;i<numValues;i++)output[i]=blendValue[i](p);return output}}function mixObject(a,b){const output={...a,...b},blendValue={};for(const key in output)void 0!==a[key]&&void 0!==b[key]&&(blendValue[key]=getMixer(a[key])(a[key],b[key]));return v=>{for(const key in blendValue)output[key]=blendValue[key](v);return output}}const mixComplex=(origin,target)=>{const template=complex.f.createTransformer(target),originStats=(0,complex.V)(origin),targetStats=(0,complex.V)(target);return originStats.indexes.var.length===targetStats.indexes.var.length&&originStats.indexes.color.length===targetStats.indexes.color.length&&originStats.indexes.number.length>=targetStats.indexes.number.length?invisibleValues.has(origin)&&!targetStats.values.length||invisibleValues.has(target)&&!originStats.values.length?function mixVisibility(origin,target){return invisibleValues.has(origin)?p=>p<=0?origin:target:p=>p>=1?target:origin}(origin,target):(0,pipe.F)(mixArray(function matchOrder(origin,target){var _a;const orderedOrigin=[],pointers={color:0,var:0,number:0};for(let i=0;i<target.values.length;i++){const type=target.types[i],originIndex=origin.indexes[type][pointers[type]],originValue=null!==(_a=origin.values[originIndex])&&void 0!==_a?_a:0;orderedOrigin[i]=originValue,pointers[type]++}return orderedOrigin}(originStats,targetStats),targetStats.values),template):((0,errors.$)(!0,`Complex values '${origin}' and '${target}' 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.`),mixImmediate(origin,target))};function mix(from,to,p){if("number"==typeof from&&"number"==typeof to&&"number"==typeof p)return(0,number.k)(from,to,p);return getMixer(from)(from,to)}function interpolate(input,output,{clamp:isClamp=!0,ease,mixer}={}){const inputLength=input.length;if((0,errors.V)(inputLength===output.length,"Both input and output ranges must be the same length"),1===inputLength)return()=>output[0];if(2===inputLength&&input[0]===input[1])return()=>output[1];input[0]>input[inputLength-1]&&(input=[...input].reverse(),output=[...output].reverse());const mixers=function createMixers(output,ease,customMixer){const mixers=[],mixerFactory=customMixer||mix,numMixers=output.length-1;for(let i=0;i<numMixers;i++){let mixer=mixerFactory(output[i],output[i+1]);if(ease){const easingFunction=Array.isArray(ease)?ease[i]||noop.l:ease;mixer=(0,pipe.F)(easingFunction,mixer)}mixers.push(mixer)}return mixers}(output,ease,mixer),numMixers=mixers.length,interpolator=v=>{let i=0;if(numMixers>1)for(;i<input.length-2&&!(v<input[i+1]);i++);const progressInRange=(0,progress.q)(input[i],input[i+1],v);return mixers[i](progressInRange)};return isClamp?v=>interpolator((0,clamp.q)(input[0],input[inputLength-1],v)):interpolator}var offsets_default=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/offsets/default.mjs");function keyframes({duration=300,keyframes:keyframeValues,times,ease="easeInOut"}){const easingFunctions=(0,is_easing_array.h)(ease)?ease.map(map.K):(0,map.K)(ease),state={done:!1,value:keyframeValues[0]},absoluteTimes=function convertOffsetToTimes(offset,duration){return offset.map((o=>o*duration))}(times&×.length===keyframeValues.length?times:(0,offsets_default.Z)(keyframeValues),duration),mapTimeToKeyframe=interpolate(absoluteTimes,keyframeValues,{ease:Array.isArray(easingFunctions)?easingFunctions:(values=keyframeValues,easing=easingFunctions,values.map((()=>easing||easing_ease.am)).splice(0,values.length-1))});var values,easing;return{calculatedDuration:duration,next:t=>(state.value=mapTimeToKeyframe(t),state.done=t>=duration,state)}}var calc_duration=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/generators/utils/calc-duration.mjs");const frameloopDriver=update=>{const passTimestamp=({timestamp})=>update(timestamp);return{start:()=>frameloop_frame.Gt.update(passTimestamp,!0),stop:()=>(0,frameloop_frame.WG)(passTimestamp),now:()=>frameloop_frame.uv.isProcessing?frameloop_frame.uv.timestamp:sync_time.k.now()}},generators={decay:inertia,inertia,tween:keyframes,keyframes,spring:spring.o},percentToProgress=percent=>percent/100;class MainThreadAnimation extends BaseAnimation{constructor(options){super(options),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop}=this.options;onStop&&onStop()};const{name,motionValue,element,keyframes}=this.options,KeyframeResolver$1=(null==element?void 0:element.KeyframeResolver)||KeyframesResolver.h;this.resolver=new KeyframeResolver$1(keyframes,((resolvedKeyframes,finalKeyframe)=>this.onKeyframesResolved(resolvedKeyframes,finalKeyframe)),name,motionValue,element),this.resolver.scheduleResolve()}initPlayback(keyframes$1){const{type="keyframes",repeat=0,repeatDelay=0,repeatType,velocity=0}=this.options,generatorFactory=generators[type]||keyframes;let mapPercentToKeyframes,mirroredGenerator;generatorFactory!==keyframes&&"number"!=typeof keyframes$1[0]&&(mapPercentToKeyframes=(0,pipe.F)(percentToProgress,mix(keyframes$1[0],keyframes$1[1])),keyframes$1=[0,100]);const generator=generatorFactory({...this.options,keyframes:keyframes$1});"mirror"===repeatType&&(mirroredGenerator=generatorFactory({...this.options,keyframes:[...keyframes$1].reverse(),velocity:-velocity})),null===generator.calculatedDuration&&(generator.calculatedDuration=(0,calc_duration.t)(generator));const{calculatedDuration}=generator,resolvedDuration=calculatedDuration+repeatDelay;return{generator,mirroredGenerator,mapPercentToKeyframes,calculatedDuration,resolvedDuration,totalDuration:resolvedDuration*(repeat+1)-repeatDelay}}onPostResolved(){const{autoplay=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&autoplay?this.state=this.pendingPlayState:this.pause()}tick(timestamp,sample=!1){const{resolved}=this;if(!resolved){const{keyframes}=this.options;return{done:!0,value:keyframes[keyframes.length-1]}}const{finalKeyframe,generator,mirroredGenerator,mapPercentToKeyframes,keyframes,calculatedDuration,totalDuration,resolvedDuration}=resolved;if(null===this.startTime)return generator.next(0);const{delay,repeat,repeatType,repeatDelay,onUpdate}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,timestamp):this.speed<0&&(this.startTime=Math.min(timestamp-totalDuration/this.speed,this.startTime)),sample?this.currentTime=timestamp:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(timestamp-this.startTime)*this.speed;const timeWithoutDelay=this.currentTime-delay*(this.speed>=0?1:-1),isInDelayPhase=this.speed>=0?timeWithoutDelay<0:timeWithoutDelay>totalDuration;this.currentTime=Math.max(timeWithoutDelay,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=totalDuration);let elapsed=this.currentTime,frameGenerator=generator;if(repeat){const progress=Math.min(this.currentTime,totalDuration)/resolvedDuration;let currentIteration=Math.floor(progress),iterationProgress=progress%1;!iterationProgress&&progress>=1&&(iterationProgress=1),1===iterationProgress&¤tIteration--,currentIteration=Math.min(currentIteration,repeat+1);Boolean(currentIteration%2)&&("reverse"===repeatType?(iterationProgress=1-iterationProgress,repeatDelay&&(iterationProgress-=repeatDelay/resolvedDuration)):"mirror"===repeatType&&(frameGenerator=mirroredGenerator)),elapsed=(0,clamp.q)(0,1,iterationProgress)*resolvedDuration}const state=isInDelayPhase?{done:!1,value:keyframes[0]}:frameGenerator.next(elapsed);mapPercentToKeyframes&&(state.value=mapPercentToKeyframes(state.value));let{done}=state;isInDelayPhase||null===calculatedDuration||(done=this.speed>=0?this.currentTime>=totalDuration:this.currentTime<=0);const isAnimationFinished=null===this.holdTime&&("finished"===this.state||"running"===this.state&&done);return isAnimationFinished&&void 0!==finalKeyframe&&(state.value=getFinalKeyframe(keyframes,this.options,finalKeyframe)),onUpdate&&onUpdate(state.value),isAnimationFinished&&this.finish(),state}get duration(){const{resolved}=this;return resolved?(0,time_conversion.X)(resolved.calculatedDuration):0}get time(){return(0,time_conversion.X)(this.currentTime)}set time(newTime){newTime=(0,time_conversion.f)(newTime),this.currentTime=newTime,null!==this.holdTime||0===this.speed?this.holdTime=newTime:this.driver&&(this.startTime=this.driver.now()-newTime/this.speed)}get speed(){return this.playbackSpeed}set speed(newSpeed){const hasChanged=this.playbackSpeed!==newSpeed;this.playbackSpeed=newSpeed,hasChanged&&(this.time=(0,time_conversion.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver=frameloopDriver,onPlay,startTime}=this.options;this.driver||(this.driver=driver((timestamp=>this.tick(timestamp)))),onPlay&&onPlay();const now=this.driver.now();null!==this.holdTime?this.startTime=now-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=now):this.startTime=null!=startTime?startTime:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var _a;this._resolved?(this.state="paused",this.holdTime=null!==(_a=this.currentTime)&&void 0!==_a?_a:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete}=this.options;onComplete&&onComplete()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(time){return this.startTime=0,this.tick(time,!0)}}var accelerated_values=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs");const isBezierDefinition=easing=>Array.isArray(easing)&&"number"==typeof easing[0];function isWaapiSupportedEasing(easing){return Boolean(!easing||"string"==typeof easing&&easing in supportedWaapiEasing||isBezierDefinition(easing)||Array.isArray(easing)&&easing.every(isWaapiSupportedEasing))}const cubicBezierAsString=([a,b,c,d])=>`cubic-bezier(${a}, ${b}, ${c}, ${d})`,supportedWaapiEasing={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};function mapEasingToNativeEasingWithDefault(easing){return mapEasingToNativeEasing(easing)||supportedWaapiEasing.easeOut}function mapEasingToNativeEasing(easing){return easing?isBezierDefinition(easing)?cubicBezierAsString(easing):Array.isArray(easing)?easing.map(mapEasingToNativeEasingWithDefault):supportedWaapiEasing[easing]:void 0}const supportsWaapi=(0,memo.p)((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));class AcceleratedAnimation extends BaseAnimation{constructor(options){super(options);const{name,motionValue,element,keyframes}=this.options;this.resolver=new DOMKeyframesResolver.K(keyframes,((resolvedKeyframes,finalKeyframe)=>this.onKeyframesResolved(resolvedKeyframes,finalKeyframe)),name,motionValue,element),this.resolver.scheduleResolve()}initPlayback(keyframes,finalKeyframe){var _a;let{duration=300,times,ease,type,motionValue,name,startTime}=this.options;if(!(null===(_a=motionValue.owner)||void 0===_a?void 0:_a.current))return!1;if(function requiresPregeneratedKeyframes(options){return"spring"===options.type||!isWaapiSupportedEasing(options.ease)}(this.options)){const{onComplete,onUpdate,motionValue,element,...options}=this.options,pregeneratedAnimation=function pregenerateKeyframes(keyframes,options){const sampleAnimation=new MainThreadAnimation({...options,keyframes,repeat:0,delay:0,isGenerator:!0});let state={done:!1,value:keyframes[0]};const pregeneratedKeyframes=[];let t=0;for(;!state.done&&t<2e4;)state=sampleAnimation.sample(t),pregeneratedKeyframes.push(state.value),t+=10;return{times:void 0,keyframes:pregeneratedKeyframes,duration:t-10,ease:"linear"}}(keyframes,options);1===(keyframes=pregeneratedAnimation.keyframes).length&&(keyframes[1]=keyframes[0]),duration=pregeneratedAnimation.duration,times=pregeneratedAnimation.times,ease=pregeneratedAnimation.ease,type="keyframes"}const animation=function animateStyle(element,valueName,keyframes,{delay=0,duration=300,repeat=0,repeatType="loop",ease,times}={}){const keyframeOptions={[valueName]:keyframes};times&&(keyframeOptions.offset=times);const easing=mapEasingToNativeEasing(ease);return Array.isArray(easing)&&(keyframeOptions.easing=easing),element.animate(keyframeOptions,{delay,duration,easing:Array.isArray(easing)?"linear":easing,fill:"both",iterations:repeat+1,direction:"reverse"===repeatType?"alternate":"normal"})}(motionValue.owner.current,name,keyframes,{...this.options,duration,times,ease});return animation.startTime=null!=startTime?startTime:this.calcStartTime(),this.pendingTimeline?(animation.timeline=this.pendingTimeline,this.pendingTimeline=void 0):animation.onfinish=()=>{const{onComplete}=this.options;motionValue.set(getFinalKeyframe(keyframes,this.options,finalKeyframe)),onComplete&&onComplete(),this.cancel(),this.resolveFinishedPromise()},{animation,duration,times,type,ease,keyframes}}get duration(){const{resolved}=this;if(!resolved)return 0;const{duration}=resolved;return(0,time_conversion.X)(duration)}get time(){const{resolved}=this;if(!resolved)return 0;const{animation}=resolved;return(0,time_conversion.X)(animation.currentTime||0)}set time(newTime){const{resolved}=this;if(!resolved)return;const{animation}=resolved;animation.currentTime=(0,time_conversion.f)(newTime)}get speed(){const{resolved}=this;if(!resolved)return 1;const{animation}=resolved;return animation.playbackRate}set speed(newSpeed){const{resolved}=this;if(!resolved)return;const{animation}=resolved;animation.playbackRate=newSpeed}get state(){const{resolved}=this;if(!resolved)return"idle";const{animation}=resolved;return animation.playState}get startTime(){const{resolved}=this;if(!resolved)return null;const{animation}=resolved;return animation.startTime}attachTimeline(timeline){if(this._resolved){const{resolved}=this;if(!resolved)return noop.l;const{animation}=resolved;animation.timeline=timeline,animation.onfinish=null}else this.pendingTimeline=timeline;return noop.l}play(){if(this.isStopped)return;const{resolved}=this;if(!resolved)return;const{animation}=resolved;"finished"===animation.playState&&this.updateFinishedPromise(),animation.play()}pause(){const{resolved}=this;if(!resolved)return;const{animation}=resolved;animation.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved}=this;if(!resolved)return;const{animation,keyframes,duration,type,ease,times}=resolved;if("idle"===animation.playState||"finished"===animation.playState)return;if(this.time){const{motionValue,onUpdate,onComplete,element,...options}=this.options,sampleAnimation=new MainThreadAnimation({...options,keyframes,duration,type,ease,times,isGenerator:!0}),sampleTime=(0,time_conversion.f)(this.time);motionValue.setWithVelocity(sampleAnimation.sample(sampleTime-10).value,sampleAnimation.sample(sampleTime).value,10)}const{onStop}=this.options;onStop&&onStop(),this.cancel()}complete(){const{resolved}=this;resolved&&resolved.animation.finish()}cancel(){const{resolved}=this;resolved&&resolved.animation.cancel()}static supports(options){const{motionValue,name,repeatDelay,repeatType,damping,type}=options;return supportsWaapi()&&name&&accelerated_values.M.has(name)&&motionValue&&motionValue.owner&&motionValue.owner.current instanceof HTMLElement&&!motionValue.owner.getProps().onUpdate&&!repeatDelay&&"mirror"!==repeatType&&0!==damping&&"inertia"!==type}}var GroupPlaybackControls=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/GroupPlaybackControls.mjs");const animateMotionValue=(name,value,target,transition={},element,isHandoff,onEnd)=>onComplete=>{const valueTransition=(0,transitions.r)(transition,name)||{},delay=valueTransition.delay||transition.delay||0;let{elapsed=0}=transition;elapsed-=(0,time_conversion.f)(delay);let options={keyframes:Array.isArray(target)?target:[null,target],ease:"easeOut",velocity:value.getVelocity(),...valueTransition,delay:-elapsed,onUpdate:v=>{value.set(v),valueTransition.onUpdate&&valueTransition.onUpdate(v)},onComplete:()=>{onComplete(),valueTransition.onComplete&&valueTransition.onComplete(),onEnd&&onEnd()},onStop:onEnd,name,motionValue:value,element:isHandoff?void 0:element};(0,transitions.D)(valueTransition)||(options={...options,...getDefaultTransition(name,options)}),options.duration&&(options.duration=(0,time_conversion.f)(options.duration)),options.repeatDelay&&(options.repeatDelay=(0,time_conversion.f)(options.repeatDelay)),void 0!==options.from&&(options.keyframes[0]=options.from);let shouldSkip=!1;if((!1===options.type||0===options.duration&&!options.repeatDelay)&&(options.duration=0,0===options.delay&&(shouldSkip=!0)),(instantAnimationState_current||GlobalConfig.W.skipAnimations)&&(shouldSkip=!0,options.duration=0,options.delay=0),shouldSkip&&!isHandoff&&void 0!==value.get()){const finalKeyframe=getFinalKeyframe(options.keyframes,valueTransition);if(void 0!==finalKeyframe)return frameloop_frame.Gt.update((()=>{options.onUpdate(finalKeyframe),options.onComplete()})),new GroupPlaybackControls.P([])}return!isHandoff&&AcceleratedAnimation.supports(options)?new AcceleratedAnimation(options):new MainThreadAnimation(options)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/interfaces/single-value.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>animateSingleValue});var _motion_value_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs"),_value_index_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/index.mjs"),_value_utils_is_motion_value_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs");function animateSingleValue(value,keyframes,options){const motionValue$1=(0,_value_utils_is_motion_value_mjs__WEBPACK_IMPORTED_MODULE_0__.S)(value)?value:(0,_value_index_mjs__WEBPACK_IMPORTED_MODULE_1__.OQ)(value);return motionValue$1.start((0,_motion_value_mjs__WEBPACK_IMPORTED_MODULE_2__.f)("",motionValue$1,keyframes,options)),motionValue$1.animation}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>animateTarget});var transform=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs"),motion_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs"),resolve_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/resolve-value.mjs"),es_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/index.mjs"),resolve_dynamic_variants=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs");function setMotionValue(visualElement,key,value){visualElement.hasValue(key)?visualElement.getValue(key).set(value):visualElement.addValue(key,(0,es_value.OQ)(value))}var transitions=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/transitions.mjs"),get_appear_id=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs"),add_will_change=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs"),frameloop_frame=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/frame.mjs");function shouldBlockAnimation({protectedKeys,needsAnimating},key){const shouldBlock=protectedKeys.hasOwnProperty(key)&&!0!==needsAnimating[key];return needsAnimating[key]=!1,shouldBlock}function animateTarget(visualElement,targetAndTransition,{delay=0,transitionOverride,type}={}){var _a;let{transition=visualElement.getDefaultTransition(),transitionEnd,...target}=targetAndTransition;transitionOverride&&(transition=transitionOverride);const animations=[],animationTypeState=type&&visualElement.animationState&&visualElement.animationState.getState()[type];for(const key in target){const value=visualElement.getValue(key,null!==(_a=visualElement.latestValues[key])&&void 0!==_a?_a:null),valueTarget=target[key];if(void 0===valueTarget||animationTypeState&&shouldBlockAnimation(animationTypeState,key))continue;const valueTransition={delay,...(0,transitions.r)(transition||{},key)};let isHandoff=!1;if(window.MotionHandoffAnimation){const appearId=(0,get_appear_id.P)(visualElement);if(appearId){const startTime=window.MotionHandoffAnimation(appearId,key,frameloop_frame.Gt);null!==startTime&&(valueTransition.startTime=startTime,isHandoff=!0)}}value.start((0,motion_value.f)(key,value,valueTarget,visualElement.shouldReduceMotion&&transform.f.has(key)?{type:!1}:valueTransition,visualElement,isHandoff,(0,add_will_change.g)(visualElement,key)));const animation=value.animation;animation&&animations.push(animation)}return transitionEnd&&Promise.all(animations).then((()=>{frameloop_frame.Gt.update((()=>{transitionEnd&&function setTarget(visualElement,definition){const resolved=(0,resolve_dynamic_variants.K)(visualElement,definition);let{transitionEnd={},transition={},...target}=resolved||{};target={...target,...transitionEnd};for(const key in target)setMotionValue(visualElement,key,(0,resolve_value.K)(target[key]))}(visualElement,transitionEnd)}))})),animations}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{n:()=>optimizedAppearDataAttribute});const optimizedAppearDataAttribute="data-"+(0,__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs").I)("framerAppearId")},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>getOptimisedAppearId});var _data_id_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs");function getOptimisedAppearId(visualElement){return visualElement.props[_data_id_mjs__WEBPACK_IMPORTED_MODULE_0__.n]}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function isAnimationControls(v){return null!==v&&"object"==typeof v&&"function"==typeof v.start}__webpack_require__.d(__webpack_exports__,{N:()=>isAnimationControls})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{p:()=>isKeyframesTarget});const isKeyframesTarget=v=>Array.isArray(v)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/stagger.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{y:()=>stagger});var _easing_utils_map_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/utils/map.mjs");function stagger(duration=.1,{startDelay=0,from=0,ease}={}){return(i,total)=>{const fromIndex="number"==typeof from?from:function getOriginIndex(from,total){if("first"===from)return 0;{const lastIndex=total-1;return"last"===from?lastIndex:lastIndex/2}}(from,total),distance=Math.abs(fromIndex-i);let delay=duration*distance;if(ease){const maxDelay=total*duration;delay=(0,_easing_utils_map_mjs__WEBPACK_IMPORTED_MODULE_0__.K)(ease)(delay/maxDelay)*maxDelay}return startDelay+delay}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/transitions.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function isTransitionDefined({when,delay:_delay,delayChildren,staggerChildren,staggerDirection,repeat,repeatType,repeatDelay,from,elapsed,...transition}){return!!Object.keys(transition).length}function getValueTransition(transition,key){return transition[key]||transition.default||transition}__webpack_require__.d(__webpack_exports__,{D:()=>isTransitionDefined,r:()=>getValueTransition})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{N:()=>AnimatePresence});var jsx_runtime=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js"),react=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),PresenceContext=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/context/PresenceContext.mjs"),use_constant=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/use-constant.mjs"),MotionConfigContext=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs");class PopChildMeasure extends react.Component{getSnapshotBeforeUpdate(prevProps){const element=this.props.childRef.current;if(element&&prevProps.isPresent&&!this.props.isPresent){const size=this.props.sizeRef.current;size.height=element.offsetHeight||0,size.width=element.offsetWidth||0,size.top=element.offsetTop,size.left=element.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function PopChild({children,isPresent}){const id=(0,react.useId)(),ref=(0,react.useRef)(null),size=(0,react.useRef)({width:0,height:0,top:0,left:0}),{nonce}=(0,react.useContext)(MotionConfigContext.Q);return(0,react.useInsertionEffect)((()=>{const{width,height,top,left}=size.current;if(isPresent||!ref.current||!width||!height)return;ref.current.dataset.motionPopId=id;const style=document.createElement("style");return nonce&&(style.nonce=nonce),document.head.appendChild(style),style.sheet&&style.sheet.insertRule(`\n [data-motion-pop-id="${id}"] {\n position: absolute !important;\n width: ${width}px !important;\n height: ${height}px !important;\n top: ${top}px !important;\n left: ${left}px !important;\n }\n `),()=>{document.head.removeChild(style)}}),[isPresent]),(0,jsx_runtime.jsx)(PopChildMeasure,{isPresent,childRef:ref,sizeRef:size,children:react.cloneElement(children,{ref})})}const PresenceChild=({children,initial,isPresent,onExitComplete,custom,presenceAffectsLayout,mode})=>{const presenceChildren=(0,use_constant.M)(newChildrenMap),id=(0,react.useId)(),context=(0,react.useMemo)((()=>({id,initial,isPresent,custom,onExitComplete:childId=>{presenceChildren.set(childId,!0);for(const isComplete of presenceChildren.values())if(!isComplete)return;onExitComplete&&onExitComplete()},register:childId=>(presenceChildren.set(childId,!1),()=>presenceChildren.delete(childId))})),presenceAffectsLayout?[Math.random()]:[isPresent]);return(0,react.useMemo)((()=>{presenceChildren.forEach(((_,key)=>presenceChildren.set(key,!1)))}),[isPresent]),react.useEffect((()=>{!isPresent&&!presenceChildren.size&&onExitComplete&&onExitComplete()}),[isPresent]),"popLayout"===mode&&(children=(0,jsx_runtime.jsx)(PopChild,{isPresent,children})),(0,jsx_runtime.jsx)(PresenceContext.t.Provider,{value:context,children})};function newChildrenMap(){return new Map}var LayoutGroupContext=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs"),errors=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/errors.mjs");const getChildKey=child=>child.key||"";function onlyElements(children){const filtered=[];return react.Children.forEach(children,(child=>{(0,react.isValidElement)(child)&&filtered.push(child)})),filtered}var use_isomorphic_effect=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs");const AnimatePresence=({children,exitBeforeEnter,custom,initial=!0,onExitComplete,presenceAffectsLayout=!0,mode="sync"})=>{(0,errors.V)(!exitBeforeEnter,"Replace exitBeforeEnter with mode='wait'");const presentChildren=(0,react.useMemo)((()=>onlyElements(children)),[children]),presentKeys=presentChildren.map(getChildKey),isInitialRender=(0,react.useRef)(!0),pendingPresentChildren=(0,react.useRef)(presentChildren),exitComplete=(0,use_constant.M)((()=>new Map)),[diffedChildren,setDiffedChildren]=(0,react.useState)(presentChildren),[renderedChildren,setRenderedChildren]=(0,react.useState)(presentChildren);(0,use_isomorphic_effect.E)((()=>{isInitialRender.current=!1,pendingPresentChildren.current=presentChildren;for(let i=0;i<renderedChildren.length;i++){const key=getChildKey(renderedChildren[i]);presentKeys.includes(key)?exitComplete.delete(key):!0!==exitComplete.get(key)&&exitComplete.set(key,!1)}}),[renderedChildren,presentKeys.length,presentKeys.join("-")]);const exitingChildren=[];if(presentChildren!==diffedChildren){let nextChildren=[...presentChildren];for(let i=0;i<renderedChildren.length;i++){const child=renderedChildren[i],key=getChildKey(child);presentKeys.includes(key)||(nextChildren.splice(i,0,child),exitingChildren.push(child))}return"wait"===mode&&exitingChildren.length&&(nextChildren=exitingChildren),setRenderedChildren(onlyElements(nextChildren)),void setDiffedChildren(presentChildren)}const{forceRender}=(0,react.useContext)(LayoutGroupContext.L);return(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:renderedChildren.map((child=>{const key=getChildKey(child),isPresent=presentChildren===renderedChildren||presentKeys.includes(key);return(0,jsx_runtime.jsx)(PresenceChild,{isPresent,initial:!(isInitialRender.current&&!initial)&&void 0,custom:isPresent?void 0:custom,presenceAffectsLayout,mode,onExitComplete:isPresent?void 0:()=>{if(!exitComplete.has(key))return;exitComplete.set(key,!0);let isEveryExitComplete=!0;exitComplete.forEach((isExitComplete=>{isExitComplete||(isEveryExitComplete=!1)})),isEveryExitComplete&&(null==forceRender||forceRender(),setRenderedChildren(pendingPresentChildren.current),onExitComplete&&onExitComplete())},children:child},key)}))})}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{L:()=>LayoutGroupContext});const LayoutGroupContext=(0,__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js").createContext)({})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>MotionConfigContext});const MotionConfigContext=(0,__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js").createContext)({transformPagePoint:p=>p,isStatic:!1,reducedMotion:"never"})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/context/PresenceContext.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{t:()=>PresenceContext});const PresenceContext=(0,__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js").createContext)(null)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/circ.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{po:()=>circIn,tn:()=>circInOut,yT:()=>circOut});var _modifiers_mirror_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/modifiers/mirror.mjs"),_modifiers_reverse_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/modifiers/reverse.mjs");const circIn=p=>1-Math.sin(Math.acos(p)),circOut=(0,_modifiers_reverse_mjs__WEBPACK_IMPORTED_MODULE_0__.G)(circIn),circInOut=(0,_modifiers_mirror_mjs__WEBPACK_IMPORTED_MODULE_1__.V)(circIn)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/cubic-bezier.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>cubicBezier});var _utils_noop_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/noop.mjs");const calcBezier=(t,a1,a2)=>(((1-3*a2+3*a1)*t+(3*a2-6*a1))*t+3*a1)*t,subdivisionPrecision=1e-7,subdivisionMaxIterations=12;function cubicBezier(mX1,mY1,mX2,mY2){if(mX1===mY1&&mX2===mY2)return _utils_noop_mjs__WEBPACK_IMPORTED_MODULE_0__.l;const getTForX=aX=>function binarySubdivide(x,lowerBound,upperBound,mX1,mX2){let currentX,currentT,i=0;do{currentT=lowerBound+(upperBound-lowerBound)/2,currentX=calcBezier(currentT,mX1,mX2)-x,currentX>0?upperBound=currentT:lowerBound=currentT}while(Math.abs(currentX)>subdivisionPrecision&&++i<subdivisionMaxIterations);return currentT}(aX,0,1,mX1,mX2);return t=>0===t||1===t?t:calcBezier(getTForX(t),mY1,mY2)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/ease.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{a6:()=>easeIn,am:()=>easeInOut,vT:()=>easeOut});var _cubic_bezier_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/cubic-bezier.mjs");const easeIn=(0,_cubic_bezier_mjs__WEBPACK_IMPORTED_MODULE_0__.A)(.42,0,1,1),easeOut=(0,_cubic_bezier_mjs__WEBPACK_IMPORTED_MODULE_0__.A)(0,0,.58,1),easeInOut=(0,_cubic_bezier_mjs__WEBPACK_IMPORTED_MODULE_0__.A)(.42,0,.58,1)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/modifiers/mirror.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>mirrorEasing});const mirrorEasing=easing=>p=>p<=.5?easing(2*p)/2:(2-easing(2*(1-p)))/2},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/modifiers/reverse.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{G:()=>reverseEasing});const reverseEasing=easing=>p=>1-easing(1-p)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{h:()=>isEasingArray});const isEasingArray=ease=>Array.isArray(ease)&&"number"!=typeof ease[0]},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/utils/map.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>easingDefinitionToFunction});var errors=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/errors.mjs"),cubic_bezier=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/cubic-bezier.mjs"),noop=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/noop.mjs"),ease=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/ease.mjs"),circ=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/circ.mjs"),mirror=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/modifiers/mirror.mjs"),reverse=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/modifiers/reverse.mjs");const backOut=(0,cubic_bezier.A)(.33,1.53,.69,.99),backIn=(0,reverse.G)(backOut),backInOut=(0,mirror.V)(backIn),easingLookup={linear:noop.l,easeIn:ease.a6,easeInOut:ease.am,easeOut:ease.vT,circIn:circ.po,circInOut:circ.tn,circOut:circ.yT,backIn,backInOut,backOut,anticipate:p=>(p*=2)<1?.5*backIn(p):.5*(2-Math.pow(2,-10*(p-1)))},easingDefinitionToFunction=definition=>{if(Array.isArray(definition)){(0,errors.V)(4===definition.length,"Cubic bezier arrays must contain four numerical values.");const[x1,y1,x2,y2]=definition;return(0,cubic_bezier.A)(x1,y1,x2,y2)}return"string"==typeof definition?((0,errors.V)(void 0!==easingLookup[definition],`Invalid easing type '${definition}'`),easingLookup[definition]):definition}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/batcher.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>createRenderBatcher});var GlobalConfig=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/GlobalConfig.mjs");const stepsOrder=["read","resolveKeyframes","update","preRender","render","postRender"],maxElapsed=40;function createRenderBatcher(scheduleNextBatch,allowKeepAlive){let runNextFrame=!1,useDefaultElapsed=!0;const state={delta:0,timestamp:0,isProcessing:!1},flagRunNextFrame=()=>runNextFrame=!0,steps=stepsOrder.reduce(((acc,key)=>(acc[key]=function createRenderStep(runNextFrame){let thisFrame=new Set,nextFrame=new Set,isProcessing=!1,flushNextFrame=!1;const toKeepAlive=new WeakSet;let latestFrameData={delta:0,timestamp:0,isProcessing:!1};function triggerCallback(callback){toKeepAlive.has(callback)&&(step.schedule(callback),runNextFrame()),callback(latestFrameData)}const step={schedule:(callback,keepAlive=!1,immediate=!1)=>{const queue=immediate&&isProcessing?thisFrame:nextFrame;return keepAlive&&toKeepAlive.add(callback),queue.has(callback)||queue.add(callback),callback},cancel:callback=>{nextFrame.delete(callback),toKeepAlive.delete(callback)},process:frameData=>{latestFrameData=frameData,isProcessing?flushNextFrame=!0:(isProcessing=!0,[thisFrame,nextFrame]=[nextFrame,thisFrame],nextFrame.clear(),thisFrame.forEach(triggerCallback),isProcessing=!1,flushNextFrame&&(flushNextFrame=!1,step.process(frameData)))}};return step}(flagRunNextFrame),acc)),{}),{read,resolveKeyframes,update,preRender,render,postRender}=steps,processBatch=()=>{const timestamp=GlobalConfig.W.useManualTiming?state.timestamp:performance.now();runNextFrame=!1,state.delta=useDefaultElapsed?1e3/60:Math.max(Math.min(timestamp-state.timestamp,maxElapsed),1),state.timestamp=timestamp,state.isProcessing=!0,read.process(state),resolveKeyframes.process(state),update.process(state),preRender.process(state),render.process(state),postRender.process(state),state.isProcessing=!1,runNextFrame&&allowKeepAlive&&(useDefaultElapsed=!1,scheduleNextBatch(processBatch))};return{schedule:stepsOrder.reduce(((acc,key)=>{const step=steps[key];return acc[key]=(process,keepAlive=!1,immediate=!1)=>(runNextFrame||(runNextFrame=!0,useDefaultElapsed=!0,state.isProcessing||scheduleNextBatch(processBatch)),step.schedule(process,keepAlive,immediate)),acc}),{}),cancel:process=>{for(let i=0;i<stepsOrder.length;i++)steps[stepsOrder[i]].cancel(process)},state,steps}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/frame.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ci:()=>steps,Gt:()=>frame,WG:()=>cancelFrame,uv:()=>frameData});var _utils_noop_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/noop.mjs"),_batcher_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/batcher.mjs");const{schedule:frame,cancel:cancelFrame,state:frameData,steps}=(0,_batcher_mjs__WEBPACK_IMPORTED_MODULE_0__.I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:_utils_noop_mjs__WEBPACK_IMPORTED_MODULE_1__.l,!0)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/sync-time.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{k:()=>time});var _utils_GlobalConfig_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/GlobalConfig.mjs"),_frame_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/frame.mjs");let now;function clearTime(){now=void 0}const time={now:()=>(void 0===now&&time.set(_frame_mjs__WEBPACK_IMPORTED_MODULE_0__.uv.isProcessing||_utils_GlobalConfig_mjs__WEBPACK_IMPORTED_MODULE_1__.W.useManualTiming?_frame_mjs__WEBPACK_IMPORTED_MODULE_0__.uv.timestamp:performance.now()),now),set:newTime=>{now=newTime,queueMicrotask(clearTime)}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/motion/features/definitions.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>featureDefinitions});const featureProps={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"]},featureDefinitions={};for(const key in featureProps)featureDefinitions[key]={isEnabled:props=>featureProps[key].some((name=>!!props[name]))}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>isForcedMotionValue});var _projection_styles_scale_correction_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs"),_render_html_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs");function isForcedMotionValue(key,{layout,layoutId}){return _render_html_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_0__.f.has(key)||key.startsWith("origin")||(layout||void 0!==layoutId)&&(!!_projection_styles_scale_correction_mjs__WEBPACK_IMPORTED_MODULE_1__.H[key]||"opacity"===key)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function convertBoundingBoxToBox({top,left,right,bottom}){return{x:{min:left,max:right},y:{min:top,max:bottom}}}function convertBoxToBoundingBox({x,y}){return{top:y.min,right:x.max,bottom:y.max,left:x.min}}function transformBoxPoints(point,transformPoint){if(!transformPoint)return point;const topLeft=transformPoint({x:point.left,y:point.top}),bottomRight=transformPoint({x:point.right,y:point.bottom});return{top:topLeft.y,left:topLeft.x,bottom:bottomRight.y,right:bottomRight.x}}__webpack_require__.d(__webpack_exports__,{FY:()=>convertBoundingBoxToBox,bS:()=>transformBoxPoints,pA:()=>convertBoxToBoundingBox})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{OU:()=>applyTreeDeltas,Ql:()=>translateAxis,Ww:()=>transformBox,hq:()=>scalePoint,o4:()=>applyBoxDelta});var _utils_mix_number_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/mix/number.mjs"),_utils_has_transform_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs");function scalePoint(point,scale,originPoint){return originPoint+scale*(point-originPoint)}function applyPointDelta(point,translate,scale,originPoint,boxScale){return void 0!==boxScale&&(point=scalePoint(point,boxScale,originPoint)),scalePoint(point,scale,originPoint)+translate}function applyAxisDelta(axis,translate=0,scale=1,originPoint,boxScale){axis.min=applyPointDelta(axis.min,translate,scale,originPoint,boxScale),axis.max=applyPointDelta(axis.max,translate,scale,originPoint,boxScale)}function applyBoxDelta(box,{x,y}){applyAxisDelta(box.x,x.translate,x.scale,x.originPoint),applyAxisDelta(box.y,y.translate,y.scale,y.originPoint)}const TREE_SCALE_SNAP_MIN=.999999999999,TREE_SCALE_SNAP_MAX=1.0000000000001;function applyTreeDeltas(box,treeScale,treePath,isSharedTransition=!1){const treeLength=treePath.length;if(!treeLength)return;let node,delta;treeScale.x=treeScale.y=1;for(let i=0;i<treeLength;i++){node=treePath[i],delta=node.projectionDelta;const{visualElement}=node.options;visualElement&&visualElement.props.style&&"contents"===visualElement.props.style.display||(isSharedTransition&&node.options.layoutScroll&&node.scroll&&node!==node.root&&transformBox(box,{x:-node.scroll.offset.x,y:-node.scroll.offset.y}),delta&&(treeScale.x*=delta.x.scale,treeScale.y*=delta.y.scale,applyBoxDelta(box,delta)),isSharedTransition&&(0,_utils_has_transform_mjs__WEBPACK_IMPORTED_MODULE_0__.HD)(node.latestValues)&&transformBox(box,node.latestValues))}treeScale.x<TREE_SCALE_SNAP_MAX&&treeScale.x>TREE_SCALE_SNAP_MIN&&(treeScale.x=1),treeScale.y<TREE_SCALE_SNAP_MAX&&treeScale.y>TREE_SCALE_SNAP_MIN&&(treeScale.y=1)}function translateAxis(axis,distance){axis.min=axis.min+distance,axis.max=axis.max+distance}function transformAxis(axis,axisTranslate,axisScale,boxScale,axisOrigin=.5){applyAxisDelta(axis,axisTranslate,axisScale,(0,_utils_mix_number_mjs__WEBPACK_IMPORTED_MODULE_1__.k)(axis.min,axis.max,axisOrigin),boxScale)}function transformBox(box,transform){transformAxis(box.x,transform.x,transform.scaleX,transform.scale,transform.originX),transformAxis(box.y,transform.y,transform.scaleY,transform.scale,transform.originY)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/geometry/models.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ge:()=>createBox,xU:()=>createDelta});const createDelta=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),createBox=()=>({x:{min:0,max:0},y:{min:0,max:0}})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>addScaleCorrector,H:()=>scaleCorrectors});const scaleCorrectors={};function addScaleCorrector(correctors){Object.assign(scaleCorrectors,correctors)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function isIdentityScale(scale){return void 0===scale||1===scale}function hasScale({scale,scaleX,scaleY}){return!isIdentityScale(scale)||!isIdentityScale(scaleX)||!isIdentityScale(scaleY)}function hasTransform(values){return hasScale(values)||has2DTranslate(values)||values.z||values.rotate||values.rotateX||values.rotateY||values.skewX||values.skewY}function has2DTranslate(values){return is2DTranslate(values.x)||is2DTranslate(values.y)}function is2DTranslate(value){return value&&"0%"!==value}__webpack_require__.d(__webpack_exports__,{HD:()=>hasTransform,vF:()=>has2DTranslate,vk:()=>hasScale})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/utils/measure.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{L:()=>measurePageBox,m:()=>measureViewportBox});var _geometry_conversion_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs"),_geometry_delta_apply_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs");function measureViewportBox(instance,transformPoint){return(0,_geometry_conversion_mjs__WEBPACK_IMPORTED_MODULE_0__.FY)((0,_geometry_conversion_mjs__WEBPACK_IMPORTED_MODULE_0__.bS)(instance.getBoundingClientRect(),transformPoint))}function measurePageBox(element,rootProjectionNode,transformPagePoint){const viewportBox=measureViewportBox(element,transformPagePoint),{scroll}=rootProjectionNode;return scroll&&((0,_geometry_delta_apply_mjs__WEBPACK_IMPORTED_MODULE_1__.Ql)(viewportBox.x,scroll.offset.x),(0,_geometry_delta_apply_mjs__WEBPACK_IMPORTED_MODULE_1__.Ql)(viewportBox.y,scroll.offset.y)),viewportBox}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function createDOMMotionComponentProxy(componentFactory){if("undefined"==typeof Proxy)return componentFactory;const componentCache=new Map;return new Proxy(((...args)=>componentFactory(...args)),{get:(_target,key)=>"create"===key?componentFactory:(componentCache.has(key)||componentCache.set(key,componentFactory(key)),componentCache.get(key))})}__webpack_require__.d(__webpack_exports__,{P:()=>motion});var is_animation_controls=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs"),is_keyframes_target=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs");function shallowCompare(next,prev){if(!Array.isArray(prev))return!1;const prevLength=prev.length;if(prevLength!==next.length)return!1;for(let i=0;i<prevLength;i++)if(prev[i]!==next[i])return!1;return!0}var is_variant_label=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs"),resolve_dynamic_variants=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs"),variant_props=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs"),visual_element_target=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs");function animateVariant(visualElement,variant,options={}){var _a;const resolved=(0,resolve_dynamic_variants.K)(visualElement,variant,"exit"===options.type?null===(_a=visualElement.presenceContext)||void 0===_a?void 0:_a.custom:void 0);let{transition=visualElement.getDefaultTransition()||{}}=resolved||{};options.transitionOverride&&(transition=options.transitionOverride);const getAnimation=resolved?()=>Promise.all((0,visual_element_target.$)(visualElement,resolved,options)):()=>Promise.resolve(),getChildAnimations=visualElement.variantChildren&&visualElement.variantChildren.size?(forwardDelay=0)=>{const{delayChildren=0,staggerChildren,staggerDirection}=transition;return function animateChildren(visualElement,variant,delayChildren=0,staggerChildren=0,staggerDirection=1,options){const animations=[],maxStaggerDuration=(visualElement.variantChildren.size-1)*staggerChildren,generateStaggerDuration=1===staggerDirection?(i=0)=>i*staggerChildren:(i=0)=>maxStaggerDuration-i*staggerChildren;return Array.from(visualElement.variantChildren).sort(sortByTreeOrder).forEach(((child,i)=>{child.notify("AnimationStart",variant),animations.push(animateVariant(child,variant,{...options,delay:delayChildren+generateStaggerDuration(i)}).then((()=>child.notify("AnimationComplete",variant))))})),Promise.all(animations)}(visualElement,variant,delayChildren+forwardDelay,staggerChildren,staggerDirection,options)}:()=>Promise.resolve(),{when}=transition;if(when){const[first,last]="beforeChildren"===when?[getAnimation,getChildAnimations]:[getChildAnimations,getAnimation];return first().then((()=>last()))}return Promise.all([getAnimation(),getChildAnimations(options.delay)])}function sortByTreeOrder(a,b){return a.sortNodePosition(b)}const numVariantProps=variant_props._.length;function getVariantContext(visualElement){if(!visualElement)return;if(!visualElement.isControllingVariants){const context=visualElement.parent&&getVariantContext(visualElement.parent)||{};return void 0!==visualElement.props.initial&&(context.initial=visualElement.props.initial),context}const context={};for(let i=0;i<numVariantProps;i++){const name=variant_props._[i],prop=visualElement.props[name];((0,is_variant_label.w)(prop)||!1===prop)&&(context[name]=prop)}return context}const reversePriorityOrder=[...variant_props.U].reverse(),numAnimationTypes=variant_props.U.length;function animateList(visualElement){return animations=>Promise.all(animations.map((({animation,options})=>function animateVisualElement(visualElement,definition,options={}){let animation;if(visualElement.notify("AnimationStart",definition),Array.isArray(definition)){const animations=definition.map((variant=>animateVariant(visualElement,variant,options)));animation=Promise.all(animations)}else if("string"==typeof definition)animation=animateVariant(visualElement,definition,options);else{const resolvedDefinition="function"==typeof definition?(0,resolve_dynamic_variants.K)(visualElement,definition,options.custom):definition;animation=Promise.all((0,visual_element_target.$)(visualElement,resolvedDefinition,options))}return animation.then((()=>{visualElement.notify("AnimationComplete",definition)}))}(visualElement,animation,options))))}function createAnimationState(visualElement){let animate=animateList(visualElement),state=createState(),isInitialRender=!0;const buildResolvedTypeValues=type=>(acc,definition)=>{var _a;const resolved=(0,resolve_dynamic_variants.K)(visualElement,definition,"exit"===type?null===(_a=visualElement.presenceContext)||void 0===_a?void 0:_a.custom:void 0);if(resolved){const{transition,transitionEnd,...target}=resolved;acc={...acc,...target,...transitionEnd}}return acc};function animateChanges(changedActiveType){const{props}=visualElement,context=getVariantContext(visualElement.parent)||{},animations=[],removedKeys=new Set;let encounteredKeys={},removedVariantIndex=1/0;for(let i=0;i<numAnimationTypes;i++){const type=reversePriorityOrder[i],typeState=state[type],prop=void 0!==props[type]?props[type]:context[type],propIsVariant=(0,is_variant_label.w)(prop),activeDelta=type===changedActiveType?typeState.isActive:null;!1===activeDelta&&(removedVariantIndex=i);let isInherited=prop===context[type]&&prop!==props[type]&&propIsVariant;if(isInherited&&isInitialRender&&visualElement.manuallyAnimateOnMount&&(isInherited=!1),typeState.protectedKeys={...encounteredKeys},!typeState.isActive&&null===activeDelta||!prop&&!typeState.prevProp||(0,is_animation_controls.N)(prop)||"boolean"==typeof prop)continue;const variantDidChange=checkVariantsDidChange(typeState.prevProp,prop);let shouldAnimateType=variantDidChange||type===changedActiveType&&typeState.isActive&&!isInherited&&propIsVariant||i>removedVariantIndex&&propIsVariant,handledRemovedValues=!1;const definitionList=Array.isArray(prop)?prop:[prop];let resolvedValues=definitionList.reduce(buildResolvedTypeValues(type),{});!1===activeDelta&&(resolvedValues={});const{prevResolvedValues={}}=typeState,allKeys={...prevResolvedValues,...resolvedValues},markToAnimate=key=>{shouldAnimateType=!0,removedKeys.has(key)&&(handledRemovedValues=!0,removedKeys.delete(key)),typeState.needsAnimating[key]=!0;const motionValue=visualElement.getValue(key);motionValue&&(motionValue.liveStyle=!1)};for(const key in allKeys){const next=resolvedValues[key],prev=prevResolvedValues[key];if(encounteredKeys.hasOwnProperty(key))continue;let valueHasChanged=!1;valueHasChanged=(0,is_keyframes_target.p)(next)&&(0,is_keyframes_target.p)(prev)?!shallowCompare(next,prev):next!==prev,valueHasChanged?null!=next?markToAnimate(key):removedKeys.add(key):void 0!==next&&removedKeys.has(key)?markToAnimate(key):typeState.protectedKeys[key]=!0}typeState.prevProp=prop,typeState.prevResolvedValues=resolvedValues,typeState.isActive&&(encounteredKeys={...encounteredKeys,...resolvedValues}),isInitialRender&&visualElement.blockInitialAnimation&&(shouldAnimateType=!1);shouldAnimateType&&(!(isInherited&&variantDidChange)||handledRemovedValues)&&animations.push(...definitionList.map((animation=>({animation,options:{type}}))))}if(removedKeys.size){const fallbackAnimation={};removedKeys.forEach((key=>{const fallbackTarget=visualElement.getBaseTarget(key),motionValue=visualElement.getValue(key);motionValue&&(motionValue.liveStyle=!0),fallbackAnimation[key]=null!=fallbackTarget?fallbackTarget:null})),animations.push({animation:fallbackAnimation})}let shouldAnimate=Boolean(animations.length);return!isInitialRender||!1!==props.initial&&props.initial!==props.animate||visualElement.manuallyAnimateOnMount||(shouldAnimate=!1),isInitialRender=!1,shouldAnimate?animate(animations):Promise.resolve()}return{animateChanges,setActive:function setActive(type,isActive){var _a;if(state[type].isActive===isActive)return Promise.resolve();null===(_a=visualElement.variantChildren)||void 0===_a||_a.forEach((child=>{var _a;return null===(_a=child.animationState)||void 0===_a?void 0:_a.setActive(type,isActive)})),state[type].isActive=isActive;const animations=animateChanges(type);for(const key in state)state[key].protectedKeys={};return animations},setAnimateFunction:function setAnimateFunction(makeAnimator){animate=makeAnimator(visualElement)},getState:()=>state,reset:()=>{state=createState(),isInitialRender=!0}}}function checkVariantsDidChange(prev,next){return"string"==typeof next?next!==prev:!!Array.isArray(next)&&!shallowCompare(next,prev)}function createTypeState(isActive=!1){return{isActive,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function createState(){return{animate:createTypeState(!0),whileInView:createTypeState(),whileHover:createTypeState(),whileTap:createTypeState(),whileDrag:createTypeState(),whileFocus:createTypeState(),exit:createTypeState()}}class Feature{constructor(node){this.isMounted=!1,this.node=node}update(){}}let id=0;const animations={animation:{Feature:class AnimationFeature extends Feature{constructor(node){super(node),node.animationState||(node.animationState=createAnimationState(node))}updateAnimationControlsSubscription(){const{animate}=this.node.getProps();(0,is_animation_controls.N)(animate)&&(this.unmountControls=animate.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate}=this.node.getProps(),{animate:prevAnimate}=this.node.prevProps||{};animate!==prevAnimate&&this.updateAnimationControlsSubscription()}unmount(){var _a;this.node.animationState.reset(),null===(_a=this.unmountControls)||void 0===_a||_a.call(this)}}},exit:{Feature:class ExitAnimationFeature extends Feature{constructor(){super(...arguments),this.id=id++}update(){if(!this.node.presenceContext)return;const{isPresent,onExitComplete}=this.node.presenceContext,{isPresent:prevIsPresent}=this.node.prevPresenceContext||{};if(!this.node.animationState||isPresent===prevIsPresent)return;const exitAnimation=this.node.animationState.setActive("exit",!isPresent);onExitComplete&&!isPresent&&exitAnimation.then((()=>onExitComplete(this.id)))}mount(){const{register}=this.node.presenceContext||{};register&&(this.unmount=register(this.id))}unmount(){}}}};var noop=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/noop.mjs"),errors=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/errors.mjs");const isPrimaryPointer=event=>"mouse"===event.pointerType?"number"!=typeof event.button||event.button<=0:!1!==event.isPrimary;function extractEventInfo(event,pointType="page"){return{point:{x:event[`${pointType}X`],y:event[`${pointType}Y`]}}}var time_conversion=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/time-conversion.mjs");function addDomEvent(target,eventName,handler,options={passive:!0}){return target.addEventListener(eventName,handler,options),()=>target.removeEventListener(eventName,handler)}function addPointerEvent(target,eventName,handler,options){return addDomEvent(target,eventName,(handler=>event=>isPrimaryPointer(event)&&handler(event,extractEventInfo(event)))(handler),options)}var pipe=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/pipe.mjs");const distance=(a,b)=>Math.abs(a-b);var frameloop_frame=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/frame.mjs");class PanSession{constructor(event,handlers,{transformPagePoint,contextWindow,dragSnapToOrigin=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const info=getPanInfo(this.lastMoveEventInfo,this.history),isPanStarted=null!==this.startEvent,isDistancePastThreshold=function distance2D(a,b){const xDelta=distance(a.x,b.x),yDelta=distance(a.y,b.y);return Math.sqrt(xDelta**2+yDelta**2)}(info.offset,{x:0,y:0})>=3;if(!isPanStarted&&!isDistancePastThreshold)return;const{point}=info,{timestamp}=frameloop_frame.uv;this.history.push({...point,timestamp});const{onStart,onMove}=this.handlers;isPanStarted||(onStart&&onStart(this.lastMoveEvent,info),this.startEvent=this.lastMoveEvent),onMove&&onMove(this.lastMoveEvent,info)},this.handlePointerMove=(event,info)=>{this.lastMoveEvent=event,this.lastMoveEventInfo=transformPoint(info,this.transformPagePoint),frameloop_frame.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(event,info)=>{this.end();const{onEnd,onSessionEnd,resumeAnimation}=this.handlers;if(this.dragSnapToOrigin&&resumeAnimation&&resumeAnimation(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const panInfo=getPanInfo("pointercancel"===event.type?this.lastMoveEventInfo:transformPoint(info,this.transformPagePoint),this.history);this.startEvent&&onEnd&&onEnd(event,panInfo),onSessionEnd&&onSessionEnd(event,panInfo)},!isPrimaryPointer(event))return;this.dragSnapToOrigin=dragSnapToOrigin,this.handlers=handlers,this.transformPagePoint=transformPagePoint,this.contextWindow=contextWindow||window;const initialInfo=transformPoint(extractEventInfo(event),this.transformPagePoint),{point}=initialInfo,{timestamp}=frameloop_frame.uv;this.history=[{...point,timestamp}];const{onSessionStart}=handlers;onSessionStart&&onSessionStart(event,getPanInfo(initialInfo,this.history)),this.removeListeners=(0,pipe.F)(addPointerEvent(this.contextWindow,"pointermove",this.handlePointerMove),addPointerEvent(this.contextWindow,"pointerup",this.handlePointerUp),addPointerEvent(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(handlers){this.handlers=handlers}end(){this.removeListeners&&this.removeListeners(),(0,frameloop_frame.WG)(this.updatePoint)}}function transformPoint(info,transformPagePoint){return transformPagePoint?{point:transformPagePoint(info.point)}:info}function subtractPoint(a,b){return{x:a.x-b.x,y:a.y-b.y}}function getPanInfo({point},history){return{point,delta:subtractPoint(point,lastDevicePoint(history)),offset:subtractPoint(point,startDevicePoint(history)),velocity:getVelocity(history,.1)}}function startDevicePoint(history){return history[0]}function lastDevicePoint(history){return history[history.length-1]}function getVelocity(history,timeDelta){if(history.length<2)return{x:0,y:0};let i=history.length-1,timestampedPoint=null;const lastPoint=lastDevicePoint(history);for(;i>=0&&(timestampedPoint=history[i],!(lastPoint.timestamp-timestampedPoint.timestamp>(0,time_conversion.f)(timeDelta)));)i--;if(!timestampedPoint)return{x:0,y:0};const time=(0,time_conversion.X)(lastPoint.timestamp-timestampedPoint.timestamp);if(0===time)return{x:0,y:0};const currentVelocity={x:(lastPoint.x-timestampedPoint.x)/time,y:(lastPoint.y-timestampedPoint.y)/time};return currentVelocity.x===1/0&&(currentVelocity.x=0),currentVelocity.y===1/0&&(currentVelocity.y=0),currentVelocity}function createLock(name){let lock=null;return()=>{const openLock=()=>{lock=null};return null===lock&&(lock=name,openLock)}}const globalHorizontalLock=createLock("dragHorizontal"),globalVerticalLock=createLock("dragVertical");function getGlobalLock(drag){let lock=!1;if("y"===drag)lock=globalVerticalLock();else if("x"===drag)lock=globalHorizontalLock();else{const openHorizontal=globalHorizontalLock(),openVertical=globalVerticalLock();openHorizontal&&openVertical?lock=()=>{openHorizontal(),openVertical()}:(openHorizontal&&openHorizontal(),openVertical&&openVertical())}return lock}function isDragActive(){const openGestureLock=getGlobalLock(!0);return!openGestureLock||(openGestureLock(),!1)}function isRefObject(ref){return ref&&"object"==typeof ref&&Object.prototype.hasOwnProperty.call(ref,"current")}var progress=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/progress.mjs"),number=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/mix/number.mjs");function calcLength(axis){return axis.max-axis.min}function calcAxisDelta(delta,source,target,origin=.5){delta.origin=origin,delta.originPoint=(0,number.k)(source.min,source.max,delta.origin),delta.scale=calcLength(target)/calcLength(source),delta.translate=(0,number.k)(target.min,target.max,delta.origin)-delta.originPoint,(delta.scale>=.9999&&delta.scale<=1.0001||isNaN(delta.scale))&&(delta.scale=1),(delta.translate>=-.01&&delta.translate<=.01||isNaN(delta.translate))&&(delta.translate=0)}function calcBoxDelta(delta,source,target,origin){calcAxisDelta(delta.x,source.x,target.x,origin?origin.originX:void 0),calcAxisDelta(delta.y,source.y,target.y,origin?origin.originY:void 0)}function calcRelativeAxis(target,relative,parent){target.min=parent.min+relative.min,target.max=target.min+calcLength(relative)}function calcRelativeAxisPosition(target,layout,parent){target.min=layout.min-parent.min,target.max=target.min+calcLength(layout)}function calcRelativePosition(target,layout,parent){calcRelativeAxisPosition(target.x,layout.x,parent.x),calcRelativeAxisPosition(target.y,layout.y,parent.y)}var clamp=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/clamp.mjs");function calcRelativeAxisConstraints(axis,min,max){return{min:void 0!==min?axis.min+min:void 0,max:void 0!==max?axis.max+max-(axis.max-axis.min):void 0}}function calcViewportAxisConstraints(layoutAxis,constraintsAxis){let min=constraintsAxis.min-layoutAxis.min,max=constraintsAxis.max-layoutAxis.max;return constraintsAxis.max-constraintsAxis.min<layoutAxis.max-layoutAxis.min&&([min,max]=[max,min]),{min,max}}const defaultElastic=.35;function resolveAxisElastic(dragElastic,minLabel,maxLabel){return{min:resolvePointElastic(dragElastic,minLabel),max:resolvePointElastic(dragElastic,maxLabel)}}function resolvePointElastic(dragElastic,label){return"number"==typeof dragElastic?dragElastic:dragElastic[label]||0}var models=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/geometry/models.mjs");function eachAxis(callback){return[callback("x"),callback("y")]}var measure=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/utils/measure.mjs"),conversion=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs"),units=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs"),motion_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs");const getContextWindow=({current})=>current?current.ownerDocument.defaultView:null;var add_will_change=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs");const elementDragControls=new WeakMap;class VisualElementDragControls{constructor(visualElement){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,models.ge)(),this.visualElement=visualElement}start(originEvent,{snapToCursor=!1}={}){const{presenceContext}=this.visualElement;if(presenceContext&&!1===presenceContext.isPresent)return;const{dragSnapToOrigin}=this.getProps();this.panSession=new PanSession(originEvent,{onSessionStart:event=>{const{dragSnapToOrigin}=this.getProps();dragSnapToOrigin?this.pauseAnimation():this.stopAnimation(),snapToCursor&&this.snapToCursor(extractEventInfo(event,"page").point)},onStart:(event,info)=>{var _a;const{drag,dragPropagation,onDragStart}=this.getProps();if(drag&&!dragPropagation&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=getGlobalLock(drag),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eachAxis((axis=>{let current=this.getAxisMotionValue(axis).get()||0;if(units.KN.test(current)){const{projection}=this.visualElement;if(projection&&projection.layout){const measuredAxis=projection.layout.layoutBox[axis];if(measuredAxis){current=calcLength(measuredAxis)*(parseFloat(current)/100)}}}this.originPoint[axis]=current})),onDragStart&&frameloop_frame.Gt.postRender((()=>onDragStart(event,info))),null===(_a=this.removeWillChange)||void 0===_a||_a.call(this),this.removeWillChange=(0,add_will_change.g)(this.visualElement,"transform");const{animationState}=this.visualElement;animationState&&animationState.setActive("whileDrag",!0)},onMove:(event,info)=>{const{dragPropagation,dragDirectionLock,onDirectionLock,onDrag}=this.getProps();if(!dragPropagation&&!this.openGlobalLock)return;const{offset}=info;if(dragDirectionLock&&null===this.currentDirection)return this.currentDirection=function getCurrentDirection(offset,lockThreshold=10){let direction=null;Math.abs(offset.y)>lockThreshold?direction="y":Math.abs(offset.x)>lockThreshold&&(direction="x");return direction}(offset),void(null!==this.currentDirection&&onDirectionLock&&onDirectionLock(this.currentDirection));this.updateAxis("x",info.point,offset),this.updateAxis("y",info.point,offset),this.visualElement.render(),onDrag&&onDrag(event,info)},onSessionEnd:(event,info)=>this.stop(event,info),resumeAnimation:()=>eachAxis((axis=>{var _a;return"paused"===this.getAnimationState(axis)&&(null===(_a=this.getAxisMotionValue(axis).animation)||void 0===_a?void 0:_a.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin,contextWindow:getContextWindow(this.visualElement)})}stop(event,info){var _a;null===(_a=this.removeWillChange)||void 0===_a||_a.call(this);const isDragging=this.isDragging;if(this.cancel(),!isDragging)return;const{velocity}=info;this.startAnimation(velocity);const{onDragEnd}=this.getProps();onDragEnd&&frameloop_frame.Gt.postRender((()=>onDragEnd(event,info)))}cancel(){this.isDragging=!1;const{projection,animationState}=this.visualElement;projection&&(projection.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation}=this.getProps();!dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),animationState&&animationState.setActive("whileDrag",!1)}updateAxis(axis,_point,offset){const{drag}=this.getProps();if(!offset||!shouldDrag(axis,drag,this.currentDirection))return;const axisValue=this.getAxisMotionValue(axis);let next=this.originPoint[axis]+offset[axis];this.constraints&&this.constraints[axis]&&(next=function applyConstraints(point,{min,max},elastic){return void 0!==min&&point<min?point=elastic?(0,number.k)(min,point,elastic.min):Math.max(point,min):void 0!==max&&point>max&&(point=elastic?(0,number.k)(max,point,elastic.max):Math.min(point,max)),point}(next,this.constraints[axis],this.elastic[axis])),axisValue.set(next)}resolveConstraints(){var _a;const{dragConstraints,dragElastic}=this.getProps(),layout=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(_a=this.visualElement.projection)||void 0===_a?void 0:_a.layout,prevConstraints=this.constraints;dragConstraints&&isRefObject(dragConstraints)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!dragConstraints||!layout)&&function calcRelativeConstraints(layoutBox,{top,left,bottom,right}){return{x:calcRelativeAxisConstraints(layoutBox.x,left,right),y:calcRelativeAxisConstraints(layoutBox.y,top,bottom)}}(layout.layoutBox,dragConstraints),this.elastic=function resolveDragElastic(dragElastic=defaultElastic){return!1===dragElastic?dragElastic=0:!0===dragElastic&&(dragElastic=defaultElastic),{x:resolveAxisElastic(dragElastic,"left","right"),y:resolveAxisElastic(dragElastic,"top","bottom")}}(dragElastic),prevConstraints!==this.constraints&&layout&&this.constraints&&!this.hasMutatedConstraints&&eachAxis((axis=>{!1!==this.constraints&&this.getAxisMotionValue(axis)&&(this.constraints[axis]=function rebaseAxisConstraints(layout,constraints){const relativeConstraints={};return void 0!==constraints.min&&(relativeConstraints.min=constraints.min-layout.min),void 0!==constraints.max&&(relativeConstraints.max=constraints.max-layout.min),relativeConstraints}(layout.layoutBox[axis],this.constraints[axis]))}))}resolveRefConstraints(){const{dragConstraints:constraints,onMeasureDragConstraints}=this.getProps();if(!constraints||!isRefObject(constraints))return!1;const constraintsElement=constraints.current;(0,errors.V)(null!==constraintsElement,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection}=this.visualElement;if(!projection||!projection.layout)return!1;const constraintsBox=(0,measure.L)(constraintsElement,projection.root,this.visualElement.getTransformPagePoint());let measuredConstraints=function calcViewportConstraints(layoutBox,constraintsBox){return{x:calcViewportAxisConstraints(layoutBox.x,constraintsBox.x),y:calcViewportAxisConstraints(layoutBox.y,constraintsBox.y)}}(projection.layout.layoutBox,constraintsBox);if(onMeasureDragConstraints){const userConstraints=onMeasureDragConstraints((0,conversion.pA)(measuredConstraints));this.hasMutatedConstraints=!!userConstraints,userConstraints&&(measuredConstraints=(0,conversion.FY)(userConstraints))}return measuredConstraints}startAnimation(velocity){const{drag,dragMomentum,dragElastic,dragTransition,dragSnapToOrigin,onDragTransitionEnd}=this.getProps(),constraints=this.constraints||{},momentumAnimations=eachAxis((axis=>{if(!shouldDrag(axis,drag,this.currentDirection))return;let transition=constraints&&constraints[axis]||{};dragSnapToOrigin&&(transition={min:0,max:0});const bounceStiffness=dragElastic?200:1e6,bounceDamping=dragElastic?40:1e7,inertia={type:"inertia",velocity:dragMomentum?velocity[axis]:0,bounceStiffness,bounceDamping,timeConstant:750,restDelta:1,restSpeed:10,...dragTransition,...transition};return this.startAxisValueAnimation(axis,inertia)}));return Promise.all(momentumAnimations).then(onDragTransitionEnd)}startAxisValueAnimation(axis,transition){const axisValue=this.getAxisMotionValue(axis);return axisValue.start((0,motion_value.f)(axis,axisValue,0,transition,this.visualElement,!1,(0,add_will_change.g)(this.visualElement,axis)))}stopAnimation(){eachAxis((axis=>this.getAxisMotionValue(axis).stop()))}pauseAnimation(){eachAxis((axis=>{var _a;return null===(_a=this.getAxisMotionValue(axis).animation)||void 0===_a?void 0:_a.pause()}))}getAnimationState(axis){var _a;return null===(_a=this.getAxisMotionValue(axis).animation)||void 0===_a?void 0:_a.state}getAxisMotionValue(axis){const dragKey=`_drag${axis.toUpperCase()}`,props=this.visualElement.getProps(),externalMotionValue=props[dragKey];return externalMotionValue||this.visualElement.getValue(axis,(props.initial?props.initial[axis]:void 0)||0)}snapToCursor(point){eachAxis((axis=>{const{drag}=this.getProps();if(!shouldDrag(axis,drag,this.currentDirection))return;const{projection}=this.visualElement,axisValue=this.getAxisMotionValue(axis);if(projection&&projection.layout){const{min,max}=projection.layout.layoutBox[axis];axisValue.set(point[axis]-(0,number.k)(min,max,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag,dragConstraints}=this.getProps(),{projection}=this.visualElement;if(!isRefObject(dragConstraints)||!projection||!this.constraints)return;this.stopAnimation();const boxProgress={x:0,y:0};eachAxis((axis=>{const axisValue=this.getAxisMotionValue(axis);if(axisValue&&!1!==this.constraints){const latest=axisValue.get();boxProgress[axis]=function calcOrigin(source,target){let origin=.5;const sourceLength=calcLength(source),targetLength=calcLength(target);return targetLength>sourceLength?origin=(0,progress.q)(target.min,target.max-sourceLength,source.min):sourceLength>targetLength&&(origin=(0,progress.q)(source.min,source.max-targetLength,target.min)),(0,clamp.q)(0,1,origin)}({min:latest,max:latest},this.constraints[axis])}}));const{transformTemplate}=this.visualElement.getProps();this.visualElement.current.style.transform=transformTemplate?transformTemplate({},""):"none",projection.root&&projection.root.updateScroll(),projection.updateLayout(),this.resolveConstraints(),eachAxis((axis=>{if(!shouldDrag(axis,drag,null))return;const axisValue=this.getAxisMotionValue(axis),{min,max}=this.constraints[axis];axisValue.set((0,number.k)(min,max,boxProgress[axis]))}))}addListeners(){if(!this.visualElement.current)return;elementDragControls.set(this.visualElement,this);const stopPointerListener=addPointerEvent(this.visualElement.current,"pointerdown",(event=>{const{drag,dragListener=!0}=this.getProps();drag&&dragListener&&this.start(event)})),measureDragConstraints=()=>{const{dragConstraints}=this.getProps();isRefObject(dragConstraints)&&dragConstraints.current&&(this.constraints=this.resolveRefConstraints())},{projection}=this.visualElement,stopMeasureLayoutListener=projection.addEventListener("measure",measureDragConstraints);projection&&!projection.layout&&(projection.root&&projection.root.updateScroll(),projection.updateLayout()),frameloop_frame.Gt.read(measureDragConstraints);const stopResizeListener=addDomEvent(window,"resize",(()=>this.scalePositionWithinConstraints())),stopLayoutUpdateListener=projection.addEventListener("didUpdate",(({delta,hasLayoutChanged})=>{this.isDragging&&hasLayoutChanged&&(eachAxis((axis=>{const motionValue=this.getAxisMotionValue(axis);motionValue&&(this.originPoint[axis]+=delta[axis].translate,motionValue.set(motionValue.get()+delta[axis].translate))})),this.visualElement.render())}));return()=>{stopResizeListener(),stopPointerListener(),stopMeasureLayoutListener(),stopLayoutUpdateListener&&stopLayoutUpdateListener()}}getProps(){const props=this.visualElement.getProps(),{drag=!1,dragDirectionLock=!1,dragPropagation=!1,dragConstraints=!1,dragElastic=defaultElastic,dragMomentum=!0}=props;return{...props,drag,dragDirectionLock,dragPropagation,dragConstraints,dragElastic,dragMomentum}}}function shouldDrag(direction,drag,currentDirection){return!(!0!==drag&&drag!==direction||null!==currentDirection&¤tDirection!==direction)}const asyncHandler=handler=>(event,info)=>{handler&&frameloop_frame.Gt.postRender((()=>handler(event,info)))};var jsx_runtime=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js"),react=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),context_PresenceContext=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/context/PresenceContext.mjs");var LayoutGroupContext=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs");const SwitchLayoutGroupContext=(0,react.createContext)({}),globalProjectionState={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function pixelsToPercent(pixels,axis){return axis.max===axis.min?0:pixels/(axis.max-axis.min)*100}const correctBorderRadius={correct:(latest,node)=>{if(!node.target)return latest;if("string"==typeof latest){if(!units.px.test(latest))return latest;latest=parseFloat(latest)}return`${pixelsToPercent(latest,node.target.x)}% ${pixelsToPercent(latest,node.target.y)}%`}};var complex=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/complex/index.mjs");const correctBoxShadow={correct:(latest,{treeScale,projectionDelta})=>{const original=latest,shadow=complex.f.parse(latest);if(shadow.length>5)return original;const template=complex.f.createTransformer(latest),offset="number"!=typeof shadow[0]?1:0,xScale=projectionDelta.x.scale*treeScale.x,yScale=projectionDelta.y.scale*treeScale.y;shadow[0+offset]/=xScale,shadow[1+offset]/=yScale;const averageScale=(0,number.k)(xScale,yScale,.5);return"number"==typeof shadow[2+offset]&&(shadow[2+offset]/=averageScale),"number"==typeof shadow[3+offset]&&(shadow[3+offset]/=averageScale),template(shadow)}};var scale_correction=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs"),batcher=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/batcher.mjs");const{schedule:microtask,cancel:cancelMicrotask}=(0,batcher.I)(queueMicrotask,!1);class MeasureLayoutWithContext extends react.Component{componentDidMount(){const{visualElement,layoutGroup,switchLayoutGroup,layoutId}=this.props,{projection}=visualElement;(0,scale_correction.$)(defaultScaleCorrectors),projection&&(layoutGroup.group&&layoutGroup.group.add(projection),switchLayoutGroup&&switchLayoutGroup.register&&layoutId&&switchLayoutGroup.register(projection),projection.root.didUpdate(),projection.addEventListener("animationComplete",(()=>{this.safeToRemove()})),projection.setOptions({...projection.options,onExitComplete:()=>this.safeToRemove()})),globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(prevProps){const{layoutDependency,visualElement,drag,isPresent}=this.props,projection=visualElement.projection;return projection?(projection.isPresent=isPresent,drag||prevProps.layoutDependency!==layoutDependency||void 0===layoutDependency?projection.willUpdate():this.safeToRemove(),prevProps.isPresent!==isPresent&&(isPresent?projection.promote():projection.relegate()||frameloop_frame.Gt.postRender((()=>{const stack=projection.getStack();stack&&stack.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection}=this.props.visualElement;projection&&(projection.root.didUpdate(),microtask.postRender((()=>{!projection.currentAnimation&&projection.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement,layoutGroup,switchLayoutGroup:promoteContext}=this.props,{projection}=visualElement;projection&&(projection.scheduleCheckAfterUnmount(),layoutGroup&&layoutGroup.group&&layoutGroup.group.remove(projection),promoteContext&&promoteContext.deregister&&promoteContext.deregister(projection))}safeToRemove(){const{safeToRemove}=this.props;safeToRemove&&safeToRemove()}render(){return null}}function MeasureLayout(props){const[isPresent,safeToRemove]=function usePresence(){const context=(0,react.useContext)(context_PresenceContext.t);if(null===context)return[!0,null];const{isPresent,onExitComplete,register}=context,id=(0,react.useId)();(0,react.useEffect)((()=>register(id)),[]);const safeToRemove=(0,react.useCallback)((()=>onExitComplete&&onExitComplete(id)),[id,onExitComplete]);return!isPresent&&onExitComplete?[!1,safeToRemove]:[!0]}(),layoutGroup=(0,react.useContext)(LayoutGroupContext.L);return(0,jsx_runtime.jsx)(MeasureLayoutWithContext,{...props,layoutGroup,switchLayoutGroup:(0,react.useContext)(SwitchLayoutGroupContext),isPresent,safeToRemove})}const defaultScaleCorrectors={borderRadius:{...correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:correctBorderRadius,borderTopRightRadius:correctBorderRadius,borderBottomLeftRadius:correctBorderRadius,borderBottomRightRadius:correctBorderRadius,boxShadow:correctBoxShadow};var subscription_manager=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/subscription-manager.mjs"),circ=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/easing/circ.mjs");const borders=["TopLeft","TopRight","BottomLeft","BottomRight"],numBorders=borders.length,asNumber=value=>"string"==typeof value?parseFloat(value):value,isPx=value=>"number"==typeof value||units.px.test(value);function getRadius(values,radiusName){return void 0!==values[radiusName]?values[radiusName]:values.borderRadius}const easeCrossfadeIn=compress(0,.5,circ.yT),easeCrossfadeOut=compress(.5,.95,noop.l);function compress(min,max,easing){return p=>p<min?0:p>max?1:easing((0,progress.q)(min,max,p))}function copyAxisInto(axis,originAxis){axis.min=originAxis.min,axis.max=originAxis.max}function copyBoxInto(box,originBox){copyAxisInto(box.x,originBox.x),copyAxisInto(box.y,originBox.y)}function copyAxisDeltaInto(delta,originDelta){delta.translate=originDelta.translate,delta.scale=originDelta.scale,delta.originPoint=originDelta.originPoint,delta.origin=originDelta.origin}var delta_apply=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs");function removePointDelta(point,translate,scale,originPoint,boxScale){return point-=translate,point=(0,delta_apply.hq)(point,1/scale,originPoint),void 0!==boxScale&&(point=(0,delta_apply.hq)(point,1/boxScale,originPoint)),point}function removeAxisTransforms(axis,transforms,[key,scaleKey,originKey],origin,sourceAxis){!function removeAxisDelta(axis,translate=0,scale=1,origin=.5,boxScale,originAxis=axis,sourceAxis=axis){units.KN.test(translate)&&(translate=parseFloat(translate),translate=(0,number.k)(sourceAxis.min,sourceAxis.max,translate/100)-sourceAxis.min);if("number"!=typeof translate)return;let originPoint=(0,number.k)(originAxis.min,originAxis.max,origin);axis===originAxis&&(originPoint-=translate),axis.min=removePointDelta(axis.min,translate,scale,originPoint,boxScale),axis.max=removePointDelta(axis.max,translate,scale,originPoint,boxScale)}(axis,transforms[key],transforms[scaleKey],transforms[originKey],transforms.scale,origin,sourceAxis)}const xKeys=["x","scaleX","originX"],yKeys=["y","scaleY","originY"];function removeBoxTransforms(box,transforms,originBox,sourceBox){removeAxisTransforms(box.x,transforms,xKeys,originBox?originBox.x:void 0,sourceBox?sourceBox.x:void 0),removeAxisTransforms(box.y,transforms,yKeys,originBox?originBox.y:void 0,sourceBox?sourceBox.y:void 0)}var transitions=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/transitions.mjs");function isAxisDeltaZero(delta){return 0===delta.translate&&1===delta.scale}function isDeltaZero(delta){return isAxisDeltaZero(delta.x)&&isAxisDeltaZero(delta.y)}function axisEquals(a,b){return a.min===b.min&&a.max===b.max}function axisEqualsRounded(a,b){return Math.round(a.min)===Math.round(b.min)&&Math.round(a.max)===Math.round(b.max)}function boxEqualsRounded(a,b){return axisEqualsRounded(a.x,b.x)&&axisEqualsRounded(a.y,b.y)}function aspectRatio(box){return calcLength(box.x)/calcLength(box.y)}function axisDeltaEquals(a,b){return a.translate===b.translate&&a.scale===b.scale&&a.originPoint===b.originPoint}var array=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/array.mjs");class NodeStack{constructor(){this.members=[]}add(node){(0,array.Kq)(this.members,node),node.scheduleRender()}remove(node){if((0,array.Ai)(this.members,node),node===this.prevLead&&(this.prevLead=void 0),node===this.lead){const prevLead=this.members[this.members.length-1];prevLead&&this.promote(prevLead)}}relegate(node){const indexOfNode=this.members.findIndex((member=>node===member));if(0===indexOfNode)return!1;let prevLead;for(let i=indexOfNode;i>=0;i--){const member=this.members[i];if(!1!==member.isPresent){prevLead=member;break}}return!!prevLead&&(this.promote(prevLead),!0)}promote(node,preserveFollowOpacity){const prevLead=this.lead;if(node!==prevLead&&(this.prevLead=prevLead,this.lead=node,node.show(),prevLead)){prevLead.instance&&prevLead.scheduleRender(),node.scheduleRender(),node.resumeFrom=prevLead,preserveFollowOpacity&&(node.resumeFrom.preserveOpacity=!0),prevLead.snapshot&&(node.snapshot=prevLead.snapshot,node.snapshot.latestValues=prevLead.animationValues||prevLead.latestValues),node.root&&node.root.isUpdating&&(node.isLayoutDirty=!0);const{crossfade}=node.options;!1===crossfade&&prevLead.hide()}}exitAnimationComplete(){this.members.forEach((node=>{const{options,resumingFrom}=node;options.onExitComplete&&options.onExitComplete(),resumingFrom&&resumingFrom.options.onExitComplete&&resumingFrom.options.onExitComplete()}))}scheduleRender(){this.members.forEach((node=>{node.instance&&node.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var has_transform=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs");const compareByDepth=(a,b)=>a.depth-b.depth;class FlatTree{constructor(){this.children=[],this.isDirty=!1}add(child){(0,array.Kq)(this.children,child),this.isDirty=!0}remove(child){(0,array.Ai)(this.children,child),this.isDirty=!0}forEach(callback){this.isDirty&&this.children.sort(compareByDepth),this.isDirty=!1,this.children.forEach(callback)}}var resolve_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/resolve-value.mjs"),is_motion_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs");function resolveMotionValue(value){const unwrappedValue=(0,is_motion_value.S)(value)?value.get():value;return(0,resolve_value.B)(unwrappedValue)?unwrappedValue.toValue():unwrappedValue}var sync_time=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/sync-time.mjs");var is_svg_element=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs"),single_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/interfaces/single-value.mjs"),get_appear_id=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs");const metrics={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},isDebug="undefined"!=typeof window&&void 0!==window.MotionDebug,transformAxes=["","X","Y","Z"],hiddenVisibility={visibility:"hidden"};let create_projection_node_id=0;function resetDistortingTransform(key,visualElement,values,sharedAnimationValues){const{latestValues}=visualElement;latestValues[key]&&(values[key]=latestValues[key],visualElement.setStaticValue(key,0),sharedAnimationValues&&(sharedAnimationValues[key]=0))}function cancelTreeOptimisedTransformAnimations(projectionNode){if(projectionNode.hasCheckedOptimisedAppear=!0,projectionNode.root===projectionNode)return;const{visualElement}=projectionNode.options;if(!visualElement)return;const appearId=(0,get_appear_id.P)(visualElement);if(window.MotionHasOptimisedAnimation(appearId,"transform")){const{layout,layoutId}=projectionNode.options;window.MotionCancelOptimisedAnimation(appearId,"transform",frameloop_frame.Gt,!(layout||layoutId))}const{parent}=projectionNode;parent&&!parent.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(parent)}function createProjectionNode({attachResizeListener,defaultParent,measureScroll,checkIsScrollRoot,resetTransform}){return class ProjectionNode{constructor(latestValues={},parent=(null==defaultParent?void 0:defaultParent())){this.id=create_projection_node_id++,this.animationId=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,isDebug&&(metrics.totalNodes=metrics.resolvedTargetDeltas=metrics.recalculatedProjection=0),this.nodes.forEach(propagateDirtyNodes),this.nodes.forEach(resolveTargetDelta),this.nodes.forEach(calcProjection),this.nodes.forEach(cleanDirtyNodes),isDebug&&window.MotionDebug.record(metrics)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=latestValues,this.root=parent?parent.root||parent:this,this.path=parent?[...parent.path,parent]:[],this.parent=parent,this.depth=parent?parent.depth+1:0;for(let i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new FlatTree)}addEventListener(name,handler){return this.eventHandlers.has(name)||this.eventHandlers.set(name,new subscription_manager.v),this.eventHandlers.get(name).add(handler)}notifyListeners(name,...args){const subscriptionManager=this.eventHandlers.get(name);subscriptionManager&&subscriptionManager.notify(...args)}hasListeners(name){return this.eventHandlers.has(name)}mount(instance,isLayoutDirty=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,is_svg_element.x)(instance),this.instance=instance;const{layoutId,layout,visualElement}=this.options;if(visualElement&&!visualElement.current&&visualElement.mount(instance),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),isLayoutDirty&&(layout||layoutId)&&(this.isLayoutDirty=!0),attachResizeListener){let cancelDelay;const resizeUnblockUpdate=()=>this.root.updateBlockedByResize=!1;attachResizeListener(instance,(()=>{this.root.updateBlockedByResize=!0,cancelDelay&&cancelDelay(),cancelDelay=function delay(callback,timeout){const start=sync_time.k.now(),checkElapsed=({timestamp})=>{const elapsed=timestamp-start;elapsed>=timeout&&((0,frameloop_frame.WG)(checkElapsed),callback(elapsed-timeout))};return frameloop_frame.Gt.read(checkElapsed,!0),()=>(0,frameloop_frame.WG)(checkElapsed)}(resizeUnblockUpdate,250),globalProjectionState.hasAnimatedSinceResize&&(globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation))}))}layoutId&&this.root.registerSharedNode(layoutId,this),!1!==this.options.animate&&visualElement&&(layoutId||layout)&&this.addEventListener("didUpdate",(({delta,hasLayoutChanged,hasRelativeTargetChanged,layout:newLayout})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const layoutTransition=this.options.transition||visualElement.getDefaultTransition()||defaultLayoutTransition,{onLayoutAnimationStart,onLayoutAnimationComplete}=visualElement.getProps(),targetChanged=!this.targetLayout||!boxEqualsRounded(this.targetLayout,newLayout)||hasRelativeTargetChanged,hasOnlyRelativeTargetChanged=!hasLayoutChanged&&hasRelativeTargetChanged;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||hasOnlyRelativeTargetChanged||hasLayoutChanged&&(targetChanged||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(delta,hasOnlyRelativeTargetChanged);const animationOptions={...(0,transitions.r)(layoutTransition,"layout"),onPlay:onLayoutAnimationStart,onComplete:onLayoutAnimationComplete};(visualElement.shouldReduceMotion||this.options.layoutRoot)&&(animationOptions.delay=0,animationOptions.type=!1),this.startAnimation(animationOptions)}else hasLayoutChanged||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=newLayout}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const stack=this.getStack();stack&&stack.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,frameloop_frame.WG)(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(resetSkewAndRotation),this.animationId++)}getTransformTemplate(){const{visualElement}=this.options;return visualElement&&visualElement.getProps().transformTemplate}willUpdate(shouldNotifyListeners=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let i=0;i<this.path.length;i++){const node=this.path[i];node.shouldResetTransform=!0,node.updateScroll("snapshot"),node.options.layoutRoot&&node.willUpdate(!1)}const{layoutId,layout}=this.options;if(void 0===layoutId&&!layout)return;const transformTemplate=this.getTransformTemplate();this.prevTransformTemplateValue=transformTemplate?transformTemplate(this.latestValues,""):void 0,this.updateSnapshot(),shouldNotifyListeners&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(clearMeasurements);this.isUpdating||this.nodes.forEach(clearIsLayoutDirty),this.isUpdating=!1,this.nodes.forEach(resetTransformStyle),this.nodes.forEach(updateLayout),this.nodes.forEach(notifyLayoutUpdate),this.clearAllSnapshots();const now=sync_time.k.now();frameloop_frame.uv.delta=(0,clamp.q)(0,1e3/60,now-frameloop_frame.uv.timestamp),frameloop_frame.uv.timestamp=now,frameloop_frame.uv.isProcessing=!0,frameloop_frame.Ci.update.process(frameloop_frame.uv),frameloop_frame.Ci.preRender.process(frameloop_frame.uv),frameloop_frame.Ci.render.process(frameloop_frame.uv),frameloop_frame.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(clearSnapshot),this.sharedNodes.forEach(removeLeadSnapshots)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,frameloop_frame.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){frameloop_frame.Gt.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let i=0;i<this.path.length;i++){this.path[i].updateScroll()}const prevLayout=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,models.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement}=this.options;visualElement&&visualElement.notify("LayoutMeasure",this.layout.layoutBox,prevLayout?prevLayout.layoutBox:void 0)}updateScroll(phase="measure"){let needsMeasurement=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===phase&&(needsMeasurement=!1),needsMeasurement){const isRoot=checkIsScrollRoot(this.instance);this.scroll={animationId:this.root.animationId,phase,isRoot,offset:measureScroll(this.instance),wasRoot:this.scroll?this.scroll.isRoot:isRoot}}}resetTransform(){if(!resetTransform)return;const isResetRequested=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,hasProjection=this.projectionDelta&&!isDeltaZero(this.projectionDelta),transformTemplate=this.getTransformTemplate(),transformTemplateValue=transformTemplate?transformTemplate(this.latestValues,""):void 0,transformTemplateHasChanged=transformTemplateValue!==this.prevTransformTemplateValue;isResetRequested&&(hasProjection||(0,has_transform.HD)(this.latestValues)||transformTemplateHasChanged)&&(resetTransform(this.instance,transformTemplateValue),this.shouldResetTransform=!1,this.scheduleRender())}measure(removeTransform=!0){const pageBox=this.measurePageBox();let layoutBox=this.removeElementScroll(pageBox);return removeTransform&&(layoutBox=this.removeTransform(layoutBox)),function roundBox(box){roundAxis(box.x),roundAxis(box.y)}(layoutBox),{animationId:this.root.animationId,measuredBox:pageBox,layoutBox,latestValues:{},source:this.id}}measurePageBox(){var _a;const{visualElement}=this.options;if(!visualElement)return(0,models.ge)();const box=visualElement.measureViewportBox();if(!((null===(_a=this.scroll)||void 0===_a?void 0:_a.wasRoot)||this.path.some(checkNodeWasScrollRoot))){const{scroll}=this.root;scroll&&((0,delta_apply.Ql)(box.x,scroll.offset.x),(0,delta_apply.Ql)(box.y,scroll.offset.y))}return box}removeElementScroll(box){var _a;const boxWithoutScroll=(0,models.ge)();if(copyBoxInto(boxWithoutScroll,box),null===(_a=this.scroll)||void 0===_a?void 0:_a.wasRoot)return boxWithoutScroll;for(let i=0;i<this.path.length;i++){const node=this.path[i],{scroll,options}=node;node!==this.root&&scroll&&options.layoutScroll&&(scroll.wasRoot&©BoxInto(boxWithoutScroll,box),(0,delta_apply.Ql)(boxWithoutScroll.x,scroll.offset.x),(0,delta_apply.Ql)(boxWithoutScroll.y,scroll.offset.y))}return boxWithoutScroll}applyTransform(box,transformOnly=!1){const withTransforms=(0,models.ge)();copyBoxInto(withTransforms,box);for(let i=0;i<this.path.length;i++){const node=this.path[i];!transformOnly&&node.options.layoutScroll&&node.scroll&&node!==node.root&&(0,delta_apply.Ww)(withTransforms,{x:-node.scroll.offset.x,y:-node.scroll.offset.y}),(0,has_transform.HD)(node.latestValues)&&(0,delta_apply.Ww)(withTransforms,node.latestValues)}return(0,has_transform.HD)(this.latestValues)&&(0,delta_apply.Ww)(withTransforms,this.latestValues),withTransforms}removeTransform(box){const boxWithoutTransform=(0,models.ge)();copyBoxInto(boxWithoutTransform,box);for(let i=0;i<this.path.length;i++){const node=this.path[i];if(!node.instance)continue;if(!(0,has_transform.HD)(node.latestValues))continue;(0,has_transform.vk)(node.latestValues)&&node.updateSnapshot();const sourceBox=(0,models.ge)();copyBoxInto(sourceBox,node.measurePageBox()),removeBoxTransforms(boxWithoutTransform,node.latestValues,node.snapshot?node.snapshot.layoutBox:void 0,sourceBox)}return(0,has_transform.HD)(this.latestValues)&&removeBoxTransforms(boxWithoutTransform,this.latestValues),boxWithoutTransform}setTargetDelta(delta){this.targetDelta=delta,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(options){this.options={...this.options,...options,crossfade:void 0===options.crossfade||options.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!==frameloop_frame.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(forceRecalculation=!1){var _a;const lead=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=lead.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=lead.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=lead.isSharedProjectionDirty);const isShared=Boolean(this.resumingFrom)||this!==lead;if(!(forceRecalculation||isShared&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(_a=this.parent)||void 0===_a?void 0:_a.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout,layoutId}=this.options;if(this.layout&&(layout||layoutId)){if(this.resolvedRelativeTargetAt=frameloop_frame.uv.timestamp,!this.targetDelta&&!this.relativeTarget){const relativeParent=this.getClosestProjectingParent();relativeParent&&relativeParent.layout&&1!==this.animationProgress?(this.relativeParent=relativeParent,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,models.ge)(),this.relativeTargetOrigin=(0,models.ge)(),calcRelativePosition(this.relativeTargetOrigin,this.layout.layoutBox,relativeParent.layout.layoutBox),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,models.ge)(),this.targetWithTransforms=(0,models.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),function calcRelativeBox(target,relative,parent){calcRelativeAxis(target.x,relative.x,parent.x),calcRelativeAxis(target.y,relative.y,parent.y)}(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):copyBoxInto(this.target,this.layout.layoutBox),(0,delta_apply.o4)(this.target,this.targetDelta)):copyBoxInto(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const relativeParent=this.getClosestProjectingParent();relativeParent&&Boolean(relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!relativeParent.options.layoutScroll&&relativeParent.target&&1!==this.animationProgress?(this.relativeParent=relativeParent,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,models.ge)(),this.relativeTargetOrigin=(0,models.ge)(),calcRelativePosition(this.relativeTargetOrigin,this.target,relativeParent.target),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}isDebug&&metrics.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!(0,has_transform.vk)(this.parent.latestValues)&&!(0,has_transform.vF)(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var _a;const lead=this.getLead(),isShared=Boolean(this.resumingFrom)||this!==lead;let canSkip=!0;if((this.isProjectionDirty||(null===(_a=this.parent)||void 0===_a?void 0:_a.isProjectionDirty))&&(canSkip=!1),isShared&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(canSkip=!1),this.resolvedRelativeTargetAt===frameloop_frame.uv.timestamp&&(canSkip=!1),canSkip)return;const{layout,layoutId}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!layout&&!layoutId)return;copyBoxInto(this.layoutCorrected,this.layout.layoutBox);const prevTreeScaleX=this.treeScale.x,prevTreeScaleY=this.treeScale.y;(0,delta_apply.OU)(this.layoutCorrected,this.treeScale,this.path,isShared),!lead.layout||lead.target||1===this.treeScale.x&&1===this.treeScale.y||(lead.target=lead.layout.layoutBox,lead.targetWithTransforms=(0,models.ge)());const{target}=lead;target?(this.projectionDelta&&this.prevProjectionDelta?(copyAxisDeltaInto(this.prevProjectionDelta.x,this.projectionDelta.x),copyAxisDeltaInto(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),calcBoxDelta(this.projectionDelta,this.layoutCorrected,target,this.latestValues),this.treeScale.x===prevTreeScaleX&&this.treeScale.y===prevTreeScaleY&&axisDeltaEquals(this.projectionDelta.x,this.prevProjectionDelta.x)&&axisDeltaEquals(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",target)),isDebug&&metrics.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(notifyAll=!0){var _a;if(null===(_a=this.options.visualElement)||void 0===_a||_a.scheduleRender(),notifyAll){const stack=this.getStack();stack&&stack.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,models.xU)(),this.projectionDelta=(0,models.xU)(),this.projectionDeltaWithTransform=(0,models.xU)()}setAnimationOrigin(delta,hasOnlyRelativeTargetChanged=!1){const snapshot=this.snapshot,snapshotLatestValues=snapshot?snapshot.latestValues:{},mixedValues={...this.latestValues},targetDelta=(0,models.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!hasOnlyRelativeTargetChanged;const relativeLayout=(0,models.ge)(),isSharedLayoutAnimation=(snapshot?snapshot.source:void 0)!==(this.layout?this.layout.source:void 0),stack=this.getStack(),isOnlyMember=!stack||stack.members.length<=1,shouldCrossfadeOpacity=Boolean(isSharedLayoutAnimation&&!isOnlyMember&&!0===this.options.crossfade&&!this.path.some(hasOpacityCrossfade));let prevRelativeTarget;this.animationProgress=0,this.mixTargetDelta=latest=>{const progress=latest/1e3;mixAxisDelta(targetDelta.x,delta.x,progress),mixAxisDelta(targetDelta.y,delta.y,progress),this.setTargetDelta(targetDelta),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(calcRelativePosition(relativeLayout,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function mixBox(output,from,to,p){mixAxis(output.x,from.x,to.x,p),mixAxis(output.y,from.y,to.y,p)}(this.relativeTarget,this.relativeTargetOrigin,relativeLayout,progress),prevRelativeTarget&&function boxEquals(a,b){return axisEquals(a.x,b.x)&&axisEquals(a.y,b.y)}(this.relativeTarget,prevRelativeTarget)&&(this.isProjectionDirty=!1),prevRelativeTarget||(prevRelativeTarget=(0,models.ge)()),copyBoxInto(prevRelativeTarget,this.relativeTarget)),isSharedLayoutAnimation&&(this.animationValues=mixedValues,function mixValues(target,follow,lead,progress,shouldCrossfadeOpacity,isOnlyMember){shouldCrossfadeOpacity?(target.opacity=(0,number.k)(0,void 0!==lead.opacity?lead.opacity:1,easeCrossfadeIn(progress)),target.opacityExit=(0,number.k)(void 0!==follow.opacity?follow.opacity:1,0,easeCrossfadeOut(progress))):isOnlyMember&&(target.opacity=(0,number.k)(void 0!==follow.opacity?follow.opacity:1,void 0!==lead.opacity?lead.opacity:1,progress));for(let i=0;i<numBorders;i++){const borderLabel=`border${borders[i]}Radius`;let followRadius=getRadius(follow,borderLabel),leadRadius=getRadius(lead,borderLabel);void 0===followRadius&&void 0===leadRadius||(followRadius||(followRadius=0),leadRadius||(leadRadius=0),0===followRadius||0===leadRadius||isPx(followRadius)===isPx(leadRadius)?(target[borderLabel]=Math.max((0,number.k)(asNumber(followRadius),asNumber(leadRadius),progress),0),(units.KN.test(leadRadius)||units.KN.test(followRadius))&&(target[borderLabel]+="%")):target[borderLabel]=leadRadius)}(follow.rotate||lead.rotate)&&(target.rotate=(0,number.k)(follow.rotate||0,lead.rotate||0,progress))}(mixedValues,snapshotLatestValues,this.latestValues,progress,shouldCrossfadeOpacity,isOnlyMember)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=progress},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(options){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,frameloop_frame.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=frameloop_frame.Gt.update((()=>{globalProjectionState.hasAnimatedSinceResize=!0,this.currentAnimation=(0,single_value.z)(0,1e3,{...options,onUpdate:latest=>{this.mixTargetDelta(latest),options.onUpdate&&options.onUpdate(latest)},onComplete:()=>{options.onComplete&&options.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);const stack=this.getStack();stack&&stack.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(){const lead=this.getLead();let{targetWithTransforms,target,layout,latestValues}=lead;if(targetWithTransforms&&target&&layout){if(this!==lead&&this.layout&&layout&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,layout.layoutBox)){target=this.target||(0,models.ge)();const xLength=calcLength(this.layout.layoutBox.x);target.x.min=lead.target.x.min,target.x.max=target.x.min+xLength;const yLength=calcLength(this.layout.layoutBox.y);target.y.min=lead.target.y.min,target.y.max=target.y.min+yLength}copyBoxInto(targetWithTransforms,target),(0,delta_apply.Ww)(targetWithTransforms,latestValues),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,targetWithTransforms,latestValues)}}registerSharedNode(layoutId,node){this.sharedNodes.has(layoutId)||this.sharedNodes.set(layoutId,new NodeStack);this.sharedNodes.get(layoutId).add(node);const config=node.options.initialPromotionConfig;node.promote({transition:config?config.transition:void 0,preserveFollowOpacity:config&&config.shouldPreserveFollowOpacity?config.shouldPreserveFollowOpacity(node):void 0})}isLead(){const stack=this.getStack();return!stack||stack.lead===this}getLead(){var _a;const{layoutId}=this.options;return layoutId&&(null===(_a=this.getStack())||void 0===_a?void 0:_a.lead)||this}getPrevLead(){var _a;const{layoutId}=this.options;return layoutId?null===(_a=this.getStack())||void 0===_a?void 0:_a.prevLead:void 0}getStack(){const{layoutId}=this.options;if(layoutId)return this.root.sharedNodes.get(layoutId)}promote({needsReset,transition,preserveFollowOpacity}={}){const stack=this.getStack();stack&&stack.promote(this,preserveFollowOpacity),needsReset&&(this.projectionDelta=void 0,this.needsReset=!0),transition&&this.setOptions({transition})}relegate(){const stack=this.getStack();return!!stack&&stack.relegate(this)}resetSkewAndRotation(){const{visualElement}=this.options;if(!visualElement)return;let hasDistortingTransform=!1;const{latestValues}=visualElement;if((latestValues.z||latestValues.rotate||latestValues.rotateX||latestValues.rotateY||latestValues.rotateZ||latestValues.skewX||latestValues.skewY)&&(hasDistortingTransform=!0),!hasDistortingTransform)return;const resetValues={};latestValues.z&&resetDistortingTransform("z",visualElement,resetValues,this.animationValues);for(let i=0;i<transformAxes.length;i++)resetDistortingTransform(`rotate${transformAxes[i]}`,visualElement,resetValues,this.animationValues),resetDistortingTransform(`skew${transformAxes[i]}`,visualElement,resetValues,this.animationValues);visualElement.render();for(const key in resetValues)visualElement.setStaticValue(key,resetValues[key]),this.animationValues&&(this.animationValues[key]=resetValues[key]);visualElement.scheduleRender()}getProjectionStyles(styleProp){var _a,_b;if(!this.instance||this.isSVG)return;if(!this.isVisible)return hiddenVisibility;const styles={visibility:""},transformTemplate=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,styles.opacity="",styles.pointerEvents=resolveMotionValue(null==styleProp?void 0:styleProp.pointerEvents)||"",styles.transform=transformTemplate?transformTemplate(this.latestValues,""):"none",styles;const lead=this.getLead();if(!this.projectionDelta||!this.layout||!lead.target){const emptyStyles={};return this.options.layoutId&&(emptyStyles.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,emptyStyles.pointerEvents=resolveMotionValue(null==styleProp?void 0:styleProp.pointerEvents)||""),this.hasProjected&&!(0,has_transform.HD)(this.latestValues)&&(emptyStyles.transform=transformTemplate?transformTemplate({},""):"none",this.hasProjected=!1),emptyStyles}const valuesToRender=lead.animationValues||lead.latestValues;this.applyTransformsToTarget(),styles.transform=function buildProjectionTransform(delta,treeScale,latestTransform){let transform="";const xTranslate=delta.x.translate/treeScale.x,yTranslate=delta.y.translate/treeScale.y,zTranslate=(null==latestTransform?void 0:latestTransform.z)||0;if((xTranslate||yTranslate||zTranslate)&&(transform=`translate3d(${xTranslate}px, ${yTranslate}px, ${zTranslate}px) `),1===treeScale.x&&1===treeScale.y||(transform+=`scale(${1/treeScale.x}, ${1/treeScale.y}) `),latestTransform){const{transformPerspective,rotate,rotateX,rotateY,skewX,skewY}=latestTransform;transformPerspective&&(transform=`perspective(${transformPerspective}px) ${transform}`),rotate&&(transform+=`rotate(${rotate}deg) `),rotateX&&(transform+=`rotateX(${rotateX}deg) `),rotateY&&(transform+=`rotateY(${rotateY}deg) `),skewX&&(transform+=`skewX(${skewX}deg) `),skewY&&(transform+=`skewY(${skewY}deg) `)}const elementScaleX=delta.x.scale*treeScale.x,elementScaleY=delta.y.scale*treeScale.y;return 1===elementScaleX&&1===elementScaleY||(transform+=`scale(${elementScaleX}, ${elementScaleY})`),transform||"none"}(this.projectionDeltaWithTransform,this.treeScale,valuesToRender),transformTemplate&&(styles.transform=transformTemplate(valuesToRender,styles.transform));const{x,y}=this.projectionDelta;styles.transformOrigin=`${100*x.origin}% ${100*y.origin}% 0`,lead.animationValues?styles.opacity=lead===this?null!==(_b=null!==(_a=valuesToRender.opacity)&&void 0!==_a?_a:this.latestValues.opacity)&&void 0!==_b?_b:1:this.preserveOpacity?this.latestValues.opacity:valuesToRender.opacityExit:styles.opacity=lead===this?void 0!==valuesToRender.opacity?valuesToRender.opacity:"":void 0!==valuesToRender.opacityExit?valuesToRender.opacityExit:0;for(const key in scale_correction.H){if(void 0===valuesToRender[key])continue;const{correct,applyTo}=scale_correction.H[key],corrected="none"===styles.transform?valuesToRender[key]:correct(valuesToRender[key],lead);if(applyTo){const num=applyTo.length;for(let i=0;i<num;i++)styles[applyTo[i]]=corrected}else styles[key]=corrected}return this.options.layoutId&&(styles.pointerEvents=lead===this?resolveMotionValue(null==styleProp?void 0:styleProp.pointerEvents)||"":"none"),styles}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((node=>{var _a;return null===(_a=node.currentAnimation)||void 0===_a?void 0:_a.stop()})),this.root.nodes.forEach(clearMeasurements),this.root.sharedNodes.clear()}}}function updateLayout(node){node.updateLayout()}function notifyLayoutUpdate(node){var _a;const snapshot=(null===(_a=node.resumeFrom)||void 0===_a?void 0:_a.snapshot)||node.snapshot;if(node.isLead()&&node.layout&&snapshot&&node.hasListeners("didUpdate")){const{layoutBox:layout,measuredBox:measuredLayout}=node.layout,{animationType}=node.options,isShared=snapshot.source!==node.layout.source;"size"===animationType?eachAxis((axis=>{const axisSnapshot=isShared?snapshot.measuredBox[axis]:snapshot.layoutBox[axis],length=calcLength(axisSnapshot);axisSnapshot.min=layout[axis].min,axisSnapshot.max=axisSnapshot.min+length})):shouldAnimatePositionOnly(animationType,snapshot.layoutBox,layout)&&eachAxis((axis=>{const axisSnapshot=isShared?snapshot.measuredBox[axis]:snapshot.layoutBox[axis],length=calcLength(layout[axis]);axisSnapshot.max=axisSnapshot.min+length,node.relativeTarget&&!node.currentAnimation&&(node.isProjectionDirty=!0,node.relativeTarget[axis].max=node.relativeTarget[axis].min+length)}));const layoutDelta=(0,models.xU)();calcBoxDelta(layoutDelta,layout,snapshot.layoutBox);const visualDelta=(0,models.xU)();isShared?calcBoxDelta(visualDelta,node.applyTransform(measuredLayout,!0),snapshot.measuredBox):calcBoxDelta(visualDelta,layout,snapshot.layoutBox);const hasLayoutChanged=!isDeltaZero(layoutDelta);let hasRelativeTargetChanged=!1;if(!node.resumeFrom){const relativeParent=node.getClosestProjectingParent();if(relativeParent&&!relativeParent.resumeFrom){const{snapshot:parentSnapshot,layout:parentLayout}=relativeParent;if(parentSnapshot&&parentLayout){const relativeSnapshot=(0,models.ge)();calcRelativePosition(relativeSnapshot,snapshot.layoutBox,parentSnapshot.layoutBox);const relativeLayout=(0,models.ge)();calcRelativePosition(relativeLayout,layout,parentLayout.layoutBox),boxEqualsRounded(relativeSnapshot,relativeLayout)||(hasRelativeTargetChanged=!0),relativeParent.options.layoutRoot&&(node.relativeTarget=relativeLayout,node.relativeTargetOrigin=relativeSnapshot,node.relativeParent=relativeParent)}}}node.notifyListeners("didUpdate",{layout,snapshot,delta:visualDelta,layoutDelta,hasLayoutChanged,hasRelativeTargetChanged})}else if(node.isLead()){const{onExitComplete}=node.options;onExitComplete&&onExitComplete()}node.options.transition=void 0}function propagateDirtyNodes(node){isDebug&&metrics.totalNodes++,node.parent&&(node.isProjecting()||(node.isProjectionDirty=node.parent.isProjectionDirty),node.isSharedProjectionDirty||(node.isSharedProjectionDirty=Boolean(node.isProjectionDirty||node.parent.isProjectionDirty||node.parent.isSharedProjectionDirty)),node.isTransformDirty||(node.isTransformDirty=node.parent.isTransformDirty))}function cleanDirtyNodes(node){node.isProjectionDirty=node.isSharedProjectionDirty=node.isTransformDirty=!1}function clearSnapshot(node){node.clearSnapshot()}function clearMeasurements(node){node.clearMeasurements()}function clearIsLayoutDirty(node){node.isLayoutDirty=!1}function resetTransformStyle(node){const{visualElement}=node.options;visualElement&&visualElement.getProps().onBeforeLayoutMeasure&&visualElement.notify("BeforeLayoutMeasure"),node.resetTransform()}function finishAnimation(node){node.finishAnimation(),node.targetDelta=node.relativeTarget=node.target=void 0,node.isProjectionDirty=!0}function resolveTargetDelta(node){node.resolveTargetDelta()}function calcProjection(node){node.calcProjection()}function resetSkewAndRotation(node){node.resetSkewAndRotation()}function removeLeadSnapshots(stack){stack.removeLeadSnapshot()}function mixAxisDelta(output,delta,p){output.translate=(0,number.k)(delta.translate,0,p),output.scale=(0,number.k)(delta.scale,1,p),output.origin=delta.origin,output.originPoint=delta.originPoint}function mixAxis(output,from,to,p){output.min=(0,number.k)(from.min,to.min,p),output.max=(0,number.k)(from.max,to.max,p)}function hasOpacityCrossfade(node){return node.animationValues&&void 0!==node.animationValues.opacityExit}const defaultLayoutTransition={duration:.45,ease:[.4,0,.1,1]},userAgentContains=string=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(string),roundPoint=userAgentContains("applewebkit/")&&!userAgentContains("chrome/")?Math.round:noop.l;function roundAxis(axis){axis.min=roundPoint(axis.min),axis.max=roundPoint(axis.max)}function shouldAnimatePositionOnly(animationType,snapshot,layout){return"position"===animationType||"preserve-aspect"===animationType&&!function isNear(value,target,maxDistance){return Math.abs(value-target)<=maxDistance}(aspectRatio(snapshot),aspectRatio(layout),.2)}function checkNodeWasScrollRoot(node){var _a;return node!==node.root&&(null===(_a=node.scroll)||void 0===_a?void 0:_a.wasRoot)}const DocumentProjectionNode=createProjectionNode({attachResizeListener:(ref,notify)=>addDomEvent(ref,"resize",notify),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rootProjectionNode={current:void 0},HTMLProjectionNode=createProjectionNode({measureScroll:instance=>({x:instance.scrollLeft,y:instance.scrollTop}),defaultParent:()=>{if(!rootProjectionNode.current){const documentNode=new DocumentProjectionNode({});documentNode.mount(window),documentNode.setOptions({layoutScroll:!0}),rootProjectionNode.current=documentNode}return rootProjectionNode.current},resetTransform:(instance,value)=>{instance.style.transform=void 0!==value?value:"none"},checkIsScrollRoot:instance=>Boolean("fixed"===window.getComputedStyle(instance).position)}),drag={pan:{Feature:class PanGesture extends Feature{constructor(){super(...arguments),this.removePointerDownListener=noop.l}onPointerDown(pointerDownEvent){this.session=new PanSession(pointerDownEvent,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:getContextWindow(this.node)})}createPanHandlers(){const{onPanSessionStart,onPanStart,onPan,onPanEnd}=this.node.getProps();return{onSessionStart:asyncHandler(onPanSessionStart),onStart:asyncHandler(onPanStart),onMove:onPan,onEnd:(event,info)=>{delete this.session,onPanEnd&&frameloop_frame.Gt.postRender((()=>onPanEnd(event,info)))}}}mount(){this.removePointerDownListener=addPointerEvent(this.node.current,"pointerdown",(event=>this.onPointerDown(event)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class DragGesture extends Feature{constructor(node){super(node),this.removeGroupControls=noop.l,this.removeListeners=noop.l,this.controls=new VisualElementDragControls(node)}mount(){const{dragControls}=this.node.getProps();dragControls&&(this.removeGroupControls=dragControls.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||noop.l}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:HTMLProjectionNode,MeasureLayout}};function addHoverEvent(node,isActive){const eventName=isActive?"pointerenter":"pointerleave",callbackName=isActive?"onHoverStart":"onHoverEnd";return addPointerEvent(node.current,eventName,((event,info)=>{if("touch"===event.pointerType||isDragActive())return;const props=node.getProps();node.animationState&&props.whileHover&&node.animationState.setActive("whileHover",isActive);const callback=props[callbackName];callback&&frameloop_frame.Gt.postRender((()=>callback(event,info)))}),{passive:!node.getProps()[callbackName]})}const isNodeOrChild=(parent,child)=>!!child&&(parent===child||isNodeOrChild(parent,child.parentElement));function fireSyntheticPointerEvent(name,handler){if(!handler)return;const syntheticPointerEvent=new PointerEvent("pointer"+name);handler(syntheticPointerEvent,extractEventInfo(syntheticPointerEvent))}const observerCallbacks=new WeakMap,observers=new WeakMap,fireObserverCallback=entry=>{const callback=observerCallbacks.get(entry.target);callback&&callback(entry)},fireAllObserverCallbacks=entries=>{entries.forEach(fireObserverCallback)};function observeIntersection(element,options,callback){const rootInteresectionObserver=function initIntersectionObserver({root,...options}){const lookupRoot=root||document;observers.has(lookupRoot)||observers.set(lookupRoot,{});const rootObservers=observers.get(lookupRoot),key=JSON.stringify(options);return rootObservers[key]||(rootObservers[key]=new IntersectionObserver(fireAllObserverCallbacks,{root,...options})),rootObservers[key]}(options);return observerCallbacks.set(element,callback),rootInteresectionObserver.observe(element),()=>{observerCallbacks.delete(element),rootInteresectionObserver.unobserve(element)}}const thresholdNames={some:0,all:1};const gestureAnimations={inView:{Feature:class InViewFeature extends Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport={}}=this.node.getProps(),{root,margin:rootMargin,amount="some",once}=viewport,options={root:root?root.current:void 0,rootMargin,threshold:"number"==typeof amount?amount:thresholdNames[amount]};return observeIntersection(this.node.current,options,(entry=>{const{isIntersecting}=entry;if(this.isInView===isIntersecting)return;if(this.isInView=isIntersecting,once&&!isIntersecting&&this.hasEnteredView)return;isIntersecting&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",isIntersecting);const{onViewportEnter,onViewportLeave}=this.node.getProps(),callback=isIntersecting?onViewportEnter:onViewportLeave;callback&&callback(entry)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props,prevProps}=this.node;["amount","margin","root"].some(function hasViewportOptionChanged({viewport={}},{viewport:prevViewport={}}={}){return name=>viewport[name]!==prevViewport[name]}(props,prevProps))&&this.startObserver()}unmount(){}}},tap:{Feature:class PressGesture extends Feature{constructor(){super(...arguments),this.removeStartListeners=noop.l,this.removeEndListeners=noop.l,this.removeAccessibleListeners=noop.l,this.startPointerPress=(startEvent,startInfo)=>{if(this.isPressing)return;this.removeEndListeners();const props=this.node.getProps(),removePointerUpListener=addPointerEvent(window,"pointerup",((endEvent,endInfo)=>{if(!this.checkPressEnd())return;const{onTap,onTapCancel,globalTapTarget}=this.node.getProps(),handler=globalTapTarget||isNodeOrChild(this.node.current,endEvent.target)?onTap:onTapCancel;handler&&frameloop_frame.Gt.update((()=>handler(endEvent,endInfo)))}),{passive:!(props.onTap||props.onPointerUp)}),removePointerCancelListener=addPointerEvent(window,"pointercancel",((cancelEvent,cancelInfo)=>this.cancelPress(cancelEvent,cancelInfo)),{passive:!(props.onTapCancel||props.onPointerCancel)});this.removeEndListeners=(0,pipe.F)(removePointerUpListener,removePointerCancelListener),this.startPress(startEvent,startInfo)},this.startAccessiblePress=()=>{const removeKeydownListener=addDomEvent(this.node.current,"keydown",(keydownEvent=>{if("Enter"!==keydownEvent.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=addDomEvent(this.node.current,"keyup",(keyupEvent=>{"Enter"===keyupEvent.key&&this.checkPressEnd()&&fireSyntheticPointerEvent("up",((event,info)=>{const{onTap}=this.node.getProps();onTap&&frameloop_frame.Gt.postRender((()=>onTap(event,info)))}))})),fireSyntheticPointerEvent("down",((event,info)=>{this.startPress(event,info)}))})),removeBlurListener=addDomEvent(this.node.current,"blur",(()=>{this.isPressing&&fireSyntheticPointerEvent("cancel",((cancelEvent,cancelInfo)=>this.cancelPress(cancelEvent,cancelInfo)))}));this.removeAccessibleListeners=(0,pipe.F)(removeKeydownListener,removeBlurListener)}}startPress(event,info){this.isPressing=!0;const{onTapStart,whileTap}=this.node.getProps();whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),onTapStart&&frameloop_frame.Gt.postRender((()=>onTapStart(event,info)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!isDragActive()}cancelPress(event,info){if(!this.checkPressEnd())return;const{onTapCancel}=this.node.getProps();onTapCancel&&frameloop_frame.Gt.postRender((()=>onTapCancel(event,info)))}mount(){const props=this.node.getProps(),removePointerListener=addPointerEvent(props.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(props.onTapStart||props.onPointerStart)}),removeFocusListener=addDomEvent(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,pipe.F)(removePointerListener,removeFocusListener)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class FocusGesture extends Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let isFocusVisible=!1;try{isFocusVisible=this.node.current.matches(":focus-visible")}catch(e){isFocusVisible=!0}isFocusVisible&&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=(0,pipe.F)(addDomEvent(this.node.current,"focus",(()=>this.onFocus())),addDomEvent(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class HoverGesture extends Feature{mount(){this.unmount=(0,pipe.F)(addHoverEvent(this.node,!0),addHoverEvent(this.node,!1))}unmount(){}}}},layout={layout:{ProjectionNode:HTMLProjectionNode,MeasureLayout}};var MotionConfigContext=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs");const MotionContext=(0,react.createContext)({});var use_isomorphic_effect=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs");const LazyContext=(0,react.createContext)({strict:!1});var data_id=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs");let scheduleHandoffComplete=!1;function useVisualElement(Component,visualState,props,createVisualElement,ProjectionNodeConstructor){var _a;const{visualElement:parent}=(0,react.useContext)(MotionContext),lazyContext=(0,react.useContext)(LazyContext),presenceContext=(0,react.useContext)(context_PresenceContext.t),reducedMotionConfig=(0,react.useContext)(MotionConfigContext.Q).reducedMotion,visualElementRef=(0,react.useRef)();createVisualElement=createVisualElement||lazyContext.renderer,!visualElementRef.current&&createVisualElement&&(visualElementRef.current=createVisualElement(Component,{visualState,parent,props,presenceContext,blockInitialAnimation:!!presenceContext&&!1===presenceContext.initial,reducedMotionConfig}));const visualElement=visualElementRef.current,initialLayoutGroupConfig=(0,react.useContext)(SwitchLayoutGroupContext);!visualElement||visualElement.projection||!ProjectionNodeConstructor||"html"!==visualElement.type&&"svg"!==visualElement.type||function use_visual_element_createProjectionNode(visualElement,props,ProjectionNodeConstructor,initialPromotionConfig){const{layoutId,layout,drag,dragConstraints,layoutScroll,layoutRoot}=props;visualElement.projection=new ProjectionNodeConstructor(visualElement.latestValues,props["data-framer-portal-id"]?void 0:getClosestProjectingNode(visualElement.parent)),visualElement.projection.setOptions({layoutId,layout,alwaysMeasureLayout:Boolean(drag)||dragConstraints&&isRefObject(dragConstraints),visualElement,animationType:"string"==typeof layout?layout:"both",initialPromotionConfig,layoutScroll,layoutRoot})}(visualElementRef.current,props,ProjectionNodeConstructor,initialLayoutGroupConfig),(0,react.useInsertionEffect)((()=>{visualElement&&visualElement.update(props,presenceContext)}));const optimisedAppearId=props[data_id.n],wantsHandoff=(0,react.useRef)(Boolean(optimisedAppearId)&&!window.MotionHandoffIsComplete&&(null===(_a=window.MotionHasOptimisedAnimation)||void 0===_a?void 0:_a.call(window,optimisedAppearId)));return(0,use_isomorphic_effect.E)((()=>{visualElement&&(visualElement.updateFeatures(),microtask.render(visualElement.render),wantsHandoff.current&&visualElement.animationState&&visualElement.animationState.animateChanges())})),(0,react.useEffect)((()=>{visualElement&&(!wantsHandoff.current&&visualElement.animationState&&visualElement.animationState.animateChanges(),wantsHandoff.current=!1,scheduleHandoffComplete||(scheduleHandoffComplete=!0,queueMicrotask(completeHandoff)))})),visualElement}function completeHandoff(){window.MotionHandoffIsComplete=!0}function getClosestProjectingNode(visualElement){if(visualElement)return!1!==visualElement.options.allowProjection?visualElement.projection:getClosestProjectingNode(visualElement.parent)}function useMotionRef(visualState,visualElement,externalRef){return(0,react.useCallback)((instance=>{instance&&visualState.mount&&visualState.mount(instance),visualElement&&(instance?visualElement.mount(instance):visualElement.unmount()),externalRef&&("function"==typeof externalRef?externalRef(instance):isRefObject(externalRef)&&(externalRef.current=instance))}),[visualElement])}var is_controlling_variants=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs");function useCreateMotionContext(props){const{initial,animate}=function getCurrentTreeVariants(props,context){if((0,is_controlling_variants.e)(props)){const{initial,animate}=props;return{initial:!1===initial||(0,is_variant_label.w)(initial)?initial:void 0,animate:(0,is_variant_label.w)(animate)?animate:void 0}}return!1!==props.inherit?context:{}}(props,(0,react.useContext)(MotionContext));return(0,react.useMemo)((()=>({initial,animate})),[variantLabelsAsDependency(initial),variantLabelsAsDependency(animate)])}function variantLabelsAsDependency(prop){return Array.isArray(prop)?prop.join(" "):prop}var definitions=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/motion/features/definitions.mjs");var is_browser=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/is-browser.mjs");const motionComponentSymbol=Symbol.for("motionComponentSymbol");function createRendererMotionComponent({preloadedFeatures,createVisualElement,useRender,useVisualState,Component}){preloadedFeatures&&function loadFeatures(features){for(const key in features)definitions.B[key]={...definitions.B[key],...features[key]}}(preloadedFeatures);const ForwardRefMotionComponent=(0,react.forwardRef)((function MotionComponent(props,externalRef){let MeasureLayout;const configAndProps={...(0,react.useContext)(MotionConfigContext.Q),...props,layoutId:useLayoutId(props)},{isStatic}=configAndProps,context=useCreateMotionContext(props),visualState=useVisualState(props,isStatic);if(!isStatic&&is_browser.B){!function useStrictMode(configAndProps,preloadedFeatures){(0,react.useContext)(LazyContext).strict;0}();const layoutProjection=function getProjectionFunctionality(props){const{drag,layout}=definitions.B;if(!drag&&!layout)return{};const combined={...drag,...layout};return{MeasureLayout:(null==drag?void 0:drag.isEnabled(props))||(null==layout?void 0:layout.isEnabled(props))?combined.MeasureLayout:void 0,ProjectionNode:combined.ProjectionNode}}(configAndProps);MeasureLayout=layoutProjection.MeasureLayout,context.visualElement=useVisualElement(Component,visualState,configAndProps,createVisualElement,layoutProjection.ProjectionNode)}return(0,jsx_runtime.jsxs)(MotionContext.Provider,{value:context,children:[MeasureLayout&&context.visualElement?(0,jsx_runtime.jsx)(MeasureLayout,{visualElement:context.visualElement,...configAndProps}):null,useRender(Component,props,useMotionRef(visualState,context.visualElement,externalRef),visualState,isStatic,context.visualElement)]})}));return ForwardRefMotionComponent[motionComponentSymbol]=Component,ForwardRefMotionComponent}function useLayoutId({layoutId}){const layoutGroupId=(0,react.useContext)(LayoutGroupContext.L).id;return layoutGroupId&&void 0!==layoutId?layoutGroupId+"-"+layoutId:layoutId}const lowercaseSVGElements=["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 isSVGComponent(Component){return"string"==typeof Component&&!Component.includes("-")&&!!(lowercaseSVGElements.indexOf(Component)>-1||/[A-Z]/u.test(Component))}var render=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs"),scrape_motion_values=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs"),resolve_variants=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs"),use_constant=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/use-constant.mjs"),get_will_change_name=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/use-will-change/get-will-change-name.mjs");const makeUseVisualState=config=>(props,isStatic)=>{const context=(0,react.useContext)(MotionContext),presenceContext=(0,react.useContext)(context_PresenceContext.t),make=()=>function makeState({applyWillChange=!1,scrapeMotionValuesFromProps,createRenderState,onMount},props,context,presenceContext,isStatic){const state={latestValues:makeLatestValues(props,context,presenceContext,!isStatic&&applyWillChange,scrapeMotionValuesFromProps),renderState:createRenderState()};return onMount&&(state.mount=instance=>onMount(props,instance,state)),state}(config,props,context,presenceContext,isStatic);return isStatic?make():(0,use_constant.M)(make)};function addWillChange(willChange,name){const memberName=(0,get_will_change_name.I)(name);memberName&&(0,array.Kq)(willChange,memberName)}function forEachDefinition(props,definition,callback){const list=Array.isArray(definition)?definition:[definition];for(let i=0;i<list.length;i++){const resolved=(0,resolve_variants.a)(props,list[i]);if(resolved){const{transitionEnd,transition,...target}=resolved;callback(target,transitionEnd)}}}function makeLatestValues(props,context,presenceContext,shouldApplyWillChange,scrapeMotionValues){var _a;const values={},willChange=[],applyWillChange=shouldApplyWillChange&&void 0===(null===(_a=props.style)||void 0===_a?void 0:_a.willChange),motionValues=scrapeMotionValues(props,{});for(const key in motionValues)values[key]=resolveMotionValue(motionValues[key]);let{initial,animate}=props;const isControllingVariants$1=(0,is_controlling_variants.e)(props),isVariantNode$1=(0,is_controlling_variants.O)(props);context&&isVariantNode$1&&!isControllingVariants$1&&!1!==props.inherit&&(void 0===initial&&(initial=context.initial),void 0===animate&&(animate=context.animate));let isInitialAnimationBlocked=!!presenceContext&&!1===presenceContext.initial;isInitialAnimationBlocked=isInitialAnimationBlocked||!1===initial;const variantToSet=isInitialAnimationBlocked?animate:initial;return variantToSet&&"boolean"!=typeof variantToSet&&!(0,is_animation_controls.N)(variantToSet)&&forEachDefinition(props,variantToSet,((target,transitionEnd)=>{for(const key in target){let valueTarget=target[key];if(Array.isArray(valueTarget)){valueTarget=valueTarget[isInitialAnimationBlocked?valueTarget.length-1:0]}null!==valueTarget&&(values[key]=valueTarget)}for(const key in transitionEnd)values[key]=transitionEnd[key]})),applyWillChange&&(animate&&!1!==initial&&!(0,is_animation_controls.N)(animate)&&forEachDefinition(props,animate,(target=>{for(const key in target)addWillChange(willChange,key)})),willChange.length&&(values.willChange=willChange.join(","))),values}const createHtmlRenderState=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),createSvgRenderState=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});var build_attrs=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs"),is_svg_tag=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs");const svgMotionConfig={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:scrape_motion_values.x,createRenderState:createSvgRenderState,onMount:(props,instance,{renderState,latestValues})=>{frameloop_frame.Gt.read((()=>{try{renderState.dimensions="function"==typeof instance.getBBox?instance.getBBox():instance.getBoundingClientRect()}catch(e){renderState.dimensions={x:0,y:0,width:0,height:0}}})),frameloop_frame.Gt.render((()=>{(0,build_attrs.B)(renderState,latestValues,(0,is_svg_tag.n)(instance.tagName),props.transformTemplate),(0,render.d)(instance,renderState)}))}})};const htmlMotionConfig={useVisualState:makeUseVisualState({applyWillChange:!0,scrapeMotionValuesFromProps:__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs").x,createRenderState:createHtmlRenderState})};var is_forced_motion_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs"),build_styles=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs");function copyRawValuesOnly(target,source,props){for(const key in source)(0,is_motion_value.S)(source[key])||(0,is_forced_motion_value.z)(key,props)||(target[key]=source[key])}function useStyle(props,visualState){const style={};return copyRawValuesOnly(style,props.style||{},props),Object.assign(style,function useInitialMotionValues({transformTemplate},visualState){return(0,react.useMemo)((()=>{const state={style:{},transform:{},transformOrigin:{},vars:{}};return(0,build_styles.O)(state,visualState,transformTemplate),Object.assign({},state.vars,state.style)}),[visualState])}(props,visualState)),style}function useHTMLProps(props,visualState){const htmlProps={},style=useStyle(props,visualState);return props.drag&&!1!==props.dragListener&&(htmlProps.draggable=!1,style.userSelect=style.WebkitUserSelect=style.WebkitTouchCallout="none",style.touchAction=!0===props.drag?"none":"pan-"+("x"===props.drag?"y":"x")),void 0===props.tabIndex&&(props.onTap||props.onTapStart||props.whileTap)&&(htmlProps.tabIndex=0),htmlProps.style=style,htmlProps}const validMotionProps=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 isValidMotionProp(key){return key.startsWith("while")||key.startsWith("drag")&&"draggable"!==key||key.startsWith("layout")||key.startsWith("onTap")||key.startsWith("onPan")||key.startsWith("onLayout")||validMotionProps.has(key)}let shouldForward=key=>!isValidMotionProp(key);try{!function loadExternalIsValidProp(isValidProp){isValidProp&&(shouldForward=key=>key.startsWith("on")?!isValidMotionProp(key):isValidProp(key))}(Object(function webpackMissingModule(){var e=new Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e}()))}catch(_a){}function useSVGProps(props,visualState,_isStatic,Component){const visualProps=(0,react.useMemo)((()=>{const state={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return(0,build_attrs.B)(state,visualState,(0,is_svg_tag.n)(Component),props.transformTemplate),{...state.attrs,style:{...state.style}}}),[visualState]);if(props.style){const rawStyles={};copyRawValuesOnly(rawStyles,props.style,props),visualProps.style={...rawStyles,...visualProps.style}}return visualProps}function createUseRender(forwardMotionProps=!1){return(Component,props,ref,{latestValues},isStatic)=>{const visualProps=(isSVGComponent(Component)?useSVGProps:useHTMLProps)(props,latestValues,isStatic,Component),filteredProps=function filterProps(props,isDom,forwardMotionProps){const filteredProps={};for(const key in props)"values"===key&&"object"==typeof props.values||(shouldForward(key)||!0===forwardMotionProps&&isValidMotionProp(key)||!isDom&&!isValidMotionProp(key)||props.draggable&&key.startsWith("onDrag"))&&(filteredProps[key]=props[key]);return filteredProps}(props,"string"==typeof Component,forwardMotionProps),elementProps=Component!==react.Fragment?{...filteredProps,...visualProps,ref}:{},{children}=props,renderedChildren=(0,react.useMemo)((()=>(0,is_motion_value.S)(children)?children.get():children),[children]);return(0,react.createElement)(Component,{...elementProps,children:renderedChildren})}}function createMotionComponentFactory(preloadedFeatures,createVisualElement){return function createMotionComponent(Component,{forwardMotionProps}={forwardMotionProps:!1}){return createRendererMotionComponent({...isSVGComponent(Component)?svgMotionConfig:htmlMotionConfig,preloadedFeatures,useRender:createUseRender(forwardMotionProps),createVisualElement,Component})}}var HTMLVisualElement=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs"),SVGVisualElement=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs");const motion=createDOMMotionComponentProxy(createMotionComponentFactory({...animations,...gestureAnimations,...drag,...layout},((Component,options)=>isSVGComponent(Component)?new SVGVisualElement.l(options):new HTMLVisualElement.M(options,{allowProjection:Component!==react.Fragment}))))},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>DOMKeyframesResolver});var is_zero_value_string=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/is-zero-value-string.mjs");var errors=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/errors.mjs"),is_numerical_string=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/is-numerical-string.mjs"),is_css_variable=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs");const splitCSSVariableRegex=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function getVariableValue(current,element,depth=1){(0,errors.V)(depth<=4,`Max CSS variable fallback depth detected in property "${current}". This may indicate a circular fallback dependency.`);const[token,fallback]=function parseCSSVariable(current){const match=splitCSSVariableRegex.exec(current);if(!match)return[,];const[,token1,token2,fallback]=match;return[`--${null!=token1?token1:token2}`,fallback]}(current);if(!token)return;const resolved=window.getComputedStyle(element).getPropertyValue(token);if(resolved){const trimmed=resolved.trim();return(0,is_numerical_string.i)(trimmed)?parseFloat(trimmed):trimmed}return(0,is_css_variable.p)(fallback)?getVariableValue(fallback,element,depth+1):fallback}var unit_conversion=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs"),dimensions=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.mjs"),KeyframesResolver=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.mjs"),complex=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/complex/index.mjs"),animatable_none=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs");const invalidTemplates=new Set(["auto","none","0"]);class DOMKeyframesResolver extends KeyframesResolver.h{constructor(unresolvedKeyframes,onComplete,name,motionValue,element){super(unresolvedKeyframes,onComplete,name,motionValue,element,!0)}readKeyframes(){const{unresolvedKeyframes,element,name}=this;if(!element||!element.current)return;super.readKeyframes();for(let i=0;i<unresolvedKeyframes.length;i++){let keyframe=unresolvedKeyframes[i];if("string"==typeof keyframe&&(keyframe=keyframe.trim(),(0,is_css_variable.p)(keyframe))){const resolved=getVariableValue(keyframe,element.current);void 0!==resolved&&(unresolvedKeyframes[i]=resolved),i===unresolvedKeyframes.length-1&&(this.finalKeyframe=keyframe)}}if(this.resolveNoneKeyframes(),!unit_conversion.$y.has(name)||2!==unresolvedKeyframes.length)return;const[origin,target]=unresolvedKeyframes,originType=(0,dimensions.n)(origin),targetType=(0,dimensions.n)(target);if(originType!==targetType)if((0,unit_conversion.E4)(originType)&&(0,unit_conversion.E4)(targetType))for(let i=0;i<unresolvedKeyframes.length;i++){const value=unresolvedKeyframes[i];"string"==typeof value&&(unresolvedKeyframes[i]=parseFloat(value))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes,name}=this,noneKeyframeIndexes=[];for(let i=0;i<unresolvedKeyframes.length;i++)("number"==typeof(value=unresolvedKeyframes[i])?0===value:null===value||"none"===value||"0"===value||(0,is_zero_value_string.$)(value))&&noneKeyframeIndexes.push(i);var value;noneKeyframeIndexes.length&&function makeNoneKeyframesAnimatable(unresolvedKeyframes,noneKeyframeIndexes,name){let animatableTemplate,i=0;for(;i<unresolvedKeyframes.length&&!animatableTemplate;){const keyframe=unresolvedKeyframes[i];"string"==typeof keyframe&&!invalidTemplates.has(keyframe)&&(0,complex.V)(keyframe).values.length&&(animatableTemplate=unresolvedKeyframes[i]),i++}if(animatableTemplate&&name)for(const noneIndex of noneKeyframeIndexes)unresolvedKeyframes[noneIndex]=(0,animatable_none.J)(name,animatableTemplate)}(unresolvedKeyframes,noneKeyframeIndexes,name)}measureInitialState(){const{element,unresolvedKeyframes,name}=this;if(!element||!element.current)return;"height"===name&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=unit_conversion.Hr[name](element.measureViewportBox(),window.getComputedStyle(element.current)),unresolvedKeyframes[0]=this.measuredOrigin;const measureKeyframe=unresolvedKeyframes[unresolvedKeyframes.length-1];void 0!==measureKeyframe&&element.getValue(name,measureKeyframe).jump(measureKeyframe,!1)}measureEndState(){var _a;const{element,name,unresolvedKeyframes}=this;if(!element||!element.current)return;const value=element.getValue(name);value&&value.jump(this.measuredOrigin,!1);const finalKeyframeIndex=unresolvedKeyframes.length-1,finalKeyframe=unresolvedKeyframes[finalKeyframeIndex];unresolvedKeyframes[finalKeyframeIndex]=unit_conversion.Hr[name](element.measureViewportBox(),window.getComputedStyle(element.current)),null!==finalKeyframe&&void 0===this.finalKeyframe&&(this.finalKeyframe=finalKeyframe),(null===(_a=this.removedTransforms)||void 0===_a?void 0:_a.length)&&this.removedTransforms.forEach((([unsetTransformName,unsetTransformValue])=>{element.getValue(unsetTransformName).set(unsetTransformValue)})),this.resolveNoneKeyframes()}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{b:()=>DOMVisualElement});var is_browser=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/is-browser.mjs");const prefersReducedMotion={current:null},hasReducedMotionListener={current:!1};var subscription_manager=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/subscription-manager.mjs"),es_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/index.mjs"),is_motion_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs"),transform=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs"),is_controlling_variants=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs");var resolve_variants=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs"),definitions=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/motion/features/definitions.mjs"),store=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/store.mjs"),KeyframesResolver=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.mjs"),is_numerical_string=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/is-numerical-string.mjs"),is_zero_value_string=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/is-zero-value-string.mjs"),color=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/index.mjs"),complex=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/complex/index.mjs"),dimensions=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.mjs"),test=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/test.mjs");const valueTypes=[...dimensions.T,color.y,complex.f];var animatable_none=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs"),models=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/geometry/models.mjs"),frameloop_frame=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/frame.mjs");const propEventHandlers=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class VisualElement{scrapeMotionValuesFromProps(_props,_prevProps,_visualElement){return{}}constructor({parent,props,presenceContext,reducedMotionConfig,blockInitialAnimation,visualState},options={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=KeyframesResolver.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,frameloop_frame.Gt.render(this.render,!1,!0))};const{latestValues,renderState}=visualState;this.latestValues=latestValues,this.baseTarget={...latestValues},this.initialValues=props.initial?{...latestValues}:{},this.renderState=renderState,this.parent=parent,this.props=props,this.presenceContext=presenceContext,this.depth=parent?parent.depth+1:0,this.reducedMotionConfig=reducedMotionConfig,this.options=options,this.blockInitialAnimation=Boolean(blockInitialAnimation),this.isControllingVariants=(0,is_controlling_variants.e)(props),this.isVariantNode=(0,is_controlling_variants.O)(props),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(parent&&parent.current);const{willChange,...initialMotionValues}=this.scrapeMotionValuesFromProps(props,{},this);for(const key in initialMotionValues){const value=initialMotionValues[key];void 0!==latestValues[key]&&(0,is_motion_value.S)(value)&&value.set(latestValues[key],!1)}}mount(instance){this.current=instance,store.C.set(instance,this),this.projection&&!this.projection.instance&&this.projection.mount(instance),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((value,key)=>this.bindToMotionValue(key,value))),hasReducedMotionListener.current||function initPrefersReducedMotion(){if(hasReducedMotionListener.current=!0,is_browser.B)if(window.matchMedia){const motionMediaQuery=window.matchMedia("(prefers-reduced-motion)"),setReducedMotionPreferences=()=>prefersReducedMotion.current=motionMediaQuery.matches;motionMediaQuery.addListener(setReducedMotionPreferences),setReducedMotionPreferences()}else prefersReducedMotion.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||prefersReducedMotion.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){store.C.delete(this.current),this.projection&&this.projection.unmount(),(0,frameloop_frame.WG)(this.notifyUpdate),(0,frameloop_frame.WG)(this.render),this.valueSubscriptions.forEach((remove=>remove())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const key in this.events)this.events[key].clear();for(const key in this.features){const feature=this.features[key];feature&&(feature.unmount(),feature.isMounted=!1)}this.current=null}bindToMotionValue(key,value){this.valueSubscriptions.has(key)&&this.valueSubscriptions.get(key)();const valueIsTransform=transform.f.has(key),removeOnChange=value.on("change",(latestValue=>{this.latestValues[key]=latestValue,this.props.onUpdate&&frameloop_frame.Gt.preRender(this.notifyUpdate),valueIsTransform&&this.projection&&(this.projection.isTransformDirty=!0)})),removeOnRenderRequest=value.on("renderRequest",this.scheduleRender);let removeSyncCheck;window.MotionCheckAppearSync&&(removeSyncCheck=window.MotionCheckAppearSync(this,key,value)),this.valueSubscriptions.set(key,(()=>{removeOnChange(),removeOnRenderRequest(),removeSyncCheck&&removeSyncCheck(),value.owner&&value.stop()}))}sortNodePosition(other){return this.current&&this.sortInstanceNodePosition&&this.type===other.type?this.sortInstanceNodePosition(this.current,other.current):0}updateFeatures(){let key="animation";for(key in definitions.B){const featureDefinition=definitions.B[key];if(!featureDefinition)continue;const{isEnabled,Feature:FeatureConstructor}=featureDefinition;if(!this.features[key]&&FeatureConstructor&&isEnabled(this.props)&&(this.features[key]=new FeatureConstructor(this)),this.features[key]){const feature=this.features[key];feature.isMounted?feature.update():(feature.mount(),feature.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,models.ge)()}getStaticValue(key){return this.latestValues[key]}setStaticValue(key,value){this.latestValues[key]=value}update(props,presenceContext){(props.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=props,this.prevPresenceContext=this.presenceContext,this.presenceContext=presenceContext;for(let i=0;i<propEventHandlers.length;i++){const key=propEventHandlers[i];this.propEventSubscriptions[key]&&(this.propEventSubscriptions[key](),delete this.propEventSubscriptions[key]);const listener=props["on"+key];listener&&(this.propEventSubscriptions[key]=this.on(key,listener))}this.prevMotionValues=function updateMotionValuesFromProps(element,next,prev){for(const key in next){const nextValue=next[key],prevValue=prev[key];if((0,is_motion_value.S)(nextValue))element.addValue(key,nextValue);else if((0,is_motion_value.S)(prevValue))element.addValue(key,(0,es_value.OQ)(nextValue,{owner:element}));else if(prevValue!==nextValue)if(element.hasValue(key)){const existingValue=element.getValue(key);!0===existingValue.liveStyle?existingValue.jump(nextValue):existingValue.hasAnimated||existingValue.set(nextValue)}else{const latestValue=element.getStaticValue(key);element.addValue(key,(0,es_value.OQ)(void 0!==latestValue?latestValue:nextValue,{owner:element}))}}for(const key in prev)void 0===next[key]&&element.removeValue(key);return next}(this,this.scrapeMotionValuesFromProps(props,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(name){return this.props.variants?this.props.variants[name]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(child){const closestVariantNode=this.getClosestVariantNode();if(closestVariantNode)return closestVariantNode.variantChildren&&closestVariantNode.variantChildren.add(child),()=>closestVariantNode.variantChildren.delete(child)}addValue(key,value){const existingValue=this.values.get(key);value!==existingValue&&(existingValue&&this.removeValue(key),this.bindToMotionValue(key,value),this.values.set(key,value),this.latestValues[key]=value.get())}removeValue(key){this.values.delete(key);const unsubscribe=this.valueSubscriptions.get(key);unsubscribe&&(unsubscribe(),this.valueSubscriptions.delete(key)),delete this.latestValues[key],this.removeValueFromRenderState(key,this.renderState)}hasValue(key){return this.values.has(key)}getValue(key,defaultValue){if(this.props.values&&this.props.values[key])return this.props.values[key];let value=this.values.get(key);return void 0===value&&void 0!==defaultValue&&(value=(0,es_value.OQ)(null===defaultValue?void 0:defaultValue,{owner:this}),this.addValue(key,value)),value}readValue(key,target){var _a;let value=void 0===this.latestValues[key]&&this.current?null!==(_a=this.getBaseTargetFromProps(this.props,key))&&void 0!==_a?_a:this.readValueFromInstance(this.current,key,this.options):this.latestValues[key];var v;return null!=value&&("string"==typeof value&&((0,is_numerical_string.i)(value)||(0,is_zero_value_string.$)(value))?value=parseFloat(value):(v=value,!valueTypes.find((0,test.w)(v))&&complex.f.test(target)&&(value=(0,animatable_none.J)(key,target))),this.setBaseTarget(key,(0,is_motion_value.S)(value)?value.get():value)),(0,is_motion_value.S)(value)?value.get():value}setBaseTarget(key,value){this.baseTarget[key]=value}getBaseTarget(key){var _a;const{initial}=this.props;let valueFromInitial;if("string"==typeof initial||"object"==typeof initial){const variant=(0,resolve_variants.a)(this.props,initial,null===(_a=this.presenceContext)||void 0===_a?void 0:_a.custom);variant&&(valueFromInitial=variant[key])}if(initial&&void 0!==valueFromInitial)return valueFromInitial;const target=this.getBaseTargetFromProps(this.props,key);return void 0===target||(0,is_motion_value.S)(target)?void 0!==this.initialValues[key]&&void 0===valueFromInitial?void 0:this.baseTarget[key]:target}on(eventName,callback){return this.events[eventName]||(this.events[eventName]=new subscription_manager.v),this.events[eventName].add(callback)}notify(eventName,...args){this.events[eventName]&&this.events[eventName].notify(...args)}}var DOMKeyframesResolver=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs");class DOMVisualElement extends VisualElement{constructor(){super(...arguments),this.KeyframeResolver=DOMKeyframesResolver.K}sortInstanceNodePosition(a,b){return 2&a.compareDocumentPosition(b)?1:-1}getBaseTargetFromProps(props,key){return props.style?props.style[key]:void 0}removeValueFromRenderState(key,{vars,style}){delete vars[key],delete style[key]}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>camelToDash});const camelToDash=str=>str.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{j:()=>isCSSVariableName,p:()=>isCSSVariableToken});const checkStringStartsWith=token=>key=>"string"==typeof key&&key.startsWith(token),isCSSVariableName=checkStringStartsWith("--"),startsAsVariableToken=checkStringStartsWith("var(--"),isCSSVariableToken=value=>!!startsAsVariableToken(value)&&singleCssVariableRegex.test(value.split("/*")[0].trim()),singleCssVariableRegex=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function isSVGElement(element){return element instanceof SVGElement&&"svg"!==element.tagName}__webpack_require__.d(__webpack_exports__,{x:()=>isSVGElement})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$y:()=>positionalKeys,E4:()=>isNumOrPxType,Hr:()=>positionalValues,W9:()=>removeNonTranslationalTransform});var _html_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs"),_value_types_numbers_index_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/index.mjs"),_value_types_numbers_units_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs");const positionalKeys=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),isNumOrPxType=v=>v===_value_types_numbers_index_mjs__WEBPACK_IMPORTED_MODULE_0__.ai||v===_value_types_numbers_units_mjs__WEBPACK_IMPORTED_MODULE_1__.px,getPosFromMatrix=(matrix,pos)=>parseFloat(matrix.split(", ")[pos]),getTranslateFromMatrix=(pos2,pos3)=>(_bbox,{transform})=>{if("none"===transform||!transform)return 0;const matrix3d=transform.match(/^matrix3d\((.+)\)$/u);if(matrix3d)return getPosFromMatrix(matrix3d[1],pos3);{const matrix=transform.match(/^matrix\((.+)\)$/u);return matrix?getPosFromMatrix(matrix[1],pos2):0}},transformKeys=new Set(["x","y","z"]),nonTranslationalTransformKeys=_html_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_2__.U.filter((key=>!transformKeys.has(key)));function removeNonTranslationalTransform(visualElement){const removedTransforms=[];return nonTranslationalTransformKeys.forEach((key=>{const value=visualElement.getValue(key);void 0!==value&&(removedTransforms.push([key,value.get()]),value.set(key.startsWith("scale")?1:0))})),removedTransforms}const positionalValues={width:({x},{paddingLeft="0",paddingRight="0"})=>x.max-x.min-parseFloat(paddingLeft)-parseFloat(paddingRight),height:({y},{paddingTop="0",paddingBottom="0"})=>y.max-y.min-parseFloat(paddingTop)-parseFloat(paddingBottom),top:(_bbox,{top})=>parseFloat(top),left:(_bbox,{left})=>parseFloat(left),bottom:({y},{top})=>parseFloat(top)+(y.max-y.min),right:({x},{left})=>parseFloat(left)+(x.max-x.min),x:getTranslateFromMatrix(4,13),y:getTranslateFromMatrix(5,14)};positionalValues.translateX=positionalValues.x,positionalValues.translateY=positionalValues.y},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>getAnimatableNone});var _value_types_complex_index_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/complex/index.mjs"),_value_types_complex_filter_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/complex/filter.mjs"),_defaults_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs");function getAnimatableNone(key,value){let defaultValueType=(0,_defaults_mjs__WEBPACK_IMPORTED_MODULE_0__.D)(key);return defaultValueType!==_value_types_complex_filter_mjs__WEBPACK_IMPORTED_MODULE_1__.p&&(defaultValueType=_value_types_complex_index_mjs__WEBPACK_IMPORTED_MODULE_2__.f),defaultValueType.getAnimatableNone?defaultValueType.getAnimatableNone(value):void 0}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>getDefaultValueType});var _value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/index.mjs"),_value_types_complex_filter_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/complex/filter.mjs");const defaultValueTypes={...__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/number.mjs").W,color:_value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y,backgroundColor:_value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y,outlineColor:_value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y,fill:_value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y,stroke:_value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y,borderColor:_value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y,borderTopColor:_value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y,borderRightColor:_value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y,borderBottomColor:_value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y,borderLeftColor:_value_types_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y,filter:_value_types_complex_filter_mjs__WEBPACK_IMPORTED_MODULE_2__.p,WebkitFilter:_value_types_complex_filter_mjs__WEBPACK_IMPORTED_MODULE_2__.p},getDefaultValueType=key=>defaultValueTypes[key]},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{T:()=>dimensionValueTypes,n:()=>findDimensionValueType});var numbers=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/index.mjs"),units=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs"),test=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/test.mjs");const dimensionValueTypes=[numbers.ai,units.px,units.KN,units.uj,units.vw,units.vh,{test:v=>"auto"===v,parse:v=>v}],findDimensionValueType=v=>dimensionValueTypes.find((0,test.w)(v))},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/number.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>numberValueTypes});var numbers=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/index.mjs"),units=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs");const type_int_int={...numbers.ai,transform:Math.round},numberValueTypes={borderWidth:units.px,borderTopWidth:units.px,borderRightWidth:units.px,borderBottomWidth:units.px,borderLeftWidth:units.px,borderRadius:units.px,radius:units.px,borderTopLeftRadius:units.px,borderTopRightRadius:units.px,borderBottomRightRadius:units.px,borderBottomLeftRadius:units.px,width:units.px,maxWidth:units.px,height:units.px,maxHeight:units.px,size:units.px,top:units.px,right:units.px,bottom:units.px,left:units.px,padding:units.px,paddingTop:units.px,paddingRight:units.px,paddingBottom:units.px,paddingLeft:units.px,margin:units.px,marginTop:units.px,marginRight:units.px,marginBottom:units.px,marginLeft:units.px,rotate:units.uj,rotateX:units.uj,rotateY:units.uj,rotateZ:units.uj,scale:numbers.hs,scaleX:numbers.hs,scaleY:numbers.hs,scaleZ:numbers.hs,skew:units.uj,skewX:units.uj,skewY:units.uj,distance:units.px,translateX:units.px,translateY:units.px,translateZ:units.px,x:units.px,y:units.px,z:units.px,perspective:units.px,transformPerspective:units.px,opacity:numbers.X4,originX:units.gQ,originY:units.gQ,originZ:units.px,zIndex:type_int_int,backgroundPositionX:units.px,backgroundPositionY:units.px,fillOpacity:numbers.X4,strokeOpacity:numbers.X4,numOctaves:type_int_int}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/test.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{w:()=>testValueType});const testValueType=v=>type=>type.test(v)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>HTMLVisualElement});var _utils_build_styles_mjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs"),_dom_utils_is_css_variable_mjs__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs"),_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs"),_utils_scrape_motion_values_mjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs"),_utils_render_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/render.mjs"),_dom_value_types_defaults_mjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs"),_projection_utils_measure_mjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/utils/measure.mjs"),_dom_DOMVisualElement_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs"),_value_utils_is_motion_value_mjs__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs");class HTMLVisualElement extends _dom_DOMVisualElement_mjs__WEBPACK_IMPORTED_MODULE_0__.b{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=_utils_render_mjs__WEBPACK_IMPORTED_MODULE_1__.e}readValueFromInstance(instance,key){if(_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_2__.f.has(key)){const defaultType=(0,_dom_value_types_defaults_mjs__WEBPACK_IMPORTED_MODULE_3__.D)(key);return defaultType&&defaultType.default||0}{const computedStyle=function getComputedStyle(element){return window.getComputedStyle(element)}(instance),value=((0,_dom_utils_is_css_variable_mjs__WEBPACK_IMPORTED_MODULE_4__.j)(key)?computedStyle.getPropertyValue(key):computedStyle[key])||0;return"string"==typeof value?value.trim():value}}measureInstanceViewportBox(instance,{transformPagePoint}){return(0,_projection_utils_measure_mjs__WEBPACK_IMPORTED_MODULE_5__.m)(instance,transformPagePoint)}build(renderState,latestValues,props){(0,_utils_build_styles_mjs__WEBPACK_IMPORTED_MODULE_6__.O)(renderState,latestValues,props.transformTemplate)}scrapeMotionValuesFromProps(props,prevProps,visualElement){return(0,_utils_scrape_motion_values_mjs__WEBPACK_IMPORTED_MODULE_7__.x)(props,prevProps,visualElement)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children}=this.props;(0,_value_utils_is_motion_value_mjs__WEBPACK_IMPORTED_MODULE_8__.S)(children)&&(this.childSubscription=children.on("change",(latest=>{this.current&&(this.current.textContent=`${latest}`)})))}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{O:()=>buildHTMLStyles});var utils_transform=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs");const getValueAsType=(value,type)=>type&&"number"==typeof value?type.transform(value):value;var number=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/number.mjs");const translateAlias={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},numTransforms=utils_transform.U.length;var is_css_variable=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs");function buildHTMLStyles(state,latestValues,transformTemplate){const{style,vars,transformOrigin}=state;let hasTransform=!1,hasTransformOrigin=!1;for(const key in latestValues){const value=latestValues[key];if(utils_transform.f.has(key))hasTransform=!0;else if((0,is_css_variable.j)(key))vars[key]=value;else{const valueAsType=getValueAsType(value,number.W[key]);key.startsWith("origin")?(hasTransformOrigin=!0,transformOrigin[key]=valueAsType):style[key]=valueAsType}}if(latestValues.transform||(hasTransform||transformTemplate?style.transform=function buildTransform(latestValues,transform,transformTemplate){let transformString="",transformIsDefault=!0;for(let i=0;i<numTransforms;i++){const key=utils_transform.U[i],value=latestValues[key];if(void 0===value)continue;let valueIsDefault=!0;if(valueIsDefault="number"==typeof value?value===(key.startsWith("scale")?1:0):0===parseFloat(value),!valueIsDefault||transformTemplate){const valueAsType=getValueAsType(value,number.W[key]);valueIsDefault||(transformIsDefault=!1,transformString+=`${translateAlias[key]||key}(${valueAsType}) `),transformTemplate&&(transform[key]=valueAsType)}}return transformString=transformString.trim(),transformTemplate?transformString=transformTemplate(transform,transformIsDefault?"":transformString):transformIsDefault&&(transformString="none"),transformString}(latestValues,state.transform,transformTemplate):style.transform&&(style.transform="none")),hasTransformOrigin){const{originX="50%",originY="50%",originZ=0}=transformOrigin;style.transformOrigin=`${originX} ${originY} ${originZ}`}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/render.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function renderHTML(element,{style,vars},styleProp,projection){Object.assign(element.style,style,projection&&projection.getProjectionStyles(styleProp));for(const key in vars)element.style.setProperty(key,vars[key])}__webpack_require__.d(__webpack_exports__,{e:()=>renderHTML})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{x:()=>scrapeMotionValuesFromProps});var _motion_utils_is_forced_motion_value_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs"),_value_utils_is_motion_value_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs");function scrapeMotionValuesFromProps(props,prevProps,visualElement){var _a;const{style}=props,newValues={};for(const key in style)((0,_value_utils_is_motion_value_mjs__WEBPACK_IMPORTED_MODULE_0__.S)(style[key])||prevProps.style&&(0,_value_utils_is_motion_value_mjs__WEBPACK_IMPORTED_MODULE_0__.S)(prevProps.style[key])||(0,_motion_utils_is_forced_motion_value_mjs__WEBPACK_IMPORTED_MODULE_1__.z)(key,props)||void 0!==(null===(_a=null==visualElement?void 0:visualElement.getValue(key))||void 0===_a?void 0:_a.liveStyle))&&(newValues[key]=style[key]);return visualElement&&style&&"string"==typeof style.willChange&&(visualElement.applyWillChange=!1),newValues}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>transformPropOrder,f:()=>transformProps});const transformPropOrder=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],transformProps=new Set(transformPropOrder)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/store.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>visualElementStore});const visualElementStore=new WeakMap},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{l:()=>SVGVisualElement});var _utils_scrape_motion_values_mjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs"),_dom_DOMVisualElement_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs"),_utils_build_attrs_mjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs"),_dom_utils_camel_to_dash_mjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs"),_utils_camel_case_attrs_mjs__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs"),_html_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs"),_utils_render_mjs__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs"),_dom_value_types_defaults_mjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs"),_projection_geometry_models_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/projection/geometry/models.mjs"),_utils_is_svg_tag_mjs__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs");class SVGVisualElement extends _dom_DOMVisualElement_mjs__WEBPACK_IMPORTED_MODULE_0__.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=_projection_geometry_models_mjs__WEBPACK_IMPORTED_MODULE_1__.ge}getBaseTargetFromProps(props,key){return props[key]}readValueFromInstance(instance,key){if(_html_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_2__.f.has(key)){const defaultType=(0,_dom_value_types_defaults_mjs__WEBPACK_IMPORTED_MODULE_3__.D)(key);return defaultType&&defaultType.default||0}return key=_utils_camel_case_attrs_mjs__WEBPACK_IMPORTED_MODULE_4__.e.has(key)?key:(0,_dom_utils_camel_to_dash_mjs__WEBPACK_IMPORTED_MODULE_5__.I)(key),instance.getAttribute(key)}scrapeMotionValuesFromProps(props,prevProps,visualElement){return(0,_utils_scrape_motion_values_mjs__WEBPACK_IMPORTED_MODULE_6__.x)(props,prevProps,visualElement)}build(renderState,latestValues,props){(0,_utils_build_attrs_mjs__WEBPACK_IMPORTED_MODULE_7__.B)(renderState,latestValues,this.isSVGTag,props.transformTemplate)}renderInstance(instance,renderState,styleProp,projection){(0,_utils_render_mjs__WEBPACK_IMPORTED_MODULE_8__.d)(instance,renderState,styleProp,projection)}mount(instance){this.isSVGTag=(0,_utils_is_svg_tag_mjs__WEBPACK_IMPORTED_MODULE_9__.n)(instance.tagName),super.mount(instance)}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>buildSVGAttrs});var build_styles=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs"),units=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs");function calcOrigin(origin,offset,size){return"string"==typeof origin?origin:units.px.transform(offset+size*origin)}const dashKeys={offset:"stroke-dashoffset",array:"stroke-dasharray"},camelKeys={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGAttrs(state,{attrX,attrY,attrScale,originX,originY,pathLength,pathSpacing=1,pathOffset=0,...latest},isSVGTag,transformTemplate){if((0,build_styles.O)(state,latest,transformTemplate),isSVGTag)return void(state.style.viewBox&&(state.attrs.viewBox=state.style.viewBox));state.attrs=state.style,state.style={};const{attrs,style,dimensions}=state;attrs.transform&&(dimensions&&(style.transform=attrs.transform),delete attrs.transform),dimensions&&(void 0!==originX||void 0!==originY||style.transform)&&(style.transformOrigin=function calcSVGTransformOrigin(dimensions,originX,originY){return`${calcOrigin(originX,dimensions.x,dimensions.width)} ${calcOrigin(originY,dimensions.y,dimensions.height)}`}(dimensions,void 0!==originX?originX:.5,void 0!==originY?originY:.5)),void 0!==attrX&&(attrs.x=attrX),void 0!==attrY&&(attrs.y=attrY),void 0!==attrScale&&(attrs.scale=attrScale),void 0!==pathLength&&function buildSVGPath(attrs,length,spacing=1,offset=0,useDashCase=!0){attrs.pathLength=1;const keys=useDashCase?dashKeys:camelKeys;attrs[keys.offset]=units.px.transform(-offset);const pathLength=units.px.transform(length),pathSpacing=units.px.transform(spacing);attrs[keys.array]=`${pathLength} ${pathSpacing}`}(attrs,pathLength,pathSpacing,pathOffset,!1)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{e:()=>camelCaseAttributes});const camelCaseAttributes=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"])},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{n:()=>isSVGTag});const isSVGTag=tag=>"string"==typeof tag&&"svg"===tag.toLowerCase()},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{d:()=>renderSVG});var _dom_utils_camel_to_dash_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs"),_html_utils_render_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/render.mjs"),_camel_case_attrs_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs");function renderSVG(element,renderState,_styleProp,projection){(0,_html_utils_render_mjs__WEBPACK_IMPORTED_MODULE_0__.e)(element,renderState,void 0,projection);for(const key in renderState.attrs)element.setAttribute(_camel_case_attrs_mjs__WEBPACK_IMPORTED_MODULE_1__.e.has(key)?key:(0,_dom_utils_camel_to_dash_mjs__WEBPACK_IMPORTED_MODULE_2__.I)(key),renderState.attrs[key])}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{x:()=>scrapeMotionValuesFromProps});var _value_utils_is_motion_value_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs"),_html_utils_scrape_motion_values_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs"),_html_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs");function scrapeMotionValuesFromProps(props,prevProps,visualElement){const newValues=(0,_html_utils_scrape_motion_values_mjs__WEBPACK_IMPORTED_MODULE_0__.x)(props,prevProps,visualElement);for(const key in props)if((0,_value_utils_is_motion_value_mjs__WEBPACK_IMPORTED_MODULE_1__.S)(props[key])||(0,_value_utils_is_motion_value_mjs__WEBPACK_IMPORTED_MODULE_1__.S)(prevProps[key])){newValues[-1!==_html_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_2__.U.indexOf(key)?"attr"+key.charAt(0).toUpperCase()+key.substring(1):key]=props[key]}return newValues}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{h:()=>KeyframeResolver,q:()=>flushKeyframeResolvers});var _dom_utils_unit_conversion_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs"),_frameloop_frame_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/frame.mjs");const toResolve=new Set;let isScheduled=!1,anyNeedsMeasurement=!1;function measureAllKeyframes(){if(anyNeedsMeasurement){const resolversToMeasure=Array.from(toResolve).filter((resolver=>resolver.needsMeasurement)),elementsToMeasure=new Set(resolversToMeasure.map((resolver=>resolver.element))),transformsToRestore=new Map;elementsToMeasure.forEach((element=>{const removedTransforms=(0,_dom_utils_unit_conversion_mjs__WEBPACK_IMPORTED_MODULE_0__.W9)(element);removedTransforms.length&&(transformsToRestore.set(element,removedTransforms),element.render())})),resolversToMeasure.forEach((resolver=>resolver.measureInitialState())),elementsToMeasure.forEach((element=>{element.render();const restore=transformsToRestore.get(element);restore&&restore.forEach((([key,value])=>{var _a;null===(_a=element.getValue(key))||void 0===_a||_a.set(value)}))})),resolversToMeasure.forEach((resolver=>resolver.measureEndState())),resolversToMeasure.forEach((resolver=>{void 0!==resolver.suspendedScrollY&&window.scrollTo(0,resolver.suspendedScrollY)}))}anyNeedsMeasurement=!1,isScheduled=!1,toResolve.forEach((resolver=>resolver.complete())),toResolve.clear()}function readAllKeyframes(){toResolve.forEach((resolver=>{resolver.readKeyframes(),resolver.needsMeasurement&&(anyNeedsMeasurement=!0)}))}function flushKeyframeResolvers(){readAllKeyframes(),measureAllKeyframes()}class KeyframeResolver{constructor(unresolvedKeyframes,onComplete,name,motionValue,element,isAsync=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...unresolvedKeyframes],this.onComplete=onComplete,this.name=name,this.motionValue=motionValue,this.element=element,this.isAsync=isAsync}scheduleResolve(){this.isScheduled=!0,this.isAsync?(toResolve.add(this),isScheduled||(isScheduled=!0,_frameloop_frame_mjs__WEBPACK_IMPORTED_MODULE_1__.Gt.read(readAllKeyframes),_frameloop_frame_mjs__WEBPACK_IMPORTED_MODULE_1__.Gt.resolveKeyframes(measureAllKeyframes))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes,name,element,motionValue}=this;for(let i=0;i<unresolvedKeyframes.length;i++)if(null===unresolvedKeyframes[i])if(0===i){const currentValue=null==motionValue?void 0:motionValue.get(),finalKeyframe=unresolvedKeyframes[unresolvedKeyframes.length-1];if(void 0!==currentValue)unresolvedKeyframes[0]=currentValue;else if(element&&name){const valueAsRead=element.readValue(name,finalKeyframe);null!=valueAsRead&&(unresolvedKeyframes[0]=valueAsRead)}void 0===unresolvedKeyframes[0]&&(unresolvedKeyframes[0]=finalKeyframe),motionValue&&void 0===currentValue&&motionValue.set(unresolvedKeyframes[0])}else unresolvedKeyframes[i]=unresolvedKeyframes[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),toResolve.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,toResolve.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{O:()=>isVariantNode,e:()=>isControllingVariants});var _animation_utils_is_animation_controls_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs"),_is_variant_label_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs"),_variant_props_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs");function isControllingVariants(props){return(0,_animation_utils_is_animation_controls_mjs__WEBPACK_IMPORTED_MODULE_0__.N)(props.animate)||_variant_props_mjs__WEBPACK_IMPORTED_MODULE_1__._.some((name=>(0,_is_variant_label_mjs__WEBPACK_IMPORTED_MODULE_2__.w)(props[name])))}function isVariantNode(props){return Boolean(isControllingVariants(props)||props.variants)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function isVariantLabel(v){return"string"==typeof v||Array.isArray(v)}__webpack_require__.d(__webpack_exports__,{w:()=>isVariantLabel})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>resolveVariant});var _resolve_variants_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs");function resolveVariant(visualElement,definition,custom){const props=visualElement.getProps();return(0,_resolve_variants_mjs__WEBPACK_IMPORTED_MODULE_0__.a)(props,definition,void 0!==custom?custom:props.custom,visualElement)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function getValueState(visualElement){const state=[{},{}];return null==visualElement||visualElement.values.forEach(((value,key)=>{state[0][key]=value.get(),state[1][key]=value.getVelocity()})),state}function resolveVariantFromProps(props,definition,custom,visualElement){if("function"==typeof definition){const[current,velocity]=getValueState(visualElement);definition=definition(void 0!==custom?custom:props.custom,current,velocity)}if("string"==typeof definition&&(definition=props.variants&&props.variants[definition]),"function"==typeof definition){const[current,velocity]=getValueState(visualElement);definition=definition(void 0!==custom?custom:props.custom,current,velocity)}return definition}__webpack_require__.d(__webpack_exports__,{a:()=>resolveVariantFromProps})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>variantPriorityOrder,_:()=>variantProps});const variantPriorityOrder=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],variantProps=["initial",...variantPriorityOrder]},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/GlobalConfig.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>MotionGlobalConfig});const MotionGlobalConfig={skipAnimations:!1,useManualTiming:!1}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/array.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function addUniqueItem(arr,item){-1===arr.indexOf(item)&&arr.push(item)}function removeItem(arr,item){const index=arr.indexOf(item);index>-1&&arr.splice(index,1)}__webpack_require__.d(__webpack_exports__,{Ai:()=>removeItem,Kq:()=>addUniqueItem})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/clamp.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>clamp});const clamp=(min,max,v)=>v>max?max:v<min?min:v},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/errors.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>warning,V:()=>invariant});var _noop_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/noop.mjs");let warning=_noop_mjs__WEBPACK_IMPORTED_MODULE_0__.l,invariant=_noop_mjs__WEBPACK_IMPORTED_MODULE_0__.l},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/is-browser.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>isBrowser});const isBrowser="undefined"!=typeof window},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/is-numerical-string.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{i:()=>isNumericalString});const isNumericalString=v=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(v)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/is-zero-value-string.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>isZeroValueString});const isZeroValueString=v=>/^0[^.\s]+$/u.test(v)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/memo.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function memo(callback){let result;return()=>(void 0===result&&(result=callback()),result)}__webpack_require__.d(__webpack_exports__,{p:()=>memo})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/mix/number.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{k:()=>mixNumber});const mixNumber=(from,to,progress)=>from+(to-from)*progress},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/noop.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{l:()=>noop});const noop=any=>any},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/offsets/default.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>defaultOffset});var _fill_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/offsets/fill.mjs");function defaultOffset(arr){const offset=[0];return(0,_fill_mjs__WEBPACK_IMPORTED_MODULE_0__.f)(offset,arr.length-1),offset}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/offsets/fill.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>fillOffset});var _mix_number_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/mix/number.mjs"),_progress_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/progress.mjs");function fillOffset(offset,remaining){const min=offset[offset.length-1];for(let i=1;i<=remaining;i++){const offsetProgress=(0,_progress_mjs__WEBPACK_IMPORTED_MODULE_0__.q)(0,remaining,i);offset.push((0,_mix_number_mjs__WEBPACK_IMPORTED_MODULE_1__.k)(min,1,offsetProgress))}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/pipe.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{F:()=>pipe});const combineFunctions=(a,b)=>v=>b(a(v)),pipe=(...transformers)=>transformers.reduce(combineFunctions)},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/progress.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>progress});const progress=(from,to,value)=>{const toFromDifference=to-from;return 0===toFromDifference?1:(value-from)/toFromDifference}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/resolve-value.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>isCustomValue,K:()=>resolveFinalValueInKeyframes});var _animation_utils_is_keyframes_target_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs");const isCustomValue=v=>Boolean(v&&"object"==typeof v&&v.mix&&v.toValue),resolveFinalValueInKeyframes=v=>(0,_animation_utils_is_keyframes_target_mjs__WEBPACK_IMPORTED_MODULE_0__.p)(v)?v[v.length-1]||0:v},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/subscription-manager.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{v:()=>SubscriptionManager});var _array_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/array.mjs");class SubscriptionManager{constructor(){this.subscriptions=[]}add(handler){return(0,_array_mjs__WEBPACK_IMPORTED_MODULE_0__.Kq)(this.subscriptions,handler),()=>(0,_array_mjs__WEBPACK_IMPORTED_MODULE_0__.Ai)(this.subscriptions,handler)}notify(a,b,c){const numSubscriptions=this.subscriptions.length;if(numSubscriptions)if(1===numSubscriptions)this.subscriptions[0](a,b,c);else for(let i=0;i<numSubscriptions;i++){const handler=this.subscriptions[i];handler&&handler(a,b,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/time-conversion.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>millisecondsToSeconds,f:()=>secondsToMilliseconds});const secondsToMilliseconds=seconds=>1e3*seconds,millisecondsToSeconds=milliseconds=>milliseconds/1e3},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/use-constant.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>useConstant});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js");function useConstant(init){const ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);return null===ref.current&&(ref.current=init()),ref.current}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>useIsomorphicLayoutEffect});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js");const useIsomorphicLayoutEffect=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/is-browser.mjs").B?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/velocity-per-second.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function velocityPerSecond(velocity,frameDuration){return frameDuration?velocity*(1e3/frameDuration):0}__webpack_require__.d(__webpack_exports__,{f:()=>velocityPerSecond})},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{KG:()=>MotionValue,OQ:()=>motionValue});var _utils_subscription_manager_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/subscription-manager.mjs"),_utils_velocity_per_second_mjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/velocity-per-second.mjs"),_frameloop_sync_time_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/sync-time.mjs"),_frameloop_frame_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/frameloop/frame.mjs");const collectMotionValues={current:void 0};class MotionValue{constructor(init,options={}){this.version="11.5.5",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(v,render=!0)=>{const currentTime=_frameloop_sync_time_mjs__WEBPACK_IMPORTED_MODULE_0__.k.now();this.updatedAt!==currentTime&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(v),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),render&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(init),this.owner=options.owner}setCurrent(current){var value;this.current=current,this.updatedAt=_frameloop_sync_time_mjs__WEBPACK_IMPORTED_MODULE_0__.k.now(),null===this.canTrackVelocity&&void 0!==current&&(this.canTrackVelocity=(value=this.current,!isNaN(parseFloat(value))))}setPrevFrameValue(prevFrameValue=this.current){this.prevFrameValue=prevFrameValue,this.prevUpdatedAt=this.updatedAt}onChange(subscription){return this.on("change",subscription)}on(eventName,callback){this.events[eventName]||(this.events[eventName]=new _utils_subscription_manager_mjs__WEBPACK_IMPORTED_MODULE_1__.v);const unsubscribe=this.events[eventName].add(callback);return"change"===eventName?()=>{unsubscribe(),_frameloop_frame_mjs__WEBPACK_IMPORTED_MODULE_2__.Gt.read((()=>{this.events.change.getSize()||this.stop()}))}:unsubscribe}clearListeners(){for(const eventManagers in this.events)this.events[eventManagers].clear()}attach(passiveEffect,stopPassiveEffect){this.passiveEffect=passiveEffect,this.stopPassiveEffect=stopPassiveEffect}set(v,render=!0){render&&this.passiveEffect?this.passiveEffect(v,this.updateAndNotify):this.updateAndNotify(v,render)}setWithVelocity(prev,current,delta){this.set(current),this.prev=void 0,this.prevFrameValue=prev,this.prevUpdatedAt=this.updatedAt-delta}jump(v,endAnimation=!0){this.updateAndNotify(v),this.prev=v,this.prevUpdatedAt=this.prevFrameValue=void 0,endAnimation&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return collectMotionValues.current&&collectMotionValues.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const currentTime=_frameloop_sync_time_mjs__WEBPACK_IMPORTED_MODULE_0__.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||currentTime-this.updatedAt>30)return 0;const delta=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,_utils_velocity_per_second_mjs__WEBPACK_IMPORTED_MODULE_3__.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),delta)}start(startAnimation){return this.stop(),new Promise((resolve=>{this.hasAnimated=!0,this.animation=startAnimation(resolve),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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function motionValue(init,options){return new MotionValue(init,options)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/hex.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>hex});var _rgba_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/rgba.mjs");const hex={test:(0,__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/utils.mjs").$)("#"),parse:function parseHex(v){let r="",g="",b="",a="";return v.length>5?(r=v.substring(1,3),g=v.substring(3,5),b=v.substring(5,7),a=v.substring(7,9)):(r=v.substring(1,2),g=v.substring(2,3),b=v.substring(3,4),a=v.substring(4,5),r+=r,g+=g,b+=b,a+=a),{red:parseInt(r,16),green:parseInt(g,16),blue:parseInt(b,16),alpha:a?parseInt(a,16)/255:1}},transform:_rgba_mjs__WEBPACK_IMPORTED_MODULE_1__.B.transform}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/hsla.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>hsla});var _numbers_index_mjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/index.mjs"),_numbers_units_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs"),_utils_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/utils.mjs"),_utils_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/utils.mjs");const hsla={test:(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.$)("hsl","hue"),parse:(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.q)("hue","saturation","lightness"),transform:({hue,saturation,lightness,alpha:alpha$1=1})=>"hsla("+Math.round(hue)+", "+_numbers_units_mjs__WEBPACK_IMPORTED_MODULE_1__.KN.transform((0,_utils_mjs__WEBPACK_IMPORTED_MODULE_2__.aj)(saturation))+", "+_numbers_units_mjs__WEBPACK_IMPORTED_MODULE_1__.KN.transform((0,_utils_mjs__WEBPACK_IMPORTED_MODULE_2__.aj)(lightness))+", "+(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_2__.aj)(_numbers_index_mjs__WEBPACK_IMPORTED_MODULE_3__.X4.transform(alpha$1))+")"}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{y:()=>color});var _utils_mjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/utils.mjs"),_hex_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/hex.mjs"),_hsla_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/hsla.mjs"),_rgba_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/rgba.mjs");const color={test:v=>_rgba_mjs__WEBPACK_IMPORTED_MODULE_0__.B.test(v)||_hex_mjs__WEBPACK_IMPORTED_MODULE_1__.u.test(v)||_hsla_mjs__WEBPACK_IMPORTED_MODULE_2__.V.test(v),parse:v=>_rgba_mjs__WEBPACK_IMPORTED_MODULE_0__.B.test(v)?_rgba_mjs__WEBPACK_IMPORTED_MODULE_0__.B.parse(v):_hsla_mjs__WEBPACK_IMPORTED_MODULE_2__.V.test(v)?_hsla_mjs__WEBPACK_IMPORTED_MODULE_2__.V.parse(v):_hex_mjs__WEBPACK_IMPORTED_MODULE_1__.u.parse(v),transform:v=>(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_3__.Kg)(v)?v:v.hasOwnProperty("red")?_rgba_mjs__WEBPACK_IMPORTED_MODULE_0__.B.transform(v):_hsla_mjs__WEBPACK_IMPORTED_MODULE_2__.V.transform(v)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/rgba.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>rgba});var _utils_clamp_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/clamp.mjs"),_numbers_index_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/index.mjs"),_utils_mjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/utils.mjs"),_utils_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/utils.mjs");const rgbUnit={..._numbers_index_mjs__WEBPACK_IMPORTED_MODULE_1__.ai,transform:v=>Math.round((v=>(0,_utils_clamp_mjs__WEBPACK_IMPORTED_MODULE_0__.q)(0,255,v))(v))},rgba={test:(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_2__.$)("rgb","red"),parse:(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_2__.q)("red","green","blue"),transform:({red,green,blue,alpha:alpha$1=1})=>"rgba("+rgbUnit.transform(red)+", "+rgbUnit.transform(green)+", "+rgbUnit.transform(blue)+", "+(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_3__.aj)(_numbers_index_mjs__WEBPACK_IMPORTED_MODULE_1__.X4.transform(alpha$1))+")"}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/utils.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>isColorString,q:()=>splitColor});var _utils_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/utils.mjs");const isColorString=(type,testProp)=>v=>Boolean((0,_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.Kg)(v)&&_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.Fl.test(v)&&v.startsWith(type)||testProp&&!(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.uy)(v)&&Object.prototype.hasOwnProperty.call(v,testProp)),splitColor=(aName,bName,cName)=>v=>{if(!(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.Kg)(v))return v;const[a,b,c,alpha]=v.match(_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.SY);return{[aName]:parseFloat(a),[bName]:parseFloat(b),[cName]:parseFloat(c),alpha:void 0!==alpha?parseFloat(alpha):1}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/complex/filter.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{p:()=>filter});var _index_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/complex/index.mjs"),_utils_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/utils.mjs");const maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(v){const[name,value]=v.slice(0,-1).split("(");if("drop-shadow"===name)return v;const[number]=value.match(_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.SY)||[];if(!number)return v;const unit=value.replace(number,"");let defaultValue=maxDefaults.has(name)?1:0;return number!==value&&(defaultValue*=100),name+"("+defaultValue+unit+")"}const functionRegex=/\b([a-z-]*)\(.*?\)/gu,filter={..._index_mjs__WEBPACK_IMPORTED_MODULE_1__.f,getAnimatableNone:v=>{const functions=v.match(functionRegex);return functions?functions.map(applyDefaultFilter).join(" "):v}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/complex/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>analyseComplexValue,f:()=>complex});var _color_index_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/color/index.mjs"),_utils_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/utils.mjs");const NUMBER_TOKEN="number",COLOR_TOKEN="color",VAR_TOKEN="var",VAR_FUNCTION_TOKEN="var(",SPLIT_TOKEN="${}",complexRegex=/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 analyseComplexValue(value){const originalValue=value.toString(),values=[],indexes={color:[],number:[],var:[]},types=[];let i=0;const split=originalValue.replace(complexRegex,(parsedValue=>(_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y.test(parsedValue)?(indexes.color.push(i),types.push(COLOR_TOKEN),values.push(_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y.parse(parsedValue))):parsedValue.startsWith(VAR_FUNCTION_TOKEN)?(indexes.var.push(i),types.push(VAR_TOKEN),values.push(parsedValue)):(indexes.number.push(i),types.push(NUMBER_TOKEN),values.push(parseFloat(parsedValue))),++i,SPLIT_TOKEN))).split(SPLIT_TOKEN);return{values,split,indexes,types}}function parseComplexValue(v){return analyseComplexValue(v).values}function createTransformer(source){const{split,types}=analyseComplexValue(source),numSections=split.length;return v=>{let output="";for(let i=0;i<numSections;i++)if(output+=split[i],void 0!==v[i]){const type=types[i];output+=type===NUMBER_TOKEN?(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.aj)(v[i]):type===COLOR_TOKEN?_color_index_mjs__WEBPACK_IMPORTED_MODULE_1__.y.transform(v[i]):v[i]}return output}}const convertNumbersToZero=v=>"number"==typeof v?0:v;const complex={test:function test(v){var _a,_b;return isNaN(v)&&(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.Kg)(v)&&((null===(_a=v.match(_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.SY))||void 0===_a?void 0:_a.length)||0)+((null===(_b=v.match(_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.ne))||void 0===_b?void 0:_b.length)||0)>0},parse:parseComplexValue,createTransformer,getAnimatableNone:function getAnimatableNone(v){const parsed=parseComplexValue(v);return createTransformer(v)(parsed.map(convertNumbersToZero))}}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{X4:()=>alpha,ai:()=>number,hs:()=>scale});var _utils_clamp_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/clamp.mjs");const number={test:v=>"number"==typeof v,parse:parseFloat,transform:v=>v},alpha={...number,transform:v=>(0,_utils_clamp_mjs__WEBPACK_IMPORTED_MODULE_0__.q)(0,1,v)},scale={...number,default:1}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{KN:()=>percent,gQ:()=>progressPercentage,px:()=>px,uj:()=>degrees,vh:()=>vh,vw:()=>vw});var _utils_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/utils.mjs");const createUnitType=unit=>({test:v=>(0,_utils_mjs__WEBPACK_IMPORTED_MODULE_0__.Kg)(v)&&v.endsWith(unit)&&1===v.split(" ").length,parse:parseFloat,transform:v=>`${v}${unit}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),vh=createUnitType("vh"),vw=createUnitType("vw"),progressPercentage={...percent,parse:v=>percent.parse(v)/100,transform:v=>percent.transform(100*v)}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/types/utils.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Fl:()=>singleColorRegex,Kg:()=>isString,SY:()=>floatRegex,aj:()=>sanitize,ne:()=>colorRegex,uy:()=>isNullish});const sanitize=v=>Math.round(1e5*v)/1e5,floatRegex=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,colorRegex=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,singleColorRegex=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function isString(v){return"string"==typeof v}function isNullish(v){return null==v}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{g:()=>addValueToWillChange});var value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/index.mjs"),get_will_change_name=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/use-will-change/get-will-change-name.mjs"),array=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/array.mjs");class WillChangeMotionValue extends value.KG{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(name){const styleName=(0,get_will_change_name.I)(name);if(!styleName)return;const prevCount=this.counts.get(styleName)||0;this.counts.set(styleName,prevCount+1),0===prevCount&&(this.output.push(styleName),this.update());let hasRemoved=!1;return()=>{if(hasRemoved)return;hasRemoved=!0;const newCount=this.counts.get(styleName)-1;this.counts.set(styleName,newCount),0===newCount&&((0,array.Ai)(this.output,styleName),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}var is_motion_value=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs");function addValueToWillChange(visualElement,key){var _a;if(!visualElement.applyWillChange)return;let willChange=visualElement.getValue("willChange");return willChange||(null===(_a=visualElement.props.style)||void 0===_a?void 0:_a.willChange)||(willChange=new WillChangeMotionValue("auto"),visualElement.addValue("willChange",willChange)),function isWillChangeMotionValue(value){return Boolean((0,is_motion_value.S)(value)&&value.add)}(willChange)?willChange.add(key):void 0}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/use-will-change/get-will-change-name.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>getWillChangeName});var _animation_animators_utils_accelerated_values_mjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs"),_render_dom_utils_camel_to_dash_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs"),_render_html_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs");function getWillChangeName(name){return _render_html_utils_transform_mjs__WEBPACK_IMPORTED_MODULE_0__.f.has(name)?"transform":_animation_animators_utils_accelerated_values_mjs__WEBPACK_IMPORTED_MODULE_1__.M.has(name)?(0,_render_dom_utils_camel_to_dash_mjs__WEBPACK_IMPORTED_MODULE_2__.I)(name):void 0}},"../../node_modules/.pnpm/framer-motion@11.5.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{S:()=>isMotionValue});const isMotionValue=value=>Boolean(value&&value.getVelocity)},"../../node_modules/.pnpm/prism-react-renderer@2.4.0_react@18.2.0/node_modules/prism-react-renderer/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{f4:()=>Highlight2});var react=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js");function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}const dist_clsx=function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n};var cb,mod,e,n,t,__create=Object.create,__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropNames=Object.getOwnPropertyNames,__getOwnPropSymbols=Object.getOwnPropertySymbols,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(obj,key,value)=>key in obj?__defProp(obj,key,{enumerable:!0,configurable:!0,writable:!0,value}):obj[key]=value,__spreadValues=(a,b)=>{for(var prop in b||(b={}))__hasOwnProp.call(b,prop)&&__defNormalProp(a,prop,b[prop]);if(__getOwnPropSymbols)for(var prop of __getOwnPropSymbols(b))__propIsEnum.call(b,prop)&&__defNormalProp(a,prop,b[prop]);return a},__spreadProps=(a,b)=>__defProps(a,__getOwnPropDescs(b)),__objRest=(source,exclude)=>{var target={};for(var prop in source)__hasOwnProp.call(source,prop)&&exclude.indexOf(prop)<0&&(target[prop]=source[prop]);if(null!=source&&__getOwnPropSymbols)for(var prop of __getOwnPropSymbols(source))exclude.indexOf(prop)<0&&__propIsEnum.call(source,prop)&&(target[prop]=source[prop]);return target},require_prism=(cb={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(exports,module){var Prism2=function(){var lang=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,uniqueId=0,plainTextGrammar={},_={util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(o){return Object.prototype.toString.call(o).slice(8,-1)},objId:function(obj){return obj.__id||Object.defineProperty(obj,"__id",{value:++uniqueId}),obj.__id},clone:function deepClone(o,visited){var clone,id;switch(visited=visited||{},_.util.type(o)){case"Object":if(id=_.util.objId(o),visited[id])return visited[id];for(var key in clone={},visited[id]=clone,o)o.hasOwnProperty(key)&&(clone[key]=deepClone(o[key],visited));return clone;case"Array":return id=_.util.objId(o),visited[id]?visited[id]:(clone=[],visited[id]=clone,o.forEach((function(v,i){clone[i]=deepClone(v,visited)})),clone);default:return o}},getLanguage:function(element){for(;element;){var m=lang.exec(element.className);if(m)return m[1].toLowerCase();element=element.parentElement}return"none"},setLanguage:function(element,language){element.className=element.className.replace(RegExp(lang,"gi"),""),element.classList.add("language-"+language)},isActive:function(element,className,defaultActivation){for(var no="no-"+className;element;){var classList=element.classList;if(classList.contains(className))return!0;if(classList.contains(no))return!1;element=element.parentElement}return!!defaultActivation}},languages:{plain:plainTextGrammar,plaintext:plainTextGrammar,text:plainTextGrammar,txt:plainTextGrammar,extend:function(id,redef){var lang2=_.util.clone(_.languages[id]);for(var key in redef)lang2[key]=redef[key];return lang2},insertBefore:function(inside,before,insert,root){var grammar=(root=root||_.languages)[inside],ret={};for(var token in grammar)if(grammar.hasOwnProperty(token)){if(token==before)for(var newToken in insert)insert.hasOwnProperty(newToken)&&(ret[newToken]=insert[newToken]);insert.hasOwnProperty(token)||(ret[token]=grammar[token])}var old=root[inside];return root[inside]=ret,_.languages.DFS(_.languages,(function(key,value){value===old&&key!=inside&&(this[key]=ret)})),ret},DFS:function DFS(o,callback,type,visited){visited=visited||{};var objId=_.util.objId;for(var i in o)if(o.hasOwnProperty(i)){callback.call(o,i,o[i],type||i);var property=o[i],propertyType=_.util.type(property);"Object"!==propertyType||visited[objId(property)]?"Array"!==propertyType||visited[objId(property)]||(visited[objId(property)]=!0,DFS(property,callback,i,visited)):(visited[objId(property)]=!0,DFS(property,callback,null,visited))}}},plugins:{},highlight:function(text,grammar,language){var env={code:text,grammar,language};if(_.hooks.run("before-tokenize",env),!env.grammar)throw new Error('The language "'+env.language+'" has no grammar.');return env.tokens=_.tokenize(env.code,env.grammar),_.hooks.run("after-tokenize",env),Token.stringify(_.util.encode(env.tokens),env.language)},tokenize:function(text,grammar){var rest=grammar.rest;if(rest){for(var token in rest)grammar[token]=rest[token];delete grammar.rest}var tokenList=new LinkedList;return addAfter(tokenList,tokenList.head,text),matchGrammar(text,tokenList,grammar,tokenList.head,0),function toArray(list){for(var array=[],node=list.head.next;node!==list.tail;)array.push(node.value),node=node.next;return array}(tokenList)},hooks:{all:{},add:function(name,callback){var hooks2=_.hooks.all;hooks2[name]=hooks2[name]||[],hooks2[name].push(callback)},run:function(name,env){var callbacks=_.hooks.all[name];if(callbacks&&callbacks.length)for(var callback,i=0;callback=callbacks[i++];)callback(env)}},Token};function Token(type,content,alias,matchedStr){this.type=type,this.content=content,this.alias=alias,this.length=0|(matchedStr||"").length}function matchPattern(pattern,pos,text,lookbehind){pattern.lastIndex=pos;var match=pattern.exec(text);if(match&&lookbehind&&match[1]){var lookbehindLength=match[1].length;match.index+=lookbehindLength,match[0]=match[0].slice(lookbehindLength)}return match}function matchGrammar(text,tokenList,grammar,startNode,startPos,rematch){for(var token in grammar)if(grammar.hasOwnProperty(token)&&grammar[token]){var patterns=grammar[token];patterns=Array.isArray(patterns)?patterns:[patterns];for(var j=0;j<patterns.length;++j){if(rematch&&rematch.cause==token+","+j)return;var patternObj=patterns[j],inside=patternObj.inside,lookbehind=!!patternObj.lookbehind,greedy=!!patternObj.greedy,alias=patternObj.alias;if(greedy&&!patternObj.pattern.global){var flags=patternObj.pattern.toString().match(/[imsuy]*$/)[0];patternObj.pattern=RegExp(patternObj.pattern.source,flags+"g")}for(var pattern=patternObj.pattern||patternObj,currentNode=startNode.next,pos=startPos;currentNode!==tokenList.tail&&!(rematch&&pos>=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind))||match.index>=text.length)break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)p+=(currentNode=currentNode.next).value.length;if(pos=p-=currentNode.value.length,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(p<to||"string"==typeof k.value);k=k.next)removeCount++,p+=k.value.length;removeCount--,str=text.slice(pos,p),match.index-=pos}else if(!(match=matchPattern(pattern,0,str,lookbehind)))continue;from=match.index;var matchStr=match[0],before=str.slice(0,from),after=str.slice(from+matchStr.length),reach=pos+str.length;rematch&&reach>rematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;if(before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount),currentNode=addAfter(tokenList,removeFrom,new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr)),after&&addAfter(tokenList,currentNode,after),removeCount>1){var nestedRematch={cause:token+","+j,reach};matchGrammar(text,tokenList,grammar,currentNode.prev,pos,nestedRematch),rematch&&nestedRematch.reach>rematch.reach&&(rematch.reach=nestedRematch.reach)}}}}}}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value,prev:node,next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i<count&&next!==list.tail;i++)next=next.next;node.next=next,next.prev=node,list.length-=i}return Token.stringify=function stringify(o,language){if("string"==typeof o)return o;if(Array.isArray(o)){var s="";return o.forEach((function(e){s+=stringify(e,language)})),s}var env={type:o.type,content:stringify(o.content,language),tag:"span",classes:["token",o.type],attributes:{},language},aliases=o.alias;aliases&&(Array.isArray(aliases)?Array.prototype.push.apply(env.classes,aliases):env.classes.push(aliases)),_.hooks.run("wrap",env);var attributes="";for(var name in env.attributes)attributes+=" "+name+'="'+(env.attributes[name]||"").replace(/"/g,""")+'"';return"<"+env.tag+' class="'+env.classes.join(" ")+'"'+attributes+">"+env.content+"</"+env.tag+">"},_}();module.exports=Prism2,Prism2.default=Prism2}},function __require(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports}),Prism=((mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))__hasOwnProp.call(to,key)||key===except||__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod)))(require_prism());Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,n){var t;(n=((t=((t={})["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[n]},t.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:t}}))["language-"+n]={pattern:/[\s\S]+/,inside:Prism.languages[n]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:t},Prism.languages.insertBefore("markup","cdata",n)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,n){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:Prism.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,function(e){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},t=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,a="(?:[^\\\\-]|"+t.source+")",r=(a=RegExp(a+"-"+a),{pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"});e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:t,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:t}},"special-escape":n,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":r}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:t,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":r}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(Prism),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript,Prism.languages.actionscript=Prism.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),Prism.languages.actionscript["class-name"].alias="function",delete Prism.languages.actionscript.parameter,delete Prism.languages.actionscript["literal-property"],Prism.languages.markup&&Prism.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:Prism.languages.markup}}),n=/#(?!\{).+/,t={pattern:/#\{[^}]+\}/,alias:"variable"},(e=Prism).languages.coffeescript=e.languages.extend("javascript",{comment:n,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:t}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:t}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:t}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript,function(l){var e=l.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(e,"addSupport",{value:function(e2,o){(e2="string"==typeof e2?[e2]:e2).forEach((function(e3){var n=function(e4){e4.inside||(e4.inside={}),e4.inside.rest=o},t="doc-comment";if(a=l.languages[e3]){var a,r=a[t];if((r=r||(a=l.languages.insertBefore(e3,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[t])instanceof RegExp&&(r=a[t]={pattern:r}),Array.isArray(r))for(var s=0,i=r.length;s<i;s++)r[s]instanceof RegExp&&(r[s]={pattern:r[s]}),n(r[s]);else n(r)}}))}}),e.addSupport(["java","javascript","php"],e)}(Prism),function(e){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(n=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Prism),function(e){var n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t=(n=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:n={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=n,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:t,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,number:t})}(Prism),function(e){var n=/[*&][^\s[\]{},]+/,t=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+t.source+"(?:[ \t]+"+n.source+")?|"+n.source+"(?:[ \t]+"+t.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e2,n2){n2=(n2||"").replace(/m/g,"")+"m";var t2=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return a})).replace(/<<value>>/g,(function(){return e2}));return RegExp(t2,n2)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return a}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return a})).replace(/<<key>>/g,(function(){return"(?:"+r+"|"+s+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(s),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:t,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism),function(o){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function e(e2){return e2=e2.replace(/<inner>/g,(function(){return n})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e2+")")}var t=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return t})),r=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,l=(o.languages.markdown=o.languages.extend("markup",{}),o.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:o.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+r+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+r+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(t),inside:o.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+r+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(t),alias:"important",inside:o.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:e(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:e(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:e(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:e(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(n2){["url","bold","italic","strike","code-snippet"].forEach((function(e2){n2!==e2&&(o.languages.markdown[n2].inside.content.inside[e2]=o.languages.markdown[e2])}))})),o.hooks.add("after-tokenize",(function(e2){"markdown"!==e2.language&&"md"!==e2.language||function e3(n2){if(n2&&"string"!=typeof n2)for(var t2=0,a2=n2.length;t2<a2;t2++){var r2,s=n2[t2];"code"!==s.type?e3(s.content):(r2=s.content[1],s=s.content[3],r2&&s&&"code-language"===r2.type&&"code-block"===s.type&&"string"==typeof r2.content&&(r2=r2.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),r2="language-"+(r2=(/[a-z][\w-]*/i.exec(r2)||[""])[0].toLowerCase()),s.alias?"string"==typeof s.alias?s.alias=[s.alias,r2]:s.alias.push(r2):s.alias=[r2]))}}(e2.tokens)})),o.hooks.add("wrap",(function(e2){if("code-block"===e2.type){for(var n2="",t2=0,a2=e2.classes.length;t2<a2;t2++){var r2=e2.classes[t2];if(r2=/language-(.+)/.exec(r2)){n2=r2[1];break}}var s,i=o.languages[n2];i?e2.content=o.highlight(e2.content.replace(l,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e4,n3){var t3;return"#"===(n3=n3.toLowerCase())[0]?(t3="x"===n3[1]?parseInt(n3.slice(2),16):Number(n3.slice(1)),c(t3)):u[n3]||e4})),i,n2):n2&&"none"!==n2&&o.plugins.autoloader&&(s="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),e2.attributes.id=s,o.plugins.autoloader.loadLanguages(n2,(function(){var e3=document.getElementById(s);e3&&(e3.innerHTML=o.highlight(e3.textContent,o.languages[n2],n2))})))}})),RegExp(o.languages.markup.tag.pattern.source,"gi")),u={amp:"&",lt:"<",gt:">",quot:'"'},c=String.fromCodePoint||String.fromCharCode;o.languages.md=o.languages.markdown}(Prism),Prism.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:Prism.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},Prism.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var i=e.tokens.filter((function(e2){return"string"!=typeof e2&&"comment"!==e2.type&&"scalar"!==e2.type})),o=0;o<i.length;){var n=i[o++];if("keyword"===n.type&&"mutation"===n.content){var t=[];if(p(["definition-mutation","punctuation"])&&"("===c(1).content){o+=2;var a=d(/^\($/,/^\)$/);if(-1===a)continue;for(;o<a;o++){var r=c(0);"variable"===r.type&&(g(r,"variable-input"),t.push(r.content))}o=a+1}if(p(["punctuation","property-query"])&&"{"===c(0).content&&(o++,g(c(0),"property-mutation"),0<t.length)){var s=d(/^\{$/,/^\}$/);if(-1!==s)for(var l=o;l<s;l++){var u=i[l];"variable"===u.type&&0<=t.indexOf(u.content)&&g(u,"variable-input")}}}}function c(e2){return i[o+e2]}function p(e2,n2){n2=n2||0;for(var t2=0;t2<e2.length;t2++){var a2=c(t2+n2);if(!a2||a2.type!==e2[t2])return}return 1}function d(e2,n2){for(var t2=1,a2=o;a2<i.length;a2++){var r2=i[a2],s2=r2.content;if("punctuation"===r2.type&&"string"==typeof s2)if(e2.test(s2))t2++;else if(n2.test(s2)&&0==--t2)return a2}return-1}function g(e2,n2){var t2=e2.alias;t2?Array.isArray(t2)||(e2.alias=t2=[t2]):e2.alias=t2=[],t2.push(n2)}})),Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(b){var e=b.languages.javascript["template-string"],t=e.pattern.source,m=e.inside.interpolation,f=m.inside["interpolation-punctuation"],s=m.pattern.source;function n(e2,n2){if(b.languages[e2])return{pattern:RegExp("((?:"+n2+")\\s*)"+t),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:e2}}}}function h(e2,n2,t2){return e2={code:e2,grammar:n2,language:t2},b.hooks.run("before-tokenize",e2),e2.tokens=b.tokenize(e2.code,e2.grammar),b.hooks.run("after-tokenize",e2),e2.tokens}function l(a2,e2,r){var n2=b.tokenize(a2,{interpolation:{pattern:RegExp(s),lookbehind:!0}}),p=0,d={},g=(n2=h(n2.map((function(e3){if("string"==typeof e3)return e3;var n3,t2;for(e3=e3.content;-1!==a2.indexOf((t2=p++,n3="___"+r.toUpperCase()+"_"+t2+"___")););return d[n3]=e3,n3})).join(""),e2,r),Object.keys(d));return p=0,function e3(n3){for(var t2=0;t2<n3.length;t2++){if(p>=g.length)return;var a3,r2,s2,i,o,l2,u2,c=n3[t2];"string"==typeof c||"string"==typeof c.content?(a3=g[p],-1!==(u2=(l2="string"==typeof c?c:c.content).indexOf(a3))&&(++p,r2=l2.substring(0,u2),o=d[a3],s2=void 0,(i={})["interpolation-punctuation"]=f,3===(i=b.tokenize(o,i)).length&&((s2=[1,1]).push.apply(s2,h(i[1],b.languages.javascript,"javascript")),i.splice.apply(i,s2)),s2=new b.Token("interpolation",i,m.alias,o),i=l2.substring(u2+a3.length),o=[],r2&&o.push(r2),o.push(s2),i&&(e3(l2=[i]),o.push.apply(o,l2)),"string"==typeof c?(n3.splice.apply(n3,[t2,1].concat(o)),t2+=o.length-1):c.content=o)):(u2=c.content,Array.isArray(u2)?e3(u2):e3([u2]))}}(n2),new b.Token(r,n2,"language-"+r,a2)}b.languages.javascript["template-string"]=[n("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),n("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),n("svg",/\bsvg/.source),n("markdown",/\b(?:markdown|md)/.source),n("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),n("sql",/\bsql/.source),e].filter(Boolean);var a={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function u(e2){return"string"==typeof e2?e2:Array.isArray(e2)?e2.map(u).join(""):u(e2.content)}b.hooks.add("after-tokenize",(function(e2){e2.language in a&&function e3(n2){for(var t2=0,a2=n2.length;t2<a2;t2++){var r,s2,i,o=n2[t2];"string"!=typeof o&&(r=o.content,Array.isArray(r)?"template-string"===o.type?(o=r[1],3===r.length&&"string"!=typeof o&&"embedded-code"===o.type&&(s2=u(o),o=o.alias,o=Array.isArray(o)?o[0]:o,i=b.languages[o])&&(r[1]=l(s2,i,o))):e3(r):"string"!=typeof r&&e3([r]))}}(e2.tokens)}))}(Prism),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var n=e.languages.extend("typescript",{});delete n["class-name"],e.languages.typescript["class-name"].inside=n,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),e.languages.ts=e.languages.typescript}(Prism),function(e){var n=e.languages.javascript,t=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,a="(@(?:arg|argument|param|property)\\s+(?:"+t+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(a+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(a+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:n,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return t}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+t),lookbehind:!0,inside:{string:n.string,number:n.number,boolean:n.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:n,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(Prism),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(Prism),Prism.languages.n4js=Prism.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),Prism.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),Prism.languages.n4jsd=Prism.languages.n4js,function(e){function n(e2,n2){return RegExp(e2.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),n2)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:n(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:n(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:n(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var t=["function","function-variable","method","method-variable","property-access"],a=0;a<t.length;a++){var r=t[a],s=e.languages.javascript[r];r=(s="RegExp"===e.util.type(s)?e.languages.javascript[r]={pattern:s}:s).inside||{};(s.inside=r)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(Prism),function(s){var e=s.util.clone(s.languages.javascript),t=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function n(e2,n2){return e2=e2.replace(/<S>/g,(function(){return t})).replace(/<BRACES>/g,(function(){return a})).replace(/<SPREAD>/g,(function(){return r})),RegExp(e2,n2)}function i(e2){for(var n2=[],t2=0;t2<e2.length;t2++){var a2=e2[t2],r2=!1;"string"!=typeof a2&&("tag"===a2.type&&a2.content[0]&&"tag"===a2.content[0].type?"</"===a2.content[0].content[0].content?0<n2.length&&n2[n2.length-1].tagName===o(a2.content[0].content[1])&&n2.pop():"/>"!==a2.content[a2.content.length-1].content&&n2.push({tagName:o(a2.content[0].content[1]),openedBraces:0}):0<n2.length&&"punctuation"===a2.type&&"{"===a2.content?n2[n2.length-1].openedBraces++:0<n2.length&&0<n2[n2.length-1].openedBraces&&"punctuation"===a2.type&&"}"===a2.content?n2[n2.length-1].openedBraces--:r2=!0),(r2||"string"==typeof a2)&&0<n2.length&&0===n2[n2.length-1].openedBraces&&(r2=o(a2),t2<e2.length-1&&("string"==typeof e2[t2+1]||"plain-text"===e2[t2+1].type)&&(r2+=o(e2[t2+1]),e2.splice(t2+1,1)),0<t2&&("string"==typeof e2[t2-1]||"plain-text"===e2[t2-1].type)&&(r2=o(e2[t2-1])+r2,e2.splice(t2-1,1),t2--),e2[t2]=new s.Token("plain-text",r2,null,r2)),a2.content&&"string"!=typeof a2.content&&i(a2.content)}}r=n(r).source,s.languages.jsx=s.languages.extend("markup",e),s.languages.jsx.tag.pattern=n(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),s.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,s.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,s.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,s.languages.jsx.tag.inside.comment=e.comment,s.languages.insertBefore("inside","attr-name",{spread:{pattern:n(/<SPREAD>/.source),inside:s.languages.jsx}},s.languages.jsx.tag),s.languages.insertBefore("inside","special-attr",{script:{pattern:n(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:s.languages.jsx}}},s.languages.jsx.tag);var o=function(e2){return e2?"string"==typeof e2?e2:"string"==typeof e2.content?e2.content:e2.content.map(o).join(""):""};s.hooks.add("after-tokenize",(function(e2){"jsx"!==e2.language&&"tsx"!==e2.language||i(e2.tokens)}))}(Prism),function(e){var n=e.util.clone(e.languages.typescript);(n=(e.languages.tsx=e.languages.extend("jsx",n),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=Prism.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean,Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Prism.languages.objectivec["class-name"],Prism.languages.objc=Prism.languages.objectivec,Prism.languages.reason=Prism.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),Prism.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete Prism.languages.reason.function,function(e){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,t=0;t<2;t++)n=n.replace(/<self>/g,(function(){return n}));n=n.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(Prism),Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"],function(e){var n=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,t=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return n.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return n.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:n,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return t}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism),Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json;((target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})})({},{dracula:()=>dracula_default,duotoneDark:()=>duotoneDark_default,duotoneLight:()=>duotoneLight_default,github:()=>github_default,gruvboxMaterialDark:()=>gruvboxMaterialDark_default,gruvboxMaterialLight:()=>gruvboxMaterialLight_default,jettwaveDark:()=>jettwaveDark_default,jettwaveLight:()=>jettwaveLight_default,nightOwl:()=>nightOwl_default,nightOwlLight:()=>nightOwlLight_default,oceanicNext:()=>oceanicNext_default,okaidia:()=>okaidia_default,oneDark:()=>oneDark_default,oneLight:()=>oneLight_default,palenight:()=>palenight_default,shadesOfPurple:()=>shadesOfPurple_default,synthwave84:()=>synthwave84_default,ultramin:()=>ultramin_default,vsDark:()=>vsDark_default,vsLight:()=>vsLight_default});var dracula_default={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},duotoneDark_default={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},duotoneLight_default={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},github_default={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},nightOwl_default={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},nightOwlLight_default={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},colors_keyword="#c5a5c5",colors_string="#8dc891",oceanicNext_default={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:colors_keyword}},{types:["attr-value"],style:{color:colors_string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:colors_string}},{types:["punctuation"],style:{color:colors_string}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:colors_keyword}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},okaidia_default={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},palenight_default={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},shadesOfPurple_default={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},synthwave84_default={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ultramin_default={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},vsDark_default={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},vsLight_default={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},jettwaveDark_default={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},jettwaveLight_default={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},oneDark_default={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},oneLight_default={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},gruvboxMaterialDark_default={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},gruvboxMaterialLight_default={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},themeToDict_default=(theme21,language)=>{const{plain}=theme21,themeDict=theme21.styles.reduce(((acc,themeEntry)=>{const{languages:languages2,style}=themeEntry;return languages2&&!languages2.includes(language)||themeEntry.types.forEach((type=>{const accStyle=__spreadValues(__spreadValues({},acc[type]),style);acc[type]=accStyle})),acc}),{});return themeDict.root=plain,themeDict.plain=__spreadProps(__spreadValues({},plain),{backgroundColor:void 0}),themeDict},newlineRe=/\r\n|\r|\n/,normalizeEmptyLines=line=>{0===line.length?line.push({types:["plain"],content:"\n",empty:!0}):1===line.length&&""===line[0].content&&(line[0].content="\n",line[0].empty=!0)},appendTypes=(types,add)=>{const typesSize=types.length;return typesSize>0&&types[typesSize-1]===add?types:types.concat(add)},normalizeTokens_default=tokens=>{const typeArrStack=[[]],tokenArrStack=[tokens],tokenArrIndexStack=[0],tokenArrSizeStack=[tokens.length];let i=0,stackIndex=0,currentLine=[];const acc=[currentLine];for(;stackIndex>-1;){for(;(i=tokenArrIndexStack[stackIndex]++)<tokenArrSizeStack[stackIndex];){let content,types=typeArrStack[stackIndex];const token=tokenArrStack[stackIndex][i];if("string"==typeof token?(types=stackIndex>0?types:["plain"],content=token):(types=appendTypes(types,token.type),token.alias&&(types=appendTypes(types,token.alias)),content=token.content),"string"!=typeof content){stackIndex++,typeArrStack.push(types),tokenArrStack.push(content),tokenArrIndexStack.push(0),tokenArrSizeStack.push(content.length);continue}const splitByNewlines=content.split(newlineRe),newlineCount=splitByNewlines.length;currentLine.push({types,content:splitByNewlines[0]});for(let i2=1;i2<newlineCount;i2++)normalizeEmptyLines(currentLine),acc.push(currentLine=[]),currentLine.push({types,content:splitByNewlines[i2]})}stackIndex--,typeArrStack.pop(),tokenArrStack.pop(),tokenArrIndexStack.pop(),tokenArrSizeStack.pop()}return normalizeEmptyLines(currentLine),acc},Highlight=({children,language:_language,code,theme:theme21,prism})=>{const language=_language.toLowerCase(),themeDictionary=((language,theme21)=>{const[themeDictionary,setThemeDictionary]=(0,react.useState)(themeToDict_default(theme21,language)),previousTheme=(0,react.useRef)(),previousLanguage=(0,react.useRef)();return(0,react.useEffect)((()=>{theme21===previousTheme.current&&language===previousLanguage.current||(previousTheme.current=theme21,previousLanguage.current=language,setThemeDictionary(themeToDict_default(theme21,language)))}),[language,theme21]),themeDictionary})(language,theme21),getLineProps=(themeDictionary=>(0,react.useCallback)((_a=>{var _b=_a,{className,style,line}=_b,rest=__objRest(_b,["className","style","line"]);const output=__spreadProps(__spreadValues({},rest),{className:dist_clsx("token-line",className)});return"object"==typeof themeDictionary&&"plain"in themeDictionary&&(output.style=themeDictionary.plain),"object"==typeof style&&(output.style=__spreadValues(__spreadValues({},output.style||{}),style)),output}),[themeDictionary]))(themeDictionary),getTokenProps=(themeDictionary=>{const styleForToken=(0,react.useCallback)((({types,empty})=>{if(null!=themeDictionary)return 1===types.length&&"plain"===types[0]?null!=empty?{display:"inline-block"}:void 0:1===types.length&&null!=empty?themeDictionary[types[0]]:Object.assign(null!=empty?{display:"inline-block"}:{},...types.map((type=>themeDictionary[type])))}),[themeDictionary]);return(0,react.useCallback)((_a=>{var _b=_a,{token,className,style}=_b,rest=__objRest(_b,["token","className","style"]);const output=__spreadProps(__spreadValues({},rest),{className:dist_clsx("token",...token.types,className),children:token.content,style:styleForToken(token)});return null!=style&&(output.style=__spreadValues(__spreadValues({},output.style||{}),style)),output}),[styleForToken])})(themeDictionary),tokens=(({prism,code,grammar,language})=>{const prismRef=(0,react.useRef)(prism);return(0,react.useMemo)((()=>{if(null==grammar)return normalizeTokens_default([code]);const prismConfig={code,grammar,language,tokens:[]};return prismRef.current.hooks.run("before-tokenize",prismConfig),prismConfig.tokens=prismRef.current.tokenize(code,grammar),prismRef.current.hooks.run("after-tokenize",prismConfig),normalizeTokens_default(prismConfig.tokens)}),[code,grammar,language])})({prism,language,code,grammar:prism.languages[language]});return children({tokens,className:`prism-code language-${language}`,style:null!=themeDictionary?themeDictionary.root:{},getLineProps,getTokenProps})},Highlight2=props=>(0,react.createElement)(Highlight,__spreadProps(__spreadValues({},props),{prism:props.prism||Prism,theme:props.theme||vsDark_default,code:props.code,language:props.language}))},"../../node_modules/.pnpm/prismjs@1.29.0/node_modules/prismjs/prism.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Prism=function(_self){var lang=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,uniqueId=0,plainTextGrammar={},_={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(o){return Object.prototype.toString.call(o).slice(8,-1)},objId:function(obj){return obj.__id||Object.defineProperty(obj,"__id",{value:++uniqueId}),obj.__id},clone:function deepClone(o,visited){var clone,id;switch(visited=visited||{},_.util.type(o)){case"Object":if(id=_.util.objId(o),visited[id])return visited[id];for(var key in clone={},visited[id]=clone,o)o.hasOwnProperty(key)&&(clone[key]=deepClone(o[key],visited));return clone;case"Array":return id=_.util.objId(o),visited[id]?visited[id]:(clone=[],visited[id]=clone,o.forEach((function(v,i){clone[i]=deepClone(v,visited)})),clone);default:return o}},getLanguage:function(element){for(;element;){var m=lang.exec(element.className);if(m)return m[1].toLowerCase();element=element.parentElement}return"none"},setLanguage:function(element,language){element.className=element.className.replace(RegExp(lang,"gi"),""),element.classList.add("language-"+language)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(err){var src=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(err.stack)||[])[1];if(src){var scripts=document.getElementsByTagName("script");for(var i in scripts)if(scripts[i].src==src)return scripts[i]}return null}},isActive:function(element,className,defaultActivation){for(var no="no-"+className;element;){var classList=element.classList;if(classList.contains(className))return!0;if(classList.contains(no))return!1;element=element.parentElement}return!!defaultActivation}},languages:{plain:plainTextGrammar,plaintext:plainTextGrammar,text:plainTextGrammar,txt:plainTextGrammar,extend:function(id,redef){var lang=_.util.clone(_.languages[id]);for(var key in redef)lang[key]=redef[key];return lang},insertBefore:function(inside,before,insert,root){var grammar=(root=root||_.languages)[inside],ret={};for(var token in grammar)if(grammar.hasOwnProperty(token)){if(token==before)for(var newToken in insert)insert.hasOwnProperty(newToken)&&(ret[newToken]=insert[newToken]);insert.hasOwnProperty(token)||(ret[token]=grammar[token])}var old=root[inside];return root[inside]=ret,_.languages.DFS(_.languages,(function(key,value){value===old&&key!=inside&&(this[key]=ret)})),ret},DFS:function DFS(o,callback,type,visited){visited=visited||{};var objId=_.util.objId;for(var i in o)if(o.hasOwnProperty(i)){callback.call(o,i,o[i],type||i);var property=o[i],propertyType=_.util.type(property);"Object"!==propertyType||visited[objId(property)]?"Array"!==propertyType||visited[objId(property)]||(visited[objId(property)]=!0,DFS(property,callback,i,visited)):(visited[objId(property)]=!0,DFS(property,callback,null,visited))}}},plugins:{},highlightAll:function(async,callback){_.highlightAllUnder(document,async,callback)},highlightAllUnder:function(container,async,callback){var env={callback,container,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};_.hooks.run("before-highlightall",env),env.elements=Array.prototype.slice.apply(env.container.querySelectorAll(env.selector)),_.hooks.run("before-all-elements-highlight",env);for(var element,i=0;element=env.elements[i++];)_.highlightElement(element,!0===async,env.callback)},highlightElement:function(element,async,callback){var language=_.util.getLanguage(element),grammar=_.languages[language];_.util.setLanguage(element,language);var parent=element.parentElement;parent&&"pre"===parent.nodeName.toLowerCase()&&_.util.setLanguage(parent,language);var env={element,language,grammar,code:element.textContent};function insertHighlightedCode(highlightedCode){env.highlightedCode=highlightedCode,_.hooks.run("before-insert",env),env.element.innerHTML=env.highlightedCode,_.hooks.run("after-highlight",env),_.hooks.run("complete",env),callback&&callback.call(env.element)}if(_.hooks.run("before-sanity-check",env),(parent=env.element.parentElement)&&"pre"===parent.nodeName.toLowerCase()&&!parent.hasAttribute("tabindex")&&parent.setAttribute("tabindex","0"),!env.code)return _.hooks.run("complete",env),void(callback&&callback.call(env.element));if(_.hooks.run("before-highlight",env),env.grammar)if(async&&_self.Worker){var worker=new Worker(_.filename);worker.onmessage=function(evt){insertHighlightedCode(evt.data)},worker.postMessage(JSON.stringify({language:env.language,code:env.code,immediateClose:!0}))}else insertHighlightedCode(_.highlight(env.code,env.grammar,env.language));else insertHighlightedCode(_.util.encode(env.code))},highlight:function(text,grammar,language){var env={code:text,grammar,language};if(_.hooks.run("before-tokenize",env),!env.grammar)throw new Error('The language "'+env.language+'" has no grammar.');return env.tokens=_.tokenize(env.code,env.grammar),_.hooks.run("after-tokenize",env),Token.stringify(_.util.encode(env.tokens),env.language)},tokenize:function(text,grammar){var rest=grammar.rest;if(rest){for(var token in rest)grammar[token]=rest[token];delete grammar.rest}var tokenList=new LinkedList;return addAfter(tokenList,tokenList.head,text),matchGrammar(text,tokenList,grammar,tokenList.head,0),function toArray(list){var array=[],node=list.head.next;for(;node!==list.tail;)array.push(node.value),node=node.next;return array}(tokenList)},hooks:{all:{},add:function(name,callback){var hooks=_.hooks.all;hooks[name]=hooks[name]||[],hooks[name].push(callback)},run:function(name,env){var callbacks=_.hooks.all[name];if(callbacks&&callbacks.length)for(var callback,i=0;callback=callbacks[i++];)callback(env)}},Token};function Token(type,content,alias,matchedStr){this.type=type,this.content=content,this.alias=alias,this.length=0|(matchedStr||"").length}function matchPattern(pattern,pos,text,lookbehind){pattern.lastIndex=pos;var match=pattern.exec(text);if(match&&lookbehind&&match[1]){var lookbehindLength=match[1].length;match.index+=lookbehindLength,match[0]=match[0].slice(lookbehindLength)}return match}function matchGrammar(text,tokenList,grammar,startNode,startPos,rematch){for(var token in grammar)if(grammar.hasOwnProperty(token)&&grammar[token]){var patterns=grammar[token];patterns=Array.isArray(patterns)?patterns:[patterns];for(var j=0;j<patterns.length;++j){if(rematch&&rematch.cause==token+","+j)return;var patternObj=patterns[j],inside=patternObj.inside,lookbehind=!!patternObj.lookbehind,greedy=!!patternObj.greedy,alias=patternObj.alias;if(greedy&&!patternObj.pattern.global){var flags=patternObj.pattern.toString().match(/[imsuy]*$/)[0];patternObj.pattern=RegExp(patternObj.pattern.source,flags+"g")}for(var pattern=patternObj.pattern||patternObj,currentNode=startNode.next,pos=startPos;currentNode!==tokenList.tail&&!(rematch&&pos>=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind))||match.index>=text.length)break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)p+=(currentNode=currentNode.next).value.length;if(pos=p-=currentNode.value.length,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(p<to||"string"==typeof k.value);k=k.next)removeCount++,p+=k.value.length;removeCount--,str=text.slice(pos,p),match.index-=pos}else if(!(match=matchPattern(pattern,0,str,lookbehind)))continue;from=match.index;var matchStr=match[0],before=str.slice(0,from),after=str.slice(from+matchStr.length),reach=pos+str.length;rematch&&reach>rematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;if(before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount),currentNode=addAfter(tokenList,removeFrom,new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr)),after&&addAfter(tokenList,currentNode,after),removeCount>1){var nestedRematch={cause:token+","+j,reach};matchGrammar(text,tokenList,grammar,currentNode.prev,pos,nestedRematch),rematch&&nestedRematch.reach>rematch.reach&&(rematch.reach=nestedRematch.reach)}}}}}}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value,prev:node,next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i<count&&next!==list.tail;i++)next=next.next;node.next=next,next.prev=node,list.length-=i}if(_self.Prism=_,Token.stringify=function stringify(o,language){if("string"==typeof o)return o;if(Array.isArray(o)){var s="";return o.forEach((function(e){s+=stringify(e,language)})),s}var env={type:o.type,content:stringify(o.content,language),tag:"span",classes:["token",o.type],attributes:{},language},aliases=o.alias;aliases&&(Array.isArray(aliases)?Array.prototype.push.apply(env.classes,aliases):env.classes.push(aliases)),_.hooks.run("wrap",env);var attributes="";for(var name in env.attributes)attributes+=" "+name+'="'+(env.attributes[name]||"").replace(/"/g,""")+'"';return"<"+env.tag+' class="'+env.classes.join(" ")+'"'+attributes+">"+env.content+"</"+env.tag+">"},!_self.document)return _self.addEventListener?(_.disableWorkerMessageHandler||_self.addEventListener("message",(function(evt){var message=JSON.parse(evt.data),lang=message.language,code=message.code,immediateClose=message.immediateClose;_self.postMessage(_.highlight(code,_.languages[lang],lang)),immediateClose&&_self.close()}),!1),_):_;var script=_.util.currentScript();function highlightAutomaticallyCallback(){_.manual||_.highlightAll()}if(script&&(_.filename=script.src,script.hasAttribute("data-manual")&&(_.manual=!0)),!_.manual){var readyState=document.readyState;"loading"===readyState||"interactive"===readyState&&script&&script.defer?document.addEventListener("DOMContentLoaded",highlightAutomaticallyCallback):window.requestAnimationFrame?window.requestAnimationFrame(highlightAutomaticallyCallback):window.setTimeout(highlightAutomaticallyCallback,16)}return _}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});module.exports&&(module.exports=Prism),void 0!==__webpack_require__.g&&(__webpack_require__.g.Prism=Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function addInlined(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^<!\[CDATA\[|\]\]>$/i;var inside={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside},Prism.languages.insertBefore("markup","cdata",def)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(attrName,lang){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+attrName+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[lang,"language-"+lang],inside:Prism.languages[lang]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,function(Prism){var string=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+string.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+string.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:string,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css;var markup=Prism.languages.markup;markup&&(markup.tag.addInlined("style","css"),markup.tag.addAttribute("style","css"))}(Prism),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript,function(){if(void 0!==Prism&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var EXTENSIONS={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},SELECTOR='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])';Prism.hooks.add("before-highlightall",(function(env){env.selector+=", "+SELECTOR})),Prism.hooks.add("before-sanity-check",(function(env){var pre=env.element;if(pre.matches(SELECTOR)){env.code="",pre.setAttribute("data-src-status","loading");var code=pre.appendChild(document.createElement("CODE"));code.textContent="Loading…";var src=pre.getAttribute("data-src"),language=env.language;if("none"===language){var extension=(/\.(\w+)$/.exec(src)||[,"none"])[1];language=EXTENSIONS[extension]||extension}Prism.util.setLanguage(code,language),Prism.util.setLanguage(pre,language);var autoloader=Prism.plugins.autoloader;autoloader&&autoloader.loadLanguages(language),function loadFile(src,success,error){var xhr=new XMLHttpRequest;xhr.open("GET",src,!0),xhr.onreadystatechange=function(){4==xhr.readyState&&(xhr.status<400&&xhr.responseText?success(xhr.responseText):xhr.status>=400?error("✖ Error "+xhr.status+" while fetching file: "+xhr.statusText):error("✖ Error: File does not exist or is empty"))},xhr.send(null)}(src,(function(text){pre.setAttribute("data-src-status","loaded");var range=function parseRange(range){var m=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(range||"");if(m){var start=Number(m[1]),comma=m[2],end=m[3];return comma?end?[start,Number(end)]:[start,void 0]:[start,start]}}(pre.getAttribute("data-range"));if(range){var lines=text.split(/\r\n?|\n/g),start=range[0],end=null==range[1]?lines.length:range[1];start<0&&(start+=lines.length),start=Math.max(0,Math.min(start-1,lines.length)),end<0&&(end+=lines.length),end=Math.max(0,Math.min(end,lines.length)),text=lines.slice(start,end).join("\n"),pre.hasAttribute("data-start")||pre.setAttribute("data-start",String(start+1))}code.textContent=text,Prism.highlightElement(code)}),(function(error){pre.setAttribute("data-src-status","failed"),code.textContent=error}))}})),Prism.plugins.fileHighlight={highlight:function highlight(container){for(var element,elements=(container||document).querySelectorAll(SELECTOR),i=0;element=elements[i++];)Prism.highlightElement(element)}};var logged=!1;Prism.fileHighlight=function(){logged||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),logged=!0),Prism.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}}]);