codesaaz-core 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codesaaz.es.js +433 -431
- package/dist/codesaaz.umd.js +1 -1
- package/package.json +1 -1
package/dist/codesaaz.umd.js
CHANGED
|
@@ -1330,4 +1330,4 @@ input.p-select-label {
|
|
|
1330
1330
|
height: `).concat(n("select.lg.font.size"),`;
|
|
1331
1331
|
}
|
|
1332
1332
|
`)},S0={root:function(t){var n=t.instance,r=t.props,a=t.state;return["p-select p-component p-inputwrapper",{"p-disabled":r.disabled,"p-invalid":n.$invalid,"p-variant-filled":n.$variant==="filled","p-focus":a.focused,"p-inputwrapper-filled":n.$filled,"p-inputwrapper-focus":a.focused||a.overlayVisible,"p-select-open":a.overlayVisible,"p-select-fluid":n.$fluid,"p-select-sm p-inputfield-sm":r.size==="small","p-select-lg p-inputfield-lg":r.size==="large"}]},label:function(t){var n=t.instance,r=t.props;return["p-select-label",{"p-placeholder":!r.editable&&n.label===r.placeholder,"p-select-label-empty":!r.editable&&!n.$slots.value&&(n.label==="p-emptylabel"||n.label.length===0)}]},clearIcon:"p-select-clear-icon",dropdown:"p-select-dropdown",loadingicon:"p-select-loading-icon",dropdownIcon:"p-select-dropdown-icon",overlay:"p-select-overlay p-component",header:"p-select-header",pcFilter:"p-select-filter",listContainer:"p-select-list-container",list:"p-select-list",optionGroup:"p-select-option-group",optionGroupLabel:"p-select-option-group-label",option:function(t){var n=t.instance,r=t.props,a=t.state,i=t.option,l=t.focusedOption;return["p-select-option",{"p-select-option-selected":n.isSelected(i)&&r.highlightOnSelect,"p-focus":a.focusedOptionIndex===l,"p-disabled":n.isOptionDisabled(i)}]},optionLabel:"p-select-option-label",optionCheckIcon:"p-select-option-check-icon",optionBlankIcon:"p-select-option-blank-icon",emptyMessage:"p-select-empty-message"},C0=Ee.extend({name:"select",theme:x0,classes:S0}),E0={name:"BaseSelect",extends:Jl,props:{options:Array,optionLabel:[String,Function],optionValue:[String,Function],optionDisabled:[String,Function],optionGroupLabel:[String,Function],optionGroupChildren:[String,Function],scrollHeight:{type:String,default:"14rem"},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},editable:Boolean,placeholder:{type:String,default:null},dataKey:null,showClear:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},labelId:{type:String,default:null},labelClass:{type:[String,Object],default:null},labelStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},overlayStyle:{type:Object,default:null},overlayClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},appendTo:{type:[String,Object],default:"body"},loading:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},resetFilterOnHide:{type:Boolean,default:!1},resetFilterOnClear:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!1},autoFilterFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},focusOnHover:{type:Boolean,default:!0},highlightOnSelect:{type:Boolean,default:!0},checkmark:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:C0,provide:function(){return{$pcSelect:this,$parentInstance:this}}};function Pn(e){"@babel/helpers - typeof";return Pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pn(e)}function B0(e){return V0(e)||O0(e)||N0(e)||$0()}function $0(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1333
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N0(e,t){if(e){if(typeof e=="string")return Er(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Er(e,t):void 0}}function O0(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function V0(e){if(Array.isArray(e))return Er(e)}function Er(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function as(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function is(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?as(Object(n),!0).forEach(function(r){ls(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):as(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ls(e,t,n){return(t=T0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T0(e){var t=I0(e,"string");return Pn(t)=="symbol"?t:t+""}function I0(e,t){if(Pn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Pn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ss={name:"Select",extends:E0,inheritAttrs:!1,emits:["change","focus","blur","before-show","before-hide","show","hide","filter"],outsideClickListener:null,scrollHandler:null,resizeListener:null,labelClickListener:null,overlay:null,list:null,virtualScroller:null,searchTimeout:null,searchValue:null,isModelValueChanged:!1,data:function(){return{id:this.$attrs.id,clicked:!1,focused:!1,focusedOptionIndex:-1,filterValue:null,overlayVisible:!1}},watch:{"$attrs.id":function(t){this.id=t||Wl()},modelValue:function(){this.isModelValueChanged=!0},options:function(){this.autoUpdateModel()}},mounted:function(){this.id=this.id||Wl(),this.autoUpdateModel(),this.bindLabelClickListener()},updated:function(){this.overlayVisible&&this.isModelValueChanged&&this.scrollInView(this.findSelectedOptionIndex()),this.isModelValueChanged=!1},beforeUnmount:function(){this.unbindOutsideClickListener(),this.unbindResizeListener(),this.unbindLabelClickListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&(Cr.clear(this.overlay),this.overlay=null)},methods:{getOptionIndex:function(t,n){return this.virtualScrollerDisabled?t:n&&n(t).index},getOptionLabel:function(t){return this.optionLabel?yt(t,this.optionLabel):t},getOptionValue:function(t){return this.optionValue?yt(t,this.optionValue):t},getOptionRenderKey:function(t,n){return(this.dataKey?yt(t,this.dataKey):this.getOptionLabel(t))+"_"+n},getPTItemOptions:function(t,n,r,a){return this.ptm(a,{context:{option:t,index:r,selected:this.isSelected(t),focused:this.focusedOptionIndex===this.getOptionIndex(r,n),disabled:this.isOptionDisabled(t)}})},isOptionDisabled:function(t){return this.optionDisabled?yt(t,this.optionDisabled):!1},isOptionGroup:function(t){return this.optionGroupLabel&&t.optionGroup&&t.group},getOptionGroupLabel:function(t){return yt(t,this.optionGroupLabel)},getOptionGroupChildren:function(t){return yt(t,this.optionGroupChildren)},getAriaPosInset:function(t){var n=this;return(this.optionGroupLabel?t-this.visibleOptions.slice(0,t).filter(function(r){return n.isOptionGroup(r)}).length:t)+1},show:function(t){this.$emit("before-show"),this.overlayVisible=!0,this.focusedOptionIndex=this.focusedOptionIndex!==-1?this.focusedOptionIndex:this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex(),t&&$t(this.$refs.focusInput)},hide:function(t){var n=this,r=function(){n.$emit("before-hide"),n.overlayVisible=!1,n.clicked=!1,n.focusedOptionIndex=-1,n.searchValue="",n.resetFilterOnHide&&(n.filterValue=null),t&&$t(n.$refs.focusInput)};setTimeout(function(){r()},0)},onFocus:function(t){this.disabled||(this.focused=!0,this.overlayVisible&&(this.focusedOptionIndex=this.focusedOptionIndex!==-1?this.focusedOptionIndex:this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex(),this.scrollInView(this.focusedOptionIndex)),this.$emit("focus",t))},onBlur:function(t){var n,r;this.focused=!1,this.focusedOptionIndex=-1,this.searchValue="",this.$emit("blur",t),(n=(r=this.formField).onBlur)===null||n===void 0||n.call(r,t)},onKeyDown:function(t){if(this.disabled||_g()){t.preventDefault();return}var n=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,this.editable);break;case"Home":this.onHomeKey(t,this.editable);break;case"End":this.onEndKey(t,this.editable);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Space":this.onSpaceKey(t,this.editable);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"Backspace":this.onBackspaceKey(t,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!n&&Ku(t.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(t,t.key));break}this.clicked=!1},onEditableInput:function(t){var n=t.target.value;this.searchValue="";var r=this.searchOptions(t,n);!r&&(this.focusedOptionIndex=-1),this.updateModel(t,n),!this.overlayVisible&&fe(n)&&this.show()},onContainerClick:function(t){this.disabled||this.loading||t.target.tagName==="INPUT"||t.target.getAttribute("data-pc-section")==="clearicon"||t.target.closest('[data-pc-section="clearicon"]')||((!this.overlay||!this.overlay.contains(t.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.clicked=!0)},onClearClick:function(t){this.updateModel(t,null),this.resetFilterOnClear&&(this.filterValue=null)},onFirstHiddenFocus:function(t){var n=t.relatedTarget===this.$refs.focusInput?Ig(this.overlay,':not([data-p-hidden-focusable="true"])'):this.$refs.focusInput;$t(n)},onLastHiddenFocus:function(t){var n=t.relatedTarget===this.$refs.focusInput?Pg(this.overlay,':not([data-p-hidden-focusable="true"])'):this.$refs.focusInput;$t(n)},onOptionSelect:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=this.getOptionValue(n);this.updateModel(t,a),r&&this.hide(!0)},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){if(!t.isComposing)switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){m0.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onArrowDownKey:function(t){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(t,this.findSelectedOptionIndex());else{var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,n)}t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget;t.shiftKey?r.setSelectionRange(0,t.target.selectionStart):(r.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget;if(t.shiftKey)r.setSelectionRange(t.target.selectionStart,r.value.length);else{var a=r.value.length;r.setSelectionRange(a,a),this.focusedOptionIndex=-1}}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.hide()):(this.focusedOptionIndex=-1,this.onArrowDownKey(t)),t.preventDefault()},onSpaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!n&&this.onEnterKey(t)},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault(),t.stopPropagation()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?($t(this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&!this.overlayVisible&&this.show()},onOverlayEnter:function(t){var n=this;Cr.set("overlay",t,this.$primevue.config.zIndex.overlay),$g(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),setTimeout(function(){n.autoFilterFocus&&n.filter&&$t(n.$refs.filterInput.$el)},1)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){var t=this;this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.autoFilterFocus&&this.filter&&!this.editable&&this.$nextTick(function(){$t(t.$refs.filterInput.$el)}),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){Cr.clear(t)},alignOverlay:function(){this.appendTo==="self"?Ng(this.overlay,this.$el):(this.overlay.style.minWidth=Ui(this.$el)+"px",Bg(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.overlay&&!t.$el.contains(n.target)&&!t.overlay.contains(n.target)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new qy(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!Lg()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindLabelClickListener:function(){var t=this;if(!this.editable&&!this.labelClickListener){var n=document.querySelector('label[for="'.concat(this.labelId,'"]'));n&&wo(n)&&(this.labelClickListener=function(){$t(t.$refs.focusInput)},n.addEventListener("click",this.labelClickListener))}},unbindLabelClickListener:function(){if(this.labelClickListener){var t=document.querySelector('label[for="'.concat(this.labelId,'"]'));t&&wo(t)&&t.removeEventListener("click",this.labelClickListener)}},hasFocusableElements:function(){return pr(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){var n;return this.isValidOption(t)&&typeof this.getOptionLabel(t)=="string"&&((n=this.getOptionLabel(t))===null||n===void 0?void 0:n.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)))},isValidOption:function(t){return fe(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){return hi(this.d_value,this.getOptionValue(t),this.equalityKey)},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return bi(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t<this.visibleOptions.length-1?this.visibleOptions.slice(t+1).findIndex(function(a){return n.isValidOption(a)}):-1;return r>-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?bi(this.visibleOptions.slice(0,t),function(a){return n.isValidOption(a)}):-1;return r>-1?r:t},findSelectedOptionIndex:function(){var t=this;return this.$filled?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findFirstFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t,n){var r=this;this.searchValue=(this.searchValue||"")+n;var a=-1,i=!1;return fe(this.searchValue)&&(this.focusedOptionIndex!==-1?(a=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(l){return r.isOptionMatched(l)}),a=a===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(l){return r.isOptionMatched(l)}):a+this.focusedOptionIndex):a=this.visibleOptions.findIndex(function(l){return r.isOptionMatched(l)}),a!==-1&&(i=!0),a===-1&&this.focusedOptionIndex===-1&&(a=this.findFirstFocusedOptionIndex()),a!==-1&&this.changeFocusedOptionIndex(t,a)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue="",r.searchTimeout=null},500),i},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(t,this.visibleOptions[n],!1))},scrollInView:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var r=n!==-1?"".concat(t.id,"_").concat(n):t.focusedOptionId,a=ko(t.list,'li[id="'.concat(r,'"]'));a?a.scrollIntoView&&a.scrollIntoView({block:"nearest",inline:"start"}):t.virtualScrollerDisabled||t.virtualScroller&&t.virtualScroller.scrollToIndex(n!==-1?n:t.focusedOptionIndex)})},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.$filled&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(t,n){this.writeValue(n,t),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,a,i){r.push({optionGroup:a,group:!0,index:i});var l=n.getOptionGroupChildren(a);return l&&l.forEach(function(s){return r.push(s)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Xu.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var a=this.options||[],i=[];return a.forEach(function(l){var s=t.getOptionGroupChildren(l),u=s.filter(function(c){return r.includes(c)});u.length>0&&i.push(is(is({},l),{},ls({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",B0(u))))}),this.flatOptions(i)}return r}return n},hasSelectedOption:function(){return this.$filled},label:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.d_value||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return fe(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},isClearIconVisible:function(){return this.showClear&&this.d_value!=null&&fe(this.options)},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:kl},components:{InputText:Zl,VirtualScroller:rs,Portal:es,InputIcon:Xl,IconField:Ql,TimesIcon:Yl,ChevronDownIcon:fl,SpinnerIcon:So,SearchIcon:Gl,CheckIcon:Kl,BlankIcon:ql}},P0=["id"],R0=["id","value","placeholder","tabindex","disabled","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid"],F0=["id","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-disabled"],A0=["id"],D0=["id"],_0=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove","data-p-selected","data-p-focused","data-p-disabled"];function L0(e,t,n,r,a,i){var l=o.resolveComponent("SpinnerIcon"),s=o.resolveComponent("InputText"),u=o.resolveComponent("SearchIcon"),c=o.resolveComponent("InputIcon"),d=o.resolveComponent("IconField"),m=o.resolveComponent("CheckIcon"),f=o.resolveComponent("BlankIcon"),p=o.resolveComponent("VirtualScroller"),g=o.resolveComponent("Portal"),h=o.resolveDirective("ripple");return o.openBlock(),o.createElementBlock("div",o.mergeProps({ref:"container",id:a.id,class:e.cx("root"),onClick:t[11]||(t[11]=function(){return i.onContainerClick&&i.onContainerClick.apply(i,arguments)})},e.ptmi("root")),[e.editable?(o.openBlock(),o.createElementBlock("input",o.mergeProps({key:0,ref:"focusInput",id:e.labelId||e.inputId,type:"text",class:[e.cx("label"),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],value:i.editableInputValue,placeholder:e.placeholder,tabindex:e.disabled?-1:e.tabindex,disabled:e.disabled,autocomplete:"off",role:"combobox","aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":a.overlayVisible,"aria-controls":a.id+"_list","aria-activedescendant":a.focused?i.focusedOptionId:void 0,"aria-invalid":e.invalid||void 0,onFocus:t[0]||(t[0]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)}),onBlur:t[1]||(t[1]=function(){return i.onBlur&&i.onBlur.apply(i,arguments)}),onKeydown:t[2]||(t[2]=function(){return i.onKeyDown&&i.onKeyDown.apply(i,arguments)}),onInput:t[3]||(t[3]=function(){return i.onEditableInput&&i.onEditableInput.apply(i,arguments)})},e.ptm("label")),null,16,R0)):(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:1,ref:"focusInput",id:e.labelId||e.inputId,class:[e.cx("label"),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],tabindex:e.disabled?-1:e.tabindex,role:"combobox","aria-label":e.ariaLabel||(i.label==="p-emptylabel"?void 0:i.label),"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":a.overlayVisible,"aria-controls":a.id+"_list","aria-activedescendant":a.focused?i.focusedOptionId:void 0,"aria-disabled":e.disabled,onFocus:t[4]||(t[4]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)}),onBlur:t[5]||(t[5]=function(){return i.onBlur&&i.onBlur.apply(i,arguments)}),onKeydown:t[6]||(t[6]=function(){return i.onKeyDown&&i.onKeyDown.apply(i,arguments)})},e.ptm("label")),[o.renderSlot(e.$slots,"value",{value:e.d_value,placeholder:e.placeholder},function(){var b;return[o.createTextVNode(o.toDisplayString(i.label==="p-emptylabel"?" ":(b=i.label)!==null&&b!==void 0?b:"empty"),1)]})],16,F0)),i.isClearIconVisible?o.renderSlot(e.$slots,"clearicon",{key:2,class:o.normalizeClass(e.cx("clearIcon")),clearCallback:i.onClearClick},function(){return[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.clearIcon?"i":"TimesIcon"),o.mergeProps({ref:"clearIcon",class:[e.cx("clearIcon"),e.clearIcon],onClick:i.onClearClick},e.ptm("clearIcon"),{"data-pc-section":"clearicon"}),null,16,["class","onClick"]))]}):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({class:e.cx("dropdown")},e.ptm("dropdown")),[e.loading?o.renderSlot(e.$slots,"loadingicon",{key:0,class:o.normalizeClass(e.cx("loadingIcon"))},function(){return[e.loadingIcon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:[e.cx("loadingIcon"),"pi-spin",e.loadingIcon],"aria-hidden":"true"},e.ptm("loadingIcon")),null,16)):(o.openBlock(),o.createBlock(l,o.mergeProps({key:1,class:e.cx("loadingIcon"),spin:"","aria-hidden":"true"},e.ptm("loadingIcon")),null,16,["class"]))]}):o.renderSlot(e.$slots,"dropdownicon",{key:1,class:o.normalizeClass(e.cx("dropdownIcon"))},function(){return[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.dropdownIcon?"span":"ChevronDownIcon"),o.mergeProps({class:[e.cx("dropdownIcon"),e.dropdownIcon],"aria-hidden":"true"},e.ptm("dropdownIcon")),null,16,["class"]))]})],16),o.createVNode(g,{appendTo:e.appendTo},{default:o.withCtx(function(){return[o.createVNode(o.Transition,o.mergeProps({name:"p-connected-overlay",onEnter:i.onOverlayEnter,onAfterEnter:i.onOverlayAfterEnter,onLeave:i.onOverlayLeave,onAfterLeave:i.onOverlayAfterLeave},e.ptm("transition")),{default:o.withCtx(function(){return[a.overlayVisible?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref:i.overlayRef,class:[e.cx("overlay"),e.panelClass,e.overlayClass],style:[e.panelStyle,e.overlayStyle],onClick:t[9]||(t[9]=function(){return i.onOverlayClick&&i.onOverlayClick.apply(i,arguments)}),onKeydown:t[10]||(t[10]=function(){return i.onOverlayKeyDown&&i.onOverlayKeyDown.apply(i,arguments)})},e.ptm("overlay")),[o.createElementVNode("span",o.mergeProps({ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[7]||(t[7]=function(){return i.onFirstHiddenFocus&&i.onFirstHiddenFocus.apply(i,arguments)})},e.ptm("hiddenFirstFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),o.renderSlot(e.$slots,"header",{value:e.d_value,options:i.visibleOptions}),e.filter?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,class:e.cx("header")},e.ptm("header")),[o.createVNode(d,{unstyled:e.unstyled,pt:e.ptm("pcFilterContainer")},{default:o.withCtx(function(){return[o.createVNode(s,{ref:"filterInput",type:"text",value:a.filterValue,onVnodeMounted:i.onFilterUpdated,onVnodeUpdated:i.onFilterUpdated,class:o.normalizeClass(e.cx("pcFilter")),placeholder:e.filterPlaceholder,variant:e.variant,unstyled:e.unstyled,role:"searchbox",autocomplete:"off","aria-owns":a.id+"_list","aria-activedescendant":i.focusedOptionId,onKeydown:i.onFilterKeyDown,onBlur:i.onFilterBlur,onInput:i.onFilterChange,pt:e.ptm("pcFilter")},null,8,["value","onVnodeMounted","onVnodeUpdated","class","placeholder","variant","unstyled","aria-owns","aria-activedescendant","onKeydown","onBlur","onInput","pt"]),o.createVNode(c,{unstyled:e.unstyled,pt:e.ptm("pcFilterIconContainer")},{default:o.withCtx(function(){return[o.renderSlot(e.$slots,"filtericon",{},function(){return[e.filterIcon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:e.filterIcon},e.ptm("filterIcon")),null,16)):(o.openBlock(),o.createBlock(u,o.normalizeProps(o.mergeProps({key:1},e.ptm("filterIcon"))),null,16))]})]}),_:3},8,["unstyled","pt"])]}),_:3},8,["unstyled","pt"]),o.createElementVNode("span",o.mergeProps({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenFilterResult"),{"data-p-hidden-accessible":!0}),o.toDisplayString(i.filterResultMessageText),17)],16)):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({class:e.cx("listContainer"),style:{"max-height":i.virtualScrollerDisabled?e.scrollHeight:""}},e.ptm("listContainer")),[o.createVNode(p,o.mergeProps({ref:i.virtualScrollerRef},e.virtualScrollerOptions,{items:i.visibleOptions,style:{height:e.scrollHeight},tabindex:-1,disabled:i.virtualScrollerDisabled,pt:e.ptm("virtualScroller")}),o.createSlots({content:o.withCtx(function(b){var y=b.styleClass,w=b.contentRef,k=b.items,v=b.getItemOptions,S=b.contentStyle,R=b.itemSize;return[o.createElementVNode("ul",o.mergeProps({ref:function(C){return i.listRef(C,w)},id:a.id+"_list",class:[e.cx("list"),y],style:S,role:"listbox"},e.ptm("list")),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(k,function(B,C){return o.openBlock(),o.createElementBlock(o.Fragment,{key:i.getOptionRenderKey(B,i.getOptionIndex(C,v))},[i.isOptionGroup(B)?(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:0,id:a.id+"_"+i.getOptionIndex(C,v),style:{height:R?R+"px":void 0},class:e.cx("optionGroup"),role:"option",ref_for:!0},e.ptm("optionGroup")),[o.renderSlot(e.$slots,"optiongroup",{option:B.optionGroup,index:i.getOptionIndex(C,v)},function(){return[o.createElementVNode("span",o.mergeProps({class:e.cx("optionGroupLabel"),ref_for:!0},e.ptm("optionGroupLabel")),o.toDisplayString(i.getOptionGroupLabel(B.optionGroup)),17)]})],16,D0)):o.withDirectives((o.openBlock(),o.createElementBlock("li",o.mergeProps({key:1,id:a.id+"_"+i.getOptionIndex(C,v),class:e.cx("option",{option:B,focusedOption:i.getOptionIndex(C,v)}),style:{height:R?R+"px":void 0},role:"option","aria-label":i.getOptionLabel(B),"aria-selected":i.isSelected(B),"aria-disabled":i.isOptionDisabled(B),"aria-setsize":i.ariaSetSize,"aria-posinset":i.getAriaPosInset(i.getOptionIndex(C,v)),onClick:function(z){return i.onOptionSelect(z,B)},onMousemove:function(z){return i.onOptionMouseMove(z,i.getOptionIndex(C,v))},"data-p-selected":i.isSelected(B),"data-p-focused":a.focusedOptionIndex===i.getOptionIndex(C,v),"data-p-disabled":i.isOptionDisabled(B),ref_for:!0},i.getPTItemOptions(B,v,C,"option")),[e.checkmark?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[i.isSelected(B)?(o.openBlock(),o.createBlock(m,o.mergeProps({key:0,class:e.cx("optionCheckIcon"),ref_for:!0},e.ptm("optionCheckIcon")),null,16,["class"])):(o.openBlock(),o.createBlock(f,o.mergeProps({key:1,class:e.cx("optionBlankIcon"),ref_for:!0},e.ptm("optionBlankIcon")),null,16,["class"]))],64)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"option",{option:B,selected:i.isSelected(B),index:i.getOptionIndex(C,v)},function(){return[o.createElementVNode("span",o.mergeProps({class:e.cx("optionLabel"),ref_for:!0},e.ptm("optionLabel")),o.toDisplayString(i.getOptionLabel(B)),17)]})],16,_0)),[[h]])],64)}),128)),a.filterValue&&(!k||k&&k.length===0)?(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:0,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[o.renderSlot(e.$slots,"emptyfilter",{},function(){return[o.createTextVNode(o.toDisplayString(i.emptyFilterMessageText),1)]})],16)):!e.options||e.options&&e.options.length===0?(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:1,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[o.renderSlot(e.$slots,"empty",{},function(){return[o.createTextVNode(o.toDisplayString(i.emptyMessageText),1)]})],16)):o.createCommentVNode("",!0)],16,A0)]}),_:2},[e.$slots.loader?{name:"loader",fn:o.withCtx(function(b){var y=b.options;return[o.renderSlot(e.$slots,"loader",{options:y})]}),key:"0"}:void 0]),1040,["items","style","disabled","pt"])],16),o.renderSlot(e.$slots,"footer",{value:e.d_value,options:i.visibleOptions}),!e.options||e.options&&e.options.length===0?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenEmptyMessage"),{"data-p-hidden-accessible":!0}),o.toDisplayString(i.emptyMessageText),17)):o.createCommentVNode("",!0),o.createElementVNode("span",o.mergeProps({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenSelectedMessage"),{"data-p-hidden-accessible":!0}),o.toDisplayString(i.selectedMessageText),17),o.createElementVNode("span",o.mergeProps({ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[8]||(t[8]=function(){return i.onLastHiddenFocus&&i.onLastHiddenFocus.apply(i,arguments)})},e.ptm("hiddenLastFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16)):o.createCommentVNode("",!0)]}),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16,P0)}ss.render=L0;const z0={class:"editable-label-editing flex items-center gap-2 w-full"},cs={__name:"Selector",props:{label:{type:String,default:"Label"},placeholder:{type:String,default:"Enter value"}},setup(e){const t=e;return o.ref(!1),o.ref(t.label),(n,r)=>(o.openBlock(),o.createElementBlock("div",z0,[o.createVNode(o.unref(ss),{modelValue:n.selectedCity,"onUpdate:modelValue":r[0]||(r[0]=a=>n.selectedCity=a),options:n.cities,optionLabel:"name",placeholder:e.placeholder,class:"w-full md:w-56"},null,8,["modelValue","options","placeholder"])]))}},M0={key:0,class:"flex items-center"},j0={key:1},U0={class:"flex items-center justify-between w-full"},Rn=Oe({__name:"DynamicSelection",props:o.mergeModels({modelValue:{type:[String,Number],default:null},url:String,jsonPath:String,displayField:{type:String,default:"label"},valueField:{type:String,default:"id"},method:{type:String,default:"GET"},options:{type:Array,default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:modelValue","onChange"],["update:modelValue"]),setup(e,{emit:t}){const n=we(),r=()=>n.getAppId(),a=e;console.log("DynamicSelection props:",a);const i=t,l=o.useModel(e,"modelValue"),s=o.ref(null),u=o.ref([]),c=o.computed(()=>a.options.length?"label":a.displayField),d=o.computed(()=>a.options.length?"value":a.valueField);function m(b,y){const w=y.split(".").reduce((k,v)=>{var R;const S=v.match(/^(\w+)\[(\d+)\]$/);if(S){const[,B,C]=S;return((R=k==null?void 0:k[B])==null?void 0:R[parseInt(C)])??null}else return k==null?void 0:k[v]},b);return Array.isArray(w)?w:w?[w]:[]}async function f(){if(!a.url||a.options.length)return;const b=a.url.includes("appid")?a.url.replace("${appid}",r()):a.url;try{const w=await(await fetch(b,{method:a.method.toUpperCase(),headers:{"Content-Type":"application/json"},...a.method.toUpperCase()==="POST"?{body:"{}"}:{}})).json();a.jsonPath?u.value=p(m(w,a.jsonPath)):u.value=[],g(a.modelValue)}catch(y){console.error("Error fetching options:",y)}}o.onMounted(()=>{a.options.length?u.value=p(a.options):f(),g(a.modelValue)}),o.watch(()=>a.modelValue,b=>{l.value=b,g(b)}),o.watch(l,b=>{h(b),i("update:modelValue",b),i("onChange",b)}),o.watch(()=>a.options,b=>{b.length&&(u.value=p(b),g(a.modelValue))},{immediate:!0});function p(b){if(!b)return[];const y=c.value;return[...b].sort((w,k)=>{const v=String(w[y]||w.label||"").toLowerCase(),S=String(k[y]||k.label||"").toLowerCase();return v.localeCompare(S)})}function g(b){const y=u.value.find(w=>String(w[d.value])===String(b));y?(s.value=y,l.value=y[d.value]):s.value=null}function h(b){const y=u.value.find(w=>String(w[d.value])===String(b));y?s.value=y:s.value=null}return(b,y)=>{const w=o.resolveComponent("Badge"),k=o.resolveComponent("Select");return o.openBlock(),o.createBlock(k,{modelValue:l.value,"onUpdate:modelValue":y[0]||(y[0]=v=>l.value=v),options:u.value,filter:a.options.length==0,optionLabel:c.value,optionValue:d.value,placeholder:"Select an option",class:"w-full"},{value:o.withCtx(v=>[s.value?(o.openBlock(),o.createElementBlock("div",M0,[o.createElementVNode("div",null,o.toDisplayString(s.value[c.value]||s.value.label),1)])):(o.openBlock(),o.createElementBlock("span",j0,o.toDisplayString(v.placeholder),1))]),option:o.withCtx(v=>[o.createElementVNode("div",U0,[o.createElementVNode("div",null,o.toDisplayString(v.option[c.value]||v.option.label),1),v.option.externalConnectionId?(o.openBlock(),o.createBlock(w,{key:0,value:"secondary",severity:"info"})):o.createCommentVNode("",!0)])]),_:1},8,["modelValue","options","filter","optionLabel","optionValue"])}}},[["__scopeId","data-v-de2f3337"]]),H0={key:1},W0="/api/app/v1/${appid}/entity",ds={__name:"EntityRecordSelection",props:o.mergeModels({valueField:{type:String,default:"id"},entity:{type:String,default:"customer"},displayField:{type:String,default:"first_name"},searchKey:{type:String,default:"first_name"},searchValue:{type:String,default:"Eve"},options:{type:Array,default:()=>[]},modelValue:{type:Object,default:null},roles:{type:[Array,String],default:()=>[]},permissions:{type:[Array,String],default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:modelValue","onChange"],["update:modelValue"]),setup(e,{emit:t}){const n=o.ref(null),r=e,a=t;o.useModel(e,"modelValue");const i=o.computed(()=>`${W0}/${r.entity}/record`),l=o.ref(!0),{hasMatchingRoleAndPermissions:s}=zt();o.onMounted(async()=>{l.value=await s(r.roles,r.permissions)});function u(c){a("update:modelValue",JSON.stringify(c)),a("onChange",JSON.stringify(c))}return(c,d)=>l.value?(o.openBlock(),o.createBlock(Rn,{key:0,modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=m=>n.value=m),url:i.value,jsonPath:"response.result",displayField:e.displayField,method:"GET",options:e.options,onOnChange:u,valueField:e.valueField},null,8,["modelValue","url","displayField","options","valueField"])):(o.openBlock(),o.createElementBlock("p",H0,"You do not have the required permissions to access this feature."))}},q0={key:1},K0="/api/app/v1/${appid}/entity",us={__name:"EntitySelection",props:o.mergeModels({entityName:{type:String,default:""},roles:{type:[Array,String],default:()=>[]},permissions:{type:[Array,String],default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:entity-name","onChange"],["update:modelValue"]),setup(e,{emit:t}){const n=e,r=t;o.useModel(e,"modelValue");const a=o.ref(!0),{hasMatchingRoleAndPermissions:i}=zt();o.onMounted(async()=>{a.value=await i(n.roles,n.permissions)});function l(s){r("update:entity-name",s),r("onChange",s)}return(s,u)=>a.value?(o.openBlock(),o.createBlock(Rn,{key:0,modelValue:e.entityName,url:K0,jsonPath:"response",displayField:"name",method:"GET",onOnChange:l,valueField:"name"},null,8,["modelValue"])):(o.openBlock(),o.createElementBlock("p",q0,"You do not have the required permissions to access this feature."))}},G0={key:0,class:"flex items-center"},Y0={key:1},Q0={class:"flex items-center justify-between w-full"},fs={__name:"EntitySelectionWithRest",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=Sr(),n=$o(),r=o.ref([]),a=o.useModel(e,"modelValue");o.onMounted(async()=>{const s=await i(),u=await l();r.value=[...s,...u].sort((c,d)=>c.name.localeCompare(d.name))});const i=async()=>(await t.getEntities()).response,l=async()=>(await n.getRestEntities()).response;return(s,u)=>{const c=o.resolveComponent("Badge"),d=o.resolveComponent("Select");return o.openBlock(),o.createBlock(d,{class:"text-sm w-full",modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=m=>a.value=m),options:r.value,filter:"",optionLabel:"name",optionValue:"name",placeholder:"Select entity"},{value:o.withCtx(m=>[m.value?(o.openBlock(),o.createElementBlock("div",G0,[o.createElementVNode("div",null,o.toDisplayString(m.value),1)])):(o.openBlock(),o.createElementBlock("span",Y0,o.toDisplayString(m.placeholder),1))]),option:o.withCtx(m=>[o.createElementVNode("div",Q0,[o.createElementVNode("div",null,o.toDisplayString(m.option.name),1),m.option.externalConnectionId?(o.openBlock(),o.createBlock(c,{key:0,value:"secondary",severity:"info"})):o.createCommentVNode("",!0)])]),_:1},8,["modelValue","options"])}}},X0="/api/app/v1/${appid}/menu",ms={__name:"MenuSelection",props:o.mergeModels({menuName:{type:String,default:""},valueField:{type:String,default:"displayLabel"},displayField:{type:String,default:"displayLabel"},searchKey:{type:String,default:"displayLabel"},searchValue:{type:String,default:""},options:{type:Array,default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:modelValue","onChange"],["update:modelValue"]),setup(e,{emit:t}){const n=t;o.useModel(e,"modelValue");function r(a){n("update:modelValue",a),n("onChange",a)}return(a,i)=>(o.openBlock(),o.createBlock(Rn,{modelValue:e.menuName,url:X0,jsonPath:"response",displayField:e.displayField,method:"GET",options:e.options,onOnChange:r,valueField:e.valueField},null,8,["modelValue","displayField","options","valueField"]))}},J0={class:"flex items-center"},ps=Oe({__name:"DynamicMultiSelection",props:{modelValue:{type:Array,default:()=>[]},placeholder:{type:String,default:"Select options..."},url:String,jsonPath:String,displayField:{type:String,default:"label"},valueField:{type:String,default:""},method:{type:String,default:"GET"},options:{type:Array,default:()=>[]}},emits:["update:modelValue","onChange"],setup(e,{emit:t}){const n=we(),r=()=>n.getAppId(),a=e;console.log("DynamicMultiSelection props:",a);const i=t,l=o.ref(Array.isArray(a.modelValue)?[...a.modelValue]:[]),s=o.ref([]),u=o.computed(()=>a.options.length?"label":a.displayField),c=o.computed(()=>!a.valueField),d=o.computed(()=>c.value?void 0:a.options.length?"value":a.valueField);o.computed(()=>a.options.length?"value":a.valueField);function m(g,h){if(!h)return Array.isArray(g)?g:[];const b=h.split(".").reduce((y,w)=>{var v;const k=w.match(/^(\w+)\[(\d+)\]$/);if(k){const[,S,R]=k;return((v=y==null?void 0:y[S])==null?void 0:v[parseInt(R)])??null}else return y==null?void 0:y[w]},g);return console.log("Extracted value:",b),Array.isArray(b)?b:b?[b]:[]}async function f(){if(!a.url||a.options.length)return;const g=a.url.includes("appid")?a.url.replace("${appid}",r()):a.url;try{const b=await(await fetch(g,{method:a.method.toUpperCase(),headers:{"Content-Type":"application/json"},...a.method.toUpperCase()==="POST"?{body:"{}"}:{}})).json();s.value=m(b,a.jsonPath),p(a.modelValue)}catch(h){console.error("Error fetching options:",h)}}o.onMounted(()=>{a.options.length?s.value=a.options:f(),p(a.modelValue)}),o.watch(()=>a.modelValue,g=>{l.value=Array.isArray(g)?[...g]:[],p(g)}),o.watch(l,g=>{let h=[];c.value?h=g:h=g.map(b=>b),JSON.stringify(h)!==JSON.stringify(a.modelValue)&&(i("update:modelValue",h),i("onChange",h))}),o.watch(()=>a.options,g=>{g.length&&(s.value=g,p(a.modelValue))},{immediate:!0});function p(g){l.value=Array.isArray(g)?[...g]:[]}return(g,h)=>{const b=o.resolveComponent("MultiSelect");return o.openBlock(),o.createBlock(b,{modelValue:l.value,"onUpdate:modelValue":h[0]||(h[0]=y=>l.value=y),options:s.value,filter:a.options.length==0,optionLabel:u.value,optionValue:d.value,placeholder:e.placeholder||"Select options...",display:"chip",class:"w-full"},{option:o.withCtx(y=>[o.createElementVNode("div",J0,[o.createElementVNode("div",null,o.toDisplayString(y.option[u.value]||y.option.label),1)])]),_:1},8,["modelValue","options","filter","optionLabel","optionValue","placeholder"])}}},[["__scopeId","data-v-e5723a1c"]]),Z0={key:1},ek="/api/app/v1/${appid}/security/roles",gs={__name:"RolesSelection",props:o.mergeModels({valueField:{type:String,default:""},searchKey:{type:String,default:"first_name"},searchValue:{type:String,default:"Eve"},options:{type:Array,default:()=>[]},modelValue:{type:Object,default:null},roles:{type:[Array,String],default:()=>[]},permissions:{type:[Array,String],default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:modelValue","onChange"],["update:modelValue"]),setup(e,{emit:t}){o.ref(null);const n=e,r=t;o.useModel(e,"modelValue");const a=o.ref(!0),{hasMatchingRoleAndPermissions:i}=zt();o.onMounted(async()=>{a.value=await i(n.roles,n.permissions)});function l(s){r("update:modelValue",JSON.stringify(s)),r("onChange",JSON.stringify(s))}return(s,u)=>a.value?(o.openBlock(),o.createBlock(ps,{key:0,modelValue:e.modelValue,url:ek,jsonPath:"",displayField:"roleName",method:"GET",options:e.options,onOnChange:l,valueField:e.valueField,placeholder:"Select Roles..."},null,8,["modelValue","options","valueField"])):(o.openBlock(),o.createElementBlock("p",Z0,"You do not have the required permissions to access this feature."))}},tk={key:1},nk="/api/app/v1/${appid}/security/permission",hs={__name:"PermissionSelection",props:o.mergeModels({valueField:{type:String,default:""},options:{type:Array,default:()=>[]},modelValue:{type:Object,default:null},roles:{type:[Array,String],default:()=>[]},permissions:{type:[Array,String],default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:modelValue","onChange"],["update:modelValue"]),setup(e,{emit:t}){o.ref(null);const n=e,r=t;o.useModel(e,"modelValue");const a=o.ref(!0),{hasMatchingRoleAndPermissions:i}=zt();o.onMounted(async()=>{a.value=await i(n.roles,n.permissions)});function l(s){r("update:modelValue",JSON.stringify(s)),r("onChange",JSON.stringify(s))}return(s,u)=>a.value?(o.openBlock(),o.createBlock(ps,{key:0,modelValue:e.modelValue,url:nk,jsonPath:"",displayField:"permissionName",method:"GET",options:e.options,onOnChange:l,valueField:e.valueField,placeholder:"Select Permissions..."},null,8,["modelValue","options","valueField"])):(o.openBlock(),o.createElementBlock("p",tk,"You do not have the required permissions to access this feature."))}},bs={__name:"label",props:{label:{type:String,default:"Default Label Text"},labelFontSize:{type:Number,default:28}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",o.normalizeProps(o.guardReactiveProps(t.$attrs)),[o.createElementVNode("span",{style:o.normalizeStyle({fontSize:e.labelFontSize+"px",textAlign:t.textAlign})},o.toDisplayString(e.label),5)],16))}},ok={class:"max-w-sm mx-auto p-6 bg-white shadow rounded"},rk={class:"text-xl font-bold mb-4"},ak=["action"],ik={class:"mb-4"},lk={class:"mb-4"},sk={class:"flex items-center mb-4"},ys={__name:"Login",props:{rememberMe:{type:Boolean,default:!1},title:{type:String,default:"Login with Codesaaz"},buttonSize:{type:String,default:"large"},buttonType:{type:String,default:"primary"},formSubmitUrl:{type:String,default:"/login"}},setup(e){const t=e,n=o.ref(""),r=o.ref(""),a=o.ref(t.rememberMe),i=o.computed(()=>{let l="",s="";switch(t.buttonSize){case"small":l="padding: 0.5rem 1rem; font-size: 0.875rem;";break;case"medium":l="padding: 0.75rem 1.5rem; font-size: 1rem;";break;case"large":default:l="padding: 1rem 2rem; font-size: 1.125rem;";break}switch(t.buttonType){case"info":s="background-color: #38b2ac; color: white;";break;case"danger":s="background-color: #e53e3e; color: white;";break;case"primary":default:s="background-color: #3182ce; color: white;";break}return`${l} ${s}`});return(l,s)=>(o.openBlock(),o.createElementBlock("div",ok,[o.createElementVNode("h2",rk,o.toDisplayString(e.title),1),o.createElementVNode("form",{action:e.formSubmitUrl,method:"POST"},[o.createElementVNode("div",ik,[s[3]||(s[3]=o.createElementVNode("label",{class:"block mb-1"},"Username",-1)),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":s[0]||(s[0]=u=>n.value=u),name:"username",type:"text",class:"w-full border rounded p-2",required:""},null,512),[[o.vModelText,n.value]])]),o.createElementVNode("div",lk,[s[4]||(s[4]=o.createElementVNode("label",{class:"block mb-1"},"Password",-1)),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":s[1]||(s[1]=u=>r.value=u),name:"password",type:"password",class:"w-full border rounded p-2",required:""},null,512),[[o.vModelText,r.value]])]),o.createElementVNode("div",sk,[o.withDirectives(o.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":s[2]||(s[2]=u=>a.value=u),name:"rememberMe",class:"mr-2"},null,512),[[o.vModelCheckbox,a.value]]),s[5]||(s[5]=o.createElementVNode("label",null,"Remember Me",-1))]),o.createElementVNode("button",{type:"submit",style:o.normalizeStyle(i.value),class:"w-full rounded py-2 text-white"}," Login ",4)],8,ak)]))}},ck={class:"max-w-sm mx-auto p-6 bg-white shadow rounded"},dk={class:"text-xl font-bold mb-4"},uk=["action"],fk={class:"mb-4"},mk={class:"mb-4"},pk={class:"mb-4"},gk={class:"flex items-center mb-4"},ks={__name:"Signup",props:{agreeToTerms:{type:Boolean,default:!1},title:{type:String,default:"Sign Up for Codesaaz"},buttonSize:{type:String,default:"large"},buttonType:{type:String,default:"success"},formSubmitUrl:{type:String,default:"/signup"}},setup(e){const t=e,n=o.ref(""),r=o.ref(""),a=o.ref(""),i=o.ref(t.agreeToTerms),l=o.computed(()=>{let s="",u="";switch(t.buttonSize){case"medium":s="padding: 8px 16px; font-size: 14px;";break;case"small":s="padding: 6px 12px; font-size: 12px;";break;case"large":default:s="padding: 10px 20px; font-size: 16px;";break}switch(t.buttonType){case"danger":u="background-color: #dc2626; color: white;";break;case"warning":u="background-color: #f59e0b; color: white;";break;case"success":default:u="background-color: #10b981; color: white;";break}return`${s} ${u} border-radius: 4px;`});return(s,u)=>(o.openBlock(),o.createElementBlock("div",ck,[o.createElementVNode("h2",dk,o.toDisplayString(e.title),1),o.createElementVNode("form",{action:e.formSubmitUrl,method:"POST"},[o.createElementVNode("div",fk,[u[4]||(u[4]=o.createElementVNode("label",{class:"block mb-1"},"Full Name",-1)),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":u[0]||(u[0]=c=>n.value=c),name:"fullName",type:"text",class:"w-full border rounded p-2",required:""},null,512),[[o.vModelText,n.value]])]),o.createElementVNode("div",mk,[u[5]||(u[5]=o.createElementVNode("label",{class:"block mb-1"},"Email",-1)),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":u[1]||(u[1]=c=>r.value=c),name:"email",type:"email",class:"w-full border rounded p-2",required:""},null,512),[[o.vModelText,r.value]])]),o.createElementVNode("div",pk,[u[6]||(u[6]=o.createElementVNode("label",{class:"block mb-1"},"Password",-1)),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":u[2]||(u[2]=c=>a.value=c),name:"password",type:"password",class:"w-full border rounded p-2",required:""},null,512),[[o.vModelText,a.value]])]),o.createElementVNode("div",gk,[o.withDirectives(o.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":u[3]||(u[3]=c=>i.value=c),name:"agreeToTerms",class:"mr-2",required:""},null,512),[[o.vModelCheckbox,i.value]]),u[7]||(u[7]=o.createElementVNode("label",null,"I agree to the terms and conditions",-1))]),o.createElementVNode("button",{type:"submit",style:o.normalizeStyle(l.value),class:"w-full rounded py-2 text-white"}," Sign Up ",4)],8,uk)]))}},hk={class:"flex items-center border border-gray-300 rounded p-2 bg-white"},bk={key:0,class:"dropdown absolute z-10 w-full border border-gray-300 rounded bg-white p-2 max-h-60 overflow-y-auto shadow-lg"},yk={class:"tabs flex gap-2 mb-2"},kk=["onClick"],wk={class:"tabs flex gap-2 mb-3"},vk=["onClick"],xk={key:0,class:"icons grid-cols-4 gap-4"},Sk=["onClick"],Ck={class:"text-[10px] mt-1 truncate text-gray-700 font-medium"},Ek={key:1,class:"text-center text-gray-500 py-4"},Bk=100,ws={__name:"IconSelection",props:{modelValue:{type:String,default:null}},emits:["update:modelValue","onChange"],setup(e,{emit:t}){const n=e,r=t,a=o.ref(null),i=o.ref(n.modelValue),l=o.ref(!1),s=o.ref([]),u=o.ref([]),c=["font-awesome","primeicons"],d=["SOLID","REGULAR","FILLED"],m=o.ref(""),f=o.ref(""),p=async()=>{try{const v=new URLSearchParams;i.value&&v.append("keyword",i.value),m.value&&v.append("libraryName",m.value),f.value&&v.append("category",f.value);const R=await(await fetch(`/api/platform/v1/search/icon-library?${v}`)).json();s.value=R.response||[],u.value=s.value.map(B=>({name:B,class:B,library:m.value,category:f.value}))}catch(v){console.error("Error fetching icons:",v),u.value=[]}},g=async()=>{await p(),i.value&&(r("update:modelValue",i.value),r("onChange",i.value))},h=v=>{clearTimeout(k),i.value=v.name,l.value=!1,r("update:modelValue",v.name),r("onChange",v.name)},b=(v,S)=>{v==="library"&&(m.value=S),v==="category"&&(f.value=S),g()},y=v=>{a.value&&!a.value.contains(v.target)&&(l.value=!1)},w=o.computed(()=>u.value.slice(0,Bk));o.onMounted(()=>{p(),document.addEventListener("click",y)}),o.onBeforeUnmount(()=>{document.removeEventListener("click",y)});let k;return o.watch(i,()=>{clearTimeout(k),k=setTimeout(g,300)}),o.watch(()=>n.modelValue,v=>{i.value=v}),(v,S)=>(o.openBlock(),o.createElementBlock("div",{class:"icon-selection w-full max-w-md mx-auto relative",ref_key:"iconContainer",ref:a},[o.createElementVNode("div",hk,[i.value?(o.openBlock(),o.createElementBlock("i",{key:0,class:o.normalizeClass(["fa",i.value,"fa-lg","text-gray-600","mr-2"]),style:{"min-width":"20px"}},null,2)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":S[0]||(S[0]=R=>i.value=R),onFocus:S[1]||(S[1]=R=>l.value=!0),type:"text",placeholder:"Search icons...",class:"flex-1 outline-none text-gray-800 placeholder-gray-400"},null,544),[[o.vModelText,i.value]]),S[2]||(S[2]=o.createElementVNode("i",{class:"fas fa-search text-xl text-gray-700"},null,-1))]),l.value?(o.openBlock(),o.createElementBlock("div",bk,[o.createElementVNode("div",yk,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(c,R=>o.createElementVNode("button",{key:R,class:o.normalizeClass(["flex-1 p-1 text-sm rounded font-semibold",m.value===R?"bg-blue-500 text-white":"bg-gray-200 text-gray-700"]),onClick:B=>b("library",R)},o.toDisplayString(R),11,kk)),64))]),o.createElementVNode("div",wk,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(d,R=>o.createElementVNode("button",{key:R,class:o.normalizeClass(["flex-1 p-1 text-sm rounded font-semibold capitalize",f.value===R?"bg-blue-500 text-white":"bg-gray-200 text-gray-700"]),onClick:B=>b("category",R)},o.toDisplayString(R),11,vk)),64))]),u.value.length?(o.openBlock(),o.createElementBlock("div",xk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(w.value,(R,B)=>(o.openBlock(),o.createElementBlock("div",{key:B,class:"icon-item text-center cursor-pointer hover:bg-gray-100 p-2 rounded transition-all",onClick:C=>h(R)},[o.createElementVNode("i",{class:o.normalizeClass([R.name,"text-xl","text-gray-700"])},null,2),o.createElementVNode("div",Ck,o.toDisplayString(R.name),1)],8,Sk))),128))])):(o.openBlock(),o.createElementBlock("div",Ek,"No icons found"))])):o.createCommentVNode("",!0)],512))}},$k={key:1,class:"bg-white text-black-500"},vs=Oe({__name:"IconComponent",props:{iconName:{type:String,required:!1}},setup(e){return(t,n)=>e.iconName?(o.openBlock(),o.createElementBlock("i",{key:0,class:o.normalizeClass([e.iconName,"text-xl","text-gray-700"])},null,2)):(o.openBlock(),o.createElementBlock("span",$k,"Please Select Icon from Settings"))}},[["__scopeId","data-v-e95232b1"]]),Nk={key:0,class:"global-loader-overlay"},xs=Oe({__name:"GlobalLoader",setup(e){const t=Jn(),{loading:n}=As(t);return(r,a)=>o.unref(n)?(o.openBlock(),o.createElementBlock("div",Nk,a[0]||(a[0]=[o.createElementVNode("div",{class:"global-loader-container"},[o.createElementVNode("div",{class:"global-loader-spinner"},[o.createElementVNode("div",{class:"spinner"})]),o.createElementVNode("div",{class:"global-loader-text"},"Loading...")],-1)]))):o.createCommentVNode("",!0)}},[["__scopeId","data-v-a5bed64b"]]);function Ss(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getCssClasses:async(s,u,c=!1)=>{const d=i(),m=new URLSearchParams;return u&&m.append("className",u),s&&m.append("category",s),await t(`/api/platform/v1/search/${d}/css-class?${m.toString()}`,c)}}}const Ok={class:"flex items-stretch min-h-[2.5rem] p-0 border border-gray-300 rounded-md bg-white cursor-text transition-colors overflow-hidden"},Vk={class:"relative flex-1 min-w-[100px] self-center"},Tk={class:"flex-shrink-0"},Ik={class:"tabs flex flex-wrap gap-2 m-3"},Pk={class:"overflow-y-auto flex-1"},Rk={key:0,class:"px-3 text-sm py-2 text-gray-500"},Fk=["onClick"],Cs=Oe({__name:"ClassesSelection",props:{modelValue:{type:Array,default:()=>[]},placeholder:{type:String,default:"Type to search or add new class"},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=new Ss,i=o.ref(null),l=o.ref(null),s=o.ref(""),u=o.ref(!1),c=o.ref(["All","Custom","Tailwind"]),d=o.ref("All"),m=o.ref([]),f=o.computed({get:()=>n.modelValue||[],set:E=>r("update:modelValue",E)}),p=async()=>{try{let E="";d.value!="All"&&(E=JSON.parse(JSON.stringify(d.value)));const A=await a.getCssClasses(E,s.value,!1);A&&A.response&&(m.value=A.response||[])}catch(E){console.error("Error getting classes:",E.errorMessage)}},g=E=>{d.value=E,p()},h=()=>{p(),u.value||(u.value=!0)},b=()=>{u.value=!0},y=E=>{const A=E==null?void 0:E.trim();if(!A||f.value.includes(A)){s.value="";return}f.value=[...f.value,A],s.value="",u.value=!1,S()},w=E=>{f.value=f.value.filter(A=>A!==E)},k=E=>{y(E),u.value=!1},v=()=>{s.value.trim()&&y(s.value)},S=()=>{o.nextTick(()=>{var A,x,$,I;const E=((x=(A=i.value)==null?void 0:A.$el)==null?void 0:x.querySelector("input"))||(($=i.value)==null?void 0:$.$el)||i.value;(I=E==null?void 0:E.focus)==null||I.call(E)})},R=E=>{E.target===E.currentTarget&&(S(),u.value||b())},B=E=>{E.target.closest(".p-chip-remove-icon")||(S(),u.value||b())},C=E=>{E.target===E.currentTarget&&(S(),u.value||b())},_=E=>{E==null||E.stopPropagation(),u.value=!u.value,u.value&&S()},z=E=>{var A;!((A=l.value)!=null&&A.contains(E.target))&&!E.target.closest(".multi-select-chips-wrapper")&&(u.value=!1)};return o.onMounted(()=>{document.addEventListener("click",z),p()}),o.onBeforeUnmount(()=>{document.removeEventListener("click",z)}),(E,A)=>{const x=o.resolveComponent("Chip"),$=o.resolveComponent("InputText"),I=o.resolveComponent("Button");return o.openBlock(),o.createElementBlock("div",{class:"relative w-full multi-select-chips-wrapper",onClick:C},[o.createElementVNode("div",Ok,[o.createElementVNode("div",{class:"flex flex-wrap items-center flex-1 gap-2 p-1 min-h-full",onClick:R},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(f.value,(O,D)=>(o.openBlock(),o.createBlock(x,{key:`chip-${D}-${O}`,label:O,removable:"",onRemove:W=>w(O),onClick:B,class:"m-0 flex-shrink-0 whitespace-nowrap h-fit self-center"},null,8,["label","onRemove"]))),128)),o.createElementVNode("div",Vk,[o.createVNode($,{style:{border:"none"},ref_key:"inputRef",ref:i,modelValue:s.value,"onUpdate:modelValue":A[0]||(A[0]=O=>s.value=O),placeholder:f.value.length===0?e.placeholder:"",onKeydown:o.withKeys(o.withModifiers(v,["prevent"]),["enter"]),onInput:h,onFocus:b,disabled:e.disabled,class:"w-full p-0 border-0 shadow-none focus:ring-0 focus:outline-none focus:shadow-none bg-transparent"},null,8,["modelValue","placeholder","onKeydown","disabled"])])]),o.createElementVNode("div",null,[o.createVNode(I,{style:{"border-radius":"0"},icon:"pi pi-chevron-down",disabled:e.disabled,variant:"text",onClick:o.withModifiers(_,["stop"]),class:"flex-shrink-0 w-10 h-full p-0 m-0 border-0 border-l border-gray-300 hover:bg-gray-100"},null,8,["disabled"])])]),u.value?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"dropdownRef",ref:l,class:"absolute z-50 w-full bg-white border border-gray-300 rounded-md shadow-lg max-h-60 flex flex-col"},[o.createElementVNode("div",Tk,[o.createElementVNode("div",Ik,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.value,O=>(o.openBlock(),o.createBlock(I,{key:O,size:"small",class:o.normalizeClass(["px-3 py-2 text-sm rounded font-semibold capitalize cursor-pointer whitespace-nowrap"]),onClick:D=>g(O),label:O,severity:d.value===O?"info":"secondary"},null,8,["onClick","label","severity"]))),128))])]),o.createElementVNode("div",Pk,[m.value.length===0?(o.openBlock(),o.createElementBlock("div",Rk," No options found ")):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(m.value,(O,D)=>(o.openBlock(),o.createElementBlock("div",{key:`opt-${D}-${O}`,class:"px-3 py-2 text-sm cursor-pointer hover:bg-gray-100",onClick:o.withModifiers(W=>k(O),["stop"])},o.toDisplayString(O),9,Fk))),128))])],512)):o.createCommentVNode("",!0)])}}},[["__scopeId","data-v-101758fe"]]);function Es(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getPage:async(g,h=!1)=>{const b=i();return await t(`/api/app/v1/${b}/content/page/${g}`,h)},getPages:async(g=!1)=>{const h=i();return await t(`/api/app/v1/${h}/content/page?page=1&pageSize=50`,g)},createPage:async(g,h,b=!1)=>{let w=`/api/app/v1/${i()}/content/page`;return h&&h.trim()!==""&&(w+=`?tag=${encodeURIComponent(h)}`),await n(w,g,b)},updatePage:async(g,h,b,y=!1)=>{let k=`/api/app/v1/${i()}/content/page/${g}`;return b&&b.trim()!==""&&(k+=`?tag=${encodeURIComponent(b)}`),await r(k,h,y)},deletePage:async(g,h=!1)=>{const b=i();return await a(`/api/app/v1/${b}/content/page/${g}`,{},h)},generateSinglePage:async(g,h=!0)=>await n("/api/ai/generate/page",g,h),getAllPageVersions:async(g,h=!1)=>{const b=i();return await t(`/api/app/v1/${b}/content/page/${g}/versions`,h)},restorePageVersion:async(g,h,b=!0)=>{const y=i();return await n(`/api/app/v1/${y}/content/page/${g}/versions/${h}/restore`,{},b)}}}const Ak={class:"w-full"},Bs={__name:"PageSelection",props:{url:{type:String,default:""}},emits:["page-selected"],setup(e,{emit:t}){const n=e,r=t,a=Es(),i=o.ref([]),l=o.ref(null),s=o.ref(!1),u=async()=>{try{const m=await a.getPages();m&&m.response&&(i.value=m.response,c())}catch(m){console.error("Error fetching pages",m)}finally{}},c=()=>{if(n.url&&i.value.length>0){const m=i.value.find(f=>f.url===n.url);m&&(l.value=m)}},d=m=>{r("page-selected",m)};return o.watch(()=>n.url,m=>{c()}),o.watch(l,m=>{d(m)}),o.onMounted(()=>{u()}),(m,f)=>{const p=o.resolveComponent("Select");return o.openBlock(),o.createElementBlock("div",Ak,[o.createVNode(p,{modelValue:l.value,"onUpdate:modelValue":f[0]||(f[0]=g=>l.value=g),options:i.value,optionLabel:"name",filter:"",placeholder:"Select a Page",class:"w-full",loading:s.value},null,8,["modelValue","options","loading"])])}}},Dk=zn("currentUser",{state:()=>({user:{}}),actions:{setCurrentUser(e){this.user=e}},getters:{getCurrentUser:e=>e.user}}),_e=o.reactive({preset:"Aura",primary:"emerald",surface:null,darkTheme:!1,menuMode:"slim-plus",menuTheme:"light"}),Te=o.reactive({staticMenuDesktopInactive:!1,overlayMenuActive:!1,configSidebarVisible:!1,staticMenuMobileActive:!1,menuHoverActive:!1,rightMenuActive:!1,topbarMenuActive:!1,sidebarActive:!1,anchored:!1,activeMenuItem:null,overlaySubmenuActive:!1});function _k(){const e=p=>{if(_e.menuMode=p,p==="static"&&(Te.staticMenuDesktopInactive=!1),p==="horizontal")if(_e.darkTheme){if(!document.startViewTransition){_e.menuTheme="dark";return}document.startViewTransition(()=>_e.menuTheme="dark")}else{if(!document.startViewTransition){_e.menuTheme="light";return}document.startViewTransition(()=>_e.menuTheme="light")}},t=p=>{Te.activeMenuItem=p.value||p},n=()=>{_e.menuMode==="overlay"&&(Te.overlayMenuActive=!Te.overlayMenuActive),window.innerWidth>991?Te.staticMenuDesktopInactive=!Te.staticMenuDesktopInactive:Te.staticMenuMobileActive=!Te.staticMenuMobileActive},r=()=>{a.value&&(Te.overlayMenuActive=!1,Te.overlaySubmenuActive=!1,Te.staticMenuMobileActive=!1,Te.menuHoverActive=!1,Te.configSidebarVisible=!1),Te.configSidebarVisible=!Te.configSidebarVisible},a=o.computed(()=>Te.overlayMenuActive||Te.staticMenuMobileActive||Te.overlaySubmenuActive),i=o.computed(()=>window.innerWidth>991),l=o.computed(()=>_e.menuMode==="slim"),s=o.computed(()=>_e.menuMode==="slim-plus"),u=o.computed(()=>_e.menuMode==="horizontal"),c=o.computed(()=>_e.menuMode==="overlay"),d=o.computed(()=>_e.darkTheme),m=o.computed(()=>_e.primary),f=o.computed(()=>_e.surface);return{layoutConfig:_e,layoutState:Te,getPrimary:m,getSurface:f,isDarkTheme:d,setMenuMode:e,toggleMenu:n,isSidebarActive:a,setActiveMenuItem:t,toggleConfigSidebar:r,isSlim:l,isSlimPlus:s,isHorizontal:u,isDesktop:i,isOverlay:c}}var Lk={root:{transitionDuration:"{transition.duration}"},panel:{borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},header:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},content:{borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"}},zk={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}}},Mk={root:{width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},icon:{size:"1rem"},group:{borderColor:"{content.background}",offset:"-0.75rem"},lg:{width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},xl:{width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}}},jk={root:{borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},dot:{size:"0.5rem"},sm:{fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},lg:{fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},xl:{fontSize:"1rem",minWidth:"2rem",height:"2rem"},colorScheme:{light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}},Uk={primitive:{borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},semantic:{transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}}},Hk={root:{borderRadius:"{content.border.radius}"}},Wk={root:{padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},item:{color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},separator:{color:"{navigation.item.icon.color}"}},qk={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},colorScheme:{light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}}},Kk={root:{background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},body:{padding:"1.25rem",gap:"0.5rem"},caption:{gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"500"},subtitle:{color:"{text.muted.color}"}},Gk={root:{transitionDuration:"{transition.duration}"},content:{gap:"0.25rem"},indicatorList:{padding:"1rem",gap:"0.5rem"},indicator:{width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}}},Yk={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},clearIcon:{color:"{form.field.icon.color}"}},Qk={root:{borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}}},Xk={root:{borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},image:{width:"2rem",height:"2rem"},icon:{size:"1rem"},removeIcon:{size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},colorScheme:{light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}}},Jk={root:{transitionDuration:"{transition.duration}"},preview:{width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},panel:{shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},colorScheme:{light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}}},Zk={icon:{size:"2rem",color:"{overlay.modal.color}"},content:{gap:"1rem"}},e1={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}",gap:"1rem"},icon:{size:"1.5rem",color:"{overlay.popover.color}"},footer:{gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"}},t1={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}},n1={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{datatable.border.color}",padding:"0.75rem 1rem"},footerCell:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},dropPoint:{color:"{primary.color}"},columnResizerWidth:"0.5rem",resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},rowToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},filter:{inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},paginatorTop:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}},o1={root:{borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},header:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},content:{background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},footer:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"}},r1={root:{transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},header:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},title:{gap:"0.5rem",fontWeight:"500"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},inputIcon:{color:"{form.field.icon.color}"},selectMonth:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},selectYear:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},group:{borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},dayView:{margin:"0.5rem 0 0 0"},weekDay:{padding:"0.25rem",fontWeight:"500",color:"{content.color}"},date:{hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},monthView:{margin:"0.5rem 0 0 0"},month:{padding:"0.375rem",borderRadius:"{content.border.radius}"},yearView:{margin:"0.5rem 0 0 0"},year:{padding:"0.375rem",borderRadius:"{content.border.radius}"},buttonbar:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},timePicker:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},colorScheme:{light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}}},a1={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}",gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"}},i1={root:{borderColor:"{content.border.color}"},content:{background:"{content.background}",color:"{text.color}"},horizontal:{margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},vertical:{margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}}},l1={root:{background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},item:{borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},s1={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}"},title:{fontSize:"1.5rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"{overlay.modal.padding}"}},c1={toolbar:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},toolbarItem:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},overlayOption:{focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},content:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"}},d1={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},legend:{background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},content:{padding:"0"}},u1={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},content:{highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},file:{padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},fileList:{gap:"0.5rem"},progressbar:{height:"0.25rem"},basic:{gap:"0.5rem"}},f1={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},over:{active:{top:"-1.25rem"}},in:{input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},on:{borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}}},m1={root:{borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},navButton:{background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},navIcon:{size:"1.5rem"},thumbnailsContent:{background:"{content.background}",padding:"1rem 0.25rem"},thumbnailNavButton:{size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},thumbnailNavButtonIcon:{size:"1rem"},caption:{background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},indicatorList:{gap:"0.5rem",padding:"1rem"},indicatorButton:{width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},insetIndicatorList:{background:"rgba(0, 0, 0, 0.5)"},insetIndicatorButton:{background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},closeButton:{size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},closeButtonIcon:{size:"1.5rem"},colorScheme:{light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}}},p1={icon:{color:"{form.field.icon.color}"}},g1={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"}},h1={root:{transitionDuration:"{transition.duration}"},preview:{icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},toolbar:{position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},action:{hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},b1={handle:{size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},y1={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},text:{fontWeight:"500"},icon:{size:"1rem"},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}}},k1={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},display:{hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"}},w1={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},chip:{borderRadius:"{border.radius.sm}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}}},v1={addon:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"}},x1={root:{transitionDuration:"{transition.duration}"},button:{width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},colorScheme:{light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}}},S1={root:{gap:"0.5rem"},input:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}}},C1={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}},E1={root:{transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},value:{background:"{primary.color}"},range:{background:"{content.border.color}"},text:{color:"{text.muted.color}"}},B1={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}}},$1={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},overlay:{padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},N1={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},separator:{borderColor:"{content.border.color}"}},O1={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},V1={root:{borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},content:{padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},text:{fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},icon:{size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},outlined:{root:{borderWidth:"1px"}},simple:{content:{padding:"0"}},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}}},T1={root:{borderRadius:"{content.border.radius}",gap:"1rem"},meters:{background:"{content.border.color}",size:"0.5rem"},label:{gap:"0.5rem"},labelMarker:{size:"0.5rem"},labelIcon:{size:"1rem"},labelList:{verticalGap:"0.5rem",horizontalGap:"1rem"}},I1={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"}},P1={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}},R1={root:{gutter:"0.75rem",transitionDuration:"{transition.duration}"},node:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},nodeToggleButton:{background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},connector:{color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"}},F1={root:{outline:{width:"2px",color:"{content.background}"}}},A1={root:{padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},navButton:{background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},currentPageReport:{color:"{text.muted.color}"},jumpToPageInput:{maxWidth:"2.5rem"}},D1={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},toggleableHeader:{padding:"0.375rem 1.125rem"},title:{fontWeight:"600"},content:{padding:"0 1.125rem 1.125rem 1.125rem"},footer:{padding:"0 1.125rem 1.125rem 1.125rem"}},_1={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenu:{indent:"1rem"},submenuIcon:{color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"}},L1={meter:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},icon:{color:"{form.field.icon.color}"},overlay:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},content:{gap:"0.5rem"},colorScheme:{light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}}},z1={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}},M1={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}"}},j1={root:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},value:{background:"{primary.color}"},label:{color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"}},U1={colorScheme:{light:{root:{"color.1":"{red.500}","color.2":"{blue.500}","color.3":"{green.500}","color.4":"{yellow.500}"}},dark:{root:{"color.1":"{red.400}","color.2":"{blue.400}","color.3":"{green.400}","color.4":"{yellow.400}"}}}},H1={root:{width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}}},W1={root:{gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},icon:{size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},q1={colorScheme:{light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}}},K1={root:{transitionDuration:"{transition.duration}"},bar:{size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}}},G1={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"}},Y1={root:{borderRadius:"{form.field.border.radius}"},colorScheme:{light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}}},Q1={root:{borderRadius:"{content.border.radius}"},colorScheme:{light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}}},X1={root:{transitionDuration:"{transition.duration}"},track:{background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},range:{background:"{primary.color}"},handle:{width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{handle:{contentBackground:"{surface.0}"}},dark:{handle:{contentBackground:"{surface.950}"}}}},J1={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"}},Z1={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"}},ew={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},gutter:{background:"{content.border.color}"},handle:{size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},tw={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},step:{padding:"0.5rem",gap:"1rem"},stepHeader:{padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},stepTitle:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},stepNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},steppanels:{padding:"0.875rem 0.5rem 1.125rem 0.5rem"},steppanel:{background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"}},nw={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}"},itemLink:{borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},itemLabel:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},itemNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},ow={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},item:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},itemIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"}},rw={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},tab:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},tabpanel:{background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}},aw={root:{transitionDuration:"{transition.duration}"},tabList:{background:"{content.background}",borderColor:"{content.border.color}"},tab:{borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},tabPanel:{background:"{content.background}",color:"{content.color}"},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}},iw={root:{fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},icon:{size:"0.75rem"},colorScheme:{light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}},lw={root:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},prompt:{gap:"0.25rem"},commandResponse:{margin:"2px 0"}},sw={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}},cw={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}},dw={event:{minHeight:"5rem"},horizontal:{eventContent:{padding:"1rem 0"}},vertical:{eventContent:{padding:"0 1rem"}},eventMarker:{size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},eventConnector:{color:"{content.border.color}",size:"2px"}},uw={root:{width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},icon:{size:"1.125rem"},content:{padding:"{overlay.popover.padding}",gap:"0.5rem"},text:{gap:"0.5rem"},summary:{fontWeight:"500",fontSize:"1rem"},detail:{fontWeight:"500",fontSize:"0.875rem"},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem"},colorScheme:{light:{blur:"1.5px",info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{blur:"10px",info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}}},fw={root:{padding:"0.5rem 1rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.375rem 0.75rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.625rem 1.25rem"}},icon:{disabledColor:"{form.field.disabled.color}"},content:{left:"0.25rem",top:"0.25rem",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)"},colorScheme:{light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}}},mw={root:{width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},handle:{borderRadius:"50%",size:"1rem"},colorScheme:{light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}}},pw={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"}},gw={root:{maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},colorScheme:{light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}}},hw={root:{background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},node:{padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},nodeIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},nodeToggleButton:{borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},loadingIcon:{size:"2rem"},filter:{margin:"0 0 0.5rem 0"}},bw={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},tree:{padding:"{list.padding}"},clearIcon:{color:"{form.field.icon.color}"},emptyMessage:{padding:"{list.option.padding}"},chip:{borderRadius:"{border.radius.sm}"}},yw={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},footerCell:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},columnResizerWidth:"0.5rem",resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},nodeToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}},kw={loader:{mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}}};function Fn(e){"@babel/helpers - typeof";return Fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fn(e)}function $s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ns(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$s(Object(n),!0).forEach(function(r){ww(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$s(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ww(e,t,n){return(t=vw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vw(e){var t=xw(e,"string");return Fn(t)=="symbol"?t:t+""}function xw(e,t){if(Fn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Fn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Sw=Ns(Ns({},Uk),{},{components:{accordion:Lk,autocomplete:zk,avatar:Mk,badge:jk,blockui:Hk,breadcrumb:Wk,button:qk,datepicker:r1,card:Kk,carousel:Gk,cascadeselect:Yk,checkbox:Qk,chip:Xk,colorpicker:Jk,confirmdialog:Zk,confirmpopup:e1,contextmenu:t1,dataview:o1,datatable:n1,dialog:a1,divider:i1,dock:l1,drawer:s1,editor:c1,fieldset:d1,fileupload:u1,iftalabel:g1,floatlabel:f1,galleria:m1,iconfield:p1,image:h1,imagecompare:b1,inlinemessage:y1,inplace:k1,inputchips:w1,inputgroup:v1,inputnumber:x1,inputotp:S1,inputtext:C1,knob:E1,listbox:B1,megamenu:$1,menu:N1,menubar:O1,message:V1,metergroup:T1,multiselect:I1,orderlist:P1,organizationchart:R1,overlaybadge:F1,popover:M1,paginator:A1,password:L1,panel:D1,panelmenu:_1,picklist:z1,progressbar:j1,progressspinner:U1,radiobutton:H1,rating:W1,scrollpanel:K1,select:G1,selectbutton:Y1,skeleton:Q1,slider:X1,speeddial:J1,splitter:ew,splitbutton:Z1,stepper:tw,steps:nw,tabmenu:ow,tabs:rw,tabview:aw,textarea:sw,tieredmenu:cw,tag:iw,terminal:lw,timeline:dw,togglebutton:fw,toggleswitch:mw,tree:hw,treeselect:bw,treetable:yw,toast:uw,toolbar:pw,virtualscroller:kw},directives:{tooltip:gw,ripple:q1}});function Cw(){const{layoutState:e,layoutConfig:t,setMenuMode:n,isDarkTheme:r}=_k(),a={Aura:Sw};o.ref(Object.keys(a));const i=o.ref(t.preset);o.ref(t.darkTheme),o.ref(t.menuMode),o.ref([{name:"Light",value:!1},{name:"Dark",value:!0}]);const l=o.ref([{name:"noir",palette:{}},{name:"emerald",palette:{500:"#10b981"}},{name:"green",palette:{500:"#22c55e"}},{name:"lime",palette:{500:"#84cc16"}},{name:"orange",palette:{500:"#f97316"}},{name:"amber",palette:{500:"#f59e0b"}},{name:"yellow",palette:{500:"#eab308"}},{name:"teal",palette:{500:"#14b8a6"}},{name:"cyan",palette:{500:"#06b6d4"}},{name:"sky",palette:{500:"#0ea5e9"}},{name:"blue",palette:{500:"#3b82f6"}},{name:"indigo",palette:{500:"#6366f1"}},{name:"violet",palette:{500:"#8b5cf6"}},{name:"purple",palette:{500:"#a855f7"}},{name:"fuchsia",palette:{500:"#d946ef"}},{name:"pink",palette:{500:"#ec4899"}},{name:"rose",palette:{500:"#f43f5e"}}]),s=o.ref([{name:"slate",palette:{500:"#64748b"}},{name:"gray",palette:{500:"#6b7280"}},{name:"zinc",palette:{500:"#71717a"}},{name:"neutral",palette:{500:"#737373"}},{name:"stone",palette:{500:"#78716c"}},{name:"soho",palette:{500:"#8e8f93"}},{name:"viva",palette:{500:"#87898a"}},{name:"ocean",palette:{500:"#828787"}}]);function u(){if(!document.startViewTransition){c();return}document.startViewTransition(()=>c())}function c(){t.darkTheme=!t.darkTheme,t.menuTheme=r.value?"dark":"light",document.documentElement.classList.toggle("app-dark")}function d(){const g=l.value.find(h=>h.name===t.primary);if(g.name==="noir"){const h=[50,100,200,300,400,500,600,700,800,900,950],b={};return h.forEach(y=>{b[y]=`{surface.${y}}`}),{semantic:{primary:b,colorScheme:{light:{primary:{color:"{primary.950}",contrastColor:"#ffffff",hoverColor:"{primary.800}",activeColor:"{primary.700}"},highlight:{background:"{primary.950}",focusBackground:"{primary.700}",color:"#ffffff",focusColor:"#ffffff"}},dark:{primary:{color:"{primary.50}",contrastColor:"{primary.950}",hoverColor:"{primary.200}",activeColor:"{primary.300}"},highlight:{background:"{primary.50}",focusBackground:"{primary.300}",color:"{primary.950}",focusColor:"{primary.950}"}}}}}}else return{semantic:{primary:g.palette,colorScheme:{light:{primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"}},dark:{primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"}}}}}}function m(g){var h;if((h=g.semantic)!=null&&h.primary){const b=g.semantic.primary[500];document.documentElement.style.setProperty("--p-button-primary-background",b),document.documentElement.style.setProperty("--p-button-primary-border-color",b)}}function f(g,h){let b;if(g==="primary"){if(b=l.value.find(y=>y.name===h),!b)return;t.primary=b.name,m({semantic:{primary:b.palette}})}if(g==="surface"){if(b=s.value.find(y=>y.name===h),!b)return;t.surface=b.name,Xg(b.palette)}}function p(){var b;t.preset=i.value;const g=a[i.value],h=(b=s.value.find(y=>y.name===t.surface))==null?void 0:b.palette;Ji().preset(g).preset(d()).surfacePalette(h).use({useDefaultOptions:!0})}return{toggleDarkMode:u,updateColors:f,onPresetChange:p}}function Ew(){const e=new ze;return{getEntityRecord:async(n,r,a=!1)=>{var i;try{const l=await e.getRecord(n,r,a);if((l==null?void 0:l.success)===!1)throw l;return(i=l==null?void 0:l.response)==null?void 0:i.result}catch(l){throw l}finally{}}}}function Bw(){const e=new ze;return{getAllEntityRecords:async(n,r=!1)=>{var a;try{const i=await e.getEntityRecords(n,r);if((i==null?void 0:i.success)===!1)throw i;return(a=i==null?void 0:i.response)==null?void 0:a.result}catch{throw error}finally{}}}}function $w(){const e=new ze;return{addEntityRecord:async(n,r,a=!1)=>{var l;const i={dataDefinitions:Object.entries(r).map(([s,u])=>({recordColumnName:s,recordColumnValue:u}))};try{const s=await e.addRecordWithFetch(n,i,a);if((s==null?void 0:s.success)===!1)throw s;return(l=s==null?void 0:s.response)==null?void 0:l.result}catch(s){throw s}}}}function Nw(){const e=new ze;return{deleteEntityRecord:async(n,r,a=!1)=>{try{const i=await e.deleteRecord(n,r,a);if((i==null?void 0:i.success)===!1)throw i;return i==null?void 0:i.success}catch(i){throw i}finally{}}}}function Ow(){const e=new $o;return{externalRestAPICall:async(n,r=!1)=>{var a;try{n.httpMethod=(a=n.httpMethod)==null?void 0:a.toUpperCase();const i=await e.externalRestAPI(n,r);if((i==null?void 0:i.success)===!1)throw i;return i==null?void 0:i.response}catch(i){throw i}finally{}}}}function Os(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getNamedQueryByName:async(g,h=!1)=>{const b=i();return await t(`/api/app/v1/${b}/named-query/${g}`,h)},updateNamedQuery:async(g,h,b=!1)=>{const y=i();return await r(`/api/app/v1/${y}/named-query/${g}`,h,b)},deleteNamedQuery:async(g,h=!1)=>{const b=i();return await a(`/api/app/v1/${b}/named-query/${g}`,{},h)},getAllNamedQueries:async(g=!1)=>{const h=i();return await t(`/api/app/v1/${h}/named-query`,g)},createNewNameQuery:async(g,h=!1)=>{const b=i();return await n(`/api/app/v1/${b}/named-query`,g,h)},getAllNamedQueryNames:async(g=!1)=>{const h=i();return await t(`/api/app/v1/${h}/named-query`,g)},validateNameQuery:async(g,h=!1)=>{const b=i();return await n(`/api/app/v1/${b}/named-query/validate`,g,h)},executeNameQuery:async(g,h=!1)=>{const b=i();return await n(`/api/app/v1/${b}/named-query/execute`,g,h)}}}function Vw(){const e=new Os;return{executeQuery:async(n,r=!1)=>{var a;try{const i=await e.executeNameQuery(n,r);if((i==null?void 0:i.success)===!1)throw i;return(a=i==null?void 0:i.response)==null?void 0:a.result}catch(i){throw i}finally{}}}}function Tw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getThemes:async(m=!1)=>{const f=i();return await t(`/api/app/v1/${f}/theme`,m)},getThemesData:async(m,f=!1)=>(i(),await t(`/api/platform/v1/theme/${m}`,f)),saveTheme:async(m,f=!1)=>{const p=i();return await n(`/api/app/v1/${p}/theme`,m,f)},updateTheme:async(m,f,p=!1)=>{const g=i();return await r(`/api/app/v1/${g}/theme/${m}`,f,p)},deleteTheme:async(m,f=!1)=>{const p=i();return await a(`/api/app/v1/${p}/theme/${m}`,{},f)}}}function Iw(){const{get:e}=Pe();return{getPlatformComponents:async(r=!1)=>await e("/api/platform/v1/search/COMPONENT_PALLET?page=0&size=50&continue",r),getComponentTemplates:async(r,a=!1)=>await e(`api/platform/v1/search/COMPONENT_TEMPLATE?keyword=${r}&page=0&size=50`,a)}}function Pw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getLayouts:async(p=!1)=>{const g=i();return await t(`/api/app/v1/${g}/content/layout`,p)},getLayout:async(p,g=!1)=>{const h=i();return await t(`/api/app/v1/${h}/content/layout/${p}`,g)},updateLayout:async(p,g,h,b=!1)=>{let w=`/api/app/v1/${i()}/content/layout/${p}`;return h&&h.trim()!==""&&(w+=`?tag=${encodeURIComponent(h)}`),await r(w,g,b)},createLayout:async(p,g,h=!1)=>{let y=`/api/app/v1/${i()}/content/layout`;return g&&g.trim()!==""&&(y+=`?tag=${encodeURIComponent(g)}`),await r(y,p,h)},deleteLayout:async(p,g=!1)=>{const h=i();return await a(`/api/app/v1/${h}/content/layout/${p}`,{},g)},getAllLayoutVersions:async(p,g=!1)=>{const h=i();return await t(`/api/app/v1/${h}/content/layout/${p}/versions`,g)},restoreLayoutVersion:async(p,g,h=!0)=>{const b=i();return await n(`/api/app/v1/${b}/content/layout/${p}/versions/${g}/restore`,{},h)}}}function Rw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getGlobalVars:async(f=!1)=>{const p=i();return await t(`/api/app/v1/${p}/content/globalvars`,f)},addGlobalVars:async(f,p=!1)=>{const g=i();return await n(`/api/app/v1/${g}/content/globalvars`,f,p)},deleteVars:async(f,p=!1)=>{const g=i();return await a(`/api/app/v1/${g}/content/globalvars/${f}`,{},p)},getGlobalActions:async(f=!1)=>{const p=i();return await t(`/api/app/v1/${p}/content/globalaction`,f)},addGlobalAction:async(f,p=!1)=>{const g=i();return await n(`/api/app/v1/${g}/content/globalaction`,f,p)},deleteAction:async(f,p=!1)=>{const g=i();return await a(`/api/app/v1/${g}/content/globalaction/${f}`,{},p)}}}function Fw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getConnectionByID:async(h,b=!1)=>{const y=i();return await t(`/api/app/v1/${y}/external-connection/${h}`,b)},createConnection:async(h,b=!1)=>{const y=i();return await n(`/api/app/v1/${y}/external-connection`,h,b)},updateConnection:async(h,b,y=!1)=>{const w=i();return await r(`/api/app/v1/${w}/external-connection/${h}`,b,y)},deleteConnection:async(h,b=!1)=>{const y=i();return await a(`/api/app/v1/${y}/external-connection/${h}`,{},b)},getAllConnections:async(h=!1)=>{const b=i();return await t(`/api/app/v1/${b}/external-connection`,h)},initiateAuthorization:async(h,b=!1)=>{const y=i();return await t(`/api/app/v1/${y}/external-connection/${h}/authorize`,b)},testConnection:async(h,b=!1)=>await n("/api/platform/v1/datasource/connection",h,b),addConnectionResource:async(h,b,y=!1)=>{const w=i();return await n(`/api/app/v1/${w}/external-connection/${h}/import-openapi`,b,y)},getConnectionResource:async(h,b=!1)=>{const y=i();return await t(`/api/app/v1/${y}/external-connection/${h}/resource`,b)}}}const Aw={style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.3)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:9999}},Dw={style:{"background-color":"white","border-radius":"0.5rem","min-width":"320px","box-shadow":"0 4px 12px rgba(0, 0, 0, 0.1)",overflow:"hidden"}},_w={style:{"font-size":"1.125rem","font-weight":"600"}},Lw={style:{padding:"1rem","font-size":"1rem",color:"#1f2937"}},zw={style:{padding:"0.75rem 1rem",display:"flex","justify-content":"flex-end",gap:"0.5rem","border-top":"1px solid #e5e7eb"}},Mw={__name:"confirm-dialog",props:{type:{type:String,default:"info"},title:{type:String,required:!0},message:{type:String,required:!0},onSuccess:{type:Function,required:!0},onCancel:{type:Function,required:!0},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t;function a(){n.onSuccess(),r("update:modelValue",!1)}function i(){n.onCancel(),r("update:modelValue",!1)}const l=o.computed(()=>{let u="#2563eb";switch(n.type){case"success":u="#16a34a";break;case"warning":u="#f97316";break;case"danger":u="#dc2626";break}return{padding:"0.375rem 1rem",borderRadius:"0.375rem",backgroundColor:u,color:"white",fontWeight:600,border:"none",cursor:"pointer"}}),s=o.computed(()=>{let u="#eff6ff",c="1px solid #dbeafe";switch(n.type){case"success":u="#ecfdf5",c="1px solid #d1fae5";break;case"warning":u="#fff7ed",c="1px solid #fde68a";break;case"danger":u="#fef2f2",c="1px solid #fecaca";break}return{backgroundColor:u,borderBottom:c,padding:"1rem"}});return(u,c)=>(o.openBlock(),o.createElementBlock("div",Aw,[o.createElementVNode("div",Dw,[o.createElementVNode("div",{style:o.normalizeStyle(s.value)},[o.createElementVNode("span",_w,o.toDisplayString(e.title),1)],4),o.createElementVNode("div",Lw,[o.createElementVNode("span",null,o.toDisplayString(e.message),1)]),o.createElementVNode("div",zw,[o.createElementVNode("button",{style:{padding:"0.375rem 1rem","border-radius":"0.375rem","background-color":"#f3f4f6",color:"#1f2937","font-weight":"500",border:"none"},onClick:i}," Cancel "),o.createElementVNode("button",{style:o.normalizeStyle(l.value),onClick:a}," OK ",4)])])]))}};function jw({type:e="danger",title:t="Warning",message:n="All the changes you made will be lost, do you wish to continue?",onSuccess:r=()=>{},onCancel:a=()=>{}}={}){console.log("📣 openGlobalDialog called"),console.log({typppessss:e,title:t,message:n,onSuccess:r,onCancel:a});const i=o.ref(!0),l=document.createElement("div");document.body.appendChild(l);const s=o.createApp({setup(){function u(){r(),d()}function c(){a(),d()}function d(){i.value=!1,setTimeout(()=>{s.unmount(),l.parentNode===document.body&&document.body.removeChild(l)},300)}return()=>o.h(Mw,{modelValue:i.value,"onUpdate:modelValue":m=>{i.value=m,m||d()},type:e,title:t,message:n,onSuccess:u,onCancel:c})}});s.mount(l)}function Uw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getAssets:async(d,m=0,f=50,p=!1)=>{const g=i(),h=new URLSearchParams;return h.append("page",m),h.append("size",f),d&&h.append("keyword",d),await t(`/api/app/v1/${g}/assets/search?${h.toString()}`,p)},addExternalLink:async(d,m=!1)=>{const f=i();return await n(`/api/app/v1/${f}/assets/external`,d,m)},uploadFile:async(d,m=!1)=>{const f=i();return await n(`/api/app/v1/${f}/assets/upload`,d,m)},deleteAsset:async(d,m=!1)=>{const f=i();return await a(`/api/app/v1/${f}/assets/${d}`,{},m)}}}function Hw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getExtrenalSystemByID:async(f,p=!1)=>{const g=i();return await t(`/api/app/v1/${g}/external-system/${f}`,p)},createExternalSystem:async(f,p=!1)=>{const g=i();return await n(`/api/app/v1/${g}/external-system`,f,p)},updateExternalSystem:async(f,p,g=!1)=>{const h=i();return await r(`/api/app/v1/${h}/external-system/${f}`,p,g)},deleteExternalSystem:async(f,p=!1)=>{const g=i();return await a(`/api/app/v1/${g}/external-system/${f}`,{},p)},getAllExternalSystem:async(f=!1)=>{const p=i();return await t(`/api/app/v1/${p}/external-connection/category`,f)},searchExtrenalSystemByName:async(f,p=!1)=>{const g=i();return await t(`/api/app/v1/${g}/external-system/search${f}`,p)}}}function Ww(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getDataBaseSchema:async(d,m=!1)=>{const f=i(),p=new URLSearchParams;return p.append("connectionId",d),await t(`/api/app/v1/${f}/database/introspect?${p.toString()}`,m)},importSchema:async(d,m=!1)=>{const f=i();return await n(`/api/app/v1/${f}/database/import-schema`,d,m)},getConnectionSchema:async(d,m=!1)=>{const f=i(),p=new URLSearchParams;return p.append("connectionId",d),await t(`/api/app/v1/${f}/database/schema?${p.toString()}`,m)},saveSchema:async(d,m,f=!1)=>{const p=i(),g=new URLSearchParams;return g.append("connectionId",d),g.append("schemaName",m),await n(`/api/app/v1/${p}/database/schema?${g.toString()}`,f)}}}function qw(){we();const{get:e,post:t,put:n,del:r}=Pe();return{getSubUsers:async(m=!1)=>await e("/api/platform/v1/user/sub-users",m),createSubUser:async(m,f=!1)=>await t("/api/platform/v1/user",m,f),inviteSubUser:async(m,f)=>await t("/api/platform/v1/user/invitation",m,f),acceptSubUser:async(m,f)=>await t(`/api/platform/v1/user/invitation/accept?token=${m.token}`,m,f),editSubUser:async(m,f,p)=>await n(`/api/platform/v1/user/${m}`,f,p),deleteSubUser:async(m,f)=>await r(`/api/platform/v1/user/${m}`,{},f),setSubuserStatus:async(m,f,p)=>await n(`/api/platform/v1/user/${m}`,f,p)}}const Kw={install(e,t){e.component("CSEntityGrid",sr),e.component("csentitygrid",sr),e.component("CSEntityList",Ei),e.component("csentitylist",Ei),e.component("CSFieldExpression",Fl),e.component("csfieldexpression",Fl),e.component("CSEntity360View",Si),e.component("csentity360view",Si),e.component("CSEntityListing",Li),e.component("csentitylisting",Li),e.component("CSEntityListingTile",zi),e.component("csentitylistingtile",zi),e.component("CSEntityListingCarousel",vl),e.component("csentitylistingcarousel",vl),e.component("CSEntitySelection",us),e.component("csentityselection",us),e.component("CSEntitySelectionWithRest",fs),e.component("csentityselectionwithrest",fs),e.component("CSEntityExplorer",Dl),e.component("csentityexplorer",Dl),e.component("CSMenu",zl),e.component("csmenu",zl),e.component("CSTextInput",Ml),e.component("cstextinput",Ml),e.component("CSButton",jl),e.component("csbutton",jl),e.component("CSStateText",Ul),e.component("csstatetext",Ul),e.component("CSRangeInput",Hl),e.component("csrangeinput",Hl),e.component("CSSelector",cs),e.component("csselector",cs),e.component("CSDynamicSelection",Rn),e.component("csdynamicselection",Rn),e.component("CSEntityRecordSelection",ds),e.component("csentityrecordselection",ds),e.component("CSMenuSelection",ms),e.component("csmenuSelection",ms),e.component("CSlabel",bs),e.component("cslabel",bs),e.component("CSLogin",ys),e.component("cslogin",ys),e.component("CSSignup",ks),e.component("cssignup",ks),e.component("CSRolesSelection",gs),e.component("csrolesselection",gs),e.component("CSPermissionSelection",hs),e.component("cspermissionselection",hs),e.component("CSIconSelection",ws),e.component("csiconselection",ws),e.component("CSIconComponent",vs),e.component("csiconcomponent",vs),e.component("ClassesSelection",Cs),e.component("classesselection",Cs),e.component("CSPageSelection",Bs),e.component("cspageselection",Bs),e.component("CSGlobalLoader",xs),e.component("csgloballoader",xs),e.component("CSInputText",Nr),e.component("csinputtext",Nr),e.component("CSInputNumber",Or),e.component("csinputnumber",Or),e.component("CSToggleButton",Vr),e.component("cstogglebutton",Vr),e.component("CSRadioButton",Tr),e.component("csradiobutton",Tr),e.component("CSColorPicker",Ir),e.component("cscolorpicker",Ir),e.component("CSDatePicker",Pr),e.component("csdatepicker",Pr),e.component("CSTextArea",Rr),e.component("cstextarea",Rr),e.component("CSInputPassword",Fr),e.component("csinputpassword",Fr),e.component("CSRangeDatePicker",Ar),e.component("csrangedatepicker",Ar),e.component("CSInputKnob",Dr),e.component("csinputknob",Dr),e.component("CSInputMask",_r),e.component("csinputmask",_r),e.component("CSInputOtp",Lr),e.component("csinputotp",Lr),e.component("CSInputRating",zr),e.component("csinputrating",zr),e.component("CSInputSlider",Mr),e.component("csinputslider",Mr)}};se.default=Kw,se.openGlobalDialog=jw,se.useAddEntityRecord=$w,se.useAssetsService=Uw,se.useClassesService=Ss,se.useComponentService=Iw,se.useConnectionService=Fw,se.useCurrentUser=Dk,se.useDatabaseService=Ww,se.useDeleteEntityRecord=Nw,se.useEntitiesStore=Al,se.useEntityRecordService=ze,se.useEntityService=Sr,se.useExecuteQuery=Vw,se.useExternalRestAPI=Ow,se.useExternalRestService=$o,se.useExternalSystemService=Hw,se.useGetAllEntityRecords=Bw,se.useGetEntityRecord=Ew,se.useGlobalConfigsStore=we,se.useGlobalService=Rw,se.useHttpClient=Pe,se.useLayoutService=Pw,se.useLoadingStore=Jn,se.useMenuService=_l,se.useNamedQueryService=Os,se.usePageService=Es,se.useSecurityService=Bi,se.useThemeConfig=Cw,se.useThemeService=Tw,se.useUserService=qw,Object.defineProperties(se,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1333
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N0(e,t){if(e){if(typeof e=="string")return Er(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Er(e,t):void 0}}function O0(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function V0(e){if(Array.isArray(e))return Er(e)}function Er(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function as(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function is(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?as(Object(n),!0).forEach(function(r){ls(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):as(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ls(e,t,n){return(t=T0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T0(e){var t=I0(e,"string");return Pn(t)=="symbol"?t:t+""}function I0(e,t){if(Pn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Pn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ss={name:"Select",extends:E0,inheritAttrs:!1,emits:["change","focus","blur","before-show","before-hide","show","hide","filter"],outsideClickListener:null,scrollHandler:null,resizeListener:null,labelClickListener:null,overlay:null,list:null,virtualScroller:null,searchTimeout:null,searchValue:null,isModelValueChanged:!1,data:function(){return{id:this.$attrs.id,clicked:!1,focused:!1,focusedOptionIndex:-1,filterValue:null,overlayVisible:!1}},watch:{"$attrs.id":function(t){this.id=t||Wl()},modelValue:function(){this.isModelValueChanged=!0},options:function(){this.autoUpdateModel()}},mounted:function(){this.id=this.id||Wl(),this.autoUpdateModel(),this.bindLabelClickListener()},updated:function(){this.overlayVisible&&this.isModelValueChanged&&this.scrollInView(this.findSelectedOptionIndex()),this.isModelValueChanged=!1},beforeUnmount:function(){this.unbindOutsideClickListener(),this.unbindResizeListener(),this.unbindLabelClickListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&(Cr.clear(this.overlay),this.overlay=null)},methods:{getOptionIndex:function(t,n){return this.virtualScrollerDisabled?t:n&&n(t).index},getOptionLabel:function(t){return this.optionLabel?yt(t,this.optionLabel):t},getOptionValue:function(t){return this.optionValue?yt(t,this.optionValue):t},getOptionRenderKey:function(t,n){return(this.dataKey?yt(t,this.dataKey):this.getOptionLabel(t))+"_"+n},getPTItemOptions:function(t,n,r,a){return this.ptm(a,{context:{option:t,index:r,selected:this.isSelected(t),focused:this.focusedOptionIndex===this.getOptionIndex(r,n),disabled:this.isOptionDisabled(t)}})},isOptionDisabled:function(t){return this.optionDisabled?yt(t,this.optionDisabled):!1},isOptionGroup:function(t){return this.optionGroupLabel&&t.optionGroup&&t.group},getOptionGroupLabel:function(t){return yt(t,this.optionGroupLabel)},getOptionGroupChildren:function(t){return yt(t,this.optionGroupChildren)},getAriaPosInset:function(t){var n=this;return(this.optionGroupLabel?t-this.visibleOptions.slice(0,t).filter(function(r){return n.isOptionGroup(r)}).length:t)+1},show:function(t){this.$emit("before-show"),this.overlayVisible=!0,this.focusedOptionIndex=this.focusedOptionIndex!==-1?this.focusedOptionIndex:this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex(),t&&$t(this.$refs.focusInput)},hide:function(t){var n=this,r=function(){n.$emit("before-hide"),n.overlayVisible=!1,n.clicked=!1,n.focusedOptionIndex=-1,n.searchValue="",n.resetFilterOnHide&&(n.filterValue=null),t&&$t(n.$refs.focusInput)};setTimeout(function(){r()},0)},onFocus:function(t){this.disabled||(this.focused=!0,this.overlayVisible&&(this.focusedOptionIndex=this.focusedOptionIndex!==-1?this.focusedOptionIndex:this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex(),this.scrollInView(this.focusedOptionIndex)),this.$emit("focus",t))},onBlur:function(t){var n,r;this.focused=!1,this.focusedOptionIndex=-1,this.searchValue="",this.$emit("blur",t),(n=(r=this.formField).onBlur)===null||n===void 0||n.call(r,t)},onKeyDown:function(t){if(this.disabled||_g()){t.preventDefault();return}var n=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,this.editable);break;case"Home":this.onHomeKey(t,this.editable);break;case"End":this.onEndKey(t,this.editable);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Space":this.onSpaceKey(t,this.editable);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"Backspace":this.onBackspaceKey(t,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!n&&Ku(t.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(t,t.key));break}this.clicked=!1},onEditableInput:function(t){var n=t.target.value;this.searchValue="";var r=this.searchOptions(t,n);!r&&(this.focusedOptionIndex=-1),this.updateModel(t,n),!this.overlayVisible&&fe(n)&&this.show()},onContainerClick:function(t){this.disabled||this.loading||t.target.tagName==="INPUT"||t.target.getAttribute("data-pc-section")==="clearicon"||t.target.closest('[data-pc-section="clearicon"]')||((!this.overlay||!this.overlay.contains(t.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.clicked=!0)},onClearClick:function(t){this.updateModel(t,null),this.resetFilterOnClear&&(this.filterValue=null)},onFirstHiddenFocus:function(t){var n=t.relatedTarget===this.$refs.focusInput?Ig(this.overlay,':not([data-p-hidden-focusable="true"])'):this.$refs.focusInput;$t(n)},onLastHiddenFocus:function(t){var n=t.relatedTarget===this.$refs.focusInput?Pg(this.overlay,':not([data-p-hidden-focusable="true"])'):this.$refs.focusInput;$t(n)},onOptionSelect:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=this.getOptionValue(n);this.updateModel(t,a),r&&this.hide(!0)},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){if(!t.isComposing)switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){m0.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onArrowDownKey:function(t){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(t,this.findSelectedOptionIndex());else{var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,n)}t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget;t.shiftKey?r.setSelectionRange(0,t.target.selectionStart):(r.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget;if(t.shiftKey)r.setSelectionRange(t.target.selectionStart,r.value.length);else{var a=r.value.length;r.setSelectionRange(a,a),this.focusedOptionIndex=-1}}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.hide()):(this.focusedOptionIndex=-1,this.onArrowDownKey(t)),t.preventDefault()},onSpaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!n&&this.onEnterKey(t)},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault(),t.stopPropagation()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?($t(this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&!this.overlayVisible&&this.show()},onOverlayEnter:function(t){var n=this;Cr.set("overlay",t,this.$primevue.config.zIndex.overlay),$g(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),setTimeout(function(){n.autoFilterFocus&&n.filter&&$t(n.$refs.filterInput.$el)},1)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){var t=this;this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.autoFilterFocus&&this.filter&&!this.editable&&this.$nextTick(function(){$t(t.$refs.filterInput.$el)}),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){Cr.clear(t)},alignOverlay:function(){this.appendTo==="self"?Ng(this.overlay,this.$el):(this.overlay.style.minWidth=Ui(this.$el)+"px",Bg(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.overlay&&!t.$el.contains(n.target)&&!t.overlay.contains(n.target)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new qy(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!Lg()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindLabelClickListener:function(){var t=this;if(!this.editable&&!this.labelClickListener){var n=document.querySelector('label[for="'.concat(this.labelId,'"]'));n&&wo(n)&&(this.labelClickListener=function(){$t(t.$refs.focusInput)},n.addEventListener("click",this.labelClickListener))}},unbindLabelClickListener:function(){if(this.labelClickListener){var t=document.querySelector('label[for="'.concat(this.labelId,'"]'));t&&wo(t)&&t.removeEventListener("click",this.labelClickListener)}},hasFocusableElements:function(){return pr(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){var n;return this.isValidOption(t)&&typeof this.getOptionLabel(t)=="string"&&((n=this.getOptionLabel(t))===null||n===void 0?void 0:n.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)))},isValidOption:function(t){return fe(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){return hi(this.d_value,this.getOptionValue(t),this.equalityKey)},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return bi(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t<this.visibleOptions.length-1?this.visibleOptions.slice(t+1).findIndex(function(a){return n.isValidOption(a)}):-1;return r>-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?bi(this.visibleOptions.slice(0,t),function(a){return n.isValidOption(a)}):-1;return r>-1?r:t},findSelectedOptionIndex:function(){var t=this;return this.$filled?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findFirstFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t,n){var r=this;this.searchValue=(this.searchValue||"")+n;var a=-1,i=!1;return fe(this.searchValue)&&(this.focusedOptionIndex!==-1?(a=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(l){return r.isOptionMatched(l)}),a=a===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(l){return r.isOptionMatched(l)}):a+this.focusedOptionIndex):a=this.visibleOptions.findIndex(function(l){return r.isOptionMatched(l)}),a!==-1&&(i=!0),a===-1&&this.focusedOptionIndex===-1&&(a=this.findFirstFocusedOptionIndex()),a!==-1&&this.changeFocusedOptionIndex(t,a)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue="",r.searchTimeout=null},500),i},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(t,this.visibleOptions[n],!1))},scrollInView:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var r=n!==-1?"".concat(t.id,"_").concat(n):t.focusedOptionId,a=ko(t.list,'li[id="'.concat(r,'"]'));a?a.scrollIntoView&&a.scrollIntoView({block:"nearest",inline:"start"}):t.virtualScrollerDisabled||t.virtualScroller&&t.virtualScroller.scrollToIndex(n!==-1?n:t.focusedOptionIndex)})},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.$filled&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(t,n){this.writeValue(n,t),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,a,i){r.push({optionGroup:a,group:!0,index:i});var l=n.getOptionGroupChildren(a);return l&&l.forEach(function(s){return r.push(s)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Xu.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var a=this.options||[],i=[];return a.forEach(function(l){var s=t.getOptionGroupChildren(l),u=s.filter(function(c){return r.includes(c)});u.length>0&&i.push(is(is({},l),{},ls({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",B0(u))))}),this.flatOptions(i)}return r}return n},hasSelectedOption:function(){return this.$filled},label:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.d_value||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return fe(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},isClearIconVisible:function(){return this.showClear&&this.d_value!=null&&fe(this.options)},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:kl},components:{InputText:Zl,VirtualScroller:rs,Portal:es,InputIcon:Xl,IconField:Ql,TimesIcon:Yl,ChevronDownIcon:fl,SpinnerIcon:So,SearchIcon:Gl,CheckIcon:Kl,BlankIcon:ql}},P0=["id"],R0=["id","value","placeholder","tabindex","disabled","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid"],F0=["id","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-disabled"],A0=["id"],D0=["id"],_0=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove","data-p-selected","data-p-focused","data-p-disabled"];function L0(e,t,n,r,a,i){var l=o.resolveComponent("SpinnerIcon"),s=o.resolveComponent("InputText"),u=o.resolveComponent("SearchIcon"),c=o.resolveComponent("InputIcon"),d=o.resolveComponent("IconField"),m=o.resolveComponent("CheckIcon"),f=o.resolveComponent("BlankIcon"),p=o.resolveComponent("VirtualScroller"),g=o.resolveComponent("Portal"),h=o.resolveDirective("ripple");return o.openBlock(),o.createElementBlock("div",o.mergeProps({ref:"container",id:a.id,class:e.cx("root"),onClick:t[11]||(t[11]=function(){return i.onContainerClick&&i.onContainerClick.apply(i,arguments)})},e.ptmi("root")),[e.editable?(o.openBlock(),o.createElementBlock("input",o.mergeProps({key:0,ref:"focusInput",id:e.labelId||e.inputId,type:"text",class:[e.cx("label"),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],value:i.editableInputValue,placeholder:e.placeholder,tabindex:e.disabled?-1:e.tabindex,disabled:e.disabled,autocomplete:"off",role:"combobox","aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":a.overlayVisible,"aria-controls":a.id+"_list","aria-activedescendant":a.focused?i.focusedOptionId:void 0,"aria-invalid":e.invalid||void 0,onFocus:t[0]||(t[0]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)}),onBlur:t[1]||(t[1]=function(){return i.onBlur&&i.onBlur.apply(i,arguments)}),onKeydown:t[2]||(t[2]=function(){return i.onKeyDown&&i.onKeyDown.apply(i,arguments)}),onInput:t[3]||(t[3]=function(){return i.onEditableInput&&i.onEditableInput.apply(i,arguments)})},e.ptm("label")),null,16,R0)):(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:1,ref:"focusInput",id:e.labelId||e.inputId,class:[e.cx("label"),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],tabindex:e.disabled?-1:e.tabindex,role:"combobox","aria-label":e.ariaLabel||(i.label==="p-emptylabel"?void 0:i.label),"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":a.overlayVisible,"aria-controls":a.id+"_list","aria-activedescendant":a.focused?i.focusedOptionId:void 0,"aria-disabled":e.disabled,onFocus:t[4]||(t[4]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)}),onBlur:t[5]||(t[5]=function(){return i.onBlur&&i.onBlur.apply(i,arguments)}),onKeydown:t[6]||(t[6]=function(){return i.onKeyDown&&i.onKeyDown.apply(i,arguments)})},e.ptm("label")),[o.renderSlot(e.$slots,"value",{value:e.d_value,placeholder:e.placeholder},function(){var b;return[o.createTextVNode(o.toDisplayString(i.label==="p-emptylabel"?" ":(b=i.label)!==null&&b!==void 0?b:"empty"),1)]})],16,F0)),i.isClearIconVisible?o.renderSlot(e.$slots,"clearicon",{key:2,class:o.normalizeClass(e.cx("clearIcon")),clearCallback:i.onClearClick},function(){return[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.clearIcon?"i":"TimesIcon"),o.mergeProps({ref:"clearIcon",class:[e.cx("clearIcon"),e.clearIcon],onClick:i.onClearClick},e.ptm("clearIcon"),{"data-pc-section":"clearicon"}),null,16,["class","onClick"]))]}):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({class:e.cx("dropdown")},e.ptm("dropdown")),[e.loading?o.renderSlot(e.$slots,"loadingicon",{key:0,class:o.normalizeClass(e.cx("loadingIcon"))},function(){return[e.loadingIcon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:[e.cx("loadingIcon"),"pi-spin",e.loadingIcon],"aria-hidden":"true"},e.ptm("loadingIcon")),null,16)):(o.openBlock(),o.createBlock(l,o.mergeProps({key:1,class:e.cx("loadingIcon"),spin:"","aria-hidden":"true"},e.ptm("loadingIcon")),null,16,["class"]))]}):o.renderSlot(e.$slots,"dropdownicon",{key:1,class:o.normalizeClass(e.cx("dropdownIcon"))},function(){return[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.dropdownIcon?"span":"ChevronDownIcon"),o.mergeProps({class:[e.cx("dropdownIcon"),e.dropdownIcon],"aria-hidden":"true"},e.ptm("dropdownIcon")),null,16,["class"]))]})],16),o.createVNode(g,{appendTo:e.appendTo},{default:o.withCtx(function(){return[o.createVNode(o.Transition,o.mergeProps({name:"p-connected-overlay",onEnter:i.onOverlayEnter,onAfterEnter:i.onOverlayAfterEnter,onLeave:i.onOverlayLeave,onAfterLeave:i.onOverlayAfterLeave},e.ptm("transition")),{default:o.withCtx(function(){return[a.overlayVisible?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref:i.overlayRef,class:[e.cx("overlay"),e.panelClass,e.overlayClass],style:[e.panelStyle,e.overlayStyle],onClick:t[9]||(t[9]=function(){return i.onOverlayClick&&i.onOverlayClick.apply(i,arguments)}),onKeydown:t[10]||(t[10]=function(){return i.onOverlayKeyDown&&i.onOverlayKeyDown.apply(i,arguments)})},e.ptm("overlay")),[o.createElementVNode("span",o.mergeProps({ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[7]||(t[7]=function(){return i.onFirstHiddenFocus&&i.onFirstHiddenFocus.apply(i,arguments)})},e.ptm("hiddenFirstFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),o.renderSlot(e.$slots,"header",{value:e.d_value,options:i.visibleOptions}),e.filter?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,class:e.cx("header")},e.ptm("header")),[o.createVNode(d,{unstyled:e.unstyled,pt:e.ptm("pcFilterContainer")},{default:o.withCtx(function(){return[o.createVNode(s,{ref:"filterInput",type:"text",value:a.filterValue,onVnodeMounted:i.onFilterUpdated,onVnodeUpdated:i.onFilterUpdated,class:o.normalizeClass(e.cx("pcFilter")),placeholder:e.filterPlaceholder,variant:e.variant,unstyled:e.unstyled,role:"searchbox",autocomplete:"off","aria-owns":a.id+"_list","aria-activedescendant":i.focusedOptionId,onKeydown:i.onFilterKeyDown,onBlur:i.onFilterBlur,onInput:i.onFilterChange,pt:e.ptm("pcFilter")},null,8,["value","onVnodeMounted","onVnodeUpdated","class","placeholder","variant","unstyled","aria-owns","aria-activedescendant","onKeydown","onBlur","onInput","pt"]),o.createVNode(c,{unstyled:e.unstyled,pt:e.ptm("pcFilterIconContainer")},{default:o.withCtx(function(){return[o.renderSlot(e.$slots,"filtericon",{},function(){return[e.filterIcon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:e.filterIcon},e.ptm("filterIcon")),null,16)):(o.openBlock(),o.createBlock(u,o.normalizeProps(o.mergeProps({key:1},e.ptm("filterIcon"))),null,16))]})]}),_:3},8,["unstyled","pt"])]}),_:3},8,["unstyled","pt"]),o.createElementVNode("span",o.mergeProps({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenFilterResult"),{"data-p-hidden-accessible":!0}),o.toDisplayString(i.filterResultMessageText),17)],16)):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({class:e.cx("listContainer"),style:{"max-height":i.virtualScrollerDisabled?e.scrollHeight:""}},e.ptm("listContainer")),[o.createVNode(p,o.mergeProps({ref:i.virtualScrollerRef},e.virtualScrollerOptions,{items:i.visibleOptions,style:{height:e.scrollHeight},tabindex:-1,disabled:i.virtualScrollerDisabled,pt:e.ptm("virtualScroller")}),o.createSlots({content:o.withCtx(function(b){var y=b.styleClass,w=b.contentRef,k=b.items,v=b.getItemOptions,S=b.contentStyle,R=b.itemSize;return[o.createElementVNode("ul",o.mergeProps({ref:function(C){return i.listRef(C,w)},id:a.id+"_list",class:[e.cx("list"),y],style:S,role:"listbox"},e.ptm("list")),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(k,function(B,C){return o.openBlock(),o.createElementBlock(o.Fragment,{key:i.getOptionRenderKey(B,i.getOptionIndex(C,v))},[i.isOptionGroup(B)?(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:0,id:a.id+"_"+i.getOptionIndex(C,v),style:{height:R?R+"px":void 0},class:e.cx("optionGroup"),role:"option",ref_for:!0},e.ptm("optionGroup")),[o.renderSlot(e.$slots,"optiongroup",{option:B.optionGroup,index:i.getOptionIndex(C,v)},function(){return[o.createElementVNode("span",o.mergeProps({class:e.cx("optionGroupLabel"),ref_for:!0},e.ptm("optionGroupLabel")),o.toDisplayString(i.getOptionGroupLabel(B.optionGroup)),17)]})],16,D0)):o.withDirectives((o.openBlock(),o.createElementBlock("li",o.mergeProps({key:1,id:a.id+"_"+i.getOptionIndex(C,v),class:e.cx("option",{option:B,focusedOption:i.getOptionIndex(C,v)}),style:{height:R?R+"px":void 0},role:"option","aria-label":i.getOptionLabel(B),"aria-selected":i.isSelected(B),"aria-disabled":i.isOptionDisabled(B),"aria-setsize":i.ariaSetSize,"aria-posinset":i.getAriaPosInset(i.getOptionIndex(C,v)),onClick:function(z){return i.onOptionSelect(z,B)},onMousemove:function(z){return i.onOptionMouseMove(z,i.getOptionIndex(C,v))},"data-p-selected":i.isSelected(B),"data-p-focused":a.focusedOptionIndex===i.getOptionIndex(C,v),"data-p-disabled":i.isOptionDisabled(B),ref_for:!0},i.getPTItemOptions(B,v,C,"option")),[e.checkmark?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[i.isSelected(B)?(o.openBlock(),o.createBlock(m,o.mergeProps({key:0,class:e.cx("optionCheckIcon"),ref_for:!0},e.ptm("optionCheckIcon")),null,16,["class"])):(o.openBlock(),o.createBlock(f,o.mergeProps({key:1,class:e.cx("optionBlankIcon"),ref_for:!0},e.ptm("optionBlankIcon")),null,16,["class"]))],64)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"option",{option:B,selected:i.isSelected(B),index:i.getOptionIndex(C,v)},function(){return[o.createElementVNode("span",o.mergeProps({class:e.cx("optionLabel"),ref_for:!0},e.ptm("optionLabel")),o.toDisplayString(i.getOptionLabel(B)),17)]})],16,_0)),[[h]])],64)}),128)),a.filterValue&&(!k||k&&k.length===0)?(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:0,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[o.renderSlot(e.$slots,"emptyfilter",{},function(){return[o.createTextVNode(o.toDisplayString(i.emptyFilterMessageText),1)]})],16)):!e.options||e.options&&e.options.length===0?(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:1,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[o.renderSlot(e.$slots,"empty",{},function(){return[o.createTextVNode(o.toDisplayString(i.emptyMessageText),1)]})],16)):o.createCommentVNode("",!0)],16,A0)]}),_:2},[e.$slots.loader?{name:"loader",fn:o.withCtx(function(b){var y=b.options;return[o.renderSlot(e.$slots,"loader",{options:y})]}),key:"0"}:void 0]),1040,["items","style","disabled","pt"])],16),o.renderSlot(e.$slots,"footer",{value:e.d_value,options:i.visibleOptions}),!e.options||e.options&&e.options.length===0?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenEmptyMessage"),{"data-p-hidden-accessible":!0}),o.toDisplayString(i.emptyMessageText),17)):o.createCommentVNode("",!0),o.createElementVNode("span",o.mergeProps({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenSelectedMessage"),{"data-p-hidden-accessible":!0}),o.toDisplayString(i.selectedMessageText),17),o.createElementVNode("span",o.mergeProps({ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[8]||(t[8]=function(){return i.onLastHiddenFocus&&i.onLastHiddenFocus.apply(i,arguments)})},e.ptm("hiddenLastFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16)):o.createCommentVNode("",!0)]}),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16,P0)}ss.render=L0;const z0={class:"editable-label-editing flex items-center gap-2 w-full"},cs={__name:"Selector",props:{label:{type:String,default:"Label"},placeholder:{type:String,default:"Enter value"}},setup(e){const t=e;return o.ref(!1),o.ref(t.label),(n,r)=>(o.openBlock(),o.createElementBlock("div",z0,[o.createVNode(o.unref(ss),{modelValue:n.selectedCity,"onUpdate:modelValue":r[0]||(r[0]=a=>n.selectedCity=a),options:n.cities,optionLabel:"name",placeholder:e.placeholder,class:"w-full md:w-56"},null,8,["modelValue","options","placeholder"])]))}},M0={key:0,class:"flex items-center"},j0={key:1},U0={class:"flex items-center justify-between w-full"},Rn=Oe({__name:"DynamicSelection",props:o.mergeModels({modelValue:{type:[String,Number],default:null},url:String,jsonPath:String,displayField:{type:String,default:"label"},valueField:{type:String,default:"id"},method:{type:String,default:"GET"},options:{type:Array,default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:modelValue","onChange"],["update:modelValue"]),setup(e,{emit:t}){const n=we(),r=()=>n.getAppId(),a=e;console.log("DynamicSelection props:",a);const i=t,l=o.useModel(e,"modelValue"),s=o.ref(null),u=o.ref([]),c=o.computed(()=>a.options.length?"label":a.displayField),d=o.computed(()=>a.options.length?"value":a.valueField);function m(b,y){const w=y.split(".").reduce((k,v)=>{var R;const S=v.match(/^(\w+)\[(\d+)\]$/);if(S){const[,B,C]=S;return((R=k==null?void 0:k[B])==null?void 0:R[parseInt(C)])??null}else return k==null?void 0:k[v]},b);return Array.isArray(w)?w:w?[w]:[]}async function f(){if(!a.url||a.options.length)return;const b=a.url.includes("appid")?a.url.replace("${appid}",r()):a.url;try{const w=await(await fetch(b,{method:a.method.toUpperCase(),headers:{"Content-Type":"application/json"},...a.method.toUpperCase()==="POST"?{body:"{}"}:{}})).json();a.jsonPath?u.value=p(m(w,a.jsonPath)):u.value=[],g(a.modelValue)}catch(y){console.error("Error fetching options:",y)}}o.onMounted(()=>{a.options.length?u.value=p(a.options):f(),g(a.modelValue)}),o.watch(()=>a.modelValue,b=>{l.value=b,g(b)}),o.watch(l,b=>{h(b),i("update:modelValue",b),i("onChange",b)}),o.watch(()=>a.options,b=>{b.length&&(u.value=p(b),g(a.modelValue))},{immediate:!0});function p(b){if(!b)return[];const y=c.value;return[...b].sort((w,k)=>{const v=String(w[y]||w.label||"").toLowerCase(),S=String(k[y]||k.label||"").toLowerCase();return v.localeCompare(S)})}function g(b){const y=u.value.find(w=>String(w[d.value])===String(b));y?(s.value=y,l.value=y[d.value]):s.value=null}function h(b){const y=u.value.find(w=>String(w[d.value])===String(b));y?s.value=y:s.value=null}return(b,y)=>{const w=o.resolveComponent("Badge"),k=o.resolveComponent("Select");return o.openBlock(),o.createBlock(k,{modelValue:l.value,"onUpdate:modelValue":y[0]||(y[0]=v=>l.value=v),options:u.value,filter:a.options.length==0,optionLabel:c.value,optionValue:d.value,placeholder:"Select an option",class:"w-full"},{value:o.withCtx(v=>[s.value?(o.openBlock(),o.createElementBlock("div",M0,[o.createElementVNode("div",null,o.toDisplayString(s.value[c.value]||s.value.label),1)])):(o.openBlock(),o.createElementBlock("span",j0,o.toDisplayString(v.placeholder),1))]),option:o.withCtx(v=>[o.createElementVNode("div",U0,[o.createElementVNode("div",null,o.toDisplayString(v.option[c.value]||v.option.label),1),v.option.externalConnectionId?(o.openBlock(),o.createBlock(w,{key:0,value:"secondary",severity:"info"})):o.createCommentVNode("",!0)])]),_:1},8,["modelValue","options","filter","optionLabel","optionValue"])}}},[["__scopeId","data-v-de2f3337"]]),H0={key:1},W0="/api/app/v1/${appid}/entity",ds={__name:"EntityRecordSelection",props:o.mergeModels({valueField:{type:String,default:"id"},entity:{type:String,default:"customer"},displayField:{type:String,default:"first_name"},searchKey:{type:String,default:"first_name"},searchValue:{type:String,default:"Eve"},options:{type:Array,default:()=>[]},modelValue:{type:Object,default:null},roles:{type:[Array,String],default:()=>[]},permissions:{type:[Array,String],default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:modelValue","onChange"],["update:modelValue"]),setup(e,{emit:t}){const n=o.ref(null),r=e,a=t;o.useModel(e,"modelValue");const i=o.computed(()=>`${W0}/${r.entity}/record`),l=o.ref(!0),{hasMatchingRoleAndPermissions:s}=zt();o.onMounted(async()=>{l.value=await s(r.roles,r.permissions)});function u(c){a("update:modelValue",JSON.stringify(c)),a("onChange",JSON.stringify(c))}return(c,d)=>l.value?(o.openBlock(),o.createBlock(Rn,{key:0,modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=m=>n.value=m),url:i.value,jsonPath:"response.result",displayField:e.displayField,method:"GET",options:e.options,onOnChange:u,valueField:e.valueField},null,8,["modelValue","url","displayField","options","valueField"])):(o.openBlock(),o.createElementBlock("p",H0,"You do not have the required permissions to access this feature."))}},q0={key:1},K0="/api/app/v1/${appid}/entity",us={__name:"EntitySelection",props:o.mergeModels({entityName:{type:String,default:""},roles:{type:[Array,String],default:()=>[]},permissions:{type:[Array,String],default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:entity-name","onChange"],["update:modelValue"]),setup(e,{emit:t}){const n=e,r=t;o.useModel(e,"modelValue");const a=o.ref(!0),{hasMatchingRoleAndPermissions:i}=zt();o.onMounted(async()=>{a.value=await i(n.roles,n.permissions)});function l(s){r("update:entity-name",s),r("onChange",s)}return(s,u)=>a.value?(o.openBlock(),o.createBlock(Rn,{key:0,modelValue:e.entityName,url:K0,jsonPath:"response",displayField:"name",method:"GET",onOnChange:l,valueField:"name"},null,8,["modelValue"])):(o.openBlock(),o.createElementBlock("p",q0,"You do not have the required permissions to access this feature."))}},G0={key:0,class:"flex items-center"},Y0={key:1},Q0={class:"flex items-center justify-between w-full"},fs={__name:"EntitySelectionWithRest",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=Sr(),n=$o(),r=o.ref([]),a=o.useModel(e,"modelValue");o.onMounted(async()=>{const s=await i(),u=await l();r.value=[...s,...u].sort((c,d)=>c.name.localeCompare(d.name))});const i=async()=>(await t.getEntities()).response,l=async()=>(await n.getRestEntities()).response;return(s,u)=>{const c=o.resolveComponent("Badge"),d=o.resolveComponent("Select");return o.openBlock(),o.createBlock(d,{class:"text-sm w-full",modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=m=>a.value=m),options:r.value,filter:"",optionLabel:"name",optionValue:"name",placeholder:"Select entity"},{value:o.withCtx(m=>[m.value?(o.openBlock(),o.createElementBlock("div",G0,[o.createElementVNode("div",null,o.toDisplayString(m.value),1)])):(o.openBlock(),o.createElementBlock("span",Y0,o.toDisplayString(m.placeholder),1))]),option:o.withCtx(m=>[o.createElementVNode("div",Q0,[o.createElementVNode("div",null,o.toDisplayString(m.option.name),1),m.option.externalConnectionId?(o.openBlock(),o.createBlock(c,{key:0,value:"secondary",severity:"info"})):o.createCommentVNode("",!0)])]),_:1},8,["modelValue","options"])}}},X0="/api/app/v1/${appid}/menu",ms={__name:"MenuSelection",props:o.mergeModels({menuName:{type:String,default:""},valueField:{type:String,default:"displayLabel"},displayField:{type:String,default:"displayLabel"},searchKey:{type:String,default:"displayLabel"},searchValue:{type:String,default:""},options:{type:Array,default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:modelValue","onChange"],["update:modelValue"]),setup(e,{emit:t}){const n=t;o.useModel(e,"modelValue");function r(a){n("update:modelValue",a),n("onChange",a)}return(a,i)=>(o.openBlock(),o.createBlock(Rn,{modelValue:e.menuName,url:X0,jsonPath:"response",displayField:e.displayField,method:"GET",options:e.options,onOnChange:r,valueField:e.valueField},null,8,["modelValue","displayField","options","valueField"]))}},J0={class:"flex items-center"},ps=Oe({__name:"DynamicMultiSelection",props:{modelValue:{type:Array,default:()=>[]},placeholder:{type:String,default:"Select options..."},url:String,jsonPath:String,displayField:{type:String,default:"label"},valueField:{type:String,default:""},method:{type:String,default:"GET"},options:{type:Array,default:()=>[]}},emits:["update:modelValue","onChange"],setup(e,{emit:t}){const n=we(),r=()=>n.getAppId(),a=e;console.log("DynamicMultiSelection props:",a);const i=t,l=o.ref(Array.isArray(a.modelValue)?[...a.modelValue]:[]),s=o.ref([]),u=o.computed(()=>a.options.length?"label":a.displayField),c=o.computed(()=>!a.valueField),d=o.computed(()=>c.value?void 0:a.options.length?"value":a.valueField);o.computed(()=>a.options.length?"value":a.valueField);function m(g,h){if(!h)return Array.isArray(g)?g:[];const b=h.split(".").reduce((y,w)=>{var v;const k=w.match(/^(\w+)\[(\d+)\]$/);if(k){const[,S,R]=k;return((v=y==null?void 0:y[S])==null?void 0:v[parseInt(R)])??null}else return y==null?void 0:y[w]},g);return console.log("Extracted value:",b),Array.isArray(b)?b:b?[b]:[]}async function f(){if(!a.url||a.options.length)return;const g=a.url.includes("appid")?a.url.replace("${appid}",r()):a.url;try{const b=await(await fetch(g,{method:a.method.toUpperCase(),headers:{"Content-Type":"application/json"},...a.method.toUpperCase()==="POST"?{body:"{}"}:{}})).json();s.value=m(b,a.jsonPath),p(a.modelValue)}catch(h){console.error("Error fetching options:",h)}}o.onMounted(()=>{a.options.length?s.value=a.options:f(),p(a.modelValue)}),o.watch(()=>a.modelValue,g=>{l.value=Array.isArray(g)?[...g]:[],p(g)}),o.watch(l,g=>{let h=[];c.value?h=g:h=g.map(b=>b),JSON.stringify(h)!==JSON.stringify(a.modelValue)&&(i("update:modelValue",h),i("onChange",h))}),o.watch(()=>a.options,g=>{g.length&&(s.value=g,p(a.modelValue))},{immediate:!0});function p(g){l.value=Array.isArray(g)?[...g]:[]}return(g,h)=>{const b=o.resolveComponent("MultiSelect");return o.openBlock(),o.createBlock(b,{modelValue:l.value,"onUpdate:modelValue":h[0]||(h[0]=y=>l.value=y),options:s.value,filter:a.options.length==0,optionLabel:u.value,optionValue:d.value,placeholder:e.placeholder||"Select options...",display:"chip",class:"w-full"},{option:o.withCtx(y=>[o.createElementVNode("div",J0,[o.createElementVNode("div",null,o.toDisplayString(y.option[u.value]||y.option.label),1)])]),_:1},8,["modelValue","options","filter","optionLabel","optionValue","placeholder"])}}},[["__scopeId","data-v-e5723a1c"]]),Z0={key:1},ek="/api/app/v1/${appid}/security/roles",gs={__name:"RolesSelection",props:o.mergeModels({valueField:{type:String,default:""},searchKey:{type:String,default:"first_name"},searchValue:{type:String,default:"Eve"},options:{type:Array,default:()=>[]},modelValue:{type:Object,default:null},roles:{type:[Array,String],default:()=>[]},permissions:{type:[Array,String],default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:modelValue","onChange"],["update:modelValue"]),setup(e,{emit:t}){o.ref(null);const n=e,r=t;o.useModel(e,"modelValue");const a=o.ref(!0),{hasMatchingRoleAndPermissions:i}=zt();o.onMounted(async()=>{a.value=await i(n.roles,n.permissions)});function l(s){r("update:modelValue",JSON.stringify(s)),r("onChange",JSON.stringify(s))}return(s,u)=>a.value?(o.openBlock(),o.createBlock(ps,{key:0,modelValue:e.modelValue,url:ek,jsonPath:"",displayField:"roleName",method:"GET",options:e.options,onOnChange:l,valueField:e.valueField,placeholder:"Select Roles..."},null,8,["modelValue","options","valueField"])):(o.openBlock(),o.createElementBlock("p",Z0,"You do not have the required permissions to access this feature."))}},tk={key:1},nk="/api/app/v1/${appid}/security/permission",hs={__name:"PermissionSelection",props:o.mergeModels({valueField:{type:String,default:""},options:{type:Array,default:()=>[]},modelValue:{type:Object,default:null},roles:{type:[Array,String],default:()=>[]},permissions:{type:[Array,String],default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["update:modelValue","onChange"],["update:modelValue"]),setup(e,{emit:t}){o.ref(null);const n=e,r=t;o.useModel(e,"modelValue");const a=o.ref(!0),{hasMatchingRoleAndPermissions:i}=zt();o.onMounted(async()=>{a.value=await i(n.roles,n.permissions)});function l(s){r("update:modelValue",JSON.stringify(s)),r("onChange",JSON.stringify(s))}return(s,u)=>a.value?(o.openBlock(),o.createBlock(ps,{key:0,modelValue:e.modelValue,url:nk,jsonPath:"",displayField:"permissionName",method:"GET",options:e.options,onOnChange:l,valueField:e.valueField,placeholder:"Select Permissions..."},null,8,["modelValue","options","valueField"])):(o.openBlock(),o.createElementBlock("p",tk,"You do not have the required permissions to access this feature."))}},bs={__name:"label",props:{label:{type:String,default:"Default Label Text"},labelFontSize:{type:Number,default:28}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",o.normalizeProps(o.guardReactiveProps(t.$attrs)),[o.createElementVNode("span",{style:o.normalizeStyle({fontSize:e.labelFontSize+"px",textAlign:t.textAlign})},o.toDisplayString(e.label),5)],16))}},ok={class:"max-w-sm mx-auto p-6 bg-white shadow rounded"},rk={class:"text-xl font-bold mb-4"},ak=["action"],ik={class:"mb-4"},lk={class:"mb-4"},sk={class:"flex items-center mb-4"},ys={__name:"Login",props:{rememberMe:{type:Boolean,default:!1},title:{type:String,default:"Login with Codesaaz"},buttonSize:{type:String,default:"large"},buttonType:{type:String,default:"primary"},formSubmitUrl:{type:String,default:"/login"}},setup(e){const t=e,n=o.ref(""),r=o.ref(""),a=o.ref(t.rememberMe),i=o.computed(()=>{let l="",s="";switch(t.buttonSize){case"small":l="padding: 0.5rem 1rem; font-size: 0.875rem;";break;case"medium":l="padding: 0.75rem 1.5rem; font-size: 1rem;";break;case"large":default:l="padding: 1rem 2rem; font-size: 1.125rem;";break}switch(t.buttonType){case"info":s="background-color: #38b2ac; color: white;";break;case"danger":s="background-color: #e53e3e; color: white;";break;case"primary":default:s="background-color: #3182ce; color: white;";break}return`${l} ${s}`});return(l,s)=>(o.openBlock(),o.createElementBlock("div",ok,[o.createElementVNode("h2",rk,o.toDisplayString(e.title),1),o.createElementVNode("form",{action:e.formSubmitUrl,method:"POST"},[o.createElementVNode("div",ik,[s[3]||(s[3]=o.createElementVNode("label",{class:"block mb-1"},"Username",-1)),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":s[0]||(s[0]=u=>n.value=u),name:"username",type:"text",class:"w-full border rounded p-2",required:""},null,512),[[o.vModelText,n.value]])]),o.createElementVNode("div",lk,[s[4]||(s[4]=o.createElementVNode("label",{class:"block mb-1"},"Password",-1)),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":s[1]||(s[1]=u=>r.value=u),name:"password",type:"password",class:"w-full border rounded p-2",required:""},null,512),[[o.vModelText,r.value]])]),o.createElementVNode("div",sk,[o.withDirectives(o.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":s[2]||(s[2]=u=>a.value=u),name:"rememberMe",class:"mr-2"},null,512),[[o.vModelCheckbox,a.value]]),s[5]||(s[5]=o.createElementVNode("label",null,"Remember Me",-1))]),o.createElementVNode("button",{type:"submit",style:o.normalizeStyle(i.value),class:"w-full rounded py-2 text-white"}," Login ",4)],8,ak)]))}},ck={class:"max-w-sm mx-auto p-6 bg-white shadow rounded"},dk={class:"text-xl font-bold mb-4"},uk=["action"],fk={class:"mb-4"},mk={class:"mb-4"},pk={class:"mb-4"},gk={class:"flex items-center mb-4"},ks={__name:"Signup",props:{agreeToTerms:{type:Boolean,default:!1},title:{type:String,default:"Sign Up for Codesaaz"},buttonSize:{type:String,default:"large"},buttonType:{type:String,default:"success"},formSubmitUrl:{type:String,default:"/signup"}},setup(e){const t=e,n=o.ref(""),r=o.ref(""),a=o.ref(""),i=o.ref(t.agreeToTerms),l=o.computed(()=>{let s="",u="";switch(t.buttonSize){case"medium":s="padding: 8px 16px; font-size: 14px;";break;case"small":s="padding: 6px 12px; font-size: 12px;";break;case"large":default:s="padding: 10px 20px; font-size: 16px;";break}switch(t.buttonType){case"danger":u="background-color: #dc2626; color: white;";break;case"warning":u="background-color: #f59e0b; color: white;";break;case"success":default:u="background-color: #10b981; color: white;";break}return`${s} ${u} border-radius: 4px;`});return(s,u)=>(o.openBlock(),o.createElementBlock("div",ck,[o.createElementVNode("h2",dk,o.toDisplayString(e.title),1),o.createElementVNode("form",{action:e.formSubmitUrl,method:"POST"},[o.createElementVNode("div",fk,[u[4]||(u[4]=o.createElementVNode("label",{class:"block mb-1"},"Full Name",-1)),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":u[0]||(u[0]=c=>n.value=c),name:"fullName",type:"text",class:"w-full border rounded p-2",required:""},null,512),[[o.vModelText,n.value]])]),o.createElementVNode("div",mk,[u[5]||(u[5]=o.createElementVNode("label",{class:"block mb-1"},"Email",-1)),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":u[1]||(u[1]=c=>r.value=c),name:"email",type:"email",class:"w-full border rounded p-2",required:""},null,512),[[o.vModelText,r.value]])]),o.createElementVNode("div",pk,[u[6]||(u[6]=o.createElementVNode("label",{class:"block mb-1"},"Password",-1)),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":u[2]||(u[2]=c=>a.value=c),name:"password",type:"password",class:"w-full border rounded p-2",required:""},null,512),[[o.vModelText,a.value]])]),o.createElementVNode("div",gk,[o.withDirectives(o.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":u[3]||(u[3]=c=>i.value=c),name:"agreeToTerms",class:"mr-2",required:""},null,512),[[o.vModelCheckbox,i.value]]),u[7]||(u[7]=o.createElementVNode("label",null,"I agree to the terms and conditions",-1))]),o.createElementVNode("button",{type:"submit",style:o.normalizeStyle(l.value),class:"w-full rounded py-2 text-white"}," Sign Up ",4)],8,uk)]))}},hk={class:"flex items-center border border-gray-300 rounded p-2 bg-white"},bk={key:0,class:"dropdown absolute z-10 w-full border border-gray-300 rounded bg-white p-2 max-h-60 overflow-y-auto shadow-lg"},yk={class:"tabs flex gap-2 mb-2"},kk=["onClick"],wk={class:"tabs flex gap-2 mb-3"},vk=["onClick"],xk={key:0,class:"icons grid-cols-4 gap-4"},Sk=["onClick"],Ck={class:"text-[10px] mt-1 truncate text-gray-700 font-medium"},Ek={key:1,class:"text-center text-gray-500 py-4"},Bk=100,ws={__name:"IconSelection",props:{modelValue:{type:String,default:null}},emits:["update:modelValue","onChange"],setup(e,{emit:t}){const n=e,r=t,a=o.ref(null),i=o.ref(n.modelValue),l=o.ref(!1),s=o.ref([]),u=o.ref([]),c=["font-awesome","primeicons"],d=["SOLID","REGULAR","FILLED"],m=o.ref(""),f=o.ref(""),p=async()=>{try{const v=new URLSearchParams;i.value&&v.append("keyword",i.value),m.value&&v.append("libraryName",m.value),f.value&&v.append("category",f.value);const R=await(await fetch(`/api/platform/v1/search/icon-library?${v}`)).json();s.value=R.response||[],u.value=s.value.map(B=>({name:B,class:B,library:m.value,category:f.value}))}catch(v){console.error("Error fetching icons:",v),u.value=[]}},g=async()=>{await p(),i.value&&(r("update:modelValue",i.value),r("onChange",i.value))},h=v=>{clearTimeout(k),i.value=v.name,l.value=!1,r("update:modelValue",v.name),r("onChange",v.name)},b=(v,S)=>{v==="library"&&(m.value=S),v==="category"&&(f.value=S),g()},y=v=>{a.value&&!a.value.contains(v.target)&&(l.value=!1)},w=o.computed(()=>u.value.slice(0,Bk));o.onMounted(()=>{p(),document.addEventListener("click",y)}),o.onBeforeUnmount(()=>{document.removeEventListener("click",y)});let k;return o.watch(i,()=>{clearTimeout(k),k=setTimeout(g,300)}),o.watch(()=>n.modelValue,v=>{i.value=v}),(v,S)=>(o.openBlock(),o.createElementBlock("div",{class:"icon-selection w-full max-w-md mx-auto relative",ref_key:"iconContainer",ref:a},[o.createElementVNode("div",hk,[i.value?(o.openBlock(),o.createElementBlock("i",{key:0,class:o.normalizeClass(["fa",i.value,"fa-lg","text-gray-600","mr-2"]),style:{"min-width":"20px"}},null,2)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":S[0]||(S[0]=R=>i.value=R),onFocus:S[1]||(S[1]=R=>l.value=!0),type:"text",placeholder:"Search icons...",class:"flex-1 outline-none text-gray-800 placeholder-gray-400"},null,544),[[o.vModelText,i.value]]),S[2]||(S[2]=o.createElementVNode("i",{class:"fas fa-search text-xl text-gray-700"},null,-1))]),l.value?(o.openBlock(),o.createElementBlock("div",bk,[o.createElementVNode("div",yk,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(c,R=>o.createElementVNode("button",{key:R,class:o.normalizeClass(["flex-1 p-1 text-sm rounded font-semibold",m.value===R?"bg-blue-500 text-white":"bg-gray-200 text-gray-700"]),onClick:B=>b("library",R)},o.toDisplayString(R),11,kk)),64))]),o.createElementVNode("div",wk,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(d,R=>o.createElementVNode("button",{key:R,class:o.normalizeClass(["flex-1 p-1 text-sm rounded font-semibold capitalize",f.value===R?"bg-blue-500 text-white":"bg-gray-200 text-gray-700"]),onClick:B=>b("category",R)},o.toDisplayString(R),11,vk)),64))]),u.value.length?(o.openBlock(),o.createElementBlock("div",xk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(w.value,(R,B)=>(o.openBlock(),o.createElementBlock("div",{key:B,class:"icon-item text-center cursor-pointer hover:bg-gray-100 p-2 rounded transition-all",onClick:C=>h(R)},[o.createElementVNode("i",{class:o.normalizeClass([R.name,"text-xl","text-gray-700"])},null,2),o.createElementVNode("div",Ck,o.toDisplayString(R.name),1)],8,Sk))),128))])):(o.openBlock(),o.createElementBlock("div",Ek,"No icons found"))])):o.createCommentVNode("",!0)],512))}},$k={key:1,class:"bg-white text-black-500"},vs=Oe({__name:"IconComponent",props:{iconName:{type:String,required:!1}},setup(e){return(t,n)=>e.iconName?(o.openBlock(),o.createElementBlock("i",{key:0,class:o.normalizeClass([e.iconName,"text-xl","text-gray-700"])},null,2)):(o.openBlock(),o.createElementBlock("span",$k,"Please Select Icon from Settings"))}},[["__scopeId","data-v-e95232b1"]]),Nk={key:0,class:"global-loader-overlay"},xs=Oe({__name:"GlobalLoader",setup(e){const t=Jn(),{loading:n}=As(t);return(r,a)=>o.unref(n)?(o.openBlock(),o.createElementBlock("div",Nk,a[0]||(a[0]=[o.createElementVNode("div",{class:"global-loader-container"},[o.createElementVNode("div",{class:"global-loader-spinner"},[o.createElementVNode("div",{class:"spinner"})]),o.createElementVNode("div",{class:"global-loader-text"},"Loading...")],-1)]))):o.createCommentVNode("",!0)}},[["__scopeId","data-v-a5bed64b"]]);function Ss(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getCssClasses:async(s,u,c=!1)=>{const d=i(),m=new URLSearchParams;return u&&m.append("className",u),s&&m.append("category",s),await t(`/api/platform/v1/search/${d}/css-class?${m.toString()}`,c)}}}const Ok={class:"flex items-stretch min-h-[2.5rem] p-0 border border-gray-300 rounded-md bg-white cursor-text transition-colors overflow-hidden"},Vk={class:"relative flex-1 min-w-[100px] self-center"},Tk={class:"flex-shrink-0"},Ik={class:"tabs flex flex-wrap gap-2 m-3"},Pk={class:"overflow-y-auto flex-1"},Rk={key:0,class:"px-3 text-sm py-2 text-gray-500"},Fk=["onClick"],Cs=Oe({__name:"ClassesSelection",props:{modelValue:{type:Array,default:()=>[]},placeholder:{type:String,default:"Type to search or add new class"},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=new Ss,i=o.ref(null),l=o.ref(null),s=o.ref(""),u=o.ref(!1),c=o.ref(["All","Custom","Tailwind"]),d=o.ref("All"),m=o.ref([]),f=o.computed({get:()=>n.modelValue||[],set:E=>r("update:modelValue",E)}),p=async()=>{try{let E="";d.value!="All"&&(E=JSON.parse(JSON.stringify(d.value)));const A=await a.getCssClasses(E,s.value,!1);A&&A.response&&(m.value=A.response||[])}catch(E){console.error("Error getting classes:",E.errorMessage)}},g=E=>{d.value=E,p()},h=()=>{p(),u.value||(u.value=!0)},b=()=>{u.value=!0},y=E=>{const A=E==null?void 0:E.trim();if(!A||f.value.includes(A)){s.value="";return}f.value=[...f.value,A],s.value="",u.value=!1,S()},w=E=>{f.value=f.value.filter(A=>A!==E)},k=E=>{y(E),u.value=!1},v=()=>{s.value.trim()&&y(s.value)},S=()=>{o.nextTick(()=>{var A,x,$,I;const E=((x=(A=i.value)==null?void 0:A.$el)==null?void 0:x.querySelector("input"))||(($=i.value)==null?void 0:$.$el)||i.value;(I=E==null?void 0:E.focus)==null||I.call(E)})},R=E=>{E.target===E.currentTarget&&(S(),u.value||b())},B=E=>{E.target.closest(".p-chip-remove-icon")||(S(),u.value||b())},C=E=>{E.target===E.currentTarget&&(S(),u.value||b())},_=E=>{E==null||E.stopPropagation(),u.value=!u.value,u.value&&S()},z=E=>{var A;!((A=l.value)!=null&&A.contains(E.target))&&!E.target.closest(".multi-select-chips-wrapper")&&(u.value=!1)};return o.onMounted(()=>{document.addEventListener("click",z),p()}),o.onBeforeUnmount(()=>{document.removeEventListener("click",z)}),(E,A)=>{const x=o.resolveComponent("Chip"),$=o.resolveComponent("InputText"),I=o.resolveComponent("Button");return o.openBlock(),o.createElementBlock("div",{class:"relative w-full multi-select-chips-wrapper",onClick:C},[o.createElementVNode("div",Ok,[o.createElementVNode("div",{class:"flex flex-wrap items-center flex-1 gap-2 p-1 min-h-full",onClick:R},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(f.value,(O,D)=>(o.openBlock(),o.createBlock(x,{key:`chip-${D}-${O}`,label:O,removable:"",onRemove:W=>w(O),onClick:B,class:"m-0 flex-shrink-0 whitespace-nowrap h-fit self-center"},null,8,["label","onRemove"]))),128)),o.createElementVNode("div",Vk,[o.createVNode($,{style:{border:"none"},ref_key:"inputRef",ref:i,modelValue:s.value,"onUpdate:modelValue":A[0]||(A[0]=O=>s.value=O),placeholder:f.value.length===0?e.placeholder:"",onKeydown:o.withKeys(o.withModifiers(v,["prevent"]),["enter"]),onInput:h,onFocus:b,disabled:e.disabled,class:"w-full p-0 border-0 shadow-none focus:ring-0 focus:outline-none focus:shadow-none bg-transparent"},null,8,["modelValue","placeholder","onKeydown","disabled"])])]),o.createElementVNode("div",null,[o.createVNode(I,{style:{"border-radius":"0"},icon:"pi pi-chevron-down",disabled:e.disabled,variant:"text",onClick:o.withModifiers(_,["stop"]),class:"flex-shrink-0 w-10 h-full p-0 m-0 border-0 border-l border-gray-300 hover:bg-gray-100"},null,8,["disabled"])])]),u.value?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"dropdownRef",ref:l,class:"absolute z-50 w-full bg-white border border-gray-300 rounded-md shadow-lg max-h-60 flex flex-col"},[o.createElementVNode("div",Tk,[o.createElementVNode("div",Ik,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.value,O=>(o.openBlock(),o.createBlock(I,{key:O,size:"small",class:o.normalizeClass(["px-3 py-2 text-sm rounded font-semibold capitalize cursor-pointer whitespace-nowrap"]),onClick:D=>g(O),label:O,severity:d.value===O?"info":"secondary"},null,8,["onClick","label","severity"]))),128))])]),o.createElementVNode("div",Pk,[m.value.length===0?(o.openBlock(),o.createElementBlock("div",Rk," No options found ")):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(m.value,(O,D)=>(o.openBlock(),o.createElementBlock("div",{key:`opt-${D}-${O}`,class:"px-3 py-2 text-sm cursor-pointer hover:bg-gray-100",onClick:o.withModifiers(W=>k(O),["stop"])},o.toDisplayString(O),9,Fk))),128))])],512)):o.createCommentVNode("",!0)])}}},[["__scopeId","data-v-101758fe"]]);function Es(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getPage:async(g,h=!1)=>{const b=i();return await t(`/api/app/v1/${b}/content/page/${g}`,h)},getPages:async(g=!1)=>{const h=i();return await t(`/api/app/v1/${h}/content/page?page=1&pageSize=50`,g)},createPage:async(g,h,b=!1)=>{let w=`/api/app/v1/${i()}/content/page`;return h&&h.trim()!==""&&(w+=`?tag=${encodeURIComponent(h)}`),await n(w,g,b)},updatePage:async(g,h,b,y=!1)=>{let k=`/api/app/v1/${i()}/content/page/${g}`;return b&&b.trim()!==""&&(k+=`?tag=${encodeURIComponent(b)}`),await r(k,h,y)},deletePage:async(g,h=!1)=>{const b=i();return await a(`/api/app/v1/${b}/content/page/${g}`,{},h)},generateSinglePage:async(g,h=!0)=>await n("/api/ai/generate/page",g,h),getAllPageVersions:async(g,h=!1)=>{const b=i();return await t(`/api/app/v1/${b}/content/page/${g}/versions`,h)},restorePageVersion:async(g,h,b=!0)=>{const y=i();return await n(`/api/app/v1/${y}/content/page/${g}/versions/${h}/restore`,{},b)}}}const Ak={class:"w-full"},Bs={__name:"PageSelection",props:{url:{type:String,default:""}},emits:["page-selected"],setup(e,{emit:t}){const n=e,r=t,a=Es(),i=o.ref([]),l=o.ref(null),s=o.ref(!1),u=async()=>{try{const m=await a.getPages();m&&m.response&&(i.value=m.response,c())}catch(m){console.error("Error fetching pages",m)}finally{}},c=()=>{if(n.url&&i.value.length>0){const m=i.value.find(f=>f.url===n.url);m&&(l.value=m)}},d=m=>{r("page-selected",m)};return o.watch(()=>n.url,m=>{c()}),o.watch(l,m=>{d(m)}),o.onMounted(()=>{u()}),(m,f)=>{const p=o.resolveComponent("Select");return o.openBlock(),o.createElementBlock("div",Ak,[o.createVNode(p,{modelValue:l.value,"onUpdate:modelValue":f[0]||(f[0]=g=>l.value=g),options:i.value,optionLabel:"name",filter:"",placeholder:"Select a Page",class:"w-full",loading:s.value},null,8,["modelValue","options","loading"])])}}},Dk=zn("currentUser",{state:()=>({user:{}}),actions:{setCurrentUser(e){this.user=e}},getters:{getCurrentUser:e=>e.user}}),_e=o.reactive({preset:"Aura",primary:"emerald",surface:null,darkTheme:!1,menuMode:"slim-plus",menuTheme:"light"}),Te=o.reactive({staticMenuDesktopInactive:!1,overlayMenuActive:!1,configSidebarVisible:!1,staticMenuMobileActive:!1,menuHoverActive:!1,rightMenuActive:!1,topbarMenuActive:!1,sidebarActive:!1,anchored:!1,activeMenuItem:null,overlaySubmenuActive:!1});function _k(){const e=p=>{if(_e.menuMode=p,p==="static"&&(Te.staticMenuDesktopInactive=!1),p==="horizontal")if(_e.darkTheme){if(!document.startViewTransition){_e.menuTheme="dark";return}document.startViewTransition(()=>_e.menuTheme="dark")}else{if(!document.startViewTransition){_e.menuTheme="light";return}document.startViewTransition(()=>_e.menuTheme="light")}},t=p=>{Te.activeMenuItem=p.value||p},n=()=>{_e.menuMode==="overlay"&&(Te.overlayMenuActive=!Te.overlayMenuActive),window.innerWidth>991?Te.staticMenuDesktopInactive=!Te.staticMenuDesktopInactive:Te.staticMenuMobileActive=!Te.staticMenuMobileActive},r=()=>{a.value&&(Te.overlayMenuActive=!1,Te.overlaySubmenuActive=!1,Te.staticMenuMobileActive=!1,Te.menuHoverActive=!1,Te.configSidebarVisible=!1),Te.configSidebarVisible=!Te.configSidebarVisible},a=o.computed(()=>Te.overlayMenuActive||Te.staticMenuMobileActive||Te.overlaySubmenuActive),i=o.computed(()=>window.innerWidth>991),l=o.computed(()=>_e.menuMode==="slim"),s=o.computed(()=>_e.menuMode==="slim-plus"),u=o.computed(()=>_e.menuMode==="horizontal"),c=o.computed(()=>_e.menuMode==="overlay"),d=o.computed(()=>_e.darkTheme),m=o.computed(()=>_e.primary),f=o.computed(()=>_e.surface);return{layoutConfig:_e,layoutState:Te,getPrimary:m,getSurface:f,isDarkTheme:d,setMenuMode:e,toggleMenu:n,isSidebarActive:a,setActiveMenuItem:t,toggleConfigSidebar:r,isSlim:l,isSlimPlus:s,isHorizontal:u,isDesktop:i,isOverlay:c}}var Lk={root:{transitionDuration:"{transition.duration}"},panel:{borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},header:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},content:{borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"}},zk={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}}},Mk={root:{width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},icon:{size:"1rem"},group:{borderColor:"{content.background}",offset:"-0.75rem"},lg:{width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},xl:{width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}}},jk={root:{borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},dot:{size:"0.5rem"},sm:{fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},lg:{fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},xl:{fontSize:"1rem",minWidth:"2rem",height:"2rem"},colorScheme:{light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}},Uk={primitive:{borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},semantic:{transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}}},Hk={root:{borderRadius:"{content.border.radius}"}},Wk={root:{padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},item:{color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},separator:{color:"{navigation.item.icon.color}"}},qk={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},colorScheme:{light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}}},Kk={root:{background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},body:{padding:"1.25rem",gap:"0.5rem"},caption:{gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"500"},subtitle:{color:"{text.muted.color}"}},Gk={root:{transitionDuration:"{transition.duration}"},content:{gap:"0.25rem"},indicatorList:{padding:"1rem",gap:"0.5rem"},indicator:{width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}}},Yk={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},clearIcon:{color:"{form.field.icon.color}"}},Qk={root:{borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}}},Xk={root:{borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},image:{width:"2rem",height:"2rem"},icon:{size:"1rem"},removeIcon:{size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},colorScheme:{light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}}},Jk={root:{transitionDuration:"{transition.duration}"},preview:{width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},panel:{shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},colorScheme:{light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}}},Zk={icon:{size:"2rem",color:"{overlay.modal.color}"},content:{gap:"1rem"}},e1={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}",gap:"1rem"},icon:{size:"1.5rem",color:"{overlay.popover.color}"},footer:{gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"}},t1={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}},n1={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{datatable.border.color}",padding:"0.75rem 1rem"},footerCell:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},dropPoint:{color:"{primary.color}"},columnResizerWidth:"0.5rem",resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},rowToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},filter:{inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},paginatorTop:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}},o1={root:{borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},header:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},content:{background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},footer:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"}},r1={root:{transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},header:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},title:{gap:"0.5rem",fontWeight:"500"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},inputIcon:{color:"{form.field.icon.color}"},selectMonth:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},selectYear:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},group:{borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},dayView:{margin:"0.5rem 0 0 0"},weekDay:{padding:"0.25rem",fontWeight:"500",color:"{content.color}"},date:{hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},monthView:{margin:"0.5rem 0 0 0"},month:{padding:"0.375rem",borderRadius:"{content.border.radius}"},yearView:{margin:"0.5rem 0 0 0"},year:{padding:"0.375rem",borderRadius:"{content.border.radius}"},buttonbar:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},timePicker:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},colorScheme:{light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}}},a1={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}",gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"}},i1={root:{borderColor:"{content.border.color}"},content:{background:"{content.background}",color:"{text.color}"},horizontal:{margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},vertical:{margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}}},l1={root:{background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},item:{borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},s1={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}"},title:{fontSize:"1.5rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"{overlay.modal.padding}"}},c1={toolbar:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},toolbarItem:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},overlayOption:{focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},content:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"}},d1={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},legend:{background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},content:{padding:"0"}},u1={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},content:{highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},file:{padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},fileList:{gap:"0.5rem"},progressbar:{height:"0.25rem"},basic:{gap:"0.5rem"}},f1={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},over:{active:{top:"-1.25rem"}},in:{input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},on:{borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}}},m1={root:{borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},navButton:{background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},navIcon:{size:"1.5rem"},thumbnailsContent:{background:"{content.background}",padding:"1rem 0.25rem"},thumbnailNavButton:{size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},thumbnailNavButtonIcon:{size:"1rem"},caption:{background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},indicatorList:{gap:"0.5rem",padding:"1rem"},indicatorButton:{width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},insetIndicatorList:{background:"rgba(0, 0, 0, 0.5)"},insetIndicatorButton:{background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},closeButton:{size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},closeButtonIcon:{size:"1.5rem"},colorScheme:{light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}}},p1={icon:{color:"{form.field.icon.color}"}},g1={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"}},h1={root:{transitionDuration:"{transition.duration}"},preview:{icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},toolbar:{position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},action:{hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},b1={handle:{size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},y1={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},text:{fontWeight:"500"},icon:{size:"1rem"},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}}},k1={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},display:{hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"}},w1={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},chip:{borderRadius:"{border.radius.sm}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}}},v1={addon:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"}},x1={root:{transitionDuration:"{transition.duration}"},button:{width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},colorScheme:{light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}}},S1={root:{gap:"0.5rem"},input:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}}},C1={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}},E1={root:{transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},value:{background:"{primary.color}"},range:{background:"{content.border.color}"},text:{color:"{text.muted.color}"}},B1={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}}},$1={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},overlay:{padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},N1={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},separator:{borderColor:"{content.border.color}"}},O1={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},V1={root:{borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},content:{padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},text:{fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},icon:{size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},outlined:{root:{borderWidth:"1px"}},simple:{content:{padding:"0"}},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}}},T1={root:{borderRadius:"{content.border.radius}",gap:"1rem"},meters:{background:"{content.border.color}",size:"0.5rem"},label:{gap:"0.5rem"},labelMarker:{size:"0.5rem"},labelIcon:{size:"1rem"},labelList:{verticalGap:"0.5rem",horizontalGap:"1rem"}},I1={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"}},P1={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}},R1={root:{gutter:"0.75rem",transitionDuration:"{transition.duration}"},node:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},nodeToggleButton:{background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},connector:{color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"}},F1={root:{outline:{width:"2px",color:"{content.background}"}}},A1={root:{padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},navButton:{background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},currentPageReport:{color:"{text.muted.color}"},jumpToPageInput:{maxWidth:"2.5rem"}},D1={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},toggleableHeader:{padding:"0.375rem 1.125rem"},title:{fontWeight:"600"},content:{padding:"0 1.125rem 1.125rem 1.125rem"},footer:{padding:"0 1.125rem 1.125rem 1.125rem"}},_1={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenu:{indent:"1rem"},submenuIcon:{color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"}},L1={meter:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},icon:{color:"{form.field.icon.color}"},overlay:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},content:{gap:"0.5rem"},colorScheme:{light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}}},z1={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}},M1={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}"}},j1={root:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},value:{background:"{primary.color}"},label:{color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"}},U1={colorScheme:{light:{root:{"color.1":"{red.500}","color.2":"{blue.500}","color.3":"{green.500}","color.4":"{yellow.500}"}},dark:{root:{"color.1":"{red.400}","color.2":"{blue.400}","color.3":"{green.400}","color.4":"{yellow.400}"}}}},H1={root:{width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}}},W1={root:{gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},icon:{size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},q1={colorScheme:{light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}}},K1={root:{transitionDuration:"{transition.duration}"},bar:{size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}}},G1={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"}},Y1={root:{borderRadius:"{form.field.border.radius}"},colorScheme:{light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}}},Q1={root:{borderRadius:"{content.border.radius}"},colorScheme:{light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}}},X1={root:{transitionDuration:"{transition.duration}"},track:{background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},range:{background:"{primary.color}"},handle:{width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{handle:{contentBackground:"{surface.0}"}},dark:{handle:{contentBackground:"{surface.950}"}}}},J1={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"}},Z1={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"}},ew={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},gutter:{background:"{content.border.color}"},handle:{size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},tw={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},step:{padding:"0.5rem",gap:"1rem"},stepHeader:{padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},stepTitle:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},stepNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},steppanels:{padding:"0.875rem 0.5rem 1.125rem 0.5rem"},steppanel:{background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"}},nw={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}"},itemLink:{borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},itemLabel:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},itemNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},ow={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},item:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},itemIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"}},rw={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},tab:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},tabpanel:{background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}},aw={root:{transitionDuration:"{transition.duration}"},tabList:{background:"{content.background}",borderColor:"{content.border.color}"},tab:{borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},tabPanel:{background:"{content.background}",color:"{content.color}"},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}},iw={root:{fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},icon:{size:"0.75rem"},colorScheme:{light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}},lw={root:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},prompt:{gap:"0.25rem"},commandResponse:{margin:"2px 0"}},sw={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}},cw={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}},dw={event:{minHeight:"5rem"},horizontal:{eventContent:{padding:"1rem 0"}},vertical:{eventContent:{padding:"0 1rem"}},eventMarker:{size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},eventConnector:{color:"{content.border.color}",size:"2px"}},uw={root:{width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},icon:{size:"1.125rem"},content:{padding:"{overlay.popover.padding}",gap:"0.5rem"},text:{gap:"0.5rem"},summary:{fontWeight:"500",fontSize:"1rem"},detail:{fontWeight:"500",fontSize:"0.875rem"},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem"},colorScheme:{light:{blur:"1.5px",info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{blur:"10px",info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}}},fw={root:{padding:"0.5rem 1rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.375rem 0.75rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.625rem 1.25rem"}},icon:{disabledColor:"{form.field.disabled.color}"},content:{left:"0.25rem",top:"0.25rem",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)"},colorScheme:{light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}}},mw={root:{width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},handle:{borderRadius:"50%",size:"1rem"},colorScheme:{light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}}},pw={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"}},gw={root:{maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},colorScheme:{light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}}},hw={root:{background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},node:{padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},nodeIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},nodeToggleButton:{borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},loadingIcon:{size:"2rem"},filter:{margin:"0 0 0.5rem 0"}},bw={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},tree:{padding:"{list.padding}"},clearIcon:{color:"{form.field.icon.color}"},emptyMessage:{padding:"{list.option.padding}"},chip:{borderRadius:"{border.radius.sm}"}},yw={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},footerCell:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},columnResizerWidth:"0.5rem",resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},nodeToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}},kw={loader:{mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}}};function Fn(e){"@babel/helpers - typeof";return Fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fn(e)}function $s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ns(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$s(Object(n),!0).forEach(function(r){ww(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$s(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ww(e,t,n){return(t=vw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vw(e){var t=xw(e,"string");return Fn(t)=="symbol"?t:t+""}function xw(e,t){if(Fn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Fn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Sw=Ns(Ns({},Uk),{},{components:{accordion:Lk,autocomplete:zk,avatar:Mk,badge:jk,blockui:Hk,breadcrumb:Wk,button:qk,datepicker:r1,card:Kk,carousel:Gk,cascadeselect:Yk,checkbox:Qk,chip:Xk,colorpicker:Jk,confirmdialog:Zk,confirmpopup:e1,contextmenu:t1,dataview:o1,datatable:n1,dialog:a1,divider:i1,dock:l1,drawer:s1,editor:c1,fieldset:d1,fileupload:u1,iftalabel:g1,floatlabel:f1,galleria:m1,iconfield:p1,image:h1,imagecompare:b1,inlinemessage:y1,inplace:k1,inputchips:w1,inputgroup:v1,inputnumber:x1,inputotp:S1,inputtext:C1,knob:E1,listbox:B1,megamenu:$1,menu:N1,menubar:O1,message:V1,metergroup:T1,multiselect:I1,orderlist:P1,organizationchart:R1,overlaybadge:F1,popover:M1,paginator:A1,password:L1,panel:D1,panelmenu:_1,picklist:z1,progressbar:j1,progressspinner:U1,radiobutton:H1,rating:W1,scrollpanel:K1,select:G1,selectbutton:Y1,skeleton:Q1,slider:X1,speeddial:J1,splitter:ew,splitbutton:Z1,stepper:tw,steps:nw,tabmenu:ow,tabs:rw,tabview:aw,textarea:sw,tieredmenu:cw,tag:iw,terminal:lw,timeline:dw,togglebutton:fw,toggleswitch:mw,tree:hw,treeselect:bw,treetable:yw,toast:uw,toolbar:pw,virtualscroller:kw},directives:{tooltip:gw,ripple:q1}});function Cw(){const{layoutState:e,layoutConfig:t,setMenuMode:n,isDarkTheme:r}=_k(),a={Aura:Sw};o.ref(Object.keys(a));const i=o.ref(t.preset);o.ref(t.darkTheme),o.ref(t.menuMode),o.ref([{name:"Light",value:!1},{name:"Dark",value:!0}]);const l=o.ref([{name:"noir",palette:{}},{name:"emerald",palette:{500:"#10b981"}},{name:"green",palette:{500:"#22c55e"}},{name:"lime",palette:{500:"#84cc16"}},{name:"orange",palette:{500:"#f97316"}},{name:"amber",palette:{500:"#f59e0b"}},{name:"yellow",palette:{500:"#eab308"}},{name:"teal",palette:{500:"#14b8a6"}},{name:"cyan",palette:{500:"#06b6d4"}},{name:"sky",palette:{500:"#0ea5e9"}},{name:"blue",palette:{500:"#3b82f6"}},{name:"indigo",palette:{500:"#6366f1"}},{name:"violet",palette:{500:"#8b5cf6"}},{name:"purple",palette:{500:"#a855f7"}},{name:"fuchsia",palette:{500:"#d946ef"}},{name:"pink",palette:{500:"#ec4899"}},{name:"rose",palette:{500:"#f43f5e"}}]),s=o.ref([{name:"slate",palette:{500:"#64748b"}},{name:"gray",palette:{500:"#6b7280"}},{name:"zinc",palette:{500:"#71717a"}},{name:"neutral",palette:{500:"#737373"}},{name:"stone",palette:{500:"#78716c"}},{name:"soho",palette:{500:"#8e8f93"}},{name:"viva",palette:{500:"#87898a"}},{name:"ocean",palette:{500:"#828787"}}]);function u(){if(!document.startViewTransition){c();return}document.startViewTransition(()=>c())}function c(){t.darkTheme=!t.darkTheme,t.menuTheme=r.value?"dark":"light",document.documentElement.classList.toggle("app-dark")}function d(){const g=l.value.find(h=>h.name===t.primary);if(g.name==="noir"){const h=[50,100,200,300,400,500,600,700,800,900,950],b={};return h.forEach(y=>{b[y]=`{surface.${y}}`}),{semantic:{primary:b,colorScheme:{light:{primary:{color:"{primary.950}",contrastColor:"#ffffff",hoverColor:"{primary.800}",activeColor:"{primary.700}"},highlight:{background:"{primary.950}",focusBackground:"{primary.700}",color:"#ffffff",focusColor:"#ffffff"}},dark:{primary:{color:"{primary.50}",contrastColor:"{primary.950}",hoverColor:"{primary.200}",activeColor:"{primary.300}"},highlight:{background:"{primary.50}",focusBackground:"{primary.300}",color:"{primary.950}",focusColor:"{primary.950}"}}}}}}else return{semantic:{primary:g.palette,colorScheme:{light:{primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"}},dark:{primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"}}}}}}function m(g){var h;if((h=g.semantic)!=null&&h.primary){const b=g.semantic.primary[500];document.documentElement.style.setProperty("--p-button-primary-background",b),document.documentElement.style.setProperty("--p-button-primary-border-color",b)}}function f(g,h){let b;if(g==="primary"){if(b=l.value.find(y=>y.name===h),!b)return;t.primary=b.name,m({semantic:{primary:b.palette}})}if(g==="surface"){if(b=s.value.find(y=>y.name===h),!b)return;t.surface=b.name,Xg(b.palette)}}function p(){var b;t.preset=i.value;const g=a[i.value],h=(b=s.value.find(y=>y.name===t.surface))==null?void 0:b.palette;Ji().preset(g).preset(d()).surfacePalette(h).use({useDefaultOptions:!0})}return{toggleDarkMode:u,updateColors:f,onPresetChange:p}}function Ew(){const e=new ze;return{getEntityRecord:async(n,r,a=!1)=>{var i;try{const l=await e.getRecord(n,r,a);if((l==null?void 0:l.success)===!1)throw l;return(i=l==null?void 0:l.response)==null?void 0:i.result}catch(l){throw l}finally{}}}}function Bw(){const e=new ze;return{getAllEntityRecords:async(n,r=!1)=>{var a;try{const i=await e.getEntityRecords(n,r);if((i==null?void 0:i.success)===!1)throw i;return(a=i==null?void 0:i.response)==null?void 0:a.result}catch{throw error}finally{}}}}function $w(){const e=new ze;return{addEntityRecord:async(n,r,a=!1)=>{var l;const i={dataDefinitions:Object.entries(r).map(([s,u])=>({recordColumnName:s,recordColumnValue:u}))};try{const s=await e.addRecordWithFetch(n,i,a);if((s==null?void 0:s.success)===!1)throw s;return(l=s==null?void 0:s.response)==null?void 0:l.result}catch(s){throw s}}}}function Nw(){const e=new ze;return{deleteEntityRecord:async(n,r,a=!1)=>{try{const i=await e.deleteRecord(n,r,a);if((i==null?void 0:i.success)===!1)throw i;return i==null?void 0:i.success}catch(i){throw i}finally{}}}}function Ow(){const e=new $o;return{externalRestAPICall:async(n,r=!1)=>{var a,i,l;try{n.httpMethod=(a=n.httpMethod)==null?void 0:a.toUpperCase();const s=await e.externalRestAPI(n,r);if((s==null?void 0:s.success)===!1)throw(i=s==null?void 0:s.response)==null?void 0:i.result;return((l=s==null?void 0:s.response)==null?void 0:l.result)??(s==null?void 0:s.response)}catch(s){throw s}finally{}}}}function Os(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getNamedQueryByName:async(g,h=!1)=>{const b=i();return await t(`/api/app/v1/${b}/named-query/${g}`,h)},updateNamedQuery:async(g,h,b=!1)=>{const y=i();return await r(`/api/app/v1/${y}/named-query/${g}`,h,b)},deleteNamedQuery:async(g,h=!1)=>{const b=i();return await a(`/api/app/v1/${b}/named-query/${g}`,{},h)},getAllNamedQueries:async(g=!1)=>{const h=i();return await t(`/api/app/v1/${h}/named-query`,g)},createNewNameQuery:async(g,h=!1)=>{const b=i();return await n(`/api/app/v1/${b}/named-query`,g,h)},getAllNamedQueryNames:async(g=!1)=>{const h=i();return await t(`/api/app/v1/${h}/named-query`,g)},validateNameQuery:async(g,h=!1)=>{const b=i();return await n(`/api/app/v1/${b}/named-query/validate`,g,h)},executeNameQuery:async(g,h=!1)=>{const b=i();return await n(`/api/app/v1/${b}/named-query/execute`,g,h)}}}function Vw(){const e=new Os;return{executeQuery:async(n,r=!1)=>{var a;try{const i=await e.executeNameQuery(n,r);if((i==null?void 0:i.success)===!1)throw i;return(a=i==null?void 0:i.response)==null?void 0:a.result}catch(i){throw i}finally{}}}}function Tw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getThemes:async(m=!1)=>{const f=i();return await t(`/api/app/v1/${f}/theme`,m)},getThemesData:async(m,f=!1)=>(i(),await t(`/api/platform/v1/theme/${m}`,f)),saveTheme:async(m,f=!1)=>{const p=i();return await n(`/api/app/v1/${p}/theme`,m,f)},updateTheme:async(m,f,p=!1)=>{const g=i();return await r(`/api/app/v1/${g}/theme/${m}`,f,p)},deleteTheme:async(m,f=!1)=>{const p=i();return await a(`/api/app/v1/${p}/theme/${m}`,{},f)}}}function Iw(){const{get:e}=Pe();return{getPlatformComponents:async(r=!1)=>await e("/api/platform/v1/search/COMPONENT_PALLET?page=0&size=50&continue",r),getComponentTemplates:async(r,a=!1)=>await e(`api/platform/v1/search/COMPONENT_TEMPLATE?keyword=${r}&page=0&size=50`,a)}}function Pw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getLayouts:async(p=!1)=>{const g=i();return await t(`/api/app/v1/${g}/content/layout`,p)},getLayout:async(p,g=!1)=>{const h=i();return await t(`/api/app/v1/${h}/content/layout/${p}`,g)},updateLayout:async(p,g,h,b=!1)=>{let w=`/api/app/v1/${i()}/content/layout/${p}`;return h&&h.trim()!==""&&(w+=`?tag=${encodeURIComponent(h)}`),await r(w,g,b)},createLayout:async(p,g,h=!1)=>{let y=`/api/app/v1/${i()}/content/layout`;return g&&g.trim()!==""&&(y+=`?tag=${encodeURIComponent(g)}`),await r(y,p,h)},deleteLayout:async(p,g=!1)=>{const h=i();return await a(`/api/app/v1/${h}/content/layout/${p}`,{},g)},getAllLayoutVersions:async(p,g=!1)=>{const h=i();return await t(`/api/app/v1/${h}/content/layout/${p}/versions`,g)},restoreLayoutVersion:async(p,g,h=!0)=>{const b=i();return await n(`/api/app/v1/${b}/content/layout/${p}/versions/${g}/restore`,{},h)}}}function Rw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getGlobalVars:async(f=!1)=>{const p=i();return await t(`/api/app/v1/${p}/content/globalvars`,f)},addGlobalVars:async(f,p=!1)=>{const g=i();return await n(`/api/app/v1/${g}/content/globalvars`,f,p)},deleteVars:async(f,p=!1)=>{const g=i();return await a(`/api/app/v1/${g}/content/globalvars/${f}`,{},p)},getGlobalActions:async(f=!1)=>{const p=i();return await t(`/api/app/v1/${p}/content/globalaction`,f)},addGlobalAction:async(f,p=!1)=>{const g=i();return await n(`/api/app/v1/${g}/content/globalaction`,f,p)},deleteAction:async(f,p=!1)=>{const g=i();return await a(`/api/app/v1/${g}/content/globalaction/${f}`,{},p)}}}function Fw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getConnectionByID:async(h,b=!1)=>{const y=i();return await t(`/api/app/v1/${y}/external-connection/${h}`,b)},createConnection:async(h,b=!1)=>{const y=i();return await n(`/api/app/v1/${y}/external-connection`,h,b)},updateConnection:async(h,b,y=!1)=>{const w=i();return await r(`/api/app/v1/${w}/external-connection/${h}`,b,y)},deleteConnection:async(h,b=!1)=>{const y=i();return await a(`/api/app/v1/${y}/external-connection/${h}`,{},b)},getAllConnections:async(h=!1)=>{const b=i();return await t(`/api/app/v1/${b}/external-connection`,h)},initiateAuthorization:async(h,b=!1)=>{const y=i();return await t(`/api/app/v1/${y}/external-connection/${h}/authorize`,b)},testConnection:async(h,b=!1)=>await n("/api/platform/v1/datasource/connection",h,b),addConnectionResource:async(h,b,y=!1)=>{const w=i();return await n(`/api/app/v1/${w}/external-connection/${h}/import-openapi`,b,y)},getConnectionResource:async(h,b=!1)=>{const y=i();return await t(`/api/app/v1/${y}/external-connection/${h}/resource`,b)}}}const Aw={style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.3)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:9999}},Dw={style:{"background-color":"white","border-radius":"0.5rem","min-width":"320px","box-shadow":"0 4px 12px rgba(0, 0, 0, 0.1)",overflow:"hidden"}},_w={style:{"font-size":"1.125rem","font-weight":"600"}},Lw={style:{padding:"1rem","font-size":"1rem",color:"#1f2937"}},zw={style:{padding:"0.75rem 1rem",display:"flex","justify-content":"flex-end",gap:"0.5rem","border-top":"1px solid #e5e7eb"}},Mw={__name:"confirm-dialog",props:{type:{type:String,default:"info"},title:{type:String,required:!0},message:{type:String,required:!0},onSuccess:{type:Function,required:!0},onCancel:{type:Function,required:!0},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t;function a(){n.onSuccess(),r("update:modelValue",!1)}function i(){n.onCancel(),r("update:modelValue",!1)}const l=o.computed(()=>{let u="#2563eb";switch(n.type){case"success":u="#16a34a";break;case"warning":u="#f97316";break;case"danger":u="#dc2626";break}return{padding:"0.375rem 1rem",borderRadius:"0.375rem",backgroundColor:u,color:"white",fontWeight:600,border:"none",cursor:"pointer"}}),s=o.computed(()=>{let u="#eff6ff",c="1px solid #dbeafe";switch(n.type){case"success":u="#ecfdf5",c="1px solid #d1fae5";break;case"warning":u="#fff7ed",c="1px solid #fde68a";break;case"danger":u="#fef2f2",c="1px solid #fecaca";break}return{backgroundColor:u,borderBottom:c,padding:"1rem"}});return(u,c)=>(o.openBlock(),o.createElementBlock("div",Aw,[o.createElementVNode("div",Dw,[o.createElementVNode("div",{style:o.normalizeStyle(s.value)},[o.createElementVNode("span",_w,o.toDisplayString(e.title),1)],4),o.createElementVNode("div",Lw,[o.createElementVNode("span",null,o.toDisplayString(e.message),1)]),o.createElementVNode("div",zw,[o.createElementVNode("button",{style:{padding:"0.375rem 1rem","border-radius":"0.375rem","background-color":"#f3f4f6",color:"#1f2937","font-weight":"500",border:"none"},onClick:i}," Cancel "),o.createElementVNode("button",{style:o.normalizeStyle(l.value),onClick:a}," OK ",4)])])]))}};function jw({type:e="danger",title:t="Warning",message:n="All the changes you made will be lost, do you wish to continue?",onSuccess:r=()=>{},onCancel:a=()=>{}}={}){console.log("📣 openGlobalDialog called"),console.log({typppessss:e,title:t,message:n,onSuccess:r,onCancel:a});const i=o.ref(!0),l=document.createElement("div");document.body.appendChild(l);const s=o.createApp({setup(){function u(){r(),d()}function c(){a(),d()}function d(){i.value=!1,setTimeout(()=>{s.unmount(),l.parentNode===document.body&&document.body.removeChild(l)},300)}return()=>o.h(Mw,{modelValue:i.value,"onUpdate:modelValue":m=>{i.value=m,m||d()},type:e,title:t,message:n,onSuccess:u,onCancel:c})}});s.mount(l)}function Uw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getAssets:async(d,m=0,f=50,p=!1)=>{const g=i(),h=new URLSearchParams;return h.append("page",m),h.append("size",f),d&&h.append("keyword",d),await t(`/api/app/v1/${g}/assets/search?${h.toString()}`,p)},addExternalLink:async(d,m=!1)=>{const f=i();return await n(`/api/app/v1/${f}/assets/external`,d,m)},uploadFile:async(d,m=!1)=>{const f=i();return await n(`/api/app/v1/${f}/assets/upload`,d,m)},deleteAsset:async(d,m=!1)=>{const f=i();return await a(`/api/app/v1/${f}/assets/${d}`,{},m)}}}function Hw(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getExtrenalSystemByID:async(f,p=!1)=>{const g=i();return await t(`/api/app/v1/${g}/external-system/${f}`,p)},createExternalSystem:async(f,p=!1)=>{const g=i();return await n(`/api/app/v1/${g}/external-system`,f,p)},updateExternalSystem:async(f,p,g=!1)=>{const h=i();return await r(`/api/app/v1/${h}/external-system/${f}`,p,g)},deleteExternalSystem:async(f,p=!1)=>{const g=i();return await a(`/api/app/v1/${g}/external-system/${f}`,{},p)},getAllExternalSystem:async(f=!1)=>{const p=i();return await t(`/api/app/v1/${p}/external-connection/category`,f)},searchExtrenalSystemByName:async(f,p=!1)=>{const g=i();return await t(`/api/app/v1/${g}/external-system/search${f}`,p)}}}function Ww(){const e=we(),{get:t,post:n,put:r,del:a}=Pe(),i=()=>e.getAppId();return{getDataBaseSchema:async(d,m=!1)=>{const f=i(),p=new URLSearchParams;return p.append("connectionId",d),await t(`/api/app/v1/${f}/database/introspect?${p.toString()}`,m)},importSchema:async(d,m=!1)=>{const f=i();return await n(`/api/app/v1/${f}/database/import-schema`,d,m)},getConnectionSchema:async(d,m=!1)=>{const f=i(),p=new URLSearchParams;return p.append("connectionId",d),await t(`/api/app/v1/${f}/database/schema?${p.toString()}`,m)},saveSchema:async(d,m,f=!1)=>{const p=i(),g=new URLSearchParams;return g.append("connectionId",d),g.append("schemaName",m),await n(`/api/app/v1/${p}/database/schema?${g.toString()}`,f)}}}function qw(){we();const{get:e,post:t,put:n,del:r}=Pe();return{getSubUsers:async(p=!1)=>await e("/api/platform/v1/user/sub-users",p),createSubUser:async(p,g=!1)=>await t("/api/platform/v1/user",p,g),inviteSubUser:async(p,g)=>await t("/api/platform/v1/user/invitation",p,g),acceptSubUser:async(p,g)=>await t(`/api/platform/v1/user/invitation/accept?token=${p.token}`,p,g),editSubUser:async(p,g,h)=>await n(`/api/platform/v1/user/${p}`,g,h),deleteSubUser:async(p,g)=>await r(`/api/platform/v1/user/${p}`,{},g),setSubuserStatus:async(p,g,h)=>await n(`/api/platform/v1/user/${p}/status`,g,h),getAllPlatFormRoles:async(p=!1)=>await e("/api/platform/v1/roles",p),getPlatFormRolePermissions:async(p,g=!1)=>await e(`/api/platform/v1/role/${p}/permission`,g)}}const Kw={install(e,t){e.component("CSEntityGrid",sr),e.component("csentitygrid",sr),e.component("CSEntityList",Ei),e.component("csentitylist",Ei),e.component("CSFieldExpression",Fl),e.component("csfieldexpression",Fl),e.component("CSEntity360View",Si),e.component("csentity360view",Si),e.component("CSEntityListing",Li),e.component("csentitylisting",Li),e.component("CSEntityListingTile",zi),e.component("csentitylistingtile",zi),e.component("CSEntityListingCarousel",vl),e.component("csentitylistingcarousel",vl),e.component("CSEntitySelection",us),e.component("csentityselection",us),e.component("CSEntitySelectionWithRest",fs),e.component("csentityselectionwithrest",fs),e.component("CSEntityExplorer",Dl),e.component("csentityexplorer",Dl),e.component("CSMenu",zl),e.component("csmenu",zl),e.component("CSTextInput",Ml),e.component("cstextinput",Ml),e.component("CSButton",jl),e.component("csbutton",jl),e.component("CSStateText",Ul),e.component("csstatetext",Ul),e.component("CSRangeInput",Hl),e.component("csrangeinput",Hl),e.component("CSSelector",cs),e.component("csselector",cs),e.component("CSDynamicSelection",Rn),e.component("csdynamicselection",Rn),e.component("CSEntityRecordSelection",ds),e.component("csentityrecordselection",ds),e.component("CSMenuSelection",ms),e.component("csmenuSelection",ms),e.component("CSlabel",bs),e.component("cslabel",bs),e.component("CSLogin",ys),e.component("cslogin",ys),e.component("CSSignup",ks),e.component("cssignup",ks),e.component("CSRolesSelection",gs),e.component("csrolesselection",gs),e.component("CSPermissionSelection",hs),e.component("cspermissionselection",hs),e.component("CSIconSelection",ws),e.component("csiconselection",ws),e.component("CSIconComponent",vs),e.component("csiconcomponent",vs),e.component("ClassesSelection",Cs),e.component("classesselection",Cs),e.component("CSPageSelection",Bs),e.component("cspageselection",Bs),e.component("CSGlobalLoader",xs),e.component("csgloballoader",xs),e.component("CSInputText",Nr),e.component("csinputtext",Nr),e.component("CSInputNumber",Or),e.component("csinputnumber",Or),e.component("CSToggleButton",Vr),e.component("cstogglebutton",Vr),e.component("CSRadioButton",Tr),e.component("csradiobutton",Tr),e.component("CSColorPicker",Ir),e.component("cscolorpicker",Ir),e.component("CSDatePicker",Pr),e.component("csdatepicker",Pr),e.component("CSTextArea",Rr),e.component("cstextarea",Rr),e.component("CSInputPassword",Fr),e.component("csinputpassword",Fr),e.component("CSRangeDatePicker",Ar),e.component("csrangedatepicker",Ar),e.component("CSInputKnob",Dr),e.component("csinputknob",Dr),e.component("CSInputMask",_r),e.component("csinputmask",_r),e.component("CSInputOtp",Lr),e.component("csinputotp",Lr),e.component("CSInputRating",zr),e.component("csinputrating",zr),e.component("CSInputSlider",Mr),e.component("csinputslider",Mr)}};se.default=Kw,se.openGlobalDialog=jw,se.useAddEntityRecord=$w,se.useAssetsService=Uw,se.useClassesService=Ss,se.useComponentService=Iw,se.useConnectionService=Fw,se.useCurrentUser=Dk,se.useDatabaseService=Ww,se.useDeleteEntityRecord=Nw,se.useEntitiesStore=Al,se.useEntityRecordService=ze,se.useEntityService=Sr,se.useExecuteQuery=Vw,se.useExternalRestAPI=Ow,se.useExternalRestService=$o,se.useExternalSystemService=Hw,se.useGetAllEntityRecords=Bw,se.useGetEntityRecord=Ew,se.useGlobalConfigsStore=we,se.useGlobalService=Rw,se.useHttpClient=Pe,se.useLayoutService=Pw,se.useLoadingStore=Jn,se.useMenuService=_l,se.useNamedQueryService=Os,se.usePageService=Es,se.useSecurityService=Bi,se.useThemeConfig=Cw,se.useThemeService=Tw,se.useUserService=qw,Object.defineProperties(se,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|