(()=>{var e={945:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s{"use strict"; /** * @license React * use-sync-external-store-shim.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var r=n(594);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return l((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),i((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},143:(e,t,n)=>{"use strict";e.exports=n(878)},743:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,r,a,i){if("function"!=typeof r)throw new TypeError("The listener must be a function");var l=new o(r,a||e,i),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],l]:e._events[s].push(l):(e._events[s]=l,e._eventsCount++),e}function i(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,a=r.length,i=new Array(a);o{var r; /*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. */!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},355:e=>{"use strict";e.exports=(e,t)=>(t=t||(()=>{}),e.then((e=>new Promise((e=>{e(t())})).then((()=>e))),(e=>new Promise((e=>{e(t())})).then((()=>{throw e})))))},393:(e,t,n)=>{"use strict";const r=n(743),o=n(823),a=n(579),i=()=>{},l=new o.TimeoutError},89:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let r=0,o=e.length;for(;o>0;){const a=o/2|0;let i=r+a;n(e[i],t)<=0?(r=++i,o-=a+1):o=a}return r}},579:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(89);t.default=class{constructor(){this._queue=[]}enqueue(e,t){const n={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)return void this._queue.push(n);const o=r.default(this._queue,n,((e,t)=>t.priority-e.priority));this._queue.splice(o,0,n)}dequeue(){const e=this._queue.shift();return null==e?void 0:e.run}filter(e){return this._queue.filter((t=>t.priority===e.priority)).map((e=>e.run))}get size(){return this._queue.length}}},823:(e,t,n)=>{"use strict";const r=n(355);class o extends Error{constructor(e){super(e),this.name="TimeoutError"}}const a=(e,t,n)=>new Promise(((a,i)=>{if("number"!=typeof t||t<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void a(e);const l=setTimeout((()=>{if("function"==typeof n){try{a(n())}catch(e){i(e)}return}const r=n instanceof Error?n:new o("string"==typeof n?n:`Promise timed out after ${t} milliseconds`);"function"==typeof e.cancel&&e.cancel(),i(r)}),t);r(e.then(a,i),(()=>{clearTimeout(l)}))}));e.exports=a,e.exports.default=a,e.exports.TimeoutError=o},941:(e,t,n)=>{"use strict";var r=n(566);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},449:(e,t,n)=>{e.exports=n(941)()},566:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},535:(e,t,n)=>{"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function a(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,i=null,l=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==i||null!==l){var s=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=a;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:()=>i}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0},836:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&0===(b-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(s.returnFocus(n.props.preventScroll),s.teardownScopedFocus()):s.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(s.setupScopedFocus(n.node),s.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:y[e],afterOpen:y[e]+"--after-open",beforeClose:y[e]+"--before-close"},a=r.base;return n.state.afterOpen&&(a=a+" "+r.afterOpen),n.state.beforeClose&&(a=a+" "+r.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,a=e.parentSelector,i=a&&a().ownerDocument||document;o&&d.add(i.body,o),r&&d.add(i.getElementsByTagName("html")[0],r),n&&(b+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,a=e.defaultStyles,i=e.children,l=n?{}:a.content,s=o?{}:a.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},s,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},l,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,i);return this.props.overlayElement(c,d)}}]),t}(i.Component);v.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},v.propTypes={isOpen:l.default.bool.isRequired,defaultStyles:l.default.shape({content:l.default.object,overlay:l.default.object}),style:l.default.shape({content:l.default.object,overlay:l.default.object}),className:l.default.oneOfType([l.default.string,l.default.object]),overlayClassName:l.default.oneOfType([l.default.string,l.default.object]),parentSelector:l.default.func,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,ariaHideApp:l.default.bool,appElement:l.default.oneOfType([l.default.instanceOf(p.default),l.default.instanceOf(f.SafeHTMLCollection),l.default.instanceOf(f.SafeNodeList),l.default.arrayOf(l.default.instanceOf(p.default))]),onAfterOpen:l.default.func,onAfterClose:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,role:l.default.string,contentLabel:l.default.string,aria:l.default.object,data:l.default.object,children:l.default.node,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func,testId:l.default.string},t.default=v,e.exports=t.default},458:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){l&&(l.removeAttribute?l.removeAttribute("aria-hidden"):null!=l.length?l.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(l).forEach((function(e){return e.removeAttribute("aria-hidden")})));l=null},t.log=function(){0},t.assertNodeList=s,t.setElement=function(e){var t=e;if("string"==typeof t&&i.canUseDOM){var n=document.querySelectorAll(t);s(n,t),t=n}return l=t||l},t.validateElement=c,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=c(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=c(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){l=null};var r,o=n(377),a=(r=o)&&r.__esModule?r:{default:r},i=n(497);var l=null;function s(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){var t=e||l;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,a.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},459:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[i,l],t=0;t0?(document.body.firstChild!==i&&document.body.insertBefore(i,document.body.firstChild),document.body.lastChild!==l&&document.body.appendChild(l)):(i.parentElement&&i.parentElement.removeChild(i),l.parentElement&&l.parentElement.removeChild(l))}))},34:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var a=document.body;for(var i in r)o(a,r[i]);n={},r={}},t.log=function(){0};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),o.add(e)}));var o,a},t.remove=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&o.remove(e)}));var o,a}},827:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){i=[]},t.log=function(){0},t.handleBlur=c,t.handleFocus=u,t.markForFocusLater=function(){i.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==i.length&&(t=i.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){i.length>0&&i.pop()},t.setupScopedFocus=function(e){l=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){l=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var r,o=n(911),a=(r=o)&&r.__esModule?r:{default:r};var i=[],l=null,s=!1;function c(){s=!0}function u(){if(s){if(s=!1,!l)return;setTimeout((function(){l.contains(document.activeElement)||((0,a.default)(l)[0]||l).focus()}),0)}}},760:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},497:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,o=n(631);var a=((r=o)&&r.__esModule?r:{default:r}).default,i=a.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=a.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=a.canUseDOM?window.NodeList:{},t.canUseDOM=a.canUseDOM;t.default=i},967:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,o=t.shiftKey,l=n[0],s=n[n.length-1],c=i();if(e===c){if(!o)return;r=s}s!==c||o||(r=l);l===c&&o&&(r=s);if(r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=o?-1:1);if(void 0===(r=n[d]))return t.preventDefault(),void(r=o?s:l).focus();t.preventDefault(),r.focus()};var r,o=n(911),a=(r=o)&&r.__esModule?r:{default:r};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]);return n.filter(l)}; /*! * Adapted from jQuery UI core * * http://jqueryui.com * * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/category/ui-core/ */ var n="none",r="contents",o=/^(input|select|textarea|button|object|iframe)$/;function a(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),a=o.getPropertyValue("display");return t?a!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):a===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function i(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),a(t))return!1;t=t.parentNode}return!0}(e)}function l(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&i(e,!n)}e.exports=t.default},916:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(836),a=(r=o)&&r.__esModule?r:{default:r};t.default=a.default,e.exports=t.default},377:e=>{"use strict";var t=function(){};e.exports=t},594:e=>{"use strict";e.exports=React},206:e=>{"use strict";e.exports=ReactDOM}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0,(()=>{"use strict";var e=function(){return e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?E(M,--A):0,P--,10===L&&(P=1,C--),L}function D(){return L=A2||H(L)>3?"":" "}function Y(e,t){for(;--t&&D()&&!(L<48||L>102||L>57&&L<65||L>70&&L<97););return G(e,B()+(t<6&&32==q()&&32==D()))}function Q(e){for(;D();)switch(L){case e:return A;case 34:case 39:34!==e&&39!==e&&Q(L);break;case 40:41===e&&Q(e);break;case 92:D()}return A}function K(e,t){for(;D()&&e+L!==57&&(e+L!==84||47!==q()););return"/*"+G(t,A-1)+"*"+y(47===e?e:D())}function X(e){for(;!H(q());)D();return G(e,A)}function Z(e,t){for(var n="",r=0;r6)switch(E(e,t+1)){case 109:if(45!==E(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+(108==E(e,t+3)?"$3":"$2-$3"))+e;case 115:return~k(e,"stretch",0)?ee(x(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return x(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,s){return l+n+":"+r+s+(o?l+n+"-span:"+(a?i:+i-+r)+s:"")+e}));case 4949:if(121===E(e,t+6))return x(e,":",":"+c)+e;break;case 6444:switch(E(e,45===E(e,14)?18:11)){case 120:return x(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+c+(45===E(e,14)?"inline-":"")+"box$3$1"+c+"$2$3$1"+l+"$2box$3")+e;case 100:return x(e,":",":"+l)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return x(e,"scroll-","scroll-snap-")+e}return e}function te(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case f:return void(e.return=ee(e.value,e.length,n));case h:return Z([I(e,{value:x(e.value,"@","@"+c)})],r);case d:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(w(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":z(I(e,{props:[x(t,/:(read-\w+)/,":"+s+"$1")]})),z(I(e,{props:[t]})),b(e,{props:j(n,r)});break;case"::placeholder":z(I(e,{props:[x(t,/:(plac\w+)/,":"+c+"input-$1")]})),z(I(e,{props:[x(t,/:(plac\w+)/,":"+s+"$1")]})),z(I(e,{props:[x(t,/:(plac\w+)/,l+"input-$1")]})),z(I(e,{props:[t]})),b(e,{props:j(n,r)})}return""}))}}function ne(e){return W(re("",null,null,null,[""],e=U(e),0,[0],e))}function re(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,f=0,p=0,h=0,m=1,b=1,v=1,w=0,O="",R=o,j=a,C=r,P=O;b;)switch(h=w,w=D()){case 40:if(108!=h&&58==E(P,d-1)){-1!=k(P+=x($(w),"&","&\f"),"&\f",g(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:P+=$(w);break;case 9:case 10:case 13:case 32:P+=V(h);break;case 92:P+=Y(B()-1,7);continue;case 47:switch(q()){case 42:case 47:_(ae(K(D(),B()),t,n,s),s);break;default:P+="/"}break;case 123*m:l[c++]=S(P)*v;case 125*m:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+u:-1==v&&(P=x(P,/\f/g,"")),p>0&&S(P)-d&&_(p>32?ie(P+";",r,n,d-1,s):ie(x(P," ","")+";",r,n,d-2,s),s);break;case 59:P+=";";default:if(_(C=oe(P,t,n,c,u,o,l,O,R=[],j=[],d,a),a),123===w)if(0===u)re(P,t,C,C,R,a,d,l,j);else switch(99===f&&110===E(P,3)?100:f){case 100:case 108:case 109:case 115:re(e,C,C,r&&_(oe(e,C,C,0,0,o,l,O,o,R=[],d,j),j),o,j,d,l,r?R:j);break;default:re(P,C,C,C,[""],j,0,l,j)}}c=u=p=0,m=v=1,O=P="",d=i;break;case 58:d=1+S(P),p=h;default:if(m<1)if(123==w)--m;else if(125==w&&0==m++&&125==F())continue;switch(P+=y(w),w*m){case 38:v=u>0?1:(P+="\f",-1);break;case 44:l[c++]=(S(P)-1)*v,v=1;break;case 64:45===q()&&(P+=$(D())),f=q(),u=d=S(O=P+=X(B())),w++;break;case 45:45===h&&2==S(P)&&(m=0)}}return a}function oe(e,t,n,r,o,a,i,l,s,c,u,f){for(var p=o-1,h=0===o?a:[""],m=R(h),y=0,b=0,w=0;y0?h[k]+" "+E:x(E,/&\f/g,h[k])))&&(s[w++]=S);return T(e,t,n,0===o?d:l,s,c,u,f)}function ae(e,t,n,r){return T(e,t,n,u,y(L),O(e,2,-2),0,r)}function ie(e,t,n,r,o){return T(e,t,n,f,O(e,0,r),O(e,r+1,-1),r,o)}var le={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},se="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ce="active",ue="data-styled-version",de="6.1.11",fe="/*!sc*/\n",pe="undefined"!=typeof window&&"HTMLElement"in window,he=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),me={},ge=(new Set,Object.freeze([])),ye=Object.freeze({});function be(e,t,n){return void 0===n&&(n=ye),e.theme!==n.theme&&e.theme||t||n.theme}var ve=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),we=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function ke(e){return e.replace(we,"-").replace(xe,"")}var Ee=/(a)(d)/gi,Oe=52,Se=function(e){return String.fromCharCode(e+(e>25?39:97))};function Re(e){var t,n="";for(t=Math.abs(e);t>Oe;t=t/Oe|0)n=Se(t%Oe)+n;return(Se(t%Oe)+n).replace(Ee,"$1-$2")}var _e,je=5381,Ce=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Pe=function(e){return Ce(je,e)};function Ne(e){return Re(Pe(e)>>>0)}function Ae(e){return e.displayName||e.name||"Component"}function Le(e){return"string"==typeof e&&!0}var Me="function"==typeof Symbol&&Symbol.for,Te=Me?Symbol.for("react.memo"):60115,Ie=Me?Symbol.for("react.forward_ref"):60112,ze={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Fe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},De={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},qe=((_e={})[Ie]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},_e[Te]=De,_e);function Be(e){return("type"in(t=e)&&t.type.$$typeof)===Te?De:"$$typeof"in e?qe[e.$$typeof]:ze;var t}var Ge=Object.defineProperty,He=Object.getOwnPropertyNames,Ue=Object.getOwnPropertySymbols,We=Object.getOwnPropertyDescriptor,$e=Object.getPrototypeOf,Ve=Object.prototype;function Ye(e,t,n){if("string"!=typeof t){if(Ve){var r=$e(t);r&&r!==Ve&&Ye(e,r,n)}var o=He(t);Ue&&(o=o.concat(Ue(t)));for(var a=Be(e),i=Be(t),l=0;l0?" Args: ".concat(t.join(", ")):""))}var rt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw nt(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,a=r;a=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(s+="".concat(e,","))})),r+="".concat(i).concat(l,'{content:"').concat(s,'"}').concat(fe)},a=0;a0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===d&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(xt,n).replace(r,c))})),i.prefix&&u.push(te),u.push(J);var f=function(e,o,a,l){void 0===o&&(o=""),void 0===a&&(a=""),void 0===l&&(l="&"),t=l,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(kt,""),c=ne(a||o?"".concat(a," ").concat(o," { ").concat(s," }"):s);i.namespace&&(c=Et(c,i.namespace));var d,f,p,h=[];return Z(c,(d=u.concat((p=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&p(e)})),f=R(d),function(e,t,n,r){for(var o="",a=0;a="A"&&e<="Z"};function Lt(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,a)){var i=n(o,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}r=Xe(r,a),this.staticRulesId=a}else{for(var l=Ce(this.baseHash,n.hash),s="",c=0;c>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(s,".".concat(f),void 0,this.componentId)),r=Xe(r,f)}}return r},e}(),qt=o().createContext(void 0);qt.Consumer;var Bt={};new Set;function Gt(t,n,a){var i=Ke(t),l=t,s=!Le(t),c=n.attrs,u=void 0===c?ge:c,d=n.componentId,f=void 0===d?function(e,t){var n="string"!=typeof e?"sc":ke(e);Bt[n]=(Bt[n]||0)+1;var r="".concat(n,"-").concat(Ne(de+n+Bt[n]));return t?"".concat(t,"-").concat(r):r}(n.displayName,n.parentComponentId):d,p=n.displayName,h=void 0===p?function(e){return Le(e)?"styled.".concat(e):"Styled(".concat(Ae(e),")")}(t):p,m=n.displayName&&n.componentId?"".concat(ke(n.displayName),"-").concat(n.componentId):n.componentId||f,g=i&&l.attrs?l.attrs.concat(u).filter(Boolean):u,y=n.shouldForwardProp;if(i&&l.shouldForwardProp){var b=l.shouldForwardProp;if(n.shouldForwardProp){var v=n.shouldForwardProp;y=function(e,t){return b(e,t)&&v(e,t)}}else y=b}var w=new Dt(a,m,i?l.componentStyle:void 0);function x(t,n){return function(t,n,a){var i=t.attrs,l=t.componentStyle,s=t.defaultProps,c=t.foldedComponentIds,u=t.styledComponentId,d=t.target,f=o().useContext(qt),p=Ct(),h=t.shouldForwardProp||p.shouldForwardProp,m=be(n,f,s)||ye,g=function(t,n,r){for(var o,a=e(e({},n),{className:void 0,theme:r}),i=0;i2&&wt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Kt(n){for(var r=[],a=1;a").concat(e,"")},this.getStyleTags=function(){if(t.sealed)throw nt(2);return t._emitSheetCSS()},this.getStyleElement=function(){var n;if(t.sealed)throw nt(2);var r=((n={})[se]="",n[ue]=de,n.dangerouslySetInnerHTML={__html:t.instance.toString()},n),a=pt();return a&&(r.nonce=a),[o().createElement("style",e({},r,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new wt({isServer:!0}),this.sealed=!1}t.prototype.collectStyles=function(e){if(this.sealed)throw nt(2);return o().createElement(Pt,{sheet:this.instance},e)},t.prototype.interleaveWithNodeStream=function(e){throw nt(3)}})(),"__sc-".concat(se,"__");var Jt={white:"hsl(0 0% 100%)",black:"hsl(0 0% 0%)",blue:"hsl(217 80% 42%)",blue10:"hsl(217 85% 22%)",blue50:"hsl(217 75% 58%)",blue80:"hsl(217 60% 88%)",blue95:"hsl(217 80% 96%)",green:"hsl(155 75% 42%)",green90:"hsl(155 60% 92%)",cyan:"hsl(188 85% 46%)",red:"hsl(358 76% 54%)",red90:"hsl(358 85% 96%)",orange:"hsl(28 92% 52%)",yellow:"hsl(45 92% 54%)",purple:"hsl(262 72% 62%)",gray30:"hsl(220 18% 20%)",gray40:"hsl(220 12% 34%)",gray50:"hsl(220 10% 48%)",gray60:"hsl(220 12% 62%)",gray70:"hsl(220 14% 76%)",gray80:"hsl(220 16% 86%)",gray90:"hsl(220 20% 92%)",gray95:"hsl(220 24% 96%)",gray98:"hsl(220 30% 98%)"},en=Kt(Zt||(Zt=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n :root {\n /* Base colors */\n --neko-blue: ",";\n --neko-white: ",";\n --neko-black: ",";\n --neko-purple: ",";\n --neko-orange: ",";\n --neko-yellow: ",";\n --neko-green: ",";\n --neko-cyan: ",";\n --neko-red: ",";\n\n /* Gray scale */\n --neko-gray-30: ",";\n --neko-gray-40: ",";\n --neko-gray-50: ",";\n --neko-gray-60: ",";\n --neko-gray-70: ",";\n --neko-gray-80: ",";\n --neko-gray-90: ",";\n --neko-gray-95: ",";\n --neko-gray-98: ",";\n\n /* Main color (primary = cat blue) */\n --neko-main-color: var(--neko-blue);\n --neko-main-color-10: ",";\n --neko-main-color-50: ",";\n --neko-main-color-80: ",";\n --neko-main-color-95: ",";\n --neko-main-color-98: hsl(217 50% 99%);\n --neko-main-overlay-color: rgb(30 86 220 / 85%);\n\n /* Variants */\n --neko-success: var(--neko-green);\n --neko-primary: var(--neko-main-color);\n --neko-secondary: ",";\n --neko-danger: var(--neko-red);\n --neko-warning: var(--neko-orange);\n --neko-lighten-green: ",";\n --neko-lighten-red: ",";\n\n /* Accent (checkbox/switch confirmation = cat green) */\n --neko-accent-color: var(--neko-green);\n --neko-accent-color-90: ",";\n\n /* Typography — WordPress admin system stack by default so plugins feel\n native inside wp-admin. Stories that want the Inter variable can\n override --neko-font-family locally. */\n --neko-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;\n --neko-font-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;\n --neko-font-size: 13px;\n --neko-small-font-size: 12px;\n --neko-h1-font-size: 24px;\n --neko-h2-font-size: 20px;\n --neko-h3-font-size: 17px;\n --neko-h4-font-size: 15px;\n --neko-h5-font-size: 14px;\n --neko-h6-font-size: 13px;\n --neko-font-color: var(--neko-gray-30);\n\n /* Motion tokens */\n --neko-ease-out: cubic-bezier(0.16, 1, 0.3, 1);\n --neko-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);\n --neko-duration-fast: 140ms;\n --neko-duration-base: 220ms;\n --neko-duration-slow: 360ms;\n\n /* Form control baseline — every input, select, button, checkbox, and the\n line-height on Settings titles reads from this token. Change it here,\n all controls re-align together. */\n --neko-control-height: 30px;\n --neko-control-height-small: 24px;\n --neko-control-height-large: 44px;\n\n /* Surface title — the \"white title above a white card\" spec that\n NekoBlock.primary and NekoTabs inversed share. Define once so they\n stay visually identical when placed side-by-side. */\n --neko-surface-title-font-size: 18px;\n --neko-surface-title-font-weight: 600;\n --neko-surface-title-line-height: 1.25;\n --neko-surface-title-letter-spacing: 0;\n --neko-surface-title-padding-bottom: 8px;\n --neko-surface-section-gap: 16px;\n\n /* Radii & Shadows — refined multi-layer shadows */\n --neko-radius-sm: 8px;\n --neko-radius-md: 12px;\n --neko-radius-lg: 16px;\n --neko-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);\n --neko-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);\n --neko-shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.05);\n --neko-shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12), 0 6px 14px rgba(15, 23, 42, 0.07);\n --neko-focus-ring: 0 0 0 3px color-mix(in oklab, var(--neko-main-color) 24%, transparent);\n\n /* Neko UI */\n --neko-wp-background-color: #f0f0f1;\n --neko-background-color: var(--neko-wp-background-color);\n --neko-disabled-color: var(--neko-gray-60);\n --neko-main-color-alternative: var(--neko-main-color-10);\n --neko-main-color-disabled: var(--neko-main-color-50);\n --neko-input-background: var(--neko-white);\n --neko-input-border: var(--neko-gray-90);\n }\n\n /* Base reset/typography and focus treatments */\n html {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n }\n body {\n font-family: var(--neko-font-family);\n color: var(--neko-font-color);\n background-color: var(--neko-background-color);\n }\n :focus-visible { outline: none; box-shadow: var(--neko-focus-ring); }\n\n /* Brand-tinted text selection */\n ::selection {\n background: color-mix(in oklab, var(--neko-main-color) 24%, transparent);\n color: var(--neko-font-color);\n }\n\n /* Tabular nums helper — for tables, counters, metrics */\n .neko-numeric, .neko-tabular {\n font-variant-numeric: tabular-nums;\n font-feature-settings: 'tnum' 1;\n }\n\n /* Reduced motion */\n @media (prefers-reduced-motion: reduce) {\n *, *::before, *::after {\n animation-duration: 0.001ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.001ms !important;\n }\n }\n"])),Jt.blue,Jt.white,Jt.black,Jt.purple,Jt.orange,Jt.yellow,Jt.green,Jt.cyan,Jt.red,Jt.gray30,Jt.gray40,Jt.gray50,Jt.gray60,Jt.gray70,Jt.gray80,Jt.gray90,Jt.gray95,Jt.gray98,Jt.blue10,Jt.blue50,Jt.blue80,Jt.blue95,Jt.blue95,Jt.green90,Jt.red90,Jt.green90),tn=function(){return{colors:Jt}},nn=function(e){var t=e.children;return React.createElement(React.Fragment,null,React.createElement(en,{key:"neko-ui-styles"}),t)};const rn=function(e){var t=e.children;return React.createElement(nn,null,t)},on=rn,an=r.createContext(void 0),ln=r.createContext(!1);function sn(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=an),window.ReactQueryClientContext):an)}const cn=({context:e}={})=>{const t=r.useContext(sn(e,r.useContext(ln)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},un=({client:e,children:t,context:n,contextSharing:o=!1})=>{r.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]);const a=sn(n,o);return r.createElement(ln.Provider,{value:!n&&o},r.createElement(a.Provider,{value:e},t))},dn="undefined"==typeof window||"Deno"in window;function fn(){}function pn(e){return"number"==typeof e&&e>=0&&e!==1/0}function hn(e,t){return Math.max(e+(t||0)-Date.now(),0)}function mn(e,t,n){return jn(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function gn(e,t,n){return jn(e)?[{...t,queryKey:e},n]:[e||{},t]}function yn(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:a,queryKey:i,stale:l}=e;if(jn(i))if(r){if(t.queryHash!==vn(i,t.options))return!1}else if(!xn(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof l||t.isStale()===l)&&((void 0===o||o===t.state.fetchStatus)&&!(a&&!a(t)))}function bn(e,t){const{exact:n,fetching:r,predicate:o,mutationKey:a}=e;if(jn(a)){if(!t.options.mutationKey)return!1;if(n){if(wn(t.options.mutationKey)!==wn(a))return!1}else if(!xn(t.options.mutationKey,a))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function vn(e,t){return((null==t?void 0:t.queryKeyHashFn)||wn)(e)}function wn(e){return JSON.stringify(e,((e,t)=>Rn(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function xn(e,t){return kn(e,t)}function kn(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!kn(e[n],t[n]))))}function En(e,t){if(e===t)return e;const n=Sn(e)&&Sn(t);if(n||Rn(e)&&Rn(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),a=o.length,i=n?[]:{};let l=0;for(let r=0;r{setTimeout(t,e)}))}function Pn(e){Cn(0).then(e)}function Nn(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?En(e,t):t}const An=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()};const o=r=>{t?e.push(r):Pn((()=>{n(r)}))},a=()=>{const t=e;e=[],t.length&&Pn((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||a()}return n},batchCalls:e=>(...t)=>{o((()=>{e(...t)}))},schedule:o,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e}}}();class Ln{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){const t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const Mn=new class extends Ln{constructor(){super(),this.setup=e=>{if(!dn&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused!==e&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach((({listener:e})=>{e()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},Tn=["online","offline"];const In=new class extends Ln{constructor(){super(),this.setup=e=>{if(!dn&&window.addEventListener){const t=()=>e();return Tn.forEach((e=>{window.addEventListener(e,t,!1)})),()=>{Tn.forEach((e=>{window.removeEventListener(e,t)}))}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online!==e&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach((({listener:e})=>{e()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function zn(e){return Math.min(1e3*2**e,3e4)}function Fn(e){return"online"!==(null!=e?e:"online")||In.isOnline()}class Dn{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function qn(e){return e instanceof Dn}function Bn(e){let t,n,r,o=!1,a=0,i=!1;const l=new Promise(((e,t)=>{n=e,r=t})),s=()=>!Mn.isFocused()||"always"!==e.networkMode&&!In.isOnline(),c=r=>{i||(i=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},u=n=>{i||(i=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},d=()=>new Promise((n=>{t=e=>{const t=i||!s();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,i||null==e.onContinue||e.onContinue()})),f=()=>{if(i)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch((t=>{var n,r;if(i)return;const l=null!=(n=e.retry)?n:3,c=null!=(r=e.retryDelay)?r:zn,p="function"==typeof c?c(a,t):c,h=!0===l||"number"==typeof l&&a{if(s())return d()})).then((()=>{o?u(t):f()}))):u(t)}))};return Fn(e.networkMode)?f():d().then(f),{promise:l,cancel:t=>{i||(u(new Dn(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?l:Promise.resolve(),cancelRetry:()=>{o=!0},continueRetry:()=>{o=!1}}}class Gn extends Ln{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),Hn(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Un(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Un(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),On(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const o=this.hasListeners();o&&Wn(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const a=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e),n=this.createResult(t,e);return function(e,t,n){if(n.keepPreviousData)return!1;if(void 0!==n.placeholderData)return t.isPlaceholderData;if(!On(e.getCurrentResult(),t))return!0;return!1}(this,n,e)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach((n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})})),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(fn)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),dn||this.currentResult.isStale||!pn(this.options.staleTime))return;const e=hn(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!dn&&!1!==this.options.enabled&&pn(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||Mn.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,r=this.options,o=this.currentResult,a=this.currentResultState,i=this.currentResultOptions,l=e!==n,s=l?e.state:this.currentQueryInitialState,c=l?this.currentResult:this.previousQueryResult,{state:u}=e;let d,{dataUpdatedAt:f,error:p,errorUpdatedAt:h,fetchStatus:m,status:g}=u,y=!1,b=!1;if(t._optimisticResults){const o=this.hasListeners(),a=!o&&Hn(e,t),i=o&&Wn(e,n,t,r);(a||i)&&(m=Fn(e.options.networkMode)?"fetching":"paused",f||(g="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!u.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==g)d=c.data,f=c.dataUpdatedAt,g=c.status,y=!0;else if(t.select&&void 0!==u.data)if(o&&u.data===(null==a?void 0:a.data)&&t.select===this.selectFn)d=this.selectResult;else try{this.selectFn=t.select,d=t.select(u.data),d=Nn(null==o?void 0:o.data,d,t),this.selectResult=d,this.selectError=null}catch(e){0,this.selectError=e}else d=u.data;if(void 0!==t.placeholderData&&void 0===d&&"loading"===g){let e;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==i?void 0:i.placeholderData))e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){0,this.selectError=e}void 0!==e&&(g="success",d=Nn(null==o?void 0:o.data,e,t),b=!0)}this.selectError&&(p=this.selectError,d=this.selectResult,h=Date.now(),g="error");const v="fetching"===m,w="loading"===g,x="error"===g;return{status:g,fetchStatus:m,isLoading:w,isSuccess:"success"===g,isError:x,isInitialLoading:w&&v,data:d,dataUpdatedAt:f,error:p,errorUpdatedAt:h,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>s.dataUpdateCount||u.errorUpdateCount>s.errorUpdateCount,isFetching:v,isRefetching:v&&!w,isLoadingError:x&&0===u.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:b,isPreviousData:y,isRefetchError:x&&0!==u.dataUpdatedAt,isStale:$n(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,On(n,t))return;this.currentResult=n;const r={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.trackedProps.size)return!0;const r=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&r.add("error"),Object.keys(this.currentResult).some((e=>{const n=e;return this.currentResult[n]!==t[n]&&r.has(n)}))})()&&(r.listeners=!0),this.notify({...r,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||qn(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){An.batch((()=>{var t,n,r,o;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(o=this.options).onSettled)||r.call(o,this.currentResult.data,null);else if(e.onError){var a,i,l,s;null==(a=(i=this.options).onError)||a.call(i,this.currentResult.error),null==(l=(s=this.options).onSettled)||l.call(s,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)})),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function Hn(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&Un(e,t,t.refetchOnMount)}function Un(e,t,n){if(!1!==t.enabled){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&$n(e,t)}return!1}function Wn(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&$n(e,n)}function $n(e,t){return e.isStaleByTime(t.staleTime)}const Vn=n(143).useSyncExternalStore;function Yn(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const Qn=r.createContext(Yn()),Kn=()=>r.useContext(Qn),Xn=r.createContext(!1),Zn=()=>r.useContext(Xn);Xn.Provider;function Jn(e,t){return"function"==typeof e?e(...t):!!e}const er=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},tr=e=>{r.useEffect((()=>{e.clearReset()}),[e])},nr=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&Jn(n,[e.error,r]),rr=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},or=(e,t,n)=>(null==e?void 0:e.suspense)&&((e,t)=>e.isLoading&&e.isFetching&&!t)(t,n),ar=(e,t,n)=>t.fetchOptimistic(e).then((({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)})).catch((t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)}));function ir(e,t,n){return function(e,t){const n=cn({context:e.context}),o=Zn(),a=Kn(),i=n.defaultQueryOptions(e);i._optimisticResults=o?"isRestoring":"optimistic",i.onError&&(i.onError=An.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=An.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=An.batchCalls(i.onSettled)),rr(i),er(i,a),tr(a);const[l]=r.useState((()=>new t(n,i))),s=l.getOptimisticResult(i);if(Vn(r.useCallback((e=>{const t=o?()=>{}:l.subscribe(An.batchCalls(e));return l.updateResult(),t}),[l,o]),(()=>l.getCurrentResult()),(()=>l.getCurrentResult())),r.useEffect((()=>{l.setOptions(i,{listeners:!1})}),[i,l]),or(i,s,o))throw ar(i,l,a);if(nr({result:s,errorResetBoundary:a,useErrorBoundary:i.useErrorBoundary,query:l.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:l.trackResult(s)}(mn(e,t,n),Gn)}const lr=console;class sr{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),pn(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:dn?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class cr extends sr{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||lr,this.observers=[],this.state=e.state||ur(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=Bn({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,r,o,a,i,l,s,c;if(!t){var u,d,f,p;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(u=(d=this.mutationCache.config).onMutate)?void 0:u.call(d,this.state.variables,this));const e=await(null==(f=(p=this.options).onMutate)?void 0:f.call(p,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const h=await e();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,h,this.state.variables,this.state.context,this)),await(null==(o=(a=this.options).onSuccess)?void 0:o.call(a,h,this.state.variables,this.state.context)),await(null==(i=(l=this.mutationCache.config).onSettled)?void 0:i.call(l,h,null,this.state.variables,this.state.context,this)),await(null==(s=(c=this.options).onSettled)?void 0:s.call(c,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(e){try{var h,m,g,y,b,v,w,x;throw await(null==(h=(m=this.mutationCache.config).onError)?void 0:h.call(m,e,this.state.variables,this.state.context,this)),await(null==(g=(y=this.options).onError)?void 0:g.call(y,e,this.state.variables,this.state.context)),await(null==(b=(v=this.mutationCache.config).onSettled)?void 0:b.call(v,void 0,e,this.state.variables,this.state.context,this)),await(null==(w=(x=this.options).onSettled)?void 0:w.call(x,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Fn(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),An.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}function ur(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class dr extends Ln{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),On(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.currentMutation)||e.removeObserver(this))}onMutationUpdate(e){this.updateResult();const t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){An.batch((()=>{var t,n,r,o;if(this.mutateOptions&&this.hasListeners())if(e.onSuccess)null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(o=this.mutateOptions).onSettled)||r.call(o,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(e.onError){var a,i,l,s;null==(a=(i=this.mutateOptions).onError)||a.call(i,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(l=(s=this.mutateOptions).onSettled)||l.call(s,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)}))}))}}function fr(e,t,n){const o=function(e,t,n){return jn(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}(e,t,n),a=cn({context:o.context}),[i]=r.useState((()=>new dr(a,o)));r.useEffect((()=>{i.setOptions(o)}),[i,o]);const l=Vn(r.useCallback((e=>i.subscribe(An.batchCalls(e))),[i]),(()=>i.getCurrentResult()),(()=>i.getCurrentResult())),s=r.useCallback(((e,t)=>{i.mutate(e,t).catch(pr)}),[i]);if(l.error&&Jn(i.options.useErrorBoundary,[l.error]))throw l.error;return{...l,mutate:s,mutateAsync:l.mutate}}function pr(){}var hr=n(449),mr=n.n(hr); /** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ const gr=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,((e,t,n)=>n?n.toUpperCase():t.toLowerCase())))(e);return t.charAt(0).toUpperCase()+t.slice(1)},yr=(...e)=>e.filter(((e,t,n)=>Boolean(e)&&""!==e.trim()&&n.indexOf(e)===t)).join(" ").trim(),br=e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0}; /** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ var vr={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}; /** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ const wr=(0,r.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:a="",children:i,iconNode:l,...s},c)=>(0,r.createElement)("svg",{ref:c,...vr,width:t,height:t,stroke:e,strokeWidth:o?24*Number(n)/Number(t):n,className:yr("lucide",a),...!i&&!br(s)&&{"aria-hidden":"true"},...s},[...l.map((([e,t])=>(0,r.createElement)(e,t))),...Array.isArray(i)?i:[i]]))),xr=(e,t)=>{const n=(0,r.forwardRef)((({className:n,...o},a)=>{return(0,r.createElement)(wr,{ref:a,iconNode:t,className:yr(`lucide-${i=gr(e),i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...o});var i}));return n.displayName=gr(e),n},kr=xr("timer-reset",[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M12 14v-4",key:"1evpnu"}],["path",{d:"M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6",key:"1ts96g"}],["path",{d:"M9 17H4v5",key:"8t5av"}]]),Er=xr("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]),Or=xr("list",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]),Sr=xr("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),Rr=xr("lock-keyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]),_r=xr("lock-open",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]),jr=xr("file-x",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]]),Cr=xr("file-symlink",[["path",{d:"m10 18 3-3-3-3",key:"18f6ys"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 11V4a2 2 0 0 1 2-2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7",key:"50q2rw"}]]),Pr=xr("chevrons-left",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]),Nr=xr("chevrons-right",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]),Ar=xr("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),Lr=xr("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),Mr=xr("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),Tr=xr("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),Ir=xr("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]),zr=xr("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]),Fr=xr("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),Dr=xr("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),qr=xr("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),Br=xr("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),Gr=xr("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]),Hr=xr("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),Ur=xr("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]),Wr=xr("undo",[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]]),$r=xr("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]),Vr=xr("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),Yr=xr("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),Qr=xr("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]),Kr=xr("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),Xr=xr("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Zr=xr("cat",[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]]),Jr=xr("circle-arrow-up",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]]),eo=xr("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]),to=xr("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]),no=xr("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),ro=xr("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]),oo=xr("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),ao=xr("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]),io=xr("images",[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]]),lo=xr("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),so=xr("folder-plus",[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]),co=xr("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]),uo=xr("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]),fo=xr("twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]),po=xr("instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]),ho=xr("facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]),mo=xr("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]),go=xr("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]),yo=xr("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]),bo=xr("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]),vo=xr("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]),wo=xr("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),xo=xr("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),ko=xr("image-off",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83",key:"1bzlo9"}],["line",{x1:"13.5",x2:"6",y1:"13.5",y2:"21",key:"1q0aeu"}],["line",{x1:"18",x2:"21",y1:"12",y2:"15",key:"5mozeu"}],["path",{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",key:"mmje98"}],["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}]]),Eo=xr("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]),Oo=xr("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]),So=xr("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),Ro=xr("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),_o=xr("arrow-up-down",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]),jo=xr("circle-pause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]),Co=xr("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]),Po=xr("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]),No=xr("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]),Ao=xr("list-checks",[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]),Lo=xr("server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]),Mo=xr("key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]),To=xr("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),Io=xr("plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]),zo=xr("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),Fo=xr("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]),Do=xr("rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]),qo=xr("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]),Bo=xr("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]),Go=xr("at-sign",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]]),Ho=xr("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]),Uo=xr("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),Wo=xr("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),$o=xr("file-plus",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]]),Vo=xr("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]),Yo=xr("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]),Qo=xr("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]),Ko=xr("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]),Xo=xr("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Zo=xr("file-up",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]]),Jo=xr("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]),ea=xr("bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]),ta=xr("scan-eye",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]]),na=xr("feather",[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]]),ra=xr("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),oa=xr("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),aa=xr("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]),ia=xr("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),la=xr("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]),sa=xr("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]),ca=xr("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]),ua=xr("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]),da=xr("brush-cleaning",[["path",{d:"m16 22-1-4",key:"1ow2iv"}],["path",{d:"M19 13.99a1 1 0 0 0 1-1V12a2 2 0 0 0-2-2h-3a1 1 0 0 1-1-1V4a2 2 0 0 0-4 0v5a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v.99a1 1 0 0 0 1 1",key:"iw8jdu"}],["path",{d:"M5 14h14l1.973 6.767A1 1 0 0 1 20 22H4a1 1 0 0 1-.973-1.233z",key:"1soew8"}],["path",{d:"m8 22 1-4",key:"s3unb"}]]),fa=xr("book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);var pa={trash:"rgb(255 255 255 / 25%)",delete:"rgb(255 255 255 / 25%)",pencil:"rgb(255 255 255 / 25%)",filter:"rgb(255 255 255 / 25%)",lightning:"rgb(255 255 255 / 25%)",zap:"rgb(255 255 255 / 25%)",stop:"rgb(255 255 255 / 25%)","checkbox-blank":"rgb(255 255 255 / 25%)","checkbox-marked":"rgb(255 255 255 / 25%)",star:"rgb(255 255 255 / 25%)","file-upload":"rgb(255 255 255 / 25%)",cat:"rgb(255 255 255 / 25%)",pinterest:"rgb(255 255 255 / 25%)",instagram:"rgb(255 255 255 / 25%)",facebook:"rgb(255 255 255 / 25%)","rocket-launch":"rgb(255 255 255 / 25%)",upload:"rgb(255 255 255 / 25%)","zoom-in":"rgb(255 255 255 / 25%)",dashboard:"rgb(255 255 255 / 25%)",tools:"rgb(255 255 255 / 25%)",cog:"rgb(255 255 255 / 25%)",database:"rgb(255 255 255 / 25%)",folder:"rgb(255 255 255 / 25%)","lock-open":"rgb(255 255 255 / 25%)",lock:"rgb(255 255 255 / 25%)",question:"rgb(255 255 255 / 25%)","info-outline":"rgb(255 255 255 / 25%)",alert:"rgb(255 255 255 / 25%)",play:"rgb(255 255 255 / 25%)",sparkles:"rgb(255 255 255 / 25%)",bell:"rgb(255 255 255 / 25%)",home:"rgb(255 255 255 / 25%)",phone:"rgb(255 255 255 / 25%)",message:"rgb(255 255 255 / 25%)"},ha=18;const ma={"timer-reset":kr,tag:Er,"format-list-bulleted":Or,duplicate:Sr,lock:Rr,"lock-open":_r,"file-undo":jr,"file-move":Cr,"chevron-double-left":Pr,"chevron-double-right":Nr,"chevron-left":Ar,"chevron-right":Lr,"chevron-down":Mr,"chevron-up":Tr,pause:Ir,play:zr,replay:Fr,check:Dr,"check-circle":qr,circle:Br,stop:Gr,"checkbox-blank":Gr,"checkbox-marked":Hr,delete:Ur,undo:Wr,alert:$r,warning:Vr,database:Yr,tools:Qr,cog:Kr,close:Xr,cat:Zr,upload:Jr,trash:Ur,pencil:eo,dashboard:to,search:no,folder:ro,"folder-open":oo,image:ao,"image-multiple-outline":io,plus:lo,"folder-plus":so,"image-plus":co,"view-grid":uo,list:Or,twitter:fo,instagram:po,facebook:ho,star:mo,"timer-outline":go,link:yo,linkedin:bo,pinterest:vo,"zoom-in":wo,"info-outline":xo,"image-off-outline":ko,"arrow-up":Eo,"arrow-down":Oo,"arrow-left":So,"arrow-right":Ro,sort:_o,"alert-triangle":Vr,"alert-circle":$r,"pause-circle":jo,brain:Co,console:Po,terminal:Po,clipboard:No,copy:Sr,"list-checks":Ao,server:Lo,key:Mo,user:To,plug:Io,eye:zo,"eye-off":Fo,"rocket-launch":Do,"calendar-month":qo,wand:Bo,mastodon:Go,filter:Ho,question:Uo,loading:Wo,new:$o,save:Vo,reset:Yo,rename:Qo,edit:Qo,sync:Ko,lightning:Xo,zap:Xo,refresh:Ko,"file-upload":Zo,sparkles:Jo,debug:ea,retina:ta,feather:na,"external-link":ra,download:oa,share:aa,mail:ia,phone:la,message:sa,bell:ca,home:ua,clean:da,book:fa};var ga=n(206),ya=n.n(ga);n(393);function ba(e){return ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ba(e)}function va(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||wa(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wa(e,t){if(e){if("string"==typeof e)return xa(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xa(e,t):void 0}}function xa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0}));n.forEach((function(t){return e.push(t)}))}else if("object"===ba(t)){Object.keys(t).forEach((function(n){t[n]&&e.push(n)}))}})),e.join(" ")}),[t])};function Sa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ra(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ra(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ra(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ga(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ha,Ua=Yt.div(Aa||(Aa=Ga(["\n display: flex;\n align-items: center;\n\n &.neko-clickable {\n cursor: pointer;\n }\n\n &.spin svg {\n animation-name: spin;\n animation-duration: 700ms;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n\n @keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n }\n\n &.disabled {\n pointer-events: none;\n opacity: 0.35;\n cursor: default;\n }\n\n svg {\n color: ",";\n transition: color 0.2s ease;\n }\n\n &:hover svg {\n color: ",";\n filter: ",";\n }\n"])),(function(e){return e.$color}),(function(e){return e.$hoverColor||e.$color}),(function(e){return!e.$hoverColor&&e.$color?"brightness(1.1)":"none"})),Wa=Yt.div(La||(La=Ga(["\n width: 25px;\n height: auto;\n display: flex;\n justify-content: center;\n align-items: center;\n\n img {\n width: auto !important;\n height: 25px !important;\n }\n"]))),$a={primary:{color:"var(--neko-blue)"},success:{color:"var(--neko-green)"},warning:{color:"var(--neko-yellow)"},danger:{color:"var(--neko-red)"}},Va=function(e){var t=e.icon,n=e.color,a=e.spinning,i=void 0!==a&&a,l=e.className,s=void 0===l?"":l,c=e.tooltip,u=e.raw,d=e.isBusy,f=void 0!==d&&d,p=e.busy,h=void 0!==p&&p,m=e.variant,g=e.title,y=e.containerStyle,b=e.hoverColor,v=e.disabled,w=void 0!==v&&v,x=e.width,k=e.height,E=e.strokeWidth,O=Ba(e,Ma),S=h||f;o().useEffect((function(){f&&console.log('NekoIcon: The "isBusy" prop is deprecated. Please use "busy" instead.')}),[f]);var R=m&&$a[m]?$a[m].color:n,_=m&&$a[m]?$a[m].hoverColor:b,j="string"==typeof t&&pa[t]?pa[t]:void 0,C=x||k||30,P=(0,r.useMemo)((function(){return"string"==typeof t?ma[t]?ma[t]:(console.warn('NekoIcon: Icon "'.concat(t,'" does not exist. Falling back to placeholder.')),Uo):t}),[t]),N=(0,r.useMemo)((function(){return"string"==typeof t||"function"==typeof P||"object"===qa(P)}),[t,P]),A=Oa("neko-icon",s,{"neko-clickable":!!O.onClick},{spin:i||S},{disabled:w}),L=function(){if(S&&!w)return o().createElement(Wo,{size:C,className:"spin",strokeWidth:E});if(N){var e=P,t=(O.width,O.height,O.fill),n=Ba(O,Ta);return o().createElement(e,Fa({size:C,fill:t||j||"none",strokeWidth:E},n))}return o().createElement(Wa,null,P)};if(c)return"string"==typeof c&&(c={text:c}),o().createElement(Na,{text:c.text,position:c.position||"top"},o().createElement(Ua,{style:y,className:A,$color:R,$hoverColor:_,title:g},L()));if(u){if(N){var M=P,T=(O.width,O.height,O.fill),I=Ba(O,Ia);return o().createElement(M,Fa({size:C,color:R,fill:T||j||"none",className:A,strokeWidth:E},I))}return o().createElement(Wa,null,P)}return o().createElement(Ua,{style:y,title:g,className:A,$color:R,$hoverColor:_},L())};function Ya(e){return Ya="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ya(e)}Va.propTypes={icon:mr().oneOfType([mr().elementType,mr().oneOf(["duplicate","lock","lock-open","file-undo","chevron-double-left","chevron-double-right","chevron-left","chevron-right","chevron-down","chevron-up","pause","play","replay","check","check-circle","stop","checkbox-blank","checkbox-marked","delete","undo","alert","database","tools","cog","close","cat","upload","trash","pencil","dashboard","search","folder","folder-open","image-multiple-outline","plus","folder-plus","image-plus","view-grid","list","twitter","instagram","facebook","star","timer-outline","link","linkedin","pinterest","zoom-in","info-outline","image-off-outline","arrow-up","arrow-down","sort","eye","rocket-launch","calendar-month","wand","mastodon","filter","question","loading","new","save","reset","rename","edit","debug","external-link","download","share","mail","phone","message","bell","home"])]),color:mr().string,spinning:mr().bool,className:mr().string,tooltip:mr().string,raw:mr().bool,busy:mr().bool,isBusy:mr().bool,variant:mr().string};var Qa=["type","name","value","description","placeholder","onChange","onEnter","onBlur","onFinalChange","readOnly","step","min","max","maxLength","natural","onReset","isCommaSeparatedArray","iconEmpty","iconFilled","onEmptyIconClick","onFilledIconClick","action","className","style","inputStyle"];function Ka(){return Ka=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0}))},ri=function(e,t){var n=e.type,a=void 0===n?"text":n,i=e.name,l=e.value,s=void 0===l?"":l,c=e.description,u=e.placeholder,d=void 0===u?"":u,f=e.onChange,p=e.onEnter,h=e.onBlur,m=e.onFinalChange,g=e.readOnly,y=void 0!==g&&g,b=e.step,v=void 0===b?1:b,w=e.min,x=void 0===w?0:w,k=e.max,E=void 0===k?null:k,O=e.maxLength,S=e.natural,R=void 0!==S&&S,_=e.onReset,j=e.isCommaSeparatedArray,C=void 0!==j&&j,P=e.iconEmpty,N=void 0===P?"":P,A=e.iconFilled,L=void 0===A?"":A,M=e.onEmptyIconClick,T=e.onFilledIconClick,I=e.action,z=e.className,F=e.style,D=e.inputStyle,q=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Qa),B=ei((0,r.useState)(s||0===s?s:""),2),G=B[0],H=B[1],U=ei((0,r.useState)(!1),2),W=U[0],$=U[1],V=!!f,Y=(0,r.useRef)(null),Q=ei((0,r.useState)(0),2),K=Q[0],X=Q[1];(0,r.useLayoutEffect)((function(){if(I&&Y.current){var e=Y.current,t=function(){return X(e.offsetWidth)};t();var n=new ResizeObserver(t);return n.observe(e),function(){return n.disconnect()}}X(0)}),[I]);var Z="password"===a,J=Z&&!N&&!L,ee=Z&&W?"text":a,te=O||("number"===a?3:void 0);(0,r.useEffect)((function(){m&&(p||h)&&console.warn("NekoInput: Since onFinalChange is used, onEnter and onBlur are redundant.")}),[m,p,h]),(0,r.useEffect)((function(){var e;V||H(C?(e=s,Array.isArray(e)||(console.warn("The provided value is not an array. Falling back to an empty array."),e=[]),e.join(", ")):s)}),[s]);var ne=function(e){var t=e.target.value,n=C?ni(t):t;e.stopPropagation(),e.preventDefault(),V?f(n,i):H(t)},re=function(e){if("Enter"===e.key){e.preventDefault();var t=e.target.value,n=C?ni(t):t;m?m(n,i):p&&p(n,i)}},oe=function(e){var t=e.target.value,n=C?ni(t):t;(C?function(e,t){if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;for(var n=0;n0:e&&""!==e&&0!==e},le=N||L||J,se=Boolean(ie()&&L),ce=Boolean(!ie()&&N);return o().createElement("div",{className:z,style:F},o().createElement("div",{style:{position:"relative"}},"number"===a?o().createElement("input",Ka({ref:t,className:ae,name:i,value:V?s:G,type:a,disabled:y,step:v,min:x,max:E,maxLength:te,autoComplete:"off","data-form-type":"other",placeholder:d,style:Za(Za({},D),{},{paddingRight:I?"".concat(K+10,"px"):le?"30px":void 0}),onChange:ne,onKeyPress:re,onBlur:function(e){!function(e){var t=Number(e.target.value);x&&tNumber(E)&&(e.target.value=E)}(e),oe(e)},readOnly:y},q)):o().createElement("input",Ka({ref:t,className:ae},q,{name:i,value:V?s:G,type:ee,disabled:y,spellCheck:"false",autoComplete:"off","data-form-type":"other",placeholder:d,style:Za(Za({},D),{},{paddingRight:I?"".concat(K+10,"px"):le?"30px":void 0}),maxLength:te,onChange:ne,onKeyPress:re,onBlur:oe,readOnly:y},q)),I&&o().createElement("div",{className:"neko-input-action",ref:Y},I),!!s&&!!_&&o().createElement(Va,{icon:"close",width:24,style:{position:"absolute",top:"3px",right:"3px"},variant:"blue",onClick:function(){return _()}}),ce&&o().createElement(Va,{icon:N,width:15,style:{position:"absolute",top:"50%",right:"8px",transform:"translateY(-50%)",pointerEvents:M?"auto":"none",cursor:M?"pointer":"default"},color:"#5a5a5a82",onClick:M}),se&&o().createElement(Va,{icon:L,width:15,style:{position:"absolute",top:"50%",right:"8px",transform:"translateY(-50%)",pointerEvents:T?"auto":"none",cursor:T?"pointer":"default"},color:"var(--neko-blue)",onClick:T}),J&&o().createElement(Va,{icon:W?"eye-off":"eye",width:15,style:{position:"absolute",top:"50%",right:"8px",transform:"translateY(-50%)",cursor:"pointer"},color:"#5a5a5a82",onClick:function(){return $((function(e){return!e}))}})),c&&("string"==typeof c?o().createElement("p",{className:"neko-input-description",dangerouslySetInnerHTML:{__html:c}}):o().createElement("p",{className:"neko-input-description"},c)))},oi=Yt((0,r.forwardRef)(ri))(Ha||(Ha=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n .neko-input {\n font-family: var(--neko-font-family);\n font-size: var(--neko-font-size);\n border: 1.5px solid var(--neko-input-border);\n box-sizing: border-box;\n height: var(--neko-control-height);\n /* WP 7 admin CSS sets min-height: 40px on bare input[type="text"] etc.,\n which overrides our height. Explicitly reset it so Neko\'s height wins. */\n min-height: 0;\n background: var(--neko-input-background);\n color: black;\n padding: 0 10px;\n width: 100%;\n border-radius: var(--neko-radius-md);\n transition: background 0.3s ease, box-shadow 0.2s ease, opacity 0.3s ease, border-color 0.3s ease;\n\n &.natural {\n border-color: gray;\n border-width: 1px;\n }\n\n &::placeholder {\n color: rgba(0, 0, 0, 0.25);\n }\n\n &:focus {\n background-color: white;\n outline: none;\n }\n\n /* Keyboard-only focus ring — the global --neko-focus-ring shadow + a\n brand-tinted border so tabbing through a form is always visible.\n Mouse clicks won\'t trigger this (browser distinguishes :focus from\n :focus-visible). */\n &:focus-visible {\n outline: none;\n border-color: color-mix(in oklab, var(--neko-main-color) 60%, transparent);\n box-shadow: var(--neko-focus-ring);\n }\n\n &:read-only {\n color: var(--neko-gray-60);\n }\n\n &:disabled {\n color: var(--neko-gray-60);\n background: var(--neko-gray-98);\n border-color: var(--neko-disabled-color);\n box-shadow: none;\n opacity: 0.6;\n cursor: not-allowed;\n }\n }\n\n /* Embedded action — sits flush inside the field on the right. Any NekoButton\n dropped in here auto-shrinks to fit the control height (label or icon-only),\n so callers just pass a normal . See PATTERNS.md "Embedded field\n action". */\n .neko-input-action {\n position: absolute;\n top: 50%;\n right: 4px;\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n\n .neko-button {\n height: calc(var(--neko-control-height) - 8px);\n min-height: calc(var(--neko-control-height) - 8px);\n min-width: 0;\n padding: 0 10px;\n border-radius: 6px;\n /* Compact "micro-action" label — uppercase + tiny + bold reads as an\n affordance inside the field rather than a full button. */\n text-transform: uppercase;\n font-size: 10px;\n font-weight: bold;\n }\n\n /* Icon-only embedded button → square, no side padding. */\n .neko-button.has-icon:not(:has(.button-text)) {\n width: calc(var(--neko-control-height) - 8px);\n padding: 0;\n }\n }\n\n .neko-input-description {\n font-size: var(--neko-small-font-size);\n color: var(--neko-gray-60);\n line-height: 14px;\n margin-top: 5px;\n margin-bottom: 0;\n\n code {\n font-size: 9px;\n background: #016fba14;\n border-radius: 5px;\n padding: 2px 4px;\n }\n }\n']))),ai=o().forwardRef((function(e,t){return o().createElement(oi,Ka({ref:t},e))}));ai.propTypes={type:mr().oneOf(["number","text","password"]),name:mr().string,value:mr().oneOfType([mr().string,mr().array]),description:mr().string,placeholder:mr().string,onChange:mr().func,onEnter:mr().func,onBlur:mr().func,onFinalChange:mr().func,readOnly:mr().bool,step:mr().number,min:mr().number,max:mr().number,maxLength:mr().number,natural:mr().bool,onReset:mr().func,isCommaSeparatedArray:mr().bool,iconEmpty:mr().string,iconFilled:mr().string,onEmptyIconClick:mr().func,onFilledIconClick:mr().func,action:mr().node};var ii,li=["title","contentAlign","titleStyle","color"];function si(){return si=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,li)),c=Oa("neko-settings",e.className);return o().createElement("div",si({className:c},s),o().createElement("div",{className:"neko-settings-head",style:l},n||" "),o().createElement("div",{className:"neko-settings-content neko-settings-content-align-".concat(a)},e.children))}))(ii||(ii=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n display: flex;\n font-family: var(--neko-font-family);\n \n ","\n\n > .neko-settings-head {\n font-family: var(--neko-font-family);\n font-size: var(--neko-font-size);\n /* Tight line-height + a small top pad: single-line titles still sit roughly\n centred with the 30px controls, and wrapped titles don't get a 30px gap\n between lines. */\n line-height: 17px;\n padding-top: 6px;\n flex: 0 0 140px;\n min-width: 0;\n margin-right: 16px;\n font-weight: 500;\n color: var(--settings-color, var(--neko-main-color));\n /* Allow the title to wrap gracefully when needed (e.g. \"Context Max Length\")\n but don't let it blow up the row — hyphenate-and-wrap. */\n word-break: break-word;\n hyphens: auto;\n }\n\n /* Controls align top-flush with the settings title — the title has line-height 17px\n which sits at the top of the row, and controls (all 30px — checkbox/input/select/button)\n start at the same y. */\n\n > .neko-settings-content {\n flex: 1;\n\n &.neko-settings-content-align-right {\n flex: none;\n margin-left: auto;\n }\n\n input[type=text] {\n width: 100%;\n }\n\n\n }\n\n & + div {\n margin-top: 10px;\n }\n"])),(function(e){var t=e.color;return t?"\n --settings-color: var(--neko-".concat(t,");\n "):""})),di=function(e){return o().createElement(ui,e)};di.propTypes={title:mr().string,className:mr().string,contentAlign:mr().string,titleStyle:mr().object,color:mr().oneOf(["blue","purple","green","red","orange","yellow","gray"])};var fi=Yt((function(e){var t=e.name,n=(e.max,e.isPro),r=void 0!==n&&n,a=o().Children.map(e.children,(function(e){return e.props.name?e:o().cloneElement(e,{name:t,isPro:r})}));return o().createElement("div",{className:"neko-checkbox-group"},a)}))(ci||(ci=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n"]))),pi=function(e){return o().createElement(fi,e)};pi.propTypes={name:mr().string,max:mr().number,isPro:mr().bool};var hi,mi=["show","className"];function gi(){return gi=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,mi),i=Oa("neko-pro-only",r);return n?o().createElement(yi,gi({href:"https://meowapps.com",target:"_blank",className:i},a),"Pro"):null},vi=function(e){return o().createElement(bi,e)};vi.propTypes={show:mr().bool,className:mr().string};var wi,xi,ki=["className","size"],Ei=["className","size","color"],Oi=["type"];function Si(){return Si=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ji=Yt.div(wi||(wi=_i(["\n width: ",";\n padding-top: ",";\n position: relative;\n margin: 0 auto;\n\n .double-bounce1, .double-bounce2 {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: ",";\n opacity: 0.6;\n position: absolute;\n top: 0;\n left: 0;\n\n -webkit-animation: sk-bounce 2.0s infinite ease-in-out;\n animation: sk-bounce 2.0s infinite ease-in-out;\n }\n\n .double-bounce2 {\n -webkit-animation-delay: -1.0s;\n animation-delay: -1.0s;\n }\n\n @-webkit-keyframes sk-bounce {\n 0%, 100% { -webkit-transform: scale(0.0) }\n 50% { -webkit-transform: scale(1.0) }\n }\n\n @keyframes sk-bounce {\n 0%, 100% {\n transform: scale(0.0);\n -webkit-transform: scale(0.0);\n } 50% {\n transform: scale(1.0);\n -webkit-transform: scale(1.0);\n }\n }\n"])),(function(e){return e.size||"50%"}),(function(e){return e.size||"50%"}),(function(e){return e.color||"#333"})),Ci=function(e){e.className;var t=e.size,n=Ri(e,ki),r=Oa("neko-spinner",n.className);return o().createElement(ji,Si({className:r,size:t},n),o().createElement("div",{className:"double-bounce1"}),o().createElement("div",{className:"double-bounce2"}))},Pi=Yt.div(xi||(xi=_i(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ",";\n height: ",";\n \n .neko-icon {\n animation: rotate 1s linear infinite;\n }\n \n @keyframes rotate {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n"])),(function(e){return e.size||"24px"}),(function(e){return e.size||"24px"})),Ni=function(e){var t=e.className,n=e.size,r=void 0===n?"24px":n,a=e.color,i=void 0===a?"#666":a,l=Ri(e,Ei),s=Oa("neko-spinner-icon",t),c=parseInt(r);return o().createElement(Pi,Si({className:s,size:r},l),o().createElement(Va,{icon:"sync",width:c,height:c,color:i,raw:!0}))},Ai=function(e){var t=e.type,n=void 0===t?"icon":t,r=Ri(e,Oi);return"circle"===n?o().createElement(Ci,r):o().createElement(Ni,r)},Li=function(e){return o().createElement(Ai,e)};Li.propTypes={type:mr().oneOf(["circle","icon"]),size:mr().string,color:mr().string};var Mi,Ti=["name","checked","indeterminate","onChange","label","description","isPro","disabled","requirePro","isBusy","busy","small","color","variant"];function Ii(){return Ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Ti),O=b||g;o().useEffect((function(){g&&console.log('NekoCheckbox: The "isBusy" prop is deprecated. Please use "busy" instead.')}),[g]);var S=h&&!d,R=f||S,_=Oa("neko-checkbox",e.className,{disabled:R},{small:w}),j=Oa("neko-checkbox",{disabled:R,"neko-checked":r,"neko-indeterminate":i,small:w}),C=Oa("neko-checked-mark"),P=Oa("neko-indeterminate-mark"),N=function(n){R||(l?l(!r,t,n):console.log("The onChange handler is not set for the NekoCheckbox.",e))};return o().createElement(zi,Ii({className:_,checked:r,disabled:R,color:x,variant:k,onClick:function(e){return e.stopPropagation()}},E),o().createElement("div",{className:"neko-checkbox-container"},o().createElement("div",{className:"neko-content",onClick:N,onKeyDown:function(e){" "!==e.key&&"Spacebar"!==e.key&&"Enter"!==e.key||(e.preventDefault(),N(e))},role:"checkbox","aria-checked":i?"mixed":!!r,"aria-disabled":!!R||void 0,tabIndex:R?-1:0},o().createElement("div",{className:"neko-checkbox-check-container"},O&&o().createElement("div",{className:"neko-checkbox-busy-container"},o().createElement("div",{className:j},o().createElement(Li,{type:"circle",size:"16px"}))),!O&&o().createElement(o().Fragment,null,o().createElement("div",{className:j},o().createElement("div",{className:C}),o().createElement("div",{className:P})))),(s||S||c)&&o().createElement("div",{className:"neko-checkbox-inner-container"},o().createElement("span",{className:"neko-label-container"},o().createElement("span",{className:"neko-label"},s),o().createElement(vi,{className:"inline",show:S,style:{position:"relative",top:-1}})),c?"string"==typeof c?o().createElement("small",{className:"description",dangerouslySetInnerHTML:{__html:c}}):o().createElement("small",{className:"description"},c):null))))};Fi.propTypes={name:mr().string,checked:mr().bool,label:mr().string,description:mr().string,isPro:mr().bool,requirePro:mr().bool,busy:mr().bool,isBusy:mr().bool,small:mr().bool,color:mr().oneOf(["blue","purple","green","red","orange","yellow","gray"]),variant:mr().oneOf(["danger"])};var Di,qi=["className","variant","disabled","icon","color","onClick","onStopClick","rounded","isBusy","busy","spinning","disabledColor","busyText","hideBusyIcon","busyIconSize","requirePro","isPro","small","large","width","height","fullWidth","startTime","progress","ai","children"];function Bi(){return Bi=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,qi),B=w||b;o().useEffect((function(){b&&console.log('NekoButton: The "isBusy" prop is deprecated. Please use "busy" instead.')}),[b]);var G=o().useRef(null),H=o().useRef(null),U=Gi(o().useState(null),2),W=U[0],$=U[1];o().useLayoutEffect((function(){G.current&&!H.current&&(H.current=G.current.offsetWidth)})),o().useEffect((function(){if(!B&&!m){var e=setTimeout((function(){$(null)}),300);return function(){return clearTimeout(e)}}}),[B,m]),o().useEffect((function(){n&&["primary","primary-block","secondary","danger","success","warning","header"].includes(n)&&!a&&console.warn("NekoButton: Using 'className' prop for button variants is deprecated. Please use 'variant' prop instead. Found className=\"".concat(n,'"'))}),[n,a]);var V=a||(["primary","primary-block","secondary","danger","success","warning","header"].includes(n)?n:"primary"),Y=n&&!["primary","primary-block","secondary","danger","success","warning","header"].includes(n)?n:"";o().useEffect((function(){F&&(a||["secondary","danger","success","warning","header"].includes(V))&&console.warn('NekoButton: The "ai" property doesn\'t need a variant. The ai styling will override the variant styling.')}),[F,a,V]);var Q,K,X,Z=l||R&&!j,J=!!c,ee=R&&!j,te=!!m&&B,ne=(0,r.useMemo)((function(){var e="number"==typeof N?N:30;return C&&(e*=.8),P&&(e*=1.3),"header"===V||n&&n.includes("header")?20:g?e-12:e-14}),[N,g,C,P,V,n]),re=Gi((0,r.useState)(null),2),oe=re[0],ae=re[1];Q=function(){return ae(new Date)},K=M?1e3:null,X=(0,r.useRef)(),(0,r.useEffect)((function(){X.current=Q}),[Q]),(0,r.useEffect)((function(){if(null!==K){var e=setInterval((function(){X.current()}),K);return function(){return clearInterval(e)}}}),[K]),(0,r.useEffect)((function(){M||ae(null)}),[M]);var ie=(0,r.useMemo)((function(){if(!M||!oe)return null;var e=Math.floor((oe-M)/1e3),t=Math.floor(e/60),n=e%60;return"".concat(t.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0"))}),[oe,M]),le=Oa("neko-button",V,Y,{"has-icon":J},{"custom-color":d},{small:C},{large:P},{rounded:g},{busy:B},{"is-pro":ee},{full:A},{"has-stop":te},{ai:F});return o().createElement("button",Bi({ref:G,type:"button",className:le,onClick:function(e){if(!B&&G.current){var t=m&&H.current?H.current:G.current.offsetWidth;$(t)}Z||te||p(),e.stopPropagation(),e.preventDefault()},disabled:Z&&!(B&&te),style:B&&W?{minWidth:"".concat(W,"px"),width:"".concat(W,"px")}:void 0},q),B&&null!==I&&I>0&&o().createElement("div",{className:"progress-bar",style:{width:"".concat(I,"%")}}),B&&!te&&!O&&o().createElement("div",{className:"busy-wrapper"},o().createElement("div",{className:"busy-icon"},o().createElement(Va,{raw:!0,icon:"sync",width:16,height:16})),null!==I&&I>=0&&o().createElement("span",{className:"progress-percentage"},Math.round(I),"%"),ie&&o().createElement("span",{className:"chrono-time"},ie)),!B&&!te&&o().createElement("div",{className:"normal-content"},J&&!g&&!!D&&o().createElement("div",{className:"icon-section"},o().createElement(Va,{raw:!0,icon:c,width:ne,height:ne,spinning:k,strokeWidth:g&&C?3:void 0})),J&&!g&&!D&&o().createElement(Va,{raw:!0,icon:c,width:ne,height:ne,spinning:k,style:{margin:"0 auto"},strokeWidth:g&&C?3:void 0}),J&&g&&o().createElement(Va,{raw:!0,icon:c,width:ne,height:ne,spinning:k,style:{margin:"0 auto"},strokeWidth:g&&C?3:void 0}),!!D&&o().createElement("span",{className:J&&!g?"button-text":""},D)),te&&o().createElement(o().Fragment,null,o().createElement("div",{className:"busy-icon"},o().createElement(Va,{raw:!0,icon:"sync",width:16,height:16})),o().createElement("div",{className:"stop-section",onClick:function(e){e.stopPropagation(),m()}},o().createElement(Va,{raw:!0,icon:"stop",width:"14",height:"14"}))),ee&&o().createElement(vi,{style:{marginLeft:"8px"}}))}))(Di||(Di=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n height: var(--neko-control-height);\n min-height: var(--neko-control-height);\n min-width: 36px;\n border: none;\n border-radius: 7px;\n text-align: center;\n padding: 0 14px;\n vertical-align: middle;\n font-family: inherit;\n font-size: var(--neko-font-size);\n font-weight: 500;\n letter-spacing: 0;\n /* A subtle vertical gradient + inner top highlight gives the primary fill\n a touch of dimensionality without being glossy. Feels considered, not stock. */\n background:\n linear-gradient(180deg,\n color-mix(in oklab, var(--neko-main-color) 94%, white) 0%,\n var(--neko-main-color) 55%,\n color-mix(in oklab, var(--neko-main-color) 94%, black) 100%);\n color: white;\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.18),\n 0 1px 2px rgba(15, 23, 42, 0.15);\n transition:\n background 0.2s var(--neko-ease-out),\n box-shadow 0.2s var(--neko-ease-out),\n transform 0.22s var(--neko-ease-spring),\n filter 0.2s var(--neko-ease-out),\n opacity 0.2s ease;\n will-change: transform, box-shadow, filter;\n overflow: hidden;\n \n /* Progress bar styling */\n .progress-bar {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n background-color: var(--neko-green);\n transition: width 0.3s ease;\n z-index: 0;\n opacity: 0.5;\n mix-blend-mode: overlay;\n }\n \n /* Ensure content appears above progress bar */\n .busy-wrapper,\n .normal-content,\n .busy-icon,\n .stop-section,\n .chrono-time,\n .progress-percentage {\n position: relative;\n z-index: 1;\n }\n\n span {\n white-space: nowrap;\n text-overflow: ellipsis;\n display: flex;\n align-items: center;\n }\n\n .chrono-time {\n font-size: 11px;\n }\n\n .progress-percentage {\n font-size: 11px;\n font-weight: 600;\n }\n\n &:not([disabled]):hover {\n cursor: pointer;\n filter: brightness(1.04);\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.22),\n 0 4px 12px color-mix(in oklab, var(--neko-main-color) 28%, transparent),\n 0 1px 2px rgba(15, 23, 42, 0.15);\n transform: translateY(-1px);\n }\n\n &:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n filter: saturate(0.7);\n }\n\n &:focus { outline: none; }\n &:focus-visible {\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.18),\n 0 1px 2px rgba(15, 23, 42, 0.15),\n var(--neko-focus-ring);\n }\n\n &:active:not([disabled]) {\n transform: translateY(0) scale(0.985);\n box-shadow:\n inset 0 2px 3px rgba(0, 0, 0, 0.15),\n 0 1px 1px rgba(15, 23, 42, 0.1);\n transition-duration: 80ms;\n }\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n &:not([disabled]):hover { transform: none; box-shadow: var(--neko-shadow-xs); }\n }\n\n\n &.is-pro {\n background-image: none;\n background-color: var(--neko-main-color-disabled);\n color: rgb(255 255 255 / 65%);\n align-items: center;\n opacity: 1;\n }\n\n &.has-icon {\n align-items: center;\n position: relative;\n\n svg {\n color: white;\n }\n }\n\n /* Secondary — quiet off-white chip that pairs with the bold primary.\n Flat fill (no gradient) keeps it calm; the border does the work. */\n &.secondary {\n background: color-mix(in oklab, var(--neko-main-color) 3%, white);\n color: var(--neko-main-color);\n border: 1px solid color-mix(in oklab, var(--neko-main-color) 18%, transparent);\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.6),\n 0 1px 1px rgba(15, 23, 42, 0.04);\n\n svg {\n color: var(--neko-main-color);\n }\n\n &:not([disabled]):hover {\n background: color-mix(in oklab, var(--neko-main-color) 7%, white);\n border-color: color-mix(in oklab, var(--neko-main-color) 32%, transparent);\n filter: none;\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.7),\n 0 2px 6px rgba(15, 23, 42, 0.06);\n transform: translateY(-1px);\n }\n\n &:focus-visible {\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.6),\n var(--neko-focus-ring);\n }\n\n .icon-section {\n border-right-color: color-mix(in oklab, var(--neko-main-color) 18%, transparent);\n }\n }\n\n /* Semantic variants — flat fill, tinted hover glow that matches each color. */\n &.danger {\n background:\n linear-gradient(180deg,\n color-mix(in oklab, var(--neko-danger) 94%, white) 0%,\n var(--neko-danger) 55%,\n color-mix(in oklab, var(--neko-danger) 94%, black) 100%);\n border-color: var(--neko-danger);\n\n &:not([disabled]):hover {\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.22),\n 0 4px 12px color-mix(in oklab, var(--neko-danger) 30%, transparent),\n 0 1px 2px rgba(15, 23, 42, 0.15);\n }\n }\n\n &.success {\n background:\n linear-gradient(180deg,\n color-mix(in oklab, var(--neko-accent-color) 94%, white) 0%,\n var(--neko-accent-color) 55%,\n color-mix(in oklab, var(--neko-accent-color) 94%, black) 100%);\n border-color: var(--neko-accent-color);\n\n &:not([disabled]):hover {\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.22),\n 0 4px 12px color-mix(in oklab, var(--neko-accent-color) 30%, transparent),\n 0 1px 2px rgba(15, 23, 42, 0.15);\n }\n }\n\n &.warning {\n background:\n linear-gradient(180deg,\n color-mix(in oklab, var(--neko-warning) 94%, white) 0%,\n var(--neko-warning) 55%,\n color-mix(in oklab, var(--neko-warning) 94%, black) 100%);\n border-color: var(--neko-warning);\n\n &:not([disabled]):hover {\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.22),\n 0 4px 12px color-mix(in oklab, var(--neko-warning) 30%, transparent),\n 0 1px 2px rgba(15, 23, 42, 0.15);\n }\n }\n\n /* Safety-net spacing for sibling buttons — preferred practice is parent\n flex gap, but many existing plugin layouts render buttons as plain\n inline-block siblings. 5px keeps those from touching; with a gap-based\n parent, the effective spacing becomes parent-gap + 5px. */\n & + button.neko-button {\n margin-left: 5px;\n }\n\n &.small {\n font-size: var(--neko-small-font-size);\n height: var(--neko-control-height-small);\n min-height: var(--neko-control-height-small);\n border-radius: 6px;\n padding: 0 10px;\n }\n\n &.large {\n height: var(--neko-control-height-large);\n min-height: var(--neko-control-height-large);\n font-size: 15px;\n padding: 0 20px;\n border-radius: 9px;\n }\n\n /* Header variant — ghost glass button for use on the branded NekoHeader.\n Stays glassy throughout; hover just brightens the glass + lifts softly. */\n &.header {\n background: rgba(255, 255, 255, 0.12);\n backdrop-filter: blur(10px);\n -webkit-backdrop-filter: blur(10px);\n color: white;\n border: 1px solid rgba(255, 255, 255, 0.26);\n height: 38px;\n padding: 0 16px;\n font-weight: 500;\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);\n transition:\n background 0.3s var(--neko-ease-out),\n border-color 0.3s var(--neko-ease-out),\n box-shadow 0.3s var(--neko-ease-out),\n transform 0.3s var(--neko-ease-spring);\n\n svg { color: white; }\n\n &:hover {\n background: rgba(255, 255, 255, 0.22);\n border-color: rgba(255, 255, 255, 0.5);\n filter: none;\n box-shadow:\n 0 6px 18px rgba(0, 0, 0, 0.14),\n inset 0 1px 0 rgba(255, 255, 255, 0.22);\n transform: translateY(-1px);\n }\n\n &:active:not([disabled]) {\n transform: translateY(0);\n background: rgba(255, 255, 255, 0.16);\n }\n\n /* Kill the shimmer sweep from the base primary — ghost doesn't need it */\n &::after { display: none; }\n\n .icon-section {\n border-right: none;\n }\n }\n\n /* Apply width/height if provided */\n ","\n ","\n ","\n ","\n\n &.rounded {\n border-radius: 50%;\n padding: 0;\n /* Explicit size with matching min-height overrides the base 30px min-height,\n otherwise rounded buttons end up 30×30 (oval). */\n --neko-rounded-size: ","px;\n width: var(--neko-rounded-size);\n height: ",';\n min-width: var(--neko-rounded-size);\n min-height: var(--neko-rounded-size);\n /* Rounded elevation — a real dark drop shadow (works on any background,\n including the brand-blue tab bar) stacked with a colored halo that\n blooms on light surfaces. The inset highlight sells the "lifted" feel. */\n box-shadow:\n 0 6px 14px rgba(15, 23, 42, 0.22),\n 0 2px 4px rgba(15, 23, 42, 0.12),\n 0 0 0 1px rgba(15, 23, 42, 0.1),\n inset 0 1px 0 rgba(255, 255, 255, 0.28);\n\n &.small {\n --neko-rounded-size: 24px;\n box-shadow:\n 0 3px 8px rgba(15, 23, 42, 0.2),\n 0 1px 2px rgba(15, 23, 42, 0.1),\n inset 0 1px 0 rgba(255, 255, 255, 0.22);\n }\n\n &.success {\n box-shadow:\n 0 6px 14px rgba(15, 23, 42, 0.22),\n 0 2px 4px rgba(15, 23, 42, 0.12),\n 0 0 0 1px color-mix(in oklab, var(--neko-accent-color) 40%, transparent),\n inset 0 1px 0 rgba(255, 255, 255, 0.3);\n }\n\n &.danger {\n box-shadow:\n 0 6px 14px rgba(15, 23, 42, 0.22),\n 0 2px 4px rgba(15, 23, 42, 0.12),\n 0 0 0 1px color-mix(in oklab, var(--neko-danger) 40%, transparent),\n inset 0 1px 0 rgba(255, 255, 255, 0.3);\n }\n\n /* Hover lifts harder — shadow spreads further, inset highlights brighten.\n No translateY — rounded buttons stay put; the icon rotation + deeper\n shadow is the feedback. */\n &:not([disabled]):hover {\n transform: none;\n box-shadow:\n 0 10px 22px rgba(15, 23, 42, 0.28),\n 0 3px 6px rgba(15, 23, 42, 0.14),\n 0 0 0 1px rgba(15, 23, 42, 0.14),\n inset 0 1px 0 rgba(255, 255, 255, 0.34);\n }\n &.success:not([disabled]):hover {\n box-shadow:\n 0 10px 22px rgba(15, 23, 42, 0.28),\n 0 3px 6px rgba(15, 23, 42, 0.14),\n 0 0 0 1px color-mix(in oklab, var(--neko-accent-color) 50%, transparent),\n inset 0 1px 0 rgba(255, 255, 255, 0.36);\n }\n &.danger:not([disabled]):hover {\n box-shadow:\n 0 10px 22px rgba(15, 23, 42, 0.28),\n 0 3px 6px rgba(15, 23, 42, 0.14),\n 0 0 0 1px color-mix(in oklab, var(--neko-danger) 50%, transparent),\n inset 0 1px 0 rgba(255, 255, 255, 0.36);\n }\n\n /* Icon micro-animations on hover — each variant gets its own character */\n svg {\n transition: transform 0.35s var(--neko-ease-spring);\n }\n /* Success + → rotates 90° (add intent) */\n &.success:not([disabled]):hover svg {\n transform: rotate(90deg);\n }\n /* Primary (edit, push, etc.) → gentle tilt + bump */\n &.primary:not([disabled]):hover svg {\n transform: rotate(-8deg) scale(1.08);\n }\n /* Danger (trash) → nervous shake-ish tilt */\n &.danger:not([disabled]):hover svg {\n transform: rotate(8deg) scale(1.08);\n }\n }\n\n /* Normal content animation */\n .normal-content {\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 1;\n transform: scale(1);\n transition: opacity 0.3s ease, transform 0.3s ease;\n width: 100%;\n }\n\n /* Icon section with separator */\n .icon-section {\n display: flex;\n align-items: center;\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n padding: 0 7px;\n border-right: 1px solid rgba(255, 255, 255, 0.2);\n }\n\n /* Button text styling when icon is present */\n .button-text {\n white-space: nowrap;\n text-overflow: ellipsis;\n display: flex;\n align-items: center;\n flex: 1;\n justify-content: center;\n padding-left: 40px; /* Space for icon section */\n }\n\n /* Adjust padding for buttons with icons and text */\n &.has-icon:not(.rounded):has(.button-text) {\n padding-left: 0;\n text-align: center;\n }\n\n /* Busy state animations */\n &.busy:not(.has-stop) {\n pointer-events: none;\n overflow: hidden;\n \n .normal-content {\n opacity: 0;\n transform: scale(0.8);\n position: absolute;\n visibility: hidden;\n }\n \n .busy-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5px;\n width: 100%;\n animation: fadeIn 0.3s ease forwards;\n\n .busy-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n animation: slideInRotate 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n\n svg {\n animation: rotate 1.5s linear infinite;\n }\n }\n }\n }\n \n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n \n @keyframes slideInRotate {\n from {\n transform: translateX(-20px) rotate(-180deg) scale(0);\n opacity: 0;\n }\n to {\n transform: translateX(0) rotate(0deg) scale(1);\n opacity: 1;\n }\n }\n \n @keyframes rotate {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n\n &.has-stop {\n position: relative;\n pointer-events: none;\n padding-right: 35px; /* Space for stop section */\n padding-left: 15px;\n display: flex;\n align-items: center;\n justify-content: center;\n \n .busy-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 1;\n animation: fadeIn 0.3s ease forwards;\n \n svg {\n animation: rotate 1.5s linear infinite;\n color: white;\n }\n }\n \n .stop-section {\n position: absolute;\n right: 0;\n top: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 10px;\n height: 100%;\n border-left: 1px solid rgba(255, 255, 255, 0.2);\n cursor: pointer;\n pointer-events: auto;\n transition: background-color 0.2s ease;\n \n svg {\n color: white;\n \n rect {\n transition: fill 0.2s ease;\n }\n }\n \n &:hover {\n background-color: rgba(255, 255, 255, 0.1);\n \n svg {\n rect {\n fill: var(--neko-red);\n }\n }\n }\n }\n }\n\n &.full {\n width: 100%;\n }\n\n /* AI button — one gradient, one soft glow. No sparkles, no border halo.\n The slow hue drift already reads as "AI"; stacking more effects cheapens it. */\n &.ai {\n position: relative;\n background: linear-gradient(\n 120deg,\n #6366f1 0%,\n #a855f7 50%,\n #ec4899 100%\n );\n background-size: 200% 100%;\n animation: aiFlow 10s ease-in-out infinite;\n color: white;\n border: none;\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.22),\n 0 1px 2px rgba(15, 23, 42, 0.15),\n 0 4px 14px color-mix(in oklab, #a855f7 22%, transparent);\n\n @keyframes aiFlow {\n 0%, 100% { background-position: 0% 50%; }\n 50% { background-position: 100% 50%; }\n }\n\n &:disabled {\n animation: none;\n }\n\n &:not([disabled]):hover {\n animation-duration: 6s;\n transform: translateY(-1px);\n filter: brightness(1.04);\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.26),\n 0 1px 2px rgba(15, 23, 42, 0.15),\n 0 6px 18px color-mix(in oklab, #a855f7 30%, transparent);\n }\n\n &:focus-visible {\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.22),\n 0 1px 2px rgba(15, 23, 42, 0.15),\n var(--neko-focus-ring);\n }\n }\n\n ',"\n"])),(function(e){return e.width&&"string"==typeof e.width?"width: ".concat(e.width,";"):""}),(function(e){return e.width&&"number"==typeof e.width?"width: ".concat(e.width,"px;"):""}),(function(e){return e.height&&"string"==typeof e.height?"height: ".concat(e.height,";"):""}),(function(e){return e.height&&"number"==typeof e.height?"height: ".concat(e.height,"px;"):""}),(function(e){var t;return null!==(t=e.width)&&void 0!==t?t:e.large?50:30}),(function(e){var t;return null!==(t=e.height)&&void 0!==t?t:"var(--neko-rounded-size)"}),(function(e){return $i(e.color)})),$i=function(e){if(e){var t=/^#|^rgb\(|^rgba\(|^hsl\(/.test(e),n=t?e:"var(--neko-".concat(e,")"),r=t?e:"var(--neko-".concat(e,")");return"\n &.custom-color {\n background:\n linear-gradient(180deg,\n color-mix(in oklab, ".concat(n," 94%, white) 0%,\n ").concat(n," 55%,\n color-mix(in oklab, ").concat(n," 94%, black) 100%);\n border: 1px solid ").concat(r,";\n color: white;\n\n &:not([disabled]):hover {\n filter: brightness(1.08);\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.22),\n 0 4px 12px color-mix(in oklab, ").concat(n," 28%, transparent),\n 0 1px 2px rgba(15, 23, 42, 0.15);\n }\n }\n ")}},Vi=function(e){return o().createElement(Wi,e)};function Yi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||Qi(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qi(e,t){if(e){if("string"==typeof e)return Ki(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ki(e,t):void 0}}function Ki(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}(i);try{for(t.s();!(e=t.n()).done;){var n=e.value;if(n){d(n);break}}}catch(e){t.e(e)}finally{t.f()}}}),[i,u]),o().createElement(Zi,{className:m,style:s},u&&o().createElement("div",{className:"neko-rest-error"},o().createElement("div",{className:"container"},!p&&o().createElement(o().Fragment,null,o().createElement("h3",null,"The Rest API is disabled or broken 😢"),o().createElement("p",null,"The Rest API is required for this plugin to work. It is enabled in WordPress by default since December 2016 and used by the Gutenberg Editor since 2019. In short, it allows more robustness and a much cleaner infrastructure. Soon, Wordpress will entirely depends on it, so it is important to keep it enabled."),o().createElement("p",null,o().createElement("i",null,"Last but not least: check your PHP Error Logs and your Debugging Console.")),o().createElement("p",{className:"neko-debug"},o().createElement("small",null,"URL: ",u.url,o().createElement("br",null),"CODE: ",u.code,o().createElement("br",null),"MESSAGE: ",u.message,o().createElement("br",null)))),u.body&&p&&o().createElement("p",{className:"neko-debug"},o().createElement("div",{dangerouslySetInnerHTML:{__html:u.body}})),u.body&&o().createElement(Vi,{color:"#a94242",onClick:function(){return h(!p)}},p?"Hide":"Display"," response from server"),o().createElement(Vi,{color:"#a94242",onClick:function(){window.open("https://meowapps.com/fix-wordpress-rest-api/","_blank")}},"Learn about WordPress Debugging"))),n)},el=function(e){return o().createElement(Ji,e)};el.propTypes={className:mr().string,style:mr().object,nekoErrors:mr().array};var tl,nl=Yt.div(Xi||(Xi=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n display: flex;\n max-width: 128px;\n max-height: 128px;\n\n & > * {\n width: 100%;\n height: auto;\n object-fit: contain;\n }\n"]))),rl=function(){return o().createElement(nl,{className:"neko-logo"},o().createElement("svg",{width:"64",height:"46",viewBox:"0 0 64 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o().createElement("g",{clipPath:"url(#clip0_310_229)"},o().createElement("path",{d:"M64 30.6408C64 27.7985 60.0816 25.8303 55.8298 25.8303C54.8593 25.8303 53.9311 25.933 53.076 26.1253C49.8865 19.079 41.6539 13.0853 32.0002 13.0853C30.8337 13.0853 29.6881 13.1727 28.5698 13.3392C27.2069 10.3076 22.6762 2.43426 11.5954 0.0830064C11.0491 -0.0327456 10.4946 0.240578 10.259 0.7469C8.85913 3.75608 4.74247 14.4116 10.2403 25.9931C9.58165 25.8864 8.88751 25.8303 8.17022 25.8303C3.91839 25.8303 0 27.7985 0 30.6408C0 33.483 3.91839 35.2272 8.17022 35.2272C8.71127 35.2272 9.23925 35.1988 9.74893 35.1435C9.43602 35.2664 9.12275 35.4075 8.81171 35.5677C5.69388 37.1707 3.9688 40.0312 4.95904 41.9568C5.9489 43.8824 9.2792 44.1442 12.397 42.5412C13.0464 42.2074 13.6348 41.819 14.1516 41.396C18.2627 44.4967 24.7283 45.9809 31.9998 45.9809C39.2713 45.9809 45.737 44.4967 49.848 41.396C50.3644 41.819 50.9533 42.2074 51.6026 42.5412C54.7204 44.1442 58.0503 43.8824 59.0406 41.9568C60.0305 40.0312 58.3057 37.1707 55.1879 35.5677C54.8761 35.4075 54.5621 35.2667 54.2485 35.1435C54.7589 35.1988 55.2876 35.2275 55.8294 35.2275C60.0812 35.2275 63.9996 33.4834 63.9996 30.6411L64 30.6408Z",fill:"white"}),o().createElement("path",{d:"M22.2293 36.7443C26.5935 36.7443 30.1314 33.2064 30.1314 28.8422C30.1314 24.478 26.5935 20.9401 22.2293 20.9401C17.8651 20.9401 14.3271 24.478 14.3271 28.8422C14.3271 33.2064 17.8651 36.7443 22.2293 36.7443Z",fill:"#00E28E"}),o().createElement("path",{d:"M22.2655 33.1361C23.5022 33.1361 24.5047 31.2805 24.5047 28.9915C24.5047 26.7024 23.5022 24.8468 22.2655 24.8468C21.0288 24.8468 20.0262 26.7024 20.0262 28.9915C20.0262 31.2805 21.0288 33.1361 22.2655 33.1361Z",fill:"#3C6E8B"}),o().createElement("path",{d:"M31.9998 37.9156C33.4237 37.9156 34.5781 37.3409 34.5781 36.6319C34.5781 35.9229 33.4237 35.3481 31.9998 35.3481C30.5758 35.3481 29.4215 35.9229 29.4215 36.6319C29.4215 37.3409 30.5758 37.9156 31.9998 37.9156Z",fill:"#FF9493"}),o().createElement("path",{d:"M54.2503 35.1058C54.76 35.1611 55.2879 35.1894 55.829 35.1894C60.0808 35.1894 63.9992 33.4453 63.9992 30.603C63.9992 27.7608 60.0808 25.7926 55.829 25.7926C55.1117 25.7926 54.4176 25.849 53.7585 25.9558C59.2567 14.3742 55.1397 3.71872 53.7402 0.709546C53.5046 0.203225 52.9501 -0.0700991 52.4038 0.0456529C41.323 2.39691 36.7923 10.2707 35.4298 13.3015C34.4541 13.1566 33.4579 13.0711 32.4452 13.0517C31.2743 20.033 28.9656 43.9365 54.3436 35.1439C54.3123 35.1312 54.2813 35.1181 54.2499 35.1058H54.2503Z",fill:"#2B9DFF"}),o().createElement("path",{d:"M41.7342 33.1361C42.9709 33.1361 43.9735 31.2805 43.9735 28.9915C43.9735 26.7024 42.9709 24.8468 41.7342 24.8468C40.4975 24.8468 39.495 26.7024 39.495 28.9915C39.495 31.2805 40.4975 33.1361 41.7342 33.1361Z",fill:"#3C6E8B"})),o().createElement("defs",null,o().createElement("clipPath",{id:"clip0_310_229"},o().createElement("rect",{width:"64",height:"45.9617",fill:"white",transform:"translate(0 0.019165)"})))))},ol=function(e){return o().createElement(rl,e)};ol.propTypes={};var al=Yt.div(tl||(tl=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n position: relative;\n color: white;\n font-family: var(--neko-font-family);\n font-size: var(--neko-font-size);\n display: flex;\n height: 74px;\n overflow: hidden;\n align-items: center;\n padding: 18px 32px;\n background: var(--neko-main-color);\n isolation: isolate;\n\n .neko-header-logo-container {\n width: 44px;\n height: 44px;\n padding: 9px;\n margin-right: 16px;\n background: rgba(255, 255, 255, 0.14);\n backdrop-filter: blur(8px);\n -webkit-backdrop-filter: blur(8px);\n border: 1px solid rgba(255, 255, 255, 0.22);\n border-radius: 12px;\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n z-index: 1;\n transition: transform var(--neko-duration-slow) var(--neko-ease-spring);\n }\n\n &:hover .neko-header-logo-container {\n transform: scale(1.05) rotate(-3deg);\n }\n\n .neko-header-title-container {\n flex-direction: column;\n display: flex;\n position: relative;\n z-index: 1;\n justify-content: center;\n\n .neko-header-title-row {\n display: flex;\n align-items: center;\n gap: 10px;\n }\n\n .neko-header-title {\n color: white;\n font-family: var(--neko-font-family);\n font-size: 22px;\n font-weight: 600;\n letter-spacing: 0;\n line-height: 1.1;\n margin: 0;\n position: relative;\n }\n\n .neko-header-separator {\n color: rgba(255,255,255,0.35);\n font-size: 18px;\n line-height: 1;\n align-self: center;\n }\n\n /* Section badge — green pulse dot anchors the accent color */\n .neko-header-section {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n background: rgba(255, 255, 255, 0.14);\n backdrop-filter: blur(8px);\n -webkit-backdrop-filter: blur(8px);\n color: white;\n font-size: 11px;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.09em;\n line-height: 1;\n padding: 5px 12px 5px 10px;\n border-radius: 999px;\n border: 1px solid rgba(255, 255, 255, 0.22);\n align-self: center;\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);\n\n &::before {\n content: '';\n display: inline-block;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--neko-green);\n box-shadow: 0 0 8px color-mix(in oklab, var(--neko-green) 80%, transparent);\n animation: nekoSectionPulse 2s ease-in-out infinite;\n }\n }\n\n @keyframes nekoSectionPulse {\n 0%, 100% { opacity: 1; transform: scale(1); }\n 50% { opacity: 0.55; transform: scale(0.8); }\n }\n\n .neko-header-subtitle {\n color: rgba(255, 255, 255, 0.7);\n font-family: var(--neko-font-family);\n line-height: 1;\n margin-top: 5px;\n font-size: 11px;\n letter-spacing: 0.05em;\n\n a {\n color: rgba(255, 255, 255, 0.7);\n text-decoration: none;\n font-family: var(--neko-font-family);\n transition: color 0.18s var(--neko-ease-out);\n }\n a:hover { color: white; }\n\n .neko-header-version {\n color: rgba(255, 255, 255, 0.5);\n margin-left: 6px;\n padding-left: 8px;\n border-left: 1px solid rgba(255, 255, 255, 0.2);\n text-transform: uppercase;\n letter-spacing: 0.12em;\n font-size: 10px;\n font-weight: 600;\n text-decoration: none;\n transition: color 0.22s ease;\n }\n a.neko-header-version:hover { color: white; }\n .neko-header-version.pro {\n color: rgba(255, 220, 150, 0.9);\n }\n }\n }\n\n .neko-header-extra-content {\n margin-left: auto;\n display: flex;\n align-items: center;\n gap: 6px;\n position: relative;\n z-index: 1;\n }\n"]))),il=function(e){var t=e.title,n=void 0===t?"NekoUI":t,r=e.section,a=void 0===r?null:r,i=e.subtitle,l=void 0===i?"By Meow Apps":i,s=e.children,c=e.isPro,u=void 0!==c&&c,d=e.showFreeBadge,f=void 0===d||d;return o().createElement(al,{className:"neko-header"},o().createElement("div",{className:"neko-header-logo-container"},o().createElement(ol,null)),o().createElement("div",{className:"neko-header-title-container"},o().createElement("div",{className:"neko-header-title-row"},o().createElement("h1",{className:"neko-header-title"},n),!!a&&o().createElement(o().Fragment,null,o().createElement("span",{className:"neko-header-separator"},"›"),o().createElement("span",{className:"neko-header-section"},a))),o().createElement("small",{className:"neko-header-subtitle"},o().createElement("a",{target:"_blank",href:"https://meowapps.com"},l),(u||f)&&(u?o().createElement("span",{className:"neko-header-version pro"},"Pro"):o().createElement("a",{className:"neko-header-version",href:"https://meowapps.com",target:"_blank",rel:"noopener noreferrer",onMouseEnter:function(e){e.currentTarget.textContent="Upgrade ↗"},onMouseLeave:function(e){e.currentTarget.textContent="Free"}},"Free")))),o().createElement("div",{className:"neko-header-extra-content"},s))},ll=function(e){return o().createElement(il,e)};function sl(e){return sl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sl(e)}function cl(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.url=r,this.message=t,this.code=n,this.body=o,this.debug=a,this.cancelledByUser="USER-ABORTED"===n}));function pl(e,t){for(var n=0;n=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function xl(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function kl(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){xl(a,r,o,i,l,"next",e)}function l(e){xl(a,r,o,i,l,"throw",e)}i(void 0)}))}}function El(e,t){if(e){if("string"==typeof e)return Ol(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ol(e,t):void 0}}function Ol(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return JSON.stringify(e,function(e){var t=[];return function(n,r){if("object"===Sl(r)&&null!==r){if(-1!==t.indexOf(r)){if(!e)throw console.warn("Circular reference found.",{key:n,value:r,cache:t,cacheIndex:t.indexOf(r)}),new Error("Circular reference found. Cancelled.");return}t.push(r)}return r}}(n),t)}var _l=function(e){if(!e.data)return e;if(Array.isArray(e.data)&&e.data.length>0&&e.data[0].meta){var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=El(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}(e.data);try{for(n.s();!(t=n.n()).done;){var r=t.value;try{r.meta=JSON.parse(r.meta)}catch(e){console.error("[JsonFetcher]","Could not decode meta.",r.meta)}}}catch(e){n.e(e)}finally{n.f()}}else if(!Array.isArray(e.data)&&e.data.meta)try{e.data.meta=JSON.parse(e.data.meta)}catch(t){console.error("[JsonFetcher]","Could not decode meta.",e.data.meta)}return e},jl=function(){var e=kl(wl().mark((function e(t){var n,r,o,a,i,l,s,c,u,d=arguments;return wl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=d.length>1&&void 0!==d[1]?d[1]:{},r=null,o={},a=null,i=null,e.prev=5,(n=n||{}).headers=n.headers?n.headers:{},n.headers.Pragma="no-cache",n.headers["Cache-Control"]="no-cache",e.next=12,fetch("".concat(t),n);case 12:return i=e.sent,e.next=15,i.text();case 15:r=e.sent,(o=JSON.parse(r)).success||(l=!1===o.success?"NOT-SUCCESS":"N/A",s=o.message?o.message:"Unknown error. Check your Console Logs.","rest_no_route"===o.code?(s="The API can't be accessed. Are you sure the WP REST API is enabled? Check this article: https://meowapps.com/fix-wordpress-rest-api/.",l="NO-ROUTE"):"internal_server_error"===o.code&&(s="Server error. Please check your PHP Error Logs.",l="SERVER-ERROR"),a=new fl(s,l,t,r||i)),e.next=27;break;case 20:e.prev=20,e.t0=e.catch(5),console.error("[nekoFetch]",e.t0),c="BROKEN-REPLY",u="The reply sent by the server is broken.","AbortError"===e.t0.name?(c="USER-ABORTED",u="The request was aborted by the user."):i&&i.status&&408===i.status&&(c="REQUEST-TIMEOUT",u="The request generated a timeout."),a=new fl(u,c,t,r||i,e.t0);case 27:return a&&(o.success=!1,o.message=a.message,o.error=a),e.abrupt("return",_l(o));case 29:case"end":return e.stop()}}),e,null,[[5,20]])})));return function(t){return e.apply(this,arguments)}}(),Cl=function(){var e=kl(wl().mark((function e(t){var n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,b,v,w,x,k=arguments;return wl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=k.length>1&&void 0!==k[1]?k[1]:{}).json,o=void 0===r?null:r,a=n.method,i=void 0===a?"GET":a,l=n.signal,s=n.file,c=n.nonce,u=n.bearerToken,"GET"!==i||!o){e.next=4;break}throw new Error("NekoFetch: GET method does not support json argument (".concat(t,")."));case 4:if(d=s?new FormData:null,s)for(d.append("file",s),f=0,p=Object.entries(o);f1&&void 0!==g[1]?g[1]:{}).json,o=void 0===r?{}:r,a=n.signal,i=n.file,l=n.nonce,s=n.bearerToken,c=i?new FormData:null,i)for(c.append("file",i),u=0,d=Object.entries(o);u=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Dl(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ql=Yt.div(Ll||(Ll=Dl(["\n display: flex;\n flex-wrap: wrap;\n\n @media (max-width: 600px) {\n width: max-content;\n overflow-x: auto;\n padding: 0 350px 0 0;\n\n .neko-tab-content {\n max-width: 1200px;\n }\n\n .neko-tabs.inversed {\n max-width: 500px;\n\n .neko-accordion {\n max-width: 450px;\n overflow-x: hidden;\n }\n }\n\n .neko-block {\n max-width: 500px;\n\n .neko-block-content {\n overflow-x: scroll;\n\n table {\n width: max-content;\n }\n }\n }\n"]))),Bl=Yt.div(Ml||(Ml=Dl(["\n flex: ",";\n min-width: 0;\n padding: 32px 30px;\n\n .neko-block:last-child {\n margin-bottom: 0px;\n }\n\n &.minimal {\n padding: 0;\n }\n\n &.full {\n flex-basis: 100%;\n padding-bottom: 0;\n }\n\n & + .full {\n padding-bottom: 32px;\n padding-top: 0;\n }\n\n &:not(.full) + div:not(.full) {\n padding-left: 0;\n }\n\n /* Minimal columns sit flush — give them a clean gap when adjacent on the same row.\n Exclude .full (full-width) columns which wrap to their own line. */\n &.minimal:not(.full) + .minimal:not(.full) {\n margin-left: 20px;\n }\n"])),(function(e){return e.$flex||1})),Gl=function(e){var t=e.children,n=Fl(e,Tl);return o().createElement(ql,zl({className:"neko-wrapper"},n),t)},Hl=function(e){var t=e.fullWidth,n=e.minimal,r=e.size,a=Fl(e,Il),i=Oa("neko-column",{full:t},{minimal:n}),l=r?{"1/2":1,"1/3":1,"2/3":2,"1/4":1,"3/4":3,"1/5":1,"2/5":2,"3/5":3,"4/5":4,"1/6":1,"5/6":5}[r]||parseFloat(r):void 0;return o().createElement(Bl,zl({className:i,$flex:l},a),e.children)},Ul=function(e){return o().createElement(Al,null,o().createElement(Gl,e))},Wl=function(e){return o().createElement(Al,null,o().createElement(Hl,e))};function $l(e){return function(e){if(Array.isArray(e))return Ql(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Yl(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||Yl(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yl(e,t){if(e){if("string"==typeof e)return Ql(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ql(e,t):void 0}}function Ql(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}([a,c].concat($l(h.current)));try{for(n.s();!(t=n.n()).done;){var r=t.value;if(null!=r&&r.current&&r.current.contains(e.target))return}}catch(e){n.e(e)}finally{n.f()}i&&i()};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}}),[o,i,a]),(0,r.useEffect)((function(){var e=document.createElement("div");return c.current=e,function(){c.current=null}}),[]);var g=function(){o&&c.current&&a.current&&requestAnimationFrame((function(){for(var e,t=a.current.getBoundingClientRect(),n=(null===(e=a.current.ownerDocument)||void 0===e?void 0:e.defaultView)||window,r=n.innerHeight,o=n.innerWidth,i=c.current.querySelector(".neko-portal-content");i&&!i.offsetHeight;)i=i.firstChild;var l=i?i.offsetHeight:0,u=s?t.width:i?i.offsetWidth:0,d=r-t.bottom=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ss),v=c?{fontWeight:"bold"}:{},w=Oa("neko-typo",l,{"neko-typo-h1":u},{"neko-typo-h2":d},{"neko-typo-h3":f},{"neko-typo-h4":p},{"neko-typo-h5":h},{"neko-typo-h6":m},{"neko-typo-p":g},{"neko-typo-label":y});return u?o().createElement(ms,cs({style:ds(ds({},v),a),className:w},b),n):d?o().createElement(gs,cs({style:ds(ds({},v),a),className:w},b),n):f?o().createElement(ys,cs({style:ds(ds({},v),a),className:w},b),n):p?o().createElement(bs,cs({style:ds(ds({},v),a),className:w},b),n):h?o().createElement(vs,cs({style:ds(ds({},v),a),className:w},b),n):m?o().createElement(ws,cs({style:ds(ds({},v),a),className:w},b),n):g?o().createElement(xs,cs({style:ds(ds({},v),a),className:w},b),n):y?o().createElement(Es,cs({style:ds(ds({},v),a),className:w},b),n):o().createElement(ks,cs({style:ds(ds({},v),a),className:w},b),n)},Ss=function(e){return o().createElement(Os,e)};Ss.propTypes={h1:mr().any,h2:mr().any,h3:mr().any,h4:mr().any,h5:mr().any,h6:mr().any,p:mr().any,span:mr().any,label:mr().any,bold:mr().bool,style:mr().object,className:mr().string,children:mr().node};var Rs,_s,js,Cs=["className","variant","children","onClick","led","tooltip","label","extender_label","extender_children","extender_width","link"];function Ps(){return Ps=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Cs);o().useEffect((function(){n&&["primary","secondary","danger","warning","success","ai"].includes(n)&&!a&&console.warn("NekoPill: Using 'className' prop for pill variants is deprecated. Please use 'variant' prop instead. Found className=\"".concat(n,'"'))}),[n,a]);var O=a||(["primary","secondary","danger","warning","success","ai"].includes(n)?n:"primary"),S=n&&!["primary","secondary","danger","warning","success","ai"].includes(n)?n:"",R=(0,r.useCallback)((function(e){c&&(c(),e.stopPropagation(),e.preventDefault())}),[c]),_=o().createElement(Na,{text:p,position:"top"},o().createElement(As,Ps({className:"neko-pill ".concat(O," ").concat(S).trim(),onClick:c?R:void 0},E,{link:k}),d&&o().createElement("div",{className:"led ".concat(O)}),h&&o().createElement("span",null,h),l));return o().createElement(o().Fragment,null,k?o().createElement("a",{href:k,target:"_blank",rel:"noopener noreferrer"},_):_,(g||b)&&o().createElement(As,{className:"pill-extender ".concat(O),extender_width:w},o().createElement("div",{className:"pill-extender-inner"},g&&o().createElement("span",null,g),b)))};function Ms(e){return Ms="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ms(e)}function Ts(){return Ts=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function uc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var dc=.25,fc=Yt.div(Us||(Us=uc(["\n font-size: var(--neko-font-size);\n margin-bottom: 16px;\n"]))),pc=Yt.div(Ws||(Ws=uc(["\n display: flex;\n align-items: stretch;\n position: relative;\n height: 39px;\n"]))),hc=Yt.div($s||($s=uc(["\n display: flex;\n align-items: stretch;\n height: 39px;\n overflow-x: hidden; /* we use overflow menu instead of horizontal scroll */\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0;\n max-width: 100%;\n box-shadow: inset 0 -1px 0 var(--neko-gray-90);\n\n /* Inversed header — no divider, pill active tab is its own marker */\n &.inversed {\n box-shadow: none;\n }\n\n /* Hide scrollbars defensively */\n scrollbar-width: none;\n -ms-overflow-style: none;\n &::-webkit-scrollbar { display: none; }\n"]))),mc=Yt.div(Vs||(Vs=uc(["\n display: flex;\n align-items: center;\n height: 39px;\n margin-left: auto;\n flex-shrink: 0;\n gap: 6px;\n\n /* Chevron animation: scale on hover, rotate when open */\n .neko-tabs-chevron {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n transform-origin: center;\n transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 120ms ease;\n will-change: transform;\n }\n\n .neko-tabs-chevron.open { transform: rotate(180deg); }\n .neko-tabs-chevron:hover { transform: scale(1.06); }\n .neko-tabs-chevron.open:hover { transform: scale(1.06) rotate(180deg); }\n"]))),gc=Yt.div(Ys||(Ys=uc(["\n padding: 2px 4px var(--neko-surface-title-padding-bottom) 4px;\n\n .neko-tabs-title {\n margin: 0 0 2px 0;\n font-size: var(--neko-surface-title-font-size);\n font-weight: var(--neko-surface-title-font-weight);\n letter-spacing: var(--neko-surface-title-letter-spacing);\n line-height: var(--neko-surface-title-line-height);\n color: var(--neko-font-color);\n }\n\n .neko-tabs-subtitle {\n font-size: 13px;\n color: var(--neko-gray-50);\n line-height: 1.45;\n }\n\n /* Inversed — title sits on the brand-blue workspace above a tab panel card.\n Title tokens above keep the spec identical to NekoBlock.primary titles. */\n &.inversed {\n .neko-tabs-title { color: white; }\n .neko-tabs-subtitle { color: rgba(255, 255, 255, 0.72); }\n }\n"]))),yc=Yt.button(Qs||(Qs=uc(["\n /* Underline-style tabs — quiet, modern, text-first.\n Only the text color + a slim accent bar marks the active one. */\n border: 0;\n border-radius: 8px 8px 0 0;\n background-color: transparent;\n color: var(--neko-gray-50);\n display: flex;\n align-items: center;\n cursor: pointer;\n text-align: left;\n padding: 8px 14px;\n box-sizing: border-box;\n font-family: inherit;\n font-size: 13px;\n font-weight: 500;\n letter-spacing: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n position: relative;\n transition:\n background var(--neko-duration-base) var(--neko-ease-out),\n color var(--neko-duration-base) var(--neko-ease-out);\n\n /* Slim accent bar under the active tab */\n &::after {\n content: '';\n position: absolute;\n left: 10px;\n right: 10px;\n bottom: 0;\n height: 2px;\n border-radius: 2px 2px 0 0;\n background: var(--neko-main-color);\n transform: scaleX(0);\n transform-origin: center;\n transition: transform 0.28s var(--neko-ease-spring);\n }\n\n &:not(.active):not(.disabled):hover {\n background: color-mix(in oklab, var(--neko-main-color) 5%, transparent);\n color: var(--neko-font-color);\n }\n\n &:focus { outline: none; }\n /* Focus-visible — subtle bg tint only, no box-shadow ring (the global\n focus ring doesn't match the tab's partial border-radius). */\n &:focus-visible {\n outline: none;\n box-shadow: none;\n background: color-mix(in oklab, var(--neko-main-color) 10%, transparent);\n }\n\n &.active {\n color: var(--neko-main-color);\n font-weight: 600;\n background: transparent;\n }\n\n &.active::after {\n transform: scaleX(1);\n }\n\n &.disabled {\n cursor: default;\n opacity: 0.55;\n filter: grayscale(0.4);\n\n /* No hover effect on disabled tabs */\n &:hover { background: transparent; color: var(--neko-gray-50); }\n }\n\n &.hidden { display: none; }\n\n /* Busy state - overlay effect matching content */\n &.busy {\n cursor: default;\n pointer-events: none;\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: var(--neko-main-overlay-color);\n border-radius: inherit;\n pointer-events: none;\n z-index: 1;\n }\n }\n\n\n /* Inversed = tabs living directly on the brand-blue workspace.\n Pill-style: active tab lifts into white with dark text — crisp \"folder tab\"\n that connects to the white content card below. */\n &.inversed {\n color: rgba(255, 255, 255, 0.7);\n padding: 9px 16px;\n border-radius: 10px 10px 0 0;\n }\n &.inversed:not(.active):not(.disabled):hover {\n color: white;\n background: rgba(255, 255, 255, 0.1);\n }\n &.inversed.active {\n color: var(--neko-font-color);\n background: white;\n font-weight: 600;\n }\n &.inversed::after {\n display: none;\n }\n\n .neko-tab-label {\n position: relative;\n display: block;\n overflow: hidden;\n white-space: nowrap;\n flex: 1 1 auto;\n -webkit-mask-image: none;\n mask-image: none;\n }\n\n /* Fade only when flexing (or when overflow exists) */\n &.needs-fade .neko-tab-label {\n -webkit-mask-image: linear-gradient(to right, black 72%, transparent 100%);\n mask-image: linear-gradient(to right, black 72%, transparent 100%);\n }\n\n /* Remove underline - we're using gradient animation instead */\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n"]))),bc=Yt.div(Ks||(Ks=uc(["\n /* Full brand-blue workspace. Sections float on it — titles in white,\n content in white cards. Clean and modern. */\n background: var(--neko-main-color);\n color: white;\n display: none;\n padding: 18px;\n border-radius: var(--neko-radius-md);\n margin-top: 8px;\n\n &.active { display: block; }\n\n /* Transparent content — for tabs nested inside a white card (underline style),\n so the content area inherits the parent's bg instead of being a blue block. */\n &.transparent {\n background: transparent;\n color: inherit;\n padding: 14px 0 0 0;\n margin-top: 0;\n border-radius: 0;\n box-shadow: none;\n }\n\n /* Inversed content = white card that connects seamlessly to the active pill tab above.\n Flat top edges so the tab row doesn't show a rounded white notch against the workspace. */\n &.inversed {\n background-color: var(--neko-white);\n color: var(--neko-font-color);\n margin-top: 0;\n border-radius: 0 0 var(--neko-radius-md) var(--neko-radius-md);\n box-shadow: var(--neko-shadow-sm);\n }\n"]))),vc=Yt.div(Xs||(Xs=uc(["\n background: var(--neko-white);\n border: 1px solid var(--neko-input-border);\n border-radius: var(--neko-radius-md);\n box-shadow: var(--neko-shadow-lg);\n min-width: 220px;\n overflow: hidden;\n"]))),wc=Yt.div(Zs||(Zs=uc(["\n max-height: 300px;\n overflow-y: auto;\n"]))),xc=Yt.div(Js||(Js=uc(["\n padding: 7px 12px;\n cursor: pointer;\n font-size: var(--neko-font-size);\n background: var(--neko-white);\n transition: background-color 0.12s ease, box-shadow 0.2s ease;\n\n &:hover {\n background-color: var(--neko-main-color-95);\n box-shadow: var(--neko-shadow-xs);\n }\n"]))),kc=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6,t="abcdefghijklmnopqrstuvwxyz0123456789",n="",r=0;r0&&C<_){var m=p-l;if(m>0&&m<=h*(_-C)+.5){var g=Math.max(C,_-m/h);return te(!1),$((function(e){return e.length?[]:e})),void oe((function(e){return Math.abs(e-g)0?_:0),O=(-1===b||o.includes(b))&&v>0?v+_:0,S=0,R=o;S=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}(G.current);try{for(t.s();!(e=t.n()).done;){var n=e.value;if(n){var r=n.querySelector(".neko-tab-label");r&&n.classList.toggle("needs-fade",r.scrollWidth>r.clientWidth+1)}}}catch(e){t.e(e)}finally{t.f()}})),(0,r.useEffect)((function(){if(de.length){var e="string"==typeof u?u:ie;if(!fe.includes(e)&&fe.length>0){var t=de.find((function(e){return!e.hidden}));t&&e!==t.key&&le(t.key)}else e!==ie&&le(e)}}),[u,de,fe,ie]),(0,r.useEffect)((function(){var e=de.find((function(e){return e.key===ie}));if(e&&e.hidden){var t=de.find((function(e){return!e.hidden}));t&&le(t.key)}}),[de,ie]),(0,r.useLayoutEffect)((function(){if(!se.current&&de.length){se.current=!0;var e=ie;if(!e){var t,n,r=p&&"undefined"!=typeof window?new URL(window.location.href).searchParams.get("nekoTab"):null;e=(r&&fe.includes(r)?r:null)||(null!==(t=null===(n=de.find((function(e){return!e.hidden})))||void 0===n?void 0:n.key)&&void 0!==t?t:fe[0]),le(e)}if(m){var o=fe.indexOf(e);-1!==o&&de[o]&&pe(o,de[o])}}}),[p,m,de,fe,ie,pe]);var we=(0,r.useMemo)((function(){return o().Children.map(ue,(function(e,t){var n=de[t];if(!n)return null;var r=n.key===ie&&!n.hidden;return o().cloneElement(e,{isActive:r,inversed:a,transparent:i,key:n.key,_panelId:"panel-".concat(z,"-").concat(t),_labelledById:"tab-".concat(z,"-").concat(t)})}))}),[ue,de,ie,a,i,z]),xe=Oa("neko-tabs",{inversed:a},{transparent:i});return o().createElement(fc,nc({className:xe},I),t&&o().createElement(gc,{className:"".concat(a?"inversed":""," ").concat(n?"has-subtitle":"")},o().createElement(Ss,{h2:!0,className:"neko-tabs-title"},t),n&&o().createElement("div",{className:"neko-tabs-subtitle"},n)),o().createElement(pc,null,o().createElement(hc,{ref:F,role:"tablist","aria-label":T},de.map((function(e,t){var n,r=e.key===ie,i=(e.hidden||W.includes(t))&&!r,l=(null===(n=ue[t])||void 0===n?void 0:n.props)||{},s=l.busy||l.isBusy||!1,c="neko-tab-title ".concat(r?"active":""," ").concat(e.requirePro?"disabled":""," ")+"".concat(i?"hidden":""," ").concat(a?"inversed":""," ")+"".concat(s?"busy":""),u=H.current.widths[t]||E,d=oc(oc({},ee?{minWidth:x,maxWidth:S,flex:"1 1 ".concat(u,"px")}:{flex:"0 0 auto"}),{},{marginRight:re});return o().createElement(yc,{key:e.key,id:"tab-".concat(z,"-").concat(t),ref:function(e){return G.current[t]=e},role:"tab","aria-selected":r,"aria-controls":"panel-".concat(z,"-").concat(t),"aria-disabled":e.requirePro||s?"true":"false",tabIndex:r?0:-1,onKeyDown:ye(t),onClick:function(n){s||pe(t,e,n)},className:c,style:d,disabled:!!e.requirePro,"data-key":e.key},e.icon&&o().createElement(Va,{icon:e.icon,width:15,height:15,style:{marginRight:5},raw:!0}),o().createElement("div",{className:"neko-tab-label",title:e.title},e.title),o().createElement(vi,{className:"inline",show:e.requirePro,style:{marginLeft:10,marginRight:-5,top:-1}}))})),s&&o().createElement("span",{ref:B,style:{display:"inline-flex",alignItems:"center",marginLeft:re,flex:"0 0 auto"}},s),W.length>0&&o().createElement("span",{ref:q,role:"button",tabIndex:0,"aria-haspopup":"menu","aria-expanded":Y?"true":"false","aria-label":"".concat(W.length," more tab").concat(1===W.length?"":"s"),onClick:function(){return Q((function(e){return!e}))},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),Q((function(e){return!e})))},className:"neko-tabs-overflow-pill ".concat(Y?"open":""," ").concat(a?"inversed":""),style:{display:"inline-flex",alignItems:"center",gap:3,marginLeft:re,padding:"0 10px",height:"100%",flex:"0 0 auto",cursor:"pointer",fontWeight:600,fontSize:12,letterSpacing:"0",color:a?"rgba(255, 255, 255, 0.75)":"var(--neko-gray-50)",borderRadius:"8px 8px 0 0",transition:"color 0.22s ease, background 0.22s ease"}},"+",W.length,o().createElement(Mr,{size:14,className:"neko-tabs-chevron"}))),o().createElement(mc,{ref:D},y&&o().createElement("div",{style:{display:"flex",alignItems:"center"}},y?v?o().createElement(Ls,{variant:"ai"},"AI Engine"):o().createElement("a",{href:"https://meowapps.com/ai-engine/",target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:"6px",padding:"4px 12px",borderRadius:"999px",backgroundColor:"#fee",color:"#c33",fontSize:"12px",textDecoration:"none",transition:"all 0.2s ease",cursor:"pointer",border:"1px solid #fcc"},onMouseEnter:function(e){e.currentTarget.style.backgroundColor="#fdd",e.currentTarget.style.color="#a22"},onMouseLeave:function(e){e.currentTarget.style.backgroundColor="#fee",e.currentTarget.style.color="#c33"}},o().createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},o().createElement("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),o().createElement("polyline",{points:"7 10 12 15 17 10"}),o().createElement("line",{x1:"12",y1:"15",x2:"12",y2:"3"})),"AI Engine"):null)),W.length>0&&o().createElement(Xl,{visible:Y,targetRef:q,onClose:function(){Q(!1),Z("")},matchWidth:!1},o().createElement(vc,null,W.length>8&&o().createElement("div",{style:{padding:6}},o().createElement(ai,{value:X,placeholder:"Search tabs...",onChange:function(e){return Z(e)}})),o().createElement(wc,{role:"menu"},W.filter((function(e){var t;return!X||((null===(t=de[e])||void 0===t?void 0:t.title)||"").toLowerCase().includes(X.toLowerCase())})).map((function(e){var t,n;return o().createElement(xc,{key:(null===(t=de[e])||void 0===t?void 0:t.key)||e,role:"menuitem",onClick:function(t){Q(!1),Z(""),pe(e,de[e],t)},className:"neko-tab-overflow-item"},(null===(n=de[e])||void 0===n?void 0:n.title)||"Tab ".concat(e+1))})))))),we,o().createElement("style",{jsx:"true"},"\n .neko-tab-panel-wrapper {\n border-radius: 0 0 12px 12px;\n overflow: hidden;\n }\n "))},Oc=function(e){var t=e.children,n=e.isActive,r=void 0!==n&&n,a=e.busy,i=void 0!==a&&a,l=e.isBusy,s=void 0!==l&&l,c=e.inversed,u=e.transparent,d=e._panelId,f=e._labelledById,p=(e.title,e.icon,e.requirePro,e.key,cc(e,tc),i||s);o().useEffect((function(){s&&console.log('NekoTab: The "isBusy" prop is deprecated. Please use "busy" instead.')}),[s]);var h=Oa("neko-tab-content",{active:r,inversed:c,transparent:u});return o().createElement(Gs,{busy:p,overlayStyle:{borderRadius:"0 0 12px 12px"},className:"neko-tab-panel-wrapper"},o().createElement(bc,{id:d,role:"tabpanel","aria-labelledby":f,"aria-hidden":r?"false":"true",hidden:!r,className:h},r&&t))},Sc=function(e){return o().createElement(Ec,e)};Sc.propTypes={title:mr().string,subtitle:mr().string,isPro:mr().bool,onChange:mr().func,action:mr().node,currentTab:mr().string,keepTabOnReload:mr().bool,callOnTabChangeFirst:mr().bool,inversed:mr().bool,mwaiPill:mr().bool,mwaiEnabled:mr().bool,minWidth:mr().number,idealWidth:mr().number,maxWidth:mr().number,gap:mr().number,minGap:mr().number,chevronReserve:mr().number,layoutBuffer:mr().number,ariaLabel:mr().string};var Rc=function(e){return o().createElement(Oc,e)};function _c(e){return _c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_c(e)}Rc.propTypes={isActive:mr().bool,requirePro:mr().bool,title:mr().string,icon:mr().string,busy:mr().bool,isBusy:mr().bool};var jc,Cc=["title","subtitle","children","className","color","busy","style","contentStyle","action","mwaiPillTooltip","mwaiPill","mwaiEnabled","maxHeight"];function Pc(){return Pc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Cc),E=Oa("neko-block",i,l?"accent-".concat(l):""),O=b?o().createElement(o().Fragment,null,b?w?o().createElement(Ls,{tooltip:g,variant:"ai"},"AI Engine"):o().createElement("a",{href:"https://meowapps.com/ai-engine/",target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:"6px",padding:"4px 12px",borderRadius:"999px",backgroundColor:"#fee",color:"#c33",fontSize:"12px",textDecoration:"none",transition:"all 0.2s ease",cursor:"pointer",border:"1px solid #fcc"},onMouseEnter:function(e){e.currentTarget.style.backgroundColor="#fdd",e.currentTarget.style.color="#a22"},onMouseLeave:function(e){e.currentTarget.style.backgroundColor="#fee",e.currentTarget.style.color="#c33"}},o().createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},o().createElement("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),o().createElement("polyline",{points:"7 10 12 15 17 10"}),o().createElement("line",{x1:"12",y1:"15",x2:"12",y2:"3"})),"AI Engine"):null,h):h;return o().createElement(Mc,Pc({className:E,style:d},k),t&&o().createElement("div",{className:"neko-block-title-section ".concat(n?"has-subtitle":"")},o().createElement("div",{className:"neko-block-header"},o().createElement("div",{className:"neko-block-titles"},o().createElement(Ss,{h2:!0,className:"neko-block-title"},t),n&&o().createElement("div",{className:"neko-block-subtitle"},n)),!!O&&o().createElement("div",{className:"neko-block-action"},O))),o().createElement(Gs,{busy:c},o().createElement("div",{className:"neko-block-content",style:Ac(Ac({},p),x?{maxHeight:x,overflowY:"auto"}:{})},r)))},Ic=function(e){return o().createElement(Tc,e)};Ic.propTypes={title:mr().string,subtitle:mr().string,className:mr().oneOf(["","primary","standard","raw"]),color:mr().oneOf(["green","purple","orange","red","cyan"]),style:mr().object,contentStyle:mr().object,action:mr().element,busy:mr().bool,mwaiPill:mr().bool,mwaiEnabled:mr().bool,maxHeight:mr().oneOfType([mr().string,mr().number])};var zc,Fc=["variant","children","onClose","small"];function Dc(){return Dc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Fc);t||(t="info");var l=Oa("neko-message",{danger:"danger"===t},{success:"success"===t},{info:"info"===t},{warning:"warning"===t},{special:"special"===t},{disabled:"disabled"===t},{small:a}),s=a?14:20;return o().createElement(qc,Dc({className:l,small:a},i),o().createElement(function(){switch(t){case"danger":return $r;case"success":return qr;case"warning":return Vr;case"special":return mo;default:return xo}}(),{size:s,className:"neko-message-icon"}),o().createElement("div",{className:"neko-message-content"},n),r&&o().createElement(Xr,{size:s,className:"neko-message-close",onClick:r}))},Gc=function(e){return o().createElement(Bc,e)};Gc.propTypes={variant:mr().string,children:mr().node,onClose:mr().func,small:mr().bool};var Hc,Uc=mgl_meow_gallery.prefix,Wc=mgl_meow_gallery.domain,$c=mgl_meow_gallery.rest_url.replace(/\/+$/,""),Vc=mgl_meow_gallery.api_url.replace(/\/+$/,""),Yc=mgl_meow_gallery.plugin_url.replace(/\/+$/,""),Qc="1"===mgl_meow_gallery.is_pro,Kc=Qc&&"1"===mgl_meow_gallery.is_registered,Xc=mgl_meow_gallery.rest_nonce,Zc=mgl_meow_gallery.options;var Jc,eu,tu,nu,ru,ou,au,iu,lu,su,cu,uu,du,fu,pu=Yt.section(Hc||(Hc=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n position: relative;\n display: inline-block;\n width: ","px;\n height: ","px;\n line-height: 1;\n\n svg {\n display: block;\n overflow: visible;\n }\n\n .neko-gauge-content {\n position: absolute;\n left: 0;\n right: 0;\n bottom: ","px;\n display: flex;\n flex-direction: column;\n align-items: center;\n color: white;\n text-align: center;\n pointer-events: none;\n }\n"])),(function(e){return e.width}),(function(e){return e.height}),(function(e){return Math.round(.05*e.width)})),hu=function(e){var t=e.value,n=void 0===t?1e3:t,a=e.min,i=void 0===a?0:a,l=e.max,s=void 0===l?2500:l,c=e.width,u=void 0===c?200:c,d=e.background,f=void 0===d?"#007cba":d,p=e.children,h=(0,r.useId)().replace(/:/g,""),m=Math.max(1,s-i),g=Math.max(0,Math.min(1,(n-i)/m)),y=Math.max(10,Math.round(.075*u)),b=y/2+2,v=u/2,w=u/2,x=u/2-b,k=Math.ceil(u/2+b/2),E="M ".concat(v-x," ").concat(w," A ").concat(x," ").concat(x," 0 0 1 ").concat(v+x," ").concat(w),O=Math.PI*x,S=O*g;return o().createElement(pu,{className:"neko-gauge",width:u,height:k,backgroundColor:f},o().createElement("svg",{width:u,height:k,viewBox:"0 0 ".concat(u," ").concat(k)},o().createElement("defs",null,o().createElement("linearGradient",{id:"neko-gauge-".concat(h),x1:"0%",y1:"0%",x2:"100%",y2:"0%"},o().createElement("stop",{offset:"0%",stopColor:"#27b775"}),o().createElement("stop",{offset:"50%",stopColor:"#f3c52c"}),o().createElement("stop",{offset:"100%",stopColor:"#f71b1b"}))),o().createElement("path",{d:E,fill:"none",stroke:"rgba(255, 255, 255, 0.18)",strokeWidth:y,strokeLinecap:"round"}),o().createElement("path",{d:E,fill:"none",stroke:"url(#neko-gauge-".concat(h,")"),strokeWidth:y,strokeLinecap:"round",strokeDasharray:"".concat(S," ").concat(O+1),style:{transition:"stroke-dasharray 0.4s var(--neko-ease-out, ease-out)"}})),o().createElement("div",{className:"neko-gauge-content"},p))};function mu(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}hu.propTypes={value:mr().number,min:mr().number,max:mr().number,width:mr().number,background:mr().string,children:mr().node};var gu=Xt(Jc||(Jc=mu(["\n to { transform: rotate(360deg); }\n"]))),yu=Yt.div(eu||(eu=mu(['\n position: relative;\n /* No rule above it. The note is quiet enough to sit at the end on its own, and\n a line across the page announced it as another section — so the gap has to\n do that work instead, and has to be big enough to read as one.\n\n Note that StyledViewArea above carries margin: -18px, which bleeds the board\n out to the panel edges and takes 18px off whatever this asks for — so what\n lands on screen is 18px less than the number here. */\n margin: 35px 2px 0;\n padding: 0 34px 2px 0;\n\n p {\n margin: 0;\n /* Long enough to hold the note in three lines at full width, short enough\n that the eye still finds the next line on a wide screen. */\n max-width: 104ch;\n font-size: 12.5px;\n line-height: 1.65;\n color: rgba(255, 255, 255, 0.62);\n }\n\n a {\n color: #7dedff;\n text-decoration: none;\n }\n\n a:hover { text-decoration: underline; }\n\n /* NekoIntro appended this to external links; the plain paragraph that replaced\n it keeps the habit rather than dropping the cue. */\n a[target="_blank"]::after {\n content: \' ↗\';\n font-size: 0.85em;\n opacity: 0.75;\n }\n\n .intro-fold {\n position: absolute;\n top: -4px;\n right: 0;\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 17px;\n line-height: 1;\n border-radius: 7px;\n cursor: pointer;\n color: rgba(255, 255, 255, 0.35);\n background: transparent;\n border: 1px solid transparent;\n transition: background 0.15s ease, color 0.15s ease;\n }\n\n .intro-fold:hover {\n color: white;\n background: rgba(255, 255, 255, 0.12);\n }\n\n .intro-fold:focus-visible {\n outline: 2px solid rgba(255, 255, 255, 0.92);\n outline-offset: 2px;\n }\n\n &.is-folded {\n padding-right: 0;\n padding-bottom: 0;\n }\n\n /* Folded, all that is left is the way back in — a full-width strip with a\n single "?" on it. A pill carrying the whole sentence was still a sentence,\n which is what folding it was meant to get rid of; a bar that spans the board\n reads as a lid on something rather than as another line to read. */\n .intro-peek {\n display: block;\n width: 100%;\n font-family: inherit;\n font-size: 13px;\n font-weight: 600;\n line-height: 1;\n padding: 9px 0;\n border-radius: 10px;\n cursor: pointer;\n color: rgba(255, 255, 255, 0.42);\n background: rgba(255, 255, 255, 0.05);\n border: 1px solid rgba(255, 255, 255, 0.11);\n transition: background 0.15s ease, color 0.15s ease;\n }\n\n .intro-peek:hover { color: white; background: rgba(255, 255, 255, 0.12); }\n\n /* Same ring as focusRing below, written out because that const is declared\n after this one and a template literal is evaluated where it is written. */\n .intro-peek:focus-visible {\n outline: 2px solid rgba(255, 255, 255, 0.92);\n outline-offset: 2px;\n box-shadow: none;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .intro-fold, .intro-peek { transition: none; }\n }\n']))),bu=Yt.div(tu||(tu=mu(['\n display: flex;\n align-items: center;\n gap: 12px;\n flex-wrap: wrap;\n\n /* Named, not a bare "span". NekoButton puts its label in a span of its own, so\n a descendant selector reached inside the button and greyed the label — a red\n button with unreadable text on it. */\n .action-note {\n font-size: 12px;\n line-height: 1.5;\n color: var(--neko-gray-60, rgba(0, 0, 0, 0.55));\n }\n']))),vu="\n &:focus-visible {\n outline: 2px solid rgba(255, 255, 255, 0.92);\n outline-offset: 2px;\n box-shadow: none;\n }\n",wu="\n display: flex;\n align-items: baseline;\n gap: 10px;\n flex-wrap: wrap;\n padding: 0 2px 7px;\n margin-bottom: 11px;\n border-bottom: 1px solid rgba(255, 255, 255, 0.12);\n\n h3 {\n display: flex;\n align-items: center;\n gap: 7px;\n margin: 0;\n font-size: 11px;\n font-weight: 700;\n letter-spacing: 0.1em;\n text-transform: uppercase;\n color: rgba(255, 255, 255, 0.82);\n }\n\n .head-note {\n font-size: 11.5px;\n color: rgba(255, 255, 255, 0.55);\n }\n",xu=Yt.div(nu||(nu=mu(["\n display: grid;\n /* 340px is what a card needs for its capabilities to sit two-by-two without\n truncating. At 300px a wide screen squeezed in a fourth column and made\n every card narrower instead of wider — eleven chips ellipsised rather than\n three. The floor keeps the columns honest; 1fr still shares out the slack. */\n grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));\n gap: 12px;\n /* The 2px matches the group heading above, so cards, heading and the header\n strip at the top of the tab all share one left edge. */\n padding: 0 2px;\n"]))),ku=Yt.div(ru||(ru=mu(["\n margin-top: 18px;\n\n .plugin-group + .plugin-group { margin-top: 22px; }\n\n .group-head { "," }\n\n .group-head b {\n font-size: 10.5px;\n font-weight: 700;\n letter-spacing: 0;\n padding: 1px 7px;\n border-radius: 999px;\n color: rgba(255, 255, 255, 0.9);\n background: rgba(255, 255, 255, 0.12);\n font-variant-numeric: tabular-nums;\n }\n\n /* The running group is the one that's working; the offer at the bottom gets a\n warmer rule so it reads as an invitation rather than a leftovers bin. */\n .plugin-group.is-active .group-head { border-bottom-color: rgba(43, 212, 125, 0.4); }\n .plugin-group.is-active .group-head b {\n color: #2bd47d;\n background: rgba(43, 212, 125, 0.16);\n }\n\n .plugin-group.is-none .group-head { border-bottom-color: rgba(255, 200, 87, 0.34); }\n .plugin-group.is-none .group-head b {\n color: #ffc857;\n background: rgba(255, 200, 87, 0.16);\n }\n"])),wu),Eu=Yt.div(ou||(ou=mu(["\n ","\n position: relative;\n display: flex;\n flex-direction: column;\n border-radius: 12px;\n background: rgba(6, 18, 42, 0.30);\n border: 1px solid rgba(255, 255, 255, 0.14);\n overflow: hidden;\n transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;\n\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n width: 2px;\n background: var(--accent, transparent);\n opacity: 0.75;\n }\n\n &:hover {\n background: rgba(6, 18, 42, 0.44);\n border-color: rgba(255, 255, 255, 0.3);\n transform: translateY(-1px);\n }\n\n &.is-dormant {\n background: rgba(6, 18, 42, 0.14);\n border-style: dashed;\n border-color: rgba(255, 255, 255, 0.16);\n }\n\n /* The board already goes still when less motion is asked for; everything built\n since owes the same. Colour and border still respond to hover — it's the\n movement that's the problem, not the feedback. */\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n &:hover { transform: none; }\n .card-main img { transition: none; }\n }\n\n &.is-dormant::before { opacity: 0.3; }\n &.is-dormant img { filter: grayscale(1); opacity: 0.5; }\n &.is-dormant:hover img { filter: none; opacity: 1; }\n\n &.is-inactive img { filter: grayscale(0.4); opacity: 0.82; }\n\n .card-main {\n display: flex;\n flex-direction: column;\n padding: 15px 16px 13px 17px;\n text-decoration: none;\n flex: 1 1 auto;\n ","\n }\n\n .card-foot a { "," }\n\n .card-head {\n display: flex;\n align-items: flex-start;\n gap: 13px;\n min-width: 0;\n }\n\n /* Same tinted tile as the board: the icons are fetched from ps.w.org and a\n firewalled site would otherwise show a blank square beside each name. */\n .card-main img {\n flex: 0 0 auto;\n width: 42px;\n height: 42px;\n border-radius: 11px;\n display: block;\n background: color-mix(in srgb, var(--accent, #8fb3d9) 20%, rgba(255, 255, 255, 0.07));\n transition: filter 0.2s ease, opacity 0.2s ease;\n }\n\n .card-body {\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 4px;\n }\n\n .card-title {\n display: flex;\n align-items: center;\n gap: 7px;\n font-size: 13.5px;\n font-weight: 650;\n line-height: 1.2;\n color: white;\n }\n\n .card-title .dot {\n width: 6px;\n height: 6px;\n border-radius: 50%;\n flex: 0 0 auto;\n }\n\n .card-title .dot.on { background: #2bd47d; box-shadow: 0 0 6px rgba(43, 212, 125, 0.9); }\n .card-title .dot.off { background: rgba(255, 255, 255, 0.4); }\n\n .card-role {\n font-size: 11.5px;\n line-height: 1.45;\n color: rgba(255, 255, 255, 0.66);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n /* Two fixed columns, so four capabilities are always a 2x2 and every card in\n the grid ends up exactly the same height. Wrapping freely gave two, three\n or four rows depending on how long the words happened to be. */\n .card-features {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 5px;\n margin-top: 11px;\n }\n\n .card-features > span {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n min-width: 0;\n font-size: 10.5px;\n line-height: 1.2;\n padding: 4px 8px;\n border-radius: 6px;\n white-space: nowrap;\n /* the whole card is a link, so the chips have to opt out of link colour */\n color: rgba(255, 255, 255, 0.82);\n background: rgba(255, 255, 255, 0.07);\n border: 1px solid rgba(255, 255, 255, 0.09);\n }\n\n .card-features svg { flex: 0 0 auto; opacity: 0.7; }\n\n /* The three longest labels don't fit half a card; they ellipsis and the chip\n carries the full text as a tooltip. */\n .card-features em {\n font-style: normal;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n &.is-dormant .card-features span {\n color: rgba(255, 255, 255, 0.55);\n background: rgba(255, 255, 255, 0.04);\n }\n\n .card-foot {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 16px 13px 17px;\n }\n\n .card-family {\n flex: 1 1 auto;\n font-size: 9px;\n font-weight: 700;\n letter-spacing: 0.13em;\n text-transform: uppercase;\n color: rgba(255, 255, 255, 0.32);\n }\n\n .card-foot a {\n font-size: 10px;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n text-decoration: none;\n padding: 4px 11px;\n border-radius: 7px;\n color: rgba(255, 255, 255, 0.72);\n border: 1px solid rgba(255, 255, 255, 0.16);\n transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;\n }\n\n .card-foot a:hover {\n background: rgba(255, 255, 255, 0.14);\n color: white;\n }\n\n .card-foot a.pro {\n color: #ffd48a;\n border-color: rgba(255, 186, 66, 0.4);\n }\n\n .card-foot a.pro:hover {\n background: rgba(255, 186, 66, 0.22);\n color: white;\n }\n"])),"\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n }\n",vu,vu),Ou=Yt.div(au||(au=mu(["\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));\n gap: 12px;\n /* No bottom margin of its own — the section it sits in sets the space under\n its content, the same for all five. */\n margin: 0 2px;\n"]))),Su=Yt.div(iu||(iu=mu(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n padding: 16px 16px 15px;\n border-radius: 12px;\n background: rgba(6, 18, 42, 0.30);\n border: 1px solid rgba(255, 255, 255, 0.14);\n transition: border-color 0.2s ease, background 0.2s ease;\n\n &.is-running {\n border-color: rgba(255, 255, 255, 0.34);\n background: rgba(6, 18, 42, 0.44);\n }\n\n h3 {\n margin: 0 0 10px;\n font-size: 13px;\n font-weight: 650;\n letter-spacing: 0;\n color: white;\n }\n\n .gauge-value {\n display: flex;\n align-items: baseline;\n gap: 3px;\n font-size: 26px;\n font-weight: 600;\n line-height: 1;\n font-variant-numeric: tabular-nums;\n color: white;\n }\n\n .gauge-value i {\n font-style: normal;\n font-size: 12px;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.6);\n }\n\n .gauge-sub {\n margin-top: 5px;\n font-size: 11px;\n color: rgba(255, 255, 255, 0.6);\n }\n\n .verdict {\n margin-top: 10px;\n font-size: 11px;\n font-weight: 700;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n padding: 3px 10px;\n border-radius: 999px;\n /* Before a run this slot states the target instead of sitting empty, so the\n number you're about to get already has something to be measured against. */\n color: rgba(255, 255, 255, 0.6);\n background: rgba(255, 255, 255, 0.07);\n border: 1px solid rgba(255, 255, 255, 0.12);\n }\n\n .verdict.is-fast {\n color: #2bd47d;\n background: rgba(43, 212, 125, 0.14);\n border-color: rgba(43, 212, 125, 0.4);\n }\n\n .verdict.is-fair {\n color: #ffc857;\n background: rgba(255, 200, 87, 0.14);\n border-color: rgba(255, 200, 87, 0.4);\n }\n\n .verdict.is-slow {\n color: #ff8080;\n background: rgba(255, 107, 107, 0.16);\n border-color: rgba(255, 107, 107, 0.45);\n }\n\n /* Distinct from is-slow: a slow answer is a result, no answer is a fault. */\n .verdict.is-failed {\n color: #ffd0a0;\n background: rgba(255, 143, 90, 0.16);\n border-color: rgba(255, 143, 90, 0.5);\n }\n\n .hint {\n margin: 10px 0 12px;\n font-size: 11.5px;\n line-height: 1.5;\n color: rgba(255, 255, 255, 0.62);\n }\n\n /* Pushes the button to the bottom so all three line up even when one hint\n wraps to an extra line. */\n .hint + button { margin-top: auto; }\n\n button { width: 100%; }\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n /* The gauge sweeps its arc on every one of the ten samples. NekoGauge sets\n that transition inline, so !important is the only thing that reaches it. */\n .neko-gauge path { transition: none !important; }\n }\n"]))),Ru=Yt.div(lu||(lu=mu(["\n /* No side margin of its own. Everything it wraps — the speed bar, the gauges,\n the phpinfo panel, the log console — already carries margin: 0 2px, and the\n section headings get the same 2px from sectionHead's padding. Adding 2px\n here as well double-inset the lot to 4px, and the override that was meant to\n cancel it named .php-body and .logs-bar, which have no side margin to\n cancel. One inset, set in one place, by the pieces themselves. */\n /* Folded, the tab is a list of rows, so it is built like one. Every heading is\n the same height whether or not it carries a button, with the same space above\n and below its text, and the rule sits at the bottom of that box — which puts\n each line exactly halfway between the title above it and the title below.\n Before this the heading kept 7px under it and 26px over the next one, so the\n rules looked stuck to the wrong titles. */\n .section-head {\n ","\n align-items: center;\n min-height: 30px;\n padding: 11px 2px;\n margin-bottom: 0;\n }\n\n .health-section + .health-section {\n margin-top: 0;\n padding-top: 0;\n }\n\n /* Opened, the section needs its content off the rule above it, and off the\n next heading below — the same 11px the headings use, so the rhythm carries\n on rather than restarting. */\n .section-head.is-open { margin-bottom: 14px; }\n .health-section.is-open { padding-bottom: 11px; }\n\n /* The overview: three ratings over six PHP values, one surface, no heading of\n its own. It is the top of the tab and it is the answer — labelling it would\n be labelling the page.\n\n A plain translucent black rather than the tinted gradient it had: it sinks\n into whatever blue is behind it instead of carrying a navy of its own, and\n the cards keep the only colour on the panel. */\n .health-top {\n display: flex;\n flex-direction: column;\n gap: 12px;\n background: #00000029;\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-top-color: rgba(255, 255, 255, 0.18);\n border-radius: 14px;\n padding: 14px;\n margin: 0 2px 12px;\n }\n\n /* The six values are supporting evidence for the three ratings above them, so\n they sit quieter — a hairline separates the two rather than a gap alone,\n which left the panel reading as two unrelated rows of boxes. */\n .health-top .php-facts {\n padding-top: 12px;\n border-top: 1px solid rgba(255, 255, 255, 0.08);\n }\n\n /* The offer keeps a surface of its own — it is a pitch, not a section. The\n analysis body went flat once the overview took the top: two panels stacked,\n one inside the other's shadow, read as a box in a box. */\n .analysis-body { margin: 0 2px; }\n\n .analysis-offer {\n background: rgba(0, 24, 40, 0.42);\n border: 1px solid rgba(255, 255, 255, 0.12);\n border-radius: 12px;\n padding: 16px 18px;\n margin: 0 2px;\n }\n\n .analysis-offer { display: flex; align-items: center; gap: 16px; }\n .analysis-offer svg { flex: 0 0 auto; color: #ffc857; }\n .analysis-offer > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }\n .analysis-offer strong { font-size: 13.5px; font-weight: 650; color: white; }\n .analysis-offer span { font-size: 12px; line-height: 1.55; color: rgba(255, 255, 255, 0.66); }\n\n .analysis-cta {\n flex: 0 0 auto;\n margin-left: auto;\n font-size: 10.5px;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n text-decoration: none;\n padding: 8px 14px;\n border-radius: 9px;\n color: white;\n background: linear-gradient(135deg, #3f7bec, #2f5fbd);\n ","\n }\n\n /* Button first, explanation beside it — the same shape as Speed's and Errors'\n bars, and always visible for the same reason. The disclosure used to sit\n above the button as a bulleted list, which made a two-second action look\n like a form to be agreed to. */\n /* What the section says about itself when it is folded: what was found, and\n when. The count is lit the way the error summary lights its own, so the two\n folded sections read as the same kind of line. */\n .analysis-note {\n margin: 0;\n font-size: 12px;\n line-height: 1.55;\n color: rgba(255, 255, 255, 0.62);\n }\n\n .analysis-note b { color: white; font-variant-numeric: tabular-nums; }\n\n .analysis-steps {\n list-style: none;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n gap: 10px;\n }\n\n .analysis-steps li {\n display: flex;\n align-items: center;\n gap: 11px;\n font-size: 13px;\n color: rgba(255, 255, 255, 0.36);\n }\n\n /* Each step carries its own state in the marker: waiting is a hollow ring,\n working spins, finished is a tick. Without it the list just sat there and\n the long last step looked like nothing was happening. */\n .analysis-steps i {\n position: relative;\n flex: 0 0 auto;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n border: 2px solid rgba(255, 255, 255, 0.18);\n }\n\n .analysis-steps .is-done { color: rgba(255, 255, 255, 0.72); }\n .analysis-steps .is-done i {\n border-color: #2bd47d;\n background: #2bd47d;\n }\n\n /* The tick, drawn rather than fonted so it lands the same everywhere.\n Centred off the middle rather than nudged in from the corner: the glyph is\n an L rotated 45°, so its own box has to be centred first and turned second,\n or it sits low and left the way hardcoded offsets left it. The -55% lifts it\n by the half-stroke the rotation adds below the join. */\n .analysis-steps .is-done i::after {\n content: '';\n position: absolute;\n left: 50%;\n top: 50%;\n width: 4px;\n height: 8px;\n border: solid #ffffff;\n border-width: 0 2px 2px 0;\n transform: translate(-50%, -55%) rotate(45deg);\n }\n\n .analysis-steps .is-now { color: white; }\n .analysis-steps .is-now i {\n border-color: rgba(255, 200, 87, 0.25);\n border-top-color: #ffc857;\n animation: ",' 0.7s linear infinite;\n }\n\n /* Asked for less motion: the ring stops and simply shows which step is live. */\n @media (prefers-reduced-motion: reduce) {\n .analysis-steps .is-now i {\n animation: none;\n border-color: #ffc857;\n background: rgba(255, 200, 87, 0.35);\n }\n }\n\n .analysis-steps .step-note {\n margin-left: auto;\n font-size: 11px;\n color: rgba(255, 255, 255, 0.42);\n }\n\n .analysis-error {\n font-size: 12.5px;\n line-height: 1.55;\n color: #ffd0a0;\n }\n\n .analysis-error span {\n display: block;\n margin-top: 3px;\n font-size: 11.5px;\n color: rgba(255, 255, 255, 0.5);\n }\n\n .analysis-areas {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 10px;\n }\n\n /* The rating was five 7px dots and nothing else — the one thing the eye should\n catch from across the room, hidden in 35 pixels. The card now carries its own\n verdict: a tinted wash, a tinted edge, and the icon in the same colour. Read\n at a glance it is green, amber or red; read properly it still says why. */\n .analysis-area {\n display: flex;\n flex-direction: column;\n gap: 3px;\n padding: 11px 13px;\n border-radius: 10px;\n background:\n linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),\n var(--tone-wash, transparent);\n border: 1px solid var(--tone-edge, rgba(255, 255, 255, 0.1));\n }\n\n .analysis-area.is-good {\n --tone-wash: linear-gradient(155deg, rgba(43, 212, 125, 0.16), rgba(43, 212, 125, 0.03));\n --tone-edge: rgba(43, 212, 125, 0.32);\n }\n\n .analysis-area.is-fair {\n --tone-wash: linear-gradient(155deg, rgba(255, 200, 87, 0.16), rgba(255, 200, 87, 0.03));\n --tone-edge: rgba(255, 200, 87, 0.32);\n }\n\n .analysis-area.is-poor {\n --tone-wash: linear-gradient(155deg, rgba(255, 128, 128, 0.18), rgba(255, 128, 128, 0.03));\n --tone-edge: rgba(255, 128, 128, 0.34);\n }\n\n .analysis-area.is-good .area-name svg { color: #2bd47d; }\n .analysis-area.is-fair .area-name svg { color: #ffc857; }\n .analysis-area.is-poor .area-name svg { color: #ff8080; }\n\n /* Unrated, the card still shows its shape — name, five empty dots, and what it\n is waiting for. Dimmed enough to read as "not yet" rather than "nothing". */\n .analysis-area.is-blank {\n background: rgba(255, 255, 255, 0.025);\n border-style: dashed;\n border-color: rgba(255, 255, 255, 0.12);\n }\n .analysis-area.is-blank .area-name { color: rgba(255, 255, 255, 0.34); }\n .analysis-area.is-blank .area-label { color: rgba(255, 255, 255, 0.44); font-weight: 600; }\n .analysis-area.is-blank .area-summary { color: rgba(255, 255, 255, 0.32); }\n .analysis-area.is-blank .area-dots i { background: rgba(255, 255, 255, 0.09); }\n\n /* The same icon the section below wears, so the card that rates Speed and the\n section that measures it are visibly the same subject. */\n .area-name {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 9.5px;\n font-weight: 700;\n letter-spacing: 0.09em;\n text-transform: uppercase;\n color: rgba(255, 255, 255, 0.5);\n }\n\n .area-name svg { flex: 0 0 auto; opacity: 0.85; }\n\n .area-dots { display: flex; gap: 3px; margin: 2px 0 1px; }\n .area-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16); }\n .analysis-area.is-good .area-dots i.on { background: #2bd47d; }\n .analysis-area.is-fair .area-dots i.on { background: #ffc857; }\n .analysis-area.is-poor .area-dots i.on { background: #ff8080; }\n\n /* The six values a support conversation turns on, lifted out of a 21,000px\n dump so they can be read rather than hunted for. They live in the overview\n rather than in the Environment section, next to the ratings that judge\n them — the numbers and the verdict on the numbers belong together. */\n .php-facts {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));\n gap: 8px;\n }\n\n .php-fact {\n display: flex;\n flex-direction: column;\n gap: 2px;\n padding: 8px 11px;\n border-radius: 9px;\n background: rgba(255, 255, 255, 0.04);\n border: 1px solid rgba(255, 255, 255, 0.07);\n }\n\n /* Hosts that disable phpinfo() get the labels and a dash: the shape of the\n answer is still worth showing when the answer isn\'t available. */\n .php-fact.is-blank { background: rgba(255, 255, 255, 0.02); }\n .php-fact.is-blank .fact-value { color: rgba(255, 255, 255, 0.3); }\n .php-fact.is-blank .fact-label { color: rgba(255, 255, 255, 0.34); }\n\n .fact-value {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 14px;\n font-weight: 600;\n line-height: 1.1;\n color: white;\n overflow-wrap: anywhere;\n }\n\n .fact-label {\n font-size: 9.5px;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: rgba(255, 255, 255, 0.5);\n }\n\n .area-label { font-size: 13px; font-weight: 650; color: white; }\n /* Dimmer than the verdict above it — the rating and its label are the answer,\n this is the footnote. */\n .area-summary { font-size: 11.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.5); }\n\n /* Given a block of its own rather than left as a loose paragraph with two\n thirds of the panel empty beside it. The measure stays readable; the block\n fills the width, so it reads as the summary it is. */\n /* The headline sentence, so it is the brightest thing in the panel and it\n fills its box. It used to cap the text at 88ch inside a full-width block,\n which left a third of the block empty and read as a layout fault rather\n than as a measure. */\n .analysis-conclusion {\n margin: 0 0 14px;\n padding: 14px 17px;\n border-radius: 10px;\n background: rgba(255, 255, 255, 0.06);\n border-left: 3px solid rgba(255, 255, 255, 0.34);\n font-size: 14px;\n line-height: 1.55;\n color: #ffffff;\n }\n\n .analysis-conclusion span { display: block; }\n\n /* One column of folded rows. Two columns made sense when every finding was a\n block of prose; folded they are single lines, and a list of lines reads\n better stacked — and the reasoning, when opened, gets the full width. */\n .analysis-findings {\n list-style: none; margin: 0; padding: 0;\n display: flex;\n flex-direction: column;\n gap: 6px;\n }\n\n .analysis-findings li {\n border-radius: 9px;\n background: rgba(255, 255, 255, 0.04);\n border-left: 3px solid rgba(255, 255, 255, 0.2);\n overflow: hidden;\n }\n\n .analysis-findings .is-high { border-left-color: #ff6b6b; }\n .analysis-findings .is-medium { border-left-color: #ffc857; }\n .analysis-findings .is-low { border-left-color: #74c0fc; }\n\n /* The whole row is the control, so the target is the line rather than a\n chevron somebody has to aim at. */\n .finding-head {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n padding: 10px 13px;\n font-family: inherit;\n text-align: left;\n background: none;\n border: 0;\n cursor: pointer;\n transition: background 0.15s ease;\n ',"\n }\n\n .finding-head:hover { background: rgba(255, 255, 255, 0.05); }\n\n .finding-head b { flex: 1 1 auto; font-size: 13px; font-weight: 650; color: white; }\n .finding-head em {\n flex: 0 0 auto;\n font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em;\n text-transform: uppercase; color: rgba(255, 255, 255, 0.42);\n }\n\n .finding-chevron {\n flex: 0 0 auto;\n width: 7px;\n height: 7px;\n border: solid rgba(255, 255, 255, 0.5);\n border-width: 0 1.5px 1.5px 0;\n transform: translateY(-2px) rotate(45deg);\n transition: transform 0.18s ease;\n }\n\n /* Anchored to the finding's own li. Left as a bare .is-open it also matched\n the section wrapper once Analysis became foldable, so opening the section\n turned every chevron upward while its finding was still shut. */\n .analysis-findings li.is-open .finding-chevron { transform: translateY(1px) rotate(-135deg); }\n\n .finding-more {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 0 13px 12px;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .finding-head, .finding-chevron { transition: none; }\n }\n\n /* Three levels, not one. Everything used to be the same near-white, so the\n reasoning, the instruction and the title all carried equal weight and the\n eye had nowhere to land. The why recedes; the what-to-do steps forward\n behind an arrow in the finding's own severity colour. */\n .finding-detail {\n font-size: 12px;\n line-height: 1.55;\n color: rgba(255, 255, 255, 0.52);\n }\n\n .finding-action {\n position: relative;\n padding-left: 22px;\n font-size: 12.5px;\n line-height: 1.55;\n font-weight: 500;\n color: #ffffff;\n }\n\n .finding-action::before {\n content: '→';\n position: absolute;\n left: 2px;\n top: 0;\n font-size: 13px;\n color: rgba(255, 255, 255, 0.45);\n }\n\n .is-high .finding-action::before { color: #ff6b6b; }\n .is-medium .finding-action::before { color: #ffc857; }\n .is-low .finding-action::before { color: #74c0fc; }\n\n /* Marked as ours, deliberately. A recommendation from the people who wrote the\n analysis should say so rather than read as neutral advice. */\n .finding-plugin {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n align-self: flex-start;\n margin-top: 4px;\n padding: 5px 11px 5px 6px;\n border-radius: 8px;\n font-size: 12px;\n font-weight: 600;\n text-decoration: none;\n color: white;\n background: rgba(255, 255, 255, 0.08);\n border: 1px solid rgba(255, 255, 255, 0.16);\n ",'\n }\n\n .finding-plugin img { width: 20px; height: 20px; border-radius: 5px; }\n .finding-plugin i {\n font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em;\n text-transform: uppercase; color: rgba(255, 255, 255, 0.45);\n }\n\n .analysis-clean { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }\n\n /* Whichever of the disclosure, the steps, the error and the result are on\n screen, they space themselves the same way — and the first of them carries\n no top margin, so it can\'t collapse out through .analysis-body and push the\n whole section away from the rule above it.\n\n That is what made Analysis sit 16px under its rule while every other section\n sat at 14px: a margin on a first child, escaping its parent. */\n .analysis-body > * { margin-top: 0; }\n .analysis-body > * + * { margin-top: 14px; }\n\n /* Four headings each carrying a "Show tests" / "Show all values" / "Show log"\n pill was four different labels for one idea, and they read as actions rather\n than as state. A caret says foldable, says which way it is folded, and needs\n no words. */\n .section-head.is-toggle {\n position: relative;\n cursor: pointer;\n }\n\n /* The action and the caret travel together at the right end, and sit above the\n stretched hit area below — otherwise the row\'s own click handler would\n swallow the button and fold the section instead of running it. */\n .head-right {\n position: relative;\n z-index: 1;\n margin-left: auto;\n display: flex;\n align-items: center;\n gap: 12px;\n }\n\n /* NekoButton carries a 5px sibling margin for loose layouts; here the flex gap\n already spaces it, and the margin only pushes it off the right edge. */\n .head-right .neko-button { margin: 0; }\n\n .section-head.is-toggle h3 button {\n font: inherit;\n letter-spacing: inherit;\n text-transform: inherit;\n color: inherit;\n background: none;\n border: 0;\n padding: 0;\n margin: 0;\n cursor: pointer;\n transition: color 0.15s ease;\n ',"\n }\n\n /* The whole heading row is the target, without putting an

inside a\n