diff --git a/build/main.asset.php b/build/main.asset.php index 36afb7fd6..c62e3819f 100644 --- a/build/main.asset.php +++ b/build/main.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-api-fetch', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '78ef91a4006c2bfcc3fd'); + array('react', 'react-dom', 'wp-api-fetch', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '90fa05f2b19bb4954b56'); diff --git a/build/main.js b/build/main.js index 4ecf9d4e5..f18fefbe4 100644 --- a/build/main.js +++ b/build/main.js @@ -169,5 +169,5 @@ to { > * { pointer-events: auto; } -`,IQ=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:o,containerStyle:i,containerClassName:a})=>{let{toasts:l,handlers:c}=(e=>{let{toasts:t,pausedAt:n}=((e={})=>{let[t,n]=(0,s.useState)(aQ),r=(0,s.useRef)(aQ);(0,s.useEffect)((()=>(r.current!==aQ&&n(aQ),iQ.push(n),()=>{let e=iQ.indexOf(n);e>-1&&iQ.splice(e,1)})),[]);let o=t.toasts.map((t=>{var n,r,o;return{...e,...e[t.type],...t,removeDelay:t.removeDelay||(null==(n=e[t.type])?void 0:n.removeDelay)||(null==e?void 0:e.removeDelay),duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||lQ[t.type],style:{...e.style,...null==(o=e[t.type])?void 0:o.style,...t.style}}}));return{...t,toasts:o}})(e);(0,s.useEffect)((()=>{if(n)return;let e=Date.now(),r=t.map((t=>{if(t.duration===1/0)return;let n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(n<0))return setTimeout((()=>uQ.dismiss(t.id)),n);t.visible&&uQ.dismiss(t.id)}));return()=>{r.forEach((e=>e&&clearTimeout(e)))}}),[t,n]);let r=(0,s.useCallback)((()=>{n&&sQ({type:6,time:Date.now()})}),[n]),o=(0,s.useCallback)(((e,n)=>{let{reverseOrder:r=!1,gutter:o=8,defaultPosition:i}=n||{},a=t.filter((t=>(t.position||i)===(e.position||i)&&t.height)),s=a.findIndex((t=>t.id===e.id)),l=a.filter(((e,t)=>te.visible)).slice(...r?[l+1]:[0,l]).reduce(((e,t)=>e+(t.height||0)+o),0)}),[t]);return(0,s.useEffect)((()=>{t.forEach((e=>{if(e.dismissed)((e,t=1e3)=>{if(pQ.has(e))return;let n=setTimeout((()=>{pQ.delete(e),sQ({type:4,toastId:e})}),t);pQ.set(e,n)})(e.id,e.removeDelay);else{let t=pQ.get(e.id);t&&(clearTimeout(t),pQ.delete(e.id))}}))}),[t]),{toasts:t,handlers:{updateHeight:dQ,startPause:fQ,endPause:r,calculateOffset:o}}})(n);return s.createElement("div",{id:"_rht_toaster",style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...i},className:a,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map((n=>{let i=n.position||t,a=((e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:rQ()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...o}})(i,c.calculateOffset(n,{reverseOrder:e,gutter:r,defaultPosition:t}));return s.createElement(MQ,{id:n.id,key:n.id,onHeightUpdate:c.updateHeight,className:n.visible?DQ:"",style:a},"custom"===n.type?tQ(n.message,n):o?o(n):s.createElement(NQ,{toast:n,position:i}))})))},RQ=uQ,LQ=[{id:"1",title:(0,HZ.__)("Option 1 (Recommended)","header-footer-elementor"),description:(0,HZ.__)("This option will automatically replace your theme's header and footer files with custom templates from the plugin. It works with most themes and is selected by default.","header-footer-elementor"),value:"1"},{id:"2",title:(0,HZ.__)("Option 2","header-footer-elementor"),description:(0,HZ.__)("This option will automatically replace your theme's header and footer files with custom templates from the plugin. It works with most themes and is selected by default.","header-footer-elementor"),value:"2"}];const FQ=function(){if("no"===hfeSettingsData.show_theme_support)return null;var e=a((0,s.useState)(hfeSettingsData.theme_option),2),t=e[0],n=e[1],r=a((0,s.useState)(!0),2),o=r[0],i=r[1];(0,s.useEffect)((function(){i(!1)}),[]);var l=function(e){var t=e.target.value;n(t),o||u(t)},u=function(){var e=SJ(EJ().mark((function e(t){var n;return EJ().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(hfe_admin_data.ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"save_theme_compatibility_option",hfe_compatibility_option:t,nonce:hfe_admin_data.nonce})});case 3:return n=e.sent,e.next=6,n.json();case 6:e.sent.success?RQ.success((0,HZ.__)("Settings saved successfully!","header-footer-elementor")):RQ.error((0,HZ.__)("Failed to save settings!","header-footer-elementor")),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),RQ.error((0,HZ.__)("Failed to save settings!","header-footer-elementor"));case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t){return e.apply(this,arguments)}}();return c().createElement(c().Fragment,null,c().createElement(wi,{description:"",icon:null,iconPosition:"right",size:"sm",tag:"h2",title:(0,HZ.__)("Theme Support","header-footer-elementor")}),c().createElement(Kp,{align:"stretch",className:"bg-background-primary p-6 rounded-lg",containerType:"flex",direction:"column",gap:"sm",justify:"start",style:{marginTop:"24px",maxWidth:"696px"}},c().createElement(Kp.Item,{className:"flex flex-col space-y-1"},c().createElement("p",{className:"text-base font-semibold m-0"},(0,HZ.__)("Select Option to Add Theme Support","header-footer-elementor")),c().createElement("p",{className:"text-sm font-normal m-0"},(0,HZ.__)("To ensure compatibility between the header/footer and your theme, please choose one of the following options to enable theme support:","header-footer-elementor"))),c().createElement(Kp.Item,{className:"p-2 space-y-4",alignSelf:"auto",order:"none"},LQ.map((function(e){return c().createElement("div",{key:e.id,className:"flex items-start gap-1 justify-center cursor-pointer"},c().createElement("input",{id:e.id,value:e.value,type:"radio",className:"mt-1 cursor-pointer hfe-radio-field",name:"theme-support-option",onChange:l,checked:t===e.value}),c().createElement("div",{className:"flex flex-col cursor-pointer"},c().createElement(Ze,{size:"sm",variant:"neutral",className:"text-sm font-semibold text-text-secondary cursor-pointer flex flex-col items-start justify-start",htmlFor:e.id},e.title,":",c().createElement("p",{className:"m-0 text-sm font-normal text-text-secondary cursor-pointer"},e.description))))}))),c().createElement("div",{className:"flex items-center p-4 border rounded-lg text-start",style:{paddingTop:"16px",paddingBottom:"16px",backgroundColor:"#F3F0FF"}},c().createElement("p",{className:"m-0 text-sm"},c().createElement("strong",null,(0,HZ.__)("Note:","header-footer-elementor"))," ",(0,HZ.__)("If neither option works, please contact your theme author to add support for this plugin.","header-footer-elementor")))),c().createElement(IQ,{position:"top-right",reverseOrder:!1,gutter:8,containerStyle:{top:20,right:20,marginTop:"80px"},toastOptions:{duration:5e3,style:{background:"white"},success:{duration:3e3,style:{color:""},iconTheme:{primary:"#6005ff",secondary:"#fff"}}}}))},zQ=function(){var e=hfeSettingsData.uaelite_versions,t=(0,s.useRef)(e?e[0].value:""),n=a((0,s.useState)(e?e[0].value:""),2),r=n[0],o=n[1],i=a((0,s.useState)("elementor-header-footer"),2),l=(i[0],i[1]),u=a((0,s.useState)(!1),2),d=u[0],f=u[1];return(0,s.useEffect)((function(){}),[d]),c().createElement(c().Fragment,null,c().createElement(wi,{description:"",icon:null,iconPosition:"right",size:"sm",tag:"h2",title:(0,HZ.__)("Version Control","header-footer-elementor")}),c().createElement("div",{className:"box-border bg-background-primary p-6 rounded-lg",style:{marginTop:"24px"}},c().createElement(Kp,{align:"center",className:"flex flex-col lg:flex-row",containerType:"flex",direction:"column",gap:"sm",justify:"start"},c().createElement(Kp.Item,{className:"shrink flex flex-col space-y-1"},c().createElement("p",{className:"text-base font-semibold m-0"},(0,HZ.__)("Rollback to Previous Version","header-footer-elementor")),c().createElement("p",{className:"text-sm font-normal m-0"},(0,HZ.__)("Experiencing an issue with current version? Roll back to a previous version to help troubleshoot the issue.","header-footer-elementor"))),c().createElement(Kp.Item,{className:"p-2 flex space-y-4",alignSelf:"auto",order:"none"},c().createElement("div",{className:"bsf-rollback-version"},c().createElement("input",{type:"hidden",name:"product-name",id:"bsf-product-name",value:"header-footer-elementor"}),c().createElement("select",{id:"uaeliteVersionRollback",ref:t,onBlur:function(){l("elementor-header-footer")},onChange:function(e){o(e.target.value)},style:{padding:"8px",marginRight:"10px",marginTop:"16px",cursor:"pointer",borderRadius:"4px",height:"40px",width:"100px",outline:"none",boxShadow:"none"},onFocus:function(e){return e.target.style.borderColor="#6005FF"}},e.map((function(e){return c().createElement("option",{key:e.value,value:e.value},e.label)})))),c().createElement("div",{className:"flex flex-col cursor-pointer"},c().createElement(vw,{design:"simple",exitOnEsc:!0,scrollLock:!0,open:d,setOpen:f,trigger:c().createElement(Xe,{style:{backgroundColor:"#6005ff"}},(0,HZ.__)("Rollback","header-footer-elementor"))},c().createElement(vw.Backdrop,null),c().createElement(vw.Panel,null,c().createElement(vw.Header,null,c().createElement("div",{className:"flex items-center justify-between"},c().createElement(vw.Title,null,(0,HZ.__)("Rollback to Previous Version","header-footer-elementor")),c().createElement(vw.CloseButton,null))),c().createElement(vw.Body,null,(0,HZ.__)("Are you sure you want to rollback to Ultimate Addons for Elementor v".concat(r,"?"),"header-footer-elementor")),c().createElement(vw.Footer,null,c().createElement(Xe,{onClick:function(){var e=hfeSettingsData.uaelite_rollback_url.replace("VERSION",r);f(!1),window.location.href=e}},(0,HZ.__)("Rollback","header-footer-elementor")),c().createElement(Xe,{onClick:function(){f(!1)}},(0,HZ.__)("Cancel","header-footer-elementor"))))))))))},BQ=function(){return c().createElement(c().Fragment,null,c().createElement(wi,{description:"",icon:null,iconPosition:"right",size:"sm",tag:"h2",title:(0,HZ.__)("My Account","header-footer-elementor")}),c().createElement(Kp,{align:"stretch",className:"bg-background-primary p-6 rounded-lg",containerType:"flex",direction:"column",gap:"sm",justify:"start",style:{marginTop:"24px"}},c().createElement(Kp.Item,{className:"flex flex-col space-y-2"},c().createElement("p",{className:"text-base font-semibold m-0"},(0,HZ.__)("License Key","header-footer-elementor")),c().createElement("p",{className:"text-sm font-normal m-0"},(0,HZ.__)("You are using the free version of Ultimate Addons for Elementor, no license key is needed.. "))),c().createElement("div",{className:"flex items-center justify-between px-4 rounded-xl",style:{paddingTop:"6px",paddingBottom:"6px",backgroundColor:"#F3F0FF"}},c().createElement("span",{className:"flex items-center gap-x-2 text-base font-semibold"},(0,HZ.__)("Unlock Pro Features","header-footer-elementor"),c().createElement("p",{className:"text-base font-normal"},(0,HZ.__)("Get access to advanced blocks and premium features.","header-footer-elementor"))),c().createElement(Xe,{icon:c().createElement(BZ,null),iconPosition:"right",variant:"link",style:{color:"#6005FF",borderColor:"#6005FF",transition:"color 0.3s ease, border-color 0.3s ease",fontSize:"16px"},className:"hfe-remove-ring text-[#6005FF]",onClick:function(){window.open("https://ultimateelementor.com/pricing/?utm_source=uae-lite-settings&utm_medium=My-accounts&utm_campaign=uae-lite-upgrade","_blank")}},(0,HZ.__)("Upgrade Now","header-footer-elementor")))))},WQ=function(){var e=[{id:1,icon:c().createElement("img",{src:"".concat(hfeSettingsData.user_url),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),selected:c().createElement("img",{src:"".concat(hfeSettingsData.user__selected_url),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),title:(0,HZ.__)("My Account","header-footer-elementor"),content:c().createElement(BQ,null)},{id:2,icon:c().createElement("img",{src:"".concat(hfeSettingsData.theme_url),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),selected:c().createElement("img",{src:"".concat(hfeSettingsData.theme_url_selected),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),main:(0,HZ.__)("Editor","header-footer-elementor"),title:(0,HZ.__)("Theme Support","header-footer-elementor"),content:c().createElement(FQ,null)},{id:3,icon:c().createElement("img",{src:"".concat(hfeSettingsData.version_url),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),selected:c().createElement("img",{src:"".concat(hfeSettingsData.version__selected_url),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),main:(0,HZ.__)("Utilities","header-footer-elementor"),title:(0,HZ.__)("Version Control","header-footer-elementor"),content:c().createElement(zQ,null)}].filter((function(e){return"no"!==hfeSettingsData.show_theme_support||2!==e.id})),t=a((0,s.useState)((function(){var t=localStorage.getItem("hfeSelectedItemId");return e.find((function(e){return e.id===Number(t)}))||e[0]})),2),n=t[0],r=t[1];return(0,s.useEffect)((function(){localStorage.setItem("hfeSelectedItemId",n.id.toString())}),[n]),(0,s.useEffect)((function(){var t=new URLSearchParams(window.location.search).get("tab");if(t){var n=Number(t),o=e.find((function(e){return e.id===n}));o&&r(o)}}),[]),c().createElement(c().Fragment,null,c().createElement(nJ,{onSettingsTabClick:function(){r(e[0])}}),c().createElement("div",{className:""},c().createElement(Kp,{align:"stretch",className:"p-1 flex-col lg:flex-row hfe-settings-page",containerType:"flex",direction:"row",gap:"sm",justify:"start",style:{height:"100%"}},c().createElement(Kp.Item,{className:"p-2 hfe-sticky-outer-wrapper",alignSelf:"auto",order:"none",shrink:1,style:{backgroundColor:"#ffffff"}},c().createElement("div",{className:"hfe-sticky-sidebar"},c().createElement(zJ,{items:e,onSelectItem:function(e){r(e)},selectedItemId:n.id}))),c().createElement(Kp.Item,{className:"p-2 flex w-full justify-center items-start hfe-hide-scrollbar",alignSelf:"auto",order:"none",shrink:1,style:{height:"calc(100vh - 1px)",overflowY:"auto"}},c().createElement("div",{className:"hfe-78-width"},c().createElement(BJ,{selectedItem:n}))))))},VQ=zZ("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),UQ=function(){var e=[{title:(0,HZ.__)("Essentials","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("White Label Option","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("24/7 Premium Support","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Cross-Domain Copy-Paste","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Dynamic Header & Footer Widgets","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Post Info","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:2,content:(0,HZ.__)("Scroll to Top","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:3,content:(0,HZ.__)("Breadcrumbs","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:4,content:(0,HZ.__)("Retina Logo","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:5,content:(0,HZ.__)("Copyright","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:6,content:(0,HZ.__)("Page Title","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:7,content:(0,HZ.__)("Site Tagline","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:8,content:(0,HZ.__)("Site Logo","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:9,content:(0,HZ.__)("Search","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:10,content:(0,HZ.__)("Navigation Menu","header-footer-elementor"),iconFree:!0,iconPro:!1}]},{title:(0,HZ.__)("Creative & Advanced Design Widgets","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Advanced Heading","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Dual Color Heading","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Fancy Heading","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Multi-Button","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:5,content:(0,HZ.__)("Image Hotspots","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Content & Media Widgets","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Content Toggle Button","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Image Gallery","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Video Gallery","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Table","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:5,content:(0,HZ.__)("Timeline","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:6,content:(0,HZ.__)("Google Map","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:7,content:(0,HZ.__)("Before & After Slider","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:8,content:(0,HZ.__)("Info Box","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:9,content:(0,HZ.__)("Video","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:10,content:(0,HZ.__)("Conditional Display","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:11,content:(0,HZ.__)("Login Form","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:12,content:(0,HZ.__)("User Registeration Form","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Marketing & Engagement Widgets","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Marketing Button","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Pricing Table","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Price List","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Countdown Timer","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:5,content:(0,HZ.__)("Business Hours","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:6,content:(0,HZ.__)("Modal Popup","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("E-Commerce Integration","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("WooCommerce: Add to Cart","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("WooCommerce: Product Category","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("WooCommerce: Mini Cart","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("WooCommerce: Product","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:5,content:(0,HZ.__)("WooCommerce: Checkout","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Forms Integration","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Contact Form 7","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Gravity Forms","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("WPForms","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Fluent Forms","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("SEO Widgets","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("FAQ with Schema","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("How-To","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Table of Contents","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Business Reviews","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Creative Features","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Presets","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Welcome Music","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Particles","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Party Propz","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:5,content:(0,HZ.__)("Shape Divider","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Social Media Integration","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Instagram Feed","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Twitter Feed","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Social Share","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Advanced Features","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Retina Image","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Team Member","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Post Layout","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Off Canvas","header-footer-elementor"),iconFree:!1,iconPro:!0}]}],t=function(e){return e?c().createElement(xJ,{color:"#16A34A"}):c().createElement(VQ,{color:"#DC2626"})};return c().createElement("div",{className:"rounded-lg bg-white w-full mb-6"},c().createElement("div",{className:"flex items-center justify-between p-5",style:{paddingBottom:"0"}},c().createElement("div",{className:"flex flex-col"},c().createElement("p",{className:"m-0 text-xl font-semibold pt-4 text-text-primary"},(0,HZ.__)("Free Vs Pro","header-footer-elementor")),c().createElement("p",{className:"m-0 text-sm font-normal pt-1 text-text-secondary"},(0,HZ.__)("Ultimate Addons for Elementor Pro offers 50+ widgets and features!","header-footer-elementor")),c().createElement("p",{className:"m-0 text-sm font-normal pt-1 text-text-secondary"},(0,HZ.__)("Compare the popular features/widgets to find the best option for your website.","header-footer-elementor"))),c().createElement("div",{className:"flex items-center gap-x-2 mr-7"},c().createElement(Xe,{iconPosition:"right",variant:"primary",style:{color:"white",borderColor:"#6005FF",transition:"color 0.3s ease, border-color 0.3s ease",backgroundColor:"#6005ff"},className:"hfe-remove-ring text-[#6005FF]",onClick:function(){window.open("https://ultimateelementor.com/pricing/?utm_source=uae-lite-FreevsPro&utm_medium=get-uae-pro&utm_campaign=uae-lite-upgrade","_blank")}},(0,HZ.__)("Upgrade Now","header-footer-elementor")))),c().createElement("div",{className:"px-4"},c().createElement("div",{className:"flex flex-col space-y-2 pt-5"},e.map((function(e){return c().createElement(c().Fragment,{key:e.title},c().createElement("div",{className:"flex fle-row py-4 px-5 items-center h-4 justify-between rounded-lg shadow-container-item",style:{backgroundColor:"#F9FAFB"}},c().createElement("p",{className:"text-sm text-text-primary font-medium"},e.title),c().createElement("div",{className:"flex flex-row items-center",style:{gap:"12rem"}},c().createElement("p",{className:"text-sm text-text-primary font-medium"},(0,HZ.__)("Free","header-footer-elementor")),c().createElement("p",{className:"text-sm text-text-primary font-medium",style:{marginRight:"50px"}},(0,HZ.__)("Pro","header-footer-elementor")))),e.items.map((function(e){return c().createElement("div",{key:e.id,className:"flex fle-row py-4 px-5 items-center h-4 justify-between rounded-lg shadow-container-item"},c().createElement("p",{className:"text-sm text-text-secondary font-medium"},e.content),c().createElement("div",{className:"flex flex-row items-center justify-between",style:{gap:10===e.id&&e.content===(0,HZ.__)("Navigation Menu","header-footer-elementor")?"10.7rem":"12rem"}},c().createElement("p",{className:"text-sm text-text-primary font-medium"},10===e.id&&e.content===(0,HZ.__)("Navigation Menu","header-footer-elementor")?e.iconPro?(0,HZ.__)("Advanced","header-footer-elementor"):(0,HZ.__)("Basic","header-footer-elementor"):t(e.iconFree)),c().createElement("p",{className:"text-sm text-text-primary font-medium",style:{marginRight:10===e.id&&e.content===(0,HZ.__)("Navigation Menu","header-footer-elementor")?"25px":"50px"}},10===e.id&&e.content===(0,HZ.__)("Navigation Menu","header-footer-elementor")?e.iconPro?(0,HZ.__)("Basic","header-footer-elementor"):(0,HZ.__)("Advanced","header-footer-elementor"):t(e.iconPro))))})))})))))},$Q=function(){var e=[{id:1,icon:"",title:(0,HZ.__)("Modal Popup","header-footer-elementor")},{id:2,icon:"",title:(0,HZ.__)("Advanced Heading","header-footer-elementor")},{id:3,icon:"",title:(0,HZ.__)("Post Layouts","header-footer-elementor")},{id:4,icon:"",title:(0,HZ.__)("Info Box","header-footer-elementor")},{id:5,icon:"",title:(0,HZ.__)("Pricing Cards","header-footer-elementor")},{id:6,icon:"",title:(0,HZ.__)("Form Stylers and more...","header-footer-elementor")}];return c().createElement("div",{className:"",style:{paddingBottom:"16px"}},c().createElement(Kp,{className:"bg-background-primary gap-1 p-4 border-[0.5px] border-subtle rounded-xl shadow-sm",containerType:"flex",direction:"column",justify:"between",gap:"xs"},c().createElement(Kp.Item,{className:"flex flex-col justify-center items-center"},c().createElement("img",{src:"".concat(hfeSettingsData.column_url),alt:(0,HZ.__)("Column Showcase","header-footer-elementor"),className:"h-auto rounded w-1/2"})),c().createElement(Kp.Item,{className:"flex flex-col justify-between"},c().createElement("div",null,c().createElement(wi,{description:"",icon:c().createElement(bJ,null),iconPosition:"left",size:"xs",tag:"h6",title:(0,HZ.__)("Unlock Ultimate Features","header-footer-elementor"),className:"text-xs font-semibold text-brand-primary-600"}),c().createElement(wi,{description:"",icon:"",iconPosition:"left",tag:"h6",title:(0,HZ.__)("Create Stunning Designs with the Pro Version!","header-footer-elementor"),className:"py-1 text-sm"}),c().createElement("p",{className:"text-md m-0 text-text-secondary"},(0,HZ.__)("Get access to advanced widgets and features to create the website that stands out!","header-footer-elementor"))),c().createElement("div",{className:"grid grid-cols-2 grid-flow-row gap-1 my-4"},e.map((function(e){return c().createElement(wi,{key:e.id,description:"",icon:c().createElement(xJ,{className:"text-brand-primary-600 mr-1 h-3 w-3"}),iconPosition:"left",size:"xs",tag:"h6",title:e.title,className:"text-md m-0 text-text-secondary hfe-compare-section"})}))),c().createElement("div",{className:""},c().createElement(Xe,{iconPosition:"right",variant:"secondary",className:"hfe-remove-ring",style:{width:"100%"},onClick:function(){window.open("https://ultimateelementor.com/pricing/?utm_source=uae-lite-free-vs-pro&utm_medium=My-accounts&utm_campaign=uae-lite-upgrade","_blank")}},(0,HZ.__)("Upgrade Now","header-footer-elementor"))))))},HQ=function(){return c().createElement(c().Fragment,null,c().createElement(nJ,null),c().createElement("div",null,c().createElement(Kp,{align:"stretch",className:"p-6 flex-col lg:flex-row box-border",containerType:"flex",direction:"row",gap:"sm",justify:"start",style:{width:"100%"}},c().createElement(Kp.Item,{className:"p-2 hfe-65-width",alignSelf:"auto",order:"none",shrink:0},c().createElement(UQ,null)),c().createElement(Kp.Item,{className:"p-2 w-full hfe-35-width",shrink:1},c().createElement($Q,null),c().createElement(PJ,null),c().createElement(hJ,null)))))},qQ=function(e){var t=e.setCurrentStep;return c().createElement("div",{className:"bg-background-primary border-[0.5px] items-start justify-center border-subtle rounded-xl shadow-sm mb-6 p-8 flex flex-col",style:{maxWidth:"55%"}},c().createElement("div",{className:"px-1"},c().createElement("div",{className:"flex flex-col"},c().createElement("h1",{className:"text-text-primary m-0 mb-2 hfe-65-width",style:{fontSize:"1.6rem",lineHeight:"1.3em"}},c().createElement("span",{className:"block"},(0,HZ.__)("Thank You For Choosing","header-footer-elementor")),c().createElement("span",{className:"block"},(0,HZ.__)("Ultimate Addons for Elementor","header-footer-elementor"))),c().createElement("span",{className:"text-md font-medium text-text-tertiary m-0 mb-6 hfe-88-width",style:{lineHeight:"1.5em"}},(0,HZ.__)("We're excited to have you onboard. Get ready to create stunning headers, footers, and custom blocks with ease while keeping your website lightweight and fast.","header-footer-elementor"))),c().createElement("img",{alt:"Welcome",className:"w-full h-auto mb-6 mt-2",src:"".concat(hfeSettingsData.welcome_banner),loading:"lazy"}),c().createElement(Xe,{iconPosition:"right",variant:"primary",className:"bg-[#6005FF] hfe-remove-ring p-3 px-5 font-bold mt-2",style:{backgroundColor:"#6005FF",transition:"background-color 0.3s ease"},onMouseEnter:function(e){return e.currentTarget.style.backgroundColor="#4B00CC"},onMouseLeave:function(e){return e.currentTarget.style.backgroundColor="#6005FF"},onClick:function(){return t(2)}},(0,HZ.__)("Let's Get Started","header-footer-elementor"))))},KQ=zZ("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),YQ=zZ("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]),XQ=function(e){e.setCurrentStep;var t=a((0,s.useState)(!1),2),n=t[0],r=t[1],o=a((0,s.useState)(""),2),i=o[0],l=o[1],u=a((0,s.useState)(!1),2),d=(u[0],u[1]),f=a((0,s.useState)(!0),2),p=f[0],h=f[1];(0,s.useEffect)((function(){l(hfeSettingsData.user_email),h("yes"===hfeSettingsData.analytics_status),history.pushState(null,"",window.location.href);var e=function(e){e.preventDefault(),localStorage.setItem("currentStep","2"),window.location.reload()};return window.addEventListener("popstate",e),function(){window.removeEventListener("popstate",e)}}),[hfeSettingsData.user_email]);var m=function(){var e=SJ(EJ().mark((function e(){var t,n;return EJ().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(t=!p),e.prev=2,e.next=5,fetch(hfe_admin_data.ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"save_analytics_option",bsf_analytics_optin:t?"yes":"no",nonce:hfe_admin_data.nonce})});case 5:return n=e.sent,e.next=8,n.json();case 8:e.sent.success?RQ.success((0,HZ.__)("Settings saved successfully!","header-footer-elementor")):RQ.error((0,HZ.__)("Failed to save settings!","header-footer-elementor")),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),RQ.error((0,HZ.__)("Failed to save settings!","header-footer-elementor"));case 15:case"end":return e.stop()}}),e,null,[[2,12]])})));return function(){return e.apply(this,arguments)}}();return c().createElement("div",{className:"bg-background-primary border-[0.5px] border-subtle rounded-xl shadow-sm mb-6 p-8",style:{maxWidth:"55%"}},c().createElement("div",{className:"flex items-start hfe-display-flex"},c().createElement("div",{className:"flex flex-col items-start",style:{paddingRight:"35px"}},c().createElement("h1",{className:"text-text-primary m-0 mb-2",style:{fontSize:"1.6rem",lineHeight:"1.3em"}},(0,HZ.__)("You're all set!🚀","header-footer-elementor")),c().createElement("span",{className:"text-md font-medium text-text-tertiary m-0 mb-4 hfe-88-width",style:{lineHeight:"1.6em"}},(0,HZ.__)("Start creating headers, footers, or pages with UAE and take your website to the next level","header-footer-elementor")),c().createElement("span",{className:"font-bold m-0 pt-2"},(0,HZ.__)("Here’s how to get started:","header-footer-elementor")),c().createElement("ol",{className:"list-decimal text-text-tertiary text-sm",style:{marginLeft:"1.4em",lineHeight:"1.6em",paddingBottom:"0.5rem"}},c().createElement("li",null,(0,HZ.__)("Click on “Create” button","header-footer-elementor")),c().createElement("li",null,(0,HZ.__)("Choose the type of template you want to create and customize the selected option","header-footer-elementor")),c().createElement("li",null,(0,HZ.__)("Use the Elementor editor to customize your template according to your preferences using UAE widgets","header-footer-elementor")),c().createElement("li",null,(0,HZ.__)("Click “Publish” to make it live","header-footer-elementor")))),c().createElement("div",{className:"w-1/2",style:{textAlign:"end"}},c().createElement("img",{alt:"Build",className:"w-full object-contain",style:{height:"255px",width:"auto"},src:"".concat(hfeSettingsData.build_banner),loading:"lazy"}))),c().createElement("div",{className:"flex flex-row gap-1 pb-4 hfe-display-flex"},c().createElement(Xe,{icon:c().createElement(KQ,null),iconPosition:"right",variant:"primary",className:"bg-[#6005FF] hfe-remove-ring",style:{backgroundColor:"#6005FF",transition:"background-color 0.3s ease"},onMouseEnter:function(e){return e.currentTarget.style.backgroundColor="#4B00CC"},onMouseLeave:function(e){return e.currentTarget.style.backgroundColor="#6005FF"},onClick:function(){window.open(hfeSettingsData.hfe_post_url,"_self")}},(0,HZ.__)("Create Header/Footer","header-footer-elementor")),c().createElement(D,{to:qZ.dashboard.path},c().createElement(Xe,{icon:c().createElement(KQ,null),iconPosition:"right",variant:"ghost",className:"hfe-remove-ring",onMouseLeave:function(e){return(e.currentTarget.style.color="#000000")&&(e.currentTarget.style.borderColor="#000000")},onMouseEnter:function(e){return(e.currentTarget.style.color="#6005FF")&&(e.currentTarget.style.borderColor="#6005FF")}},(0,HZ.__)("Go To Dashboard","header-footer-elementor")))),c().createElement("div",{className:"flex items-start justify-start mt-4",loading:"lazy",style:{backgroundImage:"url(".concat(hfeSettingsData.special_reward,")"),backgroundSize:"cover",backgroundPosition:"center",borderRadius:"5px"}},c().createElement("div",{className:"flex flex-col p-6 items-start"},c().createElement("h3",{className:"font-bold text-text-primary mt-0 mb-1",style:{lineHeight:"1.3em"}},(0,HZ.__)("We have a special reward just for you!","header-footer-elementor")),c().createElement("span",{className:"font-medium text-text-secondary mt-2 mb-6"},(0,HZ.__)("Unlock your surprise now","header-footer-elementor")),c().createElement(Xe,{className:"hfe-remove-ring hfe-span hfe-popup-button",icon:c().createElement(YQ,{"aria-label":"icon",role:"img"}),iconPosition:"right",size:"md",tag:"button",type:"button",variant:"link",style:{alignItems:"center",justifyContent:"flex-start",color:"#6005FF"},onClick:function(){return r(!0)}},(0,HZ.__)("Unlock My Surprise","header-footer-elementor")))),c().createElement("hr",{className:"w-full border-b-0 border-x-0 border-t border-solid border-t-border-subtle",style:{marginTop:"34px",marginBottom:"34px",borderColor:"#E5E7EB"}}),c().createElement("div",{className:"bg-badge-background-gray border-[0.5px] border-subtle p-6",style:{borderRadius:"5px"}},c().createElement("div",{className:"flex flex-row items-center justify-start px-1 gap-3"},c().createElement(Qe,{onChange:m,size:"sm",value:p,className:"hfe-remove-ring"}),c().createElement("span",{className:"font-bold text-text-primary m-0"},(0,HZ.__)("Help make UAE Better","header-footer-elementor"))),c().createElement(IQ,{position:"top-right",reverseOrder:!1,gutter:8,containerStyle:{top:20,right:20,marginTop:"40px"},toastOptions:{duration:1e3,style:{background:"white"},success:{duration:2e3,style:{color:""},iconTheme:{primary:"#6005ff",secondary:"#fff"}}}}),c().createElement("span",{className:"flex flex-row items-center justify-start mt-4 gap-3",style:{lineHeight:"1.5em",fontSize:"0.95em"}},(0,HZ.__)("Help us improve by sharing anonymous data about your website setup. This includes non-sensitive info about plugins, themes, and settings, so we can create a better product for you. Your privacy is always our top priority. Learn more in our privacy policy.","header-footer-elementor"))),c().createElement(vw,{design:"simple",open:n,setOpen:r},c().createElement(vw.Backdrop,null),c().createElement(vw.Panel,null,c().createElement(vw.Header,{style:{padding:"30px",marginBottom:"0.5rem"}},c().createElement("div",{className:"flex items-center justify-between"},c().createElement("div",{className:"flex items-center justify-center"},c().createElement(vw.Title,{style:{fontSize:"1.6rem",width:"80%",lineHeight:"1.3em"}},(0,HZ.__)("We have a special Reward just for you! 🎁","header-footer-elementor")),c().createElement(Xe,{icon:c().createElement(VQ,{className:"size-10"}),iconPosition:"right",size:"md",variant:"ghost",className:"hfe-remove-ring",onClick:function(){return r(!1)},style:{marginLeft:"60px",marginBottom:"20px",paddingTop:"0"}}))),c().createElement(vw.Description,{style:{width:"90%",color:"#64748B"}},(0,HZ.__)("Enter your email address to get special offer that we have for you and stay updated on UAE’s latest news and updates.","header-footer-elementor")),c().createElement("p",{className:"text-md font-bold text-field-label m-0 gap-0",style:{fontSize:"14px",marginTop:"1.5em"}},(0,HZ.__)("Email Address","header-footer-elementor")),c().createElement("div",{className:"flex flex-row gap-2"},c().createElement("input",{type:"email",placeholder:"".concat(hfeSettingsData.user_email),value:i,className:"h-12",style:{width:"282px"},onChange:function(e){e&&e.target&&l(e.target.value)}}),c().createElement(Xe,{iconPosition:"right",variant:"primary",className:"bg-[#6005FF] hfe-remove-ring",style:{backgroundColor:"#6005FF",transition:"background-color 0.3s ease"},onMouseEnter:function(e){return e.currentTarget.style.backgroundColor="#4B00CC"},onMouseLeave:function(e){return e.currentTarget.style.backgroundColor="#6005FF"},onClick:function(){/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i)?(d(!0),function(e){var t=(new Date).toISOString().split("T")[0],n=new URLSearchParams({email:e,date:t});fetch("".concat("https://webhook.suretriggers.com/suretriggers/4cb01209-5164-4521-93c1-360df407d83b","?").concat(n.toString()),{method:"POST"}).then((function(e){return e.json()})).then((function(e){console.log("Webhook call successful:",e)})).catch((function(e){console.error("Error calling webhook:",e)}))}(i),window.location.href=hfeSettingsData.onboarding_success_url):RQ.error((0,HZ.__)("Please enter a valid email address","header-footer-elementor"))}},(0,HZ.__)("Submit Email","header-footer-elementor")))),c().createElement(IQ,{position:"top-right",reverseOrder:!1,gutter:8,containerStyle:{top:20,right:20,marginTop:"40px"},toastOptions:{duration:1e3,style:{background:"white"},success:{duration:2e3,style:{color:""},iconTheme:{primary:"#6005ff",secondary:"#fff"}}}}))))},GQ=zZ("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);function ZQ(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 JQ(e){for(var t=1;t{let{toasts:l,handlers:c}=(e=>{let{toasts:t,pausedAt:n}=((e={})=>{let[t,n]=(0,s.useState)(aQ),r=(0,s.useRef)(aQ);(0,s.useEffect)((()=>(r.current!==aQ&&n(aQ),iQ.push(n),()=>{let e=iQ.indexOf(n);e>-1&&iQ.splice(e,1)})),[]);let o=t.toasts.map((t=>{var n,r,o;return{...e,...e[t.type],...t,removeDelay:t.removeDelay||(null==(n=e[t.type])?void 0:n.removeDelay)||(null==e?void 0:e.removeDelay),duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||lQ[t.type],style:{...e.style,...null==(o=e[t.type])?void 0:o.style,...t.style}}}));return{...t,toasts:o}})(e);(0,s.useEffect)((()=>{if(n)return;let e=Date.now(),r=t.map((t=>{if(t.duration===1/0)return;let n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(n<0))return setTimeout((()=>uQ.dismiss(t.id)),n);t.visible&&uQ.dismiss(t.id)}));return()=>{r.forEach((e=>e&&clearTimeout(e)))}}),[t,n]);let r=(0,s.useCallback)((()=>{n&&sQ({type:6,time:Date.now()})}),[n]),o=(0,s.useCallback)(((e,n)=>{let{reverseOrder:r=!1,gutter:o=8,defaultPosition:i}=n||{},a=t.filter((t=>(t.position||i)===(e.position||i)&&t.height)),s=a.findIndex((t=>t.id===e.id)),l=a.filter(((e,t)=>te.visible)).slice(...r?[l+1]:[0,l]).reduce(((e,t)=>e+(t.height||0)+o),0)}),[t]);return(0,s.useEffect)((()=>{t.forEach((e=>{if(e.dismissed)((e,t=1e3)=>{if(pQ.has(e))return;let n=setTimeout((()=>{pQ.delete(e),sQ({type:4,toastId:e})}),t);pQ.set(e,n)})(e.id,e.removeDelay);else{let t=pQ.get(e.id);t&&(clearTimeout(t),pQ.delete(e.id))}}))}),[t]),{toasts:t,handlers:{updateHeight:dQ,startPause:fQ,endPause:r,calculateOffset:o}}})(n);return s.createElement("div",{id:"_rht_toaster",style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...i},className:a,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map((n=>{let i=n.position||t,a=((e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:rQ()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...o}})(i,c.calculateOffset(n,{reverseOrder:e,gutter:r,defaultPosition:t}));return s.createElement(MQ,{id:n.id,key:n.id,onHeightUpdate:c.updateHeight,className:n.visible?DQ:"",style:a},"custom"===n.type?tQ(n.message,n):o?o(n):s.createElement(NQ,{toast:n,position:i}))})))},RQ=uQ,LQ=[{id:"1",title:(0,HZ.__)("Option 1 (Recommended)","header-footer-elementor"),description:(0,HZ.__)("This option will automatically replace your theme's header and footer files with custom templates from the plugin. It works with most themes and is selected by default.","header-footer-elementor"),value:"1"},{id:"2",title:(0,HZ.__)("Option 2","header-footer-elementor"),description:(0,HZ.__)("This option will automatically replace your theme's header and footer files with custom templates from the plugin. It works with most themes and is selected by default.","header-footer-elementor"),value:"2"}];const FQ=function(){if("no"===hfeSettingsData.show_theme_support)return null;var e=a((0,s.useState)(hfeSettingsData.theme_option),2),t=e[0],n=e[1],r=a((0,s.useState)(!0),2),o=r[0],i=r[1];(0,s.useEffect)((function(){i(!1)}),[]);var l=function(e){var t=e.target.value;n(t),o||u(t)},u=function(){var e=SJ(EJ().mark((function e(t){var n;return EJ().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(hfe_admin_data.ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"save_theme_compatibility_option",hfe_compatibility_option:t,nonce:hfe_admin_data.nonce})});case 3:return n=e.sent,e.next=6,n.json();case 6:e.sent.success?RQ.success((0,HZ.__)("Settings saved successfully!","header-footer-elementor")):RQ.error((0,HZ.__)("Failed to save settings!","header-footer-elementor")),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),RQ.error((0,HZ.__)("Failed to save settings!","header-footer-elementor"));case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t){return e.apply(this,arguments)}}();return c().createElement(c().Fragment,null,c().createElement(wi,{description:"",icon:null,iconPosition:"right",size:"sm",tag:"h2",title:(0,HZ.__)("Theme Support","header-footer-elementor")}),c().createElement(Kp,{align:"stretch",className:"bg-background-primary p-6 rounded-lg",containerType:"flex",direction:"column",gap:"sm",justify:"start",style:{marginTop:"24px",maxWidth:"696px"}},c().createElement(Kp.Item,{className:"flex flex-col space-y-1"},c().createElement("p",{className:"text-base font-semibold m-0"},(0,HZ.__)("Select Option to Add Theme Support","header-footer-elementor")),c().createElement("p",{className:"text-sm font-normal m-0"},(0,HZ.__)("To ensure compatibility between the header/footer and your theme, please choose one of the following options to enable theme support:","header-footer-elementor"))),c().createElement(Kp.Item,{className:"p-2 space-y-4",alignSelf:"auto",order:"none"},LQ.map((function(e){return c().createElement("div",{key:e.id,className:"flex items-start gap-1 justify-center cursor-pointer"},c().createElement("input",{id:e.id,value:e.value,type:"radio",className:"mt-1 cursor-pointer hfe-radio-field",name:"theme-support-option",onChange:l,checked:t===e.value}),c().createElement("div",{className:"flex flex-col cursor-pointer"},c().createElement(Ze,{size:"sm",variant:"neutral",className:"text-sm font-semibold text-text-secondary cursor-pointer flex flex-col items-start justify-start",htmlFor:e.id},e.title,":",c().createElement("p",{className:"m-0 text-sm font-normal text-text-secondary cursor-pointer"},e.description))))}))),c().createElement("div",{className:"flex items-center p-4 border rounded-lg text-start",style:{paddingTop:"16px",paddingBottom:"16px",backgroundColor:"#F3F0FF"}},c().createElement("p",{className:"m-0 text-sm"},c().createElement("strong",null,(0,HZ.__)("Note:","header-footer-elementor"))," ",(0,HZ.__)("If neither option works, please contact your theme author to add support for this plugin.","header-footer-elementor")))),c().createElement(IQ,{position:"top-right",reverseOrder:!1,gutter:8,containerStyle:{top:20,right:20,marginTop:"80px"},toastOptions:{duration:5e3,style:{background:"white"},success:{duration:3e3,style:{color:""},iconTheme:{primary:"#6005ff",secondary:"#fff"}}}}))},zQ=function(){var e=hfeSettingsData.uaelite_versions,t=(0,s.useRef)(e?e[0].value:""),n=a((0,s.useState)(e?e[0].value:""),2),r=n[0],o=n[1],i=a((0,s.useState)("elementor-header-footer"),2),l=(i[0],i[1]),u=a((0,s.useState)(!1),2),d=u[0],f=u[1];return(0,s.useEffect)((function(){}),[d]),c().createElement(c().Fragment,null,c().createElement(wi,{description:"",icon:null,iconPosition:"right",size:"sm",tag:"h2",title:(0,HZ.__)("Version Control","header-footer-elementor")}),c().createElement("div",{className:"box-border bg-background-primary p-6 rounded-lg",style:{marginTop:"24px"}},c().createElement(Kp,{align:"center",className:"flex flex-col lg:flex-row",containerType:"flex",direction:"column",gap:"sm",justify:"start"},c().createElement(Kp.Item,{className:"shrink flex flex-col space-y-1"},c().createElement("p",{className:"text-base font-semibold m-0"},(0,HZ.__)("Rollback to Previous Version","header-footer-elementor")),c().createElement("p",{className:"text-sm font-normal m-0"},(0,HZ.__)("Experiencing an issue with current version? Roll back to a previous version to help troubleshoot the issue.","header-footer-elementor"))),c().createElement(Kp.Item,{className:"p-2 flex space-y-4",alignSelf:"auto",order:"none"},c().createElement("div",{className:"bsf-rollback-version"},c().createElement("input",{type:"hidden",name:"product-name",id:"bsf-product-name",value:"header-footer-elementor"}),c().createElement("select",{id:"uaeliteVersionRollback",ref:t,onBlur:function(){l("elementor-header-footer")},onChange:function(e){o(e.target.value)},style:{padding:"8px",marginRight:"10px",marginTop:"16px",cursor:"pointer",borderRadius:"4px",height:"40px",width:"100px",outline:"none",boxShadow:"none"},onFocus:function(e){return e.target.style.borderColor="#6005FF"}},e.map((function(e){return c().createElement("option",{key:e.value,value:e.value},e.label)})))),c().createElement("div",{className:"flex flex-col cursor-pointer"},c().createElement(vw,{design:"simple",exitOnEsc:!0,scrollLock:!0,open:d,setOpen:f,trigger:c().createElement(Xe,{style:{backgroundColor:"#6005ff"}},(0,HZ.__)("Rollback","header-footer-elementor"))},c().createElement(vw.Backdrop,null),c().createElement(vw.Panel,null,c().createElement(vw.Header,null,c().createElement("div",{className:"flex items-center justify-between"},c().createElement(vw.Title,null,(0,HZ.__)("Rollback to Previous Version","header-footer-elementor")),c().createElement(vw.CloseButton,null))),c().createElement(vw.Body,null,(0,HZ.__)("Are you sure you want to rollback to Ultimate Addons for Elementor v".concat(r,"?"),"header-footer-elementor")),c().createElement(vw.Footer,null,c().createElement(Xe,{onClick:function(){var e=hfeSettingsData.uaelite_rollback_url.replace("VERSION",r);f(!1),window.location.href=e}},(0,HZ.__)("Rollback","header-footer-elementor")),c().createElement(Xe,{onClick:function(){f(!1)}},(0,HZ.__)("Cancel","header-footer-elementor"))))))))))},BQ=function(){return c().createElement(c().Fragment,null,c().createElement(wi,{description:"",icon:null,iconPosition:"right",size:"sm",tag:"h2",title:(0,HZ.__)("My Account","header-footer-elementor")}),c().createElement(Kp,{align:"stretch",className:"bg-background-primary p-6 rounded-lg",containerType:"flex",direction:"column",gap:"sm",justify:"start",style:{marginTop:"24px"}},c().createElement(Kp.Item,{className:"flex flex-col space-y-2"},c().createElement("p",{className:"text-base font-semibold m-0"},(0,HZ.__)("License Key","header-footer-elementor")),c().createElement("p",{className:"text-sm font-normal m-0"},(0,HZ.__)("You are using the free version of Ultimate Addons for Elementor, no license key is needed.. "))),c().createElement("div",{className:"flex items-center justify-between px-4 rounded-xl",style:{paddingTop:"6px",paddingBottom:"6px",backgroundColor:"#F3F0FF"}},c().createElement("span",{className:"flex items-center gap-x-2 text-base font-semibold"},(0,HZ.__)("Unlock Pro Features","header-footer-elementor"),c().createElement("p",{className:"text-base font-normal"},(0,HZ.__)("Get access to advanced blocks and premium features.","header-footer-elementor"))),c().createElement(Xe,{icon:c().createElement(BZ,null),iconPosition:"right",variant:"link",style:{color:"#6005FF",borderColor:"#6005FF",transition:"color 0.3s ease, border-color 0.3s ease",fontSize:"16px"},className:"hfe-remove-ring text-[#6005FF]",onClick:function(){window.open("https://ultimateelementor.com/pricing/?utm_source=uae-lite-settings&utm_medium=My-accounts&utm_campaign=uae-lite-upgrade","_blank")}},(0,HZ.__)("Upgrade Now","header-footer-elementor")))))},WQ=function(){var e=[{id:1,icon:c().createElement("img",{src:"".concat(hfeSettingsData.user_url),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),selected:c().createElement("img",{src:"".concat(hfeSettingsData.user__selected_url),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),title:(0,HZ.__)("My Account","header-footer-elementor"),content:c().createElement(BQ,null)},{id:2,icon:c().createElement("img",{src:"".concat(hfeSettingsData.theme_url),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),selected:c().createElement("img",{src:"".concat(hfeSettingsData.theme_url_selected),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),main:(0,HZ.__)("Editor","header-footer-elementor"),title:(0,HZ.__)("Theme Support","header-footer-elementor"),content:c().createElement(FQ,null)},{id:3,icon:c().createElement("img",{src:"".concat(hfeSettingsData.version_url),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),selected:c().createElement("img",{src:"".concat(hfeSettingsData.version__selected_url),alt:(0,HZ.__)("Custom SVG","header-footer-elementor"),className:"object-contain"}),main:(0,HZ.__)("Utilities","header-footer-elementor"),title:(0,HZ.__)("Version Control","header-footer-elementor"),content:c().createElement(zQ,null)}].filter((function(e){return"no"!==hfeSettingsData.show_theme_support||2!==e.id})),t=a((0,s.useState)((function(){var t=localStorage.getItem("hfeSelectedItemId");return e.find((function(e){return e.id===Number(t)}))||e[0]})),2),n=t[0],r=t[1];return(0,s.useEffect)((function(){localStorage.setItem("hfeSelectedItemId",n.id.toString())}),[n]),(0,s.useEffect)((function(){var t=new URLSearchParams(window.location.search).get("tab");if(t){var n=Number(t),o=e.find((function(e){return e.id===n}));o&&r(o)}}),[]),c().createElement(c().Fragment,null,c().createElement(nJ,{onSettingsTabClick:function(){r(e[0])}}),c().createElement("div",{className:""},c().createElement(Kp,{align:"stretch",className:"p-1 flex-col lg:flex-row hfe-settings-page",containerType:"flex",direction:"row",gap:"sm",justify:"start",style:{height:"100%"}},c().createElement(Kp.Item,{className:"p-2 hfe-sticky-outer-wrapper",alignSelf:"auto",order:"none",shrink:1,style:{backgroundColor:"#ffffff"}},c().createElement("div",{className:"hfe-sticky-sidebar"},c().createElement(zJ,{items:e,onSelectItem:function(e){r(e)},selectedItemId:n.id}))),c().createElement(Kp.Item,{className:"p-2 flex w-full justify-center items-start hfe-hide-scrollbar",alignSelf:"auto",order:"none",shrink:1,style:{height:"calc(100vh - 1px)",overflowY:"auto"}},c().createElement("div",{className:"hfe-78-width"},c().createElement(BJ,{selectedItem:n}))))))},VQ=zZ("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),UQ=function(){var e=[{title:(0,HZ.__)("Essentials","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("White Label Option","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("24/7 Premium Support","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Cross-Domain Copy-Paste","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Dynamic Header & Footer Widgets","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Post Info","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:2,content:(0,HZ.__)("Scroll to Top","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:3,content:(0,HZ.__)("Breadcrumbs","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:4,content:(0,HZ.__)("Retina Logo","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:5,content:(0,HZ.__)("Copyright","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:6,content:(0,HZ.__)("Page Title","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:7,content:(0,HZ.__)("Site Tagline","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:8,content:(0,HZ.__)("Site Logo","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:9,content:(0,HZ.__)("Search","header-footer-elementor"),iconFree:!0,iconPro:!1},{id:10,content:(0,HZ.__)("Navigation Menu","header-footer-elementor"),iconFree:!0,iconPro:!1}]},{title:(0,HZ.__)("Creative & Advanced Design Widgets","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Advanced Heading","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Dual Color Heading","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Fancy Heading","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Multi-Button","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:5,content:(0,HZ.__)("Image Hotspots","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Content & Media Widgets","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Content Toggle Button","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Image Gallery","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Video Gallery","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Table","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:5,content:(0,HZ.__)("Timeline","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:6,content:(0,HZ.__)("Google Map","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:7,content:(0,HZ.__)("Before & After Slider","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:8,content:(0,HZ.__)("Info Box","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:9,content:(0,HZ.__)("Video","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:10,content:(0,HZ.__)("Conditional Display","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:11,content:(0,HZ.__)("Login Form","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:12,content:(0,HZ.__)("User Registeration Form","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Marketing & Engagement Widgets","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Marketing Button","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Pricing Table","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Price List","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Countdown Timer","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:5,content:(0,HZ.__)("Business Hours","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:6,content:(0,HZ.__)("Modal Popup","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("E-Commerce Integration","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("WooCommerce: Add to Cart","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("WooCommerce: Product Category","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("WooCommerce: Mini Cart","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("WooCommerce: Product","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:5,content:(0,HZ.__)("WooCommerce: Checkout","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Forms Integration","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Contact Form 7","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Gravity Forms","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("WPForms","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Fluent Forms","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("SEO Widgets","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("FAQ with Schema","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("How-To","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Table of Contents","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Business Reviews","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Creative Features","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Presets","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Welcome Music","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Particles","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Party Propz","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:5,content:(0,HZ.__)("Shape Divider","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Social Media Integration","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Instagram Feed","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Twitter Feed","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Social Share","header-footer-elementor"),iconFree:!1,iconPro:!0}]},{title:(0,HZ.__)("Advanced Features","header-footer-elementor"),items:[{id:1,content:(0,HZ.__)("Retina Image","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:2,content:(0,HZ.__)("Team Member","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:3,content:(0,HZ.__)("Post Layout","header-footer-elementor"),iconFree:!1,iconPro:!0},{id:4,content:(0,HZ.__)("Off Canvas","header-footer-elementor"),iconFree:!1,iconPro:!0}]}],t=function(e){return e?c().createElement(xJ,{color:"#16A34A"}):c().createElement(VQ,{color:"#DC2626"})};return c().createElement("div",{className:"rounded-lg bg-white w-full mb-6"},c().createElement("div",{className:"flex items-center justify-between p-5",style:{paddingBottom:"0"}},c().createElement("div",{className:"flex flex-col"},c().createElement("p",{className:"m-0 text-xl font-semibold pt-4 text-text-primary"},(0,HZ.__)("Free Vs Pro","header-footer-elementor")),c().createElement("p",{className:"m-0 text-sm font-normal pt-1 text-text-secondary"},(0,HZ.__)("Ultimate Addons for Elementor Pro offers 50+ widgets and features!","header-footer-elementor")),c().createElement("p",{className:"m-0 text-sm font-normal pt-1 text-text-secondary"},(0,HZ.__)("Compare the popular features/widgets to find the best option for your website.","header-footer-elementor"))),c().createElement("div",{className:"flex items-center gap-x-2 mr-7"},c().createElement(Xe,{iconPosition:"right",variant:"primary",style:{color:"white",borderColor:"#6005FF",transition:"color 0.3s ease, border-color 0.3s ease",backgroundColor:"#6005ff"},className:"hfe-remove-ring text-[#6005FF]",onClick:function(){window.open("https://ultimateelementor.com/pricing/?utm_source=uae-lite-FreevsPro&utm_medium=get-uae-pro&utm_campaign=uae-lite-upgrade","_blank")}},(0,HZ.__)("Upgrade Now","header-footer-elementor")))),c().createElement("div",{className:"px-4"},c().createElement("div",{className:"flex flex-col space-y-2 pt-5"},e.map((function(e){return c().createElement(c().Fragment,{key:e.title},c().createElement("div",{className:"flex fle-row py-4 px-5 items-center h-4 justify-between rounded-lg shadow-container-item",style:{backgroundColor:"#F9FAFB"}},c().createElement("p",{className:"text-sm text-text-primary font-medium"},e.title),c().createElement("div",{className:"flex flex-row items-center",style:{gap:"12rem"}},c().createElement("p",{className:"text-sm text-text-primary font-medium"},(0,HZ.__)("Free","header-footer-elementor")),c().createElement("p",{className:"text-sm text-text-primary font-medium",style:{marginRight:"50px"}},(0,HZ.__)("Pro","header-footer-elementor")))),e.items.map((function(e){return c().createElement("div",{key:e.id,className:"flex fle-row py-4 px-5 items-center h-4 justify-between rounded-lg shadow-container-item"},c().createElement("p",{className:"text-sm text-text-secondary font-medium"},e.content),c().createElement("div",{className:"flex flex-row items-center justify-between",style:{gap:10===e.id&&e.content===(0,HZ.__)("Navigation Menu","header-footer-elementor")?"10.7rem":"12rem"}},c().createElement("p",{className:"text-sm text-text-primary font-medium"},10===e.id&&e.content===(0,HZ.__)("Navigation Menu","header-footer-elementor")?e.iconPro?(0,HZ.__)("Advanced","header-footer-elementor"):(0,HZ.__)("Basic","header-footer-elementor"):t(e.iconFree)),c().createElement("p",{className:"text-sm text-text-primary font-medium",style:{marginRight:10===e.id&&e.content===(0,HZ.__)("Navigation Menu","header-footer-elementor")?"25px":"50px"}},10===e.id&&e.content===(0,HZ.__)("Navigation Menu","header-footer-elementor")?e.iconPro?(0,HZ.__)("Basic","header-footer-elementor"):(0,HZ.__)("Advanced","header-footer-elementor"):t(e.iconPro))))})))})))))},$Q=function(){var e=[{id:1,icon:"",title:(0,HZ.__)("Modal Popup","header-footer-elementor")},{id:2,icon:"",title:(0,HZ.__)("Advanced Heading","header-footer-elementor")},{id:3,icon:"",title:(0,HZ.__)("Post Layouts","header-footer-elementor")},{id:4,icon:"",title:(0,HZ.__)("Info Box","header-footer-elementor")},{id:5,icon:"",title:(0,HZ.__)("Pricing Cards","header-footer-elementor")},{id:6,icon:"",title:(0,HZ.__)("Form Stylers and more...","header-footer-elementor")}];return c().createElement("div",{className:"",style:{paddingBottom:"16px"}},c().createElement(Kp,{className:"bg-background-primary gap-1 p-4 border-[0.5px] border-subtle rounded-xl shadow-sm",containerType:"flex",direction:"column",justify:"between",gap:"xs"},c().createElement(Kp.Item,{className:"flex flex-col justify-center items-center"},c().createElement("img",{src:"".concat(hfeSettingsData.column_url),alt:(0,HZ.__)("Column Showcase","header-footer-elementor"),className:"h-auto rounded w-1/2"})),c().createElement(Kp.Item,{className:"flex flex-col justify-between"},c().createElement("div",null,c().createElement(wi,{description:"",icon:c().createElement(bJ,null),iconPosition:"left",size:"xs",tag:"h6",title:(0,HZ.__)("Unlock Ultimate Features","header-footer-elementor"),className:"text-xs font-semibold text-brand-primary-600"}),c().createElement(wi,{description:"",icon:"",iconPosition:"left",tag:"h6",title:(0,HZ.__)("Create Stunning Designs with the Pro Version!","header-footer-elementor"),className:"py-1 text-sm"}),c().createElement("p",{className:"text-md m-0 text-text-secondary"},(0,HZ.__)("Get access to advanced widgets and features to create the website that stands out!","header-footer-elementor"))),c().createElement("div",{className:"grid grid-cols-2 grid-flow-row gap-1 my-4"},e.map((function(e){return c().createElement(wi,{key:e.id,description:"",icon:c().createElement(xJ,{className:"text-brand-primary-600 mr-1 h-3 w-3"}),iconPosition:"left",size:"xs",tag:"h6",title:e.title,className:"text-md m-0 text-text-secondary hfe-compare-section"})}))),c().createElement("div",{className:""},c().createElement(Xe,{iconPosition:"right",variant:"secondary",className:"hfe-remove-ring",style:{width:"100%"},onClick:function(){window.open("https://ultimateelementor.com/pricing/?utm_source=uae-lite-free-vs-pro&utm_medium=My-accounts&utm_campaign=uae-lite-upgrade","_blank")}},(0,HZ.__)("Upgrade Now","header-footer-elementor"))))))},HQ=function(){return c().createElement(c().Fragment,null,c().createElement(nJ,null),c().createElement("div",null,c().createElement(Kp,{align:"stretch",className:"p-6 flex-col lg:flex-row box-border",containerType:"flex",direction:"row",gap:"sm",justify:"start",style:{width:"100%"}},c().createElement(Kp.Item,{className:"p-2 hfe-65-width",alignSelf:"auto",order:"none",shrink:0},c().createElement(UQ,null)),c().createElement(Kp.Item,{className:"p-2 w-full hfe-35-width",shrink:1},c().createElement($Q,null),c().createElement(PJ,null),c().createElement(hJ,null)))))},qQ=function(e){var t=e.setCurrentStep;return c().createElement("div",{className:"bg-background-primary border-[0.5px] items-start justify-center border-subtle rounded-xl shadow-sm mb-6 p-8 flex flex-col",style:{maxWidth:"55%"}},c().createElement("div",{className:"px-1"},c().createElement("div",{className:"flex flex-col"},c().createElement("h1",{className:"text-text-primary m-0 mb-2 hfe-65-width",style:{fontSize:"1.6rem",lineHeight:"1.3em"}},c().createElement("span",{className:"block"},(0,HZ.__)("Thank You For Choosing","header-footer-elementor")),c().createElement("span",{className:"block"},(0,HZ.__)("Ultimate Addons for Elementor","header-footer-elementor"))),c().createElement("span",{className:"text-md font-medium text-text-tertiary m-0 mb-6 hfe-88-width",style:{lineHeight:"1.5em"}},(0,HZ.__)("We're excited to have you onboard. Get ready to create stunning headers, footers, and custom blocks with ease while keeping your website lightweight and fast.","header-footer-elementor"))),c().createElement("img",{alt:"Welcome",className:"w-full h-auto mb-6 mt-2",src:"".concat(hfeSettingsData.welcome_banner),loading:"lazy"}),c().createElement(Xe,{iconPosition:"right",variant:"primary",className:"bg-[#6005FF] hfe-remove-ring p-3 px-5 font-bold mt-2",style:{backgroundColor:"#6005FF",transition:"background-color 0.3s ease"},onMouseEnter:function(e){return e.currentTarget.style.backgroundColor="#4B00CC"},onMouseLeave:function(e){return e.currentTarget.style.backgroundColor="#6005FF"},onClick:function(){return t(2)}},(0,HZ.__)("Let's Get Started","header-footer-elementor"))))},KQ=zZ("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),YQ=zZ("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var XQ=0;const GQ=function(e){e.setCurrentStep;var t=a((0,s.useState)(!1),2),n=t[0],r=t[1],o=a((0,s.useState)(""),2),i=o[0],l=o[1],u=a((0,s.useState)(!1),2),d=(u[0],u[1]),f=a((0,s.useState)(!0),2),p=f[0],h=f[1],m=a((0,s.useState)(""),2),y=m[0],g=m[1],v=a((0,s.useState)(!1),2),b=v[0],x=v[1];(0,s.useEffect)((function(){l(hfeSettingsData.user_email),h("yes"===hfeSettingsData.analytics_status),history.pushState(null,"",window.location.href);var e=function(e){e.preventDefault(),localStorage.setItem("currentStep","2"),window.location.reload()};return window.addEventListener("popstate",e),function(){window.removeEventListener("popstate",e)}}),[hfeSettingsData.user_email]);var w=function(){var e=SJ(EJ().mark((function e(){var t,n;return EJ().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(t=!p),e.prev=2,e.next=5,fetch(hfe_admin_data.ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"save_analytics_option",bsf_analytics_optin:t?"yes":"no",nonce:hfe_admin_data.nonce})});case 5:return n=e.sent,e.next=8,n.json();case 8:e.sent.success?RQ.success((0,HZ.__)("Settings saved successfully!","header-footer-elementor")):RQ.error((0,HZ.__)("Failed to save settings!","header-footer-elementor")),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),RQ.error((0,HZ.__)("Failed to save settings!","header-footer-elementor"));case 15:case"end":return e.stop()}}),e,null,[[2,12]])})));return function(){return e.apply(this,arguments)}}();return c().createElement("div",{className:"bg-background-primary border-[0.5px] border-subtle rounded-xl shadow-sm mb-6 p-8",style:{maxWidth:"55%"}},c().createElement("div",{className:"flex items-start hfe-display-flex"},c().createElement("div",{className:"flex flex-col items-start",style:{paddingRight:"35px"}},c().createElement("h1",{className:"text-text-primary m-0 mb-2",style:{fontSize:"1.6rem",lineHeight:"1.3em"}},(0,HZ.__)("You're all set!🚀","header-footer-elementor")),c().createElement("span",{className:"text-md font-medium text-text-tertiary m-0 mb-4 hfe-88-width",style:{lineHeight:"1.6em"}},(0,HZ.__)("Start creating headers, footers, or pages with UAE and take your website to the next level","header-footer-elementor")),c().createElement("span",{className:"font-bold m-0 pt-2"},(0,HZ.__)("Here’s how to get started:","header-footer-elementor")),c().createElement("ol",{className:"list-decimal text-text-tertiary text-sm",style:{marginLeft:"1.4em",lineHeight:"1.6em",paddingBottom:"0.5rem"}},c().createElement("li",null,(0,HZ.__)("Click on “Create” button","header-footer-elementor")),c().createElement("li",null,(0,HZ.__)("Choose the type of template you want to create and customize the selected option","header-footer-elementor")),c().createElement("li",null,(0,HZ.__)("Use the Elementor editor to customize your template according to your preferences using UAE widgets","header-footer-elementor")),c().createElement("li",null,(0,HZ.__)("Click “Publish” to make it live","header-footer-elementor")))),c().createElement("div",{className:"w-1/2",style:{textAlign:"end"}},c().createElement("img",{alt:"Build",className:"w-full object-contain",style:{height:"255px",width:"auto"},src:"".concat(hfeSettingsData.build_banner),loading:"lazy"}))),c().createElement("div",{className:"flex flex-row gap-1 pb-4 hfe-display-flex"},c().createElement(Xe,{icon:c().createElement(KQ,null),iconPosition:"right",variant:"primary",className:"bg-[#6005FF] hfe-remove-ring",style:{backgroundColor:"#6005FF",transition:"background-color 0.3s ease"},onMouseEnter:function(e){return e.currentTarget.style.backgroundColor="#4B00CC"},onMouseLeave:function(e){return e.currentTarget.style.backgroundColor="#6005FF"},onClick:function(){window.open(hfeSettingsData.hfe_post_url,"_self")}},(0,HZ.__)("Create Header/Footer","header-footer-elementor")),c().createElement(D,{to:qZ.dashboard.path},c().createElement(Xe,{icon:c().createElement(KQ,null),iconPosition:"right",variant:"ghost",className:"hfe-remove-ring",onMouseLeave:function(e){return(e.currentTarget.style.color="#000000")&&(e.currentTarget.style.borderColor="#000000")},onMouseEnter:function(e){return(e.currentTarget.style.color="#6005FF")&&(e.currentTarget.style.borderColor="#6005FF")}},(0,HZ.__)("Go To Dashboard","header-footer-elementor")))),c().createElement("div",{className:"flex items-start justify-start mt-4",loading:"lazy",style:{backgroundImage:"url(".concat(hfeSettingsData.special_reward,")"),backgroundSize:"cover",backgroundPosition:"center",borderRadius:"5px"}},c().createElement("div",{className:"flex flex-col p-6 items-start"},c().createElement("h3",{className:"font-bold text-text-primary mt-0 mb-1",style:{lineHeight:"1.3em"}},(0,HZ.__)("We have a special reward just for you!","header-footer-elementor")),c().createElement("span",{className:"font-medium text-text-secondary mt-2 mb-6"},(0,HZ.__)("Unlock your surprise now","header-footer-elementor")),c().createElement(Xe,{className:"hfe-remove-ring hfe-span hfe-popup-button",icon:c().createElement(YQ,{"aria-label":"icon",role:"img"}),iconPosition:"right",size:"md",tag:"button",type:"button",variant:"link",style:{alignItems:"center",justifyContent:"flex-start",color:"#6005FF"},onClick:function(){return r(!0)}},(0,HZ.__)("Unlock My Surprise","header-footer-elementor")))),c().createElement("hr",{className:"w-full border-b-0 border-x-0 border-t border-solid border-t-border-subtle",style:{marginTop:"34px",marginBottom:"34px",borderColor:"#E5E7EB"}}),c().createElement("div",{className:"bg-badge-background-gray border-[0.5px] border-subtle p-6",style:{borderRadius:"5px"}},c().createElement("div",{className:"flex flex-row items-center justify-start px-1 gap-3"},c().createElement(Qe,{onChange:w,size:"sm",value:p,className:"hfe-remove-ring"}),c().createElement("span",{className:"font-bold text-text-primary m-0"},(0,HZ.__)("Help make UAE Better","header-footer-elementor"))),c().createElement(IQ,{position:"top-right",reverseOrder:!1,gutter:8,containerStyle:{top:20,right:20,marginTop:"40px"},toastOptions:{duration:1e3,style:{background:"white"},success:{duration:2e3,style:{color:""},iconTheme:{primary:"#6005ff",secondary:"#fff"}}}}),c().createElement("span",{className:"flex flex-row items-center justify-start mt-4 gap-3",style:{lineHeight:"1.5em",fontSize:"0.95em"}},(0,HZ.__)("Help us improve by sharing anonymous data about your website setup. This includes non-sensitive info about plugins, themes, and settings, so we can create a better product for you. Your privacy is always our top priority. Learn more in our privacy policy.","header-footer-elementor"))),c().createElement(vw,{design:"simple",open:n,setOpen:r},c().createElement(vw.Backdrop,null),c().createElement(vw.Panel,null,c().createElement(vw.Header,{style:{padding:"30px",marginBottom:"0.5rem"}},c().createElement("div",{className:"flex items-center justify-between"},c().createElement("div",{className:"flex items-center justify-center"},c().createElement(vw.Title,{style:{fontSize:"1.6rem",width:"80%",lineHeight:"1.3em"}},(0,HZ.__)("We have a special Reward just for you! 🎁","header-footer-elementor")),c().createElement(Xe,{icon:c().createElement(VQ,{className:"size-10"}),iconPosition:"right",size:"md",variant:"ghost",className:"hfe-remove-ring",onClick:function(){r(!1),x(!1),XQ=7},style:{marginLeft:"60px",marginBottom:"20px",paddingTop:"0"}}))),c().createElement(vw.Description,{style:{width:"90%",color:"#64748B"}},(0,HZ.__)("Enter your email address to get special offer that we have for you and stay updated on UAE’s latest news and updates.","header-footer-elementor")),c().createElement("p",{className:"text-md font-bold text-field-label m-0 gap-0",style:{fontSize:"14px",marginTop:"1.5em"}},(0,HZ.__)("Email Address","header-footer-elementor")),c().createElement("div",{className:"flex flex-row"},c().createElement("input",{type:"email",placeholder:"".concat(hfeSettingsData.user_email),value:i,className:"h-12 shrink-0 mr-2",style:{width:"265px"},onChange:function(e){e&&e.target&&(g(""),l(e.target.value))}}),c().createElement(Xe,{icon:b?c().createElement(NJ,{className:"animate-spin"}):null,iconPosition:"right",variant:"primary",className:"bg-[#6005FF] hfe-remove-ring w-full shrink-1",style:{backgroundColor:"#6005FF",transition:"background-color 0.3s ease"},onMouseEnter:function(e){return e.currentTarget.style.backgroundColor="#4B00CC"},onMouseLeave:function(e){return e.currentTarget.style.backgroundColor="#6005FF"},disabled:b,onClick:function(){/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i)?(g(""),x(!0),XQ=0,function(e){var t=(new Date).toISOString().split("T")[0],n=new URLSearchParams({email:e,date:t});fetch("/wp-json/hfe/v1/email-webhook/?".concat(n.toString()),{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":hfeSettingsData.hfe_nonce_action}}).then((function(e){if(!e.ok)throw new Error("HTTP error! Status: ".concat(e.status));return e.json()})).then((function(t){"success"===t.message?function(e){var t=function(){fetch("/wp-json/hfe/v1/email-validation/",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":hfeSettingsData.hfe_nonce_action},body:JSON.stringify({email:e})}).then((function(e){return e.json()})).then((function(e){"valid"===e.status?(x(!1),d(!0),window.location.href=hfeSettingsData.onboarding_success_url):"invalid"===e.status?(x(!1),g((0,HZ.__)("Entered email ID is invalid!","header-footer-elementor"))):"exists"===e.status?(x(!1),g((0,HZ.__)("Entered email ID already exists, try a different one.","header-footer-elementor"))):"pending"===e.status&&XQ<7?(XQ++,setTimeout(t,5e3)):(x(!1),g((0,HZ.__)("Something went wrong. Try again","header-footer-elementor")))})).catch((function(e){return console.error("Error checking validation:",e)}))};t()}(e):console.warn("Unexpected webhook response:",t)})).catch((function(e){console.error("Error calling webhook:",e)}))}(i)):g((0,HZ.__)("Please enter a valid email address","header-footer-elementor"))}},(0,HZ.__)("Submit Email","header-footer-elementor"))),y&&c().createElement("p",{className:"absolute color-text-danger text-xs mt-4 text-sm font-normal",style:{color:"#FF0000"}},y)))))},ZQ=zZ("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);function JQ(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 QQ(e){for(var t=1;t (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TokenData = void 0;\nexports.parse = parse;\nexports.compile = compile;\nexports.match = match;\nexports.pathToRegexp = pathToRegexp;\nexports.stringify = stringify;\nconst DEFAULT_DELIMITER = \"/\";\nconst NOOP_VALUE = (value) => value;\nconst ID_START = /^[$_\\p{ID_Start}]$/u;\nconst ID_CONTINUE = /^[$\\u200c\\u200d\\p{ID_Continue}]$/u;\nconst DEBUG_URL = \"https://git.new/pathToRegexpError\";\nconst SIMPLE_TOKENS = {\n // Groups.\n \"{\": \"{\",\n \"}\": \"}\",\n // Reserved.\n \"(\": \"(\",\n \")\": \")\",\n \"[\": \"[\",\n \"]\": \"]\",\n \"+\": \"+\",\n \"?\": \"?\",\n \"!\": \"!\",\n};\n/**\n * Escape text for stringify to path.\n */\nfunction escapeText(str) {\n return str.replace(/[{}()\\[\\]+?!:*]/g, \"\\\\$&\");\n}\n/**\n * Escape a regular expression string.\n */\nfunction escape(str) {\n return str.replace(/[.+*?^${}()[\\]|/\\\\]/g, \"\\\\$&\");\n}\n/**\n * Tokenize input string.\n */\nfunction* lexer(str) {\n const chars = [...str];\n let i = 0;\n function name() {\n let value = \"\";\n if (ID_START.test(chars[++i])) {\n value += chars[i];\n while (ID_CONTINUE.test(chars[++i])) {\n value += chars[i];\n }\n }\n else if (chars[i] === '\"') {\n let pos = i;\n while (i < chars.length) {\n if (chars[++i] === '\"') {\n i++;\n pos = 0;\n break;\n }\n if (chars[i] === \"\\\\\") {\n value += chars[++i];\n }\n else {\n value += chars[i];\n }\n }\n if (pos) {\n throw new TypeError(`Unterminated quote at ${pos}: ${DEBUG_URL}`);\n }\n }\n if (!value) {\n throw new TypeError(`Missing parameter name at ${i}: ${DEBUG_URL}`);\n }\n return value;\n }\n while (i < chars.length) {\n const value = chars[i];\n const type = SIMPLE_TOKENS[value];\n if (type) {\n yield { type, index: i++, value };\n }\n else if (value === \"\\\\\") {\n yield { type: \"ESCAPED\", index: i++, value: chars[i++] };\n }\n else if (value === \":\") {\n const value = name();\n yield { type: \"PARAM\", index: i, value };\n }\n else if (value === \"*\") {\n const value = name();\n yield { type: \"WILDCARD\", index: i, value };\n }\n else {\n yield { type: \"CHAR\", index: i, value: chars[i++] };\n }\n }\n return { type: \"END\", index: i, value: \"\" };\n}\nclass Iter {\n constructor(tokens) {\n this.tokens = tokens;\n }\n peek() {\n if (!this._peek) {\n const next = this.tokens.next();\n this._peek = next.value;\n }\n return this._peek;\n }\n tryConsume(type) {\n const token = this.peek();\n if (token.type !== type)\n return;\n this._peek = undefined; // Reset after consumed.\n return token.value;\n }\n consume(type) {\n const value = this.tryConsume(type);\n if (value !== undefined)\n return value;\n const { type: nextType, index } = this.peek();\n throw new TypeError(`Unexpected ${nextType} at ${index}, expected ${type}: ${DEBUG_URL}`);\n }\n text() {\n let result = \"\";\n let value;\n while ((value = this.tryConsume(\"CHAR\") || this.tryConsume(\"ESCAPED\"))) {\n result += value;\n }\n return result;\n }\n}\n/**\n * Tokenized path instance.\n */\nclass TokenData {\n constructor(tokens) {\n this.tokens = tokens;\n }\n}\nexports.TokenData = TokenData;\n/**\n * Parse a string for the raw tokens.\n */\nfunction parse(str, options = {}) {\n const { encodePath = NOOP_VALUE } = options;\n const it = new Iter(lexer(str));\n function consume(endType) {\n const tokens = [];\n while (true) {\n const path = it.text();\n if (path)\n tokens.push({ type: \"text\", value: encodePath(path) });\n const param = it.tryConsume(\"PARAM\");\n if (param) {\n tokens.push({\n type: \"param\",\n name: param,\n });\n continue;\n }\n const wildcard = it.tryConsume(\"WILDCARD\");\n if (wildcard) {\n tokens.push({\n type: \"wildcard\",\n name: wildcard,\n });\n continue;\n }\n const open = it.tryConsume(\"{\");\n if (open) {\n tokens.push({\n type: \"group\",\n tokens: consume(\"}\"),\n });\n continue;\n }\n it.consume(endType);\n return tokens;\n }\n }\n const tokens = consume(\"END\");\n return new TokenData(tokens);\n}\n/**\n * Compile a string to a template function for the path.\n */\nfunction compile(path, options = {}) {\n const { encode = encodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;\n const data = path instanceof TokenData ? path : parse(path, options);\n const fn = tokensToFunction(data.tokens, delimiter, encode);\n return function path(data = {}) {\n const [path, ...missing] = fn(data);\n if (missing.length) {\n throw new TypeError(`Missing parameters: ${missing.join(\", \")}`);\n }\n return path;\n };\n}\nfunction tokensToFunction(tokens, delimiter, encode) {\n const encoders = tokens.map((token) => tokenToFunction(token, delimiter, encode));\n return (data) => {\n const result = [\"\"];\n for (const encoder of encoders) {\n const [value, ...extras] = encoder(data);\n result[0] += value;\n result.push(...extras);\n }\n return result;\n };\n}\n/**\n * Convert a single token into a path building function.\n */\nfunction tokenToFunction(token, delimiter, encode) {\n if (token.type === \"text\")\n return () => [token.value];\n if (token.type === \"group\") {\n const fn = tokensToFunction(token.tokens, delimiter, encode);\n return (data) => {\n const [value, ...missing] = fn(data);\n if (!missing.length)\n return [value];\n return [\"\"];\n };\n }\n const encodeValue = encode || NOOP_VALUE;\n if (token.type === \"wildcard\" && encode !== false) {\n return (data) => {\n const value = data[token.name];\n if (value == null)\n return [\"\", token.name];\n if (!Array.isArray(value) || value.length === 0) {\n throw new TypeError(`Expected \"${token.name}\" to be a non-empty array`);\n }\n return [\n value\n .map((value, index) => {\n if (typeof value !== \"string\") {\n throw new TypeError(`Expected \"${token.name}/${index}\" to be a string`);\n }\n return encodeValue(value);\n })\n .join(delimiter),\n ];\n };\n }\n return (data) => {\n const value = data[token.name];\n if (value == null)\n return [\"\", token.name];\n if (typeof value !== \"string\") {\n throw new TypeError(`Expected \"${token.name}\" to be a string`);\n }\n return [encodeValue(value)];\n };\n}\n/**\n * Transform a path into a match function.\n */\nfunction match(path, options = {}) {\n const { decode = decodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;\n const { regexp, keys } = pathToRegexp(path, options);\n const decoders = keys.map((key) => {\n if (decode === false)\n return NOOP_VALUE;\n if (key.type === \"param\")\n return decode;\n return (value) => value.split(delimiter).map(decode);\n });\n return function match(input) {\n const m = regexp.exec(input);\n if (!m)\n return false;\n const path = m[0];\n const params = Object.create(null);\n for (let i = 1; i < m.length; i++) {\n if (m[i] === undefined)\n continue;\n const key = keys[i - 1];\n const decoder = decoders[i - 1];\n params[key.name] = decoder(m[i]);\n }\n return { path, params };\n };\n}\nfunction pathToRegexp(path, options = {}) {\n const { delimiter = DEFAULT_DELIMITER, end = true, sensitive = false, trailing = true, } = options;\n const keys = [];\n const sources = [];\n const flags = sensitive ? \"\" : \"i\";\n const paths = Array.isArray(path) ? path : [path];\n const items = paths.map((path) => path instanceof TokenData ? path : parse(path, options));\n for (const { tokens } of items) {\n for (const seq of flatten(tokens, 0, [])) {\n const regexp = sequenceToRegExp(seq, delimiter, keys);\n sources.push(regexp);\n }\n }\n let pattern = `^(?:${sources.join(\"|\")})`;\n if (trailing)\n pattern += `(?:${escape(delimiter)}$)?`;\n pattern += end ? \"$\" : `(?=${escape(delimiter)}|$)`;\n const regexp = new RegExp(pattern, flags);\n return { regexp, keys };\n}\n/**\n * Generate a flat list of sequence tokens from the given tokens.\n */\nfunction* flatten(tokens, index, init) {\n if (index === tokens.length) {\n return yield init;\n }\n const token = tokens[index];\n if (token.type === \"group\") {\n const fork = init.slice();\n for (const seq of flatten(token.tokens, 0, fork)) {\n yield* flatten(tokens, index + 1, seq);\n }\n }\n else {\n init.push(token);\n }\n yield* flatten(tokens, index + 1, init);\n}\n/**\n * Transform a flat sequence of tokens into a regular expression.\n */\nfunction sequenceToRegExp(tokens, delimiter, keys) {\n let result = \"\";\n let backtrack = \"\";\n let isSafeSegmentParam = true;\n for (let i = 0; i < tokens.length; i++) {\n const token = tokens[i];\n if (token.type === \"text\") {\n result += escape(token.value);\n backtrack += token.value;\n isSafeSegmentParam || (isSafeSegmentParam = token.value.includes(delimiter));\n continue;\n }\n if (token.type === \"param\" || token.type === \"wildcard\") {\n if (!isSafeSegmentParam && !backtrack) {\n throw new TypeError(`Missing text after \"${token.name}\": ${DEBUG_URL}`);\n }\n if (token.type === \"param\") {\n result += `(${negate(delimiter, isSafeSegmentParam ? \"\" : backtrack)}+)`;\n }\n else {\n result += `([\\\\s\\\\S]+)`;\n }\n keys.push(token);\n backtrack = \"\";\n isSafeSegmentParam = false;\n continue;\n }\n }\n return result;\n}\nfunction negate(delimiter, backtrack) {\n if (backtrack.length < 2) {\n if (delimiter.length < 2)\n return `[^${escape(delimiter + backtrack)}]`;\n return `(?:(?!${escape(delimiter)})[^${escape(backtrack)}])`;\n }\n if (delimiter.length < 2) {\n return `(?:(?!${escape(backtrack)})[^${escape(delimiter)}])`;\n }\n return `(?:(?!${escape(backtrack)}|${escape(delimiter)})[\\\\s\\\\S])`;\n}\n/**\n * Stringify token data into a path string.\n */\nfunction stringify(data) {\n return data.tokens\n .map(function stringifyToken(token, index, tokens) {\n if (token.type === \"text\")\n return escapeText(token.value);\n if (token.type === \"group\") {\n return `{${token.tokens.map(stringifyToken).join(\"\")}}`;\n }\n const isSafe = isNameSafe(token.name) && isNextNameSafe(tokens[index + 1]);\n const key = isSafe ? token.name : JSON.stringify(token.name);\n if (token.type === \"param\")\n return `:${key}`;\n if (token.type === \"wildcard\")\n return `*${key}`;\n throw new TypeError(`Unexpected token: ${token}`);\n })\n .join(\"\");\n}\nfunction isNameSafe(name) {\n const [first, ...rest] = name;\n if (!ID_START.test(first))\n return false;\n return rest.every((char) => ID_CONTINUE.test(char));\n}\nfunction isNextNameSafe(token) {\n if ((token === null || token === void 0 ? void 0 : token.type) !== \"text\")\n return true;\n return !ID_CONTINUE.test(token.value[0]);\n}\n//# sourceMappingURL=index.js.map","'use strict';\n\nvar has = Object.prototype.hasOwnProperty\n , undef;\n\n/**\n * Decode a URI encoded string.\n *\n * @param {String} input The URI encoded string.\n * @returns {String|Null} The decoded string.\n * @api private\n */\nfunction decode(input) {\n try {\n return decodeURIComponent(input.replace(/\\+/g, ' '));\n } catch (e) {\n return null;\n }\n}\n\n/**\n * Attempts to encode a given input.\n *\n * @param {String} input The string that needs to be encoded.\n * @returns {String|Null} The encoded string.\n * @api private\n */\nfunction encode(input) {\n try {\n return encodeURIComponent(input);\n } catch (e) {\n return null;\n }\n}\n\n/**\n * Simple query string parser.\n *\n * @param {String} query The query string that needs to be parsed.\n * @returns {Object}\n * @api public\n */\nfunction querystring(query) {\n var parser = /([^=?#&]+)=?([^&]*)/g\n , result = {}\n , part;\n\n while (part = parser.exec(query)) {\n var key = decode(part[1])\n , value = decode(part[2]);\n\n //\n // Prevent overriding of existing properties. This ensures that build-in\n // methods like `toString` or __proto__ are not overriden by malicious\n // querystrings.\n //\n // In the case if failed decoding, we want to omit the key/value pairs\n // from the result.\n //\n if (key === null || value === null || key in result) continue;\n result[key] = value;\n }\n\n return result;\n}\n\n/**\n * Transform a query string to an object.\n *\n * @param {Object} obj Object that should be transformed.\n * @param {String} prefix Optional prefix.\n * @returns {String}\n * @api public\n */\nfunction querystringify(obj, prefix) {\n prefix = prefix || '';\n\n var pairs = []\n , value\n , key;\n\n //\n // Optionally prefix with a '?' if needed\n //\n if ('string' !== typeof prefix) prefix = '?';\n\n for (key in obj) {\n if (has.call(obj, key)) {\n value = obj[key];\n\n //\n // Edge cases where we actually want to encode the value to an empty\n // string instead of the stringified value.\n //\n if (!value && (value === null || value === undef || isNaN(value))) {\n value = '';\n }\n\n key = encode(key);\n value = encode(value);\n\n //\n // If we failed to encode the strings, we should bail out as we don't\n // want to add invalid strings to the query.\n //\n if (key === null || value === null) continue;\n pairs.push(key +'='+ value);\n }\n }\n\n return pairs.length ? prefix + pairs.join('&') : '';\n}\n\n//\n// Expose the module.\n//\nexports.stringify = querystringify;\nexports.parse = querystring;\n","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","module.exports = window[\"React\"];","module.exports = window[\"ReactDOM\"];","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = window[\"wp\"][\"domReady\"];","function _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nexport { _arrayLikeToArray as default };","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;\n }\n}\nexport { _unsupportedIterableToArray as default };","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nfunction _slicedToArray(r, e) {\n return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();\n}\nexport { _slicedToArray as default };","function _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nexport { _arrayWithHoles as default };","function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nexport { _iterableToArrayLimit as default };","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableRest as default };","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\nexport { _typeof as default };","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nexport { toPropertyKey as default };","import _typeof from \"./typeof.js\";\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nexport { toPrimitive as default };","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nexport { _createClass as default };","function _getPrototypeOf(t) {\n return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {\n return t.__proto__ || Object.getPrototypeOf(t);\n }, _getPrototypeOf(t);\n}\nexport { _getPrototypeOf as default };","function _setPrototypeOf(t, e) {\n return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","const __WEBPACK_NAMESPACE_OBJECT__ = window[\"wp\"][\"element\"];","import _extends from '@babel/runtime/helpers/esm/extends';\n\n/**\r\n * Actions represent the type of change to a location value.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#action\r\n */\nvar Action;\n\n(function (Action) {\n /**\r\n * A POP indicates a change to an arbitrary index in the history stack, such\r\n * as a back or forward navigation. It does not describe the direction of the\r\n * navigation, only that the current index changed.\r\n *\r\n * Note: This is the default action for newly created history objects.\r\n */\n Action[\"Pop\"] = \"POP\";\n /**\r\n * A PUSH indicates a new entry being added to the history stack, such as when\r\n * a link is clicked and a new page loads. When this happens, all subsequent\r\n * entries in the stack are lost.\r\n */\n\n Action[\"Push\"] = \"PUSH\";\n /**\r\n * A REPLACE indicates the entry at the current index in the history stack\r\n * being replaced by a new one.\r\n */\n\n Action[\"Replace\"] = \"REPLACE\";\n})(Action || (Action = {}));\n\nvar readOnly = process.env.NODE_ENV !== \"production\" ? function (obj) {\n return Object.freeze(obj);\n} : function (obj) {\n return obj;\n};\n\nfunction warning(cond, message) {\n if (!cond) {\n // eslint-disable-next-line no-console\n if (typeof console !== 'undefined') console.warn(message);\n\n try {\n // Welcome to debugging history!\n //\n // This error is thrown as a convenience so you can more easily\n // find the source for a warning that appears in the console by\n // enabling \"pause on exceptions\" in your JavaScript debugger.\n throw new Error(message); // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n}\n\nvar BeforeUnloadEventType = 'beforeunload';\nvar HashChangeEventType = 'hashchange';\nvar PopStateEventType = 'popstate';\n/**\r\n * Browser history stores the location in regular URLs. This is the standard for\r\n * most web apps, but it requires some configuration on the server to ensure you\r\n * serve the same app at multiple URLs.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory\r\n */\n\nfunction createBrowserHistory(options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$window = _options.window,\n window = _options$window === void 0 ? document.defaultView : _options$window;\n var globalHistory = window.history;\n\n function getIndexAndLocation() {\n var _window$location = window.location,\n pathname = _window$location.pathname,\n search = _window$location.search,\n hash = _window$location.hash;\n var state = globalHistory.state || {};\n return [state.idx, readOnly({\n pathname: pathname,\n search: search,\n hash: hash,\n state: state.usr || null,\n key: state.key || 'default'\n })];\n }\n\n var blockedPopTx = null;\n\n function handlePop() {\n if (blockedPopTx) {\n blockers.call(blockedPopTx);\n blockedPopTx = null;\n } else {\n var nextAction = Action.Pop;\n\n var _getIndexAndLocation = getIndexAndLocation(),\n nextIndex = _getIndexAndLocation[0],\n nextLocation = _getIndexAndLocation[1];\n\n if (blockers.length) {\n if (nextIndex != null) {\n var delta = index - nextIndex;\n\n if (delta) {\n // Revert the POP\n blockedPopTx = {\n action: nextAction,\n location: nextLocation,\n retry: function retry() {\n go(delta * -1);\n }\n };\n go(delta);\n }\n } else {\n // Trying to POP to a location with no index. We did not create\n // this location, so we can't effectively block the navigation.\n process.env.NODE_ENV !== \"production\" ? warning(false, // TODO: Write up a doc that explains our blocking strategy in\n // detail and link to it here so people can understand better what\n // is going on and how to avoid it.\n \"You are trying to block a POP navigation to a location that was not \" + \"created by the history library. The block will fail silently in \" + \"production, but in general you should do all navigation with the \" + \"history library (instead of using window.history.pushState directly) \" + \"to avoid this situation.\") : void 0;\n }\n } else {\n applyTx(nextAction);\n }\n }\n }\n\n window.addEventListener(PopStateEventType, handlePop);\n var action = Action.Pop;\n\n var _getIndexAndLocation2 = getIndexAndLocation(),\n index = _getIndexAndLocation2[0],\n location = _getIndexAndLocation2[1];\n\n var listeners = createEvents();\n var blockers = createEvents();\n\n if (index == null) {\n index = 0;\n globalHistory.replaceState(_extends({}, globalHistory.state, {\n idx: index\n }), '');\n }\n\n function createHref(to) {\n return typeof to === 'string' ? to : createPath(to);\n } // state defaults to `null` because `window.history.state` does\n\n\n function getNextLocation(to, state) {\n if (state === void 0) {\n state = null;\n }\n\n return readOnly(_extends({\n pathname: location.pathname,\n hash: '',\n search: ''\n }, typeof to === 'string' ? parsePath(to) : to, {\n state: state,\n key: createKey()\n }));\n }\n\n function getHistoryStateAndUrl(nextLocation, index) {\n return [{\n usr: nextLocation.state,\n key: nextLocation.key,\n idx: index\n }, createHref(nextLocation)];\n }\n\n function allowTx(action, location, retry) {\n return !blockers.length || (blockers.call({\n action: action,\n location: location,\n retry: retry\n }), false);\n }\n\n function applyTx(nextAction) {\n action = nextAction;\n\n var _getIndexAndLocation3 = getIndexAndLocation();\n\n index = _getIndexAndLocation3[0];\n location = _getIndexAndLocation3[1];\n listeners.call({\n action: action,\n location: location\n });\n }\n\n function push(to, state) {\n var nextAction = Action.Push;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n push(to, state);\n }\n\n if (allowTx(nextAction, nextLocation, retry)) {\n var _getHistoryStateAndUr = getHistoryStateAndUrl(nextLocation, index + 1),\n historyState = _getHistoryStateAndUr[0],\n url = _getHistoryStateAndUr[1]; // TODO: Support forced reloading\n // try...catch because iOS limits us to 100 pushState calls :/\n\n\n try {\n globalHistory.pushState(historyState, '', url);\n } catch (error) {\n // They are going to lose state here, but there is no real\n // way to warn them about it since the page will refresh...\n window.location.assign(url);\n }\n\n applyTx(nextAction);\n }\n }\n\n function replace(to, state) {\n var nextAction = Action.Replace;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n replace(to, state);\n }\n\n if (allowTx(nextAction, nextLocation, retry)) {\n var _getHistoryStateAndUr2 = getHistoryStateAndUrl(nextLocation, index),\n historyState = _getHistoryStateAndUr2[0],\n url = _getHistoryStateAndUr2[1]; // TODO: Support forced reloading\n\n\n globalHistory.replaceState(historyState, '', url);\n applyTx(nextAction);\n }\n }\n\n function go(delta) {\n globalHistory.go(delta);\n }\n\n var history = {\n get action() {\n return action;\n },\n\n get location() {\n return location;\n },\n\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n back: function back() {\n go(-1);\n },\n forward: function forward() {\n go(1);\n },\n listen: function listen(listener) {\n return listeners.push(listener);\n },\n block: function block(blocker) {\n var unblock = blockers.push(blocker);\n\n if (blockers.length === 1) {\n window.addEventListener(BeforeUnloadEventType, promptBeforeUnload);\n }\n\n return function () {\n unblock(); // Remove the beforeunload listener so the document may\n // still be salvageable in the pagehide event.\n // See https://html.spec.whatwg.org/#unloading-documents\n\n if (!blockers.length) {\n window.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);\n }\n };\n }\n };\n return history;\n}\n/**\r\n * Hash history stores the location in window.location.hash. This makes it ideal\r\n * for situations where you don't want to send the location to the server for\r\n * some reason, either because you do cannot configure it or the URL space is\r\n * reserved for something else.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory\r\n */\n\nfunction createHashHistory(options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options2 = options,\n _options2$window = _options2.window,\n window = _options2$window === void 0 ? document.defaultView : _options2$window;\n var globalHistory = window.history;\n\n function getIndexAndLocation() {\n var _parsePath = parsePath(window.location.hash.substr(1)),\n _parsePath$pathname = _parsePath.pathname,\n pathname = _parsePath$pathname === void 0 ? '/' : _parsePath$pathname,\n _parsePath$search = _parsePath.search,\n search = _parsePath$search === void 0 ? '' : _parsePath$search,\n _parsePath$hash = _parsePath.hash,\n hash = _parsePath$hash === void 0 ? '' : _parsePath$hash;\n\n var state = globalHistory.state || {};\n return [state.idx, readOnly({\n pathname: pathname,\n search: search,\n hash: hash,\n state: state.usr || null,\n key: state.key || 'default'\n })];\n }\n\n var blockedPopTx = null;\n\n function handlePop() {\n if (blockedPopTx) {\n blockers.call(blockedPopTx);\n blockedPopTx = null;\n } else {\n var nextAction = Action.Pop;\n\n var _getIndexAndLocation4 = getIndexAndLocation(),\n nextIndex = _getIndexAndLocation4[0],\n nextLocation = _getIndexAndLocation4[1];\n\n if (blockers.length) {\n if (nextIndex != null) {\n var delta = index - nextIndex;\n\n if (delta) {\n // Revert the POP\n blockedPopTx = {\n action: nextAction,\n location: nextLocation,\n retry: function retry() {\n go(delta * -1);\n }\n };\n go(delta);\n }\n } else {\n // Trying to POP to a location with no index. We did not create\n // this location, so we can't effectively block the navigation.\n process.env.NODE_ENV !== \"production\" ? warning(false, // TODO: Write up a doc that explains our blocking strategy in\n // detail and link to it here so people can understand better\n // what is going on and how to avoid it.\n \"You are trying to block a POP navigation to a location that was not \" + \"created by the history library. The block will fail silently in \" + \"production, but in general you should do all navigation with the \" + \"history library (instead of using window.history.pushState directly) \" + \"to avoid this situation.\") : void 0;\n }\n } else {\n applyTx(nextAction);\n }\n }\n }\n\n window.addEventListener(PopStateEventType, handlePop); // popstate does not fire on hashchange in IE 11 and old (trident) Edge\n // https://developer.mozilla.org/de/docs/Web/API/Window/popstate_event\n\n window.addEventListener(HashChangeEventType, function () {\n var _getIndexAndLocation5 = getIndexAndLocation(),\n nextLocation = _getIndexAndLocation5[1]; // Ignore extraneous hashchange events.\n\n\n if (createPath(nextLocation) !== createPath(location)) {\n handlePop();\n }\n });\n var action = Action.Pop;\n\n var _getIndexAndLocation6 = getIndexAndLocation(),\n index = _getIndexAndLocation6[0],\n location = _getIndexAndLocation6[1];\n\n var listeners = createEvents();\n var blockers = createEvents();\n\n if (index == null) {\n index = 0;\n globalHistory.replaceState(_extends({}, globalHistory.state, {\n idx: index\n }), '');\n }\n\n function getBaseHref() {\n var base = document.querySelector('base');\n var href = '';\n\n if (base && base.getAttribute('href')) {\n var url = window.location.href;\n var hashIndex = url.indexOf('#');\n href = hashIndex === -1 ? url : url.slice(0, hashIndex);\n }\n\n return href;\n }\n\n function createHref(to) {\n return getBaseHref() + '#' + (typeof to === 'string' ? to : createPath(to));\n }\n\n function getNextLocation(to, state) {\n if (state === void 0) {\n state = null;\n }\n\n return readOnly(_extends({\n pathname: location.pathname,\n hash: '',\n search: ''\n }, typeof to === 'string' ? parsePath(to) : to, {\n state: state,\n key: createKey()\n }));\n }\n\n function getHistoryStateAndUrl(nextLocation, index) {\n return [{\n usr: nextLocation.state,\n key: nextLocation.key,\n idx: index\n }, createHref(nextLocation)];\n }\n\n function allowTx(action, location, retry) {\n return !blockers.length || (blockers.call({\n action: action,\n location: location,\n retry: retry\n }), false);\n }\n\n function applyTx(nextAction) {\n action = nextAction;\n\n var _getIndexAndLocation7 = getIndexAndLocation();\n\n index = _getIndexAndLocation7[0];\n location = _getIndexAndLocation7[1];\n listeners.call({\n action: action,\n location: location\n });\n }\n\n function push(to, state) {\n var nextAction = Action.Push;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n push(to, state);\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(nextLocation.pathname.charAt(0) === '/', \"Relative pathnames are not supported in hash history.push(\" + JSON.stringify(to) + \")\") : void 0;\n\n if (allowTx(nextAction, nextLocation, retry)) {\n var _getHistoryStateAndUr3 = getHistoryStateAndUrl(nextLocation, index + 1),\n historyState = _getHistoryStateAndUr3[0],\n url = _getHistoryStateAndUr3[1]; // TODO: Support forced reloading\n // try...catch because iOS limits us to 100 pushState calls :/\n\n\n try {\n globalHistory.pushState(historyState, '', url);\n } catch (error) {\n // They are going to lose state here, but there is no real\n // way to warn them about it since the page will refresh...\n window.location.assign(url);\n }\n\n applyTx(nextAction);\n }\n }\n\n function replace(to, state) {\n var nextAction = Action.Replace;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n replace(to, state);\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(nextLocation.pathname.charAt(0) === '/', \"Relative pathnames are not supported in hash history.replace(\" + JSON.stringify(to) + \")\") : void 0;\n\n if (allowTx(nextAction, nextLocation, retry)) {\n var _getHistoryStateAndUr4 = getHistoryStateAndUrl(nextLocation, index),\n historyState = _getHistoryStateAndUr4[0],\n url = _getHistoryStateAndUr4[1]; // TODO: Support forced reloading\n\n\n globalHistory.replaceState(historyState, '', url);\n applyTx(nextAction);\n }\n }\n\n function go(delta) {\n globalHistory.go(delta);\n }\n\n var history = {\n get action() {\n return action;\n },\n\n get location() {\n return location;\n },\n\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n back: function back() {\n go(-1);\n },\n forward: function forward() {\n go(1);\n },\n listen: function listen(listener) {\n return listeners.push(listener);\n },\n block: function block(blocker) {\n var unblock = blockers.push(blocker);\n\n if (blockers.length === 1) {\n window.addEventListener(BeforeUnloadEventType, promptBeforeUnload);\n }\n\n return function () {\n unblock(); // Remove the beforeunload listener so the document may\n // still be salvageable in the pagehide event.\n // See https://html.spec.whatwg.org/#unloading-documents\n\n if (!blockers.length) {\n window.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);\n }\n };\n }\n };\n return history;\n}\n/**\r\n * Memory history stores the current location in memory. It is designed for use\r\n * in stateful non-browser environments like tests and React Native.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#creatememoryhistory\r\n */\n\nfunction createMemoryHistory(options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options3 = options,\n _options3$initialEntr = _options3.initialEntries,\n initialEntries = _options3$initialEntr === void 0 ? ['/'] : _options3$initialEntr,\n initialIndex = _options3.initialIndex;\n var entries = initialEntries.map(function (entry) {\n var location = readOnly(_extends({\n pathname: '/',\n search: '',\n hash: '',\n state: null,\n key: createKey()\n }, typeof entry === 'string' ? parsePath(entry) : entry));\n process.env.NODE_ENV !== \"production\" ? warning(location.pathname.charAt(0) === '/', \"Relative pathnames are not supported in createMemoryHistory({ initialEntries }) (invalid entry: \" + JSON.stringify(entry) + \")\") : void 0;\n return location;\n });\n var index = clamp(initialIndex == null ? entries.length - 1 : initialIndex, 0, entries.length - 1);\n var action = Action.Pop;\n var location = entries[index];\n var listeners = createEvents();\n var blockers = createEvents();\n\n function createHref(to) {\n return typeof to === 'string' ? to : createPath(to);\n }\n\n function getNextLocation(to, state) {\n if (state === void 0) {\n state = null;\n }\n\n return readOnly(_extends({\n pathname: location.pathname,\n search: '',\n hash: ''\n }, typeof to === 'string' ? parsePath(to) : to, {\n state: state,\n key: createKey()\n }));\n }\n\n function allowTx(action, location, retry) {\n return !blockers.length || (blockers.call({\n action: action,\n location: location,\n retry: retry\n }), false);\n }\n\n function applyTx(nextAction, nextLocation) {\n action = nextAction;\n location = nextLocation;\n listeners.call({\n action: action,\n location: location\n });\n }\n\n function push(to, state) {\n var nextAction = Action.Push;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n push(to, state);\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(location.pathname.charAt(0) === '/', \"Relative pathnames are not supported in memory history.push(\" + JSON.stringify(to) + \")\") : void 0;\n\n if (allowTx(nextAction, nextLocation, retry)) {\n index += 1;\n entries.splice(index, entries.length, nextLocation);\n applyTx(nextAction, nextLocation);\n }\n }\n\n function replace(to, state) {\n var nextAction = Action.Replace;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n replace(to, state);\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(location.pathname.charAt(0) === '/', \"Relative pathnames are not supported in memory history.replace(\" + JSON.stringify(to) + \")\") : void 0;\n\n if (allowTx(nextAction, nextLocation, retry)) {\n entries[index] = nextLocation;\n applyTx(nextAction, nextLocation);\n }\n }\n\n function go(delta) {\n var nextIndex = clamp(index + delta, 0, entries.length - 1);\n var nextAction = Action.Pop;\n var nextLocation = entries[nextIndex];\n\n function retry() {\n go(delta);\n }\n\n if (allowTx(nextAction, nextLocation, retry)) {\n index = nextIndex;\n applyTx(nextAction, nextLocation);\n }\n }\n\n var history = {\n get index() {\n return index;\n },\n\n get action() {\n return action;\n },\n\n get location() {\n return location;\n },\n\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n back: function back() {\n go(-1);\n },\n forward: function forward() {\n go(1);\n },\n listen: function listen(listener) {\n return listeners.push(listener);\n },\n block: function block(blocker) {\n return blockers.push(blocker);\n }\n };\n return history;\n} ////////////////////////////////////////////////////////////////////////////////\n// UTILS\n////////////////////////////////////////////////////////////////////////////////\n\nfunction clamp(n, lowerBound, upperBound) {\n return Math.min(Math.max(n, lowerBound), upperBound);\n}\n\nfunction promptBeforeUnload(event) {\n // Cancel the event.\n event.preventDefault(); // Chrome (and legacy IE) requires returnValue to be set.\n\n event.returnValue = '';\n}\n\nfunction createEvents() {\n var handlers = [];\n return {\n get length() {\n return handlers.length;\n },\n\n push: function push(fn) {\n handlers.push(fn);\n return function () {\n handlers = handlers.filter(function (handler) {\n return handler !== fn;\n });\n };\n },\n call: function call(arg) {\n handlers.forEach(function (fn) {\n return fn && fn(arg);\n });\n }\n };\n}\n\nfunction createKey() {\n return Math.random().toString(36).substr(2, 8);\n}\n/**\r\n * Creates a string URL path from the given pathname, search, and hash components.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createpath\r\n */\n\n\nfunction createPath(_ref) {\n var _ref$pathname = _ref.pathname,\n pathname = _ref$pathname === void 0 ? '/' : _ref$pathname,\n _ref$search = _ref.search,\n search = _ref$search === void 0 ? '' : _ref$search,\n _ref$hash = _ref.hash,\n hash = _ref$hash === void 0 ? '' : _ref$hash;\n if (search && search !== '?') pathname += search.charAt(0) === '?' ? search : '?' + search;\n if (hash && hash !== '#') pathname += hash.charAt(0) === '#' ? hash : '#' + hash;\n return pathname;\n}\n/**\r\n * Parses a string URL path into its separate pathname, search, and hash components.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#parsepath\r\n */\n\nfunction parsePath(path) {\n var parsedPath = {};\n\n if (path) {\n var hashIndex = path.indexOf('#');\n\n if (hashIndex >= 0) {\n parsedPath.hash = path.substr(hashIndex);\n path = path.substr(0, hashIndex);\n }\n\n var searchIndex = path.indexOf('?');\n\n if (searchIndex >= 0) {\n parsedPath.search = path.substr(searchIndex);\n path = path.substr(0, searchIndex);\n }\n\n if (path) {\n parsedPath.pathname = path;\n }\n }\n\n return parsedPath;\n}\n\nexport { Action, createBrowserHistory, createHashHistory, createMemoryHistory, createPath, parsePath };\n//# sourceMappingURL=index.js.map\n","import qs from \"querystringify\";\r\nexport function locationToRoute(location) {\r\n // location comes from the history package\r\n return {\r\n path: location.pathname,\r\n hash: location.hash,\r\n query: qs.parse(location.search),\r\n };\r\n}\r\n","function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","import { createBrowserHistory } from \"history\";\r\nimport { locationToRoute } from \"./utils\";\r\n\r\nexport const history = createBrowserHistory();\r\nexport const RouterContext = wp.element.createContext({\r\n route: locationToRoute(history.location),\r\n});\r\n","import { RouterContext } from \"./context\";\r\nconst { useContext } = wp.element;\r\nimport { match } from \"path-to-regexp\";\r\nlet prev = \"\";\r\n\r\nexport function Route({ path, onRoute, children }) {\r\n // Extract route from RouterContext\r\n const { route } = useContext(RouterContext);\r\n\r\n const checkMatch = match(`${path}`);\r\n const matched = checkMatch(`${route.hash.substr(1)}`);\r\n\r\n if (!matched) {\r\n return null;\r\n }\r\n\r\n if (onRoute) {\r\n if (prev !== matched.path) {\r\n onRoute();\r\n }\r\n prev = matched.path;\r\n }\r\n\r\n return
{wp.element.cloneElement(children, { route: matched })}
;\r\n}\r\n","const { useContext } = wp.element;\r\nimport { RouterContext, history } from \"./context\";\r\nimport classNames from \"classnames\";\r\nimport { match } from \"path-to-regexp\";\r\n\r\nexport function Link(props) {\r\n const { to, onClick, children, activeClassName } = props;\r\n const { route } = useContext(RouterContext);\r\n\r\n let state = { ...props };\r\n delete state.activeClassName;\r\n\r\n const isActive = () => {\r\n const checkMatch = match(`${to}`);\r\n return checkMatch(`${route.hash.substr(1)}`);\r\n };\r\n\r\n const handleClick = (e) => {\r\n e.preventDefault();\r\n \r\n if (route.path === to && ! e.target.classList.contains('hfe-user-icon')) {\r\n return;\r\n }\r\n // Trigger onClick prop manually.\r\n if (onClick) {\r\n onClick(e);\r\n }\r\n\r\n if (to === \"elementor-hf\" && hfeSettingsData.header_footer_builder ) {\r\n window.location.href = hfeSettingsData.header_footer_builder;\r\n return;\r\n }\r\n\r\n const { search } = history.location;\r\n const expectedPage = \"admin.php?page=hfe\";\r\n const currentHash = window.location.hash;\r\n\r\n // Verify if the current URL is as expected\r\n if (!search.includes(expectedPage) || !currentHash.includes(to)) {\r\n // Redirect to the expected URL\r\n window.location.href = `${hfeSettingsData.hfe_settings_url}#${to}`;\r\n return;\r\n }\r\n\r\n if (!to.includes('settings')) {\r\n // Remove &tab from the URL.\r\n const newSearch = search.replace(/&tab=[^&]*/, '');\r\n // Use history API to navigate page.\r\n history.push(`${newSearch}#${to}`);\r\n } else {\r\n const changeSearch = search + '&tab=1';\r\n\r\n if (e.target.classList.contains('hfe-user-icon') && window.location.hash.includes('settings')) {\r\n window.location.href = `${changeSearch}#${to}`;\r\n } else {\r\n // Use history API to navigate page.\r\n history.push(`${search}#${to}`);\r\n }\r\n }\r\n\r\n };\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n","import { Component } from \"@wordpress/element\";\r\nimport { locationToRoute } from \"./utils\";\r\nimport { history, RouterContext } from \"./context\";\r\nimport { Route } from \"./route\";\r\nimport { Link } from \"./link\";\r\nimport { match } from \"path-to-regexp\";\r\n\r\nclass Router extends Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n // Convert our routes into an array for easy 404 checking\r\n this.routes = Object.keys(props.routes).map(\r\n (key) => props.routes[key].path\r\n );\r\n\r\n // Listen for path changes from the history API\r\n this.unlisten = history.listen(this.handleRouteChange);\r\n\r\n const route = locationToRoute(history.location);\r\n const { search } = history.location;\r\n\r\n // Define the initial RouterContext value\r\n this.state = {\r\n route,\r\n defaultRoute: props?.defaultRoute\r\n ? `${search}#${props?.defaultRoute}`\r\n : `${search}#/`,\r\n };\r\n }\r\n\r\n componentWillUnmount() {\r\n // Stop listening for changes if the Router component unmounts\r\n this.unlisten();\r\n }\r\n\r\n handleRouteChange = (location) => {\r\n localStorage.setItem('hfeSelectedItemId', '1');\r\n const route = locationToRoute(location?.location);\r\n this.setState({ route: route });\r\n };\r\n\r\n render() {\r\n // Define our variables\r\n const { children, NotFound } = this.props;\r\n const { route, defaultRoute } = this.state;\r\n\r\n if (!route.hash) {\r\n history.push(defaultRoute);\r\n return
;\r\n }\r\n\r\n let matched = false;\r\n // match route\r\n (this.routes || []).forEach((name) => {\r\n const checkMatch = match(route.hash.substr(1));\r\n const isMatched = checkMatch(`${route.hash.substr(1)}`);\r\n if (!isMatched) {\r\n return;\r\n }\r\n matched = {\r\n name,\r\n data: isMatched,\r\n };\r\n });\r\n\r\n const routerContextValue = { route, matched };\r\n\r\n // Check if 404 if no route matched\r\n const is404 = !matched;\r\n\r\n return (\r\n \r\n {is404 ?
Not found
: children}\r\n
\r\n );\r\n }\r\n}\r\nexport { history, RouterContext, Router, Route, Link };\r\n","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nexport { _classCallCheck as default };","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nfunction _possibleConstructorReturn(t, e) {\n if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e;\n if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return assertThisInitialized(t);\n}\nexport { _possibleConstructorReturn as default };","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nexport { _assertThisInitialized as default };","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inherits(t, e) {\n if (\"function\" != typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\");\n t.prototype = Object.create(e && e.prototype, {\n constructor: {\n value: t,\n writable: !0,\n configurable: !0\n }\n }), Object.defineProperty(t, \"prototype\", {\n writable: !1\n }), e && setPrototypeOf(t, e);\n}\nexport { _inherits as default };","var o = typeof globalThis < \"u\" ? globalThis : typeof window < \"u\" ? window : typeof global < \"u\" ? global : typeof self < \"u\" ? self : {};\r\nfunction l(e) {\r\n return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\r\n}\r\nexport {\r\n o as c,\r\n l as g\r\n};\r\n","\"use client\";\r\nvar nH = Object.defineProperty;\r\nvar pT = (e) => {\r\n throw TypeError(e);\r\n};\r\nvar rH = (e, t, n) => t in e ? nH(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;\r\nvar ha = (e, t, n) => rH(e, typeof t != \"symbol\" ? t + \"\" : t, n), mT = (e, t, n) => t.has(e) || pT(\"Cannot \" + n);\r\nvar Dr = (e, t, n) => (mT(e, t, \"read from private field\"), n ? n.call(e) : t.get(e)), zv = (e, t, n) => t.has(e) ? pT(\"Cannot add the same private member more than once\") : t instanceof WeakSet ? t.add(e) : t.set(e, n), as = (e, t, n, r) => (mT(e, t, \"write to private field\"), r ? r.call(e, n) : t.set(e, n), n);\r\nimport { jsxs as pe, jsx as E, Fragment as Ut } from \"react/jsx-runtime\";\r\nimport * as te from \"react\";\r\nimport R, { forwardRef as Dt, Fragment as Ur, useMemo as Fe, useState as Me, useCallback as Ke, isValidElement as rt, createElement as Zl, useLayoutEffect as hi, useEffect as qe, useRef as st, cloneElement as ht, createContext as dt, useContext as Ve, useId as Kw, Component as Gw, useInsertionEffect as V$, Children as Yt, memo as ds, Suspense as iH, startTransition as oH, PureComponent as mi, useImperativeHandle as aH } from \"react\";\r\nimport * as U$ from \"react-dom\";\r\nimport { flushSync as H$, createPortal as Yw } from \"react-dom\";\r\nimport { c as Oo, g as kt } from \"./_commonjsHelpers-DaMA6jEr.js\";\r\nconst qw = \"-\", sH = (e) => {\r\n const t = cH(e), {\r\n conflictingClassGroups: n,\r\n conflictingClassGroupModifiers: r\r\n } = e;\r\n return {\r\n getClassGroupId: (a) => {\r\n const s = a.split(qw);\r\n return s[0] === \"\" && s.length !== 1 && s.shift(), K$(s, t) || lH(a);\r\n },\r\n getConflictingClassGroupIds: (a, s) => {\r\n const l = n[a] || [];\r\n return s && r[a] ? [...l, ...r[a]] : l;\r\n }\r\n };\r\n}, K$ = (e, t) => {\r\n var a;\r\n if (e.length === 0)\r\n return t.classGroupId;\r\n const n = e[0], r = t.nextPart.get(n), i = r ? K$(e.slice(1), r) : void 0;\r\n if (i)\r\n return i;\r\n if (t.validators.length === 0)\r\n return;\r\n const o = e.join(qw);\r\n return (a = t.validators.find(({\r\n validator: s\r\n }) => s(o))) == null ? void 0 : a.classGroupId;\r\n}, gT = /^\\[(.+)\\]$/, lH = (e) => {\r\n if (gT.test(e)) {\r\n const t = gT.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(\":\"));\r\n if (n)\r\n return \"arbitrary..\" + n;\r\n }\r\n}, cH = (e) => {\r\n const {\r\n theme: t,\r\n prefix: n\r\n } = e, r = {\r\n nextPart: /* @__PURE__ */ new Map(),\r\n validators: []\r\n };\r\n return fH(Object.entries(e.classGroups), n).forEach(([o, a]) => {\r\n u0(a, r, o, t);\r\n }), r;\r\n}, u0 = (e, t, n, r) => {\r\n e.forEach((i) => {\r\n if (typeof i == \"string\") {\r\n const o = i === \"\" ? t : yT(t, i);\r\n o.classGroupId = n;\r\n return;\r\n }\r\n if (typeof i == \"function\") {\r\n if (uH(i)) {\r\n u0(i(r), t, n, r);\r\n return;\r\n }\r\n t.validators.push({\r\n validator: i,\r\n classGroupId: n\r\n });\r\n return;\r\n }\r\n Object.entries(i).forEach(([o, a]) => {\r\n u0(a, yT(t, o), n, r);\r\n });\r\n });\r\n}, yT = (e, t) => {\r\n let n = e;\r\n return t.split(qw).forEach((r) => {\r\n n.nextPart.has(r) || n.nextPart.set(r, {\r\n nextPart: /* @__PURE__ */ new Map(),\r\n validators: []\r\n }), n = n.nextPart.get(r);\r\n }), n;\r\n}, uH = (e) => e.isThemeGetter, fH = (e, t) => t ? e.map(([n, r]) => {\r\n const i = r.map((o) => typeof o == \"string\" ? t + o : typeof o == \"object\" ? Object.fromEntries(Object.entries(o).map(([a, s]) => [t + a, s])) : o);\r\n return [n, i];\r\n}) : e, dH = (e) => {\r\n if (e < 1)\r\n return {\r\n get: () => {\r\n },\r\n set: () => {\r\n }\r\n };\r\n let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();\r\n const i = (o, a) => {\r\n n.set(o, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());\r\n };\r\n return {\r\n get(o) {\r\n let a = n.get(o);\r\n if (a !== void 0)\r\n return a;\r\n if ((a = r.get(o)) !== void 0)\r\n return i(o, a), a;\r\n },\r\n set(o, a) {\r\n n.has(o) ? n.set(o, a) : i(o, a);\r\n }\r\n };\r\n}, G$ = \"!\", hH = (e) => {\r\n const {\r\n separator: t,\r\n experimentalParseClassName: n\r\n } = e, r = t.length === 1, i = t[0], o = t.length, a = (s) => {\r\n const l = [];\r\n let c = 0, f = 0, d;\r\n for (let v = 0; v < s.length; v++) {\r\n let x = s[v];\r\n if (c === 0) {\r\n if (x === i && (r || s.slice(v, v + o) === t)) {\r\n l.push(s.slice(f, v)), f = v + o;\r\n continue;\r\n }\r\n if (x === \"/\") {\r\n d = v;\r\n continue;\r\n }\r\n }\r\n x === \"[\" ? c++ : x === \"]\" && c--;\r\n }\r\n const p = l.length === 0 ? s : s.substring(f), m = p.startsWith(G$), y = m ? p.substring(1) : p, g = d && d > f ? d - f : void 0;\r\n return {\r\n modifiers: l,\r\n hasImportantModifier: m,\r\n baseClassName: y,\r\n maybePostfixModifierPosition: g\r\n };\r\n };\r\n return n ? (s) => n({\r\n className: s,\r\n parseClassName: a\r\n }) : a;\r\n}, pH = (e) => {\r\n if (e.length <= 1)\r\n return e;\r\n const t = [];\r\n let n = [];\r\n return e.forEach((r) => {\r\n r[0] === \"[\" ? (t.push(...n.sort(), r), n = []) : n.push(r);\r\n }), t.push(...n.sort()), t;\r\n}, mH = (e) => ({\r\n cache: dH(e.cacheSize),\r\n parseClassName: hH(e),\r\n ...sH(e)\r\n}), gH = /\\s+/, yH = (e, t) => {\r\n const {\r\n parseClassName: n,\r\n getClassGroupId: r,\r\n getConflictingClassGroupIds: i\r\n } = t, o = [], a = e.trim().split(gH);\r\n let s = \"\";\r\n for (let l = a.length - 1; l >= 0; l -= 1) {\r\n const c = a[l], {\r\n modifiers: f,\r\n hasImportantModifier: d,\r\n baseClassName: p,\r\n maybePostfixModifierPosition: m\r\n } = n(c);\r\n let y = !!m, g = r(y ? p.substring(0, m) : p);\r\n if (!g) {\r\n if (!y) {\r\n s = c + (s.length > 0 ? \" \" + s : s);\r\n continue;\r\n }\r\n if (g = r(p), !g) {\r\n s = c + (s.length > 0 ? \" \" + s : s);\r\n continue;\r\n }\r\n y = !1;\r\n }\r\n const v = pH(f).join(\":\"), x = d ? v + G$ : v, w = x + g;\r\n if (o.includes(w))\r\n continue;\r\n o.push(w);\r\n const S = i(g, y);\r\n for (let A = 0; A < S.length; ++A) {\r\n const _ = S[A];\r\n o.push(x + _);\r\n }\r\n s = c + (s.length > 0 ? \" \" + s : s);\r\n }\r\n return s;\r\n};\r\nfunction vH() {\r\n let e = 0, t, n, r = \"\";\r\n for (; e < arguments.length; )\r\n (t = arguments[e++]) && (n = Y$(t)) && (r && (r += \" \"), r += n);\r\n return r;\r\n}\r\nconst Y$ = (e) => {\r\n if (typeof e == \"string\")\r\n return e;\r\n let t, n = \"\";\r\n for (let r = 0; r < e.length; r++)\r\n e[r] && (t = Y$(e[r])) && (n && (n += \" \"), n += t);\r\n return n;\r\n};\r\nfunction bH(e, ...t) {\r\n let n, r, i, o = a;\r\n function a(l) {\r\n const c = t.reduce((f, d) => d(f), e());\r\n return n = mH(c), r = n.cache.get, i = n.cache.set, o = s, s(l);\r\n }\r\n function s(l) {\r\n const c = r(l);\r\n if (c)\r\n return c;\r\n const f = yH(l, n);\r\n return i(l, f), f;\r\n }\r\n return function() {\r\n return o(vH.apply(null, arguments));\r\n };\r\n}\r\nconst Wt = (e) => {\r\n const t = (n) => n[e] || [];\r\n return t.isThemeGetter = !0, t;\r\n}, q$ = /^\\[(?:([a-z-]+):)?(.+)\\]$/i, xH = /^\\d+\\/\\d+$/, wH = /* @__PURE__ */ new Set([\"px\", \"full\", \"screen\"]), _H = /^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/, SH = /\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\\b(calc|min|max|clamp)\\(.+\\)|^0$/, OH = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\\(.+\\)$/, AH = /^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/, TH = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/, bo = (e) => Vl(e) || wH.has(e) || xH.test(e), pa = (e) => Nc(e, \"length\", DH), Vl = (e) => !!e && !Number.isNaN(Number(e)), Vv = (e) => Nc(e, \"number\", Vl), bu = (e) => !!e && Number.isInteger(Number(e)), PH = (e) => e.endsWith(\"%\") && Vl(e.slice(0, -1)), Je = (e) => q$.test(e), ma = (e) => _H.test(e), CH = /* @__PURE__ */ new Set([\"length\", \"size\", \"percentage\"]), EH = (e) => Nc(e, CH, X$), kH = (e) => Nc(e, \"position\", X$), MH = /* @__PURE__ */ new Set([\"image\", \"url\"]), NH = (e) => Nc(e, MH, RH), $H = (e) => Nc(e, \"\", IH), xu = () => !0, Nc = (e, t, n) => {\r\n const r = q$.exec(e);\r\n return r ? r[1] ? typeof t == \"string\" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;\r\n}, DH = (e) => (\r\n // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.\r\n // For example, `hsl(0 0% 0%)` would be classified as a length without this check.\r\n // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.\r\n SH.test(e) && !OH.test(e)\r\n), X$ = () => !1, IH = (e) => AH.test(e), RH = (e) => TH.test(e), jH = () => {\r\n const e = Wt(\"colors\"), t = Wt(\"spacing\"), n = Wt(\"blur\"), r = Wt(\"brightness\"), i = Wt(\"borderColor\"), o = Wt(\"borderRadius\"), a = Wt(\"borderSpacing\"), s = Wt(\"borderWidth\"), l = Wt(\"contrast\"), c = Wt(\"grayscale\"), f = Wt(\"hueRotate\"), d = Wt(\"invert\"), p = Wt(\"gap\"), m = Wt(\"gradientColorStops\"), y = Wt(\"gradientColorStopPositions\"), g = Wt(\"inset\"), v = Wt(\"margin\"), x = Wt(\"opacity\"), w = Wt(\"padding\"), S = Wt(\"saturate\"), A = Wt(\"scale\"), _ = Wt(\"sepia\"), O = Wt(\"skew\"), P = Wt(\"space\"), C = Wt(\"translate\"), k = () => [\"auto\", \"contain\", \"none\"], I = () => [\"auto\", \"hidden\", \"clip\", \"visible\", \"scroll\"], $ = () => [\"auto\", Je, t], N = () => [Je, t], D = () => [\"\", bo, pa], j = () => [\"auto\", Vl, Je], F = () => [\"bottom\", \"center\", \"left\", \"left-bottom\", \"left-top\", \"right\", \"right-bottom\", \"right-top\", \"top\"], W = () => [\"solid\", \"dashed\", \"dotted\", \"double\", \"none\"], z = () => [\"normal\", \"multiply\", \"screen\", \"overlay\", \"darken\", \"lighten\", \"color-dodge\", \"color-burn\", \"hard-light\", \"soft-light\", \"difference\", \"exclusion\", \"hue\", \"saturation\", \"color\", \"luminosity\"], H = () => [\"start\", \"end\", \"center\", \"between\", \"around\", \"evenly\", \"stretch\"], U = () => [\"\", \"0\", Je], V = () => [\"auto\", \"avoid\", \"all\", \"avoid-page\", \"page\", \"left\", \"right\", \"column\"], Y = () => [Vl, Je];\r\n return {\r\n cacheSize: 500,\r\n separator: \":\",\r\n theme: {\r\n colors: [xu],\r\n spacing: [bo, pa],\r\n blur: [\"none\", \"\", ma, Je],\r\n brightness: Y(),\r\n borderColor: [e],\r\n borderRadius: [\"none\", \"\", \"full\", ma, Je],\r\n borderSpacing: N(),\r\n borderWidth: D(),\r\n contrast: Y(),\r\n grayscale: U(),\r\n hueRotate: Y(),\r\n invert: U(),\r\n gap: N(),\r\n gradientColorStops: [e],\r\n gradientColorStopPositions: [PH, pa],\r\n inset: $(),\r\n margin: $(),\r\n opacity: Y(),\r\n padding: N(),\r\n saturate: Y(),\r\n scale: Y(),\r\n sepia: U(),\r\n skew: Y(),\r\n space: N(),\r\n translate: N()\r\n },\r\n classGroups: {\r\n // Layout\r\n /**\r\n * Aspect Ratio\r\n * @see https://tailwindcss.com/docs/aspect-ratio\r\n */\r\n aspect: [{\r\n aspect: [\"auto\", \"square\", \"video\", Je]\r\n }],\r\n /**\r\n * Container\r\n * @see https://tailwindcss.com/docs/container\r\n */\r\n container: [\"container\"],\r\n /**\r\n * Columns\r\n * @see https://tailwindcss.com/docs/columns\r\n */\r\n columns: [{\r\n columns: [ma]\r\n }],\r\n /**\r\n * Break After\r\n * @see https://tailwindcss.com/docs/break-after\r\n */\r\n \"break-after\": [{\r\n \"break-after\": V()\r\n }],\r\n /**\r\n * Break Before\r\n * @see https://tailwindcss.com/docs/break-before\r\n */\r\n \"break-before\": [{\r\n \"break-before\": V()\r\n }],\r\n /**\r\n * Break Inside\r\n * @see https://tailwindcss.com/docs/break-inside\r\n */\r\n \"break-inside\": [{\r\n \"break-inside\": [\"auto\", \"avoid\", \"avoid-page\", \"avoid-column\"]\r\n }],\r\n /**\r\n * Box Decoration Break\r\n * @see https://tailwindcss.com/docs/box-decoration-break\r\n */\r\n \"box-decoration\": [{\r\n \"box-decoration\": [\"slice\", \"clone\"]\r\n }],\r\n /**\r\n * Box Sizing\r\n * @see https://tailwindcss.com/docs/box-sizing\r\n */\r\n box: [{\r\n box: [\"border\", \"content\"]\r\n }],\r\n /**\r\n * Display\r\n * @see https://tailwindcss.com/docs/display\r\n */\r\n display: [\"block\", \"inline-block\", \"inline\", \"flex\", \"inline-flex\", \"table\", \"inline-table\", \"table-caption\", \"table-cell\", \"table-column\", \"table-column-group\", \"table-footer-group\", \"table-header-group\", \"table-row-group\", \"table-row\", \"flow-root\", \"grid\", \"inline-grid\", \"contents\", \"list-item\", \"hidden\"],\r\n /**\r\n * Floats\r\n * @see https://tailwindcss.com/docs/float\r\n */\r\n float: [{\r\n float: [\"right\", \"left\", \"none\", \"start\", \"end\"]\r\n }],\r\n /**\r\n * Clear\r\n * @see https://tailwindcss.com/docs/clear\r\n */\r\n clear: [{\r\n clear: [\"left\", \"right\", \"both\", \"none\", \"start\", \"end\"]\r\n }],\r\n /**\r\n * Isolation\r\n * @see https://tailwindcss.com/docs/isolation\r\n */\r\n isolation: [\"isolate\", \"isolation-auto\"],\r\n /**\r\n * Object Fit\r\n * @see https://tailwindcss.com/docs/object-fit\r\n */\r\n \"object-fit\": [{\r\n object: [\"contain\", \"cover\", \"fill\", \"none\", \"scale-down\"]\r\n }],\r\n /**\r\n * Object Position\r\n * @see https://tailwindcss.com/docs/object-position\r\n */\r\n \"object-position\": [{\r\n object: [...F(), Je]\r\n }],\r\n /**\r\n * Overflow\r\n * @see https://tailwindcss.com/docs/overflow\r\n */\r\n overflow: [{\r\n overflow: I()\r\n }],\r\n /**\r\n * Overflow X\r\n * @see https://tailwindcss.com/docs/overflow\r\n */\r\n \"overflow-x\": [{\r\n \"overflow-x\": I()\r\n }],\r\n /**\r\n * Overflow Y\r\n * @see https://tailwindcss.com/docs/overflow\r\n */\r\n \"overflow-y\": [{\r\n \"overflow-y\": I()\r\n }],\r\n /**\r\n * Overscroll Behavior\r\n * @see https://tailwindcss.com/docs/overscroll-behavior\r\n */\r\n overscroll: [{\r\n overscroll: k()\r\n }],\r\n /**\r\n * Overscroll Behavior X\r\n * @see https://tailwindcss.com/docs/overscroll-behavior\r\n */\r\n \"overscroll-x\": [{\r\n \"overscroll-x\": k()\r\n }],\r\n /**\r\n * Overscroll Behavior Y\r\n * @see https://tailwindcss.com/docs/overscroll-behavior\r\n */\r\n \"overscroll-y\": [{\r\n \"overscroll-y\": k()\r\n }],\r\n /**\r\n * Position\r\n * @see https://tailwindcss.com/docs/position\r\n */\r\n position: [\"static\", \"fixed\", \"absolute\", \"relative\", \"sticky\"],\r\n /**\r\n * Top / Right / Bottom / Left\r\n * @see https://tailwindcss.com/docs/top-right-bottom-left\r\n */\r\n inset: [{\r\n inset: [g]\r\n }],\r\n /**\r\n * Right / Left\r\n * @see https://tailwindcss.com/docs/top-right-bottom-left\r\n */\r\n \"inset-x\": [{\r\n \"inset-x\": [g]\r\n }],\r\n /**\r\n * Top / Bottom\r\n * @see https://tailwindcss.com/docs/top-right-bottom-left\r\n */\r\n \"inset-y\": [{\r\n \"inset-y\": [g]\r\n }],\r\n /**\r\n * Start\r\n * @see https://tailwindcss.com/docs/top-right-bottom-left\r\n */\r\n start: [{\r\n start: [g]\r\n }],\r\n /**\r\n * End\r\n * @see https://tailwindcss.com/docs/top-right-bottom-left\r\n */\r\n end: [{\r\n end: [g]\r\n }],\r\n /**\r\n * Top\r\n * @see https://tailwindcss.com/docs/top-right-bottom-left\r\n */\r\n top: [{\r\n top: [g]\r\n }],\r\n /**\r\n * Right\r\n * @see https://tailwindcss.com/docs/top-right-bottom-left\r\n */\r\n right: [{\r\n right: [g]\r\n }],\r\n /**\r\n * Bottom\r\n * @see https://tailwindcss.com/docs/top-right-bottom-left\r\n */\r\n bottom: [{\r\n bottom: [g]\r\n }],\r\n /**\r\n * Left\r\n * @see https://tailwindcss.com/docs/top-right-bottom-left\r\n */\r\n left: [{\r\n left: [g]\r\n }],\r\n /**\r\n * Visibility\r\n * @see https://tailwindcss.com/docs/visibility\r\n */\r\n visibility: [\"visible\", \"invisible\", \"collapse\"],\r\n /**\r\n * Z-Index\r\n * @see https://tailwindcss.com/docs/z-index\r\n */\r\n z: [{\r\n z: [\"auto\", bu, Je]\r\n }],\r\n // Flexbox and Grid\r\n /**\r\n * Flex Basis\r\n * @see https://tailwindcss.com/docs/flex-basis\r\n */\r\n basis: [{\r\n basis: $()\r\n }],\r\n /**\r\n * Flex Direction\r\n * @see https://tailwindcss.com/docs/flex-direction\r\n */\r\n \"flex-direction\": [{\r\n flex: [\"row\", \"row-reverse\", \"col\", \"col-reverse\"]\r\n }],\r\n /**\r\n * Flex Wrap\r\n * @see https://tailwindcss.com/docs/flex-wrap\r\n */\r\n \"flex-wrap\": [{\r\n flex: [\"wrap\", \"wrap-reverse\", \"nowrap\"]\r\n }],\r\n /**\r\n * Flex\r\n * @see https://tailwindcss.com/docs/flex\r\n */\r\n flex: [{\r\n flex: [\"1\", \"auto\", \"initial\", \"none\", Je]\r\n }],\r\n /**\r\n * Flex Grow\r\n * @see https://tailwindcss.com/docs/flex-grow\r\n */\r\n grow: [{\r\n grow: U()\r\n }],\r\n /**\r\n * Flex Shrink\r\n * @see https://tailwindcss.com/docs/flex-shrink\r\n */\r\n shrink: [{\r\n shrink: U()\r\n }],\r\n /**\r\n * Order\r\n * @see https://tailwindcss.com/docs/order\r\n */\r\n order: [{\r\n order: [\"first\", \"last\", \"none\", bu, Je]\r\n }],\r\n /**\r\n * Grid Template Columns\r\n * @see https://tailwindcss.com/docs/grid-template-columns\r\n */\r\n \"grid-cols\": [{\r\n \"grid-cols\": [xu]\r\n }],\r\n /**\r\n * Grid Column Start / End\r\n * @see https://tailwindcss.com/docs/grid-column\r\n */\r\n \"col-start-end\": [{\r\n col: [\"auto\", {\r\n span: [\"full\", bu, Je]\r\n }, Je]\r\n }],\r\n /**\r\n * Grid Column Start\r\n * @see https://tailwindcss.com/docs/grid-column\r\n */\r\n \"col-start\": [{\r\n \"col-start\": j()\r\n }],\r\n /**\r\n * Grid Column End\r\n * @see https://tailwindcss.com/docs/grid-column\r\n */\r\n \"col-end\": [{\r\n \"col-end\": j()\r\n }],\r\n /**\r\n * Grid Template Rows\r\n * @see https://tailwindcss.com/docs/grid-template-rows\r\n */\r\n \"grid-rows\": [{\r\n \"grid-rows\": [xu]\r\n }],\r\n /**\r\n * Grid Row Start / End\r\n * @see https://tailwindcss.com/docs/grid-row\r\n */\r\n \"row-start-end\": [{\r\n row: [\"auto\", {\r\n span: [bu, Je]\r\n }, Je]\r\n }],\r\n /**\r\n * Grid Row Start\r\n * @see https://tailwindcss.com/docs/grid-row\r\n */\r\n \"row-start\": [{\r\n \"row-start\": j()\r\n }],\r\n /**\r\n * Grid Row End\r\n * @see https://tailwindcss.com/docs/grid-row\r\n */\r\n \"row-end\": [{\r\n \"row-end\": j()\r\n }],\r\n /**\r\n * Grid Auto Flow\r\n * @see https://tailwindcss.com/docs/grid-auto-flow\r\n */\r\n \"grid-flow\": [{\r\n \"grid-flow\": [\"row\", \"col\", \"dense\", \"row-dense\", \"col-dense\"]\r\n }],\r\n /**\r\n * Grid Auto Columns\r\n * @see https://tailwindcss.com/docs/grid-auto-columns\r\n */\r\n \"auto-cols\": [{\r\n \"auto-cols\": [\"auto\", \"min\", \"max\", \"fr\", Je]\r\n }],\r\n /**\r\n * Grid Auto Rows\r\n * @see https://tailwindcss.com/docs/grid-auto-rows\r\n */\r\n \"auto-rows\": [{\r\n \"auto-rows\": [\"auto\", \"min\", \"max\", \"fr\", Je]\r\n }],\r\n /**\r\n * Gap\r\n * @see https://tailwindcss.com/docs/gap\r\n */\r\n gap: [{\r\n gap: [p]\r\n }],\r\n /**\r\n * Gap X\r\n * @see https://tailwindcss.com/docs/gap\r\n */\r\n \"gap-x\": [{\r\n \"gap-x\": [p]\r\n }],\r\n /**\r\n * Gap Y\r\n * @see https://tailwindcss.com/docs/gap\r\n */\r\n \"gap-y\": [{\r\n \"gap-y\": [p]\r\n }],\r\n /**\r\n * Justify Content\r\n * @see https://tailwindcss.com/docs/justify-content\r\n */\r\n \"justify-content\": [{\r\n justify: [\"normal\", ...H()]\r\n }],\r\n /**\r\n * Justify Items\r\n * @see https://tailwindcss.com/docs/justify-items\r\n */\r\n \"justify-items\": [{\r\n \"justify-items\": [\"start\", \"end\", \"center\", \"stretch\"]\r\n }],\r\n /**\r\n * Justify Self\r\n * @see https://tailwindcss.com/docs/justify-self\r\n */\r\n \"justify-self\": [{\r\n \"justify-self\": [\"auto\", \"start\", \"end\", \"center\", \"stretch\"]\r\n }],\r\n /**\r\n * Align Content\r\n * @see https://tailwindcss.com/docs/align-content\r\n */\r\n \"align-content\": [{\r\n content: [\"normal\", ...H(), \"baseline\"]\r\n }],\r\n /**\r\n * Align Items\r\n * @see https://tailwindcss.com/docs/align-items\r\n */\r\n \"align-items\": [{\r\n items: [\"start\", \"end\", \"center\", \"baseline\", \"stretch\"]\r\n }],\r\n /**\r\n * Align Self\r\n * @see https://tailwindcss.com/docs/align-self\r\n */\r\n \"align-self\": [{\r\n self: [\"auto\", \"start\", \"end\", \"center\", \"stretch\", \"baseline\"]\r\n }],\r\n /**\r\n * Place Content\r\n * @see https://tailwindcss.com/docs/place-content\r\n */\r\n \"place-content\": [{\r\n \"place-content\": [...H(), \"baseline\"]\r\n }],\r\n /**\r\n * Place Items\r\n * @see https://tailwindcss.com/docs/place-items\r\n */\r\n \"place-items\": [{\r\n \"place-items\": [\"start\", \"end\", \"center\", \"baseline\", \"stretch\"]\r\n }],\r\n /**\r\n * Place Self\r\n * @see https://tailwindcss.com/docs/place-self\r\n */\r\n \"place-self\": [{\r\n \"place-self\": [\"auto\", \"start\", \"end\", \"center\", \"stretch\"]\r\n }],\r\n // Spacing\r\n /**\r\n * Padding\r\n * @see https://tailwindcss.com/docs/padding\r\n */\r\n p: [{\r\n p: [w]\r\n }],\r\n /**\r\n * Padding X\r\n * @see https://tailwindcss.com/docs/padding\r\n */\r\n px: [{\r\n px: [w]\r\n }],\r\n /**\r\n * Padding Y\r\n * @see https://tailwindcss.com/docs/padding\r\n */\r\n py: [{\r\n py: [w]\r\n }],\r\n /**\r\n * Padding Start\r\n * @see https://tailwindcss.com/docs/padding\r\n */\r\n ps: [{\r\n ps: [w]\r\n }],\r\n /**\r\n * Padding End\r\n * @see https://tailwindcss.com/docs/padding\r\n */\r\n pe: [{\r\n pe: [w]\r\n }],\r\n /**\r\n * Padding Top\r\n * @see https://tailwindcss.com/docs/padding\r\n */\r\n pt: [{\r\n pt: [w]\r\n }],\r\n /**\r\n * Padding Right\r\n * @see https://tailwindcss.com/docs/padding\r\n */\r\n pr: [{\r\n pr: [w]\r\n }],\r\n /**\r\n * Padding Bottom\r\n * @see https://tailwindcss.com/docs/padding\r\n */\r\n pb: [{\r\n pb: [w]\r\n }],\r\n /**\r\n * Padding Left\r\n * @see https://tailwindcss.com/docs/padding\r\n */\r\n pl: [{\r\n pl: [w]\r\n }],\r\n /**\r\n * Margin\r\n * @see https://tailwindcss.com/docs/margin\r\n */\r\n m: [{\r\n m: [v]\r\n }],\r\n /**\r\n * Margin X\r\n * @see https://tailwindcss.com/docs/margin\r\n */\r\n mx: [{\r\n mx: [v]\r\n }],\r\n /**\r\n * Margin Y\r\n * @see https://tailwindcss.com/docs/margin\r\n */\r\n my: [{\r\n my: [v]\r\n }],\r\n /**\r\n * Margin Start\r\n * @see https://tailwindcss.com/docs/margin\r\n */\r\n ms: [{\r\n ms: [v]\r\n }],\r\n /**\r\n * Margin End\r\n * @see https://tailwindcss.com/docs/margin\r\n */\r\n me: [{\r\n me: [v]\r\n }],\r\n /**\r\n * Margin Top\r\n * @see https://tailwindcss.com/docs/margin\r\n */\r\n mt: [{\r\n mt: [v]\r\n }],\r\n /**\r\n * Margin Right\r\n * @see https://tailwindcss.com/docs/margin\r\n */\r\n mr: [{\r\n mr: [v]\r\n }],\r\n /**\r\n * Margin Bottom\r\n * @see https://tailwindcss.com/docs/margin\r\n */\r\n mb: [{\r\n mb: [v]\r\n }],\r\n /**\r\n * Margin Left\r\n * @see https://tailwindcss.com/docs/margin\r\n */\r\n ml: [{\r\n ml: [v]\r\n }],\r\n /**\r\n * Space Between X\r\n * @see https://tailwindcss.com/docs/space\r\n */\r\n \"space-x\": [{\r\n \"space-x\": [P]\r\n }],\r\n /**\r\n * Space Between X Reverse\r\n * @see https://tailwindcss.com/docs/space\r\n */\r\n \"space-x-reverse\": [\"space-x-reverse\"],\r\n /**\r\n * Space Between Y\r\n * @see https://tailwindcss.com/docs/space\r\n */\r\n \"space-y\": [{\r\n \"space-y\": [P]\r\n }],\r\n /**\r\n * Space Between Y Reverse\r\n * @see https://tailwindcss.com/docs/space\r\n */\r\n \"space-y-reverse\": [\"space-y-reverse\"],\r\n // Sizing\r\n /**\r\n * Width\r\n * @see https://tailwindcss.com/docs/width\r\n */\r\n w: [{\r\n w: [\"auto\", \"min\", \"max\", \"fit\", \"svw\", \"lvw\", \"dvw\", Je, t]\r\n }],\r\n /**\r\n * Min-Width\r\n * @see https://tailwindcss.com/docs/min-width\r\n */\r\n \"min-w\": [{\r\n \"min-w\": [Je, t, \"min\", \"max\", \"fit\"]\r\n }],\r\n /**\r\n * Max-Width\r\n * @see https://tailwindcss.com/docs/max-width\r\n */\r\n \"max-w\": [{\r\n \"max-w\": [Je, t, \"none\", \"full\", \"min\", \"max\", \"fit\", \"prose\", {\r\n screen: [ma]\r\n }, ma]\r\n }],\r\n /**\r\n * Height\r\n * @see https://tailwindcss.com/docs/height\r\n */\r\n h: [{\r\n h: [Je, t, \"auto\", \"min\", \"max\", \"fit\", \"svh\", \"lvh\", \"dvh\"]\r\n }],\r\n /**\r\n * Min-Height\r\n * @see https://tailwindcss.com/docs/min-height\r\n */\r\n \"min-h\": [{\r\n \"min-h\": [Je, t, \"min\", \"max\", \"fit\", \"svh\", \"lvh\", \"dvh\"]\r\n }],\r\n /**\r\n * Max-Height\r\n * @see https://tailwindcss.com/docs/max-height\r\n */\r\n \"max-h\": [{\r\n \"max-h\": [Je, t, \"min\", \"max\", \"fit\", \"svh\", \"lvh\", \"dvh\"]\r\n }],\r\n /**\r\n * Size\r\n * @see https://tailwindcss.com/docs/size\r\n */\r\n size: [{\r\n size: [Je, t, \"auto\", \"min\", \"max\", \"fit\"]\r\n }],\r\n // Typography\r\n /**\r\n * Font Size\r\n * @see https://tailwindcss.com/docs/font-size\r\n */\r\n \"font-size\": [{\r\n text: [\"base\", ma, pa]\r\n }],\r\n /**\r\n * Font Smoothing\r\n * @see https://tailwindcss.com/docs/font-smoothing\r\n */\r\n \"font-smoothing\": [\"antialiased\", \"subpixel-antialiased\"],\r\n /**\r\n * Font Style\r\n * @see https://tailwindcss.com/docs/font-style\r\n */\r\n \"font-style\": [\"italic\", \"not-italic\"],\r\n /**\r\n * Font Weight\r\n * @see https://tailwindcss.com/docs/font-weight\r\n */\r\n \"font-weight\": [{\r\n font: [\"thin\", \"extralight\", \"light\", \"normal\", \"medium\", \"semibold\", \"bold\", \"extrabold\", \"black\", Vv]\r\n }],\r\n /**\r\n * Font Family\r\n * @see https://tailwindcss.com/docs/font-family\r\n */\r\n \"font-family\": [{\r\n font: [xu]\r\n }],\r\n /**\r\n * Font Variant Numeric\r\n * @see https://tailwindcss.com/docs/font-variant-numeric\r\n */\r\n \"fvn-normal\": [\"normal-nums\"],\r\n /**\r\n * Font Variant Numeric\r\n * @see https://tailwindcss.com/docs/font-variant-numeric\r\n */\r\n \"fvn-ordinal\": [\"ordinal\"],\r\n /**\r\n * Font Variant Numeric\r\n * @see https://tailwindcss.com/docs/font-variant-numeric\r\n */\r\n \"fvn-slashed-zero\": [\"slashed-zero\"],\r\n /**\r\n * Font Variant Numeric\r\n * @see https://tailwindcss.com/docs/font-variant-numeric\r\n */\r\n \"fvn-figure\": [\"lining-nums\", \"oldstyle-nums\"],\r\n /**\r\n * Font Variant Numeric\r\n * @see https://tailwindcss.com/docs/font-variant-numeric\r\n */\r\n \"fvn-spacing\": [\"proportional-nums\", \"tabular-nums\"],\r\n /**\r\n * Font Variant Numeric\r\n * @see https://tailwindcss.com/docs/font-variant-numeric\r\n */\r\n \"fvn-fraction\": [\"diagonal-fractions\", \"stacked-fractons\"],\r\n /**\r\n * Letter Spacing\r\n * @see https://tailwindcss.com/docs/letter-spacing\r\n */\r\n tracking: [{\r\n tracking: [\"tighter\", \"tight\", \"normal\", \"wide\", \"wider\", \"widest\", Je]\r\n }],\r\n /**\r\n * Line Clamp\r\n * @see https://tailwindcss.com/docs/line-clamp\r\n */\r\n \"line-clamp\": [{\r\n \"line-clamp\": [\"none\", Vl, Vv]\r\n }],\r\n /**\r\n * Line Height\r\n * @see https://tailwindcss.com/docs/line-height\r\n */\r\n leading: [{\r\n leading: [\"none\", \"tight\", \"snug\", \"normal\", \"relaxed\", \"loose\", bo, Je]\r\n }],\r\n /**\r\n * List Style Image\r\n * @see https://tailwindcss.com/docs/list-style-image\r\n */\r\n \"list-image\": [{\r\n \"list-image\": [\"none\", Je]\r\n }],\r\n /**\r\n * List Style Type\r\n * @see https://tailwindcss.com/docs/list-style-type\r\n */\r\n \"list-style-type\": [{\r\n list: [\"none\", \"disc\", \"decimal\", Je]\r\n }],\r\n /**\r\n * List Style Position\r\n * @see https://tailwindcss.com/docs/list-style-position\r\n */\r\n \"list-style-position\": [{\r\n list: [\"inside\", \"outside\"]\r\n }],\r\n /**\r\n * Placeholder Color\r\n * @deprecated since Tailwind CSS v3.0.0\r\n * @see https://tailwindcss.com/docs/placeholder-color\r\n */\r\n \"placeholder-color\": [{\r\n placeholder: [e]\r\n }],\r\n /**\r\n * Placeholder Opacity\r\n * @see https://tailwindcss.com/docs/placeholder-opacity\r\n */\r\n \"placeholder-opacity\": [{\r\n \"placeholder-opacity\": [x]\r\n }],\r\n /**\r\n * Text Alignment\r\n * @see https://tailwindcss.com/docs/text-align\r\n */\r\n \"text-alignment\": [{\r\n text: [\"left\", \"center\", \"right\", \"justify\", \"start\", \"end\"]\r\n }],\r\n /**\r\n * Text Color\r\n * @see https://tailwindcss.com/docs/text-color\r\n */\r\n \"text-color\": [{\r\n text: [e]\r\n }],\r\n /**\r\n * Text Opacity\r\n * @see https://tailwindcss.com/docs/text-opacity\r\n */\r\n \"text-opacity\": [{\r\n \"text-opacity\": [x]\r\n }],\r\n /**\r\n * Text Decoration\r\n * @see https://tailwindcss.com/docs/text-decoration\r\n */\r\n \"text-decoration\": [\"underline\", \"overline\", \"line-through\", \"no-underline\"],\r\n /**\r\n * Text Decoration Style\r\n * @see https://tailwindcss.com/docs/text-decoration-style\r\n */\r\n \"text-decoration-style\": [{\r\n decoration: [...W(), \"wavy\"]\r\n }],\r\n /**\r\n * Text Decoration Thickness\r\n * @see https://tailwindcss.com/docs/text-decoration-thickness\r\n */\r\n \"text-decoration-thickness\": [{\r\n decoration: [\"auto\", \"from-font\", bo, pa]\r\n }],\r\n /**\r\n * Text Underline Offset\r\n * @see https://tailwindcss.com/docs/text-underline-offset\r\n */\r\n \"underline-offset\": [{\r\n \"underline-offset\": [\"auto\", bo, Je]\r\n }],\r\n /**\r\n * Text Decoration Color\r\n * @see https://tailwindcss.com/docs/text-decoration-color\r\n */\r\n \"text-decoration-color\": [{\r\n decoration: [e]\r\n }],\r\n /**\r\n * Text Transform\r\n * @see https://tailwindcss.com/docs/text-transform\r\n */\r\n \"text-transform\": [\"uppercase\", \"lowercase\", \"capitalize\", \"normal-case\"],\r\n /**\r\n * Text Overflow\r\n * @see https://tailwindcss.com/docs/text-overflow\r\n */\r\n \"text-overflow\": [\"truncate\", \"text-ellipsis\", \"text-clip\"],\r\n /**\r\n * Text Wrap\r\n * @see https://tailwindcss.com/docs/text-wrap\r\n */\r\n \"text-wrap\": [{\r\n text: [\"wrap\", \"nowrap\", \"balance\", \"pretty\"]\r\n }],\r\n /**\r\n * Text Indent\r\n * @see https://tailwindcss.com/docs/text-indent\r\n */\r\n indent: [{\r\n indent: N()\r\n }],\r\n /**\r\n * Vertical Alignment\r\n * @see https://tailwindcss.com/docs/vertical-align\r\n */\r\n \"vertical-align\": [{\r\n align: [\"baseline\", \"top\", \"middle\", \"bottom\", \"text-top\", \"text-bottom\", \"sub\", \"super\", Je]\r\n }],\r\n /**\r\n * Whitespace\r\n * @see https://tailwindcss.com/docs/whitespace\r\n */\r\n whitespace: [{\r\n whitespace: [\"normal\", \"nowrap\", \"pre\", \"pre-line\", \"pre-wrap\", \"break-spaces\"]\r\n }],\r\n /**\r\n * Word Break\r\n * @see https://tailwindcss.com/docs/word-break\r\n */\r\n break: [{\r\n break: [\"normal\", \"words\", \"all\", \"keep\"]\r\n }],\r\n /**\r\n * Hyphens\r\n * @see https://tailwindcss.com/docs/hyphens\r\n */\r\n hyphens: [{\r\n hyphens: [\"none\", \"manual\", \"auto\"]\r\n }],\r\n /**\r\n * Content\r\n * @see https://tailwindcss.com/docs/content\r\n */\r\n content: [{\r\n content: [\"none\", Je]\r\n }],\r\n // Backgrounds\r\n /**\r\n * Background Attachment\r\n * @see https://tailwindcss.com/docs/background-attachment\r\n */\r\n \"bg-attachment\": [{\r\n bg: [\"fixed\", \"local\", \"scroll\"]\r\n }],\r\n /**\r\n * Background Clip\r\n * @see https://tailwindcss.com/docs/background-clip\r\n */\r\n \"bg-clip\": [{\r\n \"bg-clip\": [\"border\", \"padding\", \"content\", \"text\"]\r\n }],\r\n /**\r\n * Background Opacity\r\n * @deprecated since Tailwind CSS v3.0.0\r\n * @see https://tailwindcss.com/docs/background-opacity\r\n */\r\n \"bg-opacity\": [{\r\n \"bg-opacity\": [x]\r\n }],\r\n /**\r\n * Background Origin\r\n * @see https://tailwindcss.com/docs/background-origin\r\n */\r\n \"bg-origin\": [{\r\n \"bg-origin\": [\"border\", \"padding\", \"content\"]\r\n }],\r\n /**\r\n * Background Position\r\n * @see https://tailwindcss.com/docs/background-position\r\n */\r\n \"bg-position\": [{\r\n bg: [...F(), kH]\r\n }],\r\n /**\r\n * Background Repeat\r\n * @see https://tailwindcss.com/docs/background-repeat\r\n */\r\n \"bg-repeat\": [{\r\n bg: [\"no-repeat\", {\r\n repeat: [\"\", \"x\", \"y\", \"round\", \"space\"]\r\n }]\r\n }],\r\n /**\r\n * Background Size\r\n * @see https://tailwindcss.com/docs/background-size\r\n */\r\n \"bg-size\": [{\r\n bg: [\"auto\", \"cover\", \"contain\", EH]\r\n }],\r\n /**\r\n * Background Image\r\n * @see https://tailwindcss.com/docs/background-image\r\n */\r\n \"bg-image\": [{\r\n bg: [\"none\", {\r\n \"gradient-to\": [\"t\", \"tr\", \"r\", \"br\", \"b\", \"bl\", \"l\", \"tl\"]\r\n }, NH]\r\n }],\r\n /**\r\n * Background Color\r\n * @see https://tailwindcss.com/docs/background-color\r\n */\r\n \"bg-color\": [{\r\n bg: [e]\r\n }],\r\n /**\r\n * Gradient Color Stops From Position\r\n * @see https://tailwindcss.com/docs/gradient-color-stops\r\n */\r\n \"gradient-from-pos\": [{\r\n from: [y]\r\n }],\r\n /**\r\n * Gradient Color Stops Via Position\r\n * @see https://tailwindcss.com/docs/gradient-color-stops\r\n */\r\n \"gradient-via-pos\": [{\r\n via: [y]\r\n }],\r\n /**\r\n * Gradient Color Stops To Position\r\n * @see https://tailwindcss.com/docs/gradient-color-stops\r\n */\r\n \"gradient-to-pos\": [{\r\n to: [y]\r\n }],\r\n /**\r\n * Gradient Color Stops From\r\n * @see https://tailwindcss.com/docs/gradient-color-stops\r\n */\r\n \"gradient-from\": [{\r\n from: [m]\r\n }],\r\n /**\r\n * Gradient Color Stops Via\r\n * @see https://tailwindcss.com/docs/gradient-color-stops\r\n */\r\n \"gradient-via\": [{\r\n via: [m]\r\n }],\r\n /**\r\n * Gradient Color Stops To\r\n * @see https://tailwindcss.com/docs/gradient-color-stops\r\n */\r\n \"gradient-to\": [{\r\n to: [m]\r\n }],\r\n // Borders\r\n /**\r\n * Border Radius\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n rounded: [{\r\n rounded: [o]\r\n }],\r\n /**\r\n * Border Radius Start\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-s\": [{\r\n \"rounded-s\": [o]\r\n }],\r\n /**\r\n * Border Radius End\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-e\": [{\r\n \"rounded-e\": [o]\r\n }],\r\n /**\r\n * Border Radius Top\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-t\": [{\r\n \"rounded-t\": [o]\r\n }],\r\n /**\r\n * Border Radius Right\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-r\": [{\r\n \"rounded-r\": [o]\r\n }],\r\n /**\r\n * Border Radius Bottom\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-b\": [{\r\n \"rounded-b\": [o]\r\n }],\r\n /**\r\n * Border Radius Left\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-l\": [{\r\n \"rounded-l\": [o]\r\n }],\r\n /**\r\n * Border Radius Start Start\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-ss\": [{\r\n \"rounded-ss\": [o]\r\n }],\r\n /**\r\n * Border Radius Start End\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-se\": [{\r\n \"rounded-se\": [o]\r\n }],\r\n /**\r\n * Border Radius End End\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-ee\": [{\r\n \"rounded-ee\": [o]\r\n }],\r\n /**\r\n * Border Radius End Start\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-es\": [{\r\n \"rounded-es\": [o]\r\n }],\r\n /**\r\n * Border Radius Top Left\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-tl\": [{\r\n \"rounded-tl\": [o]\r\n }],\r\n /**\r\n * Border Radius Top Right\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-tr\": [{\r\n \"rounded-tr\": [o]\r\n }],\r\n /**\r\n * Border Radius Bottom Right\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-br\": [{\r\n \"rounded-br\": [o]\r\n }],\r\n /**\r\n * Border Radius Bottom Left\r\n * @see https://tailwindcss.com/docs/border-radius\r\n */\r\n \"rounded-bl\": [{\r\n \"rounded-bl\": [o]\r\n }],\r\n /**\r\n * Border Width\r\n * @see https://tailwindcss.com/docs/border-width\r\n */\r\n \"border-w\": [{\r\n border: [s]\r\n }],\r\n /**\r\n * Border Width X\r\n * @see https://tailwindcss.com/docs/border-width\r\n */\r\n \"border-w-x\": [{\r\n \"border-x\": [s]\r\n }],\r\n /**\r\n * Border Width Y\r\n * @see https://tailwindcss.com/docs/border-width\r\n */\r\n \"border-w-y\": [{\r\n \"border-y\": [s]\r\n }],\r\n /**\r\n * Border Width Start\r\n * @see https://tailwindcss.com/docs/border-width\r\n */\r\n \"border-w-s\": [{\r\n \"border-s\": [s]\r\n }],\r\n /**\r\n * Border Width End\r\n * @see https://tailwindcss.com/docs/border-width\r\n */\r\n \"border-w-e\": [{\r\n \"border-e\": [s]\r\n }],\r\n /**\r\n * Border Width Top\r\n * @see https://tailwindcss.com/docs/border-width\r\n */\r\n \"border-w-t\": [{\r\n \"border-t\": [s]\r\n }],\r\n /**\r\n * Border Width Right\r\n * @see https://tailwindcss.com/docs/border-width\r\n */\r\n \"border-w-r\": [{\r\n \"border-r\": [s]\r\n }],\r\n /**\r\n * Border Width Bottom\r\n * @see https://tailwindcss.com/docs/border-width\r\n */\r\n \"border-w-b\": [{\r\n \"border-b\": [s]\r\n }],\r\n /**\r\n * Border Width Left\r\n * @see https://tailwindcss.com/docs/border-width\r\n */\r\n \"border-w-l\": [{\r\n \"border-l\": [s]\r\n }],\r\n /**\r\n * Border Opacity\r\n * @see https://tailwindcss.com/docs/border-opacity\r\n */\r\n \"border-opacity\": [{\r\n \"border-opacity\": [x]\r\n }],\r\n /**\r\n * Border Style\r\n * @see https://tailwindcss.com/docs/border-style\r\n */\r\n \"border-style\": [{\r\n border: [...W(), \"hidden\"]\r\n }],\r\n /**\r\n * Divide Width X\r\n * @see https://tailwindcss.com/docs/divide-width\r\n */\r\n \"divide-x\": [{\r\n \"divide-x\": [s]\r\n }],\r\n /**\r\n * Divide Width X Reverse\r\n * @see https://tailwindcss.com/docs/divide-width\r\n */\r\n \"divide-x-reverse\": [\"divide-x-reverse\"],\r\n /**\r\n * Divide Width Y\r\n * @see https://tailwindcss.com/docs/divide-width\r\n */\r\n \"divide-y\": [{\r\n \"divide-y\": [s]\r\n }],\r\n /**\r\n * Divide Width Y Reverse\r\n * @see https://tailwindcss.com/docs/divide-width\r\n */\r\n \"divide-y-reverse\": [\"divide-y-reverse\"],\r\n /**\r\n * Divide Opacity\r\n * @see https://tailwindcss.com/docs/divide-opacity\r\n */\r\n \"divide-opacity\": [{\r\n \"divide-opacity\": [x]\r\n }],\r\n /**\r\n * Divide Style\r\n * @see https://tailwindcss.com/docs/divide-style\r\n */\r\n \"divide-style\": [{\r\n divide: W()\r\n }],\r\n /**\r\n * Border Color\r\n * @see https://tailwindcss.com/docs/border-color\r\n */\r\n \"border-color\": [{\r\n border: [i]\r\n }],\r\n /**\r\n * Border Color X\r\n * @see https://tailwindcss.com/docs/border-color\r\n */\r\n \"border-color-x\": [{\r\n \"border-x\": [i]\r\n }],\r\n /**\r\n * Border Color Y\r\n * @see https://tailwindcss.com/docs/border-color\r\n */\r\n \"border-color-y\": [{\r\n \"border-y\": [i]\r\n }],\r\n /**\r\n * Border Color S\r\n * @see https://tailwindcss.com/docs/border-color\r\n */\r\n \"border-color-s\": [{\r\n \"border-s\": [i]\r\n }],\r\n /**\r\n * Border Color E\r\n * @see https://tailwindcss.com/docs/border-color\r\n */\r\n \"border-color-e\": [{\r\n \"border-e\": [i]\r\n }],\r\n /**\r\n * Border Color Top\r\n * @see https://tailwindcss.com/docs/border-color\r\n */\r\n \"border-color-t\": [{\r\n \"border-t\": [i]\r\n }],\r\n /**\r\n * Border Color Right\r\n * @see https://tailwindcss.com/docs/border-color\r\n */\r\n \"border-color-r\": [{\r\n \"border-r\": [i]\r\n }],\r\n /**\r\n * Border Color Bottom\r\n * @see https://tailwindcss.com/docs/border-color\r\n */\r\n \"border-color-b\": [{\r\n \"border-b\": [i]\r\n }],\r\n /**\r\n * Border Color Left\r\n * @see https://tailwindcss.com/docs/border-color\r\n */\r\n \"border-color-l\": [{\r\n \"border-l\": [i]\r\n }],\r\n /**\r\n * Divide Color\r\n * @see https://tailwindcss.com/docs/divide-color\r\n */\r\n \"divide-color\": [{\r\n divide: [i]\r\n }],\r\n /**\r\n * Outline Style\r\n * @see https://tailwindcss.com/docs/outline-style\r\n */\r\n \"outline-style\": [{\r\n outline: [\"\", ...W()]\r\n }],\r\n /**\r\n * Outline Offset\r\n * @see https://tailwindcss.com/docs/outline-offset\r\n */\r\n \"outline-offset\": [{\r\n \"outline-offset\": [bo, Je]\r\n }],\r\n /**\r\n * Outline Width\r\n * @see https://tailwindcss.com/docs/outline-width\r\n */\r\n \"outline-w\": [{\r\n outline: [bo, pa]\r\n }],\r\n /**\r\n * Outline Color\r\n * @see https://tailwindcss.com/docs/outline-color\r\n */\r\n \"outline-color\": [{\r\n outline: [e]\r\n }],\r\n /**\r\n * Ring Width\r\n * @see https://tailwindcss.com/docs/ring-width\r\n */\r\n \"ring-w\": [{\r\n ring: D()\r\n }],\r\n /**\r\n * Ring Width Inset\r\n * @see https://tailwindcss.com/docs/ring-width\r\n */\r\n \"ring-w-inset\": [\"ring-inset\"],\r\n /**\r\n * Ring Color\r\n * @see https://tailwindcss.com/docs/ring-color\r\n */\r\n \"ring-color\": [{\r\n ring: [e]\r\n }],\r\n /**\r\n * Ring Opacity\r\n * @see https://tailwindcss.com/docs/ring-opacity\r\n */\r\n \"ring-opacity\": [{\r\n \"ring-opacity\": [x]\r\n }],\r\n /**\r\n * Ring Offset Width\r\n * @see https://tailwindcss.com/docs/ring-offset-width\r\n */\r\n \"ring-offset-w\": [{\r\n \"ring-offset\": [bo, pa]\r\n }],\r\n /**\r\n * Ring Offset Color\r\n * @see https://tailwindcss.com/docs/ring-offset-color\r\n */\r\n \"ring-offset-color\": [{\r\n \"ring-offset\": [e]\r\n }],\r\n // Effects\r\n /**\r\n * Box Shadow\r\n * @see https://tailwindcss.com/docs/box-shadow\r\n */\r\n shadow: [{\r\n shadow: [\"\", \"inner\", \"none\", ma, $H]\r\n }],\r\n /**\r\n * Box Shadow Color\r\n * @see https://tailwindcss.com/docs/box-shadow-color\r\n */\r\n \"shadow-color\": [{\r\n shadow: [xu]\r\n }],\r\n /**\r\n * Opacity\r\n * @see https://tailwindcss.com/docs/opacity\r\n */\r\n opacity: [{\r\n opacity: [x]\r\n }],\r\n /**\r\n * Mix Blend Mode\r\n * @see https://tailwindcss.com/docs/mix-blend-mode\r\n */\r\n \"mix-blend\": [{\r\n \"mix-blend\": [...z(), \"plus-lighter\", \"plus-darker\"]\r\n }],\r\n /**\r\n * Background Blend Mode\r\n * @see https://tailwindcss.com/docs/background-blend-mode\r\n */\r\n \"bg-blend\": [{\r\n \"bg-blend\": z()\r\n }],\r\n // Filters\r\n /**\r\n * Filter\r\n * @deprecated since Tailwind CSS v3.0.0\r\n * @see https://tailwindcss.com/docs/filter\r\n */\r\n filter: [{\r\n filter: [\"\", \"none\"]\r\n }],\r\n /**\r\n * Blur\r\n * @see https://tailwindcss.com/docs/blur\r\n */\r\n blur: [{\r\n blur: [n]\r\n }],\r\n /**\r\n * Brightness\r\n * @see https://tailwindcss.com/docs/brightness\r\n */\r\n brightness: [{\r\n brightness: [r]\r\n }],\r\n /**\r\n * Contrast\r\n * @see https://tailwindcss.com/docs/contrast\r\n */\r\n contrast: [{\r\n contrast: [l]\r\n }],\r\n /**\r\n * Drop Shadow\r\n * @see https://tailwindcss.com/docs/drop-shadow\r\n */\r\n \"drop-shadow\": [{\r\n \"drop-shadow\": [\"\", \"none\", ma, Je]\r\n }],\r\n /**\r\n * Grayscale\r\n * @see https://tailwindcss.com/docs/grayscale\r\n */\r\n grayscale: [{\r\n grayscale: [c]\r\n }],\r\n /**\r\n * Hue Rotate\r\n * @see https://tailwindcss.com/docs/hue-rotate\r\n */\r\n \"hue-rotate\": [{\r\n \"hue-rotate\": [f]\r\n }],\r\n /**\r\n * Invert\r\n * @see https://tailwindcss.com/docs/invert\r\n */\r\n invert: [{\r\n invert: [d]\r\n }],\r\n /**\r\n * Saturate\r\n * @see https://tailwindcss.com/docs/saturate\r\n */\r\n saturate: [{\r\n saturate: [S]\r\n }],\r\n /**\r\n * Sepia\r\n * @see https://tailwindcss.com/docs/sepia\r\n */\r\n sepia: [{\r\n sepia: [_]\r\n }],\r\n /**\r\n * Backdrop Filter\r\n * @deprecated since Tailwind CSS v3.0.0\r\n * @see https://tailwindcss.com/docs/backdrop-filter\r\n */\r\n \"backdrop-filter\": [{\r\n \"backdrop-filter\": [\"\", \"none\"]\r\n }],\r\n /**\r\n * Backdrop Blur\r\n * @see https://tailwindcss.com/docs/backdrop-blur\r\n */\r\n \"backdrop-blur\": [{\r\n \"backdrop-blur\": [n]\r\n }],\r\n /**\r\n * Backdrop Brightness\r\n * @see https://tailwindcss.com/docs/backdrop-brightness\r\n */\r\n \"backdrop-brightness\": [{\r\n \"backdrop-brightness\": [r]\r\n }],\r\n /**\r\n * Backdrop Contrast\r\n * @see https://tailwindcss.com/docs/backdrop-contrast\r\n */\r\n \"backdrop-contrast\": [{\r\n \"backdrop-contrast\": [l]\r\n }],\r\n /**\r\n * Backdrop Grayscale\r\n * @see https://tailwindcss.com/docs/backdrop-grayscale\r\n */\r\n \"backdrop-grayscale\": [{\r\n \"backdrop-grayscale\": [c]\r\n }],\r\n /**\r\n * Backdrop Hue Rotate\r\n * @see https://tailwindcss.com/docs/backdrop-hue-rotate\r\n */\r\n \"backdrop-hue-rotate\": [{\r\n \"backdrop-hue-rotate\": [f]\r\n }],\r\n /**\r\n * Backdrop Invert\r\n * @see https://tailwindcss.com/docs/backdrop-invert\r\n */\r\n \"backdrop-invert\": [{\r\n \"backdrop-invert\": [d]\r\n }],\r\n /**\r\n * Backdrop Opacity\r\n * @see https://tailwindcss.com/docs/backdrop-opacity\r\n */\r\n \"backdrop-opacity\": [{\r\n \"backdrop-opacity\": [x]\r\n }],\r\n /**\r\n * Backdrop Saturate\r\n * @see https://tailwindcss.com/docs/backdrop-saturate\r\n */\r\n \"backdrop-saturate\": [{\r\n \"backdrop-saturate\": [S]\r\n }],\r\n /**\r\n * Backdrop Sepia\r\n * @see https://tailwindcss.com/docs/backdrop-sepia\r\n */\r\n \"backdrop-sepia\": [{\r\n \"backdrop-sepia\": [_]\r\n }],\r\n // Tables\r\n /**\r\n * Border Collapse\r\n * @see https://tailwindcss.com/docs/border-collapse\r\n */\r\n \"border-collapse\": [{\r\n border: [\"collapse\", \"separate\"]\r\n }],\r\n /**\r\n * Border Spacing\r\n * @see https://tailwindcss.com/docs/border-spacing\r\n */\r\n \"border-spacing\": [{\r\n \"border-spacing\": [a]\r\n }],\r\n /**\r\n * Border Spacing X\r\n * @see https://tailwindcss.com/docs/border-spacing\r\n */\r\n \"border-spacing-x\": [{\r\n \"border-spacing-x\": [a]\r\n }],\r\n /**\r\n * Border Spacing Y\r\n * @see https://tailwindcss.com/docs/border-spacing\r\n */\r\n \"border-spacing-y\": [{\r\n \"border-spacing-y\": [a]\r\n }],\r\n /**\r\n * Table Layout\r\n * @see https://tailwindcss.com/docs/table-layout\r\n */\r\n \"table-layout\": [{\r\n table: [\"auto\", \"fixed\"]\r\n }],\r\n /**\r\n * Caption Side\r\n * @see https://tailwindcss.com/docs/caption-side\r\n */\r\n caption: [{\r\n caption: [\"top\", \"bottom\"]\r\n }],\r\n // Transitions and Animation\r\n /**\r\n * Tranisition Property\r\n * @see https://tailwindcss.com/docs/transition-property\r\n */\r\n transition: [{\r\n transition: [\"none\", \"all\", \"\", \"colors\", \"opacity\", \"shadow\", \"transform\", Je]\r\n }],\r\n /**\r\n * Transition Duration\r\n * @see https://tailwindcss.com/docs/transition-duration\r\n */\r\n duration: [{\r\n duration: Y()\r\n }],\r\n /**\r\n * Transition Timing Function\r\n * @see https://tailwindcss.com/docs/transition-timing-function\r\n */\r\n ease: [{\r\n ease: [\"linear\", \"in\", \"out\", \"in-out\", Je]\r\n }],\r\n /**\r\n * Transition Delay\r\n * @see https://tailwindcss.com/docs/transition-delay\r\n */\r\n delay: [{\r\n delay: Y()\r\n }],\r\n /**\r\n * Animation\r\n * @see https://tailwindcss.com/docs/animation\r\n */\r\n animate: [{\r\n animate: [\"none\", \"spin\", \"ping\", \"pulse\", \"bounce\", Je]\r\n }],\r\n // Transforms\r\n /**\r\n * Transform\r\n * @see https://tailwindcss.com/docs/transform\r\n */\r\n transform: [{\r\n transform: [\"\", \"gpu\", \"none\"]\r\n }],\r\n /**\r\n * Scale\r\n * @see https://tailwindcss.com/docs/scale\r\n */\r\n scale: [{\r\n scale: [A]\r\n }],\r\n /**\r\n * Scale X\r\n * @see https://tailwindcss.com/docs/scale\r\n */\r\n \"scale-x\": [{\r\n \"scale-x\": [A]\r\n }],\r\n /**\r\n * Scale Y\r\n * @see https://tailwindcss.com/docs/scale\r\n */\r\n \"scale-y\": [{\r\n \"scale-y\": [A]\r\n }],\r\n /**\r\n * Rotate\r\n * @see https://tailwindcss.com/docs/rotate\r\n */\r\n rotate: [{\r\n rotate: [bu, Je]\r\n }],\r\n /**\r\n * Translate X\r\n * @see https://tailwindcss.com/docs/translate\r\n */\r\n \"translate-x\": [{\r\n \"translate-x\": [C]\r\n }],\r\n /**\r\n * Translate Y\r\n * @see https://tailwindcss.com/docs/translate\r\n */\r\n \"translate-y\": [{\r\n \"translate-y\": [C]\r\n }],\r\n /**\r\n * Skew X\r\n * @see https://tailwindcss.com/docs/skew\r\n */\r\n \"skew-x\": [{\r\n \"skew-x\": [O]\r\n }],\r\n /**\r\n * Skew Y\r\n * @see https://tailwindcss.com/docs/skew\r\n */\r\n \"skew-y\": [{\r\n \"skew-y\": [O]\r\n }],\r\n /**\r\n * Transform Origin\r\n * @see https://tailwindcss.com/docs/transform-origin\r\n */\r\n \"transform-origin\": [{\r\n origin: [\"center\", \"top\", \"top-right\", \"right\", \"bottom-right\", \"bottom\", \"bottom-left\", \"left\", \"top-left\", Je]\r\n }],\r\n // Interactivity\r\n /**\r\n * Accent Color\r\n * @see https://tailwindcss.com/docs/accent-color\r\n */\r\n accent: [{\r\n accent: [\"auto\", e]\r\n }],\r\n /**\r\n * Appearance\r\n * @see https://tailwindcss.com/docs/appearance\r\n */\r\n appearance: [{\r\n appearance: [\"none\", \"auto\"]\r\n }],\r\n /**\r\n * Cursor\r\n * @see https://tailwindcss.com/docs/cursor\r\n */\r\n cursor: [{\r\n cursor: [\"auto\", \"default\", \"pointer\", \"wait\", \"text\", \"move\", \"help\", \"not-allowed\", \"none\", \"context-menu\", \"progress\", \"cell\", \"crosshair\", \"vertical-text\", \"alias\", \"copy\", \"no-drop\", \"grab\", \"grabbing\", \"all-scroll\", \"col-resize\", \"row-resize\", \"n-resize\", \"e-resize\", \"s-resize\", \"w-resize\", \"ne-resize\", \"nw-resize\", \"se-resize\", \"sw-resize\", \"ew-resize\", \"ns-resize\", \"nesw-resize\", \"nwse-resize\", \"zoom-in\", \"zoom-out\", Je]\r\n }],\r\n /**\r\n * Caret Color\r\n * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities\r\n */\r\n \"caret-color\": [{\r\n caret: [e]\r\n }],\r\n /**\r\n * Pointer Events\r\n * @see https://tailwindcss.com/docs/pointer-events\r\n */\r\n \"pointer-events\": [{\r\n \"pointer-events\": [\"none\", \"auto\"]\r\n }],\r\n /**\r\n * Resize\r\n * @see https://tailwindcss.com/docs/resize\r\n */\r\n resize: [{\r\n resize: [\"none\", \"y\", \"x\", \"\"]\r\n }],\r\n /**\r\n * Scroll Behavior\r\n * @see https://tailwindcss.com/docs/scroll-behavior\r\n */\r\n \"scroll-behavior\": [{\r\n scroll: [\"auto\", \"smooth\"]\r\n }],\r\n /**\r\n * Scroll Margin\r\n * @see https://tailwindcss.com/docs/scroll-margin\r\n */\r\n \"scroll-m\": [{\r\n \"scroll-m\": N()\r\n }],\r\n /**\r\n * Scroll Margin X\r\n * @see https://tailwindcss.com/docs/scroll-margin\r\n */\r\n \"scroll-mx\": [{\r\n \"scroll-mx\": N()\r\n }],\r\n /**\r\n * Scroll Margin Y\r\n * @see https://tailwindcss.com/docs/scroll-margin\r\n */\r\n \"scroll-my\": [{\r\n \"scroll-my\": N()\r\n }],\r\n /**\r\n * Scroll Margin Start\r\n * @see https://tailwindcss.com/docs/scroll-margin\r\n */\r\n \"scroll-ms\": [{\r\n \"scroll-ms\": N()\r\n }],\r\n /**\r\n * Scroll Margin End\r\n * @see https://tailwindcss.com/docs/scroll-margin\r\n */\r\n \"scroll-me\": [{\r\n \"scroll-me\": N()\r\n }],\r\n /**\r\n * Scroll Margin Top\r\n * @see https://tailwindcss.com/docs/scroll-margin\r\n */\r\n \"scroll-mt\": [{\r\n \"scroll-mt\": N()\r\n }],\r\n /**\r\n * Scroll Margin Right\r\n * @see https://tailwindcss.com/docs/scroll-margin\r\n */\r\n \"scroll-mr\": [{\r\n \"scroll-mr\": N()\r\n }],\r\n /**\r\n * Scroll Margin Bottom\r\n * @see https://tailwindcss.com/docs/scroll-margin\r\n */\r\n \"scroll-mb\": [{\r\n \"scroll-mb\": N()\r\n }],\r\n /**\r\n * Scroll Margin Left\r\n * @see https://tailwindcss.com/docs/scroll-margin\r\n */\r\n \"scroll-ml\": [{\r\n \"scroll-ml\": N()\r\n }],\r\n /**\r\n * Scroll Padding\r\n * @see https://tailwindcss.com/docs/scroll-padding\r\n */\r\n \"scroll-p\": [{\r\n \"scroll-p\": N()\r\n }],\r\n /**\r\n * Scroll Padding X\r\n * @see https://tailwindcss.com/docs/scroll-padding\r\n */\r\n \"scroll-px\": [{\r\n \"scroll-px\": N()\r\n }],\r\n /**\r\n * Scroll Padding Y\r\n * @see https://tailwindcss.com/docs/scroll-padding\r\n */\r\n \"scroll-py\": [{\r\n \"scroll-py\": N()\r\n }],\r\n /**\r\n * Scroll Padding Start\r\n * @see https://tailwindcss.com/docs/scroll-padding\r\n */\r\n \"scroll-ps\": [{\r\n \"scroll-ps\": N()\r\n }],\r\n /**\r\n * Scroll Padding End\r\n * @see https://tailwindcss.com/docs/scroll-padding\r\n */\r\n \"scroll-pe\": [{\r\n \"scroll-pe\": N()\r\n }],\r\n /**\r\n * Scroll Padding Top\r\n * @see https://tailwindcss.com/docs/scroll-padding\r\n */\r\n \"scroll-pt\": [{\r\n \"scroll-pt\": N()\r\n }],\r\n /**\r\n * Scroll Padding Right\r\n * @see https://tailwindcss.com/docs/scroll-padding\r\n */\r\n \"scroll-pr\": [{\r\n \"scroll-pr\": N()\r\n }],\r\n /**\r\n * Scroll Padding Bottom\r\n * @see https://tailwindcss.com/docs/scroll-padding\r\n */\r\n \"scroll-pb\": [{\r\n \"scroll-pb\": N()\r\n }],\r\n /**\r\n * Scroll Padding Left\r\n * @see https://tailwindcss.com/docs/scroll-padding\r\n */\r\n \"scroll-pl\": [{\r\n \"scroll-pl\": N()\r\n }],\r\n /**\r\n * Scroll Snap Align\r\n * @see https://tailwindcss.com/docs/scroll-snap-align\r\n */\r\n \"snap-align\": [{\r\n snap: [\"start\", \"end\", \"center\", \"align-none\"]\r\n }],\r\n /**\r\n * Scroll Snap Stop\r\n * @see https://tailwindcss.com/docs/scroll-snap-stop\r\n */\r\n \"snap-stop\": [{\r\n snap: [\"normal\", \"always\"]\r\n }],\r\n /**\r\n * Scroll Snap Type\r\n * @see https://tailwindcss.com/docs/scroll-snap-type\r\n */\r\n \"snap-type\": [{\r\n snap: [\"none\", \"x\", \"y\", \"both\"]\r\n }],\r\n /**\r\n * Scroll Snap Type Strictness\r\n * @see https://tailwindcss.com/docs/scroll-snap-type\r\n */\r\n \"snap-strictness\": [{\r\n snap: [\"mandatory\", \"proximity\"]\r\n }],\r\n /**\r\n * Touch Action\r\n * @see https://tailwindcss.com/docs/touch-action\r\n */\r\n touch: [{\r\n touch: [\"auto\", \"none\", \"manipulation\"]\r\n }],\r\n /**\r\n * Touch Action X\r\n * @see https://tailwindcss.com/docs/touch-action\r\n */\r\n \"touch-x\": [{\r\n \"touch-pan\": [\"x\", \"left\", \"right\"]\r\n }],\r\n /**\r\n * Touch Action Y\r\n * @see https://tailwindcss.com/docs/touch-action\r\n */\r\n \"touch-y\": [{\r\n \"touch-pan\": [\"y\", \"up\", \"down\"]\r\n }],\r\n /**\r\n * Touch Action Pinch Zoom\r\n * @see https://tailwindcss.com/docs/touch-action\r\n */\r\n \"touch-pz\": [\"touch-pinch-zoom\"],\r\n /**\r\n * User Select\r\n * @see https://tailwindcss.com/docs/user-select\r\n */\r\n select: [{\r\n select: [\"none\", \"text\", \"all\", \"auto\"]\r\n }],\r\n /**\r\n * Will Change\r\n * @see https://tailwindcss.com/docs/will-change\r\n */\r\n \"will-change\": [{\r\n \"will-change\": [\"auto\", \"scroll\", \"contents\", \"transform\", Je]\r\n }],\r\n // SVG\r\n /**\r\n * Fill\r\n * @see https://tailwindcss.com/docs/fill\r\n */\r\n fill: [{\r\n fill: [e, \"none\"]\r\n }],\r\n /**\r\n * Stroke Width\r\n * @see https://tailwindcss.com/docs/stroke-width\r\n */\r\n \"stroke-w\": [{\r\n stroke: [bo, pa, Vv]\r\n }],\r\n /**\r\n * Stroke\r\n * @see https://tailwindcss.com/docs/stroke\r\n */\r\n stroke: [{\r\n stroke: [e, \"none\"]\r\n }],\r\n // Accessibility\r\n /**\r\n * Screen Readers\r\n * @see https://tailwindcss.com/docs/screen-readers\r\n */\r\n sr: [\"sr-only\", \"not-sr-only\"],\r\n /**\r\n * Forced Color Adjust\r\n * @see https://tailwindcss.com/docs/forced-color-adjust\r\n */\r\n \"forced-color-adjust\": [{\r\n \"forced-color-adjust\": [\"auto\", \"none\"]\r\n }]\r\n },\r\n conflictingClassGroups: {\r\n overflow: [\"overflow-x\", \"overflow-y\"],\r\n overscroll: [\"overscroll-x\", \"overscroll-y\"],\r\n inset: [\"inset-x\", \"inset-y\", \"start\", \"end\", \"top\", \"right\", \"bottom\", \"left\"],\r\n \"inset-x\": [\"right\", \"left\"],\r\n \"inset-y\": [\"top\", \"bottom\"],\r\n flex: [\"basis\", \"grow\", \"shrink\"],\r\n gap: [\"gap-x\", \"gap-y\"],\r\n p: [\"px\", \"py\", \"ps\", \"pe\", \"pt\", \"pr\", \"pb\", \"pl\"],\r\n px: [\"pr\", \"pl\"],\r\n py: [\"pt\", \"pb\"],\r\n m: [\"mx\", \"my\", \"ms\", \"me\", \"mt\", \"mr\", \"mb\", \"ml\"],\r\n mx: [\"mr\", \"ml\"],\r\n my: [\"mt\", \"mb\"],\r\n size: [\"w\", \"h\"],\r\n \"font-size\": [\"leading\"],\r\n \"fvn-normal\": [\"fvn-ordinal\", \"fvn-slashed-zero\", \"fvn-figure\", \"fvn-spacing\", \"fvn-fraction\"],\r\n \"fvn-ordinal\": [\"fvn-normal\"],\r\n \"fvn-slashed-zero\": [\"fvn-normal\"],\r\n \"fvn-figure\": [\"fvn-normal\"],\r\n \"fvn-spacing\": [\"fvn-normal\"],\r\n \"fvn-fraction\": [\"fvn-normal\"],\r\n \"line-clamp\": [\"display\", \"overflow\"],\r\n rounded: [\"rounded-s\", \"rounded-e\", \"rounded-t\", \"rounded-r\", \"rounded-b\", \"rounded-l\", \"rounded-ss\", \"rounded-se\", \"rounded-ee\", \"rounded-es\", \"rounded-tl\", \"rounded-tr\", \"rounded-br\", \"rounded-bl\"],\r\n \"rounded-s\": [\"rounded-ss\", \"rounded-es\"],\r\n \"rounded-e\": [\"rounded-se\", \"rounded-ee\"],\r\n \"rounded-t\": [\"rounded-tl\", \"rounded-tr\"],\r\n \"rounded-r\": [\"rounded-tr\", \"rounded-br\"],\r\n \"rounded-b\": [\"rounded-br\", \"rounded-bl\"],\r\n \"rounded-l\": [\"rounded-tl\", \"rounded-bl\"],\r\n \"border-spacing\": [\"border-spacing-x\", \"border-spacing-y\"],\r\n \"border-w\": [\"border-w-s\", \"border-w-e\", \"border-w-t\", \"border-w-r\", \"border-w-b\", \"border-w-l\"],\r\n \"border-w-x\": [\"border-w-r\", \"border-w-l\"],\r\n \"border-w-y\": [\"border-w-t\", \"border-w-b\"],\r\n \"border-color\": [\"border-color-s\", \"border-color-e\", \"border-color-t\", \"border-color-r\", \"border-color-b\", \"border-color-l\"],\r\n \"border-color-x\": [\"border-color-r\", \"border-color-l\"],\r\n \"border-color-y\": [\"border-color-t\", \"border-color-b\"],\r\n \"scroll-m\": [\"scroll-mx\", \"scroll-my\", \"scroll-ms\", \"scroll-me\", \"scroll-mt\", \"scroll-mr\", \"scroll-mb\", \"scroll-ml\"],\r\n \"scroll-mx\": [\"scroll-mr\", \"scroll-ml\"],\r\n \"scroll-my\": [\"scroll-mt\", \"scroll-mb\"],\r\n \"scroll-p\": [\"scroll-px\", \"scroll-py\", \"scroll-ps\", \"scroll-pe\", \"scroll-pt\", \"scroll-pr\", \"scroll-pb\", \"scroll-pl\"],\r\n \"scroll-px\": [\"scroll-pr\", \"scroll-pl\"],\r\n \"scroll-py\": [\"scroll-pt\", \"scroll-pb\"],\r\n touch: [\"touch-x\", \"touch-y\", \"touch-pz\"],\r\n \"touch-x\": [\"touch\"],\r\n \"touch-y\": [\"touch\"],\r\n \"touch-pz\": [\"touch\"]\r\n },\r\n conflictingClassGroupModifiers: {\r\n \"font-size\": [\"leading\"]\r\n }\r\n };\r\n}, LH = /* @__PURE__ */ bH(jH);\r\nfunction Z$(e) {\r\n var t, n, r = \"\";\r\n if (typeof e == \"string\" || typeof e == \"number\") r += e;\r\n else if (typeof e == \"object\") if (Array.isArray(e)) {\r\n var i = e.length;\r\n for (t = 0; t < i; t++) e[t] && (n = Z$(e[t])) && (r && (r += \" \"), r += n);\r\n } else for (n in e) e[n] && (r && (r += \" \"), r += n);\r\n return r;\r\n}\r\nfunction Xe() {\r\n for (var e, t, n = 0, r = \"\", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Z$(e)) && (r && (r += \" \"), r += t);\r\n return r;\r\n}\r\nconst K = (...e) => LH(Xe(...e)), cf = (...e) => (...t) => e.forEach((n) => n == null ? void 0 : n(...t)), Jm = (e) => {\r\n const t = {\r\n 0: \"gap-0\",\r\n xxs: \"gap-1\",\r\n xs: \"gap-2\",\r\n sm: \"gap-3\",\r\n md: \"gap-4\",\r\n lg: \"gap-5\",\r\n xl: \"gap-6\",\r\n \"2xl\": \"gap-8\"\r\n };\r\n return t[e] || t.md;\r\n}, BH = {\r\n 1: \"grid-cols-1\",\r\n 2: \"grid-cols-2\",\r\n 3: \"grid-cols-3\",\r\n 4: \"grid-cols-4\",\r\n 5: \"grid-cols-5\",\r\n 6: \"grid-cols-6\",\r\n 7: \"grid-cols-7\",\r\n 8: \"grid-cols-8\",\r\n 9: \"grid-cols-9\",\r\n 10: \"grid-cols-10\",\r\n 11: \"grid-cols-11\",\r\n 12: \"grid-cols-12\"\r\n}, FH = () => {\r\n var i, o;\r\n const e = ((o = (i = window.navigator) == null ? void 0 : i.userAgentData) == null ? void 0 : o.platform) || window.navigator.platform, t = [\r\n \"macOS\",\r\n \"Macintosh\",\r\n \"MacIntel\",\r\n \"MacPPC\",\r\n \"Mac68K\"\r\n ], n = [\"Win32\", \"Win64\", \"Windows\", \"WinCE\"];\r\n let r = \"null\";\r\n return t.includes(e) ? r = \"Mac OS\" : n.includes(e) && (r = \"Windows\"), r;\r\n}, WH = (e) => e < 1024 ? `${e} bytes` : e < 1024 * 1024 ? `${(e / 1024).toFixed(2)} KB` : e < 1024 * 1024 * 1024 ? `${(e / (1024 * 1024)).toFixed(2)} MB` : `${(e / (1024 * 1024 * 1024)).toFixed(2)} GB`, ju = {\r\n set: (e, t) => {\r\n if (!(typeof window > \"u\"))\r\n try {\r\n localStorage.setItem(e, JSON.stringify(t));\r\n } catch (n) {\r\n console.error(n);\r\n }\r\n },\r\n get: (e) => {\r\n if (typeof window > \"u\")\r\n return null;\r\n try {\r\n const t = localStorage.getItem(e);\r\n return t ? JSON.parse(t) : null;\r\n } catch (t) {\r\n return console.error(t), null;\r\n }\r\n },\r\n remove: (e) => {\r\n if (!(typeof window > \"u\"))\r\n try {\r\n localStorage.removeItem(e);\r\n } catch (t) {\r\n console.error(t);\r\n }\r\n }\r\n}, Hn = Dt(\r\n (e, t) => {\r\n const {\r\n variant: n = \"primary\",\r\n // primary, secondary, outline, ghost, link\r\n size: r = \"md\",\r\n // xs, sm, md, lg\r\n type: i = \"button\",\r\n tag: o = \"button\",\r\n className: a,\r\n children: s,\r\n disabled: l = !1,\r\n destructive: c = !1,\r\n // true, false\r\n icon: f = null,\r\n // icon component\r\n iconPosition: d = \"left\",\r\n // left, right,\r\n loading: p = !1,\r\n ...m\r\n } = e, y = \"outline outline-1 border-none cursor-pointer transition-colors duration-300 ease-in-out text-xs font-semibold focus:ring-2 focus:ring-toggle-on focus:ring-offset-2 disabled:text-text-disabled\", g = p ? \"opacity-50 disabled:cursor-not-allowed\" : \"\", v = {\r\n primary: \"text-text-on-color bg-button-primary hover:bg-button-primary-hover outline-button-primary hover:outline-button-primary-hover disabled:bg-button-disabled disabled:outline-button-disabled\",\r\n secondary: \"text-text-on-color bg-button-secondary hover:bg-button-secondary-hover outline-button-secondary hover:outline-button-secondary-hover disabled:bg-button-disabled disabled:outline-button-disabled\",\r\n outline: \"text-button-tertiary-color outline-border-subtle bg-button-tertiary hover:bg-button-tertiary-hover hover:outline-border-subtle disabled:bg-button-tertiary disabled:outline-border-disabled\",\r\n ghost: \"text-text-primary bg-transparent outline-transparent hover:bg-button-tertiary-hover\",\r\n link: \"outline-none text-link-primary bg-transparent hover:text-link-primary-hover hover:underline p-0 border-0 leading-none\"\r\n }[n], x = c && !l ? {\r\n primary: \"bg-button-danger hover:bg-button-danger-hover outline-button-danger hover:outline-button-danger-hover\",\r\n secondary: \"bg-button-danger hover:bg-button-danger-hover outline-button-danger hover:outline-button-danger-hover\",\r\n outline: \"text-button-danger outline outline-1 outline-button-danger hover:outline-button-danger bg-button-tertiary hover:bg-field-background-error\",\r\n ghost: \"text-button-danger hover:bg-field-background-error\",\r\n link: \"text-button-danger hover:text-button-danger-secondary\"\r\n }[n] : \"\", w = {\r\n xs: \"p-1 rounded [&>svg]:size-4\",\r\n sm: \"p-2 rounded [&>svg]:size-4 gap-0.5\",\r\n md: \"p-2.5 rounded-md text-sm [&>svg]:size-5 gap-1\",\r\n lg: \"p-3 rounded-lg text-base [&>svg]:size-6 gap-1\"\r\n }[r];\r\n let S, A = null, _ = \"\";\r\n return f && (_ = \"flex items-center justify-center\", d === \"left\" ? S = f : A = f), /* @__PURE__ */ pe(\r\n o,\r\n {\r\n ref: t,\r\n type: i,\r\n className: K(\r\n _,\r\n y,\r\n w,\r\n v,\r\n x,\r\n g,\r\n {\r\n \"cursor-default\": l\r\n },\r\n a\r\n ),\r\n disabled: l,\r\n ...m,\r\n children: [\r\n /* @__PURE__ */ E(Ur, { children: S }, \"left-icon\"),\r\n s ? /* @__PURE__ */ E(\"span\", { className: \"px-1\", children: s }) : null,\r\n /* @__PURE__ */ E(Ur, { children: A }, \"right-icon\")\r\n ]\r\n }\r\n );\r\n }\r\n);\r\nHn.displayName = \"Button\";\r\nconst zH = \"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict\";\r\nlet io = (e = 21) => {\r\n let t = \"\", n = crypto.getRandomValues(new Uint8Array(e));\r\n for (; e--; )\r\n t += zH[n[e] & 63];\r\n return t;\r\n};\r\nconst to = Dt(\r\n ({\r\n children: e = null,\r\n tag: t = \"label\",\r\n size: n = \"sm\",\r\n // xs, sm, md\r\n className: r = \"\",\r\n variant: i = \"neutral\",\r\n // neutral, help, error, disabled\r\n required: o = !1,\r\n ...a\r\n }, s) => {\r\n const l = \"font-medium text-field-label flex items-center gap-0.5\", c = {\r\n xs: \"text-xs [&>*]:text-xs [&>svg]:h-3 [&>svg]:w-3\",\r\n sm: \"text-sm [&>*]:text-sm [&>svg]:h-4 [&>svg]:w-4\",\r\n md: \"text-base [&>*]:text-base [&>svg]:h-5 [&>svg]:w-5\"\r\n }, f = {\r\n neutral: \"text-field-label [&>*]:text-field-label\",\r\n help: \"text-field-helper [&>*]:text-field-helper\",\r\n error: \"text-support-error [&>*]:text-support-error\",\r\n disabled: \"text-field-color-disabled disabled cursor-not-allowed [&>*]:text-field-color-disabled\"\r\n }, d = {\r\n neutral: \"\",\r\n help: \"font-normal\",\r\n error: \"font-normal\",\r\n disabled: \"\"\r\n };\r\n if (!e)\r\n return null;\r\n let p = \"\";\r\n return o && (p = \"after:content-['*'] after:text-field-required after:ml-0.5\"), /* @__PURE__ */ E(\r\n t,\r\n {\r\n ref: s,\r\n className: K(\r\n l,\r\n c[n],\r\n f[i],\r\n p,\r\n d == null ? void 0 : d[i],\r\n r\r\n ),\r\n ...a,\r\n children: e\r\n }\r\n );\r\n }\r\n);\r\nto.displayName = \"Label\";\r\nconst VH = ({\r\n label: e,\r\n switchId: t,\r\n disabled: n = !1,\r\n children: r,\r\n size: i\r\n}) => {\r\n const o = {\r\n sm: \"text-sm leading-5 font-medium\",\r\n md: \"text-base leading-6 font-medium\"\r\n }, a = {\r\n sm: \"text-sm leading-5 font-normal\",\r\n md: \"text-sm leading-5 font-normal\"\r\n }, s = {\r\n sm: \"space-y-0.5\",\r\n md: \"space-y-1\"\r\n };\r\n if (rt(e))\r\n return /* @__PURE__ */ pe(\r\n \"div\",\r\n {\r\n className: K(\"inline-flex items-center gap-3\", \"items-start\"),\r\n children: [\r\n r,\r\n e\r\n ]\r\n }\r\n );\r\n const c = () => {\r\n const { heading: p = \"\", description: m = \"\" } = e || {};\r\n return /* @__PURE__ */ pe(\"div\", { className: K(\"space-y-0.5\", s[i]), children: [\r\n p && /* @__PURE__ */ E(\r\n to,\r\n {\r\n htmlFor: t,\r\n className: K(\"m-0\", o[i]),\r\n ...n && { variant: \"disabled\" },\r\n children: p\r\n }\r\n ),\r\n m && /* @__PURE__ */ E(\r\n to,\r\n {\r\n tag: \"p\",\r\n variant: \"help\",\r\n className: K(\r\n \"text-sm font-normal leading-5 m-0\",\r\n a[i]\r\n ),\r\n ...n && { variant: \"disabled\" },\r\n children: m\r\n }\r\n )\r\n ] });\r\n }, f = !(e != null && e.heading) && !(e != null && e.description), d = !(e != null && e.heading) || !(e != null && e.description) ? \"items-center\" : \"items-start\";\r\n return f ? r : /* @__PURE__ */ pe(\"div\", { className: K(\"inline-flex\", d, \"gap-3\"), children: [\r\n r,\r\n c()\r\n ] });\r\n}, UH = ({\r\n id: e,\r\n onChange: t,\r\n value: n,\r\n defaultValue: r = !1,\r\n size: i = \"sm\",\r\n disabled: o = !1,\r\n label: a = { heading: \"\", description: \"\" },\r\n name: s,\r\n className: l,\r\n ...c\r\n}, f) => {\r\n const d = i === \"lg\" ? \"md\" : i, p = Fe(() => typeof n < \"u\", [n]), m = Fe(() => e || `switch-${io()}`, []), [y, g] = Me(r), v = \"primary\", x = Ke(\r\n () => p ? n : y,\r\n [p, n, y]\r\n ), w = (C) => {\r\n if (o)\r\n return;\r\n const k = C.target.checked;\r\n p || g(k), typeof t == \"function\" && t(k);\r\n }, S = {\r\n primary: {\r\n input: \"bg-toggle-off checked:bg-toggle-on focus:ring focus:ring-toggle-on focus:ring-offset-2 border border-solid border-toggle-off-border checked:border-toggle-on-border shadow-toggleContainer focus:outline-none checked:focus:border-toggle-on-border focus:border-toggle-off-border\",\r\n toggleDial: \"bg-toggle-dial-background shadow-toggleDial\"\r\n }\r\n }, A = {\r\n primary: {\r\n input: \"group-hover/switch:bg-toggle-off-hover checked:group-hover/switch:bg-toggle-on-hover checked:group-hover/switch:border-toggle-on-border\"\r\n }\r\n }, _ = {\r\n md: {\r\n container: \"w-11 h-6\",\r\n toggleDial: \"size-4 peer-checked:translate-x-5\"\r\n },\r\n sm: {\r\n container: \"w-10 h-5\",\r\n toggleDial: \"size-3 peer-checked:translate-x-5\"\r\n }\r\n }, O = {\r\n md: \"group-hover/switch:size-5 group-focus-within/switch:size-5 group-focus-within/switch:left-0.5 group-hover/switch:left-0.5\",\r\n sm: \"group-hover/switch:size-4 group-focus-within/switch:size-4 group-focus-within/switch:left-0.5 group-hover/switch:left-0.5\"\r\n }, P = {\r\n input: \"bg-toggle-off-disabled disabled:border-transparent shadow-none disabled:cursor-not-allowed checked:disabled:bg-toggle-on-disabled\",\r\n toggleDial: \"peer-disabled:cursor-not-allowed\"\r\n };\r\n return /* @__PURE__ */ E(\r\n VH,\r\n {\r\n label: a,\r\n switchId: m,\r\n disabled: o,\r\n size: d,\r\n children: /* @__PURE__ */ pe(\r\n \"div\",\r\n {\r\n className: K(\r\n \"relative group/switch inline-block cursor-pointer rounded-full shrink-0\",\r\n _[d].container,\r\n l\r\n ),\r\n children: [\r\n /* @__PURE__ */ E(\r\n \"input\",\r\n {\r\n ref: f,\r\n id: m,\r\n type: \"checkbox\",\r\n className: K(\r\n \"peer appearance-none absolute rounded-full cursor-pointer transition-colors duration-300 h-full w-full before:content-[''] checked:before:content-[''] m-0 checked:[background-image:none]\",\r\n S[v].input,\r\n o && P.input,\r\n !o && A[v].input\r\n ),\r\n checked: x(),\r\n onChange: w,\r\n disabled: o,\r\n name: s,\r\n ...c\r\n }\r\n ),\r\n /* @__PURE__ */ E(\r\n \"label\",\r\n {\r\n htmlFor: m,\r\n className: K(\r\n \"peer/toggle-dial bg-white border rounded-full absolute cursor-pointer shadow-md before:content[''] before:transition-opacity before:opacity-0 hover:before:opacity-10 before:hidden border-none transition-all duration-300 top-2/4 left-1 -translate-y-2/4 before:w-10 before:h-10 before:rounded-full before:absolute before:top-2/4 before:left-2/4 before:-translate-y-2/4 before:-translate-x-2/4\",\r\n _[d].toggleDial,\r\n S[v].toggleDial,\r\n o && P.toggleDial,\r\n !o && O[d]\r\n )\r\n }\r\n )\r\n ]\r\n }\r\n )\r\n }\r\n );\r\n}, J$ = Dt(UH);\r\nJ$.displayName = \"Switch\";\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst HH = (e) => e.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase(), Q$ = (...e) => e.filter((t, n, r) => !!t && r.indexOf(t) === n).join(\" \");\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nvar KH = {\r\n xmlns: \"http://www.w3.org/2000/svg\",\r\n width: 24,\r\n height: 24,\r\n viewBox: \"0 0 24 24\",\r\n fill: \"none\",\r\n stroke: \"currentColor\",\r\n strokeWidth: 2,\r\n strokeLinecap: \"round\",\r\n strokeLinejoin: \"round\"\r\n};\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst GH = Dt(\r\n ({\r\n color: e = \"currentColor\",\r\n size: t = 24,\r\n strokeWidth: n = 2,\r\n absoluteStrokeWidth: r,\r\n className: i = \"\",\r\n children: o,\r\n iconNode: a,\r\n ...s\r\n }, l) => Zl(\r\n \"svg\",\r\n {\r\n ref: l,\r\n ...KH,\r\n width: t,\r\n height: t,\r\n stroke: e,\r\n strokeWidth: r ? Number(n) * 24 / Number(t) : n,\r\n className: Q$(\"lucide\", i),\r\n ...s\r\n },\r\n [\r\n ...a.map(([c, f]) => Zl(c, f)),\r\n ...Array.isArray(o) ? o : [o]\r\n ]\r\n )\r\n);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst on = (e, t) => {\r\n const n = Dt(\r\n ({ className: r, ...i }, o) => Zl(GH, {\r\n ref: o,\r\n iconNode: t,\r\n className: Q$(`lucide-${HH(e)}`, r),\r\n ...i\r\n })\r\n );\r\n return n.displayName = `${e}`, n;\r\n};\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst sd = on(\"Check\", [[\"path\", { d: \"M20 6 9 17l-5-5\", key: \"1gmf2c\" }]]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst Xw = on(\"ChevronDown\", [\r\n [\"path\", { d: \"m6 9 6 6 6-6\", key: \"qrunsl\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst eD = on(\"ChevronLeft\", [\r\n [\"path\", { d: \"m15 18-6-6 6-6\", key: \"1wnfg3\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst Zw = on(\"ChevronRight\", [\r\n [\"path\", { d: \"m9 18 6-6-6-6\", key: \"mthhwq\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst YH = on(\"ChevronsUpDown\", [\r\n [\"path\", { d: \"m7 15 5 5 5-5\", key: \"1hf1tw\" }],\r\n [\"path\", { d: \"m7 9 5-5 5 5\", key: \"sgt6xg\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst qH = on(\"CloudUpload\", [\r\n [\"path\", { d: \"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242\", key: \"1pljnt\" }],\r\n [\"path\", { d: \"M12 12v9\", key: \"192myk\" }],\r\n [\"path\", { d: \"m16 16-4-4-4 4\", key: \"119tzi\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst XH = on(\"Ellipsis\", [\r\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"1\", key: \"41hilf\" }],\r\n [\"circle\", { cx: \"19\", cy: \"12\", r: \"1\", key: \"1wjl8i\" }],\r\n [\"circle\", { cx: \"5\", cy: \"12\", r: \"1\", key: \"1pcz8c\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst ZH = on(\"File\", [\r\n [\"path\", { d: \"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\", key: \"1rqfz7\" }],\r\n [\"path\", { d: \"M14 2v4a2 2 0 0 0 2 2h4\", key: \"tnqrlb\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst JH = on(\"ImageOff\", [\r\n [\"line\", { x1: \"2\", x2: \"22\", y1: \"2\", y2: \"22\", key: \"a6p6uj\" }],\r\n [\"path\", { d: \"M10.41 10.41a2 2 0 1 1-2.83-2.83\", key: \"1bzlo9\" }],\r\n [\"line\", { x1: \"13.5\", x2: \"6\", y1: \"13.5\", y2: \"21\", key: \"1q0aeu\" }],\r\n [\"line\", { x1: \"18\", x2: \"21\", y1: \"12\", y2: \"15\", key: \"5mozeu\" }],\r\n [\r\n \"path\",\r\n {\r\n d: \"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59\",\r\n key: \"mmje98\"\r\n }\r\n ],\r\n [\"path\", { d: \"M21 15V5a2 2 0 0 0-2-2H9\", key: \"43el77\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst f0 = on(\"Info\", [\r\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"10\", key: \"1mglay\" }],\r\n [\"path\", { d: \"M12 16v-4\", key: \"1dtifu\" }],\r\n [\"path\", { d: \"M12 8h.01\", key: \"e9boi3\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst QH = on(\"LoaderCircle\", [\r\n [\"path\", { d: \"M21 12a9 9 0 1 1-6.219-8.56\", key: \"13zald\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst tD = on(\"Minus\", [[\"path\", { d: \"M5 12h14\", key: \"1ays0h\" }]]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst eK = on(\"PanelLeftClose\", [\r\n [\"rect\", { width: \"18\", height: \"18\", x: \"3\", y: \"3\", rx: \"2\", key: \"afitv7\" }],\r\n [\"path\", { d: \"M9 3v18\", key: \"fh3hqa\" }],\r\n [\"path\", { d: \"m16 15-3-3 3-3\", key: \"14y99z\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst tK = on(\"PanelLeftOpen\", [\r\n [\"rect\", { width: \"18\", height: \"18\", x: \"3\", y: \"3\", rx: \"2\", key: \"afitv7\" }],\r\n [\"path\", { d: \"M9 3v18\", key: \"fh3hqa\" }],\r\n [\"path\", { d: \"m14 9 3 3-3 3\", key: \"8010ee\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst nD = on(\"Plus\", [\r\n [\"path\", { d: \"M5 12h14\", key: \"1ays0h\" }],\r\n [\"path\", { d: \"M12 5v14\", key: \"s699le\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst rD = on(\"Search\", [\r\n [\"circle\", { cx: \"11\", cy: \"11\", r: \"8\", key: \"4ej97u\" }],\r\n [\"path\", { d: \"m21 21-4.3-4.3\", key: \"1qie3q\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst nK = on(\"Trash2\", [\r\n [\"path\", { d: \"M3 6h18\", key: \"d0wm0j\" }],\r\n [\"path\", { d: \"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\", key: \"4alrt4\" }],\r\n [\"path\", { d: \"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\", key: \"v07s0e\" }],\r\n [\"line\", { x1: \"10\", x2: \"10\", y1: \"11\", y2: \"17\", key: \"1uufr5\" }],\r\n [\"line\", { x1: \"14\", x2: \"14\", y1: \"11\", y2: \"17\", key: \"xtxkd\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst rK = on(\"Trash\", [\r\n [\"path\", { d: \"M3 6h18\", key: \"d0wm0j\" }],\r\n [\"path\", { d: \"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\", key: \"4alrt4\" }],\r\n [\"path\", { d: \"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\", key: \"v07s0e\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst iK = on(\"TriangleAlert\", [\r\n [\r\n \"path\",\r\n {\r\n d: \"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\",\r\n key: \"wmoenq\"\r\n }\r\n ],\r\n [\"path\", { d: \"M12 9v4\", key: \"juzpu7\" }],\r\n [\"path\", { d: \"M12 17h.01\", key: \"p32p05\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst vT = on(\"Upload\", [\r\n [\"path\", { d: \"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\", key: \"ih7n3h\" }],\r\n [\"polyline\", { points: \"17 8 12 3 7 8\", key: \"t8dd8p\" }],\r\n [\"line\", { x1: \"12\", x2: \"12\", y1: \"3\", y2: \"15\", key: \"widbto\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst oK = on(\"User\", [\r\n [\"path\", { d: \"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\", key: \"975kel\" }],\r\n [\"circle\", { cx: \"12\", cy: \"7\", r: \"4\", key: \"17ys0d\" }]\r\n]);\r\n/**\r\n * @license lucide-react v0.417.0 - ISC\r\n *\r\n * This source code is licensed under the ISC license.\r\n * See the LICENSE file in the root directory of this source tree.\r\n */\r\nconst $a = on(\"X\", [\r\n [\"path\", { d: \"M18 6 6 18\", key: \"1bl5f8\" }],\r\n [\"path\", { d: \"m6 6 12 12\", key: \"d8bk6v\" }]\r\n]), aK = ({\r\n id: e,\r\n label: t,\r\n defaultChecked: n = !1,\r\n checked: r,\r\n onChange: i,\r\n indeterminate: o,\r\n disabled: a,\r\n size: s = \"md\",\r\n className: l,\r\n ...c\r\n}, f) => {\r\n var O, P;\r\n const d = Fe(() => e || `checkbox-${io()}`, [e]), p = Fe(\r\n () => typeof r < \"u\",\r\n [r]\r\n ), [m, y] = Me(n || !1), g = \"primary\", v = {\r\n sm: {\r\n checkbox: \"size-4 rounded gap-1\",\r\n icon: \"size-3\",\r\n text: \"text-sm\",\r\n // text class for sm\r\n description: \"text-sm\",\r\n gap: \"gap-0.5\"\r\n },\r\n md: {\r\n checkbox: \"size-5 rounded gap-1\",\r\n icon: \"size-4\",\r\n text: \"text-base\",\r\n // text class for md\r\n description: \"text-sm\",\r\n gap: \"gap-1\"\r\n }\r\n }, x = {\r\n primary: {\r\n checkbox: \"border-border-strong hover:border-border-interactive checked:border-border-interactive bg-white checked:bg-toggle-on checked:hover:bg-toggle-on-hover checked:hover:border-toggle-on-hover focus:ring-2 focus:ring-offset-2 focus:ring-focus\",\r\n icon: \"text-white\"\r\n }\r\n }, w = {\r\n checkbox: \"cursor-not-allowed disabled:bg-white checked:disabled:bg-white disabled:border-border-disabled checked:disabled:border-border-disabled\",\r\n icon: \"cursor-not-allowed peer-disabled:text-border-disabled\"\r\n }, S = Ke(\r\n () => p ? r : m,\r\n [p, r, m]\r\n ), A = (C) => {\r\n if (a)\r\n return;\r\n const k = C.target.checked;\r\n p || y(k), typeof i == \"function\" && i(k);\r\n }, _ = Ke(() => rt(t) ? t : !(t != null && t.heading) && !(t != null && t.description) ? null : /* @__PURE__ */ pe(\"div\", { className: v[s].gap, children: [\r\n (t == null ? void 0 : t.heading) && /* @__PURE__ */ E(\r\n to,\r\n {\r\n className: K(\r\n \"text-text-primary font-medium leading-4 m-0\",\r\n v[s].text,\r\n v[s].gap,\r\n a && \"text-text-disabled\"\r\n ),\r\n htmlFor: d,\r\n children: t == null ? void 0 : t.heading\r\n }\r\n ),\r\n (t == null ? void 0 : t.description) && /* @__PURE__ */ E(\r\n to,\r\n {\r\n tag: \"p\",\r\n className: K(\r\n \"font-normal leading-5 m-0\",\r\n v[s].description,\r\n a && \"text-text-disabled\"\r\n ),\r\n variant: \"help\",\r\n children: t == null ? void 0 : t.description\r\n }\r\n )\r\n ] }), [t, s, a]);\r\n return /* @__PURE__ */ pe(\r\n \"div\",\r\n {\r\n className: K(\r\n \"inline-flex items-center justify-center gap-2\",\r\n !!t && \"items-start\",\r\n a && \"cursor-not-allowed\"\r\n ),\r\n children: [\r\n /* @__PURE__ */ pe(\r\n \"label\",\r\n {\r\n className: K(\r\n \"relative flex items-center justify-center rounded-full p-0.5\",\r\n !a && \"cursor-pointer\"\r\n ),\r\n htmlFor: d,\r\n children: [\r\n /* @__PURE__ */ E(\r\n \"input\",\r\n {\r\n ref: f,\r\n id: d,\r\n type: \"checkbox\",\r\n className: K(\r\n \"peer relative cursor-pointer appearance-none transition-all m-0 before:content-[''] checked:before:content-[''] checked:before:hidden before:hidden !border-1.5 border-solid\",\r\n x[g].checkbox,\r\n v[s].checkbox,\r\n a && w.checkbox,\r\n l\r\n ),\r\n checked: S(),\r\n onChange: A,\r\n disabled: a,\r\n ...c\r\n }\r\n ),\r\n /* @__PURE__ */ E(\r\n \"span\",\r\n {\r\n className: K(\r\n \"pointer-events-none inline-flex items-center absolute top-2/4 left-2/4 -translate-y-2/4 -translate-x-2/4 text-white opacity-0 transition-opacity peer-checked:opacity-100\",\r\n x[g].icon,\r\n a && w.icon\r\n ),\r\n children: o ? /* @__PURE__ */ E(tD, { className: K((O = v[s]) == null ? void 0 : O.icon) }) : /* @__PURE__ */ E(sd, { className: K((P = v[s]) == null ? void 0 : P.icon) })\r\n }\r\n )\r\n ]\r\n }\r\n ),\r\n !!t && _()\r\n ]\r\n }\r\n );\r\n}, Jw = Dt(aK);\r\nJw.displayName = \"Checkbox\";\r\nconst bT = {\r\n primary: {\r\n checkbox: \"border-border-strong hover:border-border-interactive checked:border-border-interactive bg-white checked:bg-toggle-on checked:hover:bg-toggle-on-hover checked:hover:border-toggle-on-hover focus:ring-2 focus:ring-offset-2 focus:ring-focus\",\r\n icon: \"text-white\"\r\n }\r\n}, xT = {\r\n checkbox: \"disabled:bg-white checked:disabled:bg-white disabled:border-border-disabled checked:disabled:border-border-disabled cursor-not-allowed\",\r\n icon: \"peer-disabled:text-border-disabled cursor-not-allowed\"\r\n}, sK = {\r\n sm: \"text-sm leading-5\",\r\n md: \"text-base leading-6\"\r\n}, Uv = {\r\n sm: {\r\n checkbox: \"size-4\",\r\n icon: \"size-1.5\",\r\n info: \"size-4\"\r\n },\r\n md: {\r\n checkbox: \"size-5\",\r\n icon: \"size-2\",\r\n info: \"size-5\"\r\n }\r\n}, wT = {\r\n sm: {\r\n switch: \"mt-1\",\r\n radio: \"mt-0.5\"\r\n },\r\n md: {\r\n switch: \"mt-0.5\",\r\n radio: \"mt-px\"\r\n }\r\n}, lK = {\r\n xs: \"py-1 px-1 text-sm gap-0.5 [&>svg]:size-4\",\r\n sm: \"py-1 px-1.5 text-base gap-1 [&>svg]:size-4\",\r\n md: \"py-2 px-2.5 text-base gap-1 [&>svg]:size-5\",\r\n lg: \"py-2.5 px-3 text-base gap-1 [&>svg]:size-6\"\r\n}, cK = \"border-0 border-r border-border-subtle border-solid\", uK = \"bg-background-primary text-primary cursor-pointer flex items-center justify-center\", fK = \"hover:bg-button-tertiary-hover\", dK = \"focus:outline-none\";\r\nfunction Qm() {\r\n return typeof window < \"u\";\r\n}\r\nfunction za(e) {\r\n return iD(e) ? (e.nodeName || \"\").toLowerCase() : \"#document\";\r\n}\r\nfunction Or(e) {\r\n var t;\r\n return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;\r\n}\r\nfunction oo(e) {\r\n var t;\r\n return (t = (iD(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;\r\n}\r\nfunction iD(e) {\r\n return Qm() ? e instanceof Node || e instanceof Or(e).Node : !1;\r\n}\r\nfunction Ct(e) {\r\n return Qm() ? e instanceof Element || e instanceof Or(e).Element : !1;\r\n}\r\nfunction pn(e) {\r\n return Qm() ? e instanceof HTMLElement || e instanceof Or(e).HTMLElement : !1;\r\n}\r\nfunction d0(e) {\r\n return !Qm() || typeof ShadowRoot > \"u\" ? !1 : e instanceof ShadowRoot || e instanceof Or(e).ShadowRoot;\r\n}\r\nfunction ld(e) {\r\n const {\r\n overflow: t,\r\n overflowX: n,\r\n overflowY: r,\r\n display: i\r\n } = Hr(e);\r\n return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && ![\"inline\", \"contents\"].includes(i);\r\n}\r\nfunction hK(e) {\r\n return [\"table\", \"td\", \"th\"].includes(za(e));\r\n}\r\nfunction eg(e) {\r\n return [\":popover-open\", \":modal\"].some((t) => {\r\n try {\r\n return e.matches(t);\r\n } catch {\r\n return !1;\r\n }\r\n });\r\n}\r\nfunction Qw(e) {\r\n const t = tg(), n = Ct(e) ? Hr(e) : e;\r\n return n.transform !== \"none\" || n.perspective !== \"none\" || (n.containerType ? n.containerType !== \"normal\" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== \"none\" : !1) || !t && (n.filter ? n.filter !== \"none\" : !1) || [\"transform\", \"perspective\", \"filter\"].some((r) => (n.willChange || \"\").includes(r)) || [\"paint\", \"layout\", \"strict\", \"content\"].some((r) => (n.contain || \"\").includes(r));\r\n}\r\nfunction pK(e) {\r\n let t = Fo(e);\r\n for (; pn(t) && !Da(t); ) {\r\n if (Qw(t))\r\n return t;\r\n if (eg(t))\r\n return null;\r\n t = Fo(t);\r\n }\r\n return null;\r\n}\r\nfunction tg() {\r\n return typeof CSS > \"u\" || !CSS.supports ? !1 : CSS.supports(\"-webkit-backdrop-filter\", \"none\");\r\n}\r\nfunction Da(e) {\r\n return [\"html\", \"body\", \"#document\"].includes(za(e));\r\n}\r\nfunction Hr(e) {\r\n return Or(e).getComputedStyle(e);\r\n}\r\nfunction ng(e) {\r\n return Ct(e) ? {\r\n scrollLeft: e.scrollLeft,\r\n scrollTop: e.scrollTop\r\n } : {\r\n scrollLeft: e.scrollX,\r\n scrollTop: e.scrollY\r\n };\r\n}\r\nfunction Fo(e) {\r\n if (za(e) === \"html\")\r\n return e;\r\n const t = (\r\n // Step into the shadow DOM of the parent of a slotted node.\r\n e.assignedSlot || // DOM Element detected.\r\n e.parentNode || // ShadowRoot detected.\r\n d0(e) && e.host || // Fallback.\r\n oo(e)\r\n );\r\n return d0(t) ? t.host : t;\r\n}\r\nfunction oD(e) {\r\n const t = Fo(e);\r\n return Da(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : pn(t) && ld(t) ? t : oD(t);\r\n}\r\nfunction Ca(e, t, n) {\r\n var r;\r\n t === void 0 && (t = []), n === void 0 && (n = !0);\r\n const i = oD(e), o = i === ((r = e.ownerDocument) == null ? void 0 : r.body), a = Or(i);\r\n if (o) {\r\n const s = h0(a);\r\n return t.concat(a, a.visualViewport || [], ld(i) ? i : [], s && n ? Ca(s) : []);\r\n }\r\n return t.concat(i, Ca(i, [], n));\r\n}\r\nfunction h0(e) {\r\n return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;\r\n}\r\nfunction Pi(e) {\r\n let t = e.activeElement;\r\n for (; ((n = t) == null || (n = n.shadowRoot) == null ? void 0 : n.activeElement) != null; ) {\r\n var n;\r\n t = t.shadowRoot.activeElement;\r\n }\r\n return t;\r\n}\r\nfunction hn(e, t) {\r\n if (!e || !t)\r\n return !1;\r\n const n = t.getRootNode == null ? void 0 : t.getRootNode();\r\n if (e.contains(t))\r\n return !0;\r\n if (n && d0(n)) {\r\n let r = t;\r\n for (; r; ) {\r\n if (e === r)\r\n return !0;\r\n r = r.parentNode || r.host;\r\n }\r\n }\r\n return !1;\r\n}\r\nfunction aD() {\r\n const e = navigator.userAgentData;\r\n return e != null && e.platform ? e.platform : navigator.platform;\r\n}\r\nfunction sD() {\r\n const e = navigator.userAgentData;\r\n return e && Array.isArray(e.brands) ? e.brands.map((t) => {\r\n let {\r\n brand: n,\r\n version: r\r\n } = t;\r\n return n + \"/\" + r;\r\n }).join(\" \") : navigator.userAgent;\r\n}\r\nfunction lD(e) {\r\n return e.mozInputSource === 0 && e.isTrusted ? !0 : p0() && e.pointerType ? e.type === \"click\" && e.buttons === 1 : e.detail === 0 && !e.pointerType;\r\n}\r\nfunction e1(e) {\r\n return mK() ? !1 : !p0() && e.width === 0 && e.height === 0 || p0() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === \"mouse\" || // iOS VoiceOver returns 0.333• for width/height.\r\n e.width < 1 && e.height < 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === \"touch\";\r\n}\r\nfunction t1() {\r\n return /apple/i.test(navigator.vendor);\r\n}\r\nfunction p0() {\r\n const e = /android/i;\r\n return e.test(aD()) || e.test(sD());\r\n}\r\nfunction cD() {\r\n return aD().toLowerCase().startsWith(\"mac\") && !navigator.maxTouchPoints;\r\n}\r\nfunction mK() {\r\n return sD().includes(\"jsdom/\");\r\n}\r\nfunction uf(e, t) {\r\n const n = [\"mouse\", \"pen\"];\r\n return t || n.push(\"\", void 0), n.includes(e);\r\n}\r\nfunction gK(e) {\r\n return \"nativeEvent\" in e;\r\n}\r\nfunction yK(e) {\r\n return e.matches(\"html,body\");\r\n}\r\nfunction Kn(e) {\r\n return (e == null ? void 0 : e.ownerDocument) || document;\r\n}\r\nfunction Hv(e, t) {\r\n if (t == null)\r\n return !1;\r\n if (\"composedPath\" in e)\r\n return e.composedPath().includes(t);\r\n const n = e;\r\n return n.target != null && t.contains(n.target);\r\n}\r\nfunction Ao(e) {\r\n return \"composedPath\" in e ? e.composedPath()[0] : e.target;\r\n}\r\nconst vK = \"input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])\";\r\nfunction n1(e) {\r\n return pn(e) && e.matches(vK);\r\n}\r\nfunction Un(e) {\r\n e.preventDefault(), e.stopPropagation();\r\n}\r\nfunction m0(e) {\r\n return e ? e.getAttribute(\"role\") === \"combobox\" && n1(e) : !1;\r\n}\r\nconst Ia = Math.min, Br = Math.max, hp = Math.round, kl = Math.floor, Ki = (e) => ({\r\n x: e,\r\n y: e\r\n}), bK = {\r\n left: \"right\",\r\n right: \"left\",\r\n bottom: \"top\",\r\n top: \"bottom\"\r\n}, xK = {\r\n start: \"end\",\r\n end: \"start\"\r\n};\r\nfunction g0(e, t, n) {\r\n return Br(e, Ia(t, n));\r\n}\r\nfunction $c(e, t) {\r\n return typeof e == \"function\" ? e(t) : e;\r\n}\r\nfunction Ra(e) {\r\n return e.split(\"-\")[0];\r\n}\r\nfunction Dc(e) {\r\n return e.split(\"-\")[1];\r\n}\r\nfunction uD(e) {\r\n return e === \"x\" ? \"y\" : \"x\";\r\n}\r\nfunction r1(e) {\r\n return e === \"y\" ? \"height\" : \"width\";\r\n}\r\nfunction Is(e) {\r\n return [\"top\", \"bottom\"].includes(Ra(e)) ? \"y\" : \"x\";\r\n}\r\nfunction i1(e) {\r\n return uD(Is(e));\r\n}\r\nfunction wK(e, t, n) {\r\n n === void 0 && (n = !1);\r\n const r = Dc(e), i = i1(e), o = r1(i);\r\n let a = i === \"x\" ? r === (n ? \"end\" : \"start\") ? \"right\" : \"left\" : r === \"start\" ? \"bottom\" : \"top\";\r\n return t.reference[o] > t.floating[o] && (a = pp(a)), [a, pp(a)];\r\n}\r\nfunction _K(e) {\r\n const t = pp(e);\r\n return [y0(e), t, y0(t)];\r\n}\r\nfunction y0(e) {\r\n return e.replace(/start|end/g, (t) => xK[t]);\r\n}\r\nfunction SK(e, t, n) {\r\n const r = [\"left\", \"right\"], i = [\"right\", \"left\"], o = [\"top\", \"bottom\"], a = [\"bottom\", \"top\"];\r\n switch (e) {\r\n case \"top\":\r\n case \"bottom\":\r\n return n ? t ? i : r : t ? r : i;\r\n case \"left\":\r\n case \"right\":\r\n return t ? o : a;\r\n default:\r\n return [];\r\n }\r\n}\r\nfunction OK(e, t, n, r) {\r\n const i = Dc(e);\r\n let o = SK(Ra(e), n === \"start\", r);\r\n return i && (o = o.map((a) => a + \"-\" + i), t && (o = o.concat(o.map(y0)))), o;\r\n}\r\nfunction pp(e) {\r\n return e.replace(/left|right|bottom|top/g, (t) => bK[t]);\r\n}\r\nfunction AK(e) {\r\n return {\r\n top: 0,\r\n right: 0,\r\n bottom: 0,\r\n left: 0,\r\n ...e\r\n };\r\n}\r\nfunction fD(e) {\r\n return typeof e != \"number\" ? AK(e) : {\r\n top: e,\r\n right: e,\r\n bottom: e,\r\n left: e\r\n };\r\n}\r\nfunction mp(e) {\r\n const {\r\n x: t,\r\n y: n,\r\n width: r,\r\n height: i\r\n } = e;\r\n return {\r\n width: r,\r\n height: i,\r\n top: n,\r\n left: t,\r\n right: t + r,\r\n bottom: n + i,\r\n x: t,\r\n y: n\r\n };\r\n}\r\n/*!\r\n* tabbable 6.2.0\r\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\r\n*/\r\nvar TK = [\"input:not([inert])\", \"select:not([inert])\", \"textarea:not([inert])\", \"a[href]:not([inert])\", \"button:not([inert])\", \"[tabindex]:not(slot):not([inert])\", \"audio[controls]:not([inert])\", \"video[controls]:not([inert])\", '[contenteditable]:not([contenteditable=\"false\"]):not([inert])', \"details>summary:first-of-type:not([inert])\", \"details:not([inert])\"], gp = /* @__PURE__ */ TK.join(\",\"), dD = typeof Element > \"u\", Jl = dD ? function() {\r\n} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, yp = !dD && Element.prototype.getRootNode ? function(e) {\r\n var t;\r\n return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);\r\n} : function(e) {\r\n return e == null ? void 0 : e.ownerDocument;\r\n}, vp = function e(t, n) {\r\n var r;\r\n n === void 0 && (n = !0);\r\n var i = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, \"inert\"), o = i === \"\" || i === \"true\", a = o || n && t && e(t.parentNode);\r\n return a;\r\n}, PK = function(t) {\r\n var n, r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, \"contenteditable\");\r\n return r === \"\" || r === \"true\";\r\n}, CK = function(t, n, r) {\r\n if (vp(t))\r\n return [];\r\n var i = Array.prototype.slice.apply(t.querySelectorAll(gp));\r\n return n && Jl.call(t, gp) && i.unshift(t), i = i.filter(r), i;\r\n}, EK = function e(t, n, r) {\r\n for (var i = [], o = Array.from(t); o.length; ) {\r\n var a = o.shift();\r\n if (!vp(a, !1))\r\n if (a.tagName === \"SLOT\") {\r\n var s = a.assignedElements(), l = s.length ? s : a.children, c = e(l, !0, r);\r\n r.flatten ? i.push.apply(i, c) : i.push({\r\n scopeParent: a,\r\n candidates: c\r\n });\r\n } else {\r\n var f = Jl.call(a, gp);\r\n f && r.filter(a) && (n || !t.includes(a)) && i.push(a);\r\n var d = a.shadowRoot || // check for an undisclosed shadow\r\n typeof r.getShadowRoot == \"function\" && r.getShadowRoot(a), p = !vp(d, !1) && (!r.shadowRootFilter || r.shadowRootFilter(a));\r\n if (d && p) {\r\n var m = e(d === !0 ? a.children : d.children, !0, r);\r\n r.flatten ? i.push.apply(i, m) : i.push({\r\n scopeParent: a,\r\n candidates: m\r\n });\r\n } else\r\n o.unshift.apply(o, a.children);\r\n }\r\n }\r\n return i;\r\n}, hD = function(t) {\r\n return !isNaN(parseInt(t.getAttribute(\"tabindex\"), 10));\r\n}, pD = function(t) {\r\n if (!t)\r\n throw new Error(\"No node provided\");\r\n return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || PK(t)) && !hD(t) ? 0 : t.tabIndex;\r\n}, kK = function(t, n) {\r\n var r = pD(t);\r\n return r < 0 && n && !hD(t) ? 0 : r;\r\n}, MK = function(t, n) {\r\n return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;\r\n}, mD = function(t) {\r\n return t.tagName === \"INPUT\";\r\n}, NK = function(t) {\r\n return mD(t) && t.type === \"hidden\";\r\n}, $K = function(t) {\r\n var n = t.tagName === \"DETAILS\" && Array.prototype.slice.apply(t.children).some(function(r) {\r\n return r.tagName === \"SUMMARY\";\r\n });\r\n return n;\r\n}, DK = function(t, n) {\r\n for (var r = 0; r < t.length; r++)\r\n if (t[r].checked && t[r].form === n)\r\n return t[r];\r\n}, IK = function(t) {\r\n if (!t.name)\r\n return !0;\r\n var n = t.form || yp(t), r = function(s) {\r\n return n.querySelectorAll('input[type=\"radio\"][name=\"' + s + '\"]');\r\n }, i;\r\n if (typeof window < \"u\" && typeof window.CSS < \"u\" && typeof window.CSS.escape == \"function\")\r\n i = r(window.CSS.escape(t.name));\r\n else\r\n try {\r\n i = r(t.name);\r\n } catch (a) {\r\n return console.error(\"Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s\", a.message), !1;\r\n }\r\n var o = DK(i, t.form);\r\n return !o || o === t;\r\n}, RK = function(t) {\r\n return mD(t) && t.type === \"radio\";\r\n}, jK = function(t) {\r\n return RK(t) && !IK(t);\r\n}, LK = function(t) {\r\n var n, r = t && yp(t), i = (n = r) === null || n === void 0 ? void 0 : n.host, o = !1;\r\n if (r && r !== t) {\r\n var a, s, l;\r\n for (o = !!((a = i) !== null && a !== void 0 && (s = a.ownerDocument) !== null && s !== void 0 && s.contains(i) || t != null && (l = t.ownerDocument) !== null && l !== void 0 && l.contains(t)); !o && i; ) {\r\n var c, f, d;\r\n r = yp(i), i = (c = r) === null || c === void 0 ? void 0 : c.host, o = !!((f = i) !== null && f !== void 0 && (d = f.ownerDocument) !== null && d !== void 0 && d.contains(i));\r\n }\r\n }\r\n return o;\r\n}, _T = function(t) {\r\n var n = t.getBoundingClientRect(), r = n.width, i = n.height;\r\n return r === 0 && i === 0;\r\n}, BK = function(t, n) {\r\n var r = n.displayCheck, i = n.getShadowRoot;\r\n if (getComputedStyle(t).visibility === \"hidden\")\r\n return !0;\r\n var o = Jl.call(t, \"details>summary:first-of-type\"), a = o ? t.parentElement : t;\r\n if (Jl.call(a, \"details:not([open]) *\"))\r\n return !0;\r\n if (!r || r === \"full\" || r === \"legacy-full\") {\r\n if (typeof i == \"function\") {\r\n for (var s = t; t; ) {\r\n var l = t.parentElement, c = yp(t);\r\n if (l && !l.shadowRoot && i(l) === !0)\r\n return _T(t);\r\n t.assignedSlot ? t = t.assignedSlot : !l && c !== t.ownerDocument ? t = c.host : t = l;\r\n }\r\n t = s;\r\n }\r\n if (LK(t))\r\n return !t.getClientRects().length;\r\n if (r !== \"legacy-full\")\r\n return !0;\r\n } else if (r === \"non-zero-area\")\r\n return _T(t);\r\n return !1;\r\n}, FK = function(t) {\r\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))\r\n for (var n = t.parentElement; n; ) {\r\n if (n.tagName === \"FIELDSET\" && n.disabled) {\r\n for (var r = 0; r < n.children.length; r++) {\r\n var i = n.children.item(r);\r\n if (i.tagName === \"LEGEND\")\r\n return Jl.call(n, \"fieldset[disabled] *\") ? !0 : !i.contains(t);\r\n }\r\n return !0;\r\n }\r\n n = n.parentElement;\r\n }\r\n return !1;\r\n}, WK = function(t, n) {\r\n return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor\r\n // because we're limited in the type of selectors we can use in JSDom (see related\r\n // note related to `candidateSelectors`)\r\n vp(n) || NK(n) || BK(n, t) || // For a details element with a summary, the summary element gets the focus\r\n $K(n) || FK(n));\r\n}, v0 = function(t, n) {\r\n return !(jK(n) || pD(n) < 0 || !WK(t, n));\r\n}, zK = function(t) {\r\n var n = parseInt(t.getAttribute(\"tabindex\"), 10);\r\n return !!(isNaN(n) || n >= 0);\r\n}, VK = function e(t) {\r\n var n = [], r = [];\r\n return t.forEach(function(i, o) {\r\n var a = !!i.scopeParent, s = a ? i.scopeParent : i, l = kK(s, a), c = a ? e(i.candidates) : s;\r\n l === 0 ? a ? n.push.apply(n, c) : n.push(s) : r.push({\r\n documentOrder: o,\r\n tabIndex: l,\r\n item: i,\r\n isScope: a,\r\n content: c\r\n });\r\n }), r.sort(MK).reduce(function(i, o) {\r\n return o.isScope ? i.push.apply(i, o.content) : i.push(o.content), i;\r\n }, []).concat(n);\r\n}, rg = function(t, n) {\r\n n = n || {};\r\n var r;\r\n return n.getShadowRoot ? r = EK([t], n.includeContainer, {\r\n filter: v0.bind(null, n),\r\n flatten: !1,\r\n getShadowRoot: n.getShadowRoot,\r\n shadowRootFilter: zK\r\n }) : r = CK(t, n.includeContainer, v0.bind(null, n)), VK(r);\r\n}, UK = function(t, n) {\r\n if (n = n || {}, !t)\r\n throw new Error(\"No node provided\");\r\n return Jl.call(t, gp) === !1 ? !1 : v0(n, t);\r\n};\r\nfunction ST(e, t, n) {\r\n let {\r\n reference: r,\r\n floating: i\r\n } = e;\r\n const o = Is(t), a = i1(t), s = r1(a), l = Ra(t), c = o === \"y\", f = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, p = r[s] / 2 - i[s] / 2;\r\n let m;\r\n switch (l) {\r\n case \"top\":\r\n m = {\r\n x: f,\r\n y: r.y - i.height\r\n };\r\n break;\r\n case \"bottom\":\r\n m = {\r\n x: f,\r\n y: r.y + r.height\r\n };\r\n break;\r\n case \"right\":\r\n m = {\r\n x: r.x + r.width,\r\n y: d\r\n };\r\n break;\r\n case \"left\":\r\n m = {\r\n x: r.x - i.width,\r\n y: d\r\n };\r\n break;\r\n default:\r\n m = {\r\n x: r.x,\r\n y: r.y\r\n };\r\n }\r\n switch (Dc(t)) {\r\n case \"start\":\r\n m[a] -= p * (n && c ? -1 : 1);\r\n break;\r\n case \"end\":\r\n m[a] += p * (n && c ? -1 : 1);\r\n break;\r\n }\r\n return m;\r\n}\r\nconst HK = async (e, t, n) => {\r\n const {\r\n placement: r = \"bottom\",\r\n strategy: i = \"absolute\",\r\n middleware: o = [],\r\n platform: a\r\n } = n, s = o.filter(Boolean), l = await (a.isRTL == null ? void 0 : a.isRTL(t));\r\n let c = await a.getElementRects({\r\n reference: e,\r\n floating: t,\r\n strategy: i\r\n }), {\r\n x: f,\r\n y: d\r\n } = ST(c, r, l), p = r, m = {}, y = 0;\r\n for (let g = 0; g < s.length; g++) {\r\n const {\r\n name: v,\r\n fn: x\r\n } = s[g], {\r\n x: w,\r\n y: S,\r\n data: A,\r\n reset: _\r\n } = await x({\r\n x: f,\r\n y: d,\r\n initialPlacement: r,\r\n placement: p,\r\n strategy: i,\r\n middlewareData: m,\r\n rects: c,\r\n platform: a,\r\n elements: {\r\n reference: e,\r\n floating: t\r\n }\r\n });\r\n f = w ?? f, d = S ?? d, m = {\r\n ...m,\r\n [v]: {\r\n ...m[v],\r\n ...A\r\n }\r\n }, _ && y <= 50 && (y++, typeof _ == \"object\" && (_.placement && (p = _.placement), _.rects && (c = _.rects === !0 ? await a.getElementRects({\r\n reference: e,\r\n floating: t,\r\n strategy: i\r\n }) : _.rects), {\r\n x: f,\r\n y: d\r\n } = ST(c, p, l)), g = -1);\r\n }\r\n return {\r\n x: f,\r\n y: d,\r\n placement: p,\r\n strategy: i,\r\n middlewareData: m\r\n };\r\n};\r\nasync function o1(e, t) {\r\n var n;\r\n t === void 0 && (t = {});\r\n const {\r\n x: r,\r\n y: i,\r\n platform: o,\r\n rects: a,\r\n elements: s,\r\n strategy: l\r\n } = e, {\r\n boundary: c = \"clippingAncestors\",\r\n rootBoundary: f = \"viewport\",\r\n elementContext: d = \"floating\",\r\n altBoundary: p = !1,\r\n padding: m = 0\r\n } = $c(t, e), y = fD(m), v = s[p ? d === \"floating\" ? \"reference\" : \"floating\" : d], x = mp(await o.getClippingRect({\r\n element: (n = await (o.isElement == null ? void 0 : o.isElement(v))) == null || n ? v : v.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(s.floating)),\r\n boundary: c,\r\n rootBoundary: f,\r\n strategy: l\r\n })), w = d === \"floating\" ? {\r\n x: r,\r\n y: i,\r\n width: a.floating.width,\r\n height: a.floating.height\r\n } : a.reference, S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(s.floating)), A = await (o.isElement == null ? void 0 : o.isElement(S)) ? await (o.getScale == null ? void 0 : o.getScale(S)) || {\r\n x: 1,\r\n y: 1\r\n } : {\r\n x: 1,\r\n y: 1\r\n }, _ = mp(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({\r\n elements: s,\r\n rect: w,\r\n offsetParent: S,\r\n strategy: l\r\n }) : w);\r\n return {\r\n top: (x.top - _.top + y.top) / A.y,\r\n bottom: (_.bottom - x.bottom + y.bottom) / A.y,\r\n left: (x.left - _.left + y.left) / A.x,\r\n right: (_.right - x.right + y.right) / A.x\r\n };\r\n}\r\nconst KK = (e) => ({\r\n name: \"arrow\",\r\n options: e,\r\n async fn(t) {\r\n const {\r\n x: n,\r\n y: r,\r\n placement: i,\r\n rects: o,\r\n platform: a,\r\n elements: s,\r\n middlewareData: l\r\n } = t, {\r\n element: c,\r\n padding: f = 0\r\n } = $c(e, t) || {};\r\n if (c == null)\r\n return {};\r\n const d = fD(f), p = {\r\n x: n,\r\n y: r\r\n }, m = i1(i), y = r1(m), g = await a.getDimensions(c), v = m === \"y\", x = v ? \"top\" : \"left\", w = v ? \"bottom\" : \"right\", S = v ? \"clientHeight\" : \"clientWidth\", A = o.reference[y] + o.reference[m] - p[m] - o.floating[y], _ = p[m] - o.reference[m], O = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));\r\n let P = O ? O[S] : 0;\r\n (!P || !await (a.isElement == null ? void 0 : a.isElement(O))) && (P = s.floating[S] || o.floating[y]);\r\n const C = A / 2 - _ / 2, k = P / 2 - g[y] / 2 - 1, I = Ia(d[x], k), $ = Ia(d[w], k), N = I, D = P - g[y] - $, j = P / 2 - g[y] / 2 + C, F = g0(N, j, D), W = !l.arrow && Dc(i) != null && j !== F && o.reference[y] / 2 - (j < N ? I : $) - g[y] / 2 < 0, z = W ? j < N ? j - N : j - D : 0;\r\n return {\r\n [m]: p[m] + z,\r\n data: {\r\n [m]: F,\r\n centerOffset: j - F - z,\r\n ...W && {\r\n alignmentOffset: z\r\n }\r\n },\r\n reset: W\r\n };\r\n }\r\n}), GK = function(e) {\r\n return e === void 0 && (e = {}), {\r\n name: \"flip\",\r\n options: e,\r\n async fn(t) {\r\n var n, r;\r\n const {\r\n placement: i,\r\n middlewareData: o,\r\n rects: a,\r\n initialPlacement: s,\r\n platform: l,\r\n elements: c\r\n } = t, {\r\n mainAxis: f = !0,\r\n crossAxis: d = !0,\r\n fallbackPlacements: p,\r\n fallbackStrategy: m = \"bestFit\",\r\n fallbackAxisSideDirection: y = \"none\",\r\n flipAlignment: g = !0,\r\n ...v\r\n } = $c(e, t);\r\n if ((n = o.arrow) != null && n.alignmentOffset)\r\n return {};\r\n const x = Ra(i), w = Is(s), S = Ra(s) === s, A = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), _ = p || (S || !g ? [pp(s)] : _K(s)), O = y !== \"none\";\r\n !p && O && _.push(...OK(s, g, y, A));\r\n const P = [s, ..._], C = await o1(t, v), k = [];\r\n let I = ((r = o.flip) == null ? void 0 : r.overflows) || [];\r\n if (f && k.push(C[x]), d) {\r\n const j = wK(i, a, A);\r\n k.push(C[j[0]], C[j[1]]);\r\n }\r\n if (I = [...I, {\r\n placement: i,\r\n overflows: k\r\n }], !k.every((j) => j <= 0)) {\r\n var $, N;\r\n const j = ((($ = o.flip) == null ? void 0 : $.index) || 0) + 1, F = P[j];\r\n if (F)\r\n return {\r\n data: {\r\n index: j,\r\n overflows: I\r\n },\r\n reset: {\r\n placement: F\r\n }\r\n };\r\n let W = (N = I.filter((z) => z.overflows[0] <= 0).sort((z, H) => z.overflows[1] - H.overflows[1])[0]) == null ? void 0 : N.placement;\r\n if (!W)\r\n switch (m) {\r\n case \"bestFit\": {\r\n var D;\r\n const z = (D = I.filter((H) => {\r\n if (O) {\r\n const U = Is(H.placement);\r\n return U === w || // Create a bias to the `y` side axis due to horizontal\r\n // reading directions favoring greater width.\r\n U === \"y\";\r\n }\r\n return !0;\r\n }).map((H) => [H.placement, H.overflows.filter((U) => U > 0).reduce((U, V) => U + V, 0)]).sort((H, U) => H[1] - U[1])[0]) == null ? void 0 : D[0];\r\n z && (W = z);\r\n break;\r\n }\r\n case \"initialPlacement\":\r\n W = s;\r\n break;\r\n }\r\n if (i !== W)\r\n return {\r\n reset: {\r\n placement: W\r\n }\r\n };\r\n }\r\n return {};\r\n }\r\n };\r\n};\r\nasync function YK(e, t) {\r\n const {\r\n placement: n,\r\n platform: r,\r\n elements: i\r\n } = e, o = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), a = Ra(n), s = Dc(n), l = Is(n) === \"y\", c = [\"left\", \"top\"].includes(a) ? -1 : 1, f = o && l ? -1 : 1, d = $c(t, e);\r\n let {\r\n mainAxis: p,\r\n crossAxis: m,\r\n alignmentAxis: y\r\n } = typeof d == \"number\" ? {\r\n mainAxis: d,\r\n crossAxis: 0,\r\n alignmentAxis: null\r\n } : {\r\n mainAxis: d.mainAxis || 0,\r\n crossAxis: d.crossAxis || 0,\r\n alignmentAxis: d.alignmentAxis\r\n };\r\n return s && typeof y == \"number\" && (m = s === \"end\" ? y * -1 : y), l ? {\r\n x: m * f,\r\n y: p * c\r\n } : {\r\n x: p * c,\r\n y: m * f\r\n };\r\n}\r\nconst qK = function(e) {\r\n return e === void 0 && (e = 0), {\r\n name: \"offset\",\r\n options: e,\r\n async fn(t) {\r\n var n, r;\r\n const {\r\n x: i,\r\n y: o,\r\n placement: a,\r\n middlewareData: s\r\n } = t, l = await YK(t, e);\r\n return a === ((n = s.offset) == null ? void 0 : n.placement) && (r = s.arrow) != null && r.alignmentOffset ? {} : {\r\n x: i + l.x,\r\n y: o + l.y,\r\n data: {\r\n ...l,\r\n placement: a\r\n }\r\n };\r\n }\r\n };\r\n}, XK = function(e) {\r\n return e === void 0 && (e = {}), {\r\n name: \"shift\",\r\n options: e,\r\n async fn(t) {\r\n const {\r\n x: n,\r\n y: r,\r\n placement: i\r\n } = t, {\r\n mainAxis: o = !0,\r\n crossAxis: a = !1,\r\n limiter: s = {\r\n fn: (v) => {\r\n let {\r\n x,\r\n y: w\r\n } = v;\r\n return {\r\n x,\r\n y: w\r\n };\r\n }\r\n },\r\n ...l\r\n } = $c(e, t), c = {\r\n x: n,\r\n y: r\r\n }, f = await o1(t, l), d = Is(Ra(i)), p = uD(d);\r\n let m = c[p], y = c[d];\r\n if (o) {\r\n const v = p === \"y\" ? \"top\" : \"left\", x = p === \"y\" ? \"bottom\" : \"right\", w = m + f[v], S = m - f[x];\r\n m = g0(w, m, S);\r\n }\r\n if (a) {\r\n const v = d === \"y\" ? \"top\" : \"left\", x = d === \"y\" ? \"bottom\" : \"right\", w = y + f[v], S = y - f[x];\r\n y = g0(w, y, S);\r\n }\r\n const g = s.fn({\r\n ...t,\r\n [p]: m,\r\n [d]: y\r\n });\r\n return {\r\n ...g,\r\n data: {\r\n x: g.x - n,\r\n y: g.y - r,\r\n enabled: {\r\n [p]: o,\r\n [d]: a\r\n }\r\n }\r\n };\r\n }\r\n };\r\n}, ZK = function(e) {\r\n return e === void 0 && (e = {}), {\r\n name: \"size\",\r\n options: e,\r\n async fn(t) {\r\n var n, r;\r\n const {\r\n placement: i,\r\n rects: o,\r\n platform: a,\r\n elements: s\r\n } = t, {\r\n apply: l = () => {\r\n },\r\n ...c\r\n } = $c(e, t), f = await o1(t, c), d = Ra(i), p = Dc(i), m = Is(i) === \"y\", {\r\n width: y,\r\n height: g\r\n } = o.floating;\r\n let v, x;\r\n d === \"top\" || d === \"bottom\" ? (v = d, x = p === (await (a.isRTL == null ? void 0 : a.isRTL(s.floating)) ? \"start\" : \"end\") ? \"left\" : \"right\") : (x = d, v = p === \"end\" ? \"top\" : \"bottom\");\r\n const w = g - f.top - f.bottom, S = y - f.left - f.right, A = Ia(g - f[v], w), _ = Ia(y - f[x], S), O = !t.middlewareData.shift;\r\n let P = A, C = _;\r\n if ((n = t.middlewareData.shift) != null && n.enabled.x && (C = S), (r = t.middlewareData.shift) != null && r.enabled.y && (P = w), O && !p) {\r\n const I = Br(f.left, 0), $ = Br(f.right, 0), N = Br(f.top, 0), D = Br(f.bottom, 0);\r\n m ? C = y - 2 * (I !== 0 || $ !== 0 ? I + $ : Br(f.left, f.right)) : P = g - 2 * (N !== 0 || D !== 0 ? N + D : Br(f.top, f.bottom));\r\n }\r\n await l({\r\n ...t,\r\n availableWidth: C,\r\n availableHeight: P\r\n });\r\n const k = await a.getDimensions(s.floating);\r\n return y !== k.width || g !== k.height ? {\r\n reset: {\r\n rects: !0\r\n }\r\n } : {};\r\n }\r\n };\r\n};\r\nfunction gD(e) {\r\n const t = Hr(e);\r\n let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;\r\n const i = pn(e), o = i ? e.offsetWidth : n, a = i ? e.offsetHeight : r, s = hp(n) !== o || hp(r) !== a;\r\n return s && (n = o, r = a), {\r\n width: n,\r\n height: r,\r\n $: s\r\n };\r\n}\r\nfunction a1(e) {\r\n return Ct(e) ? e : e.contextElement;\r\n}\r\nfunction Ul(e) {\r\n const t = a1(e);\r\n if (!pn(t))\r\n return Ki(1);\r\n const n = t.getBoundingClientRect(), {\r\n width: r,\r\n height: i,\r\n $: o\r\n } = gD(t);\r\n let a = (o ? hp(n.width) : n.width) / r, s = (o ? hp(n.height) : n.height) / i;\r\n return (!a || !Number.isFinite(a)) && (a = 1), (!s || !Number.isFinite(s)) && (s = 1), {\r\n x: a,\r\n y: s\r\n };\r\n}\r\nconst JK = /* @__PURE__ */ Ki(0);\r\nfunction yD(e) {\r\n const t = Or(e);\r\n return !tg() || !t.visualViewport ? JK : {\r\n x: t.visualViewport.offsetLeft,\r\n y: t.visualViewport.offsetTop\r\n };\r\n}\r\nfunction QK(e, t, n) {\r\n return t === void 0 && (t = !1), !n || t && n !== Or(e) ? !1 : t;\r\n}\r\nfunction Rs(e, t, n, r) {\r\n t === void 0 && (t = !1), n === void 0 && (n = !1);\r\n const i = e.getBoundingClientRect(), o = a1(e);\r\n let a = Ki(1);\r\n t && (r ? Ct(r) && (a = Ul(r)) : a = Ul(e));\r\n const s = QK(o, n, r) ? yD(o) : Ki(0);\r\n let l = (i.left + s.x) / a.x, c = (i.top + s.y) / a.y, f = i.width / a.x, d = i.height / a.y;\r\n if (o) {\r\n const p = Or(o), m = r && Ct(r) ? Or(r) : r;\r\n let y = p, g = h0(y);\r\n for (; g && r && m !== y; ) {\r\n const v = Ul(g), x = g.getBoundingClientRect(), w = Hr(g), S = x.left + (g.clientLeft + parseFloat(w.paddingLeft)) * v.x, A = x.top + (g.clientTop + parseFloat(w.paddingTop)) * v.y;\r\n l *= v.x, c *= v.y, f *= v.x, d *= v.y, l += S, c += A, y = Or(g), g = h0(y);\r\n }\r\n }\r\n return mp({\r\n width: f,\r\n height: d,\r\n x: l,\r\n y: c\r\n });\r\n}\r\nfunction s1(e, t) {\r\n const n = ng(e).scrollLeft;\r\n return t ? t.left + n : Rs(oo(e)).left + n;\r\n}\r\nfunction vD(e, t, n) {\r\n n === void 0 && (n = !1);\r\n const r = e.getBoundingClientRect(), i = r.left + t.scrollLeft - (n ? 0 : (\r\n // RTL scrollbar.\r\n s1(e, r)\r\n )), o = r.top + t.scrollTop;\r\n return {\r\n x: i,\r\n y: o\r\n };\r\n}\r\nfunction eG(e) {\r\n let {\r\n elements: t,\r\n rect: n,\r\n offsetParent: r,\r\n strategy: i\r\n } = e;\r\n const o = i === \"fixed\", a = oo(r), s = t ? eg(t.floating) : !1;\r\n if (r === a || s && o)\r\n return n;\r\n let l = {\r\n scrollLeft: 0,\r\n scrollTop: 0\r\n }, c = Ki(1);\r\n const f = Ki(0), d = pn(r);\r\n if ((d || !d && !o) && ((za(r) !== \"body\" || ld(a)) && (l = ng(r)), pn(r))) {\r\n const m = Rs(r);\r\n c = Ul(r), f.x = m.x + r.clientLeft, f.y = m.y + r.clientTop;\r\n }\r\n const p = a && !d && !o ? vD(a, l, !0) : Ki(0);\r\n return {\r\n width: n.width * c.x,\r\n height: n.height * c.y,\r\n x: n.x * c.x - l.scrollLeft * c.x + f.x + p.x,\r\n y: n.y * c.y - l.scrollTop * c.y + f.y + p.y\r\n };\r\n}\r\nfunction tG(e) {\r\n return Array.from(e.getClientRects());\r\n}\r\nfunction nG(e) {\r\n const t = oo(e), n = ng(e), r = e.ownerDocument.body, i = Br(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), o = Br(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);\r\n let a = -n.scrollLeft + s1(e);\r\n const s = -n.scrollTop;\r\n return Hr(r).direction === \"rtl\" && (a += Br(t.clientWidth, r.clientWidth) - i), {\r\n width: i,\r\n height: o,\r\n x: a,\r\n y: s\r\n };\r\n}\r\nfunction rG(e, t) {\r\n const n = Or(e), r = oo(e), i = n.visualViewport;\r\n let o = r.clientWidth, a = r.clientHeight, s = 0, l = 0;\r\n if (i) {\r\n o = i.width, a = i.height;\r\n const c = tg();\r\n (!c || c && t === \"fixed\") && (s = i.offsetLeft, l = i.offsetTop);\r\n }\r\n return {\r\n width: o,\r\n height: a,\r\n x: s,\r\n y: l\r\n };\r\n}\r\nfunction iG(e, t) {\r\n const n = Rs(e, !0, t === \"fixed\"), r = n.top + e.clientTop, i = n.left + e.clientLeft, o = pn(e) ? Ul(e) : Ki(1), a = e.clientWidth * o.x, s = e.clientHeight * o.y, l = i * o.x, c = r * o.y;\r\n return {\r\n width: a,\r\n height: s,\r\n x: l,\r\n y: c\r\n };\r\n}\r\nfunction OT(e, t, n) {\r\n let r;\r\n if (t === \"viewport\")\r\n r = rG(e, n);\r\n else if (t === \"document\")\r\n r = nG(oo(e));\r\n else if (Ct(t))\r\n r = iG(t, n);\r\n else {\r\n const i = yD(e);\r\n r = {\r\n x: t.x - i.x,\r\n y: t.y - i.y,\r\n width: t.width,\r\n height: t.height\r\n };\r\n }\r\n return mp(r);\r\n}\r\nfunction bD(e, t) {\r\n const n = Fo(e);\r\n return n === t || !Ct(n) || Da(n) ? !1 : Hr(n).position === \"fixed\" || bD(n, t);\r\n}\r\nfunction oG(e, t) {\r\n const n = t.get(e);\r\n if (n)\r\n return n;\r\n let r = Ca(e, [], !1).filter((s) => Ct(s) && za(s) !== \"body\"), i = null;\r\n const o = Hr(e).position === \"fixed\";\r\n let a = o ? Fo(e) : e;\r\n for (; Ct(a) && !Da(a); ) {\r\n const s = Hr(a), l = Qw(a);\r\n !l && s.position === \"fixed\" && (i = null), (o ? !l && !i : !l && s.position === \"static\" && !!i && [\"absolute\", \"fixed\"].includes(i.position) || ld(a) && !l && bD(e, a)) ? r = r.filter((f) => f !== a) : i = s, a = Fo(a);\r\n }\r\n return t.set(e, r), r;\r\n}\r\nfunction aG(e) {\r\n let {\r\n element: t,\r\n boundary: n,\r\n rootBoundary: r,\r\n strategy: i\r\n } = e;\r\n const a = [...n === \"clippingAncestors\" ? eg(t) ? [] : oG(t, this._c) : [].concat(n), r], s = a[0], l = a.reduce((c, f) => {\r\n const d = OT(t, f, i);\r\n return c.top = Br(d.top, c.top), c.right = Ia(d.right, c.right), c.bottom = Ia(d.bottom, c.bottom), c.left = Br(d.left, c.left), c;\r\n }, OT(t, s, i));\r\n return {\r\n width: l.right - l.left,\r\n height: l.bottom - l.top,\r\n x: l.left,\r\n y: l.top\r\n };\r\n}\r\nfunction sG(e) {\r\n const {\r\n width: t,\r\n height: n\r\n } = gD(e);\r\n return {\r\n width: t,\r\n height: n\r\n };\r\n}\r\nfunction lG(e, t, n) {\r\n const r = pn(t), i = oo(t), o = n === \"fixed\", a = Rs(e, !0, o, t);\r\n let s = {\r\n scrollLeft: 0,\r\n scrollTop: 0\r\n };\r\n const l = Ki(0);\r\n if (r || !r && !o)\r\n if ((za(t) !== \"body\" || ld(i)) && (s = ng(t)), r) {\r\n const p = Rs(t, !0, o, t);\r\n l.x = p.x + t.clientLeft, l.y = p.y + t.clientTop;\r\n } else i && (l.x = s1(i));\r\n const c = i && !r && !o ? vD(i, s) : Ki(0), f = a.left + s.scrollLeft - l.x - c.x, d = a.top + s.scrollTop - l.y - c.y;\r\n return {\r\n x: f,\r\n y: d,\r\n width: a.width,\r\n height: a.height\r\n };\r\n}\r\nfunction Kv(e) {\r\n return Hr(e).position === \"static\";\r\n}\r\nfunction AT(e, t) {\r\n if (!pn(e) || Hr(e).position === \"fixed\")\r\n return null;\r\n if (t)\r\n return t(e);\r\n let n = e.offsetParent;\r\n return oo(e) === n && (n = n.ownerDocument.body), n;\r\n}\r\nfunction xD(e, t) {\r\n const n = Or(e);\r\n if (eg(e))\r\n return n;\r\n if (!pn(e)) {\r\n let i = Fo(e);\r\n for (; i && !Da(i); ) {\r\n if (Ct(i) && !Kv(i))\r\n return i;\r\n i = Fo(i);\r\n }\r\n return n;\r\n }\r\n let r = AT(e, t);\r\n for (; r && hK(r) && Kv(r); )\r\n r = AT(r, t);\r\n return r && Da(r) && Kv(r) && !Qw(r) ? n : r || pK(e) || n;\r\n}\r\nconst cG = async function(e) {\r\n const t = this.getOffsetParent || xD, n = this.getDimensions, r = await n(e.floating);\r\n return {\r\n reference: lG(e.reference, await t(e.floating), e.strategy),\r\n floating: {\r\n x: 0,\r\n y: 0,\r\n width: r.width,\r\n height: r.height\r\n }\r\n };\r\n};\r\nfunction uG(e) {\r\n return Hr(e).direction === \"rtl\";\r\n}\r\nconst fG = {\r\n convertOffsetParentRelativeRectToViewportRelativeRect: eG,\r\n getDocumentElement: oo,\r\n getClippingRect: aG,\r\n getOffsetParent: xD,\r\n getElementRects: cG,\r\n getClientRects: tG,\r\n getDimensions: sG,\r\n getScale: Ul,\r\n isElement: Ct,\r\n isRTL: uG\r\n};\r\nfunction dG(e, t) {\r\n let n = null, r;\r\n const i = oo(e);\r\n function o() {\r\n var s;\r\n clearTimeout(r), (s = n) == null || s.disconnect(), n = null;\r\n }\r\n function a(s, l) {\r\n s === void 0 && (s = !1), l === void 0 && (l = 1), o();\r\n const {\r\n left: c,\r\n top: f,\r\n width: d,\r\n height: p\r\n } = e.getBoundingClientRect();\r\n if (s || t(), !d || !p)\r\n return;\r\n const m = kl(f), y = kl(i.clientWidth - (c + d)), g = kl(i.clientHeight - (f + p)), v = kl(c), w = {\r\n rootMargin: -m + \"px \" + -y + \"px \" + -g + \"px \" + -v + \"px\",\r\n threshold: Br(0, Ia(1, l)) || 1\r\n };\r\n let S = !0;\r\n function A(_) {\r\n const O = _[0].intersectionRatio;\r\n if (O !== l) {\r\n if (!S)\r\n return a();\r\n O ? a(!1, O) : r = setTimeout(() => {\r\n a(!1, 1e-7);\r\n }, 1e3);\r\n }\r\n S = !1;\r\n }\r\n try {\r\n n = new IntersectionObserver(A, {\r\n ...w,\r\n // Handle