| Server IP : 108.167.142.43 / Your IP : 216.73.216.223 Web Server : Apache System : Linux gator4174.hostgator.com 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 18 06:09:16 EDT 2026 x86_64 User : delarice ( 2406) PHP Version : 8.3.36 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home2/delarice/public_html/wp-content/plugins/templately/assets/js/ |
Upload File : |
(()=>{var e={2192(e,t,n){"use strict";var r=n(1609),o=n.n(r);n.d(t,["A",0,function(){return o().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"11",fill:"none",viewBox:"0 0 11 11"},o().createElement("path",{fill:"#475467",d:"M1.658 10.465l-1.4-1.4 3.6-3.6-3.6-3.575 1.4-1.4 3.6 3.6L8.833.49l1.4 1.4-3.6 3.575 3.6 3.6-1.4 1.4-3.575-3.6-3.6 3.6z"}))}])},3933(e,t,n){"use strict";var r=n(7723);const o=window.wp.domReady;var a=n.n(o),i=n(1609),l=n.n(i),s=n(7970),c=n(3850);const u=function(e){var t=e.reasons,n=(0,s.DM)().closeModal,o=(0,i.useState)(""),a=(0,c.A)(o,2),u=a[0],d=a[1],p=(0,i.useState)(""),f=(0,c.A)(p,2),m=f[0],h=f[1];return l().createElement(l().Fragment,null,l().createElement("div",{className:"flex flex-col gap-4 px-4 pb-4 pt-4 w-full"},l().createElement("div",{className:"flex flex-col gap-1 w-full"},l().createElement("label",{htmlFor:"templately-deactivate-reason",className:"text-small text-color-text-primary leading-[1.5] m-0"},(0,r.__)("Why are you deactivating?","templately")),l().createElement("select",{id:"templately-deactivate-reason",value:u,onChange:function(e){return d(e.target.value)},className:"bg-white h-10 pl-4 pr-1 !rounded-lg border !border-border-secondary focus:!border-border-primary-active text-paragraph-medium-less text-color-text-secondary !outline-none !shadow-none m-0 w-full max-w-full"},l().createElement("option",{value:""},(0,r.__)("Select a reason (optional)","templately")),(t||[]).map(function(e){return l().createElement("option",{key:e.value,value:e.value},e.label)}))),l().createElement("div",{className:"flex flex-col gap-1 w-full"},l().createElement("label",{htmlFor:"templately-deactivate-message",className:"text-small text-color-text-primary leading-[1.5] m-0"},(0,r.__)("Anything else you want to tell us?","templately")),l().createElement("textarea",{id:"templately-deactivate-message",value:m,onChange:function(e){return h(e.target.value)},placeholder:(0,r.__)("Optional","templately"),rows:3,className:"bg-white pl-4 pr-4 py-2 !rounded-lg border !border-border-secondary focus:!border-border-primary-active text-paragraph-medium-less text-color-text-secondary !outline-none !shadow-none m-0 w-full resize-none"}))),l().createElement("div",{className:"flex flex-col min-[480px]:flex-row min-[480px]:items-center min-[480px]:justify-end gap-3 px-4 py-4 border-t border-border-secondary w-full"},l().createElement("button",{type:"button",onClick:function(){return n({isDismissed:!1})},className:"min-h-9 w-full min-[480px]:w-auto px-4 py-2 rounded-lg inline-flex items-center justify-center bg-white border border-border-secondary text-button-small text-color-text-secondary cursor-pointer"},(0,r.__)("Skip & Deactivate","templately")),l().createElement("button",{type:"button",onClick:function(){return n({isDismissed:!1,reason:u,message:m})},className:"min-h-9 w-full min-[480px]:w-auto px-4 py-2 rounded-lg inline-flex items-center justify-center bg-surface-brand border-none text-button-small !text-[#f5f7fb] cursor-pointer"},(0,r.__)("Submit & Deactivate","templately"))))};var d="templately-deactivation-survey-root";function p(){var e=document.getElementById(d);return e||((e=document.createElement("div")).id=d,e.className="templately-scope",document.body.appendChild(e)),e}a()(function(){var e=window.templatelyDeactivationSurvey;if(e&&e.pluginBasename){var t=document.querySelector('tr[data-plugin="'.concat(e.pluginBasename,'"]')),n=null==t?void 0:t.querySelector(".deactivate a");n&&n.addEventListener("click",function(t){t.preventDefault();var o=n.getAttribute("href");(0,s.GN)({title:(0,r.__)("Quick feedback before you go","templately"),subTitle:(0,r.__)("Totally optional — it helps us improve Templately.","templately"),showCloseButton:!0,allowOutsideClick:!0,parentSelector:p,children:l().createElement(u,{reasons:e.reasons})}).then(function(t){t&&!t.isDismissed&&(t.reason&&fetch(e.restUrl,{method:"POST",keepalive:!0,headers:{"Content-Type":"application/json","X-WP-Nonce":e.nonce},body:JSON.stringify({reason:t.reason,message:t.message||""})}).catch(function(){}),o&&(window.location.href=o))})})}})},395(){"use strict";new Set},6224(e,t,n){"use strict";n.d(t,{fJ:()=>f.fJ,aF:()=>f.aF});var r=n(5062),o=n(7643),a=n(1609),i=n.n(a),l=n(3438),s=n(7500),c=n.n(s),u=n(8618),d=["className","container","align","sideOffset"],p=(l.bL,l.l9,l.Mz,function(e){var t=document.getElementById("templately-wrapper");if(t){var n=document.getElementById("templately-portal-root");return n||((n=document.createElement("div")).id="templately-portal-root",Object.assign(n.style,{position:e?"absolute":"fixed",top:"0",left:"0",width:"100%",height:"0",pointerEvents:"none",zIndex:"99999999"}),t.appendChild(n)),n}});a.forwardRef(function(e,t){var n=e.className,i=e.container,s=e.align,f=void 0===s?"center":s,m=e.sideOffset,h=void 0===m?4:m,g=(0,o.A)(e,d),v=(0,u.o4)().isEditor;return a.createElement(l.ZL,{container:null!=i?i:p(v)},a.createElement(l.UC,(0,r.A)({ref:t,align:f,sideOffset:h,className:c()("templately-popover-content","z-10000 border-none text-slate-950 shadow-popover outline-none pointer-events-auto","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","dark:bg-slate-950 dark:text-slate-50",n)},g)))}).displayName=l.UC.displayName;var f=n(8606),m=n(7723),h=((0,m.__)("Name","templately"),(0,m.__)("Last Modified","templately"),(0,m.__)("Action","templately"),n(4502)),g=i().memo(function(e){var t=e.panelKey,n=e.title,r=e.isActive,o=e.onClickItem,a=e.className,l=c()("tc-panel-header","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-brand",a,{"tc-panel-header-active":r}),s=function(){return null==o?void 0:o(null!=t?t:"")};return i().createElement("div",{className:l,role:"button",tabIndex:0,"aria-expanded":!!r,onClick:s,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),s())}},i().createElement("h4",null,n),i().createElement("span",{className:"t-collapse-action-btn"},r?i().createElement(h.UC,null):i().createElement(h.z4,null)))});g.displayName="CollapseHeader";var v=i().memo(function(e){var t=e.isActive,n=e.children,r=e.className,o=c()("tc-panel-body",r,{"tc-content-active":t,"tc-content-hide":!t});return i().createElement("div",{className:o},n)});v.displayName="CollapseContent",i().memo(function(e){var t=e.panelKey,n=e.header,o=e.title,a=e.children,l=e.isActive,s=void 0!==l&&l,u=e.onClickItem,d=e.className,p={isActive:s,onClickItem:u,panelKey:t},f=c()("tc-panel-item",d,{"tc-panel-active":s,"tc-panel-inactive":!s});return i().createElement("div",{className:f},i().createElement(g,(0,r.A)({title:null!=n?n:o},p)),s&&i().createElement(v,p,a))}).displayName="CollapseItem";var y=n(7431),b=n(154),w=["to","query","ignoreKeys","icon","isActive","children","label","hasDropdown","aria-current"],E=["caseSensitive","end","style","className","activeItemClassName","dropdown","list"],x=["element"],S=b.Z_,O=function(e){var t=e.to,n=e.query,a=e.ignoreKeys,l=void 0===a?[]:a,s=e.icon,c=void 0!==s&&s,u=e.isActive,d=void 0!==u&&u,p=e.children,f=void 0===p?"":p,m=e.label,g=void 0===m?"":m,v=e.hasDropdown,b=void 0!==v&&v,E=e["aria-current"],x=void 0===E?"page":E,O=(0,o.A)(e,w),C=d?x:void 0;return i().createElement(y.N_,(0,r.A)({},O,{"aria-current":C,to:S(t,n,l)}),i().isValidElement(c)?i().createElement("i",null,c):null,"function"==typeof f?f({isActive:d}):f,"function"==typeof g?g({isActive:d}):g,b&&i().createElement("span",{className:"tn-dropdown-icon"},d?i().createElement(h.UC,null):i().createElement(h.z4,null)))};O.displayName="NavLink";var C=i().forwardRef(function(e,t){e.caseSensitive;var n,a=e.end,l=void 0!==a&&a,s=e.style,u=e.className,d=void 0===u?"":u,p=e.activeItemClassName,f=void 0===p?"active":p,m=e.dropdown,h=e.list,g=void 0===h||h,v=(0,o.A)(e,E),b=void 0!==m,w=(0,y.zy)(),x=(0,y.x$)(e.to),S=w.pathname,C=x.pathname,A=S===C||!l&&S.startsWith(C)&&"/"===S.charAt(C.length);n="function"==typeof d?d({isActive:A,toPathname:C,locationPathname:S}):[d,A?f:null].filter(Boolean).join(" ");var _="function"==typeof s?s({isActive:A}):s,R=c()("tn-item",n,{"tn-item-has-dropdown":b,"templately-nav-link":!g});return g?i().createElement("li",{className:R,ref:t,style:_},i().createElement(O,(0,r.A)({},v,{isActive:A,hasDropdown:b})),m&&m.length>0&&i().createElement(T,{dropdown:!0,className:A?"dropdown-active":"",activeItemClassName:"dropdown-nav-active",routes:m})):i().createElement(O,(0,r.A)({},v,{style:_,className:R,isActive:A}))});C.displayName="NavItem";var T=function(e){var t=e.children,n=e.routes,a=e.ulClasses,l=void 0===a?"":a,s=e.liClasses,u=void 0===s?"":s,d=e.sidebar,p=void 0!==d&&d,f=e.className,m=void 0===f?"":f,h=e.activeItemClassName,g=void 0===h?"active":h,v=e.dropdown,y=void 0!==v&&v,b=c()("templately-nav-wrapper",m,{"templately-nav-sidebar":p,"templately-nav-dropdown":y});return i().createElement("div",{className:b},i().createElement("ul",{className:l},t,(null!=n?n:[]).map(function(e){e.element;var t=(0,o.A)(e,x);return i().createElement(C,(0,r.A)({key:t.to,className:u,activeItemClassName:g},t))})))}},8618(e,t,n){"use strict";n.d(t,{o4:()=>r.A}),n(1609),n(488);var r=n(4401);n(874),n(5172)},488(e,t,n){"use strict";n(1609)},874(e,t,n){"use strict";n(1609),new Map,n(4401)},4401(e,t,n){"use strict";var r=n(1609);n.d(t,["A",0,function(){return(0,r.useMemo)(function(){var e,t=null===(e=window)||void 0===e||null===(e=e.templately)||void 0===e?void 0:e.current_screen;return{currentScreen:t,isEditor:"gutenberg"===t||"elementor"===t,isGutenberg:"gutenberg"===t,isElementor:"elementor"===t}},[])}])},4502(e,t,n){"use strict";n.d(t,{z4:()=>o,UC:()=>a});var r=n(2982);function o(e){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"},child:[]}]})(e)}function a(e){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z"},child:[]}]})(e)}n(4147),n(1434),n(3626),n(5251),n(7839),n(7491),n(8927),n(3705)},9539(e,t,n){"use strict";n(1609)},3650(e,t,n){"use strict";n(1609)},5172(e,t,n){"use strict";n(9961)},154(e,t,n){"use strict";n.d(t,{Z_:()=>m});var r,o=n(8032),a=n(873),i=n(6107),l=n(5234),s=n(3832),c=n(9961),u=n(8900);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){(0,a.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(){if(!r){var e=document.location.pathname,t=e.substring(0,e.lastIndexOf("/")),n=(0,i.zR)({basename:t});r={get length(){return n.length},get action(){return n.action},get location(){var t=n.location,r=(0,l.parse)(t.search.substring(1)).path||"/";return r.startsWith("/")||(r="/"+r),p(p({},t),{},{actualPathname:e,pathname:r})},get pathname(){return this.location.pathname.substring(1)},createHref:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.createHref.apply(n,t)},push:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.push.apply(n,t)},replace:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.replace.apply(n,t)},go:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.go.apply(n,t)},goBack:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.goBack.apply(n,t)},goForward:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.goForward.apply(n,t)},block:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.block.apply(n,t)},listen:function(e){var t=this;return n.listen(function(){e(t.location,t.action)})}}}return r}f();var m=function(e){var t,n,r,a,i,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,m=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],h=(0,s.getQueryArgs)(e),g=(i=f().location.search).length&&(0,l.parse)(i.substring(1))||{};m=(0,o.A)(m);var v,y,b,w,E,x,S=p(p({},g),h);return(t=m).push.apply(t,["templately_open_modal","templately_google_login","templately_error","error_message","process"].concat((0,o.A)(c.u8))),null!=d&&u.P1 in d||m.push(u.P1),null!=d&&(S=p(p({},S),d)),"/"===e||Array.isArray(e)?Array.isArray(e)&&(S.path=e.join("/")):S.path=e,S.path.startsWith("../")&&(S.path=S.path.substring(3)),("elementor"===(null==g?void 0:g.action)||"edit"===(null==g?void 0:g.action))&&(null===(v=m)||void 0===v||v.push("page")),!0===Boolean(null==d?void 0:d.isGutenbergEditor)&&(null===(y=m)||void 0===y||y.push("page"),null===(b=m)||void 0===b||b.push("isGutenbergEditor")),null!==(n=S)&&void 0!==n&&n.platform&&null!==(r=S.path)&&void 0!==r&&r.startsWith(S.platform)&&(null===(w=m)||void 0===w||w.push("platform")),!0===Boolean(null==d?void 0:d.closing)&&(null===(E=m)||void 0===E||E.push("closing")),""===e&&(null===(x=m)||void 0===x||x.push("path")),(null===(a=m)||void 0===a?void 0:a.length)>0&&(S=(0,c.fo)(S,m)),(0,s.addQueryArgs)(f().location.actualPathname,S)}},8900(e,t,n){"use strict";n.d(t,{P1:()=>r});var r="cq"},684(e,t,n){"use strict";n.d(t,{V:()=>s});var r=n(873),o=n(7723),a=n(7713);function i(e,t){var n=e[t];return"string"==typeof n&&n&&/^https?:\/\//i.test(n)?n:null}var l=(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},a.bo.SITE_DISCONNECTED,{text:function(){return(0,o.__)("This site is not connected to Templately. Please log in again.","templately")},link:function(e){var t=i(e,"support_url");return t?{href:t,label:(0,o.__)("Contact support","templately")}:null}}),a.bo.LIMIT_REACHED,{link:function(e){var t=i(e,"upgrade_url");return t?{href:t,label:(0,o.__)("Upgrade your plan","templately")}:null}}),a.bo.AGENT_KEY_NOT_ALLOWED,{link:function(e){var t=i(e,"manage_apis_url");return t?{href:t,label:(0,o.__)("Manage API keys","templately")}:null}}),a.bo.SITE_LIMIT_REACHED,{text:function(){return(0,o.__)("You have connected as many sites as your subscription allows.","templately")},link:function(e){var t=i(e,"upgrade_url");return t?{href:t,label:(0,o.__)("Upgrade to connect more sites","templately")}:null}}),a.bo.AUTH_STATE_INVALID,{text:function(){return(0,o.__)("This sign-in link is no longer valid. Please try signing in again.","templately")}}),a.bo.AUTH_MISSING_API_KEY,{text:function(){return(0,o.__)("Google sign-in returned no API key. Please try again.","templately")}}),a.bo.AUTH_PROVIDER_FAILED,{text:function(){return(0,o.__)("Google sign-in did not complete. Please try again.","templately")}}),a.bo.NETWORK_OFFLINE,{text:function(){return(0,o.__)("You appear to be offline. Check your connection and try again.","templately")}}),a.bo.MALFORMED_QUERY,{text:function(){return(0,o.__)("Templately could not complete this request due to an internal error. Please update the plugin, or contact support if it keeps happening.","templately")}});function s(e){var t=l[e.code];return null!=t&&t.text?t.text():e.message?e.message:(0,o.__)("The request could not be completed.","templately")}},5269(e,t,n){"use strict";n.d(t,{cQ:()=>r.cQ,kc:()=>o.errorText}),n(7713);var r=n(8114),o=(n(9780),n(684),n(6595),n(350))},350(e,t,n){"use strict";n.d(t,{errorText:()=>i});var r=n(873),o=(n(7723),n(9961),n(395),n(7970),n(7713)),a=n(684);function i(e){return(0,a.V)(e)}n(9780),(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},o.bo.AUTH_EXPIRED,"onAuthExpired"),o.bo.INVALID_API_KEY,"onAuthExpired"),o.bo.NOT_VERIFIED,"onNotVerified"),o.bo.SITE_DISCONNECTED,"onDisconnected")},9656(e,t,n){"use strict";function r(){throw new Error("Templately: the Redux store has not been constructed yet. react-src/redux/store.ts registers it at module-evaluation time, and react-src/generated/moduleManifest.ts imports that file before any feature module — so reaching this means something ran before the manifest, not that the store is missing.")}n.d(t,{K:()=>r})},7970(e,t,n){"use strict";n.d(t,{DM:()=>E,GN:()=>b});var r=n(5062),o=n(7643),a=n(873),i=n(5795),l=n.n(i),s=n(2704),c=n(6224),u=n(9656),d=(n(7957),n(3650),n(9539),n(2302)),p=["children","showCloseButton","allowOutsideClick","innerScroll","subTitle","description","image","customClass","dispatch","onConfirm","onError","timer"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){(0,a.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var h=function(e){try{(0,u.K)().dispatch({type:e?"APPLICATION_REGISTER_MODAL":"APPLICATION_UNREGISTER_MODAL",id:"new-modal"})}catch(e){}},g=null,v={},y=!1,b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v=e,y=arguments.length>1&&void 0!==arguments[1]&&arguments[1],g&&(O(g),g=null),new Promise(function(t){var n=!1,r=l().createRoot(document.createElement("div")),o={root:r,resolve:t};g=o,h(!0);var a=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n||(n=!0,r.isDismissed&&null!=e&&e.dispatch&&e.dispatch({type:"CLOSE_MODAL"}),!r.isDismissed&&null!=e&&e.onConfirm&&e.onConfirm(r),r.isError&&null!=e&&e.onError&&e.onError(r.error),O(o),g===o&&(g=null,h(!1)),t(r))};S(r,!0,function(e){e||a({isDismissed:!0})}),e.timer&&setTimeout(function(){n||(g===o?(S(r,!1,function(){}),setTimeout(function(){return a({isDismissed:!0})},c.fJ+20)):a({isDismissed:!0}))},e.timer)})},w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};g&&(v=m(m({},v),e),S(g.root,!0,function(e){e||x({isDismissed:!0})}))},E=function(){return{updateModal:w,closeModal:x}},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(g){var t=g,n=t.resolve;S(t.root,!1,function(){}),setTimeout(function(){O(t),g===t&&(g=null,h(!1)),n(e),t.resolve=function(){}},c.fJ+20)}};function S(e,t,n){var a=v,i=a.children,l=a.showCloseButton,f=a.allowOutsideClick,m=a.innerScroll,h=a.subTitle,g=a.description,b=a.image,w=(a.customClass,a.dispatch,a.onConfirm,a.onError,a.timer,(0,o.A)(a,p)),E=i;y&&E&&(E=React.createElement(s.Kq,{store:(0,u.K)()},E)),E=React.createElement(d.t,null,E),e.render(React.createElement(c.aF,(0,r.A)({},w,{open:t,onOpenChange:n,showCloseButton:null==l||l,dismissOnBackdropClick:null==f||f,innerScroll:null!=m&&m,description:null!=h?h:g,image:"string"==typeof b?b:void 0}),E))}function O(e){if(e)try{e.root.unmount()}catch(e){}}},7957(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t(t,n){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t);else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(t,n)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const n=Object.entries,r=Object.setPrototypeOf,o=Object.isFrozen,a=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor;let l=Object.freeze,s=Object.seal,c=Object.create,u="undefined"!=typeof Reflect&&Reflect,d=u.apply,p=u.construct;l||(l=function(e){return e}),s||(s=function(e){return e}),d||(d=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),p||(p=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const f=L(Array.prototype.forEach),m=L(Array.prototype.lastIndexOf),h=L(Array.prototype.pop),g=L(Array.prototype.push),v=L(Array.prototype.splice),y=Array.isArray,b=L(String.prototype.toLowerCase),w=L(String.prototype.toString),E=L(String.prototype.match),x=L(String.prototype.replace),S=L(String.prototype.indexOf),O=L(String.prototype.trim),C=L(Number.prototype.toString),T=L(Boolean.prototype.toString),A="undefined"==typeof BigInt?null:L(BigInt.prototype.toString),_="undefined"==typeof Symbol?null:L(Symbol.prototype.toString),R=L(Object.prototype.hasOwnProperty),N=L(Object.prototype.toString),P=L(RegExp.prototype.test),D=(k=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return p(k,t)});var k;function L(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return d(e,t,r)}}function I(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;if(r&&r(e,null),!y(t))return e;let a=t.length;for(;a--;){let r=t[a];if("string"==typeof r){const e=n(r);e!==r&&(o(t)||(t[a]=e),r=e)}e[r]=!0}return e}function M(e){for(let t=0;t<e.length;t++)R(e,t)||(e[t]=null);return e}function j(e){const r=c(null);for(const a of n(e)){var o=t(a,2);const n=o[0],i=o[1];R(e,n)&&(y(i)?r[n]=M(i):i&&"object"==typeof i&&i.constructor===Object?r[n]=j(i):r[n]=i)}return r}function F(e,t){for(;null!==e;){const n=i(e,t);if(n){if(n.get)return L(n.get);if("function"==typeof n.value)return L(n.value)}e=a(e)}return function(){return null}}const U=l(["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","search","section","select","shadow","slot","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"]),$=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),z=l(["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"]),W=l(["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"]),B=l(["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"]),H=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),G=l(["#text"]),K=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","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","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Y=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","dominant-baseline","dur","edgemode","elevation","end","exponent","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","intercept","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","mask-type","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","slope","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","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","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"]),q=l(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),V=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),J=s(/{{[\w\W]*|^[\w\W]*}}/g),X=s(/<%[\w\W]*|^[\w\W]*%>/g),Z=s(/\${[\w\W]*/g),Q=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),ee=s(/^aria-[\-\w]+$/),te=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ne=s(/^(?:\w+script|data):/i),re=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),oe=s(/^html$/i),ae=s(/^[a-z][.\w]*(-[.\w]+)+$/i),ie=s(/<[/\w!]/g),le=s(/<[/\w]/g),se=s(/<\/no(script|embed|frames)/i),ce=s(/\/>/i),ue=function(){return"undefined"==typeof window?null:window},de=function(e,t,n,r){return R(e,t)&&y(e[t])?I(r.base?j(r.base):{},e[t],r.transform):n};!function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ue();const r=t=>e(t);if(r.version="3.4.12",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let o=t.document;const a=o,i=a.currentScript;t.DocumentFragment;const u=t.HTMLTemplateElement,d=t.Node,p=t.Element,k=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const L=t.DOMParser,M=t.trustedTypes,pe=p.prototype,fe=F(pe,"cloneNode"),me=F(pe,"remove"),he=F(pe,"nextSibling"),ge=F(pe,"childNodes"),ve=F(pe,"parentNode"),ye=F(pe,"shadowRoot"),be=F(pe,"attributes"),we=d&&d.prototype?F(d.prototype,"nodeType"):null,Ee=d&&d.prototype?F(d.prototype,"nodeName"):null;if("function"==typeof u){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let xe,Se,Oe="",Ce=!1,Te=0;const Ae=function(){if(Te>0)throw D('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},_e=function(e){Ae(),Te++;try{return xe.createHTML(e)}finally{Te--}},Re=o,Ne=Re.implementation,Pe=Re.createNodeIterator,De=Re.createDocumentFragment,ke=Re.getElementsByTagName,Le=a.importNode;let Ie={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof n&&"function"==typeof ve&&Ne&&void 0!==Ne.createHTMLDocument;const Me=J,je=X,Fe=Z,Ue=Q,$e=ee,ze=ne,We=re,Be=ae;let He=te,Ge=null;const Ke=I({},[...U,...$,...z,...B,...G]);let Ye=null;const qe=I({},[...K,...Y,...q,...V]);let Ve=Object.seal(c(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}})),Je=null,Xe=null;const Ze=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Qe=!0,et=!0,tt=!1,nt=!0,rt=!1,ot=!0,at=!1,it=!1,lt=null,st=null,ct=!1,ut=!1,dt=!1,pt=!1,ft=!0,mt=!1;const ht="user-content-";let gt=!0,vt=!1,yt={},bt=null;const wt=I({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Et=null;const xt=I({},["audio","video","img","source","image","track"]);let St=null;const Ot=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ct="http://www.w3.org/1998/Math/MathML",Tt="http://www.w3.org/2000/svg",At="http://www.w3.org/1999/xhtml";let _t=At,Rt=!1,Nt=null;const Pt=I({},[Ct,Tt,At],w),Dt=l(["mi","mo","mn","ms","mtext"]);let kt=I({},Dt);const Lt=l(["annotation-xml"]);let It=I({},Lt);const Mt=I({},["title","style","font","a","script"]);let jt=null;const Ft=["application/xhtml+xml","text/html"];let Ut=null,$t=null;const zt=o.createElement("form"),Wt=function(e){return e instanceof RegExp||e instanceof Function},Bt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if($t&&$t===e)return;e&&"object"==typeof e||(e={}),e=j(e),jt=-1===Ft.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ut="application/xhtml+xml"===jt?w:b,Ge=de(e,"ALLOWED_TAGS",Ke,{transform:Ut}),Ye=de(e,"ALLOWED_ATTR",qe,{transform:Ut}),Nt=de(e,"ALLOWED_NAMESPACES",Pt,{transform:w}),St=de(e,"ADD_URI_SAFE_ATTR",Ot,{transform:Ut,base:Ot}),Et=de(e,"ADD_DATA_URI_TAGS",xt,{transform:Ut,base:xt}),bt=de(e,"FORBID_CONTENTS",wt,{transform:Ut}),Je=de(e,"FORBID_TAGS",j({}),{transform:Ut}),Xe=de(e,"FORBID_ATTR",j({}),{transform:Ut}),yt=!!R(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?j(e.USE_PROFILES):e.USE_PROFILES),Qe=!1!==e.ALLOW_ARIA_ATTR,et=!1!==e.ALLOW_DATA_ATTR,tt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,nt=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,rt=e.SAFE_FOR_TEMPLATES||!1,ot=!1!==e.SAFE_FOR_XML,at=e.WHOLE_DOCUMENT||!1,ut=e.RETURN_DOM||!1,dt=e.RETURN_DOM_FRAGMENT||!1,pt=e.RETURN_TRUSTED_TYPE||!1,ct=e.FORCE_BODY||!1,ft=!1!==e.SANITIZE_DOM,mt=e.SANITIZE_NAMED_PROPS||!1,gt=!1!==e.KEEP_CONTENT,vt=e.IN_PLACE||!1,He=function(e){try{return P(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:te,_t="string"==typeof e.NAMESPACE?e.NAMESPACE:At,kt=R(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?j(e.MATHML_TEXT_INTEGRATION_POINTS):I({},Dt),It=R(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?j(e.HTML_INTEGRATION_POINTS):I({},Lt);const t=R(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?j(e.CUSTOM_ELEMENT_HANDLING):c(null);if(Ve=c(null),R(t,"tagNameCheck")&&Wt(t.tagNameCheck)&&(Ve.tagNameCheck=t.tagNameCheck),R(t,"attributeNameCheck")&&Wt(t.attributeNameCheck)&&(Ve.attributeNameCheck=t.attributeNameCheck),R(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(Ve.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),s(Ve),rt&&(et=!1),dt&&(ut=!0),yt&&(Ge=I({},G),Ye=c(null),!0===yt.html&&(I(Ge,U),I(Ye,K)),!0===yt.svg&&(I(Ge,$),I(Ye,Y),I(Ye,V)),!0===yt.svgFilters&&(I(Ge,z),I(Ye,Y),I(Ye,V)),!0===yt.mathMl&&(I(Ge,B),I(Ye,q),I(Ye,V))),Ze.tagCheck=null,Ze.attributeCheck=null,R(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?Ze.tagCheck=e.ADD_TAGS:y(e.ADD_TAGS)&&(Ge===Ke&&(Ge=j(Ge)),I(Ge,e.ADD_TAGS,Ut))),R(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?Ze.attributeCheck=e.ADD_ATTR:y(e.ADD_ATTR)&&(Ye===qe&&(Ye=j(Ye)),I(Ye,e.ADD_ATTR,Ut))),R(e,"ADD_URI_SAFE_ATTR")&&y(e.ADD_URI_SAFE_ATTR)&&I(St,e.ADD_URI_SAFE_ATTR,Ut),R(e,"FORBID_CONTENTS")&&y(e.FORBID_CONTENTS)&&(bt===wt&&(bt=j(bt)),I(bt,e.FORBID_CONTENTS,Ut)),R(e,"ADD_FORBID_CONTENTS")&&y(e.ADD_FORBID_CONTENTS)&&(bt===wt&&(bt=j(bt)),I(bt,e.ADD_FORBID_CONTENTS,Ut)),gt&&(Ge["#text"]=!0),at&&I(Ge,["html","head","body"]),Ge.table&&(I(Ge,["tbody"]),delete Je.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw D('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw D('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=xe;xe=e.TRUSTED_TYPES_POLICY;try{Oe=_e("")}catch(e){throw xe=t,e}}else null===e.TRUSTED_TYPES_POLICY?(xe=void 0,Oe=""):(void 0===xe&&(Ce||(Se=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(M,i),Ce=!0),xe=Se),xe&&"string"==typeof Oe&&(Oe=_e("")));l&&l(e),$t=e},Ht=I({},[...$,...z,...W]),Gt=I({},[...B,...H]),Kt=function(e){g(r.removed,{element:e});try{ve(e).removeChild(e)}catch(t){if(me(e),!ve(e))throw D("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Yt=function(e){Jt(e);const t=ge(e);if(t){const e=[];f(t,t=>{g(e,t)}),f(e,e=>{try{me(e)}catch(e){}})}const n=be(e);if(n)for(let t=n.length-1;t>=0;--t){const r=n[t],o=r&&r.name;if("string"==typeof o)try{e.removeAttribute(o)}catch(e){}}},qt=function(e,t){try{g(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ut||dt)try{Kt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Vt=function(e){const t=be(e);if(t)for(let n=t.length-1;n>=0;--n){const r=t[n],o=r&&r.name;if("string"==typeof o&&!Ye[Ut(o)])try{e.removeAttribute(o)}catch(e){}}},Jt=function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===(we?we(e):e.nodeType)&&Vt(e);const n=ge(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},Xt=function(e){let t=null,n=null;if(ct)e="<remove></remove>"+e;else{const t=E(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===jt&&_t===At&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=xe?_e(e):e;if(_t===At)try{t=(new L).parseFromString(r,jt)}catch(e){}if(!t||!t.documentElement){t=Ne.createDocument(_t,"template",null);try{t.documentElement.innerHTML=Rt?Oe:r}catch(e){}}const a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),_t===At?ke.call(t,at?"html":"body")[0]:at?t.documentElement:a},Zt=function(e){return Pe.call(e.ownerDocument||e,e,k.SHOW_ELEMENT|k.SHOW_COMMENT|k.SHOW_TEXT|k.SHOW_PROCESSING_INSTRUCTION|k.SHOW_CDATA_SECTION,null)},Qt=function(e){return e=x(e,Me," "),e=x(e,je," "),x(e,Fe," ")},en=function(e){var t;e.normalize();const n=Pe.call(e.ownerDocument||e,e,k.SHOW_TEXT|k.SHOW_COMMENT|k.SHOW_CDATA_SECTION|k.SHOW_PROCESSING_INSTRUCTION,null);let r=n.nextNode();for(;r;)r.data=Qt(r.data),r=n.nextNode();const o=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");o&&f(o,e=>{nn(e.content)&&en(e.content)})},tn=function(e){const t=Ee?Ee(e):null;return"string"==typeof t&&"form"===Ut(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==be(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==we(e)||e.childNodes!==ge(e))},nn=function(e){if(!we||"object"!=typeof e||null===e)return!1;try{return 11===we(e)}catch(e){return!1}},rn=function(e){if(!we||"object"!=typeof e||null===e)return!1;try{return"number"==typeof we(e)}catch(e){return!1}};function on(e,t,n){0!==e.length&&f(e,e=>{e.call(r,t,n,$t)})}const an=function(e,t){if(on(Ie.beforeSanitizeElements,e,null),e!==t&&null===ve(e))return!0;if(tn(e))return Kt(e),!0;const n=Ut(Ee?Ee(e):e.nodeName);if(on(Ie.uponSanitizeElement,e,{tagName:n,allowedTags:Ge}),e!==t&&null===ve(e))return!0;if(function(e,t){return!!(ot&&e.hasChildNodes()&&!rn(e.firstElementChild)&&P(ie,e.textContent)&&P(ie,e.innerHTML))||!(!ot||e.namespaceURI!==At||"style"!==t||!rn(e.firstElementChild))||7===e.nodeType||!(!ot||8!==e.nodeType||!P(le,e.data))}(e,n))return Kt(e),!0;if(Je[n]||!(Ze.tagCheck instanceof Function&&Ze.tagCheck(n))&&!Ge[n]){const t=function(e,t){if(!Je[t]&&cn(t)){if(Ve.tagNameCheck instanceof RegExp&&P(Ve.tagNameCheck,t))return!1;if(Ve.tagNameCheck instanceof Function&&Ve.tagNameCheck(t))return!1}if(gt&&!bt[t]){const t=ve(e),n=ge(e);if(n&&t)for(let r=n.length-1;r>=0;--r){const o=vt?n[r]:fe(n[r],!0);t.insertBefore(o,he(e))}}return Kt(e),!0}(e,n);return!1===t&&on(Ie.afterSanitizeElements,e,null),t}if(1===(we?we(e):e.nodeType)&&!function(e){let t=ve(e);t&&t.tagName||(t={namespaceURI:_t,tagName:"template"});const n=b(e.tagName),r=b(t.tagName);return!!Nt[e.namespaceURI]&&(e.namespaceURI===Tt?function(e,t,n){return t.namespaceURI===At?"svg"===e:t.namespaceURI===Ct?"svg"===e&&("annotation-xml"===n||kt[n]):Boolean(Ht[e])}(n,t,r):e.namespaceURI===Ct?function(e,t,n){return t.namespaceURI===At?"math"===e:t.namespaceURI===Tt?"math"===e&&It[n]:Boolean(Gt[e])}(n,t,r):e.namespaceURI===At?function(e,t,n){return!(t.namespaceURI===Tt&&!It[n])&&!(t.namespaceURI===Ct&&!kt[n])&&!Gt[e]&&(Mt[e]||!Ht[e])}(n,t,r):!("application/xhtml+xml"!==jt||!Nt[e.namespaceURI]))}(e))return Kt(e),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&P(se,e.innerHTML))return Kt(e),!0;if(rt&&3===e.nodeType){const t=Qt(e.textContent);e.textContent!==t&&(g(r.removed,{element:e.cloneNode()}),e.textContent=t)}return on(Ie.afterSanitizeElements,e,null),!1},ln=function(e,t,n){if(Xe[t])return!1;if(ot&&"patchsrc"===t)return!1;if(ot&&"for"===t&&"label"!==e&&"output"!==e)return!1;if(ft&&("id"===t||"name"===t)&&(n in o||n in zt))return!1;const r=Ye[t]||Ze.attributeCheck instanceof Function&&Ze.attributeCheck(t,e);if(et&&P(Ue,t));else if(Qe&&P($e,t));else if(r){if(St[t]);else if(P(He,x(n,We,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==S(n,"data:")||!Et[e])if(tt&&!P(ze,x(n,We,"")));else if(n)return!1}else if(!(cn(e)&&(Ve.tagNameCheck instanceof RegExp&&P(Ve.tagNameCheck,e)||Ve.tagNameCheck instanceof Function&&Ve.tagNameCheck(e))&&(Ve.attributeNameCheck instanceof RegExp&&P(Ve.attributeNameCheck,t)||Ve.attributeNameCheck instanceof Function&&Ve.attributeNameCheck(t,e))||"is"===t&&Ve.allowCustomizedBuiltInElements&&(Ve.tagNameCheck instanceof RegExp&&P(Ve.tagNameCheck,n)||Ve.tagNameCheck instanceof Function&&Ve.tagNameCheck(n))))return!1;return!0},sn=I({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),cn=function(e){return!sn[b(e)]&&P(Be,e)},un=function(e,t,n,r){if(xe&&"object"==typeof M&&"function"==typeof M.getAttributeType&&!n)switch(M.getAttributeType(e,t)){case"TrustedHTML":return _e(r);case"TrustedScriptURL":return function(e){Ae(),Te++;try{return xe.createScriptURL(e)}finally{Te--}}(r)}return r},dn=function(e,t,n,o){try{n?e.setAttributeNS(n,t,o):e.setAttribute(t,o),tn(e)?Kt(e):h(r.removed)}catch(n){qt(t,e)}},pn=function(e){on(Ie.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||tn(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ye,forceKeepAttr:void 0};let r=t.length;const o=Ut(e.nodeName);for(;r--;){const a=t[r],i=a.name,l=a.namespaceURI,s=a.value,c=Ut(i),u=s;let d="value"===i?u:O(u);n.attrName=c,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,on(Ie.uponSanitizeAttribute,e,n),d=n.attrValue,!mt||"id"!==c&&"name"!==c||0===S(d,ht)||(qt(i,e),d=ht+d),ot&&P(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)||"attributename"===c&&E(d,"href")?qt(i,e):n.forceKeepAttr||(!n.keepAttr||!nt&&P(ce,d)?qt(i,e):(rt&&(d=Qt(d)),ln(o,c,d)?(d=un(o,c,l,d),d!==u&&dn(e,i,l,d)):qt(i,e)))}on(Ie.afterSanitizeAttributes,e,null)},fn=function(e){let t=null;const n=Zt(e);for(on(Ie.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(on(Ie.uponSanitizeShadowNode,t,null),an(t,e),pn(t),nn(t.content)&&fn(t.content),1===(we?we(t):t.nodeType)){const e=ye(t);nn(e)&&(mn(e),fn(e))}on(Ie.afterSanitizeShadowDOM,e,null)},mn=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){fn(e.shadow);continue}const n=e.node,r=1===(we?we(n):n.nodeType),o=ge(n);if(o)for(let e=o.length-1;e>=0;--e)t.push({node:o[e],shadow:null});if(r){const e=Ee?Ee(n):null;if("string"==typeof e&&"template"===Ut(e)){const e=n.content;nn(e)&&t.push({node:e,shadow:null})}}if(r){const e=ye(n);nn(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,i=null,l=null;if(Rt=!e,Rt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!rn(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return C(e);case"boolean":return T(e);case"bigint":return A?A(e):"0";case"symbol":return _?_(e):"Symbol()";case"undefined":default:return N(e);case"function":case"object":{if(null===e)return N(e);const t=e,n=F(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:N(e)}return N(e)}}}(e)))throw D("dirty is not a string, aborting");if(!r.isSupported)return e;it?(Ge=lt,Ye=st):Bt(t),(Ie.uponSanitizeElement.length>0||Ie.uponSanitizeAttribute.length>0)&&(Ge=j(Ge)),Ie.uponSanitizeAttribute.length>0&&(Ye=j(Ye)),r.removed=[];const s=vt&&"string"!=typeof e&&rn(e);if(s){!function(e){if(!ot)return;const t=[e];for(;t.length>0;){const e=t.pop(),n=we?we(e):e.nodeType;if(7===n||8===n&&P(le,e.data)){try{me(e)}catch(e){}continue}if(1===n){const t=e,n=Ut(Ee?Ee(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&"label"!==n&&"output"!==n&&t.removeAttribute("for")}catch(e){}}const r=ge(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}}(e);const t=Ee?Ee(e):e.nodeName;if("string"==typeof t){const n=Ut(t);if(!Ge[n]||Je[n])throw Yt(e),D("root node is forbidden and cannot be sanitized in-place")}if(tn(e))throw Yt(e),D("root node is clobbered and cannot be sanitized in-place");try{mn(e)}catch(t){throw Yt(e),t}}else if(rn(e))n=Xt("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o),mn(o);else{if(!ut&&!rt&&!at&&-1===e.indexOf("<"))return xe&&pt?_e(e):e;if(n=Xt(e),!n)return ut?null:pt?Oe:""}n&&ct&&Kt(n.firstChild);const c=s?e:n,u=Zt(c);try{for(;i=u.nextNode();)an(i,c),pn(i),nn(i.content)&&fn(i.content)}catch(t){throw s&&(Yt(e),f(r.removed,e=>{e.element&&Jt(e.element)})),t}if(s)return f(r.removed,e=>{e.element&&Jt(e.element)}),rt&&en(e),e;if(ut){if(rt&&en(n),dt)for(l=De.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Ye.shadowroot||Ye.shadowrootmode)&&(l=Le.call(a,l,!0)),l}let d=at?n.outerHTML:n.innerHTML;return at&&Ge["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&P(oe,n.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+d),rt&&(d=Qt(d)),xe&&pt?_e(d):d},r.setConfig=function(){Bt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),it=!0,lt=Ge,st=Ye},r.clearConfig=function(){$t=null,it=!1,lt=null,st=null,xe=Se,Oe=""},r.isValidAttribute=function(e,t,n){$t||Bt({});const r=Ut(e),o=Ut(t);return ln(r,o,n)},r.addHook=function(e,t){"function"==typeof t&&R(Ie,e)&&g(Ie[e],t)},r.removeHook=function(e,t){if(R(Ie,e)){if(void 0!==t){const n=m(Ie[e],t);return-1===n?void 0:v(Ie[e],n,1)[0]}return h(Ie[e])}},r.removeHooks=function(e){R(Ie,e)&&(Ie[e]=[])},r.removeAllHooks=function(){Ie={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}()},8049(e,t,n){"use strict";var r=n(1609);"function"==typeof Object.is&&Object.is,r.useSyncExternalStore,r.useRef,r.useEffect,r.useMemo,r.useDebugValue},3721(e,t,n){"use strict";n(8049)},1609(e){"use strict";e.exports=window.React},5795(e){"use strict";e.exports=window.ReactDOM},790(e){"use strict";e.exports=window.ReactJSXRuntime},6087(e){"use strict";e.exports=window.lodash},7723(e){"use strict";e.exports=window.wp.i18n},3832(e){"use strict";e.exports=window.wp.url},2179(){},9450(e,t,n){"use strict";n.d(t,{qW:()=>m});var r,o=n(1609),a=n(9017),i=n(5299),l=n(904),s=n(1859),c=n(790),u=Object.defineProperty,d=(e,t)=>u(e,"name",{value:t,configurable:!0}),p="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),m=o.forwardRef(d(function(e,t){const{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:u=!1,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:b,onInteractOutside:w,onDismiss:E,...x}=e,S=o.useContext(f),[O,C]=o.useState(null),T=O?.ownerDocument??globalThis?.document,[,A]=o.useState({}),_=(0,l.s)(t,C),R=Array.from(S.layers),[N]=[...S.layersWithOutsidePointerEventsDisabled].slice(-1),P=N?R.indexOf(N):-1,D=O?R.indexOf(O):-1,k=S.layersWithOutsidePointerEventsDisabled.size>0,L=D>=P,I=o.useRef(!1),M=g(e=>{h?.(e),w?.(e),e.defaultPrevented||E?.()},{ownerDocument:T,deferPointerDownOutside:u,isDeferredPointerDownOutsideRef:I,dismissableSurfaces:S.dismissableSurfaces,shouldHandlePointerDownOutside:o.useCallback(e=>{if(!(e instanceof Node))return!1;const t=[...S.branches].some(t=>t.contains(e));return L&&!t},[S.branches,L])}),j=v(e=>{if(u&&I.current)return;const t=e.target;[...S.branches].some(e=>e.contains(t))||(b?.(e),w?.(e),e.defaultPrevented||E?.())},T),F=!!O&&D===R.length-1,U=(0,s.c)(e=>{"Escape"===e.key&&(m?.(e),!e.defaultPrevented&&E&&(e.preventDefault(),E()))});return o.useEffect(()=>{if(F)return T.addEventListener("keydown",U,{capture:!0}),()=>T.removeEventListener("keydown",U,{capture:!0})},[T,F,U]),o.useEffect(()=>{if(O)return n&&(0===S.layersWithOutsidePointerEventsDisabled.size&&(r=T.body.style.pointerEvents,T.body.style.pointerEvents="none"),S.layersWithOutsidePointerEventsDisabled.add(O)),S.layers.add(O),y(),()=>{n&&(S.layersWithOutsidePointerEventsDisabled.delete(O),0===S.layersWithOutsidePointerEventsDisabled.size&&(T.body.style.pointerEvents=r))}},[O,T,n,S]),o.useEffect(()=>()=>{O&&(S.layers.delete(O),S.layersWithOutsidePointerEventsDisabled.delete(O),y())},[O,S]),o.useEffect(()=>{const e=d(()=>A({}),"handleUpdate");return document.addEventListener(p,e),()=>document.removeEventListener(p,e)},[]),(0,c.jsx)(i.sG.div,{...x,ref:_,style:{pointerEvents:k?L?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.mK)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,a.mK)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,a.mK)(e.onPointerDownCapture,M.onPointerDownCapture)})},"DismissableLayer"));d(function(){const e=o.useContext(f),[t,n]=o.useState(null);return o.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n},"useDismissableLayerSurface");var h=d(()=>!0,"IS_TRUE");function g(e,t){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:a,dismissableSurfaces:i,shouldHandlePointerDownOutside:l=h}=t,c=(0,s.c)(e),u=o.useRef(!1),p=o.useRef(!1),f=o.useRef(new Map),m=o.useRef(()=>{});return o.useEffect(()=>{function e(){p.current=!1,a.current=!1,f.current.clear()}function t(){return Array.from(f.current.values()).some(Boolean)}function o(e){if(!p.current)return;const t=e.target;t instanceof Node&&[...i].some(e=>e.contains(t))||f.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{p.current&&m.current()},0)}function s(e){p.current&&f.current.set(e.type,!1)}d(e,"resetOutsideInteraction"),d(t,"isOutsideInteractionIntercepted"),d(o,"handleInteractionCapture"),d(s,"handleInteractionBubble");const h=d(o=>{if(o.target&&!u.current){let i=function(){n.removeEventListener("click",m.current);const r=t();e(),r||b("dismissableLayer.pointerDownOutside",c,s,{discrete:!0})};if(d(i,"handleAndDispatchPointerDownOutsideEvent"),!l(o.target))return n.removeEventListener("click",m.current),e(),void(u.current=!1);const s={originalEvent:o};p.current=!0,a.current=r&&0===o.button,f.current.clear(),r&&0===o.button?(n.removeEventListener("click",m.current),m.current=i,n.addEventListener("click",m.current,{once:!0})):i()}else n.removeEventListener("click",m.current),e();u.current=!1},"handlePointerDown"),g=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const e of g)n.addEventListener(e,o,!0),n.addEventListener(e,s);const v=window.setTimeout(()=>{n.addEventListener("pointerdown",h)},0);return()=>{window.clearTimeout(v),n.removeEventListener("pointerdown",h),n.removeEventListener("click",m.current);for(const e of g)n.removeEventListener(e,o,!0),n.removeEventListener(e,s)}},[n,c,r,a,i,l]),{onPointerDownCapture:d(()=>u.current=!0,"onPointerDownCapture")}}function v(e,t=globalThis?.document){const n=(0,s.c)(e),r=o.useRef(!1);return o.useEffect(()=>{const e=d(e=>{e.target&&!r.current&&b("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:d(()=>r.current=!0,"onFocusCapture"),onBlurCapture:d(()=>r.current=!1,"onBlurCapture")}}function y(){const e=new CustomEvent(p);document.dispatchEvent(e)}function b(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,i.hO)(o,a):o.dispatchEvent(a)}d(g,"usePointerDownOutside"),d(v,"useFocusOutside"),d(y,"dispatchUpdate"),d(b,"handleAndDispatchCustomEvent")},3438(e,t,n){"use strict";n.d(t,{Mz:()=>B,UC:()=>K,ZL:()=>G,bL:()=>W,l9:()=>H});var r=n(1609),o=n(9017),a=n(904),i=n(6730),l=n(9450),s=n(2385),c=n(7697),u=n(9787),d=n(759),p=n(8306),f=n(4813),m=n(5299),h=n(5612),g=n(4718),v=n(2694),y=n(6108),b=n(790),w=Object.defineProperty,E=(e,t)=>w(e,"name",{value:t,configurable:!0}),x="Popover",[S,O]=(0,i.A)(x,[d.Bk]),C=(0,d.Bk)(),[T,A]=S(x),_=E(e=>{const{__scopePopover:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:l=!1}=e,s=C(t),c=r.useRef(null),[p,f]=r.useState(!1),[m,h]=(0,g.i)({prop:o,defaultProp:a??!1,onChange:i,caller:x});return(0,b.jsx)(d.bL,{...s,children:(0,b.jsx)(T,{scope:t,contentId:(0,u.B)(),triggerRef:c,open:m,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:p,onCustomAnchorAdd:r.useCallback(()=>f(!0),[]),onCustomAnchorRemove:r.useCallback(()=>f(!1),[]),modal:l,children:n})})},"Popover"),R=r.forwardRef(E(function(e,t){const{__scopePopover:n,...o}=e,a=A("PopoverAnchor",n),i=C(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:s}=a;return r.useEffect(()=>(l(),()=>s()),[l,s]),(0,b.jsx)(d.Mz,{...i,...o,ref:t})},"PopoverAnchor")),N=r.forwardRef(E(function(e,t){const{__scopePopover:n,...r}=e,i=A("PopoverTrigger",n),l=C(n),s=(0,a.s)(t,i.triggerRef),c=(0,b.jsx)(m.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":z(i.open),...r,ref:s,onClick:(0,o.mK)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?c:(0,b.jsx)(d.Mz,{asChild:!0,...l,children:c})},"PopoverTrigger")),P="PopoverPortal",[D,k]=S(P,{forceMount:void 0}),L=E(e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=A(P,t);return(0,b.jsx)(D,{scope:t,forceMount:n,children:(0,b.jsx)(f.C,{present:n||a.open,children:(0,b.jsx)(p.Z,{asChild:!0,container:o,children:r})})})},"PopoverPortal"),I="PopoverContent",M=r.forwardRef(E(function(e,t){const n=k(I,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=A(I,e.__scopePopover);return(0,b.jsx)(f.C,{present:r||a.open,children:a.modal?(0,b.jsx)(F,{...o,ref:t}):(0,b.jsx)(U,{...o,ref:t})})},"PopoverContent")),j=(0,h.TL)("PopoverContent.RemoveScroll"),F=r.forwardRef(E(function(e,t){const n=A(I,e.__scopePopover),i=r.useRef(null),l=(0,a.s)(t,i),s=r.useRef(!1);return r.useEffect(()=>{const e=i.current;if(e)return(0,v.Eq)(e)},[]),(0,b.jsx)(y.A,{as:j,allowPinchZoom:!0,children:(0,b.jsx)($,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),s.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;s.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),U=r.forwardRef(E(function(e,t){const n=A(I,e.__scopePopover),o=r.useRef(!1),a=r.useRef(!1);return(0,b.jsx)($,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||n.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));const r=t.target,i=n.triggerRef.current?.contains(r);i&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})},"PopoverContentNonModal")),$=r.forwardRef(E(function(e,t){const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:m,...h}=e,g=A(I,n),v=C(n);return(0,s.Oh)(),(0,b.jsx)(c.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,b.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:m,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:f,onDismiss:()=>g.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,b.jsx)(d.UC,{"data-state":z(g.open),role:"dialog",id:g.contentId,...v,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})},"PopoverContentImpl"));function z(e){return e?"open":"closed"}E(z,"getState");var W=_,B=R,H=N,G=L,K=M},759(e,t,n){"use strict";n.d(t,{Bk:()=>v,Mz:()=>N,UC:()=>P,bL:()=>R});var r=n(1609),o=n(9472),a=n(9716),i=n(904),l=n(6730),s=n(5299),c=n(1859),u=n(7341),d=n(4011),p=n(790),f=Object.defineProperty,m=(e,t)=>f(e,"name",{value:t,configurable:!0}),h="Popper",[g,v]=(0,l.A)(h),[y,b]=g(h),w=m(e=>{const{__scopePopper:t,children:n}=e,[o,a]=r.useState(null),[i,l]=r.useState(void 0);return(0,p.jsx)(y,{scope:t,anchor:o,onAnchorChange:a,placementState:i,setPlacementState:l,children:n})},"Popper"),E=r.forwardRef(m(function(e,t){const{__scopePopper:n,virtualRef:o,...a}=e,l=b("PopperAnchor",n),c=r.useRef(null),u=l.onAnchorChange,d=r.useCallback(e=>{c.current=e,e&&u(e)},[u]),f=(0,i.s)(t,d),m=r.useRef(null);r.useEffect(()=>{if(!o)return;const e=m.current;m.current=o.current,e!==m.current&&u(m.current)});const h=l.placementState&&_(l.placementState),g=h?.[0],v=h?.[1];return o?null:(0,p.jsx)(s.sG.div,{"data-radix-popper-side":g,"data-radix-popper-align":v,...a,ref:f})},"PopperAnchor")),x="PopperContent",[S,O]=g(x),C=r.forwardRef(m(function(e,t){const{__scopePopper:n,side:l="bottom",sideOffset:f=0,align:h="center",alignOffset:g=0,arrowPadding:v=0,avoidCollisions:y=!0,collisionBoundary:w=[],collisionPadding:E=0,sticky:O="partial",hideWhenDetached:C=!1,updatePositionStrategy:R="optimized",onPlaced:N,...P}=e,D=b(x,n),[k,L]=r.useState(null),I=(0,i.s)(t,L),[M,j]=r.useState(null),F=(0,d.X)(M),U=F?.width??0,$=F?.height??0,z=l+("center"!==h?"-"+h:""),W="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},B=Array.isArray(w)?w:[w],H=B.length>0,G={padding:W,boundary:B.filter(T),altBoundary:H},{refs:K,floatingStyles:Y,placement:q,isPositioned:V,middlewareData:J}=(0,o.we)({strategy:"fixed",placement:z,whileElementsMounted:m((...e)=>(0,a.ll)(...e,{animationFrame:"always"===R}),"whileElementsMounted"),elements:{reference:D.anchor},middleware:[(0,o.cY)({mainAxis:f+$,alignmentAxis:g}),y&&(0,o.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===O?(0,o.ER)():void 0,...G}),y&&(0,o.UU)({...G}),(0,o.Ej)({...G,apply:m(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:a}=t.reference,i=e.floating.style;i.setProperty("--radix-popper-available-width",`${n}px`),i.setProperty("--radix-popper-available-height",`${r}px`),i.setProperty("--radix-popper-anchor-width",`${o}px`),i.setProperty("--radix-popper-anchor-height",`${a}px`)},"apply")}),M&&(0,o.UE)({element:M,padding:v}),A({arrowWidth:U,arrowHeight:$}),C&&(0,o.jD)({strategy:"referenceHidden",...G,boundary:H?G.boundary:void 0})]}),X=D.setPlacementState;(0,u.N)(()=>(X(q),()=>{X(void 0)}),[q,X]);const[Z,Q]=_(q),ee=(0,c.c)(N);(0,u.N)(()=>{V&&ee?.()},[V,ee]);const te=J.arrow?.x,ne=J.arrow?.y,re=0!==J.arrow?.centerOffset,[oe,ae]=r.useState();return(0,u.N)(()=>{k&&ae(window.getComputedStyle(k).zIndex)},[k]),(0,p.jsx)("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:V?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:oe,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(" "),...J.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,p.jsx)(S,{scope:n,placedSide:Z,placedAlign:Q,onArrowChange:j,arrowX:te,arrowY:ne,shouldHideArrow:re,children:(0,p.jsx)(s.sG.div,{"data-side":Z,"data-align":Q,...P,ref:I,style:{...P.style,animation:V?P.style?.animation:"none"}})})})},"PopperContent"));function T(e){return null!==e}m(T,"isNotNull");var A=m(e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,a=0!==o.arrow?.centerOffset,i=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[s,c]=_(n),u={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+i/2,p=(o.arrow?.y??0)+l/2;let f="",m="";return"bottom"===s?(f=a?u:`${d}px`,m=-l+"px"):"top"===s?(f=a?u:`${d}px`,m=`${r.floating.height+l}px`):"right"===s?(f=-l+"px",m=a?u:`${p}px`):"left"===s&&(f=`${r.floating.width+l}px`,m=a?u:`${p}px`),{data:{x:f,y:m}}}}),"transformOrigin");function _(e){const[t,n="center"]=e.split("-");return[t,n]}m(_,"getSideAndAlignFromPlacement");var R=w,N=E,P=C},5612(e,t,n){"use strict";let r;n.d(t,{TL:()=>s});var o=n(1609),a=n(904),i=Object.defineProperty,l=(e,t)=>i(e,"name",{value:t,configurable:!0});function s(e){const t=o.forwardRef((t,n)=>{let{children:r,...i}=t,l=null,s=!1;const c=[];h(r)&&"function"==typeof b&&(r=b(r._payload)),o.Children.forEach(r,e=>{if(f(e)){s=!0;const t=e;let n="child"in t.props?t.props.child:t.props.children;h(n)&&"function"==typeof b&&(n=b(n._payload)),l=u(t,n),c.push(l?.props?.children)}else c.push(e)}),l?l=o.cloneElement(l,void 0,c):!s&&1===o.Children.count(r)&&o.isValidElement(r)&&(l=r);const m=l?p(l):void 0,g=(0,a.s)(n,m);if(!l){if(r||0===r)throw new Error(s?y(e):v(e));return r}const w=d(i,l.props??{});return l.type!==o.Fragment&&(w.ref=n?g:m),o.cloneElement(l,w)});return t.displayName=`${e}.Slot`,t}l(s,"createSlot");var c=Symbol.for("radix.slottable");l(function(e){const t=l(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=c,t},"createSlottable");var u=l((e,t)=>{if("child"in e.props){const t=e.props.child;return o.isValidElement(t)?o.cloneElement(t,void 0,e.props.children(t.props.children)):null}return o.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function d(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{const t=a(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function p(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function f(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}l(d,"mergeProps"),l(p,"getElementRef"),l(f,"isSlottable");var m=Symbol.for("react.lazy");function h(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===m&&"_payload"in e&&g(e._payload)}function g(e){return"object"==typeof e&&null!==e&&"then"in e}l(h,"isLazyComponent"),l(g,"isPromiseLike");var v=l(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),y=l(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),b=(r||(r=n.t(o,2)))[" use ".trim().toString()]},2982(e,t,n){"use strict";n.d(t,{k5:()=>r.k});var r=n(9774);n(9322)},2704(e,t,n){"use strict";n.d(t,{Kq:()=>p});var r=n(1609);n(3721);var o={notify(){},get:()=>[]};var a=(()=>!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement))(),i=(()=>"undefined"!=typeof navigator&&"ReactNative"===navigator.product)(),l=(()=>a||i?r.useLayoutEffect:r.useEffect)();Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var s=Symbol.for("react-redux-context"),c="undefined"!=typeof globalThis?globalThis:{};function u(){if(!r.createContext)return{};const e=c[s]??=new Map;let t=e.get(r.createContext);return t||(t=r.createContext(null),e.set(r.createContext,t)),t}var d=u(),p=function(e){const{children:t,context:n,serverState:a,store:i}=e,s=r.useMemo(()=>{const e=function(e,t){let n,r=o,a=0,i=!1;function l(){u.onStateChange&&u.onStateChange()}function s(){a++,n||(n=t?t.addNestedSub(l):e.subscribe(l),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){(()=>{let t=e;for(;t;)t.callback(),t=t.next})()},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function c(){a--,n&&0===a&&(n(),n=void 0,r.clear(),r=o)}const u={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),c())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:l,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,s())},tryUnsubscribe:function(){i&&(i=!1,c())},getListeners:()=>r};return u}(i);return{store:i,subscription:e,getServerState:a?()=>a:void 0}},[i,a]),c=r.useMemo(()=>i.getState(),[i]);l(()=>{const{subscription:e}=s;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),c!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[s,c]);const u=n||d;return r.createElement(u.Provider,{value:s},t)}},7431(e,t,n){"use strict";let r;n.d(t,{N_:()=>Me,x$:()=>ne,zy:()=>Z});var o=n(1609),a=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,i=/^[\\/]{2}/;function l(e,t){if(!1===e||null==e)throw new Error(t)}function s(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function c({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function u(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function d(e,t,n="/"){return p(e,t,n,!1)}function p(e,t,n,r,o){let a=x(("string"==typeof t?u(t):t).pathname||"/",n);if(null==a)return null;let i=o??function(e){let t=f(e);return function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(t),t}(e),l=null,c=function(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return s(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}(a);for(let e=0;null==l&&e<i.length;++e)l=y(i[e],c,r);return l}function f(e,t=[],n=[],r="",o=!1){let a=(e,a,i=o,s)=>{let c={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&i)return;l(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let u=_([r,c.relativePath]),d=n.concat(c);e.children&&e.children.length>0&&(l(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),f(e.children,t,d,u,i)),(null!=e.path||e.index)&&t.push({path:u,score:v(u,e.index),routesMeta:d.map((e,t)=>{let[n,r]=E(e.relativePath,e.caseSensitive,t===d.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of m(e.path))a(e,t,!0,n);else a(e,t)}),t}function m(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return o?[a,""]:[a];let i=m(r.join("/")),l=[];return l.push(...i.map(e=>""===e?a:[a,e].join("/"))),o&&l.push(...i),l.map(t=>e.startsWith("/")&&""===t?"/":t)}new WeakMap;var h=/^:[\w-]+$/,g=e=>"*"===e;function v(e,t){let n=e.split("/"),r=n.length;return n.some(g)&&(r+=-2),t&&(r+=2),n.filter(e=>!g(e)).reduce((e,t)=>e+(h.test(t)?3:""===t?1:10),r)}function y(e,t,n=!1){let{routesMeta:r}=e,o={},a="/",i=[];for(let e=0;e<r.length;++e){let l=r[e],s=e===r.length-1,c="/"===a?t:t.slice(a.length)||"/",u={path:l.relativePath,caseSensitive:l.caseSensitive,end:s},d=l.matcher&&l.compiledParams?w(u,c,l.matcher,l.compiledParams):b(u,c),p=l.route;if(!d&&s&&n&&!r[r.length-1].route.index&&(d=b({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;Object.assign(o,d.params),i.push({params:o,pathname:_([a,d.pathname]),pathnameBase:N(_([a,d.pathnameBase])),route:p}),"/"!==d.pathnameBase&&(a=_([a,d.pathnameBase]))}return i}function b(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=E(e.path,e.caseSensitive,e.end);return w(e,t,n,r)}function w(e,t,n,r){let o=t.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=l[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=l[r];return e[t]=n&&!o?void 0:(o||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:i,pattern:e}}function E(e,t=!1,n=!0){s("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n,o,a)=>{if(r.push({paramName:t,isOptional:null!=n}),n){let t=a.charAt(o+e.length);return t&&"/"!==t?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function x(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function S(e,t){let n=R(t).split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function O(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function C(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function T(e,t,n,r=!1){let o;"string"==typeof e?o=u(e):(o={...e},l(!o.pathname||!o.pathname.includes("?"),O("?","pathname","search",o)),l(!o.pathname||!o.pathname.includes("#"),O("#","pathname","hash",o)),l(!o.search||!o.search.includes("#"),O("#","search","hash",o)));let a,i=""===e||""===o.pathname,s=i?"/":o.pathname;if(null==s)a=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e,t="/"){let n,{pathname:r,search:o="",hash:a=""}="string"==typeof e?u(e):e;return r?(r=A(r),n=r.startsWith("/")?S(r.substring(1),"/"):S(r,t)):n=t,{pathname:n,search:P(o),hash:D(a)}}(o,a),d=s&&"/"!==s&&s.endsWith("/"),p=(i||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!d&&!p||(c.pathname+="/"),c}var A=e=>e.replace(/[\\/]{2,}/g,"/"),_=e=>A(e.join("/")),R=e=>e.replace(/\/+$/,""),N=e=>R(e).replace(/^\/*/,"/"),P=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",D=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",k=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function L(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function I(e){let t=e.map(e=>e.route.path).filter(Boolean);return _(t)||"/"}var M="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function j(e,t){let n=e;if("string"!=typeof n||!a.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(M)try{let e=new URL(window.location.href),r=i.test(n)?new URL((l=n,e.protocol+l.replace(/\\/g,"/"))):new URL(n),a=x(r.pathname,t);r.origin===e.origin&&null!=a?n=a+r.search+r.hash:o=!0}catch(e){s(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}var l;return{absoluteURL:r,isExternal:o,to:n}}Symbol("Uninstrumented"),Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var F=["POST","PUT","PATCH","DELETE"],U=(new Set(F),["GET",...F]);new Set(U),Symbol("ResetLoaderData"),new WeakMap,new WeakMap,new WeakMap,new WeakMap;var $=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];var z=o.createContext(null);z.displayName="DataRouter";var W=o.createContext(null);W.displayName="DataRouterState";var B=o.createContext(!1);function H(){return o.useContext(B)}var G=o.createContext({isTransitioning:!1});G.displayName="ViewTransition",o.createContext(new Map).displayName="Fetchers",o.createContext(null).displayName="Await";var K=o.createContext(null);K.displayName="Navigation";var Y=o.createContext(null);Y.displayName="Location";var q=o.createContext({outlet:null,matches:[],isDataRoute:!1});q.displayName="Route";var V=o.createContext(null);V.displayName="RouteError";var J="REACT_ROUTER_ERROR";function X(){return null!=o.useContext(Y)}function Z(){return l(X(),"useLocation() may be used only in the context of a <Router> component."),o.useContext(Y).location}var Q="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ee(e){o.useContext(K).static||o.useLayoutEffect(e)}function te(){let{isDataRoute:e}=o.useContext(q);return e?function(){let{router:e}=function(e){let t=o.useContext(z);return l(t,ue(e)),t}("useNavigate"),t=de("useNavigate"),n=o.useRef(!1);return ee(()=>{n.current=!0}),o.useCallback(async(r,o={})=>{s(n.current,Q),n.current&&("number"==typeof r?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...o}))},[e,t])}():function(){l(X(),"useNavigate() may be used only in the context of a <Router> component.");let e=o.useContext(z),{basename:t,navigator:n}=o.useContext(K),{matches:r}=o.useContext(q),{pathname:a}=Z(),i=JSON.stringify(C(r)),c=o.useRef(!1);return ee(()=>{c.current=!0}),o.useCallback((r,o={})=>{if(s(c.current,Q),!c.current)return;if("number"==typeof r)return void n.go(r);let l=T(r,JSON.parse(i),a,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:_([t,l.pathname])),(o.replace?n.replace:n.push)(l,o.state,o)},[t,n,i,a,e])}()}function ne(e,{relative:t}={}){let{matches:n}=o.useContext(q),{pathname:r}=Z(),a=JSON.stringify(C(n));return o.useMemo(()=>T(e,JSON.parse(a),r,"path"===t),[e,a,r,t])}function re(e,t,n){l(X(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=o.useContext(K),{matches:a}=o.useContext(q),i=a[a.length-1],c=i?i.params:{},p=i?i.pathname:"/",f=i?i.pathnameBase:"/",m=i&&i.route;{let e=m&&m.path||"";fe(p,!m||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let h,g=Z();if(t){let e="string"==typeof t?u(t):t;l("/"===f||e.pathname?.startsWith(f),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${e.pathname}" was given in the \`location\` prop.`),h=e}else h=g;let v=h.pathname||"/",y=v;if("/"!==f){let e=f.replace(/^\//,"").split("/");y="/"+v.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):d(e,{pathname:y});s(m||null!=b,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),s(null==b||void 0!==b[b.length-1].route.element||void 0!==b[b.length-1].route.Component||void 0!==b[b.length-1].route.lazy,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=function(e,t=[],n){let r=n?.state;if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let a=e,i=r?.errors;if(null!=i){let e=a.findIndex(e=>e.route.id&&void 0!==i?.[e.route.id]);l(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let s=!1,c=-1;if(n&&r){s=r.renderFallback;for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:o}=r,i=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!o||void 0===o[t.route.id]);if(t.route.lazy||i){n.isStatic&&(s=!0),a=c>=0?a.slice(0,c+1):[a[0]];break}}}}let u=n?.onError,d=r&&u?(e,t)=>{u(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:I(r.matches),errorInfo:t})}:void 0;return a.reduceRight((e,n,l)=>{let u,p=!1,f=null,m=null;r&&(u=i&&n.route.id?i[n.route.id]:void 0,f=n.route.errorElement||ae,s&&(c<0&&0===l?(fe("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),p=!0,m=null):c===l&&(p=!0,m=n.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,l+1)),g=()=>{let t;return t=u?f:p?m:n.route.Component?o.createElement(n.route.Component,null):n.route.element?n.route.element:e,o.createElement(ce,{match:n,routeContext:{outlet:e,matches:h,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===l)?o.createElement(ie,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:g(),routeContext:{outlet:null,matches:h,isDataRoute:!0},onError:d}):g()},null)}(b&&b.map(e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:_([f,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?f:_([f,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),a,n);return t&&w?o.createElement(Y.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...h},navigationType:"POP"}},w):w}function oe(){let e=function(){let e=o.useContext(V),t=function(e){let t=o.useContext(W);return l(t,ue(e)),t}("useRouteError"),n=de("useRouteError");return void 0!==e?e:t.errors?.[n]}(),t=L(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=o.createElement(o.Fragment,null,o.createElement("p",null,"💿 Hey developer 👋"),o.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",o.createElement("code",{style:i},"ErrorBoundary")," or"," ",o.createElement("code",{style:i},"errorElement")," prop on your route.")),o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),n?o.createElement("pre",{style:a},n):null,s)}o.createContext(null);var ae=o.createElement(oe,null),ie=class extends o.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(e){if(e.startsWith(`${J}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new k(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let t=void 0!==e?o.createElement(q.Provider,{value:this.props.routeContext},o.createElement(V.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?o.createElement(se,{error:e},t):t}};ie.contextType=B;var le=new WeakMap;function se({children:e,error:t}){let{basename:n}=o.useContext(K);if("object"==typeof t&&t&&"digest"in t&&"string"==typeof t.digest){let e=function(e){if(e.startsWith(`${J}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(t.digest);if(e){let r=le.get(t);if(r)throw r;let a=j(e.location,n),i=a.absoluteURL||a.to;if(function(e){try{return $.includes(new URL(e).protocol)}catch{return!1}}(i))throw new Error("Invalid redirect location");if(M&&!le.get(t)){if(!a.isExternal&&!e.reloadDocument){const n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw le.set(t,n),n}window.location.href=i}return o.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i}`})}}return e}function ce({routeContext:e,match:t,children:n}){let r=o.useContext(z);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),o.createElement(q.Provider,{value:e},n)}function ue(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function de(e){let t=function(e){let t=o.useContext(q);return l(t,ue(e)),t}(e),n=t.matches[t.matches.length-1];return l(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var pe={};function fe(e,t,n){t||pe[e]||(pe[e]=!0,s(!1,n))}(r||(r=n.t(o,2))).useOptimistic,o.memo(function({routes:e,manifest:t,future:n,state:r,isStatic:o,onError:a}){return re(e,void 0,{manifest:t,state:r,isStatic:o,onError:a,future:n})}),o.Component;var me="get",he="application/x-www-form-urlencoded";function ge(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}var ve=null,ye=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function be(e){return null==e||ye.has(e)?e:(s(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${he}"`),null)}function we(e,t){if(!1===e||null==e)throw new Error(t)}function Ee(e,t,n,r){let o="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:"/"===o.pathname?o.pathname=`_root.${r}`:t&&"/"===x(o.pathname,t)?o.pathname=`${R(t)}/_root.${r}`:o.pathname=`${R(o.pathname)}.${r}`,o}function xe(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Se(e,t,n,r,o,a){let i=(e,t)=>!n[t]||e.route.id!==n[t].route.id,l=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===a?t.filter((e,t)=>i(e,t)||l(e,t)):"data"===a?t.filter((t,a)=>{let s=r.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(i(t,a)||l(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function Oe(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let o=[r.module];return r.clientActionModule&&(o=o.concat(r.clientActionModule)),r.clientLoaderModule&&(o=o.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(o=o.concat(r.hydrateFallbackModule)),r.imports&&(o=o.concat(r.imports)),o}).flat(1),[...new Set(r)];var r}function Ce(){let e=o.useContext(z);return we(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Te(){let e=o.useContext(W);return we(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0"),Symbol("SingleFetchRedirect");var Ae=o.createContext(void 0);function _e(){let e=o.useContext(Ae);return we(e,"You must render this element inside a <HydratedRouter> element"),e}function Re(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Ne({page:e,...t}){let n=H(),{nonce:r}=_e(),{router:a}=Ce(),i=o.useMemo(()=>d(a.routes,e,a.basename),[a.routes,e,a.basename]);return i?(null==t.nonce&&r&&(t={...t,nonce:r}),n?o.createElement(De,{page:e,matches:i,...t}):o.createElement(ke,{page:e,matches:i,...t})):null}function Pe(e){let{manifest:t,routeModules:n}=_e(),[r,a]=o.useState([]);return o.useEffect(()=>{let r=!1;return async function(e,t,n){return function(e,t){let n=new Set,r=new Set(t);return e.reduce((e,o)=>{if(t&&(null==(a=o)||"string"!=typeof a.page)&&"script"===o.as&&o.href&&r.has(o.href))return e;var a;let i=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(o));return n.has(i)||(n.add(i),e.push({key:i,link:o})),e},[])}((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(xe).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}(e,t,n).then(e=>{r||a(e)}),()=>{r=!0}},[e,t,n]),r}function De({page:e,matches:t,...n}){let r=Z(),{future:a}=_e(),{basename:i}=Ce(),l=o.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=Ee(e,i,a.v8_trailingSlashAwareDataRequests,"rsc"),o=!1,l=[];for(let e of t)"function"==typeof e.route.shouldRevalidate?o=!0:l.push(e.route.id);return o&&l.length>0&&n.searchParams.set("_routes",l.join(",")),[n.pathname+n.search]},[i,a.v8_trailingSlashAwareDataRequests,e,r,t]);return o.createElement(o.Fragment,null,l.map(e=>o.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})))}function ke({page:e,matches:t,...n}){let r=Z(),{future:a,manifest:i,routeModules:l}=_e(),{basename:s}=Ce(),{loaderData:c,matches:u}=Te(),d=o.useMemo(()=>Se(e,t,u,i,r,"data"),[e,t,u,i,r]),p=o.useMemo(()=>Se(e,t,u,i,r,"assets"),[e,t,u,i,r]),f=o.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,o=!1;if(t.forEach(e=>{let t=i.routes[e.route.id];t&&t.hasLoader&&(!d.some(t=>t.route.id===e.route.id)&&e.route.id in c&&l[e.route.id]?.shouldRevalidate||t.hasClientLoader?o=!0:n.add(e.route.id))}),0===n.size)return[];let u=Ee(e,s,a.v8_trailingSlashAwareDataRequests,"data");return o&&n.size>0&&u.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[u.pathname+u.search]},[s,a.v8_trailingSlashAwareDataRequests,c,r,i,d,t,e,l]),m=o.useMemo(()=>Oe(p,i),[p,i]),h=Pe(p);return o.createElement(o.Fragment,null,f.map(e=>o.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),m.map(e=>o.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),h.map(({key:e,link:t})=>o.createElement("link",{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}Ae.displayName="FrameworkContext";function Le(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}o.Component;var Ie="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Ie&&(window.__reactRouterVersion="7.18.2")}catch(e){}var Me=o.forwardRef(function({onClick:e,discover:t="render",prefetch:n="none",relative:r,reloadDocument:i,replace:s,mask:u,state:d,target:p,to:f,preventScrollReset:m,viewTransition:h,defaultShouldRevalidate:g,...v},y){let{basename:b,navigator:w,useTransitions:E}=o.useContext(K),x="string"==typeof f&&a.test(f),S=j(f,b),O=function(e,{relative:t}={}){l(X(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=o.useContext(K),{hash:a,pathname:i,search:s}=ne(e,{relative:t}),c=i;return"/"!==n&&(c="/"===i?n:_([n,i])),r.createHref({pathname:c,search:s,hash:a})}(f=S.to,{relative:r}),C=Z(),A=null;if(u){let e=T(u,[],C.mask?C.mask.pathname:"/",!0);"/"!==b&&(e.pathname="/"===e.pathname?b:_([b,e.pathname])),A=w.createHref(e)}let[R,N,P]=function(e,t){let n=o.useContext(Ae),[r,a]=o.useState(!1),[i,l]=o.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:u,onMouseLeave:d,onTouchStart:p}=t,f=o.useRef(null);o.useEffect(()=>{if("render"===e&&l(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{l(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),o.useEffect(()=>{if(r){let e=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(e)}}},[r]);let m=()=>{a(!0)},h=()=>{a(!1),l(!1)};return n?"intent"!==e?[i,f,{}]:[i,f,{onFocus:Re(s,m),onBlur:Re(c,h),onMouseEnter:Re(u,m),onMouseLeave:Re(d,h),onTouchStart:Re(p,m)}]:[!1,f,{}]}(n,v),D=function(e,{target:t,replace:n,mask:r,state:a,preventScrollReset:i,relative:l,viewTransition:s,defaultShouldRevalidate:u,useTransitions:d}={}){let p=te(),f=Z(),m=ne(e,{relative:l});return o.useCallback(h=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(h,t)){h.preventDefault();let t=void 0!==n?n:c(f)===c(m),g=()=>p(e,{replace:t,mask:r,state:a,preventScrollReset:i,relative:l,viewTransition:s,defaultShouldRevalidate:u});d?o.startTransition(()=>g()):g()}},[f,p,m,n,r,a,t,e,i,l,s,u,d])}(f,{replace:s,mask:u,state:d,target:p,preventScrollReset:m,relative:r,viewTransition:h,defaultShouldRevalidate:g,useTransitions:E}),k=!(S.isExternal||i),L=o.createElement("a",{...v,...P,href:(k?A:void 0)||S.absoluteURL||O,onClick:k?function(t){e&&e(t),t.defaultPrevented||D(t)}:e,ref:Le(y,N),target:p,"data-discover":x||"render"!==t?void 0:"true"});return R&&!x?o.createElement(o.Fragment,null,L,o.createElement(Ne,{page:O})):L});function je(e){let t=o.useContext(z);return l(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}Me.displayName="Link",o.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:r=!1,style:a,to:i,viewTransition:s,children:c,...u},d){let p=ne(i,{relative:u.relative}),f=Z(),m=o.useContext(W),{navigator:h,basename:g}=o.useContext(K),v=null!=m&&function(e,{relative:t}={}){let n=o.useContext(G);l(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=je("useViewTransitionState"),a=ne(e,{relative:t});if(!n.isTransitioning)return!1;let i=x(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=x(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=b(a.pathname,s)||null!=b(a.pathname,i)}(p)&&!0===s,y=h.encodeLocation?h.encodeLocation(p).pathname:p.pathname,w=f.pathname,E=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;t||(w=w.toLowerCase(),E=E?E.toLowerCase():null,y=y.toLowerCase()),E&&g&&(E=x(E,g)||E);const S="/"!==y&&y.endsWith("/")?y.length-1:y.length;let O,C=w===y||!r&&w.startsWith(y)&&"/"===w.charAt(S),T=null!=E&&(E===y||!r&&E.startsWith(y)&&"/"===E.charAt(y.length)),A={isActive:C,isPending:T,isTransitioning:v},_=C?e:void 0;O="function"==typeof n?n(A):[n,C?"active":null,T?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let R="function"==typeof a?a(A):a;return o.createElement(Me,{...u,"aria-current":_,className:O,ref:d,style:R,to:i,viewTransition:s},"function"==typeof c?c(A):c)}).displayName="NavLink",o.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:s,method:u=me,action:d,onSubmit:p,relative:f,preventScrollReset:m,viewTransition:h,defaultShouldRevalidate:g,...v},y)=>{let{useTransitions:b}=o.useContext(K),w=function(){let{router:e}=je("useSubmit"),{basename:t}=o.useContext(K),n=de("useRouteId"),r=e.fetch,a=e.navigate;return o.useCallback(async(e,o={})=>{let{action:i,method:l,encType:s,formData:c,body:u}=function(e,t){let n,r,o,a,i;if(ge(l=e)&&"form"===l.tagName.toLowerCase()){let i=e.getAttribute("action");r=i?x(i,t):null,n=e.getAttribute("method")||me,o=be(e.getAttribute("enctype"))||he,a=new FormData(e)}else if(function(e){return ge(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return ge(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(r=l?x(l,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||me,o=be(e.getAttribute("formenctype"))||be(i.getAttribute("enctype"))||he,a=new FormData(i,e),!function(){if(null===ve)try{new FormData(document.createElement("form"),0),ve=!1}catch(e){ve=!0}return ve}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,r)}}else{if(ge(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=me,r=null,o=he,i=e}var l;return a&&"text/plain"===o&&(i=a,a=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:a,body:i}}(e,t);if(!1===o.navigate){let e=o.fetcherKey||`__${String(++Fe)}__`;await r(e,n,o.action||i,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:c,body:u,formMethod:o.method||l,formEncType:o.encType||s,flushSync:o.flushSync})}else await a(o.action||i,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:c,body:u,formMethod:o.method||l,formEncType:o.encType||s,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[r,a,t,n])}(),E=function(e,{relative:t}={}){let{basename:n}=o.useContext(K),r=o.useContext(q);l(r,"useFormAction must be used inside a RouteContext");let[a]=r.matches.slice(-1),i={...ne(e||".",{relative:t})},s=Z();if(null==e){i.search=s.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();i.search=n?`?${n}`:""}}return e&&"."!==e||!a.route.index||(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(i.pathname="/"===i.pathname?n:_([n,i.pathname])),c(i)}(d,{relative:f}),S="get"===u.toLowerCase()?"get":"post",O="string"==typeof d&&a.test(d);return o.createElement("form",{ref:y,method:S,action:E,onSubmit:r?p:e=>{if(p&&p(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,a=r?.getAttribute("formmethod")||u,l=()=>w(r||e.currentTarget,{fetcherKey:t,method:a,navigate:n,replace:i,state:s,relative:f,preventScrollReset:m,viewTransition:h,defaultShouldRevalidate:g});b&&!1!==n?o.startTransition(()=>l()):l()},...v,"data-discover":O||"render"!==e?void 0:"true"})}).displayName="Form";var Fe=0}};const t={};function n(r){const o=t[r];if(void 0!==o)return o.exports;const a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.m=e,(()=>{const e=[];n.O=(t,r,o,a)=>{if(r){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];return void(e[i]=[r,o,a])}let l=1/0;for(i=0;i<e.length;i++){let[r,o,a]=e[i],c=!0;for(var s=0;s<r.length;s++)(!1&a||l>=a)&&Object.keys(n.O).every(e=>n.O[e](r[s]))?r.splice(s--,1):(c=!1,a<l&&(l=a));if(c){e.splice(i--,1);const n=o();void 0!==n&&(t=n)}}return t}})(),n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{const e=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;let t;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}const a=Object.create(null);n.r(a);const i={};t=t||[null,e({}),e([]),e(e)];for(var l=2&o&&r;("object"==typeof l||"function"==typeof l)&&!~t.indexOf(l);l=e(l))Object.getOwnPropertyNames(l).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,n.d(a,i),a}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var o=t[r++],a=t[r++];n.o(e,o)?0===a&&r++:0===a?Object.defineProperty(e,o,{enumerable:!0,value:t[r++]}):Object.defineProperty(e,o,{enumerable:!0,get:a})}else for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.hasOwn(e,t),n.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=221,n.cjs=e=>{const t={exports:{}};return e.call(t.exports,t,t.exports),t.exports},(()=>{let e;globalThis.importScripts&&(e=globalThis.location+"");const t=globalThis.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const n=t.getElementsByTagName("script");if(n.length){let t=n.length-1;for(;t>-1&&(!e||!/^http(s?):/.test(e));)e=n[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../"})(),(()=>{const e={221:0};n.O.j=t=>0===e[t];const t=(t,r)=>{let[o,a,i]=r;var l,s,c=0;if(o.some(t=>0!==e[t])){for(l in a)n.o(a,l)&&(n.m[l]=a[l]);if(i)var u=i(n)}for(t&&t(r);c<o.length;c++)s=o[c],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return n.O(u)},r=globalThis.webpackChunktemplately||=[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0;let r=n.O(void 0,[113],()=>n(3933));r=n.O(r)})();