晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。   林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。   见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝)   既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。   南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。 .
Prv8 Shell
Server : Apache
System : Linux srv.rainic.com 4.18.0-553.47.1.el8_10.x86_64 #1 SMP Wed Apr 2 05:45:37 EDT 2025 x86_64
User : rainic ( 1014)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/tabatabaei/.trash/wp-content.1/plugins/gutenify/core/dist/extend/block-core-group/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/tabatabaei/.trash/wp-content.1/plugins/gutenify/core/dist/extend/block-core-group/index.js
(()=>{var e={1315:(e,t,n)=>{!function(){var t={184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};!function(){"use strict";o.r(i),o.d(i,{CircularProgressBar:function(){return Xt},ClipboardButton:function(){return et},ColorSetting:function(){return Qe},ContentPicker:function(){return Je},ContentSearch:function(){return Le},Counter:function(){return Gt},CustomBlockAppender:function(){return Re},DragHandle:function(){return Ue},Icon:function(){return de},IconPicker:function(){return ve},IconPickerToolbarButton:function(){return xe},Image:function(){return dt},InlineIconPicker:function(){return Ce},InnerBlockSlider:function(){return ce},IsAdmin:function(){return te},Link:function(){return lt},MediaToolbar:function(){return ct},Optional:function(){return oe},PostAuthor:function(){return Dt},PostCategoryList:function(){return Ut},PostContext:function(){return ft},PostDate:function(){return jt},PostDatePicker:function(){return Lt},PostExcerpt:function(){return Rt},PostFeaturedImage:function(){return ht},PostMeta:function(){return wt},PostPrimaryCategory:function(){return Wt},PostPrimaryTerm:function(){return Ht},PostTermList:function(){return zt},PostTitle:function(){return mt},Repeater:function(){return rt},RichTextCharacterLimit:function(){return Qt},getCharacterCount:function(){return Zt},iconStore:function(){return w},registerBlockExtension:function(){return d},registerBlockExtention:function(){return d},registerIcons:function(){return E},useAllTerms:function(){return $},useBlockParentAttributes:function(){return M},useFilteredList:function(){return I},useHasSelectedInnerBlock:function(){return S},useIcon:function(){return _},useIcons:function(){return T},useIsPluginActive:function(){return V},useIsSupportedMetaField:function(){return ee},useIsSupportedTaxonomy:function(){return B},useMedia:function(){return D},usePopover:function(){return G},usePost:function(){return F},usePostMetaValue:function(){return Z},usePrimaryTerm:function(){return K},useRequestData:function(){return P},useScript:function(){return J},useSelectedTermIds:function(){return z},useSelectedTerms:function(){return H},useSelectedTermsOfSavedPost:function(){return U},useTaxonomy:function(){return Q}});var e={};o.r(e),o.d(e,{getIcon:function(){return y},getIconSet:function(){return h},getIconSets:function(){return g},getIcons:function(){return v}});var t={};o.r(t),o.d(t,{registerIconSet:function(){return b},removeIconSet:function(){return x}});var r=n(9307),a=n(2694),s=n(4333),l=o(184),c=o.n(l);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(e,{attributes:t,classNameGenerator:n,inlineStyleGenerator:o,Edit:i,extensionName:l,order:d="after"}){const f=Array.isArray(e),p=t=>f?e.includes(t):t===e,m=f?e.join("-"):e;(0,a.addFilter)("blocks.registerBlockType",`namespace/${m}/${l}/addAttributesToBlock`,((e,n)=>p(n)?{...e,attributes:{...e.attributes,...t}}:e));const g=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n,isSelected:o}=t;if(!p(n))return(0,r.createElement)(e,t);const a="before"===d&&o,s="after"===d&&o,l=!a&&!s&&o;return(0,r.createElement)(r.Fragment,null,a&&(0,r.createElement)(i,t),(0,r.createElement)(e,t),s&&(0,r.createElement)(i,t),l&&(0,r.createElement)(i,t))}),"addSettingsToBlock");(0,a.addFilter)("editor.BlockEdit",`namespace/${m}/${l}/addSettingsToBlock`,g);const h=(0,s.createHigherOrderComponent)((e=>t=>{const{name:i,attributes:a,className:s,style:l,wrapperProps:d}=t;if(!p(i))return(0,r.createElement)(e,t);const f=n(a),m=c()(s,f);let g=null,h={...l};return"function"==typeof o&&(g=o(a),h={...l,...d?.style,...g}),f||g?(0,r.createElement)(e,u({},t,{className:m,wrapperProps:{...d,style:h}})):(0,r.createElement)(e,t)}),"addAdditionalPropertiesInEditor");(0,a.addFilter)("editor.BlockListBlock",`namespace/${m}/${l}/addAdditionalPropertiesInEditor`,h),(0,a.addFilter)("blocks.getSaveContent.extraProps",`namespace/${m}/${l}/addAdditionalPropertiesToSavedMarkup`,((e,t,r)=>{const{className:i,style:a}=e;if(!p(t.name))return e;const s=n(r),l=c()(i,s);let u=null,d={...a};return"function"==typeof o&&(u=o(r),d={...a,...u}),s||u?{...e,className:l,style:d}:e}))}var f=n(9818),p=n(7701),m=o.n(p);function g(e){const{iconSets:t}=e;return Object.values(t)}function h(e,t){const{iconSets:n}=e;return n[t]??[]}function v(e,t){const{iconSets:n}=e;return n?.hasOwnProperty(t)?n[t]?.icons??[]:[]}function y(e,t,n){const{iconSets:r}=e;return r?.hasOwnProperty(t)?r[t]?.icons?.find((e=>e.name===n))??[]:void 0}function b(e){return{type:"REGISTER_ICON_SET",iconSet:e}}function x(e){return{type:"REMOVE_ICON_SET",name:e}}const w=(0,f.createReduxStore)("tenup/icons",{reducer:function(e={iconSets:{}},t){switch(t.type){case"REGISTER_ICON_SET":return{...e,iconSets:{...e.iconSets,[t.iconSet.name]:t.iconSet}};case"REMOVE_ICON_SET":if(e.iconSets.hasOwnProperty(t.name)){const n={...e};return delete n.iconSets[t.name],n}return e;default:return e}},selectors:e,actions:t});function E(e){m()((()=>{(0,f.dispatch)(w).registerIconSet(e)}))}(0,f.register)(w);var C=n(2175);function S(){const{clientId:e}=(0,C.useBlockEditContext)();return(0,f.useSelect)((t=>t("core/block-editor").hasSelectedInnerBlock(e,!0)))}var k=o(218),R=o.n(k);const P=(e,t,n={})=>{const r=R()(n)?"getEntityRecords":"getEntityRecord",{invalidateResolution:o}=(0,f.useDispatch)("core/data"),{data:i,isLoading:a}=(0,f.useSelect)((o=>({data:o("core")[r](e,t,n),isLoading:o("core/data").isResolving("core",r,[e,t,n])})));return[i,a,()=>{o("core",r,[e,t,n])}]};function O(e){return e.icons.map((t=>({...t,iconSet:e.name})))}const T=(e=!1)=>{const[t,n]=(0,r.useState)([]),o=(0,f.useSelect)((t=>{const{getIconSet:n,getIconSets:r}=t(w);return e?n(e):r()}),[e]);return(0,r.useEffect)((()=>{e&&n(O(o)),n(Object.values(o).reduce(((e,t)=>[...e,...O(t)]),[]))}),[o,e]),t},_=(e,t)=>{const[n,o]=(0,r.useState)(null),i=(0,f.useSelect)((n=>n(w).getIcon(e,t)),[e,t]);return(0,r.useEffect)((()=>{o(i)}),[i]),n};function I(e=[],t="",n="name"){const[o,i]=(0,r.useState)(e),a=(0,r.useCallback)((t=>e.filter((e=>e[n].includes(t)))),[e,n]);return(0,r.useEffect)((()=>{const n=""!==t&&e?.length?a(t):e;i(n)}),[t,a,e]),[o]}var N=n(7798);function D(e){return(0,f.useSelect)((t=>{const{getMedia:n,isResolving:r,hasFinishedResolution:o}=t(N.store),i=[e,{context:"view"}];return{media:n(...i),isResolvingMedia:r("getMedia",i),hasResolvedMedia:o("getMedia",i)}}),[e])}function M(){const{clientId:e}=(0,C.useBlockEditContext)(),t=(0,f.useSelect)((t=>t(C.store).getBlockParents(e))),n=t[t.length-1],r=(0,f.useSelect)((e=>e(C.store).getBlock(n))),{updateBlockAttributes:o}=(0,f.useDispatch)(C.store);return[r?.attributes??{},e=>{o(n,e)}]}var A=n(2238);const L={postId:null,postType:null,isEditable:null},j=(0,r.createContext)(L);function F(){const{postId:e,postType:t,isEditable:n}=(0,r.useContext)(j),{globalPostId:o,globalPostType:i}=(0,f.useSelect)((e=>({globalPostId:e(A.store).getCurrentPostId(),globalPostType:e(A.store).getCurrentPostType()})),[]);return{postId:e||o,postType:t||i,isEditable:!(e&&t)||n}}const B=(e,t)=>(0,f.useSelect)((n=>{const r=n(N.store).getPostType(e),o=n(N.store).hasFinishedResolution("getPostType",[e]),i=r?.taxonomies?.some((e=>e===t));return[!!i,o]}),[e,t]),$=e=>(0,f.useSelect)((t=>{const{getEntityRecords:n,hasFinishedResolution:r}=t(N.store),o=["taxonomy",e,{per_page:-1}];return[n(...o),r("getEntityRecords",o)]}),[e]),z=e=>(0,f.useSelect)((t=>{const{getTaxonomy:n,hasFinishedResolution:r}=t(N.store),o=n(e),i=r("getTaxonomy",[e]),{getEditedPostAttribute:a}=t(A.store);return[a(o?.rest_base),i]}),[e]),U=(e,t)=>(0,f.useSelect)((n=>{const{getEntityRecords:r,hasFinishedResolution:o}=n("core"),i=["taxonomy",e,{per_page:-1,post:t}];return[r(...i),o("getEntityRecords",i)]}),[e,t]),H=e=>{const{postId:t,postType:n,isEditable:r}=F(),[o,i]=B(n,e),[a,s]=z(e),[l,c]=$(e),[u,d]=U(e,t);return i?!o&&i?(console.error(`The taxonomy "${e}" is not supported for the post type "${n}". Please use a supported taxonomy.`),[[],!0]):(r||d)&&(!r||c&&s)?!r&&d?[u,d]:[l.filter((e=>a?.includes(e.id))),c&&s]:[[],!1]:[[],!1]},W=["active","network-active"],V=e=>(0,f.useSelect)((t=>{const n=t(N.store).getPlugin(e),r=t(N.store).hasFinishedResolution("getPlugin",[e]);return[W.includes(n?.status),r]}),[e]);var q=n(5736);const K=e=>{const{postType:t,isEditable:n}=F(),[r,o]=V("wordpress-seo/wp-seo"),[i,a]=B(t,e),s=(0,f.useSelect)((n=>a&&o?!r&&o?(console.error("Yoast SEO is not active. Please install and activate Yoast SEO to use the PostPrimaryCategory component."),null):!i&&a?(console.error(`The taxonomy "${e}" is not supported for the post type "${t}". Please use a supported taxonomy.`),null):n("yoast-seo/editor").getPrimaryTaxonomyId(e):null),[e,r,i,a,o]),l=(0,f.useSelect)((t=>{if(!s)return null;const{getEntityRecord:n}=t("core");return n("taxonomy",e,s)}),[s]);return[n?l:{name:(0,q.__)("Primary Term","tenup")},i]};var Y=n(5609);function X(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{const n=n=>{t.current&&!t.current.contains(n.target)&&e(n)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}}),[t,e]),t}const G=()=>{const[e,t]=(0,r.useState)(),[n,o]=(0,r.useState)(!1),i=(0,r.useCallback)((()=>{o((e=>!e))}),[]),a={onClick:i,"aria-expanded":n,ref:t},s=X((()=>o(!1)));return{setPopoverAnchor:t,toggleVisible:i,toggleProps:a,Popover:(0,r.useMemo)((()=>({children:t})=>n?(0,r.createElement)(Y.Popover,{ref:s,anchor:e,focusOnMount:!1,animate:!1},(0,r.createElement)("div",{style:{padding:"16px",minWidth:"250px"}},t)):null),[n,e,s])}},J=e=>{const t=(0,r.useRef)(),[n,o]=(0,r.useState)(!1);return(0,r.useEffect)((()=>(window&&(t.current=document.createElement("script"),t.current.src=e,t.current.async=!0,t.current.type="text/javascript",t.current.addEventListener("load",(()=>{o(!0)}),{once:!0,passive:!0}),document.body.appendChild(t.current)),()=>{t.current?.remove()})),[e]),{hasLoaded:n,scriptElement:t.current}},Z=e=>{const{postId:t,postType:n}=F(),[r,o]=(0,N.useEntityProp)("postType",n,"meta",t);return r&&e&&Object.prototype.hasOwnProperty.call(r,e)?[r[e],t=>{o({...r,[e]:t})}]:[void 0,()=>{}]};function Q(e){return(0,f.useSelect)((t=>{const{getTaxonomy:n,hasFinishedResolution:r}=t(N.store),o=r("getTaxonomy",[e]);return[n(e),o]}),[e])}const ee=e=>(0,f.useSelect)((t=>{const n=t(A.store).getCurrentPostAttribute("meta"),r=Object.keys(n||{})?.some((t=>t===e));return[!!r]}),[e]),te=({fallback:e=null,children:t})=>(0,f.useSelect)((e=>e("core").canUser("read","users?roles=1")),[])?t:e;var ne=n(5697),re=o.n(ne);const oe=({value:e,children:t})=>{const{isSelected:n}=(0,C.useBlockEditContext)();return(n||!!e)&&t};oe.defaultProps={value:""},oe.propTypes={value:re().string||re().bool,children:re().node.isRequired};var ie=n(4981),ae=n(2835);const se=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none",viewBox:"0 0 14.4 23.7"},(0,r.createElement)("path",{stroke:"currentColor",strokeWidth:"3",d:"M11.19,1.81l-9.12,10,9.12,10"})),le=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none",viewBox:"0 0 14.4 23.7"},(0,r.createElement)("path",{stroke:"currentColor",strokeWidth:"3",d:"M2.1,21.9l9.1-10l-9.1-10"})),ce=({parentBlockId:e,slidesPerPage:t,allowedBlock:n,template:o,slideHeight:i})=>{const[a,s]=(0,r.useState)(1);let l=o;l||(l=[[n]]);const c=(0,f.useSelect)((t=>t("core/block-editor").getBlock(e).innerBlocks)),{insertBlock:u}=(0,f.useDispatch)("core/editor"),d=(0,r.useRef)(),p=(0,r.useRef)(),m=Math.ceil(c.length/t),g=100/t*c.length,h=100/c.length,v=h*(a-1)*t;(0,r.useEffect)((()=>{s(1)}),[t]),(0,r.useEffect)((()=>{p.current?c.length>p.current?(p.current=c.length,s(m)):c.length<p.current&&(p.current=c.length,a>m&&s(m)):p.current=c.length}),[c.length]);const y=ae.css`
		/* stylelint-disable */
		width: ${g}%;
		transform: translate3d(-${v}%, 0px, 0px);
		${i?`height: ${i};`:""}

		.block-editor-block-list__layout > div {
			width: ${h}%;
		}
	`,b=a>1,x=a<m;return(0,ae.jsx)("div",{className:"inner-block-slider"},(0,ae.jsx)("div",{className:"slides-outer"},(0,ae.jsx)("div",{className:"slides",css:y,ref:d},(0,ae.jsx)(C.InnerBlocks,{allowedBlocks:[n],orientation:"horizontal",template:l,__experimentalCaptureToolbars:!0}))),(0,ae.jsx)("div",{className:"navigation"},[...Array(m).keys()].map((e=>(0,ae.jsx)("button",{"aria-label":`Slide ${e+1}`,onClick:()=>{s(e+1)},type:"button",key:e+1,className:"dot "+(a===e+1?"current":"")}))),(0,ae.jsx)("button",{"aria-label":"Add new slide",onClick:()=>{(()=>{const t=(0,ie.createBlock)(n);u(t,void 0,e)})()},type:"button",className:"add"},(0,ae.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img"},(0,ae.jsx)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})))),(0,ae.jsx)("div",{className:"controls"},(0,ae.jsx)("div",{className:"prev-container "+(b?"":"disable")},(0,ae.jsx)("button",{onClick:()=>{b&&s(a-1)},type:"button"},(0,ae.jsx)(se,null))),(0,ae.jsx)("div",{className:"next-container "+(x?"":"disable")},(0,ae.jsx)("button",{onClick:()=>{x&&s(a+1)},type:"button"},(0,ae.jsx)(le,null)))))};function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ue.apply(this,arguments)}ce.defaultProps={slidesPerPage:1,template:null,slideHeight:null};const de=e=>{const{name:t,iconSet:n,onClick:o,...i}=e,a=_(n,t);if(!a)return(0,r.createElement)(Y.Spinner,null);const s={};return"function"==typeof o&&(s.role="button",s.tabIndex=0,s["aria-label"]="Change Icon",s.onClick=o),(0,r.createElement)("div",ue({},s,{dangerouslySetInnerHTML:{__html:a.source}},i))};de.defaultProps={onClick:void 0};var fe=n(7860),pe=o.n(fe);function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},me.apply(this,arguments)}const ge=pe()(Y.NavigableMenu)`
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
	gap: 12px;
	align-items: center;
	justify-content: center;

	.component-icon-picker__checkbox-control {
		margin-bottom: 0;
	}

	.components-checkbox-control__input,
	.components-checkbox-control__input-container {
		display: none;
	}
`,he=pe()(de)`
	background-color: ${({isSelected:e})=>e?"black":"white"};
	color: ${({isSelected:e})=>e?"white":"black"};
	fill: ${({isSelected:e})=>e?"white":"black"};
	padding: 5px;
	border: none;
	border-radius: 4px;
	height: 34px;
	width: 34px;
	display: flex;
	align-items: center;
	justify-content: center;

	&:hover {
		background-color: ${({isSelected:e})=>e?"#555D66":"#f3f4f5"};
	}

	& svg {
		max-height: 100%;
		max-width: 100%;
		height: auto;
		width: auto;
		object-fit: contain;
	}
`,ve=e=>{const{value:t,onChange:n,label:o,...i}=e,a=T(),l=`icon-picker-${(0,s.useInstanceId)(ve)}`,[c,u]=(0,r.useState)(""),[d]=I(a,c),f=!!d.length;return(0,r.createElement)(Y.BaseControl,me({label:o,id:l,className:"component-icon-picker"},i),(0,r.createElement)(Y.SearchControl,{value:c,onChange:u,id:l}),f?(0,r.createElement)(Y.__experimentalScrollable,{style:{maxHeight:200}},(0,r.createElement)(ye,{icons:d,selectedIcon:t,onChange:n})):(0,r.createElement)("p",null,(0,q.__)("No icons were found...")))};ve.defaultProps={label:""};const ye=e=>{const{icons:t,selectedIcon:n,onChange:o}=e;return(0,r.createElement)(ge,{orientation:"vertical",className:"component-icon-picker__list"},t.map((e=>{const t=n?.name===e.name&&n?.iconSet===e.iconSet,i=(0,r.memo)((()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(he,{isSelected:t,key:e.name,name:e.name,iconSet:e.iconSet}),(0,r.createElement)(Y.VisuallyHidden,null,e.label))));return(0,r.createElement)(Y.CheckboxControl,{key:e.name,label:(0,r.createElement)(i,null),checked:t,onChange:()=>o(e),className:"component-icon-picker__checkbox-control"})})))},be=pe()(ve)`
	margin: 6px;
	width: 306px;
`,xe=e=>{const{value:{name:t,iconSet:n},buttonLabel:o}=e,i=t&&n?(0,r.createElement)(de,{name:t,iconSet:n}):null;return(0,r.createElement)(Y.Dropdown,{className:"component-icon-picker-toolbar-button",contentClassName:"component-icon-picker-toolbar-button__content",position:"bottom right",renderToggle:({isOpen:e,onToggle:t})=>(0,r.createElement)(Y.ToolbarButton,{onClick:t,"aria-expanded":e,icon:i},o??(0,q.__)("Select Icon")),renderContent:()=>(0,r.createElement)(be,e)})};function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},we.apply(this,arguments)}xe.defaultProps={buttonLabel:(0,q.__)("Select Icon")};const Ee=pe()(ve)`
	margin: 6px;
	width: 306px;
`,Ce=e=>{const{value:t,...n}=e,o=(0,r.useCallback)((({onToggle:e})=>(0,r.createElement)(de,we({name:t.name,iconSet:t.iconSet,onClick:e},n))),[t,n]);return o.propTypes={onToggle:re().func.isRequired},(0,r.createElement)(Se,we({renderToggle:o},e))},Se=e=>{const{renderToggle:t,...n}=e;return(0,r.createElement)(Y.Dropdown,{className:"component-icon-picker-inline-button",contentClassName:"component-icon-picker-inline__content",position:"bottom right",renderToggle:t,renderContent:()=>(0,r.createElement)(Ee,n)})};function ke(){return ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ke.apply(this,arguments)}const Re=({rootClientId:e,buttonText:t,icon:n,className:o="custom-block-appender",...i})=>(0,r.createElement)(C.Inserter,{isAppender:!0,rootClientId:e,renderToggle:({onToggle:e,disabled:a})=>(0,r.createElement)(Y.Button,ke({className:`tenup-${o}`,onClick:e,disabled:a,icon:n},i),t)});Re.defaultProps={buttonText:"",label:"",icon:"plus",className:"custom-block-appender"};var Pe=n(6989),Oe=o.n(Pe),Te=n(6483),_e=n(2629),Ie=n(6881);const Ne=pe()(Y.Button)`
	&:hover {
		/* Add opacity background to support future color changes */
		/* Reduce background from #ddd to 0.05 for text contrast  */
		background-color: rgba(0, 0, 0, 0.05);

		.block-editor-link-control__search-item-type {
			color: black;
		}
	}

	.block-editor-link-control__search-item-type {
		background-color: rgba(0, 0, 0, 0.05);
	}
`,De=({suggestion:e,onClick:t,searchTerm:n,isSelected:o,id:i,contentTypes:a,renderType:s})=>{const l=e.type&&a.length>1,c=(0,Ie.create)({html:e.title}),u=(0,Ie.getTextContent)(c),d=(0,_e.decodeEntities)(u);return(0,r.createElement)(Y.Tooltip,{text:(0,_e.decodeEntities)(e.title)},(0,r.createElement)(Ne,{id:i,onClick:t,className:`block-editor-link-control__search-item is-entity ${o&&"is-selected"}`,style:{borderRadius:"0",boxSizing:"border-box"}},(0,r.createElement)("span",{className:"block-editor-link-control__search-item-header"},(0,r.createElement)("span",{className:"block-editor-link-control__search-item-title",style:{paddingRight:l?null:0}},(0,r.createElement)(Y.TextHighlight,{text:d,highlight:n})),(0,r.createElement)("span",{"aria-hidden":!0,className:"block-editor-link-control__search-item-info",style:{paddingRight:l?null:0}},(0,Te.filterURLForDisplay)((0,Te.safeDecodeURI)(e.url))||"")),l&&(0,r.createElement)("span",{className:"block-editor-link-control__search-item-type"},s(e))))};De.defaultProps={id:"",searchTerm:"",isSelected:!1,renderType:e=>"post_tag"===e.type?"tag":e.type};var Me=De;const Ae="tenup-content-search",Le=({onSelectItem:e,placeholder:t,label:n,contentTypes:o,mode:i,perPage:a,queryFilter:s,excludeItems:l,renderItemType:c})=>{const[u,d]=(0,r.useState)(""),[f,p]=(0,r.useState)({}),[m,g]=(0,r.useState)(null),[h,v]=(0,r.useState)(1),y=(0,r.useRef)(!0),b=(0,r.useCallback)((e=>e.filter((e=>{let t=!0;return l.length&&(t=l.every((t=>t.id!==e.id))),t}))),[l]),x=(0,r.useCallback)(((e,t)=>{let n;return n="user"===i?`wp/v2/users/?search=${e}`:`wp/v2/search/?search=${e}&subtype=${o.join(",")}&type=${i}&_embed&per_page=${a}&page=${t}`,s(n,{perPage:a,page:t,contentTypes:o,mode:i,keyword:e})}),[a,o,i,s]),w=(0,r.useCallback)(((e=[])=>{const t=b(e);return"user"===i?t.map((e=>({id:e.id,subtype:i,title:e.name,type:i,url:e.link}))):t}),[i,b]),E=(e,t)=>{if(""===e.trim())return d(e),void v(1);const n=x(e,t);f[n]&&1!==f[n].controller||p((e=>{const r={};return Object.keys(e).forEach((t=>{1!==e[t].controller&&(r[t]=e[t])})),r[n]={results:null,controller:null,currentPage:t,totalPages:null},r})),v(t),d(e)};(0,r.useEffect)((()=>()=>{y.current=!1}),[]),(0,r.useEffect)((()=>{Object.keys(f).forEach((e=>{const t=f[e];if(e!==x(u,h))t.controller&&"object"==typeof t.controller&&t.controller.abort();else if(null===t.results&&null===t.controller){const t=new AbortController;Oe()({path:e,signal:t.signal,parse:!1}).then((t=>{const n=parseInt(t.headers&&t.headers.get("X-WP-TotalPages"),10);t.json().then((t=>{if(!1===y.current)return;const r=w(t);p((t=>{const o={...t};return void 0===o[e]&&(o[e]={results:null,controller:null,totalPages:null}),o[e].results=r,o[e].totalPages=n,o[e].controller=0,o}))}))})).catch((t=>{"fetch_error"!==t.code&&p((t=>{const n={...t};return void 0===n[e]&&(n[e]={results:null,controller:null}),n[e].controller=1,n[e].results=[],n}))})),p((n=>{const r={...n};return r[e].controller=t,r}))}}))}),[f,u,h]);let C=null,S=!0,k=!1;for(let e=1;e<=h;e++)Object.keys(f).forEach((t=>{const n=f[t];t===x(u,e)&&(null!==n.results?(null===C&&(C=[]),C=C.concat(n.results),e===h&&(S=!1,n.totalPages>n.currentPage&&(k=!0))):1===n.controller&&e===h&&(S=!1,k=!1))}));null!==C&&(C=b(C));const R=!!u.length,P=C&&!!C.length,O=ae.css`
		/* stylelint-disable */
		max-height: 350px;
		overflow-y: auto;

		&& {
			margin: 0;
			padding: 0;
			list-style: none;
		}
	`,T=ae.css`
		/* Custom styles to reduce jumping while loading the results */
		min-height: ${"46px"};
		display: flex;
		align-items: center;
		justify-content: center;
	`,_=ae.css`
		display: flex;
		justify-content: center;
		margin-top: 1em;

		button {
			/* Reduce the jumping of the width when text changes to "Loading" */
			min-width: 90px;
		}
	`;return(0,ae.jsx)(Y.NavigableMenu,{onNavigate:e=>{0===e&&g(null),g(e)},orientation:"vertical"},(0,ae.jsx)(Y.TextControl,{label:n,value:u,onChange:e=>{E(e,1)},placeholder:t,autoComplete:"off"}),R?(0,ae.jsx)(r.Fragment,null,(0,ae.jsx)("ul",{className:`${Ae}-list`,css:O},S&&1===h&&(0,ae.jsx)("div",{css:T},(0,ae.jsx)(Y.Spinner,null)),!S&&!P&&(0,ae.jsx)("li",{className:`${Ae}-list-item components-button`,style:{color:"inherit",cursor:"default",paddingLeft:"3px"}},(0,q.__)("Nothing found.","10up-block-components")),(!S||h>1)&&C.map(((t,n)=>t.title.length?(0,ae.jsx)("li",{key:t.id,className:`${Ae}-list-item`,style:{marginBottom:"0"}},(0,ae.jsx)(Me,{onClick:()=>(t=>{d(""),e(t)})(t),searchTerm:u,suggestion:t,contentTypes:o,isSelected:m===n+1,renderType:c})):null))),!S&&P&&k&&(0,ae.jsx)("div",{css:_},(0,ae.jsx)(Y.Button,{onClick:()=>{E(u,h+1)},type:"button",className:"components-button is-secondary"},(0,q.__)("Load more","10up-block-components"))),S&&h>1&&(0,ae.jsx)("div",{css:_},(0,ae.jsx)(Y.Spinner,null))):null)};Le.defaultProps={contentTypes:["post","page"],placeholder:"",perPage:20,label:"",mode:"post",excludeItems:[],queryFilter:e=>e,onSelectItem:()=>{console.log("Select!")},renderItemType:void 0};var je=n(1614),Fe=n(9752),Be=n(5587),$e=n(4285);function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ze.apply(this,arguments)}const Ue=e=>(0,r.createElement)("svg",ze({style:{marginRight:"10px",cursor:"grab",flexShrink:0},width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",role:"img","aria-hidden":"true",focusable:"false"},e),(0,r.createElement)("path",{d:"M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"}));function He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},He.apply(this,arguments)}const We=pe()("button")`
	display: block;
	padding: 2px 8px 6px 8px;
	margin-left: auto;
	font-size: 2em;
	cursor: pointer;
	border: none;
	background-color: transparent;

	&:hover {
		background-color: #ccc;
	}
`,Ve=({item:e,isOrderable:t,handleItemDelete:n,mode:o,id:i})=>{const a=function(e){let t;switch(e){case"post":t="postType";break;case"user":t="root";break;default:t="taxonomy"}return t}(o),{attributes:s,isDragging:l,listeners:c,setNodeRef:u,transform:d,transition:p}=(0,Be.useSortable)({id:i}),m=(0,f.useSelect)((t=>{const{getEntityRecord:n,hasFinishedResolution:r}=t("core"),i=[a,e.type,e.id],s=n(...i);if(s){const t={title:"post"===o?s.title.rendered:s.name,url:s.link,id:s.id};return e.uuid&&(t.uuid=e.uuid),t}if(r("getEntityRecord",i))return null}),[e.id,a]);(0,r.useEffect)((()=>{null===m&&n(e)}),[e,n,m]);const g={transform:$e.CSS.Transform.toString(d),transition:p,border:l?"2px dashed #ddd":"2px dashed transparent",paddingTop:"10px",paddingBottom:"10px",display:"flex",alignItems:"center",paddingLeft:t?"3px":"8px"},h=`block-editor-link-control__search-item is-entity is-type-${e?.type?e.type:"post"}`;return m?(0,r.createElement)("li",{className:h,ref:u,style:g},t?(0,r.createElement)(Ue,He({},s,c)):"",(0,r.createElement)("span",{className:"block-editor-link-control__search-item-header"},(0,r.createElement)("span",{className:"block-editor-link-control__search-item-title"},(0,_e.decodeEntities)(m.title)),(0,r.createElement)("span",{"aria-hidden":!0,className:"block-editor-link-control__search-item-info"},(0,Te.filterURLForDisplay)((0,Te.safeDecodeURI)(m.url))||"")),(0,r.createElement)(We,{type:"button",onClick:()=>{n(m)},"aria-label":(0,q.__)("Delete item","10up-block-components")},"×")):null};Ve.defaultProps={isOrderable:!1};var qe=Ve;const Ke=({posts:e,isOrderable:t,handleItemDelete:n,mode:o,setPosts:i})=>{const a=e.length>1,s=e.map((e=>e.uuid)),l=(0,Fe.useSensors)((0,Fe.useSensor)(Fe.MouseSensor),(0,Fe.useSensor)(Fe.TouchSensor));return(0,r.createElement)(Fe.DndContext,{sensors:l,collisionDetection:Fe.closestCenter,onDragEnd:t=>{const{active:n,over:r}=t;if(n.id!==r.id){const t=e.findIndex((e=>e.uuid===n.id)),o=e.findIndex((e=>e.uuid===r.id));i((0,Be.arrayMove)(e,t,o))}}},(0,r.createElement)(Be.SortableContext,{items:s,strategy:Be.verticalListSortingStrategy},e.map((e=>(0,r.createElement)(qe,{isOrderable:a&&t,key:e.uuid,handleItemDelete:n,item:e,mode:o,id:e.uuid})))))};Ke.defaultProps={isOrderable:!1,mode:"post"};var Ye=Ke;const Xe=pe()("div")`
	& .block-editor-link-control__search-item {
		cursor: default;

		&:hover {
			background: transparent;
		}
	}
`,Ge=pe()("div")`
	width: 100%;
`,Je=({label:e,mode:t,contentTypes:n,placeholder:o,onPickChange:i,queryFilter:a,maxContentItems:s,isOrderable:l,singlePickedLabel:c,multiPickedLabel:u,content:d,uniqueContentItems:p,excludeCurrentPost:m,perPage:g})=>{const h=(0,f.select)("core/editor")?.getCurrentPostId();if(d.length&&"object"!=typeof d[0])for(let e=0;e<d.length;e++)d[e]={id:d[e],type:n[0]};const v=(0,r.useMemo)((()=>{const e=p?[...d]:[];return m&&h&&e.push({id:h}),e}),[d,h,m,p]);return(0,r.createElement)(Ge,{className:"tenup-content-picker"},!d.length||d.length&&d.length<s?(0,r.createElement)(Le,{placeholder:o,label:e,excludeItems:v,onSelectItem:e=>{const t=[{id:e.id,uuid:(0,je.v4)(),type:"subtype"in e?e.subtype:e.type},...d];i(t)},contentTypes:n,mode:t,queryFilter:a,perPage:g}):e&&(0,r.createElement)("div",{style:{marginBottom:"8px"}},e),Boolean(d?.length)&&(0,r.createElement)(Xe,null,(0,r.createElement)("span",{style:{marginTop:"15px",marginBottom:"2px",display:"block"}},d.length>1?u:c),(0,r.createElement)("ul",{className:"block-editor-link-control__search-items"},(0,r.createElement)(Ye,{posts:d,handleItemDelete:e=>{const t=d.filter((({id:t,uuid:n})=>e.uuid?n!==e.uuid:t!==e.id));i(t)},isOrderable:l,mode:t,setPosts:i}))))};function Ze(){return Ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ze.apply(this,arguments)}Je.defaultProps={label:"",mode:"post",onPickChange:e=>{console.log("Content picker list change",e)},queryFilter:void 0,contentTypes:["post","page"],placeholder:"",content:[],perPage:20,maxContentItems:1,uniqueContentItems:!0,isOrderable:!1,excludeCurrentPost:!0,multiPickedLabel:(0,q.__)("You have selected the following items:","10up-block-components"),singlePickedLabel:(0,q.__)("You have selected the following item:","10up-block-components")};const Qe=e=>{const{label:t,help:n,className:o,hideLabelFromVision:i,colors:a,value:l,onChange:c,disableCustomColors:u,clearable:d,...f}=e,p=`color-settings-${(0,s.useInstanceId)(Qe)}`;return(0,r.createElement)(Y.BaseControl,Ze({id:p,label:t,help:n,className:o,hideLabelFromVision:i},f),(0,r.createElement)(C.ColorPalette,{colors:a,value:l,onChange:c,disableCustomColors:u,clearable:d}))};Qe.defaultProps={label:"",hideLabelFromVision:!1,help:"",className:"",disableCustomColors:!1,value:"",clearable:!0};const et=e=>{const{text:t,disabled:n,onSuccess:o,labels:i}=e,[a,l]=(0,r.useState)(!1),c=i.copy?i.copy:(0,q.__)("Copy"),u=i.copied?i.copied:(0,q.__)("Copied");(0,r.useEffect)((()=>{let e;return a&&(e=setTimeout((()=>{l(!1)}),3e3)),()=>{e&&clearTimeout(e)}}),[a]);const d=(0,s.useCopyToClipboard)(t,(function(){a||(o(),l(!0))}));return(0,r.createElement)(Y.Button,{disabled:n,ref:d},a?u:c)};et.defaultProps={text:"",disabled:!1,onSuccess:()=>{},labels:{}};var tt=n(2339);function nt(){return nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nt.apply(this,arguments)}const rt=({children:e,attribute:t,addButton:n,allowReordering:o})=>{const{clientId:i,name:a}=(0,C.useBlockEditContext)(),{updateBlockAttributes:s}=(0,f.dispatch)(C.store),l=(0,Fe.useSensors)((0,Fe.useSensor)(Fe.PointerSensor),(0,Fe.useSensor)(Fe.KeyboardSensor,{coordinateGetter:Be.sortableKeyboardCoordinates})),{repeaterData:c,defaultRepeaterData:u}=(0,f.useSelect)((e=>{const{getBlockAttributes:n}=e(C.store),{getBlockType:r}=e(ie.store),o=n(i)[t];return 1!==o.length||o[0].id||(o[0].id=(0,je.v4)()),{repeaterData:o,defaultRepeaterData:r(a).attributes[t].default}}));function d(){const e=JSON.parse(JSON.stringify(u));u.length||e.push([]),e[0].id=(0,je.v4)(),s(i,{[t]:[...c,...e]})}function p(e,n){const r=JSON.parse(JSON.stringify(c));r[n]="object"==typeof e&&null!==e?{...r[n],...e}:e,s(i,{[t]:r})}function m(e){const n=JSON.parse(JSON.stringify(c)).filter(((t,n)=>e!==n));s(i,{[t]:n})}const g=c.map((e=>e.id));return(0,r.createElement)(r.Fragment,null,o?(0,r.createElement)(Fe.DndContext,{sensors:l,collisionDetection:Fe.closestCenter,onDragEnd:e=>function(e){const{active:n,over:r}=e;n.id!==r.id&&s(i,{[t]:(e=>{const t=e.findIndex((e=>e.id===n.id)),o=e.findIndex((e=>e.id===r.id));return(0,Be.arrayMove)(e,t,o)})(c)})}(e),modifiers:[tt.restrictToVerticalAxis]},(0,r.createElement)(Be.SortableContext,{items:g,strategy:Be.verticalListSortingStrategy},c.map(((t,n)=>(0,r.createElement)(ot,{item:t,setItem:e=>p(e,n),removeItem:()=>m(n),key:t.id,id:t.id},((t,r,o,i)=>e(t,r,(e=>o(e,n)),(()=>i(n))))))))):c.map(((t,n)=>e(t,t.id,(e=>p(e,n)),(()=>m(n))))),"function"==typeof n?n(d):(0,r.createElement)(Y.Button,{variant:"primary",onClick:()=>d()},(0,q.__)("Add item")))},ot=({children:e,item:t,setItem:n,removeItem:o,id:i})=>{const{attributes:a,listeners:s,setNodeRef:l,transform:c,transition:u,isDragging:d}=(0,Be.useSortable)({id:i}),f={transform:$e.CSS.Transform.toString(c),transition:u,display:"flex",zIndex:d?999:1,position:"relative"},p=e(t,i,n,o);return(0,r.cloneElement)(p,{ref:l,style:f,className:d?`${p.props.className} repeater-item--is-dragging`:p.props.className},[(0,r.createElement)(Ue,nt({className:"repeater-item__drag-handle"},a,s)),p.props.children])};function it(){return it=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},it.apply(this,arguments)}function at(e,t){switch(e){case"post":case"page":return{type:"post",subtype:e};case"category":return{type:"term",subtype:"category"};case"tag":return{type:"term",subtype:"post_tag"};case"post_format":return{type:"post-format"};default:return"taxonomy"===t?{type:"term",subtype:e}:"post-type"===t?{type:"post",subtype:e}:{}}}rt.defaultProps={attribute:"items",addButton:null,allowReordering:!1},ot.defaultProps={attribute:"items",addItem:null,setItem:null,removeItem:null,item:{},id:""};const st=pe()(C.RichText)`
	--color--warning: #f00;

	/* Reset margins for this block alone. */
	--global--spacing-vertical: 0;
	--global--spacing-vertical: 0;

	color: var(--wp--style--color--link);
	position: relative;
	display: block;
	align-items: center;
	gap: 0.5em;
	text-decoration: underline;

	/* This holds the text URL input */
	& > div {
		text-decoration: underline;
	}

	.dashicon {
		text-decoration: none;
		font-size: 1em;
		width: 1.5em;
		height: 1.5em;
		border-radius: 50%;
		background: transparent;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--color--warning);
	}
`,lt=({value:e,type:t,opensInNewTab:n,url:o,onLinkChange:i,onTextChange:a,onLinkRemove:s,kind:l,placeholder:u,className:d,...f})=>{const[p,m]=(0,r.useState)(!1),[g,h]=(0,r.useState)(!1),v=(0,r.useRef)(),y=X((()=>m(!1))),b={url:o,opensInNewTab:n,title:e};return(0,r.useEffect)((()=>{h(!!o&&!!e)}),[o,e]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(st,it({tagName:"a",className:c()("tenup-block-components-link__label",d),value:e,onChange:a,"aria-label":(0,q.__)("Link text","10up-block-components"),placeholder:u,__unstablePastePlainText:!0,allowedFormats:[],onClick:()=>m(!0),ref:v},f)),!g&&(0,r.createElement)(Y.Tooltip,{text:(0,q.__)("URL or Text has not been set","10up-block-components")},(0,r.createElement)("span",null,(0,r.createElement)(Y.Icon,{icon:"warning"}))),p&&(0,r.createElement)(Y.Popover,{anchorRef:v.current,anchor:v.current,ref:y,focusOnMount:!1},(0,r.createElement)(C.__experimentalLinkControl,{hasTextControl:!0,className:"tenup-block-components-link__link-control",value:b,showInitialSuggestions:!0,noDirectEntry:!!t,noURLSuggestion:!!t,suggestionsQuery:at(t,l),onChange:i,onRemove:s,settings:[{id:"opensInNewTab",title:(0,q.__)("Open in new tab","10up-block-components")}]})))};lt.defaultProps={value:void 0,url:void 0,className:void 0,onLinkRemove:null,type:"",kind:"",placeholder:(0,q.__)("Link text ...","10up-block-components")};const ct=e=>{const{onSelect:t,onRemove:n,isOptional:o=!1,id:i}=e,a=!!i,{media:s}=D(i);return(0,r.createElement)(Y.ToolbarGroup,{label:(0,q.__)("Media","10up-block-components")},a?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(C.MediaReplaceFlow,{mediaUrl:s?.source_url,onSelect:t,name:(0,q.__)("Replace Image","10up-block-components")}),!!o&&(0,r.createElement)(Y.ToolbarButton,{onClick:n},(0,q.__)("Remove Image","10up-block-components"))):(0,r.createElement)(C.MediaUploadCheck,null,(0,r.createElement)(C.MediaUpload,{onSelect:t,render:({open:e})=>(0,r.createElement)(Y.ToolbarButton,{onClick:e},(0,q.__)("Add Image","10up-block-components"))})))};function ut(){return ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ut.apply(this,arguments)}ct.defaultProps={isOptional:!1};const dt=e=>{const{id:t,size:n="full",onSelect:o,focalPoint:i={x:.5,y:.5},onChangeFocalPoint:a,labels:s={},canEditImage:l=!0,...c}=e,u=!!t,{media:d,isResolvingMedia:f}=D(t),p="function"==typeof a;if(!u&&!l)return(0,r.createElement)(Y.Placeholder,{className:"block-editor-media-placeholder",withIllustration:!0});if(!u&&l)return(0,r.createElement)(C.MediaPlaceholder,{labels:s,onSelect:o,accept:"image",multiple:!1});if(f)return(0,r.createElement)(Y.Spinner,null);const m=d?.media_details?.sizes[n]?.source_url??d?.source_url,g=d?.alt_text;if(p){const e={objectFit:"cover",objectPosition:`${100*i.x}% ${100*i.y}%`};c.style={...c.style,...e}}return(0,r.createElement)(r.Fragment,null,p&&(0,r.createElement)(C.InspectorControls,null,(0,r.createElement)(Y.PanelBody,{title:(0,q.__)("Image Settings")},(0,r.createElement)(Y.FocalPointPicker,{label:(0,q.__)("Focal Point Picker"),url:m,value:i,onChange:a}))),(0,r.createElement)("img",ut({src:m,alt:g},c)))};dt.defaultProps={size:"large",focalPoint:{x:.5,y:.5},onChangeFocalPoint:void 0,labels:{},canEditImage:!0};const ft=e=>{const{children:t,postId:n,postType:o,isEditable:i}=e,a=(0,r.useMemo)((()=>({postId:n,postType:o,isEditable:i})),[n,o,i]);return(0,r.createElement)(j.Provider,{value:a},t)};function pt(){return pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pt.apply(this,arguments)}ft.defaultProps=L;const mt=e=>{const{tagName:t="h1",...n}=e,{postId:o,postType:i,isEditable:a}=F(),[s="",l,c]=(0,N.useEntityProp)("postType",i,"title",o),u=(0,f.useSelect)((e=>e(C.store).getSettings().titlePlaceholder),[]);return a?(0,r.createElement)(C.RichText,pt({tagName:t,placeholder:u,value:s,onChange:l,allowedFormats:[]},n)):(0,r.createElement)(t,pt({},n,{dangerouslySetInnerHTML:{__html:c?.rendered}}))};function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gt.apply(this,arguments)}mt.defaultProps={tagName:"h1"};const ht=e=>{const{postId:t,postType:n,isEditable:o}=F(),[i,a]=(0,N.useEntityProp)("postType",n,"featured_media",t);return(0,r.createElement)(dt,gt({id:i,canEditImage:o,onSelect:e=>{a(e.id)}},e))};function vt(e){return!!e.match(/[A-Z]/)}function yt(e){return!!e.match(/[0-9]/)}function bt(e){const t=function(e){return e.split("").map(((t,n)=>{const r=e[n-1]||"",o=t;return yt(o)&&!yt(r)?`-${o}`:vt(o)?""===r||vt(r)?`${o.toLowerCase()}`:`-${o.toLowerCase()}`:o})).join("").trim().replace(/[-_\s]+/g,"-")}(e).replace(/-/g," ");return t.slice(0,1).toUpperCase()+t.slice(1)}function xt(){return xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xt.apply(this,arguments)}const wt=e=>{const{metaKey:t,children:n}=e,[o]=ee(t),[i,a]=Z(t),s=typeof i;return o?"function"==typeof n?n(i,a):"number"===s?(0,r.createElement)(Ct,e):"boolean"===s?(0,r.createElement)(St,xt({},e,{label:bt(t)})):(0,r.createElement)(Et,e):(0,r.createElement)("p",{className:"tenup-block-components-post-meta-placeholder"},`${t} - Meta Value`)},Et=e=>{const{metaKey:t,tagName:n="p"}=e,[o,i]=Z(t);return(0,r.createElement)(C.RichText,xt({value:o,onChange:i,tagName:n},e))};Et.defaultProps={tagName:"p"};const Ct=e=>{const{metaKey:t}=e,[n,o]=Z(t);return(0,r.createElement)(Y.__experimentalNumberControl,xt({value:n,onChange:o},e))},St=e=>{const{metaKey:t}=e,[n,o]=Z(t);return(0,r.createElement)(Y.ToggleControl,xt({checked:n,onChange:o},e))};function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kt.apply(this,arguments)}wt.String=Et,wt.Number=Ct,wt.Boolean=St;const Rt=e=>{const{placeholder:t=(0,q.__)("Enter excerpt...","tenup"),...n}=e,{postId:o,postType:i,isEditable:a}=F(),[s="",l,c]=(0,N.useEntityProp)("postType",i,"excerpt",o);return a?(0,r.createElement)(C.RichText,kt({tagName:"p",placeholder:t,value:s,onChange:l,allowedFormats:[]},n)):(0,r.createElement)("p",kt({},n,{dangerouslySetInnerHTML:{__html:c?.rendered}}))};Rt.defaultProps={placeholder:(0,q.__)("Enter excerpt...","tenup")};const Pt=(0,r.createContext)();function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ot.apply(this,arguments)}const Tt=e=>{const{tagName:t="span",...n}=e,{name:o,link:i}=(0,r.useContext)(Pt),a={...n};return"a"===t&&i&&(a.href=i),(0,r.createElement)(t,a,o)};Tt.defaultProps={tagName:"span"};const _t=e=>{const{tagName:t="span",...n}=e,{first_name:o}=(0,r.useContext)(Pt);return(0,r.createElement)(t,n,o)};_t.defaultProps={tagName:"span"};const It=e=>{const{tagName:t="span",...n}=e,{last_name:o}=(0,r.useContext)(Pt);return(0,r.createElement)(t,n,o)};It.defaultProps={tagName:"span"};const Nt=e=>{const{tagName:t="p",...n}=e,{description:o}=(0,r.useContext)(Pt);return(0,r.createElement)(t,n,o)};Nt.defaultProps={tagName:"p"};const Dt=e=>{const{children:t,...n}=e,{postId:o,postType:i}=F(),[a,s]=(0,f.useSelect)((e=>{const{getEditedEntityRecord:t,getUser:n,hasFinishedResolution:r}=e(N.store),a=["postType",i,o],s=t(...a),l=r("getEditedEntityRecord",a),c=l?s?.author:void 0;return[n(c),r("getUser",[c])&&l]}),[i,o]),l="function"==typeof t,c=!l&&r.Children.count(t);return s?c?(0,r.createElement)(Pt.Provider,{value:a},(0,r.createElement)("div",n,t)):l?t(a):(0,r.createElement)(Tt,n):(0,r.createElement)(Y.Spinner,null)};Dt.defaultProps={children:null},Dt.Name=Tt,Dt.FirstName=_t,Dt.LastName=It,Dt.Avatar=e=>{const{...t}=e,n=(0,r.useContext)(Pt),o=n?.avatar_urls?Object.values(n.avatar_urls):null,i=function(){const{avatarURL:e}=(0,f.useSelect)((e=>{const{getSettings:t}=e(C.store),{__experimentalDiscussionSettings:n}=t();return n}));return e}(),a=o?o[o.length-1]:i;return(0,r.createElement)("img",Ot({src:a},t))},Dt.Bio=Nt,Dt.Email=e=>{const{...t}=e,{email:n}=(0,r.useContext)(Pt);return(0,r.createElement)("a",Ot({href:`mailto:${n}`},t),n)};var Mt=n(9771);function At(){return At=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},At.apply(this,arguments)}const Lt=({date:e,setDate:t})=>{const n=(0,Mt.getSettings)(),o=/a(?!\\)/i.test(n.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return(0,r.createElement)(Y.DateTimePicker,{currentDate:e,onChange:t,is12Hour:o})},jt=e=>{const{placeholder:t=(0,q.__)("No date set","tenup"),format:n,...o}=e,{postId:i,postType:a,isEditable:s}=F(),[l,c]=(0,N.useEntityProp)("postType",a,"date",i),[u]=(0,N.useEntityProp)("root","site","date_format"),d=(0,Mt.getSettings)(),f=Intl.DateTimeFormat().resolvedOptions().timeZone,p=n||u||d.formats.date,{toggleProps:m,Popover:g}=G(),h=(0,Mt.dateI18n)(p,l,f)||t;let v={...o};return s&&(v={...m,...v}),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("time",At({dateTime:(0,Mt.dateI18n)("c",l,f),pubdate:(0,Mt.dateI18n)("c",l,f),itemProp:"datePublished"},v),h),s&&(0,r.createElement)(g,null,(0,r.createElement)(Lt,{date:l,setDate:c})))};jt.defaultProps={placeholder:(0,q.__)("No date set","tenup"),format:void 0};const Ft=(0,r.createContext)();function Bt(){return Bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bt.apply(this,arguments)}const $t=e=>{const{tagName:t="li",children:n,...o}=e;return(0,r.createElement)(t,o,n)};$t.defaultProps={tagName:"li"};const zt=e=>{const{tagName:t="ul",taxonomyName:n,children:o,noResultsMessage:i=(0,q.__)("Please select a term","tenup"),...a}=e,{isEditable:s}=F(),l="function"==typeof o,c=!l&&r.Children.count(o),[u,d]=H(n),[f,p]=Q(n),{toggleProps:m,Popover:g}=G();if(!d||!p)return(0,r.createElement)(Y.Spinner,null);const h=f.hierarchical?A.PostTaxonomiesHierarchicalTermSelector:A.PostTaxonomiesFlatTermSelector;if(l)return o({selectedTerms:u,isEditable:s});let v={...a};s&&(v={...v,...m});const y=u.length>0;return c?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(oe,{value:y},(0,r.createElement)(t,v,y?u.map((e=>(0,r.createElement)(Ft.Provider,{value:e,key:e.id},o))):(0,r.createElement)("li",null,(0,r.createElement)("i",null,i)))),s&&(0,r.createElement)(g,null,(0,r.createElement)(h,{slug:n}))):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(oe,{value:y},(0,r.createElement)(t,v,y?u.map((e=>(0,r.createElement)("li",{key:e.id},(0,r.createElement)("a",{href:e.link},e.name)))):(0,r.createElement)("li",null,(0,r.createElement)("i",null,i)))),s&&(0,r.createElement)(g,null,(0,r.createElement)(h,{slug:n})))};zt.defaultProps={children:null,tagName:"ul",taxonomyName:"category",noResultsMessage:(0,q.__)("Please select a term","tenup")},zt.ListItem=$t,zt.TermLink=e=>{const{link:t,name:n}=(0,r.useContext)(Ft);return(0,r.createElement)("a",Bt({href:t,inert:"true"},e),n)};const Ut=zt;Ut.propTypes={taxonomyName:re().string},Ut.defaultProps={taxonomyName:"category",noResultsMessage:(0,q.__)("Please select a category","tenup")};const Ht=e=>{const{taxonomyName:t="category",placeholder:n=(0,q.__)("Select a term","tenup"),isLink:o=!0,...i}=e,[a,s]=K(t),l=!!a,c=l?a.name:n,u=l?a.link:"#";if(!s)return null;const d=o?"a":"span",f={...i};return o&&(f.href=u),(0,r.createElement)(d,f,c)};Ht.defaultProps={placeholder:(0,q.__)("Select a Term","tenup"),isLink:!0,taxonomyName:"category"};const Wt=Ht;Wt.propTypes={placeholder:re().string,taxonomyName:re().string,isLink:re().bool},Wt.defaultProps={placeholder:(0,q.__)("Select a category","tenup"),taxonomyName:"category",isLink:!0};var Vt=n(6728);function qt(){return qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qt.apply(this,arguments)}const Kt=pe()("svg")`
	transform: rotate(-90deg);

	& circle {
		transition: stroke-dashoffset 0.3s linear;
		stroke: currentColor;
		stroke-width: 1em;
		opacity: 0.3;
	}

	& path {
		fill: #46b450;
	}

	& .bar {
		stroke: #46b450;
		opacity: 1;
	}

	&.tenup--block-components__circular-progress {
		&.is-over-limit {
			& path {
				fill: #dc3232;
			}

			& .bar {
				stroke: #dc3232;
				opacity: 1;
			}
		}

		&.is-approaching-limit {
			& path {
				fill: #ffb900;
			}

			& .bar {
				stroke: #ffb900;
				opacity: 1;
			}
		}
	}
`,Yt=pe()("div")`
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-variant-numeric: tabular-nums;
`,Xt=e=>{const{percentage:t}=e,n=2*Math.PI*90,o=(100-Math.max(0,Math.min(t,100)))/100*n,i=t>80,a=t>=100;return(0,r.createElement)(Kt,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 200 200",version:"1.1",className:c()("tenup--block-components__circular-progress",{"is-over-limit":a,"is-approaching-limit":i&&!a})},(0,r.createElement)("circle",{cx:"100",cy:"100",r:90,fill:"transparent",strokeDasharray:n}),(0,r.createElement)("circle",{className:"bar",cx:"100",cy:"100",r:90,fill:"transparent",strokeDasharray:n,strokeDashoffset:o}),i&&!a&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("path",{style:{transform:"rotate(90deg)",transformOrigin:"center",fill:"#ffb900"},d:"M100,31.2c38,0,68.8,30.8,68.8,68.8S138,168.8,100,168.8S31.2,138,31.2,100S62,31.2,100,31.2z"}),(0,r.createElement)("path",{style:{transform:"rotate(90deg)",transformOrigin:"center",fill:"#000"},d:"M108.9,140.8c2.1-2,3.2-4.7,3.2-8.3c0-3.6-1-6.4-3.1-8.3 c-2.1-2-5.1-3-9.1-3c-4,0-7.1,1-9.2,3c-2.1,2-3.2,4.7-3.2,8.3c0,3.5,1.1,6.3,3.3,8.3c2.2,2,5.2,2.9,9.1,2.9S106.8,142.7,108.9,140.8 z"}),(0,r.createElement)("path",{style:{transform:"rotate(90deg)",transformOrigin:"center",fill:"#000"},d:"M109.7,111.9 l3-55.6H87.3l3,55.6C90.3,111.9,109.7,111.9,109.7,111.9z"})),a&&(0,r.createElement)("path",{style:{transform:"rotate(90deg)",transformOrigin:"center"},d:"M100,168.8c38,0,68.8-30.8,68.8-68.8c0-38-30.8-68.8-68.8-68.8C62,31.2,31.2,62,31.2,100 C31.2,138,62,168.8,100,168.8z M127,73c2.2,2.2,2.2,5.9,0,8.1L108.1,100l18.9,18.9c2.2,2.2,2.2,5.9,0,8.1c-2.2,2.2-5.9,2.2-8.1,0 L100,108.1L81.1,127c-2.2,2.2-5.9,2.2-8.1,0c-2.2-2.2-2.2-5.9,0-8.1L91.9,100L73,81.1c-2.2-2.2-2.2-5.9,0-8.1s5.9-2.2,8.1,0 L100,91.9L118.9,73C121.1,70.8,124.7,70.8,127,73z"}))},Gt=(0,r.forwardRef)(((e,t)=>{const{count:n,limit:o}=e,i=n/o*100;return(0,r.createElement)(Yt,qt({className:c()("tenup--block-components__character-count",{"is-over-limit":n>o})},e,{ref:t}),(0,r.createElement)("div",{className:"tenup--block-components__character-count__label"},(0,r.createElement)("span",{className:"tenup--block-components__character-count__count"},n)," /"," ",(0,r.createElement)("span",{className:"tenup--block-components__character-count__limit"},o)),(0,r.createElement)(Xt,{percentage:i}))}));function Jt(){return Jt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jt.apply(this,arguments)}const Zt=e=>{if(!e)return 0;const t=(0,Ie.create)({html:e});return(0,Ie.getTextContent)(t).length},Qt=e=>{const{limit:t=100,enforce:n=!0,value:o,onChange:i}=e,{x:a,y:s,reference:l,floating:c,strategy:u}=(0,Vt.useFloating)({placement:"bottom-end",strategy:"fixed",whileElementsMounted:Vt.autoUpdate}),{isSelected:d}=(0,C.useBlockEditContext)(),[f,p]=(0,r.useState)(0),[m,g]=(0,r.useState)(o);(0,r.useEffect)((()=>{p(Zt(m))}),[m]);const h=(e=o)=>{const r=(0,Ie.create)({html:e});return Zt(e)>t&&n?(g(""),(0,Ie.remove)(r,t,Zt(e))):r},{enforce:v,...y}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(C.RichText,Jt({},y,{value:m,onChange:e=>((e=o)=>{const t=(0,Ie.toHTMLString)({value:h(e)});g(t),i(t)})(e),ref:l})),d&&(0,r.createElement)(Gt,{count:f,limit:t,ref:c,style:{position:u,top:s??0,left:a??0}}))};Qt.defaultProps={limit:100,enforce:!0}}(),e.exports=i}()},4707:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ne});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function p(e){return e.length}function m(e,t){return t.push(e),e}var g=1,h=1,v=0,y=0,b=0,x="";function w(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:g,column:h,length:a,return:""}}function E(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function C(){return b=y>0?u(x,--y):0,h--,10===b&&(h=1,g--),b}function S(){return b=y<v?u(x,y++):0,h++,10===b&&(h=1,g++),b}function k(){return u(x,y)}function R(){return y}function P(e,t){return d(x,e,t)}function O(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return g=h=1,v=f(x=e),y=0,[]}function _(e){return x="",e}function I(e){return s(P(y-1,M(91===e?e+2:40===e?e+1:e)))}function N(e){for(;(b=k())&&b<33;)S();return O(e)>2||O(b)>3?"":" "}function D(e,t){for(;--t&&S()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return P(e,R()+(t<6&&32==k()&&32==S()))}function M(e){for(;S();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&M(b);break;case 40:41===e&&M(e);break;case 92:S()}return y}function A(e,t){for(;S()&&e+b!==57&&(e+b!==84||47!==k()););return"/*"+P(t,y-1)+"*"+i(47===e?e:S())}function L(e){for(;!O(k());)S();return P(e,y)}var j="-ms-",F="-webkit-",B="comm",$="rule",z="decl",U="@keyframes";function H(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function W(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case z:return e.return=e.return||e.value;case B:return"";case U:return e.return=e.value+"{"+H(e.children,r)+"}";case $:e.value=e.props.join(",")}return f(n=H(e.children,r))?e.return=e.value+"{"+n+"}":""}function V(e){return _(q("",null,null,null,[""],e=T(e),0,[0],e))}function q(e,t,n,r,o,a,s,d,p){for(var g=0,h=0,v=s,y=0,b=0,x=0,w=1,E=1,P=1,O=0,T="",_=o,M=a,j=r,F=T;E;)switch(x=O,O=S()){case 40:if(108!=x&&58==u(F,v-1)){-1!=c(F+=l(I(O),"&","&\f"),"&\f")&&(P=-1);break}case 34:case 39:case 91:F+=I(O);break;case 9:case 10:case 13:case 32:F+=N(x);break;case 92:F+=D(R()-1,7);continue;case 47:switch(k()){case 42:case 47:m(Y(A(S(),R()),t,n),p);break;default:F+="/"}break;case 123*w:d[g++]=f(F)*P;case 125*w:case 59:case 0:switch(O){case 0:case 125:E=0;case 59+h:-1==P&&(F=l(F,/\f/g,"")),b>0&&f(F)-v&&m(b>32?X(F+";",r,n,v-1):X(l(F," ","")+";",r,n,v-2),p);break;case 59:F+=";";default:if(m(j=K(F,t,n,g,h,o,d,T,_=[],M=[],v),a),123===O)if(0===h)q(F,t,j,j,_,a,v,d,M);else switch(99===y&&110===u(F,3)?100:y){case 100:case 108:case 109:case 115:q(e,j,j,r&&m(K(e,j,j,0,0,o,d,T,o,_=[],v),M),o,M,v,d,r?_:M);break;default:q(F,j,j,j,[""],M,0,d,M)}}g=h=b=0,w=P=1,T=F="",v=s;break;case 58:v=1+f(F),b=x;default:if(w<1)if(123==O)--w;else if(125==O&&0==w++&&125==C())continue;switch(F+=i(O),O*w){case 38:P=h>0?1:(F+="\f",-1);break;case 44:d[g++]=(f(F)-1)*P,P=1;break;case 64:45===k()&&(F+=I(S())),y=k(),h=v=f(T=F+=L(R())),O++;break;case 45:45===x&&2==f(F)&&(w=0)}}return a}function K(e,t,n,r,i,a,c,u,f,m,g){for(var h=i-1,v=0===i?a:[""],y=p(v),b=0,x=0,E=0;b<r;++b)for(var C=0,S=d(e,h+1,h=o(x=c[b])),k=e;C<y;++C)(k=s(x>0?v[C]+" "+S:l(S,/&\f/g,v[C])))&&(f[E++]=k);return w(e,t,n,0===i?$:u,f,m,g)}function Y(e,t,n){return w(e,t,n,B,i(b),d(e,2,-2),0)}function X(e,t,n,r){return w(e,t,n,z,d(e,0,r),d(e,r+1,-1),r)}var G=function(e,t,n){for(var r=0,o=0;r=o,o=k(),38===r&&12===o&&(t[n]=1),!O(o);)S();return P(e,y)},J=new WeakMap,Z=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],a=function(e,t){return _(function(e,t){var n=-1,r=44;do{switch(O(r)){case 0:38===r&&12===k()&&(t[n]=1),e[n]+=G(y-1,t,n);break;case 2:e[n]+=I(r);break;case 4:if(44===r){e[++n]=58===k()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=S());return e}(T(e),t))}(t,o),s=n.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},Q=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ee(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return"-webkit-print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return F+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+"-moz-"+e+j+e+e;case 6828:case 4268:return F+e+j+e+e;case 6165:return F+e+j+"flex-"+e+e;case 5187:return F+e+l(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return F+e+j+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return F+e+j+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return F+e+j+l(e,"shrink","negative")+e;case 5292:return F+e+j+l(e,"basis","preferred-size")+e;case 6060:return"-webkit-box-"+l(e,"-grow","")+F+e+j+l(e,"grow","positive")+e;case 4554:return F+l(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,"-webkit-$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ee(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":-webkit-")+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===u(e,14)?"inline-":"")+"box$3$1-webkit-$2$3$1-ms-$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return F+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+j+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+j+e+e}return e}var te=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case z:e.return=ee(e.value,e.length);break;case U:return H([E(e,{value:l(e.value,"@","@-webkit-")})],r);case $:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return H([E(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return H([E(e,{props:[l(t,/:(plac\w+)/,":-webkit-input-$1")]}),E(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[l(t,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],ne=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||te,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var c,u,d,f,m=[W,(f=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],g=(u=[Z,Q].concat(a,m),d=p(u),function(e,t,n,r){for(var o="",i=0;i<d;i++)o+=u[i](e,t,n,r)||"";return o});i=function(e,t,n,r){c=n,H(V(e?e+"{"+t.styles+"}":t.styles),g),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return h.sheet.hydrate(l),h}},2404:(e,t,n)=>{"use strict";n.d(t,{C:()=>g,E:()=>R,T:()=>y,_:()=>h,a:()=>w,b:()=>E,c:()=>S,h:()=>p,i:()=>f,u:()=>b,w:()=>v});var r=n(9196),o=n(4707),i=n(7462),a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},s=n(8679),l=n.n(s),c=n(6870),u=n(4971),d=n(7278),f=!0,p={}.hasOwnProperty,m=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),g=m.Provider,h=function(){return(0,r.useContext)(m)},v=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(m);return e(t,o,n)}))};f||(v=function(e){return function(t){var n=(0,r.useContext)(m);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(m.Provider,{value:n},e(t,n))):e(t,n)}});var y=r.createContext({}),b=function(){return r.useContext(y)},x=a((function(e){return a((function(t){return function(e,t){return"function"==typeof t?t(e):(0,i.Z)({},e,t)}(e,t)}))})),w=function(e){var t=r.useContext(y);return e.theme!==t&&(t=x(t)(e.theme)),r.createElement(y.Provider,{value:t},e.children)};function E(e){var t,n,o=e.displayName||e.name||"Component",a=function(t,n){var o=r.useContext(y);return r.createElement(e,(0,i.Z)({theme:o,ref:n},t))},s=r.forwardRef(a);return s.displayName="WithTheme("+o+")",t=s,n=e,l()(t,n)}var C="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",S=function(e,t){var n={};for(var r in t)p.call(t,r)&&(n[r]=t[r]);return n[C]=e,n},k=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.hC)(t,n,r),(0,d.L)((function(){return(0,c.My)(t,n,r)})),null},R=v((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[C],a=[o],s="";"string"==typeof e.className?s=(0,c.fp)(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=(0,u.O)(a,void 0,r.useContext(y));s+=t.key+"-"+l.name;var d={};for(var f in e)p.call(e,f)&&"css"!==f&&f!==C&&(d[f]=e[f]);return d.ref=n,d.className=s,r.createElement(r.Fragment,null,r.createElement(k,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,d))}))},2835:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CacheProvider:()=>r.C,ClassNames:()=>g,Global:()=>c,ThemeContext:()=>r.T,ThemeProvider:()=>r.a,__unsafe_useEmotionCache:()=>r._,createElement:()=>l,css:()=>u,jsx:()=>l,keyframes:()=>d,useTheme:()=>r.u,withEmotionCache:()=>r.w,withTheme:()=>r.b});var r=n(2404),o=n(9196),i=n(6870),a=n(7278),s=n(4971),l=(n(4707),n(8679),function(e,t){var n=arguments;if(null==t||!r.h.call(t,"css"))return o.createElement.apply(void 0,n);var i=n.length,a=new Array(i);a[0]=r.E,a[1]=(0,r.c)(e,t);for(var s=2;s<i;s++)a[s]=n[s];return o.createElement.apply(null,a)}),c=(0,r.w)((function(e,t){var n=e.styles,l=(0,s.O)([n],void 0,o.useContext(r.T));if(!r.i){for(var c,u=l.name,d=l.styles,f=l.next;void 0!==f;)u+=" "+f.name,d+=f.styles,f=f.next;var p=!0===t.compat,m=t.insert("",{name:u,styles:d},t.sheet,p);return p?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:m},c.nonce=t.sheet.nonce,c))}var g=o.useRef();return(0,a.j)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),g.current=[n,r],function(){n.flush()}}),[t]),(0,a.j)((function(){var e=g.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.My)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null}));function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.O)(t)}var d=function(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},f=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function p(e,t,n){var r=[],o=(0,i.fp)(e,r,n);return r.length<2?n:o+t(r)}var m=function(e){var t=e.cache,n=e.serializedArr;return(0,a.L)((function(){for(var e=0;e<n.length;e++)(0,i.My)(t,n[e],!1)})),null},g=(0,r.w)((function(e,t){var n=[],a=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var a=(0,s.O)(r,t.registered);return n.push(a),(0,i.hC)(t,a,!1),t.key+"-"+a.name},l={css:a,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return p(t.registered,a,f(n))},theme:o.useContext(r.T)},c=e.children(l);return o.createElement(o.Fragment,null,o.createElement(m,{cache:t,serializedArr:n}),c)}))},4971:(e,t,n)=>{"use strict";n.d(t,{O:()=>m});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function o(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=o((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===r[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=d(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":l(a)&&(r+=c(i)+":"+u(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=d(e,t,a);switch(i){case"animation":case"animationName":r+=c(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var f=0;f<a.length;f++)l(a[f])&&(r+=c(i)+":"+u(i,a[f])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=f,i=n(e);return f=o,d(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var f,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g,m=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";f=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=d(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=d(n,t,e[a]),r&&(o+=i[a]);p.lastIndex=0;for(var s,l="";null!==(s=p.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:f}}},7860:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(7462),o=n(9196);function i(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=i((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(2404),c=n(6870),u=n(4971),d=n(7278),f=s,p=function(e){return"theme"!==e},m=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?f:p},g=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.hC)(t,n,r),(0,d.L)((function(){return(0,c.My)(t,n,r)})),null},v=function e(t,n){var i,a,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var f=g(t,n,s),p=f||m(d),v=!p("as");return function(){var y=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var x=y.length,w=1;w<x;w++)b.push(y[w],y[0][w])}var E=(0,l.w)((function(e,t,n){var r=v&&e.as||d,i="",s=[],g=e;if(null==e.theme){for(var y in g={},e)g[y]=e[y];g.theme=o.useContext(l.T)}"string"==typeof e.className?i=(0,c.fp)(t.registered,s,e.className):null!=e.className&&(i=e.className+" ");var x=(0,u.O)(b.concat(s),t.registered,g);i+=t.key+"-"+x.name,void 0!==a&&(i+=" "+a);var w=v&&void 0===f?m(r):p,E={};for(var C in e)v&&"as"===C||w(C)&&(E[C]=e[C]);return E.className=i,E.ref=n,o.createElement(o.Fragment,null,o.createElement(h,{cache:t,serialized:x,isStringTag:"string"==typeof r}),o.createElement(r,E))}));return E.displayName=void 0!==i?i:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",E.defaultProps=t.defaultProps,E.__emotion_real=E,E.__emotion_base=d,E.__emotion_styles=b,E.__emotion_forwardProp=f,Object.defineProperty(E,"toString",{value:function(){return"."+a}}),E.withComponent=function(t,o){return e(t,(0,r.Z)({},n,o,{shouldForwardProp:g(E,o,!0)})).apply(void 0,b)},E}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){v[e]=v(e)}))},6870:(e,t,n)=>{"use strict";function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}n.d(t,{My:()=>i,fp:()=>r,hC:()=>o});var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},9752:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AutoScrollActivator:()=>Ee,DndContext:()=>Je,DragOverlay:()=>mt,KeyboardCode:()=>ae,KeyboardSensor:()=>de,MeasuringFrequency:()=>Re,MeasuringStrategy:()=>ke,MouseSensor:()=>be,PointerSensor:()=>he,TouchSensor:()=>we,TraversalOrder:()=>Ce,applyModifiers:()=>Ye,closestCenter:()=>O,closestCorners:()=>T,defaultAnnouncements:()=>m,defaultCoordinates:()=>x,defaultDropAnimation:()=>dt,defaultDropAnimationSideEffects:()=>ut,defaultScreenReaderInstructions:()=>p,getClientRect:()=>B,getFirstCollision:()=>R,getScrollableAncestors:()=>z,pointerWithin:()=>D,rectIntersection:()=>I,useDndContext:()=>tt,useDndMonitor:()=>f,useDraggable:()=>et,useDroppable:()=>rt,useSensor:()=>y,useSensors:()=>b});var r=n(9196),o=n.n(r),i=n(1850),a=n(4285);const s={display:"none"};function l(e){let{id:t,value:n}=e;return o().createElement("div",{id:t,style:s},n)}const c={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function u(e){let{id:t,announcement:n}=e;return o().createElement("div",{id:t,style:c,role:"status","aria-live":"assertive","aria-atomic":!0},n)}const d=(0,r.createContext)(null);function f(e){const t=(0,r.useContext)(d);(0,r.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)}),[e,t])}const p={draggable:"\n    To pick up a draggable item, press the space bar.\n    While dragging, use the arrow keys to move the item.\n    Press space again to drop the item in its new position, or press escape to cancel.\n  "},m={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function g(e){let{announcements:t=m,container:n,hiddenTextDescribedById:s,screenReaderInstructions:c=p}=e;const{announce:d,announcement:g}=function(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}(),h=(0,a.useUniqueId)("DndLiveRegion"),[v,y]=(0,r.useState)(!1);if((0,r.useEffect)((()=>{y(!0)}),[]),f((0,r.useMemo)((()=>({onDragStart(e){let{active:n}=e;d(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&d(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;d(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;d(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;d(t.onDragCancel({active:n,over:r}))}})),[d,t])),!v)return null;const b=o().createElement(o().Fragment,null,o().createElement(l,{id:s,value:c.draggable}),o().createElement(u,{id:h,announcement:g}));return n?(0,i.createPortal)(b,n):b}var h;function v(){}function y(e,t){return(0,r.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(h||(h={}));const x=Object.freeze({x:0,y:0});function w(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function E(e,t){const n=(0,a.getEventCoordinates)(e);return n?(n.x-t.left)/t.width*100+"% "+(n.y-t.top)/t.height*100+"%":"0 0"}function C(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function S(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function k(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{x:t+o,y:n+r}]}function R(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}function P(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}const O=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=P(t,t.left,t.top),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=w(P(r),o);i.push({id:t,data:{droppableContainer:e,value:n}})}}return i.sort(C)},T=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=k(t),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=k(r),a=o.reduce(((e,t,r)=>e+w(n[r],t)),0),s=Number((a/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:s}})}}return i.sort(C)};function _(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),a=o-r,s=i-n;if(r<o&&n<i){const n=t.width*t.height,r=e.width*e.height,o=a*s;return Number((o/(n+r-o)).toFixed(4))}return 0}const I=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,i=n.get(r);if(i){const n=_(i,t);n>0&&o.push({id:r,data:{droppableContainer:e,value:n}})}}return o.sort(S)};function N(e,t){const{top:n,left:r,bottom:o,right:i}=t;return n<=e.y&&e.y<=o&&r<=e.x&&e.x<=i}const D=e=>{let{droppableContainers:t,droppableRects:n,pointerCoordinates:r}=e;if(!r)return[];const o=[];for(const e of t){const{id:t}=e,i=n.get(t);if(i&&N(r,i)){const n=k(i).reduce(((e,t)=>e+w(r,t)),0),a=Number((n/4).toFixed(4));o.push({id:t,data:{droppableContainer:e,value:a}})}}return o.sort(C)};function M(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:x}function A(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const L=A(1);function j(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}const F={ignoreTransform:!1};function B(e,t){void 0===t&&(t=F);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=(0,a.getWindow)(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=j(t);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:s}=r,l=e.left-a-(1-o)*parseFloat(n),c=e.top-s-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l}}(n,t,r))}const{top:r,left:o,width:i,height:s,bottom:l,right:c}=n;return{top:r,left:o,width:i,height:s,bottom:l,right:c}}function $(e){return B(e,{ignoreTransform:!0})}function z(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if((0,a.isDocument)(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!(0,a.isHTMLElement)(o)||(0,a.isSVGElement)(o))return n;if(n.includes(o))return n;const i=(0,a.getWindow)(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=(0,a.getWindow)(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const r=t[e];return"string"==typeof r&&n.test(r)}))}(o,i)&&n.push(o),function(e,t){return void 0===t&&(t=(0,a.getWindow)(e).getComputedStyle(e)),"fixed"===t.position}(o,i)?n:r(o.parentNode)}(e):n}function U(e){const[t]=z(e,1);return null!=t?t:null}function H(e){return a.canUseDOM&&e?(0,a.isWindow)(e)?e:(0,a.isNode)(e)?(0,a.isDocument)(e)||e===(0,a.getOwnerDocument)(e).scrollingElement?window:(0,a.isHTMLElement)(e)?e:null:null:null}function W(e){return(0,a.isWindow)(e)?e.scrollX:e.scrollLeft}function V(e){return(0,a.isWindow)(e)?e.scrollY:e.scrollTop}function q(e){return{x:W(e),y:V(e)}}var K;function Y(e){return!(!a.canUseDOM||!e)&&e===document.scrollingElement}function X(e){const t={x:0,y:0},n=Y(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(K||(K={}));const G={x:.2,y:.2};function J(e,t,n,r,o){let{top:i,left:a,right:s,bottom:l}=n;void 0===r&&(r=10),void 0===o&&(o=G);const{isTop:c,isBottom:u,isLeft:d,isRight:f}=X(e),p={x:0,y:0},m={x:0,y:0},g=t.height*o.y,h=t.width*o.x;return!c&&i<=t.top+g?(p.y=K.Backward,m.y=r*Math.abs((t.top+g-i)/g)):!u&&l>=t.bottom-g&&(p.y=K.Forward,m.y=r*Math.abs((t.bottom-g-l)/g)),!f&&s>=t.right-h?(p.x=K.Forward,m.x=r*Math.abs((t.right-h-s)/h)):!d&&a<=t.left+h&&(p.x=K.Backward,m.x=r*Math.abs((t.left+h-a)/h)),{direction:p,speed:m}}function Z(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function Q(e){return e.reduce(((e,t)=>(0,a.add)(e,q(t))),x)}function ee(e,t){if(void 0===t&&(t=B),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);U(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const te=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+W(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+V(t)),0)}]];class ne{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=z(t),r=Q(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of te)for(const i of t)Object.defineProperty(this,i,{get:()=>{const t=o(n),a=r[e]-t;return this.rect[i]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class re{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function oe(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}var ie,ae;function se(e){e.preventDefault()}function le(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(ie||(ie={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(ae||(ae={}));const ce={start:[ae.Space,ae.Enter],cancel:[ae.Esc],end:[ae.Space,ae.Enter]},ue=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case ae.Right:return{...n,x:n.x+25};case ae.Left:return{...n,x:n.x-25};case ae.Down:return{...n,y:n.y+25};case ae.Up:return{...n,y:n.y-25}}};class de{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new re((0,a.getOwnerDocument)(t)),this.windowListeners=new re((0,a.getWindow)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ie.Resize,this.handleCancel),this.windowListeners.add(ie.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(ie.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&ee(n),t(x)}handleKeyDown(e){if((0,a.isKeyboardEvent)(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=ce,coordinateGetter:i=ue,scrollBehavior:s="smooth"}=r,{code:l}=e;if(o.end.includes(l))return void this.handleEnd(e);if(o.cancel.includes(l))return void this.handleCancel(e);const{collisionRect:c}=n.current,u=c?{x:c.left,y:c.top}:x;this.referenceCoordinates||(this.referenceCoordinates=u);const d=i(e,{active:t,context:n.current,currentCoordinates:u});if(d){const t=(0,a.subtract)(d,u),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:i,isRight:a,isLeft:l,isBottom:c,maxScroll:u,minScroll:f}=X(n),p=Z(n),m={x:Math.min(o===ae.Right?p.right-p.width/2:p.right,Math.max(o===ae.Right?p.left:p.left+p.width/2,d.x)),y:Math.min(o===ae.Down?p.bottom-p.height/2:p.bottom,Math.max(o===ae.Down?p.top:p.top+p.height/2,d.y))},g=o===ae.Right&&!a||o===ae.Left&&!l,h=o===ae.Down&&!c||o===ae.Up&&!i;if(g&&m.x!==d.x){const e=n.scrollLeft+t.x,i=o===ae.Right&&e<=u.x||o===ae.Left&&e>=f.x;if(i&&!t.y)return void n.scrollTo({left:e,behavior:s});r.x=i?n.scrollLeft-e:o===ae.Right?n.scrollLeft-u.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:s});break}if(h&&m.y!==d.y){const e=n.scrollTop+t.y,i=o===ae.Down&&e<=u.y||o===ae.Up&&e>=f.y;if(i&&!t.x)return void n.scrollTo({top:e,behavior:s});r.y=i?n.scrollTop-e:o===ae.Down?n.scrollTop-u.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:s});break}}this.handleMove(e,(0,a.add)((0,a.subtract)(d,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function fe(e){return Boolean(e&&"distance"in e)}function pe(e){return Boolean(e&&"delay"in e)}de.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=ce,onActivation:o}=t,{active:i}=n;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const t=i.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null==o||o({event:e.nativeEvent}),0))}return!1}}];class me{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=(0,a.getWindow)(e);return e instanceof t?e:(0,a.getOwnerDocument)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:o}=e,{target:i}=o;this.props=e,this.events=t,this.document=(0,a.getOwnerDocument)(i),this.documentListeners=new re(this.document),this.listeners=new re(n),this.windowListeners=new re((0,a.getWindow)(i)),this.initialCoordinates=null!=(r=(0,a.getEventCoordinates)(o))?r:x,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(ie.Resize,this.handleCancel),this.windowListeners.add(ie.DragStart,se),this.windowListeners.add(ie.VisibilityChange,this.handleCancel),this.windowListeners.add(ie.ContextMenu,se),this.documentListeners.add(ie.Keydown,this.handleKeydown),t){if(fe(t))return;if(pe(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(ie.Click,le,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ie.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:i,options:{activationConstraint:s}}=o;if(!r)return;const l=null!=(t=(0,a.getEventCoordinates)(e))?t:x,c=(0,a.subtract)(r,l);if(!n&&s){if(pe(s))return oe(c,s.tolerance)?this.handleCancel():void 0;if(fe(s))return null!=s.tolerance&&oe(c,s.tolerance)?this.handleCancel():oe(c,s.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),i(l)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===ae.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const ge={move:{name:"pointermove"},end:{name:"pointerup"}};class he extends me{constructor(e){const{event:t}=e,n=(0,a.getOwnerDocument)(t.target);super(e,ge,n)}}he.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!(!n.isPrimary||0!==n.button||(null==r||r({event:n}),0))}}];const ve={move:{name:"mousemove"},end:{name:"mouseup"}};var ye;!function(e){e[e.RightClick=2]="RightClick"}(ye||(ye={}));class be extends me{constructor(e){super(e,ve,(0,a.getOwnerDocument)(e.event.target))}}be.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==ye.RightClick&&(null==r||r({event:n}),!0)}}];const xe={move:{name:"touchmove"},end:{name:"touchend"}};class we extends me{constructor(e){super(e,xe)}static setup(){return window.addEventListener(xe.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(xe.move.name,e)};function e(){}}}var Ee,Ce;we.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return!(o.length>1||(null==r||r({event:n}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(Ee||(Ee={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(Ce||(Ce={}));const Se={x:{[K.Backward]:!1,[K.Forward]:!1},y:{[K.Backward]:!1,[K.Forward]:!1}};var ke,Re;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(ke||(ke={})),function(e){e.Optimized="optimized"}(Re||(Re={}));const Pe=new Map;function Oe(e,t){return(0,a.useLazyMemo)((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function Te(e){let{callback:t,disabled:n}=e;const o=(0,a.useEvent)(t),i=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)}),[n]);return(0,r.useEffect)((()=>()=>null==i?void 0:i.disconnect()),[i]),i}function _e(e){return new ne(B(e),e)}function Ie(e,t,n){void 0===t&&(t=_e);const[o,i]=(0,r.useReducer)((function(r){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:n)?o:null;const i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i}),null),s=function(e){let{callback:t,disabled:n}=e;const o=(0,a.useEvent)(t),i=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)}),[o,n]);return(0,r.useEffect)((()=>()=>null==i?void 0:i.disconnect()),[i]),i}({callback(t){if(e)for(const n of t){const{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){i();break}}}}),l=Te({callback:i});return(0,a.useIsomorphicLayoutEffect)((()=>{i(),e?(null==l||l.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==s||s.disconnect())}),[e]),o}const Ne=[];function De(e,t){void 0===t&&(t=[]);const n=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n.current=null}),t),(0,r.useEffect)((()=>{const t=e!==x;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)}),[e]),n.current?(0,a.subtract)(e,n.current):x}function Me(e){return(0,r.useMemo)((()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null),[e])}const Ae=[];function Le(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,a.isHTMLElement)(t)?t:e}const je=[{sensor:he,options:{}},{sensor:de,options:{}}],Fe={current:{}},Be={draggable:{measure:$},droppable:{measure:$,strategy:ke.WhileDragging,frequency:Re.Optimized},dragOverlay:{measure:B}};class $e extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const ze={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new $e,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:v},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Be,measureDroppableContainers:v,windowRect:null,measuringScheduled:!1},Ue={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:v,draggableNodes:new Map,over:null,measureDroppableContainers:v},He=(0,r.createContext)(Ue),We=(0,r.createContext)(ze);function Ve(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new $e}}}function qe(e,t){switch(t.type){case h.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case h.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case h.DragEnd:case h.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case h.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new $e(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case h.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new $e(e.droppable.containers);return a.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case h.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new $e(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Ke(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:i}=(0,r.useContext)(He),s=(0,a.usePrevious)(o),l=(0,a.usePrevious)(null==n?void 0:n.id);return(0,r.useEffect)((()=>{if(!t&&!o&&s&&null!=l){if(!(0,a.isKeyboardEvent)(s))return;if(document.activeElement===s.target)return;const e=i.get(l);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=(0,a.findFirstFocusableNode)(e);if(t){t.focus();break}}}))}}),[o,t,i,l,s]),null}function Ye(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...r})),n):n}const Xe=(0,r.createContext)({...x,scaleX:1,scaleY:1});var Ge;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Ge||(Ge={}));const Je=(0,r.memo)((function(e){var t,n,s,l;let{id:c,accessibility:u,autoScroll:f=!0,children:p,sensors:m=je,collisionDetection:v=I,measuring:y,modifiers:b,...w}=e;const E=(0,r.useReducer)(qe,void 0,Ve),[C,S]=E,[k,P]=function(){const[e]=(0,r.useState)((()=>new Set)),t=(0,r.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,r.useCallback)((t=>{let{type:n,event:r}=t;e.forEach((e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)}))}),[e]),t]}(),[O,T]=(0,r.useState)(Ge.Uninitialized),_=O===Ge.Initialized,{draggable:{active:N,nodes:D,translate:A},droppable:{containers:j}}=C,F=N?D.get(N):null,$=(0,r.useRef)({initial:null,translated:null}),W=(0,r.useMemo)((()=>{var e;return null!=N?{id:N,data:null!=(e=null==F?void 0:F.data)?e:Fe,rect:$}:null}),[N,F]),V=(0,r.useRef)(null),[X,G]=(0,r.useState)(null),[Z,ee]=(0,r.useState)(null),te=(0,a.useLatestValue)(w,Object.values(w)),re=(0,a.useUniqueId)("DndDescribedBy",c),oe=(0,r.useMemo)((()=>j.getEnabled()),[j]),ie=(ae=y,(0,r.useMemo)((()=>({draggable:{...Be.draggable,...null==ae?void 0:ae.draggable},droppable:{...Be.droppable,...null==ae?void 0:ae.droppable},dragOverlay:{...Be.dragOverlay,...null==ae?void 0:ae.dragOverlay}})),[null==ae?void 0:ae.draggable,null==ae?void 0:ae.droppable,null==ae?void 0:ae.dragOverlay]));var ae;const{droppableRects:se,measureDroppableContainers:le,measuringScheduled:ce}=function(e,t){let{dragging:n,dependencies:o,config:i}=t;const[s,l]=(0,r.useState)(null),{frequency:c,measure:u,strategy:d}=i,f=(0,r.useRef)(e),p=function(){switch(d){case ke.Always:return!1;case ke.BeforeDragging:return n;default:return!n}}(),m=(0,a.useLatestValue)(p),g=(0,r.useCallback)((function(e){void 0===e&&(e=[]),m.current||l((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[m]),h=(0,r.useRef)(null),v=(0,a.useLazyMemo)((t=>{if(p&&!n)return Pe;if(!t||t===Pe||f.current!==e||null!=s){const t=new Map;for(let n of e){if(!n)continue;if(s&&s.length>0&&!s.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,r=e?new ne(u(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t}),[e,s,n,p,u]);return(0,r.useEffect)((()=>{f.current=e}),[e]),(0,r.useEffect)((()=>{p||g()}),[n,p]),(0,r.useEffect)((()=>{s&&s.length>0&&l(null)}),[JSON.stringify(s)]),(0,r.useEffect)((()=>{p||"number"!=typeof c||null!==h.current||(h.current=setTimeout((()=>{g(),h.current=null}),c))}),[c,p,g,...o]),{droppableRects:v,measureDroppableContainers:g,measuringScheduled:null!=s}}(oe,{dragging:_,dependencies:[A.x,A.y],config:ie.droppable}),ue=function(e,t){const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return(0,a.useLazyMemo)((e=>{var n;return null===t?null:null!=(n=null!=r?r:e)?n:null}),[r,t])}(D,N),de=(0,r.useMemo)((()=>Z?(0,a.getEventCoordinates)(Z):null),[Z]),fe=function(){const e=!1===(null==X?void 0:X.autoScrollEnabled),t="object"==typeof f?!1===f.enabled:!1===f,n=_&&!e&&!t;return"object"==typeof f?{...f,enabled:n}:{enabled:n}}(),pe=function(e,t){return Oe(e,t)}(ue,ie.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:o,config:i=!0}=e;const s=(0,r.useRef)(!1),{x:l,y:c}="boolean"==typeof i?{x:i,y:i}:i;(0,a.useIsomorphicLayoutEffect)((()=>{if(!l&&!c||!t)return void(s.current=!1);if(s.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const r=M(n(e),o);if(l||(r.x=0),c||(r.y=0),s.current=!0,Math.abs(r.x)>0||Math.abs(r.y)>0){const t=U(e);t&&t.scrollBy({top:r.y,left:r.x})}}),[t,l,c,o,n])}({activeNode:N?D.get(N):null,config:fe.layoutShiftCompensation,initialRect:pe,measure:ie.draggable.measure});const me=Ie(ue,ie.draggable.measure,pe),ge=Ie(ue?ue.parentElement:null),he=(0,r.useRef)({activatorEvent:null,active:null,activeNode:ue,collisionRect:null,collisions:null,droppableRects:se,draggableNodes:D,draggingNode:null,draggingNodeRect:null,droppableContainers:j,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),ve=j.getNodeFor(null==(t=he.current.over)?void 0:t.id),ye=function(e){let{measure:t}=e;const[n,o]=(0,r.useState)(null),i=(0,r.useCallback)((e=>{for(const{target:n}of e)if((0,a.isHTMLElement)(n)){o((e=>{const r=t(n);return e?{...e,width:r.width,height:r.height}:r}));break}}),[t]),s=Te({callback:i}),l=(0,r.useCallback)((e=>{const n=Le(e);null==s||s.disconnect(),n&&(null==s||s.observe(n)),o(n?t(n):null)}),[t,s]),[c,u]=(0,a.useNodeRef)(l);return(0,r.useMemo)((()=>({nodeRef:c,rect:n,setRef:u})),[n,c,u])}({measure:ie.dragOverlay.measure}),be=null!=(n=ye.nodeRef.current)?n:ue,xe=_?null!=(s=ye.rect)?s:me:null,we=Boolean(ye.nodeRef.current&&ye.rect),Re=M(_e=we?null:me,Oe(_e));var _e;const $e=Me(be?(0,a.getWindow)(be):null),ze=function(e){const t=(0,r.useRef)(e),n=(0,a.useLazyMemo)((n=>e?n&&n!==Ne&&e&&t.current&&e.parentNode===t.current.parentNode?n:z(e):Ne),[e]);return(0,r.useEffect)((()=>{t.current=e}),[e]),n}(_?null!=ve?ve:ue:null),Ue=function(e,t){void 0===t&&(t=B);const[n]=e,o=Me(n?(0,a.getWindow)(n):null),[i,s]=(0,r.useReducer)((function(){return e.length?e.map((e=>Y(e)?o:new ne(t(e),e))):Ae}),Ae),l=Te({callback:s});return e.length>0&&i===Ae&&s(),(0,a.useIsomorphicLayoutEffect)((()=>{e.length?e.forEach((e=>null==l?void 0:l.observe(e))):(null==l||l.disconnect(),s())}),[e]),i}(ze),Je=Ye(b,{transform:{x:A.x-Re.x,y:A.y-Re.y,scaleX:1,scaleY:1},activatorEvent:Z,active:W,activeNodeRect:me,containerNodeRect:ge,draggingNodeRect:xe,over:he.current.over,overlayNodeRect:ye.rect,scrollableAncestors:ze,scrollableAncestorRects:Ue,windowRect:$e}),Ze=de?(0,a.add)(de,A):null,Qe=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),i=(0,r.useCallback)((e=>{const t=H(e.target);t&&n((e=>e?(e.set(t,q(t)),new Map(e)):null))}),[]);return(0,r.useEffect)((()=>{const t=o.current;if(e!==t){r(t);const a=e.map((e=>{const t=H(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,q(t)]):null})).filter((e=>null!=e));n(a.length?new Map(a):null),o.current=e}return()=>{r(e),r(t)};function r(e){e.forEach((e=>{const t=H(e);null==t||t.removeEventListener("scroll",i)}))}}),[i,e]),(0,r.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>(0,a.add)(e,t)),x):Q(e):x),[e,t])}(ze),et=De(Qe),tt=De(Qe,[me]),nt=(0,a.add)(Je,et),rt=xe?L(xe,Je):null,ot=W&&rt?v({active:W,collisionRect:rt,droppableRects:se,droppableContainers:oe,pointerCoordinates:Ze}):null,it=R(ot,"id"),[at,st]=(0,r.useState)(null),lt=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(we?Je:(0,a.add)(Je,tt),null!=(l=null==at?void 0:at.rect)?l:null,me),ct=(0,r.useCallback)(((e,t)=>{let{sensor:n,options:r}=t;if(null==V.current)return;const o=D.get(V.current);if(!o)return;const a=e.nativeEvent,s=new n({active:V.current,activeNode:o,event:a,options:r,context:he,onStart(e){const t=V.current;if(null==t)return;const n=D.get(t);if(!n)return;const{onDragStart:r}=te.current,o={active:{id:t,data:n.data,rect:$}};(0,i.unstable_batchedUpdates)((()=>{null==r||r(o),T(Ge.Initializing),S({type:h.DragStart,initialCoordinates:e,active:t}),k({type:"onDragStart",event:o})}))},onMove(e){S({type:h.DragMove,coordinates:e})},onEnd:l(h.DragEnd),onCancel:l(h.DragCancel)});function l(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:o}=he.current;let s=null;if(t&&o){const{cancelDrop:i}=te.current;s={activatorEvent:a,active:t,collisions:n,delta:o,over:r},e===h.DragEnd&&"function"==typeof i&&await Promise.resolve(i(s))&&(e=h.DragCancel)}V.current=null,(0,i.unstable_batchedUpdates)((()=>{S({type:e}),T(Ge.Uninitialized),st(null),G(null),ee(null);const t=e===h.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=te.current[t];null==e||e(s),k({type:t,event:s})}}))}}(0,i.unstable_batchedUpdates)((()=>{G(s),ee(e.nativeEvent)}))}),[D]),ut=(0,r.useCallback)(((e,t)=>(n,r)=>{const o=n.nativeEvent,i=D.get(r);if(null!==V.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(n,t.options,a)&&(o.dndKit={capturedBy:t.sensor},V.current=r,ct(n,t))}),[D,ct]),dt=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,n)})))]}),[])),[e,t])}(m,ut);!function(e){(0,r.useEffect)((()=>{if(!a.canUseDOM)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(m),(0,a.useIsomorphicLayoutEffect)((()=>{me&&O===Ge.Initializing&&T(Ge.Initialized)}),[me,O]),(0,r.useEffect)((()=>{const{onDragMove:e}=te.current,{active:t,activatorEvent:n,collisions:r,over:o}=he.current;if(!t||!n)return;const a={active:t,activatorEvent:n,collisions:r,delta:{x:nt.x,y:nt.y},over:o};(0,i.unstable_batchedUpdates)((()=>{null==e||e(a),k({type:"onDragMove",event:a})}))}),[nt.x,nt.y]),(0,r.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:o}=he.current;if(!e||null==V.current||!t||!o)return;const{onDragOver:a}=te.current,s=r.get(it),l=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:o.x,y:o.y},over:l};(0,i.unstable_batchedUpdates)((()=>{st(l),null==a||a(c),k({type:"onDragOver",event:c})}))}),[it]),(0,a.useIsomorphicLayoutEffect)((()=>{he.current={activatorEvent:Z,active:W,activeNode:ue,collisionRect:rt,collisions:ot,droppableRects:se,draggableNodes:D,draggingNode:be,draggingNodeRect:xe,droppableContainers:j,over:at,scrollableAncestors:ze,scrollAdjustedTranslate:nt},$.current={initial:xe,translated:rt}}),[W,ue,ot,rt,D,be,xe,se,j,at,ze,nt]),function(e){let{acceleration:t,activator:n=Ee.Pointer,canScroll:o,draggingRect:i,enabled:s,interval:l=5,order:c=Ce.TreeOrder,pointerCoordinates:u,scrollableAncestors:d,scrollableAncestorRects:f,delta:p,threshold:m}=e;const g=function(e){let{delta:t,disabled:n}=e;const r=(0,a.usePrevious)(t);return(0,a.useLazyMemo)((e=>{if(n||!r||!e)return Se;const o=Math.sign(t.x-r.x),i=Math.sign(t.y-r.y);return{x:{[K.Backward]:e.x[K.Backward]||-1===o,[K.Forward]:e.x[K.Forward]||1===o},y:{[K.Backward]:e.y[K.Backward]||-1===i,[K.Forward]:e.y[K.Forward]||1===i}}}),[n,t,r])}({delta:p,disabled:!s}),[h,v]=(0,a.useInterval)(),y=(0,r.useRef)({x:0,y:0}),b=(0,r.useRef)({x:0,y:0}),x=(0,r.useMemo)((()=>{switch(n){case Ee.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case Ee.DraggableRect:return i}}),[n,i,u]),w=(0,r.useRef)(null),E=(0,r.useCallback)((()=>{const e=w.current;if(!e)return;const t=y.current.x*b.current.x,n=y.current.y*b.current.y;e.scrollBy(t,n)}),[]),C=(0,r.useMemo)((()=>c===Ce.TreeOrder?[...d].reverse():d),[c,d]);(0,r.useEffect)((()=>{if(s&&d.length&&x){for(const e of C){if(!1===(null==o?void 0:o(e)))continue;const n=d.indexOf(e),r=f[n];if(!r)continue;const{direction:i,speed:a}=J(e,r,x,t,m);for(const e of["x","y"])g[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0)return v(),w.current=e,h(E,l),y.current=a,void(b.current=i)}y.current={x:0,y:0},b.current={x:0,y:0},v()}else v()}),[t,E,o,v,s,l,JSON.stringify(x),JSON.stringify(g),h,d,C,f,JSON.stringify(m)])}({...fe,delta:A,draggingRect:rt,pointerCoordinates:Ze,scrollableAncestors:ze,scrollableAncestorRects:Ue});const ft=(0,r.useMemo)((()=>({active:W,activeNode:ue,activeNodeRect:me,activatorEvent:Z,collisions:ot,containerNodeRect:ge,dragOverlay:ye,draggableNodes:D,droppableContainers:j,droppableRects:se,over:at,measureDroppableContainers:le,scrollableAncestors:ze,scrollableAncestorRects:Ue,measuringConfiguration:ie,measuringScheduled:ce,windowRect:$e})),[W,ue,me,Z,ot,ge,ye,D,j,se,at,le,ze,Ue,ie,ce,$e]),pt=(0,r.useMemo)((()=>({activatorEvent:Z,activators:dt,active:W,activeNodeRect:me,ariaDescribedById:{draggable:re},dispatch:S,draggableNodes:D,over:at,measureDroppableContainers:le})),[Z,dt,W,me,S,re,D,at,le]);return o().createElement(d.Provider,{value:P},o().createElement(He.Provider,{value:pt},o().createElement(We.Provider,{value:ft},o().createElement(Xe.Provider,{value:lt},p)),o().createElement(Ke,{disabled:!1===(null==u?void 0:u.restoreFocus)})),o().createElement(g,{...u,hiddenTextDescribedById:re}))})),Ze=(0,r.createContext)(null),Qe="button";function et(e){let{id:t,data:n,disabled:o=!1,attributes:i}=e;const s=(0,a.useUniqueId)("Droppable"),{activators:l,activatorEvent:c,active:u,activeNodeRect:d,ariaDescribedById:f,draggableNodes:p,over:m}=(0,r.useContext)(He),{role:g=Qe,roleDescription:h="draggable",tabIndex:v=0}=null!=i?i:{},y=(null==u?void 0:u.id)===t,b=(0,r.useContext)(y?Xe:Ze),[x,w]=(0,a.useNodeRef)(),[E,C]=(0,a.useNodeRef)(),S=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{let{eventName:r,handler:o}=n;return e[r]=e=>{o(e,t)},e}),{})),[e,t])}(l,t),k=(0,a.useLatestValue)(n);return(0,a.useIsomorphicLayoutEffect)((()=>(p.set(t,{id:t,key:s,node:x,activatorNode:E,data:k}),()=>{const e=p.get(t);e&&e.key===s&&p.delete(t)})),[p,t]),{active:u,activatorEvent:c,activeNodeRect:d,attributes:(0,r.useMemo)((()=>({role:g,tabIndex:v,"aria-disabled":o,"aria-pressed":!(!y||g!==Qe)||void 0,"aria-roledescription":h,"aria-describedby":f.draggable})),[o,g,v,y,h,f.draggable]),isDragging:y,listeners:o?void 0:S,node:x,over:m,setNodeRef:w,setActivatorNodeRef:C,transform:b}}function tt(){return(0,r.useContext)(We)}const nt={timeout:25};function rt(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:i}=e;const s=(0,a.useUniqueId)("Droppable"),{active:l,dispatch:c,over:u,measureDroppableContainers:d}=(0,r.useContext)(He),f=(0,r.useRef)({disabled:n}),p=(0,r.useRef)(!1),m=(0,r.useRef)(null),g=(0,r.useRef)(null),{disabled:v,updateMeasurementsFor:y,timeout:b}={...nt,...i},x=(0,a.useLatestValue)(null!=y?y:o),w=Te({callback:(0,r.useCallback)((()=>{p.current?(null!=g.current&&clearTimeout(g.current),g.current=setTimeout((()=>{d(Array.isArray(x.current)?x.current:[x.current]),g.current=null}),b)):p.current=!0}),[b]),disabled:v||!l}),E=(0,r.useCallback)(((e,t)=>{w&&(t&&(w.unobserve(t),p.current=!1),e&&w.observe(e))}),[w]),[C,S]=(0,a.useNodeRef)(E),k=(0,a.useLatestValue)(t);return(0,r.useEffect)((()=>{w&&C.current&&(w.disconnect(),p.current=!1,w.observe(C.current))}),[C,w]),(0,a.useIsomorphicLayoutEffect)((()=>(c({type:h.RegisterDroppable,element:{id:o,key:s,disabled:n,node:C,rect:m,data:k}}),()=>c({type:h.UnregisterDroppable,key:s,id:o}))),[o]),(0,r.useEffect)((()=>{n!==f.current.disabled&&(c({type:h.SetDroppableDisabled,id:o,key:s,disabled:n}),f.current.disabled=n)}),[o,s,n,c]),{active:l,rect:m,isOver:(null==u?void 0:u.id)===o,node:C,over:u,setNodeRef:S}}function ot(e){let{animation:t,children:n}=e;const[i,s]=(0,r.useState)(null),[l,c]=(0,r.useState)(null),u=(0,a.usePrevious)(n);return n||i||!u||s(u),(0,a.useIsomorphicLayoutEffect)((()=>{if(!l)return;const e=null==i?void 0:i.key,n=null==i?void 0:i.props.id;null!=e&&null!=n?Promise.resolve(t(n,l)).then((()=>{s(null)})):s(null)}),[t,i,l]),o().createElement(o().Fragment,null,n,i?(0,r.cloneElement)(i,{ref:c}):null)}const it={x:0,y:0,scaleX:1,scaleY:1};function at(e){let{children:t}=e;return o().createElement(He.Provider,{value:Ue},o().createElement(Xe.Provider,{value:it},t))}const st={position:"fixed",touchAction:"none"},lt=e=>(0,a.isKeyboardEvent)(e)?"transform 250ms ease":void 0,ct=(0,r.forwardRef)(((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:s,className:l,rect:c,style:u,transform:d,transition:f=lt}=e;if(!c)return null;const p=i?d:{...d,scaleX:1,scaleY:1},m={...st,width:c.width,height:c.height,top:c.top,left:c.left,transform:a.CSS.Transform.toString(p),transformOrigin:i&&r?E(r,c):void 0,transition:"function"==typeof f?f(r):f,...u};return o().createElement(n,{className:l,style:m,ref:t},s)})),ut=e=>t=>{let{active:n,dragOverlay:r}=t;const o={},{styles:i,className:a}=e;if(null!=i&&i.active)for(const[e,t]of Object.entries(i.active))void 0!==t&&(o[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(null!=i&&i.dragOverlay)for(const[e,t]of Object.entries(i.dragOverlay))void 0!==t&&r.node.style.setProperty(e,t);return null!=a&&a.active&&n.node.classList.add(a.active),null!=a&&a.dragOverlay&&r.node.classList.add(a.dragOverlay),function(){for(const[e,t]of Object.entries(o))n.node.style.setProperty(e,t);null!=a&&a.active&&n.node.classList.remove(a.active)}},dt={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:a.CSS.Transform.toString(t)},{transform:a.CSS.Transform.toString(n)}]},sideEffects:ut({styles:{active:{opacity:"0"}}})};let ft=0;function pt(e){return(0,r.useMemo)((()=>{if(null!=e)return ft++,ft}),[e])}const mt=o().memo((e=>{let{adjustScale:t=!1,children:n,dropAnimation:i,style:s,transition:l,modifiers:c,wrapperElement:u="div",className:d,zIndex:f=999}=e;const{activatorEvent:p,active:m,activeNodeRect:g,containerNodeRect:h,draggableNodes:v,droppableContainers:y,dragOverlay:b,over:x,measuringConfiguration:w,scrollableAncestors:E,scrollableAncestorRects:C,windowRect:S}=tt(),k=(0,r.useContext)(Xe),R=pt(null==m?void 0:m.id),P=Ye(c,{activatorEvent:p,active:m,activeNodeRect:g,containerNodeRect:h,draggingNodeRect:b.rect,over:x,overlayNodeRect:b.rect,scrollableAncestors:E,scrollableAncestorRects:C,transform:k,windowRect:S}),O=Oe(g),T=function(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:o}=e;return(0,a.useEvent)(((e,i)=>{if(null===t)return;const s=n.get(e);if(!s)return;const l=s.node.current;if(!l)return;const c=Le(i);if(!c)return;const{transform:u}=(0,a.getWindow)(i).getComputedStyle(i),d=j(u);if(!d)return;const f="function"==typeof t?t:function(e){const{duration:t,easing:n,sideEffects:r,keyframes:o}={...dt,...e};return e=>{let{active:i,dragOverlay:a,transform:s,...l}=e;if(!t)return;const c=a.rect.left-i.rect.left,u=a.rect.top-i.rect.top,d={scaleX:1!==s.scaleX?i.rect.width*s.scaleX/a.rect.width:1,scaleY:1!==s.scaleY?i.rect.height*s.scaleY/a.rect.height:1},f={x:s.x-c,y:s.y-u,...d},p=o({...l,active:i,dragOverlay:a,transform:{initial:s,final:f}}),[m]=p,g=p[p.length-1];if(JSON.stringify(m)===JSON.stringify(g))return;const h=null==r?void 0:r({active:i,dragOverlay:a,...l}),v=a.node.animate(p,{duration:t,easing:n,fill:"forwards"});return new Promise((e=>{v.onfinish=()=>{null==h||h(),e()}}))}}(t);return ee(l,o.draggable.measure),f({active:{id:e,data:s.data,node:l,rect:o.draggable.measure(l)},draggableNodes:n,dragOverlay:{node:i,rect:o.dragOverlay.measure(c)},droppableContainers:r,measuringConfiguration:o,transform:d})}))}({config:i,draggableNodes:v,droppableContainers:y,measuringConfiguration:w}),_=O?b.setRef:void 0;return o().createElement(at,null,o().createElement(ot,{animation:T},m&&R?o().createElement(ct,{key:R,id:m.id,ref:_,as:u,activatorEvent:p,adjustScale:t,className:d,transition:l,rect:O,style:{zIndex:f,...s},transform:P},n):null))}))},2339:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createSnapModifier:()=>o,restrictToFirstScrollableAncestor:()=>l,restrictToHorizontalAxis:()=>i,restrictToParentElement:()=>s,restrictToVerticalAxis:()=>c,restrictToWindowEdges:()=>u,snapCenterToCursor:()=>d});var r=n(4285);function o(e){return t=>{let{transform:n}=t;return{...n,x:Math.ceil(n.x/e)*e,y:Math.ceil(n.y/e)*e}}}const i=e=>{let{transform:t}=e;return{...t,y:0}};function a(e,t,n){const r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}const s=e=>{let{containerNodeRect:t,draggingNodeRect:n,transform:r}=e;return n&&t?a(r,n,t):r},l=e=>{let{draggingNodeRect:t,transform:n,scrollableAncestorRects:r}=e;const o=r[0];return t&&o?a(n,t,o):n},c=e=>{let{transform:t}=e;return{...t,x:0}},u=e=>{let{transform:t,draggingNodeRect:n,windowRect:r}=e;return n&&r?a(t,n,r):t},d=e=>{let{activatorEvent:t,draggingNodeRect:n,transform:o}=e;if(n&&t){const e=(0,r.getEventCoordinates)(t);if(!e)return o;const i=e.x-n.left,a=e.y-n.top;return{...o,x:o.x+i-n.width/2,y:o.y+a-n.height/2}}return o}},5587:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SortableContext:()=>b,arrayMove:()=>s,arraySwap:()=>l,defaultAnimateLayoutChanges:()=>w,defaultNewIndexGetter:()=>x,hasSortableData:()=>P,horizontalListSortingStrategy:()=>f,rectSortingStrategy:()=>p,rectSwappingStrategy:()=>m,sortableKeyboardCoordinates:()=>T,useSortable:()=>R,verticalListSortingStrategy:()=>h});var r=n(9196),o=n.n(r),i=n(9752),a=n(4285);function s(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function l(e,t,n){const r=e.slice();return r[t]=e[n],r[n]=e[t],r}function c(e,t){return e.reduce(((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e}),Array(e.length))}function u(e){return null!==e&&e>=0}const d={scaleX:1,scaleY:1},f=e=>{var t;let{rects:n,activeNodeRect:r,activeIndex:o,overIndex:i,index:a}=e;const s=null!=(t=n[o])?t:r;if(!s)return null;const l=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];return r&&(o||i)?n<t?o?r.left-(o.left+o.width):i.left-(r.left+r.width):i?i.left-(r.left+r.width):r.left-(o.left+o.width):0}(n,a,o);if(a===o){const e=n[i];return e?{x:o<i?e.left+e.width-(s.left+s.width):e.left-s.left,y:0,...d}:null}return a>o&&a<=i?{x:-s.width-l,y:0,...d}:a<o&&a>=i?{x:s.width+l,y:0,...d}:{x:0,y:0,...d}},p=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=s(t,r,n),a=t[o],l=i[o];return l&&a?{x:l.left-a.left,y:l.top-a.top,scaleX:l.width/a.width,scaleY:l.height/a.height}:null},m=e=>{let t,n,{activeIndex:r,index:o,rects:i,overIndex:a}=e;return o===r&&(t=i[o],n=i[a]),o===a&&(t=i[o],n=i[r]),n&&t?{x:n.left-t.left,y:n.top-t.top,scaleX:n.width/t.width,scaleY:n.height/t.height}:null},g={scaleX:1,scaleY:1},h=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:i,overIndex:a}=e;const s=null!=(t=i[n])?t:r;if(!s)return null;if(o===n){const e=i[a];return e?{x:0,y:n<a?e.top+e.height-(s.top+s.height):e.top-s.top,...g}:null}const l=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];return r?n<t?o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0:i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}(i,o,n);return o>n&&o<=a?{x:0,y:-s.height-l,...g}:o<n&&o>=a?{x:0,y:s.height+l,...g}:{x:0,y:0,...g}},v="Sortable",y=o().createContext({activeIndex:-1,containerId:v,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:p,disabled:{draggable:!1,droppable:!1}});function b(e){let{children:t,id:n,items:s,strategy:l=p,disabled:u=!1}=e;const{active:d,dragOverlay:f,droppableRects:m,over:g,measureDroppableContainers:h}=(0,i.useDndContext)(),b=(0,a.useUniqueId)(v,n),x=Boolean(null!==f.rect),w=(0,r.useMemo)((()=>s.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[s]),E=null!=d,C=d?w.indexOf(d.id):-1,S=g?w.indexOf(g.id):-1,k=(0,r.useRef)(w),R=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(w,k.current),P=-1!==S&&-1===C||R,O=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(u);(0,a.useIsomorphicLayoutEffect)((()=>{R&&E&&h(w)}),[R,w,E,h]),(0,r.useEffect)((()=>{k.current=w}),[w]);const T=(0,r.useMemo)((()=>({activeIndex:C,containerId:b,disabled:O,disableTransforms:P,items:w,overIndex:S,useDragOverlay:x,sortedRects:c(w,m),strategy:l})),[C,b,O.draggable,O.droppable,P,w,S,m,x,l]);return o().createElement(y.Provider,{value:T},t)}const x=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return s(n,r,o).indexOf(t)},w=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:a,previousItems:s,previousContainerId:l,transition:c}=e;return!(!c||!r||s!==i&&o===a||!n&&(a===o||t!==l))},E={duration:200,easing:"ease"},C="transform",S=a.CSS.Transition.toString({property:C,duration:0,easing:"linear"}),k={roleDescription:"sortable"};function R(e){let{animateLayoutChanges:t=w,attributes:n,disabled:o,data:s,getNewIndex:l=x,id:c,strategy:d,resizeObserverConfig:f,transition:p=E}=e;const{items:m,containerId:g,activeIndex:h,disabled:v,disableTransforms:b,sortedRects:R,overIndex:P,useDragOverlay:O,strategy:T}=(0,r.useContext)(y),_=function(e,t){var n,r;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(o,v),I=m.indexOf(c),N=(0,r.useMemo)((()=>({sortable:{containerId:g,index:I,items:m},...s})),[g,s,I,m]),D=(0,r.useMemo)((()=>m.slice(m.indexOf(c))),[m,c]),{rect:M,node:A,isOver:L,setNodeRef:j}=(0,i.useDroppable)({id:c,data:N,disabled:_.droppable,resizeObserverConfig:{updateMeasurementsFor:D,...f}}),{active:F,activatorEvent:B,activeNodeRect:$,attributes:z,setNodeRef:U,listeners:H,isDragging:W,over:V,setActivatorNodeRef:q,transform:K}=(0,i.useDraggable)({id:c,data:N,attributes:{...k,...n},disabled:_.draggable}),Y=(0,a.useCombinedRefs)(j,U),X=Boolean(F),G=X&&!b&&u(h)&&u(P),J=!O&&W,Z=J&&G?K:null,Q=G?null!=Z?Z:(null!=d?d:T)({rects:R,activeNodeRect:$,activeIndex:h,overIndex:P,index:I}):null,ee=u(h)&&u(P)?l({id:c,items:m,activeIndex:h,overIndex:P}):I,te=null==F?void 0:F.id,ne=(0,r.useRef)({activeId:te,items:m,newIndex:ee,containerId:g}),re=m!==ne.current.items,oe=t({active:F,containerId:g,isDragging:W,isSorting:X,id:c,index:I,items:m,newIndex:ne.current.newIndex,previousItems:ne.current.items,previousContainerId:ne.current.containerId,transition:p,wasDragging:null!=ne.current.activeId}),ie=function(e){let{disabled:t,index:n,node:o,rect:s}=e;const[l,c]=(0,r.useState)(null),u=(0,r.useRef)(n);return(0,a.useIsomorphicLayoutEffect)((()=>{if(!t&&n!==u.current&&o.current){const e=s.current;if(e){const t=(0,i.getClientRect)(o.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&c(n)}}n!==u.current&&(u.current=n)}),[t,n,o,s]),(0,r.useEffect)((()=>{l&&c(null)}),[l]),l}({disabled:!oe,index:I,node:A,rect:M});return(0,r.useEffect)((()=>{X&&ne.current.newIndex!==ee&&(ne.current.newIndex=ee),g!==ne.current.containerId&&(ne.current.containerId=g),m!==ne.current.items&&(ne.current.items=m)}),[X,ee,g,m]),(0,r.useEffect)((()=>{if(te===ne.current.activeId)return;if(te&&!ne.current.activeId)return void(ne.current.activeId=te);const e=setTimeout((()=>{ne.current.activeId=te}),50);return()=>clearTimeout(e)}),[te]),{active:F,activeIndex:h,attributes:z,data:N,rect:M,index:I,newIndex:ee,items:m,isOver:L,isSorting:X,isDragging:W,listeners:H,node:A,overIndex:P,over:V,setNodeRef:Y,setActivatorNodeRef:q,setDroppableNodeRef:j,setDraggableNodeRef:U,transform:null!=ie?ie:Q,transition:ie||re&&ne.current.newIndex===I?S:J&&!(0,a.isKeyboardEvent)(B)||!p?void 0:X||oe?a.CSS.Transition.toString({...p,property:C}):void 0}}function P(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const O=[i.KeyboardCode.Down,i.KeyboardCode.Right,i.KeyboardCode.Up,i.KeyboardCode.Left],T=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:s,over:l,scrollableAncestors:c}}=t;if(O.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];s.getEnabled().forEach((n=>{if(!n||null!=n&&n.disabled)return;const a=o.get(n.id);if(a)switch(e.code){case i.KeyboardCode.Down:r.top<a.top&&t.push(n);break;case i.KeyboardCode.Up:r.top>a.top&&t.push(n);break;case i.KeyboardCode.Left:r.left>a.left&&t.push(n);break;case i.KeyboardCode.Right:r.left<a.left&&t.push(n)}}));const f=(0,i.closestCorners)({active:n,collisionRect:r,droppableRects:o,droppableContainers:t,pointerCoordinates:null});let p=(0,i.getFirstCollision)(f,"id");if(p===(null==l?void 0:l.id)&&f.length>1&&(p=f[1].id),null!=p){const e=s.get(n.id),t=s.get(p),l=t?o.get(t.id):null,f=null==t?void 0:t.node.current;if(f&&l&&e&&t){const n=(0,i.getScrollableAncestors)(f).some(((e,t)=>c[t]!==e)),o=_(e,t),s=(d=t,!(!P(u=e)||!P(d))&&!!_(u,d)&&u.data.current.sortable.index<d.data.current.sortable.index),p=n||!o?{x:0,y:0}:{x:s?r.width-l.width:0,y:s?r.height-l.height:0},m={x:l.left,y:l.top};return p.x&&p.y?m:(0,a.subtract)(m,p)}}}var u,d};function _(e,t){return!(!P(e)||!P(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},4285:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CSS:()=>T,add:()=>C,canUseDOM:()=>i,findFirstFocusableNode:()=>I,getEventCoordinates:()=>O,getOwnerDocument:()=>f,getWindow:()=>l,hasViewportRelativeCoordinates:()=>k,isDocument:()=>c,isHTMLElement:()=>u,isKeyboardEvent:()=>R,isNode:()=>s,isSVGElement:()=>d,isTouchEvent:()=>P,isWindow:()=>a,subtract:()=>S,useCombinedRefs:()=>o,useEvent:()=>m,useInterval:()=>g,useIsomorphicLayoutEffect:()=>p,useLatestValue:()=>h,useLazyMemo:()=>v,useNodeRef:()=>y,usePrevious:()=>b,useUniqueId:()=>w});var r=n(9196);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>e=>{t.forEach((t=>t(e)))}),t)}const i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function s(e){return"nodeType"in e}function l(e){var t,n;return e?a(e)?e:s(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){const{Document:t}=l(e);return e instanceof t}function u(e){return!a(e)&&e instanceof l(e).HTMLElement}function d(e){return e instanceof l(e).SVGElement}function f(e){return e?a(e)?e.document:s(e)?c(e)?e:u(e)?e.ownerDocument:document:document:document}const p=i?r.useLayoutEffect:r.useEffect;function m(e){const t=(0,r.useRef)(e);return p((()=>{t.current=e})),(0,r.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}function g(){const e=(0,r.useRef)(null);return[(0,r.useCallback)(((t,n)=>{e.current=setInterval(t,n)}),[]),(0,r.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function h(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return p((()=>{n.current!==e&&(n.current=e)}),t),n}function v(e,t){const n=(0,r.useRef)();return(0,r.useMemo)((()=>{const t=e(n.current);return n.current=t,t}),[...t])}function y(e){const t=m(e),n=(0,r.useRef)(null),o=(0,r.useCallback)((e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,o]}function b(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}let x={};function w(e,t){return(0,r.useMemo)((()=>{if(t)return t;const n=null==x[e]?0:x[e]+1;return x[e]=n,e+"-"+n}),[e,t])}function E(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[n,o]of r){const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}}const C=E(1),S=E(-1);function k(e){return"clientX"in e&&"clientY"in e}function R(e){if(!e)return!1;const{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function P(e){if(!e)return!1;const{TouchEvent:t}=l(e.target);return t&&e instanceof t}function O(e){if(P(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return k(e)?{x:e.clientX,y:e.clientY}:null}const T=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[T.Translate.toString(e),T.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),_="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function I(e){return e.matches(_)?e:e.querySelector(_)}},7278:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,j:()=>a});var r=n(9196),o=!!r.useInsertionEffect&&r.useInsertionEffect,i=o||function(e){return e()},a=o||r.useLayoutEffect},6728:(e,t,n)=>{"use strict";function r(e){return e.split("-")[1]}function o(e){return"y"===e?"height":"width"}function i(e){return e.split("-")[0]}function a(e){return["top","bottom"].includes(i(e))?"x":"y"}function s(e,t,n){let{reference:s,floating:l}=e;const c=s.x+s.width/2-l.width/2,u=s.y+s.height/2-l.height/2,d=a(t),f=o(d),p=s[f]/2-l[f]/2,m="x"===d;let g;switch(i(t)){case"top":g={x:c,y:s.y-l.height};break;case"bottom":g={x:c,y:s.y+s.height};break;case"right":g={x:s.x+s.width,y:u};break;case"left":g={x:s.x-l.width,y:u};break;default:g={x:s.x,y:s.y}}switch(r(t)){case"start":g[d]-=p*(n&&m?-1:1);break;case"end":g[d]+=p*(n&&m?-1:1)}return g}n.r(t),n.d(t,{arrow:()=>xe,autoPlacement:()=>S,autoUpdate:()=>he,computePosition:()=>ve,detectOverflow:()=>f,flip:()=>k,getOverflowAncestors:()=>ce,hide:()=>O,inline:()=>_,limitShift:()=>M,offset:()=>I,platform:()=>ge,shift:()=>D,size:()=>A,useFloating:()=>Se});const l=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=s(u,r,c),p=r,m={},g=0;for(let n=0;n<l.length;n++){const{name:i,fn:h}=l[n],{x:v,y,data:b,reset:x}=await h({x:d,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:m,rects:u,platform:a,elements:{reference:e,floating:t}});d=null!=v?v:d,f=null!=y?y:f,m={...m,[i]:{...m[i],...b}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(u=!0===x.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),({x:d,y:f}=s(u,p,c))),n=-1)}return{x:d,y:f,placement:p,strategy:o,middlewareData:m}};function c(e,t){return"function"==typeof e?e(t):e}function u(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function d(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function f(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:m="floating",altBoundary:g=!1,padding:h=0}=c(t,e),v=u(h),y=s[g?"floating"===m?"reference":"floating":m],b=d(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(y)))||n?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:f,rootBoundary:p,strategy:l})),x="floating"===m?{...a.floating,x:r,y:o}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),E=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},C=d(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:l}):x);return{top:(b.top-C.top+v.top)/E.y,bottom:(C.bottom-b.bottom+v.bottom)/E.y,left:(b.left-C.left+v.left)/E.x,right:(C.right-b.right+v.right)/E.x}}const p=Math.min,m=Math.max;function g(e,t,n){return m(e,p(t,n))}const h=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:s,rects:l,platform:d,elements:f}=t,{element:m,padding:h=0}=c(e,t)||{};if(null==m)return{};const v=u(h),y={x:n,y:i},b=a(s),x=o(b),w=await d.getDimensions(m),E="y"===b,C=E?"top":"left",S=E?"bottom":"right",k=E?"clientHeight":"clientWidth",R=l.reference[x]+l.reference[b]-y[b]-l.floating[x],P=y[b]-l.reference[b],O=await(null==d.getOffsetParent?void 0:d.getOffsetParent(m));let T=O?O[k]:0;T&&await(null==d.isElement?void 0:d.isElement(O))||(T=f.floating[k]||l.floating[x]);const _=R/2-P/2,I=T/2-w[x]/2-1,N=p(v[C],I),D=p(v[S],I),M=N,A=T-w[x]-D,L=T/2-w[x]/2+_,j=g(M,L,A),F=null!=r(s)&&L!=j&&l.reference[x]/2-(L<M?N:D)-w[x]/2<0;return{[b]:y[b]-(F?L<M?M-L:A-L:0),data:{[b]:j,centerOffset:L-j}}}}),v=["top","right","bottom","left"],y=v.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]),b={left:"right",right:"left",bottom:"top",top:"bottom"};function x(e){return e.replace(/left|right|bottom|top/g,(e=>b[e]))}function w(e,t,n){void 0===n&&(n=!1);const i=r(e),s=a(e),l=o(s);let c="x"===s?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[l]>t.floating[l]&&(c=x(c)),{main:c,cross:x(c)}}const E={start:"end",end:"start"};function C(e){return e.replace(/start|end/g,(e=>E[e]))}const S=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,a;const{rects:s,middlewareData:l,placement:u,platform:d,elements:p}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:h=y,autoAlignment:v=!0,...b}=c(e,t),x=void 0!==g||h===y?function(e,t,n){return(e?[...n.filter((t=>r(t)===e)),...n.filter((t=>r(t)!==e))]:n.filter((e=>i(e)===e))).filter((n=>!e||r(n)===e||!!t&&C(n)!==n))}(g||null,v,h):h,E=await f(t,b),S=(null==(n=l.autoPlacement)?void 0:n.index)||0,k=x[S];if(null==k)return{};const{main:R,cross:P}=w(k,s,await(null==d.isRTL?void 0:d.isRTL(p.floating)));if(u!==k)return{reset:{placement:x[0]}};const O=[E[i(k)],E[R],E[P]],T=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:O}],_=x[S+1];if(_)return{data:{index:S+1,overflows:T},reset:{placement:_}};const I=T.map((e=>{const t=r(e.placement);return[e.placement,t&&m?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),N=(null==(a=I.filter((e=>e[2].slice(0,r(e[0])?2:3).every((e=>e<=0))))[0])?void 0:a[0])||I[0][0];return N!==u?{data:{index:S+1,overflows:T},reset:{placement:N}}:{}}}},k=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:a,rects:s,initialPlacement:l,platform:u,elements:d}=t,{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...b}=c(e,t),E=i(o),S=i(l)===l,k=await(null==u.isRTL?void 0:u.isRTL(d.floating)),R=g||(S||!y?[x(l)]:function(e){const t=x(e);return[C(e),t,C(t)]}(l));g||"none"===v||R.push(...function(e,t,n,o){const a=r(e);let s=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(i(e),"start"===n,o);return a&&(s=s.map((e=>e+"-"+a)),t&&(s=s.concat(s.map(C)))),s}(l,y,v,k));const P=[l,...R],O=await f(t,b),T=[];let _=(null==(n=a.flip)?void 0:n.overflows)||[];if(p&&T.push(O[E]),m){const{main:e,cross:t}=w(o,s,k);T.push(O[e],O[t])}if(_=[..._,{placement:o,overflows:T}],!T.every((e=>e<=0))){var I,N;const e=((null==(I=a.flip)?void 0:I.index)||0)+1,t=P[e];if(t)return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(N=_.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:N.placement;if(!n)switch(h){case"bestFit":{var D;const e=null==(D=_.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:D[0];e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}};function R(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return v.some((t=>e[t]>=0))}const O=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=c(e,t);switch(r){case"referenceHidden":{const e=R(await f(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:P(e)}}}case"escaped":{const e=R(await f(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:P(e)}}}default:return{}}}}};function T(e){const t=p(...e.map((e=>e.left))),n=p(...e.map((e=>e.top)));return{x:t,y:n,width:m(...e.map((e=>e.right)))-t,height:m(...e.map((e=>e.bottom)))-n}}const _=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:o,platform:s,strategy:l}=t,{padding:f=2,x:g,y:h}=c(e,t),v=Array.from(await(null==s.getClientRects?void 0:s.getClientRects(r.reference))||[]),y=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let r=null;for(let e=0;e<t.length;e++){const o=t[e];!r||o.y-r.y>r.height/2?n.push([o]):n[n.length-1].push(o),r=o}return n.map((e=>d(T(e))))}(v),b=d(T(v)),x=u(f),w=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===y.length&&y[0].left>y[1].right&&null!=g&&null!=h)return y.find((e=>g>e.left-x.left&&g<e.right+x.right&&h>e.top-x.top&&h<e.bottom+x.bottom))||b;if(y.length>=2){if("x"===a(n)){const e=y[0],t=y[y.length-1],r="top"===i(n),o=e.top,a=t.bottom,s=r?e.left:t.left,l=r?e.right:t.right;return{top:o,bottom:a,left:s,right:l,width:l-s,height:a-o,x:s,y:o}}const e="left"===i(n),t=m(...y.map((e=>e.right))),r=p(...y.map((e=>e.left))),o=y.filter((n=>e?n.left===r:n.right===t)),s=o[0].top,l=o[o.length-1].bottom;return{top:s,bottom:l,left:r,right:t,width:t-r,height:l-s,x:r,y:s}}return b}},floating:r.floating,strategy:l});return o.reference.x!==w.reference.x||o.reference.y!==w.reference.y||o.reference.width!==w.reference.width||o.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}},I=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,s=await async function(e,t){const{placement:n,platform:o,elements:s}=e,l=await(null==o.isRTL?void 0:o.isRTL(s.floating)),u=i(n),d=r(n),f="x"===a(n),p=["left","top"].includes(u)?-1:1,m=l&&f?-1:1,g=c(t,e);let{mainAxis:h,crossAxis:v,alignmentAxis:y}="number"==typeof g?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...g};return d&&"number"==typeof y&&(v="end"===d?-1*y:y),f?{x:v*m,y:h*p}:{x:h*p,y:v*m}}(t,e);return{x:n+s.x,y:o+s.y,data:s}}}};function N(e){return"x"===e?"y":"x"}const D=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=c(e,t),p={x:n,y:r},m=await f(t,d),h=a(i(o)),v=N(h);let y=p[h],b=p[v];if(s){const e="y"===h?"bottom":"right";y=g(y+m["y"===h?"top":"left"],y,y-m[e])}if(l){const e="y"===v?"bottom":"right";b=g(b+m["y"===v?"top":"left"],b,b-m[e])}const x=u.fn({...t,[h]:y,[v]:b});return{...x,data:{x:x.x-n,y:x.y-r}}}}},M=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:l}=t,{offset:u=0,mainAxis:d=!0,crossAxis:f=!0}=c(e,t),p={x:n,y:r},m=a(o),g=N(m);let h=p[m],v=p[g];const y=c(u,t),b="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(d){const e="y"===m?"height":"width",t=s.reference[m]-s.floating[e]+b.mainAxis,n=s.reference[m]+s.reference[e]-b.mainAxis;h<t?h=t:h>n&&(h=n)}if(f){var x,w;const e="y"===m?"width":"height",t=["top","left"].includes(i(o)),n=s.reference[g]-s.floating[e]+(t&&(null==(x=l.offset)?void 0:x[g])||0)+(t?0:b.crossAxis),r=s.reference[g]+s.reference[e]+(t?0:(null==(w=l.offset)?void 0:w[g])||0)-(t?b.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[m]:h,[g]:v}}}},A=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:s,elements:l}=t,{apply:u=(()=>{}),...d}=c(e,t),g=await f(t,d),h=i(n),v=r(n),y="x"===a(n),{width:b,height:x}=o.floating;let w,E;"top"===h||"bottom"===h?(w=h,E=v===(await(null==s.isRTL?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(E=h,w="end"===v?"top":"bottom");const C=x-g[w],S=b-g[E],k=!t.middlewareData.shift;let R=C,P=S;if(y){const e=b-g.left-g.right;P=v||k?p(S,e):e}else{const e=x-g.top-g.bottom;R=v||k?p(C,e):e}if(k&&!v){const e=m(g.left,0),t=m(g.right,0),n=m(g.top,0),r=m(g.bottom,0);y?P=b-2*(0!==e||0!==t?e+t:m(g.left,g.right)):R=x-2*(0!==n||0!==r?n+r:m(g.top,g.bottom))}await u({...t,availableWidth:P,availableHeight:R});const O=await s.getDimensions(l.floating);return b!==O.width||x!==O.height?{reset:{rects:!0}}:{}}}};function L(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){return L(e).getComputedStyle(e)}function F(e){return e instanceof L(e).Node}function B(e){return F(e)?(e.nodeName||"").toLowerCase():""}function $(e){return e instanceof L(e).HTMLElement}function z(e){return e instanceof L(e).Element}function U(e){return"undefined"!=typeof ShadowRoot&&(e instanceof L(e).ShadowRoot||e instanceof ShadowRoot)}function H(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=j(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function W(e){return["table","td","th"].includes(B(e))}function V(e){const t=q(),n=j(e);return"none"!==n.transform||"none"!==n.perspective||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function q(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function K(e){return["html","body","#document"].includes(B(e))}const Y=Math.min,X=Math.max,G=Math.round;function J(e){const t=j(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=$(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=G(n)!==i||G(r)!==a;return s&&(n=i,r=a),{width:n,height:r,fallback:s}}function Z(e){return z(e)?e:e.contextElement}const Q={x:1,y:1};function ee(e){const t=Z(e);if(!$(t))return Q;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=J(t);let a=(i?G(n.width):n.width)/r,s=(i?G(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const te={x:0,y:0};function ne(e,t,n){var r,o;if(void 0===t&&(t=!0),!q())return te;const i=e?L(e):window;return!n||t&&n!==i?te:{x:(null==(r=i.visualViewport)?void 0:r.offsetLeft)||0,y:(null==(o=i.visualViewport)?void 0:o.offsetTop)||0}}function re(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Z(e);let a=Q;t&&(r?z(r)&&(a=ee(r)):a=ee(e));const s=ne(i,n,r);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,f=o.height/a.y;if(i){const e=L(i),t=r&&z(r)?L(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=ee(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,l*=e.x,c*=e.y,u*=e.x,f*=e.y,l+=t.x,c+=t.y,n=L(n).frameElement}}return d({width:u,height:f,x:l,y:c})}function oe(e){return((F(e)?e.ownerDocument:e.document)||window.document).documentElement}function ie(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ae(e){return re(oe(e)).left+ie(e).scrollLeft}function se(e){if("html"===B(e))return e;const t=e.assignedSlot||e.parentNode||U(e)&&e.host||oe(e);return U(t)?t.host:t}function le(e){const t=se(e);return K(t)?t.ownerDocument.body:$(t)&&H(t)?t:le(t)}function ce(e,t){var n;void 0===t&&(t=[]);const r=le(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=L(r);return o?t.concat(i,i.visualViewport||[],H(r)?r:[]):t.concat(r,ce(r))}function ue(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=L(e),r=oe(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=q();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=oe(e),n=ie(e),r=e.ownerDocument.body,o=X(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=X(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+ae(e);const s=-n.scrollTop;return"rtl"===j(r).direction&&(a+=X(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(oe(e));else if(z(t))r=function(e,t){const n=re(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=$(e)?ee(e):{x:1,y:1};return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=ne(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return d(r)}function de(e,t){const n=se(e);return!(n===t||!z(n)||K(n))&&("fixed"===j(n).position||de(n,t))}function fe(e,t){return $(e)&&"fixed"!==j(e).position?t?t(e):e.offsetParent:null}function pe(e,t){const n=L(e);if(!$(e))return n;let r=fe(e,t);for(;r&&W(r)&&"static"===j(r).position;)r=fe(r,t);return r&&("html"===B(r)||"body"===B(r)&&"static"===j(r).position&&!V(r))?n:r||function(e){let t=se(e);for(;$(t)&&!K(t);){if(V(t))return t;t=se(t)}return null}(e)||n}function me(e,t,n){const r=$(t),o=oe(t),i="fixed"===n,a=re(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&!i)if(("body"!==B(t)||H(o))&&(s=ie(t)),$(t)){const e=re(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=ae(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}const ge={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=ce(e).filter((e=>z(e)&&"body"!==B(e))),o=null;const i="fixed"===j(e).position;let a=i?se(e):e;for(;z(a)&&!K(a);){const t=j(a),n=V(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||H(a)&&!n&&de(e,a))?r=r.filter((e=>e!==a)):o=t,a=se(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=[...i,r],s=a[0],l=a.reduce(((e,n)=>{const r=ue(t,n,o);return e.top=X(r.top,e.top),e.right=Y(r.right,e.right),e.bottom=Y(r.bottom,e.bottom),e.left=X(r.left,e.left),e}),ue(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=$(n),i=oe(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==B(n)||H(i))&&(a=ie(n)),$(n))){const e=re(n);s=ee(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},isElement:z,getDimensions:function(e){return J(e)},getOffsetParent:pe,getDocumentElement:oe,getScale:ee,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||pe,i=this.getDimensions;return{reference:me(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===j(e).direction};function he(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o||i?[...z(e)?ce(e):e.contextElement?ce(e.contextElement):[],...ce(t)]:[];l.forEach((e=>{const t=!z(e)&&e.toString().includes("V");!o||s&&!t||e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let c,u=null;a&&(u=new ResizeObserver((()=>{n()})),z(e)&&!s&&u.observe(e),z(e)||!e.contextElement||s||u.observe(e.contextElement),u.observe(t));let d=s?re(e):null;return s&&function t(){const r=re(e);!d||r.x===d.x&&r.y===d.y&&r.width===d.width&&r.height===d.height||n(),d=r,c=requestAnimationFrame(t)}(),n(),()=>{var e;l.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==(e=u)||e.disconnect(),u=null,s&&cancelAnimationFrame(c)}}const ve=(e,t,n)=>{const r=new Map,o={platform:ge,...n},i={...o.platform,_c:r};return l(e,t,{...o,platform:i})};var ye=n(9196),be=n(1850);const xe=e=>{const{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){return r=t,Object.prototype.hasOwnProperty.call(r,"current")?null!=t.current?h({element:t.current,padding:n}).fn(e):{}:t?h({element:t,padding:n}).fn(e):{};var r}}};var we="undefined"!=typeof document?ye.useLayoutEffect:ye.useEffect;function Ee(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!=r--;)if(!Ee(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||Ee(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function Ce(e){const t=ye.useRef(e);return we((()=>{t.current=e})),t}function Se(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,whileElementsMounted:i,open:a}=e,[s,l]=ye.useState({x:null,y:null,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[c,u]=ye.useState(r);Ee(c,r)||u(r);const d=ye.useRef(null),f=ye.useRef(null),p=ye.useRef(s),m=Ce(i),g=Ce(o),[h,v]=ye.useState(null),[y,b]=ye.useState(null),x=ye.useCallback((e=>{d.current!==e&&(d.current=e,v(e))}),[]),w=ye.useCallback((e=>{f.current!==e&&(f.current=e,b(e))}),[]),E=ye.useCallback((()=>{if(!d.current||!f.current)return;const e={placement:t,strategy:n,middleware:c};g.current&&(e.platform=g.current),ve(d.current,f.current,e).then((e=>{const t={...e,isPositioned:!0};C.current&&!Ee(p.current,t)&&(p.current=t,be.flushSync((()=>{l(t)})))}))}),[c,t,n,g]);we((()=>{!1===a&&p.current.isPositioned&&(p.current.isPositioned=!1,l((e=>({...e,isPositioned:!1}))))}),[a]);const C=ye.useRef(!1);we((()=>(C.current=!0,()=>{C.current=!1})),[]),we((()=>{if(h&&y){if(m.current)return m.current(h,y,E);E()}}),[h,y,E,m]);const S=ye.useMemo((()=>({reference:d,floating:f,setReference:x,setFloating:w})),[x,w]),k=ye.useMemo((()=>({reference:h,floating:y})),[h,y]);return ye.useMemo((()=>({...s,update:E,refs:S,elements:k,reference:x,floating:w})),[s,E,S,k,x,w])}},8679:(e,t,n)=>{"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=p(n);o&&o!==m&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),g=l(n),h=0;h<a.length;++h){var v=a[h];if(!(i[v]||r&&r[v]||g&&g[v]||s&&s[v])){var y=f(n,v);try{c(t,v,y)}catch(e){}}}}return t}},2703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case h:case g:case l:return e;default:return t}}case o:return t}}}function E(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=h,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||w(e)===u},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===h},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},1614:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{NIL:()=>_,parse:()=>h,stringify:()=>u,v1:()=>g,v3:()=>k,v4:()=>R,v5:()=>T,validate:()=>s,version:()=>I});var o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}const a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,s=function(e){return"string"==typeof e&&a.test(e)};for(var l=[],c=0;c<256;++c)l.push((c+256).toString(16).substr(1));const u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};var d,f,p=0,m=0;const g=function(e,t,n){var r=t&&n||0,o=t||new Array(16),a=(e=e||{}).node||d,s=void 0!==e.clockseq?e.clockseq:f;if(null==a||null==s){var l=e.random||(e.rng||i)();null==a&&(a=d=[1|l[0],l[1],l[2],l[3],l[4],l[5]]),null==s&&(s=f=16383&(l[6]<<8|l[7]))}var c=void 0!==e.msecs?e.msecs:Date.now(),g=void 0!==e.nsecs?e.nsecs:m+1,h=c-p+(g-m)/1e4;if(h<0&&void 0===e.clockseq&&(s=s+1&16383),(h<0||c>p)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");p=c,m=g,f=s;var v=(1e4*(268435455&(c+=122192928e5))+g)%4294967296;o[r++]=v>>>24&255,o[r++]=v>>>16&255,o[r++]=v>>>8&255,o[r++]=255&v;var y=c/4294967296*1e4&268435455;o[r++]=y>>>8&255,o[r++]=255&y,o[r++]=y>>>24&15|16,o[r++]=y>>>16&255,o[r++]=s>>>8|128,o[r++]=255&s;for(var b=0;b<6;++b)o[r+b]=a[b];return t||u(o)},h=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function v(e,t,n){function r(e,r,o,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=h(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(r),a.set(e,r.length),(a=n(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,o){i=i||0;for(var s=0;s<16;++s)o[i+s]=a[s];return o}return u(a)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function y(e){return 14+(e+64>>>9<<4)+1}function b(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function x(e,t,n,r,o,i){return b((a=b(b(t,e),b(r,i)))<<(s=o)|a>>>32-s,n);var a,s}function w(e,t,n,r,o,i,a){return x(t&n|~t&r,e,t,o,i,a)}function E(e,t,n,r,o,i,a){return x(t&r|n&~r,e,t,o,i,a)}function C(e,t,n,r,o,i,a){return x(t^n^r,e,t,o,i,a)}function S(e,t,n,r,o,i,a){return x(n^(t|~r),e,t,o,i,a)}const k=v("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r="0123456789abcdef",o=0;o<n;o+=8){var i=e[o>>5]>>>o%32&255,a=parseInt(r.charAt(i>>>4&15)+r.charAt(15&i),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[y(t)-1]=t;for(var n=1732584193,r=-271733879,o=-1732584194,i=271733878,a=0;a<e.length;a+=16){var s=n,l=r,c=o,u=i;n=w(n,r,o,i,e[a],7,-680876936),i=w(i,n,r,o,e[a+1],12,-389564586),o=w(o,i,n,r,e[a+2],17,606105819),r=w(r,o,i,n,e[a+3],22,-1044525330),n=w(n,r,o,i,e[a+4],7,-176418897),i=w(i,n,r,o,e[a+5],12,1200080426),o=w(o,i,n,r,e[a+6],17,-1473231341),r=w(r,o,i,n,e[a+7],22,-45705983),n=w(n,r,o,i,e[a+8],7,1770035416),i=w(i,n,r,o,e[a+9],12,-1958414417),o=w(o,i,n,r,e[a+10],17,-42063),r=w(r,o,i,n,e[a+11],22,-1990404162),n=w(n,r,o,i,e[a+12],7,1804603682),i=w(i,n,r,o,e[a+13],12,-40341101),o=w(o,i,n,r,e[a+14],17,-1502002290),n=E(n,r=w(r,o,i,n,e[a+15],22,1236535329),o,i,e[a+1],5,-165796510),i=E(i,n,r,o,e[a+6],9,-1069501632),o=E(o,i,n,r,e[a+11],14,643717713),r=E(r,o,i,n,e[a],20,-373897302),n=E(n,r,o,i,e[a+5],5,-701558691),i=E(i,n,r,o,e[a+10],9,38016083),o=E(o,i,n,r,e[a+15],14,-660478335),r=E(r,o,i,n,e[a+4],20,-405537848),n=E(n,r,o,i,e[a+9],5,568446438),i=E(i,n,r,o,e[a+14],9,-1019803690),o=E(o,i,n,r,e[a+3],14,-187363961),r=E(r,o,i,n,e[a+8],20,1163531501),n=E(n,r,o,i,e[a+13],5,-1444681467),i=E(i,n,r,o,e[a+2],9,-51403784),o=E(o,i,n,r,e[a+7],14,1735328473),n=C(n,r=E(r,o,i,n,e[a+12],20,-1926607734),o,i,e[a+5],4,-378558),i=C(i,n,r,o,e[a+8],11,-2022574463),o=C(o,i,n,r,e[a+11],16,1839030562),r=C(r,o,i,n,e[a+14],23,-35309556),n=C(n,r,o,i,e[a+1],4,-1530992060),i=C(i,n,r,o,e[a+4],11,1272893353),o=C(o,i,n,r,e[a+7],16,-155497632),r=C(r,o,i,n,e[a+10],23,-1094730640),n=C(n,r,o,i,e[a+13],4,681279174),i=C(i,n,r,o,e[a],11,-358537222),o=C(o,i,n,r,e[a+3],16,-722521979),r=C(r,o,i,n,e[a+6],23,76029189),n=C(n,r,o,i,e[a+9],4,-640364487),i=C(i,n,r,o,e[a+12],11,-421815835),o=C(o,i,n,r,e[a+15],16,530742520),n=S(n,r=C(r,o,i,n,e[a+2],23,-995338651),o,i,e[a],6,-198630844),i=S(i,n,r,o,e[a+7],10,1126891415),o=S(o,i,n,r,e[a+14],15,-1416354905),r=S(r,o,i,n,e[a+5],21,-57434055),n=S(n,r,o,i,e[a+12],6,1700485571),i=S(i,n,r,o,e[a+3],10,-1894986606),o=S(o,i,n,r,e[a+10],15,-1051523),r=S(r,o,i,n,e[a+1],21,-2054922799),n=S(n,r,o,i,e[a+8],6,1873313359),i=S(i,n,r,o,e[a+15],10,-30611744),o=S(o,i,n,r,e[a+6],15,-1560198380),r=S(r,o,i,n,e[a+13],21,1309151649),n=S(n,r,o,i,e[a+4],6,-145523070),i=S(i,n,r,o,e[a+11],10,-1120210379),o=S(o,i,n,r,e[a+2],15,718787259),r=S(r,o,i,n,e[a+9],21,-343485551),n=b(n,s),r=b(r,l),o=b(o,c),i=b(i,u)}return[n,r,o,i]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(y(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))})),R=function(e,t,n){var r=(e=e||{}).random||(e.rng||i)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return u(r)};function P(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function O(e,t){return e<<t|e>>>32-t}const T=v("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var o=0;o<r.length;++o)e.push(r.charCodeAt(o))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var i=e.length/4+2,a=Math.ceil(i/16),s=new Array(a),l=0;l<a;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];s[l]=c}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<a;++d){for(var f=new Uint32Array(80),p=0;p<16;++p)f[p]=s[d][p];for(var m=16;m<80;++m)f[m]=O(f[m-3]^f[m-8]^f[m-14]^f[m-16],1);for(var g=n[0],h=n[1],v=n[2],y=n[3],b=n[4],x=0;x<80;++x){var w=Math.floor(x/20),E=O(g,5)+P(w,h,v,y)+b+t[w]+f[x]>>>0;b=y,y=v,v=O(h,30)>>>0,h=g,g=E}n[0]=n[0]+g>>>0,n[1]=n[1]+h>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),_="00000000-0000-0000-0000-000000000000",I=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},9196:e=>{"use strict";e.exports=window.React},1850:e=>{"use strict";e.exports=window.ReactDOM},6989:e=>{"use strict";e.exports=window.wp.apiFetch},2175:e=>{"use strict";e.exports=window.wp.blockEditor},4981:e=>{"use strict";e.exports=window.wp.blocks},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},7798:e=>{"use strict";e.exports=window.wp.coreData},9818:e=>{"use strict";e.exports=window.wp.data},9771:e=>{"use strict";e.exports=window.wp.date},7701:e=>{"use strict";e.exports=window.wp.domReady},2238:e=>{"use strict";e.exports=window.wp.editor},9307:e=>{"use strict";e.exports=window.wp.element},2694:e=>{"use strict";e.exports=window.wp.hooks},2629:e=>{"use strict";e.exports=window.wp.htmlEntities},5736:e=>{"use strict";e.exports=window.wp.i18n},6881:e=>{"use strict";e.exports=window.wp.richText},6483:e=>{"use strict";e.exports=window.wp.url},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";n(9307),n(1315),n(2175),n(5609)})()})();

haha - 2025