@navette-js/panels 0.0.0-stage → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +8 -2
- package/THIRD-PARTY-NOTICES.md +12 -0
- package/dist/FILAMENT-LICENSE.md +21 -0
- package/dist/filament/css/filament/filament/app.css +2 -0
- package/dist/filament/fonts/INTER-LICENSE.txt +92 -0
- package/dist/filament/fonts/filament/filament/inter/index.css +1 -0
- package/dist/filament/fonts/filament/filament/inter/inter-cyrillic-ext-wght-normal-SP7Z6XGK.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-cyrillic-wght-normal-DR6K5BQD.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-greek-ext-wght-normal-A2J6H3EX.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-greek-wght-normal-ZABHMKQG.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-latin-ext-wght-normal-ZIT2UBIY.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-latin-wght-normal-DIHYUR35.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-vietnamese-wght-normal-VWEHJHBA.woff2 +0 -0
- package/dist/filament/js/filament/actions/actions.js +1 -0
- package/dist/filament/js/filament/filament/app.js +1 -0
- package/dist/filament/js/filament/filament/echo.js +13 -0
- package/dist/filament/js/filament/forms/components/builder.js +1 -0
- package/dist/filament/js/filament/forms/components/checkbox-list.js +1 -0
- package/dist/filament/js/filament/forms/components/code-editor.js +38 -0
- package/dist/filament/js/filament/forms/components/color-picker.js +1 -0
- package/dist/filament/js/filament/forms/components/date-time-picker.js +1 -0
- package/dist/filament/js/filament/forms/components/file-upload.js +116 -0
- package/dist/filament/js/filament/forms/components/js-field.js +1 -0
- package/dist/filament/js/filament/forms/components/key-value.js +1 -0
- package/dist/filament/js/filament/forms/components/markdown-editor.js +51 -0
- package/dist/filament/js/filament/forms/components/repeater.js +1 -0
- package/dist/filament/js/filament/forms/components/rich-editor.js +161 -0
- package/dist/filament/js/filament/forms/components/select.js +11 -0
- package/dist/filament/js/filament/forms/components/slider.js +1 -0
- package/dist/filament/js/filament/forms/components/tags-input.js +1 -0
- package/dist/filament/js/filament/forms/components/text-input/password-reveal.js +1 -0
- package/dist/filament/js/filament/forms/components/textarea.js +1 -0
- package/dist/filament/js/filament/forms/components/toggle-buttons.js +1 -0
- package/dist/filament/js/filament/notifications/notifications.js +1 -0
- package/dist/filament/js/filament/schemas/components/actions.js +1 -0
- package/dist/filament/js/filament/schemas/components/js-component.js +1 -0
- package/dist/filament/js/filament/schemas/components/tabs.js +1 -0
- package/dist/filament/js/filament/schemas/components/wizard.js +1 -0
- package/dist/filament/js/filament/schemas/schemas.js +1 -0
- package/dist/filament/js/filament/support/support.js +46 -0
- package/dist/filament/js/filament/tables/components/columns/checkbox.js +1 -0
- package/dist/filament/js/filament/tables/components/columns/select.js +11 -0
- package/dist/filament/js/filament/tables/components/columns/text-input.js +1 -0
- package/dist/filament/js/filament/tables/components/columns/toggle.js +1 -0
- package/dist/filament/js/filament/tables/tables.js +1 -0
- package/dist/filament/js/filament/widgets/components/chart.js +31 -0
- package/dist/filament/js/filament/widgets/components/js-widget.js +1 -0
- package/dist/filament/js/filament/widgets/components/stats-overview/stat/chart.js +20 -0
- package/dist/navette/navette/calendar.css +108 -0
- package/dist/navette/navette/motion.css +101 -0
- package/dist/navette/navette/motion.js +49 -0
- package/lib/auth.d.ts +61 -0
- package/lib/auth.js +142 -0
- package/lib/calendar.d.ts +82 -0
- package/lib/calendar.js +107 -0
- package/lib/index.d.ts +1619 -0
- package/lib/index.js +3487 -0
- package/lib/notifications.d.ts +76 -0
- package/lib/notifications.js +112 -0
- package/lib/topbar.d.ts +90 -0
- package/lib/topbar.js +241 -0
- package/package.json +59 -4
- package/resources/filament/LICENSE.md +21 -0
- package/resources/filament/README.md +2 -0
- package/resources/filament/packages/actions/resources/css/actions.css +30 -0
- package/resources/filament/packages/actions/resources/css/index.css +1 -0
- package/resources/filament/packages/forms/dist/index.css +1 -0
- package/resources/filament/packages/forms/resources/css/components/builder.css +206 -0
- package/resources/filament/packages/forms/resources/css/components/checkbox-list.css +55 -0
- package/resources/filament/packages/forms/resources/css/components/code-editor.css +79 -0
- package/resources/filament/packages/forms/resources/css/components/color-picker.css +17 -0
- package/resources/filament/packages/forms/resources/css/components/date-time-picker.css +127 -0
- package/resources/filament/packages/forms/resources/css/components/field.css +88 -0
- package/resources/filament/packages/forms/resources/css/components/file-upload/filepond-plugin-media-preview.css +104 -0
- package/resources/filament/packages/forms/resources/css/components/file-upload.css +199 -0
- package/resources/filament/packages/forms/resources/css/components/key-value.css +57 -0
- package/resources/filament/packages/forms/resources/css/components/markdown-editor.css +343 -0
- package/resources/filament/packages/forms/resources/css/components/modal-table-select.css +17 -0
- package/resources/filament/packages/forms/resources/css/components/radio.css +41 -0
- package/resources/filament/packages/forms/resources/css/components/repeater.css +401 -0
- package/resources/filament/packages/forms/resources/css/components/rich-editor.css +666 -0
- package/resources/filament/packages/forms/resources/css/components/select.css +13 -0
- package/resources/filament/packages/forms/resources/css/components/slider.css +54 -0
- package/resources/filament/packages/forms/resources/css/components/tags-input.css +33 -0
- package/resources/filament/packages/forms/resources/css/components/text-input.css +20 -0
- package/resources/filament/packages/forms/resources/css/components/textarea.css +26 -0
- package/resources/filament/packages/forms/resources/css/components/toggle-buttons.css +49 -0
- package/resources/filament/packages/forms/resources/css/index.css +32 -0
- package/resources/filament/packages/infolists/resources/css/components/code.css +21 -0
- package/resources/filament/packages/infolists/resources/css/components/color.css +34 -0
- package/resources/filament/packages/infolists/resources/css/components/entry.css +68 -0
- package/resources/filament/packages/infolists/resources/css/components/icon.css +39 -0
- package/resources/filament/packages/infolists/resources/css/components/image.css +161 -0
- package/resources/filament/packages/infolists/resources/css/components/key-value.css +24 -0
- package/resources/filament/packages/infolists/resources/css/components/repeatable.css +136 -0
- package/resources/filament/packages/infolists/resources/css/components/text.css +234 -0
- package/resources/filament/packages/infolists/resources/css/index.css +14 -0
- package/resources/filament/packages/notifications/resources/css/database-notifications.css +56 -0
- package/resources/filament/packages/notifications/resources/css/index.css +3 -0
- package/resources/filament/packages/notifications/resources/css/notification.css +109 -0
- package/resources/filament/packages/notifications/resources/css/notifications.css +29 -0
- package/resources/filament/packages/panels/resources/css/base.css +13 -0
- package/resources/filament/packages/panels/resources/css/components/global-search.css +93 -0
- package/resources/filament/packages/panels/resources/css/components/header.css +56 -0
- package/resources/filament/packages/panels/resources/css/components/layout.css +182 -0
- package/resources/filament/packages/panels/resources/css/components/logo.css +11 -0
- package/resources/filament/packages/panels/resources/css/components/page.css +60 -0
- package/resources/filament/packages/panels/resources/css/components/sidebar.css +311 -0
- package/resources/filament/packages/panels/resources/css/components/tenant-menu.css +49 -0
- package/resources/filament/packages/panels/resources/css/components/theme-switcher.css +15 -0
- package/resources/filament/packages/panels/resources/css/components/topbar.css +89 -0
- package/resources/filament/packages/panels/resources/css/components/user-menu.css +46 -0
- package/resources/filament/packages/panels/resources/css/index.css +40 -0
- package/resources/filament/packages/panels/resources/css/theme.css +2 -0
- package/resources/filament/packages/panels/resources/css/utilities.css +3 -0
- package/resources/filament/packages/panels/resources/css/widgets/account-widget.css +21 -0
- package/resources/filament/packages/panels/resources/css/widgets/filament-info-widget.css +21 -0
- package/resources/filament/packages/schemas/resources/css/components/actions.css +29 -0
- package/resources/filament/packages/schemas/resources/css/components/flex.css +106 -0
- package/resources/filament/packages/schemas/resources/css/components/form.css +7 -0
- package/resources/filament/packages/schemas/resources/css/components/fused-group.css +337 -0
- package/resources/filament/packages/schemas/resources/css/components/icon.css +11 -0
- package/resources/filament/packages/schemas/resources/css/components/image.css +12 -0
- package/resources/filament/packages/schemas/resources/css/components/section.css +24 -0
- package/resources/filament/packages/schemas/resources/css/components/tabs.css +77 -0
- package/resources/filament/packages/schemas/resources/css/components/text.css +77 -0
- package/resources/filament/packages/schemas/resources/css/components/unordered-list.css +15 -0
- package/resources/filament/packages/schemas/resources/css/components/wizard.css +177 -0
- package/resources/filament/packages/schemas/resources/css/index.css +12 -0
- package/resources/filament/packages/schemas/resources/css/schema.css +132 -0
- package/resources/filament/packages/support/dist/index.css +1 -0
- package/resources/filament/packages/support/resources/css/base.css +23 -0
- package/resources/filament/packages/support/resources/css/components/avatar.css +15 -0
- package/resources/filament/packages/support/resources/css/components/badge.css +90 -0
- package/resources/filament/packages/support/resources/css/components/breadcrumbs.css +25 -0
- package/resources/filament/packages/support/resources/css/components/button.css +214 -0
- package/resources/filament/packages/support/resources/css/components/callout.css +57 -0
- package/resources/filament/packages/support/resources/css/components/dropdown/header.css +21 -0
- package/resources/filament/packages/support/resources/css/components/dropdown/index.css +79 -0
- package/resources/filament/packages/support/resources/css/components/dropdown/list/index.css +7 -0
- package/resources/filament/packages/support/resources/css/components/dropdown/list/item.css +74 -0
- package/resources/filament/packages/support/resources/css/components/empty-state.css +67 -0
- package/resources/filament/packages/support/resources/css/components/fieldset.css +23 -0
- package/resources/filament/packages/support/resources/css/components/grid.css +511 -0
- package/resources/filament/packages/support/resources/css/components/icon-button.css +124 -0
- package/resources/filament/packages/support/resources/css/components/icon.css +31 -0
- package/resources/filament/packages/support/resources/css/components/input/checkbox.css +32 -0
- package/resources/filament/packages/support/resources/css/components/input/index.css +55 -0
- package/resources/filament/packages/support/resources/css/components/input/one-time-code.css +7 -0
- package/resources/filament/packages/support/resources/css/components/input/radio.css +11 -0
- package/resources/filament/packages/support/resources/css/components/input/select.css +154 -0
- package/resources/filament/packages/support/resources/css/components/input/wrapper.css +107 -0
- package/resources/filament/packages/support/resources/css/components/link.css +90 -0
- package/resources/filament/packages/support/resources/css/components/loading-indicator.css +3 -0
- package/resources/filament/packages/support/resources/css/components/loading-section.css +3 -0
- package/resources/filament/packages/support/resources/css/components/modal.css +494 -0
- package/resources/filament/packages/support/resources/css/components/pagination.css +160 -0
- package/resources/filament/packages/support/resources/css/components/section.css +234 -0
- package/resources/filament/packages/support/resources/css/components/tabs.css +70 -0
- package/resources/filament/packages/support/resources/css/components/toggle.css +60 -0
- package/resources/filament/packages/support/resources/css/components/tooltip.css +36 -0
- package/resources/filament/packages/support/resources/css/index.css +133 -0
- package/resources/filament/packages/support/resources/css/sortable.css +3 -0
- package/resources/filament/packages/support/resources/css/utilities.css +897 -0
- package/resources/filament/packages/tables/resources/css/actions.css +51 -0
- package/resources/filament/packages/tables/resources/css/cell.css +139 -0
- package/resources/filament/packages/tables/resources/css/column-manager.css +48 -0
- package/resources/filament/packages/tables/resources/css/columns/checkbox.css +54 -0
- package/resources/filament/packages/tables/resources/css/columns/color.css +76 -0
- package/resources/filament/packages/tables/resources/css/columns/icon.css +81 -0
- package/resources/filament/packages/tables/resources/css/columns/image.css +207 -0
- package/resources/filament/packages/tables/resources/css/columns/layout/grid.css +49 -0
- package/resources/filament/packages/tables/resources/css/columns/layout/panel.css +3 -0
- package/resources/filament/packages/tables/resources/css/columns/layout/split.css +35 -0
- package/resources/filament/packages/tables/resources/css/columns/layout/stack.css +29 -0
- package/resources/filament/packages/tables/resources/css/columns/select.css +36 -0
- package/resources/filament/packages/tables/resources/css/columns/summaries/icon-count.css +43 -0
- package/resources/filament/packages/tables/resources/css/columns/summaries/range.css +27 -0
- package/resources/filament/packages/tables/resources/css/columns/summaries/text.css +29 -0
- package/resources/filament/packages/tables/resources/css/columns/summaries/values.css +33 -0
- package/resources/filament/packages/tables/resources/css/columns/text-input.css +36 -0
- package/resources/filament/packages/tables/resources/css/columns/text.css +319 -0
- package/resources/filament/packages/tables/resources/css/columns/toggle.css +54 -0
- package/resources/filament/packages/tables/resources/css/container.css +311 -0
- package/resources/filament/packages/tables/resources/css/content.css +342 -0
- package/resources/filament/packages/tables/resources/css/empty-state.css +31 -0
- package/resources/filament/packages/tables/resources/css/group-header.css +54 -0
- package/resources/filament/packages/tables/resources/css/header-cell.css +224 -0
- package/resources/filament/packages/tables/resources/css/index.css +26 -0
- package/resources/filament/packages/tables/resources/css/row.css +47 -0
- package/resources/filament/packages/tables/resources/css/table.css +394 -0
- package/resources/filament/packages/widgets/resources/css/chart-widget.css +88 -0
- package/resources/filament/packages/widgets/resources/css/index.css +3 -0
- package/resources/filament/packages/widgets/resources/css/stats-overview-widget.css +67 -0
- package/resources/filament/packages/widgets/resources/css/widget.css +3 -0
- package/theme.css +17 -0
- package/views/components/logo.ejs +9 -0
- package/views/components/tenant-menu.ejs +13 -0
- package/views/components/user-menu.ejs +82 -0
- package/views/layout/base.ejs +129 -0
- package/views/layout/index.ejs +41 -0
- package/views/layout/simple.ejs +19 -0
- package/views/livewire/sidebar.ejs +123 -0
- package/views/livewire/topbar.ejs +47 -0
- package/views/pages/page.ejs +143 -0
- package/views/pages/simple.ejs +32 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
(()=>{var al=Object.create;var ta=Object.defineProperty;var sl=Object.getOwnPropertyDescriptor;var ll=Object.getOwnPropertyNames;var ul=Object.getPrototypeOf,cl=Object.prototype.hasOwnProperty;var Zi=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(r){throw e=0,r}};var fl=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ll(e))!cl.call(t,i)&&i!==r&&ta(t,i,{get:()=>e[i],enumerable:!(n=sl(e,i))||n.enumerable});return t};var pl=(t,e,r)=>(r=t!=null?al(ul(t)):{},fl(e||!t||!t.__esModule?ta(r,"default",{value:t,enumerable:!0}):r,t));var Na=Zi(()=>{});var ja=Zi(()=>{});var Ba=Zi((af,Si)=>{(function(){"use strict";var t="input is invalid type",e="finalize already called",r=typeof window=="object",n=r?window:{};n.JS_MD5_NO_WINDOW&&(r=!1);var i=!r&&typeof self=="object",o=!n.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;o?n=global:i&&(n=self);var a=!n.JS_MD5_NO_COMMON_JS&&typeof Si=="object"&&Si.exports,l=typeof define=="function"&&define.amd,s=!n.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",u="0123456789abcdef".split(""),p=[128,32768,8388608,-2147483648],g=[0,8,16,24],E=["hex","array","digest","buffer","arrayBuffer","base64"],y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),O=[],S;if(s){var D=new ArrayBuffer(68);S=new Uint8Array(D),O=new Uint32Array(D)}var N=Array.isArray;(n.JS_MD5_NO_NODE_JS||!N)&&(N=function(c){return Object.prototype.toString.call(c)==="[object Array]"});var C=ArrayBuffer.isView;s&&(n.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!C)&&(C=function(c){return typeof c=="object"&&c.buffer&&c.buffer.constructor===ArrayBuffer});var j=function(c){var d=typeof c;if(d==="string")return[c,!0];if(d!=="object"||c===null)throw new Error(t);if(s&&c.constructor===ArrayBuffer)return[new Uint8Array(c),!1];if(!N(c)&&!C(c))throw new Error(t);return[c,!1]},b=function(c){return function(d){return new H(!0).update(d)[c]()}},U=function(){var c=b("hex");o&&(c=k(c)),c.create=function(){return new H},c.update=function(m){return c.create().update(m)};for(var d=0;d<E.length;++d){var v=E[d];c[v]=b(v)}return c},k=function(c){var d=Na(),v=ja().Buffer,m;v.from&&!n.JS_MD5_NO_BUFFER_FROM?m=v.from:m=function(P){return new v(P)};var B=function(P){if(typeof P=="string")return d.createHash("md5").update(P,"utf8").digest("hex");if(P==null)throw new Error(t);return P.constructor===ArrayBuffer&&(P=new Uint8Array(P)),N(P)||C(P)||P.constructor===v?d.createHash("md5").update(m(P)).digest("hex"):c(P)};return B},$=function(c){return function(d,v){return new X(d,!0).update(v)[c]()}},ee=function(){var c=$("hex");c.create=function(m){return new X(m)},c.update=function(m,B){return c.create(m).update(B)};for(var d=0;d<E.length;++d){var v=E[d];c[v]=$(v)}return c};function H(c){if(c)O[0]=O[16]=O[1]=O[2]=O[3]=O[4]=O[5]=O[6]=O[7]=O[8]=O[9]=O[10]=O[11]=O[12]=O[13]=O[14]=O[15]=0,this.blocks=O,this.buffer8=S;else if(s){var d=new ArrayBuffer(68);this.buffer8=new Uint8Array(d),this.blocks=new Uint32Array(d)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}H.prototype.update=function(c){if(this.finalized)throw new Error(e);var d=j(c);c=d[0];for(var v=d[1],m,B=0,P,I=c.length,Q=this.blocks,Me=this.buffer8;B<I;){if(this.hashed&&(this.hashed=!1,Q[0]=Q[16],Q[16]=Q[1]=Q[2]=Q[3]=Q[4]=Q[5]=Q[6]=Q[7]=Q[8]=Q[9]=Q[10]=Q[11]=Q[12]=Q[13]=Q[14]=Q[15]=0),v)if(s)for(P=this.start;B<I&&P<64;++B)m=c.charCodeAt(B),m<128?Me[P++]=m:m<2048?(Me[P++]=192|m>>>6,Me[P++]=128|m&63):m<55296||m>=57344?(Me[P++]=224|m>>>12,Me[P++]=128|m>>>6&63,Me[P++]=128|m&63):(m=65536+((m&1023)<<10|c.charCodeAt(++B)&1023),Me[P++]=240|m>>>18,Me[P++]=128|m>>>12&63,Me[P++]=128|m>>>6&63,Me[P++]=128|m&63);else for(P=this.start;B<I&&P<64;++B)m=c.charCodeAt(B),m<128?Q[P>>>2]|=m<<g[P++&3]:m<2048?(Q[P>>>2]|=(192|m>>>6)<<g[P++&3],Q[P>>>2]|=(128|m&63)<<g[P++&3]):m<55296||m>=57344?(Q[P>>>2]|=(224|m>>>12)<<g[P++&3],Q[P>>>2]|=(128|m>>>6&63)<<g[P++&3],Q[P>>>2]|=(128|m&63)<<g[P++&3]):(m=65536+((m&1023)<<10|c.charCodeAt(++B)&1023),Q[P>>>2]|=(240|m>>>18)<<g[P++&3],Q[P>>>2]|=(128|m>>>12&63)<<g[P++&3],Q[P>>>2]|=(128|m>>>6&63)<<g[P++&3],Q[P>>>2]|=(128|m&63)<<g[P++&3]);else if(s)for(P=this.start;B<I&&P<64;++B)Me[P++]=c[B];else for(P=this.start;B<I&&P<64;++B)Q[P>>>2]|=c[B]<<g[P++&3];this.lastByteIndex=P,this.bytes+=P-this.start,P>=64?(this.start=P-64,this.hash(),this.hashed=!0):this.start=P}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},H.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var c=this.blocks,d=this.lastByteIndex;c[d>>>2]|=p[d&3],d>=56&&(this.hashed||this.hash(),c[0]=c[16],c[16]=c[1]=c[2]=c[3]=c[4]=c[5]=c[6]=c[7]=c[8]=c[9]=c[10]=c[11]=c[12]=c[13]=c[14]=c[15]=0),c[14]=this.bytes<<3,c[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},H.prototype.hash=function(){var c,d,v,m,B,P,I=this.blocks;this.first?(c=I[0]-680876937,c=(c<<7|c>>>25)-271733879<<0,m=(-1732584194^c&2004318071)+I[1]-117830708,m=(m<<12|m>>>20)+c<<0,v=(-271733879^m&(c^-271733879))+I[2]-1126478375,v=(v<<17|v>>>15)+m<<0,d=(c^v&(m^c))+I[3]-1316259209,d=(d<<22|d>>>10)+v<<0):(c=this.h0,d=this.h1,v=this.h2,m=this.h3,c+=(m^d&(v^m))+I[0]-680876936,c=(c<<7|c>>>25)+d<<0,m+=(v^c&(d^v))+I[1]-389564586,m=(m<<12|m>>>20)+c<<0,v+=(d^m&(c^d))+I[2]+606105819,v=(v<<17|v>>>15)+m<<0,d+=(c^v&(m^c))+I[3]-1044525330,d=(d<<22|d>>>10)+v<<0),c+=(m^d&(v^m))+I[4]-176418897,c=(c<<7|c>>>25)+d<<0,m+=(v^c&(d^v))+I[5]+1200080426,m=(m<<12|m>>>20)+c<<0,v+=(d^m&(c^d))+I[6]-1473231341,v=(v<<17|v>>>15)+m<<0,d+=(c^v&(m^c))+I[7]-45705983,d=(d<<22|d>>>10)+v<<0,c+=(m^d&(v^m))+I[8]+1770035416,c=(c<<7|c>>>25)+d<<0,m+=(v^c&(d^v))+I[9]-1958414417,m=(m<<12|m>>>20)+c<<0,v+=(d^m&(c^d))+I[10]-42063,v=(v<<17|v>>>15)+m<<0,d+=(c^v&(m^c))+I[11]-1990404162,d=(d<<22|d>>>10)+v<<0,c+=(m^d&(v^m))+I[12]+1804603682,c=(c<<7|c>>>25)+d<<0,m+=(v^c&(d^v))+I[13]-40341101,m=(m<<12|m>>>20)+c<<0,v+=(d^m&(c^d))+I[14]-1502002290,v=(v<<17|v>>>15)+m<<0,d+=(c^v&(m^c))+I[15]+1236535329,d=(d<<22|d>>>10)+v<<0,c+=(v^m&(d^v))+I[1]-165796510,c=(c<<5|c>>>27)+d<<0,m+=(d^v&(c^d))+I[6]-1069501632,m=(m<<9|m>>>23)+c<<0,v+=(c^d&(m^c))+I[11]+643717713,v=(v<<14|v>>>18)+m<<0,d+=(m^c&(v^m))+I[0]-373897302,d=(d<<20|d>>>12)+v<<0,c+=(v^m&(d^v))+I[5]-701558691,c=(c<<5|c>>>27)+d<<0,m+=(d^v&(c^d))+I[10]+38016083,m=(m<<9|m>>>23)+c<<0,v+=(c^d&(m^c))+I[15]-660478335,v=(v<<14|v>>>18)+m<<0,d+=(m^c&(v^m))+I[4]-405537848,d=(d<<20|d>>>12)+v<<0,c+=(v^m&(d^v))+I[9]+568446438,c=(c<<5|c>>>27)+d<<0,m+=(d^v&(c^d))+I[14]-1019803690,m=(m<<9|m>>>23)+c<<0,v+=(c^d&(m^c))+I[3]-187363961,v=(v<<14|v>>>18)+m<<0,d+=(m^c&(v^m))+I[8]+1163531501,d=(d<<20|d>>>12)+v<<0,c+=(v^m&(d^v))+I[13]-1444681467,c=(c<<5|c>>>27)+d<<0,m+=(d^v&(c^d))+I[2]-51403784,m=(m<<9|m>>>23)+c<<0,v+=(c^d&(m^c))+I[7]+1735328473,v=(v<<14|v>>>18)+m<<0,d+=(m^c&(v^m))+I[12]-1926607734,d=(d<<20|d>>>12)+v<<0,B=d^v,c+=(B^m)+I[5]-378558,c=(c<<4|c>>>28)+d<<0,m+=(B^c)+I[8]-2022574463,m=(m<<11|m>>>21)+c<<0,P=m^c,v+=(P^d)+I[11]+1839030562,v=(v<<16|v>>>16)+m<<0,d+=(P^v)+I[14]-35309556,d=(d<<23|d>>>9)+v<<0,B=d^v,c+=(B^m)+I[1]-1530992060,c=(c<<4|c>>>28)+d<<0,m+=(B^c)+I[4]+1272893353,m=(m<<11|m>>>21)+c<<0,P=m^c,v+=(P^d)+I[7]-155497632,v=(v<<16|v>>>16)+m<<0,d+=(P^v)+I[10]-1094730640,d=(d<<23|d>>>9)+v<<0,B=d^v,c+=(B^m)+I[13]+681279174,c=(c<<4|c>>>28)+d<<0,m+=(B^c)+I[0]-358537222,m=(m<<11|m>>>21)+c<<0,P=m^c,v+=(P^d)+I[3]-722521979,v=(v<<16|v>>>16)+m<<0,d+=(P^v)+I[6]+76029189,d=(d<<23|d>>>9)+v<<0,B=d^v,c+=(B^m)+I[9]-640364487,c=(c<<4|c>>>28)+d<<0,m+=(B^c)+I[12]-421815835,m=(m<<11|m>>>21)+c<<0,P=m^c,v+=(P^d)+I[15]+530742520,v=(v<<16|v>>>16)+m<<0,d+=(P^v)+I[2]-995338651,d=(d<<23|d>>>9)+v<<0,c+=(v^(d|~m))+I[0]-198630844,c=(c<<6|c>>>26)+d<<0,m+=(d^(c|~v))+I[7]+1126891415,m=(m<<10|m>>>22)+c<<0,v+=(c^(m|~d))+I[14]-1416354905,v=(v<<15|v>>>17)+m<<0,d+=(m^(v|~c))+I[5]-57434055,d=(d<<21|d>>>11)+v<<0,c+=(v^(d|~m))+I[12]+1700485571,c=(c<<6|c>>>26)+d<<0,m+=(d^(c|~v))+I[3]-1894986606,m=(m<<10|m>>>22)+c<<0,v+=(c^(m|~d))+I[10]-1051523,v=(v<<15|v>>>17)+m<<0,d+=(m^(v|~c))+I[1]-2054922799,d=(d<<21|d>>>11)+v<<0,c+=(v^(d|~m))+I[8]+1873313359,c=(c<<6|c>>>26)+d<<0,m+=(d^(c|~v))+I[15]-30611744,m=(m<<10|m>>>22)+c<<0,v+=(c^(m|~d))+I[6]-1560198380,v=(v<<15|v>>>17)+m<<0,d+=(m^(v|~c))+I[13]+1309151649,d=(d<<21|d>>>11)+v<<0,c+=(v^(d|~m))+I[4]-145523070,c=(c<<6|c>>>26)+d<<0,m+=(d^(c|~v))+I[11]-1120210379,m=(m<<10|m>>>22)+c<<0,v+=(c^(m|~d))+I[2]+718787259,v=(v<<15|v>>>17)+m<<0,d+=(m^(v|~c))+I[9]-343485551,d=(d<<21|d>>>11)+v<<0,this.first?(this.h0=c+1732584193<<0,this.h1=d-271733879<<0,this.h2=v-1732584194<<0,this.h3=m+271733878<<0,this.first=!1):(this.h0=this.h0+c<<0,this.h1=this.h1+d<<0,this.h2=this.h2+v<<0,this.h3=this.h3+m<<0)},H.prototype.hex=function(){this.finalize();var c=this.h0,d=this.h1,v=this.h2,m=this.h3;return u[c>>>4&15]+u[c&15]+u[c>>>12&15]+u[c>>>8&15]+u[c>>>20&15]+u[c>>>16&15]+u[c>>>28&15]+u[c>>>24&15]+u[d>>>4&15]+u[d&15]+u[d>>>12&15]+u[d>>>8&15]+u[d>>>20&15]+u[d>>>16&15]+u[d>>>28&15]+u[d>>>24&15]+u[v>>>4&15]+u[v&15]+u[v>>>12&15]+u[v>>>8&15]+u[v>>>20&15]+u[v>>>16&15]+u[v>>>28&15]+u[v>>>24&15]+u[m>>>4&15]+u[m&15]+u[m>>>12&15]+u[m>>>8&15]+u[m>>>20&15]+u[m>>>16&15]+u[m>>>28&15]+u[m>>>24&15]},H.prototype.toString=H.prototype.hex,H.prototype.digest=function(){this.finalize();var c=this.h0,d=this.h1,v=this.h2,m=this.h3;return[c&255,c>>>8&255,c>>>16&255,c>>>24&255,d&255,d>>>8&255,d>>>16&255,d>>>24&255,v&255,v>>>8&255,v>>>16&255,v>>>24&255,m&255,m>>>8&255,m>>>16&255,m>>>24&255]},H.prototype.array=H.prototype.digest,H.prototype.arrayBuffer=function(){this.finalize();var c=new ArrayBuffer(16),d=new Uint32Array(c);return d[0]=this.h0,d[1]=this.h1,d[2]=this.h2,d[3]=this.h3,c},H.prototype.buffer=H.prototype.arrayBuffer,H.prototype.base64=function(){for(var c,d,v,m="",B=this.array(),P=0;P<15;)c=B[P++],d=B[P++],v=B[P++],m+=y[c>>>2]+y[(c<<4|d>>>4)&63]+y[(d<<2|v>>>6)&63]+y[v&63];return c=B[P],m+=y[c>>>2]+y[c<<4&63]+"==",m};function X(c,d){var v,m=j(c);if(c=m[0],m[1]){var B=[],P=c.length,I=0,Q;for(v=0;v<P;++v)Q=c.charCodeAt(v),Q<128?B[I++]=Q:Q<2048?(B[I++]=192|Q>>>6,B[I++]=128|Q&63):Q<55296||Q>=57344?(B[I++]=224|Q>>>12,B[I++]=128|Q>>>6&63,B[I++]=128|Q&63):(Q=65536+((Q&1023)<<10|c.charCodeAt(++v)&1023),B[I++]=240|Q>>>18,B[I++]=128|Q>>>12&63,B[I++]=128|Q>>>6&63,B[I++]=128|Q&63);c=B}c.length>64&&(c=new H(!0).update(c).array());var Me=[],bt=[];for(v=0;v<64;++v){var st=c[v]||0;Me[v]=92^st,bt[v]=54^st}H.call(this,d),this.update(bt),this.oKeyPad=Me,this.inner=!0,this.sharedMemory=d}X.prototype=new H,X.prototype.finalize=function(){if(H.prototype.finalize.call(this),this.inner){this.inner=!1;var c=this.array();H.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(c),H.prototype.finalize.call(this)}};var ie=U();ie.md5=ie,ie.md5.hmac=ee(),a?Si.exports=ie:(n.md5=ie,l&&define(function(){return ie}))})()});var pa=["top","right","bottom","left"],ra=["start","end"],na=pa.reduce((t,e)=>t.concat(e,e+"-"+ra[0],e+"-"+ra[1]),[]),ar=Math.min,At=Math.max,wi=Math.round,yi=Math.floor,Zr=t=>({x:t,y:t}),dl={left:"right",right:"left",bottom:"top",top:"bottom"},hl={start:"end",end:"start"};function eo(t,e,r){return At(t,ar(e,r))}function kr(t,e){return typeof t=="function"?t(e):t}function qt(t){return t.split("-")[0]}function or(t){return t.split("-")[1]}function da(t){return t==="x"?"y":"x"}function to(t){return t==="y"?"height":"width"}function kn(t){return["top","bottom"].includes(qt(t))?"y":"x"}function ro(t){return da(kn(t))}function ha(t,e,r){r===void 0&&(r=!1);let n=or(t),i=ro(t),o=to(i),a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(a=Ei(a)),[a,Ei(a)]}function ml(t){let e=Ei(t);return[xi(t),e,xi(e)]}function xi(t){return t.replace(/start|end/g,e=>hl[e])}function vl(t,e,r){let n=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?o:a;default:return[]}}function gl(t,e,r,n){let i=or(t),o=vl(qt(t),r==="start",n);return i&&(o=o.map(a=>a+"-"+i),e&&(o=o.concat(o.map(xi)))),o}function Ei(t){return t.replace(/left|right|bottom|top/g,e=>dl[e])}function bl(t){return{top:0,right:0,bottom:0,left:0,...t}}function no(t){return typeof t!="number"?bl(t):{top:t,right:t,bottom:t,left:t}}function _n(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ia(t,e,r){let{reference:n,floating:i}=t,o=kn(e),a=ro(e),l=to(a),s=qt(e),u=o==="y",p=n.x+n.width/2-i.width/2,g=n.y+n.height/2-i.height/2,E=n[l]/2-i[l]/2,y;switch(s){case"top":y={x:p,y:n.y-i.height};break;case"bottom":y={x:p,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:g};break;case"left":y={x:n.x-i.width,y:g};break;default:y={x:n.x,y:n.y}}switch(or(e)){case"start":y[a]-=E*(r&&u?-1:1);break;case"end":y[a]+=E*(r&&u?-1:1);break}return y}var yl=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,l=o.filter(Boolean),s=await(a.isRTL==null?void 0:a.isRTL(e)),u=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:g}=ia(u,n,s),E=n,y={},O=0;for(let S=0;S<l.length;S++){let{name:D,fn:N}=l[S],{x:C,y:j,data:b,reset:U}=await N({x:p,y:g,initialPlacement:n,placement:E,strategy:i,middlewareData:y,rects:u,platform:a,elements:{reference:t,floating:e}});p=C??p,g=j??g,y={...y,[D]:{...y[D],...b}},U&&O<=50&&(O++,typeof U=="object"&&(U.placement&&(E=U.placement),U.rects&&(u=U.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):U.rects),{x:p,y:g}=ia(u,E,s)),S=-1)}return{x:p,y:g,placement:E,strategy:i,middlewareData:y}};async function Ln(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:o,rects:a,elements:l,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:g="floating",altBoundary:E=!1,padding:y=0}=kr(e,t),O=no(y),D=l[E?g==="floating"?"reference":"floating":g],N=_n(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(D)))==null||r?D:D.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:p,strategy:s})),C=g==="floating"?{...a.floating,x:n,y:i}:a.reference,j=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),b=await(o.isElement==null?void 0:o.isElement(j))?await(o.getScale==null?void 0:o.getScale(j))||{x:1,y:1}:{x:1,y:1},U=_n(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:C,offsetParent:j,strategy:s}):C);return{top:(N.top-U.top+O.top)/b.y,bottom:(U.bottom-N.bottom+O.bottom)/b.y,left:(N.left-U.left+O.left)/b.x,right:(U.right-N.right+O.right)/b.x}}var wl=t=>({name:"arrow",options:t,async fn(e){let{x:r,y:n,placement:i,rects:o,platform:a,elements:l,middlewareData:s}=e,{element:u,padding:p=0}=kr(t,e)||{};if(u==null)return{};let g=no(p),E={x:r,y:n},y=ro(i),O=to(y),S=await a.getDimensions(u),D=y==="y",N=D?"top":"left",C=D?"bottom":"right",j=D?"clientHeight":"clientWidth",b=o.reference[O]+o.reference[y]-E[y]-o.floating[O],U=E[y]-o.reference[y],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u)),$=k?k[j]:0;(!$||!await(a.isElement==null?void 0:a.isElement(k)))&&($=l.floating[j]||o.floating[O]);let ee=b/2-U/2,H=$/2-S[O]/2-1,X=ar(g[N],H),ie=ar(g[C],H),c=X,d=$-S[O]-ie,v=$/2-S[O]/2+ee,m=eo(c,v,d),B=!s.arrow&&or(i)!=null&&v!==m&&o.reference[O]/2-(v<c?X:ie)-S[O]/2<0,P=B?v<c?v-c:v-d:0;return{[y]:E[y]+P,data:{[y]:m,centerOffset:v-m-P,...B&&{alignmentOffset:P}},reset:B}}});function xl(t,e,r){return(t?[...r.filter(i=>or(i)===t),...r.filter(i=>or(i)!==t)]:r.filter(i=>qt(i)===i)).filter(i=>t?or(i)===t||(e?xi(i)!==i:!1):!0)}var El=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:o,middlewareData:a,placement:l,platform:s,elements:u}=e,{crossAxis:p=!1,alignment:g,allowedPlacements:E=na,autoAlignment:y=!0,...O}=kr(t,e),S=g!==void 0||E===na?xl(g||null,y,E):E,D=await Ln(e,O),N=((r=a.autoPlacement)==null?void 0:r.index)||0,C=S[N];if(C==null)return{};let j=ha(C,o,await(s.isRTL==null?void 0:s.isRTL(u.floating)));if(l!==C)return{reset:{placement:S[0]}};let b=[D[qt(C)],D[j[0]],D[j[1]]],U=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],k=S[N+1];if(k)return{data:{index:N+1,overflows:U},reset:{placement:k}};let $=U.map(X=>{let ie=or(X.placement);return[X.placement,ie&&p?X.overflows.slice(0,2).reduce((c,d)=>c+d,0):X.overflows[0],X.overflows]}).sort((X,ie)=>X[1]-ie[1]),H=((i=$.filter(X=>X[2].slice(0,or(X[0])?2:3).every(ie=>ie<=0))[0])==null?void 0:i[0])||$[0][0];return H!==l?{data:{index:N+1,overflows:U},reset:{placement:H}}:{}}}},Ol=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:i,middlewareData:o,rects:a,initialPlacement:l,platform:s,elements:u}=e,{mainAxis:p=!0,crossAxis:g=!0,fallbackPlacements:E,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:S=!0,...D}=kr(t,e);if((r=o.arrow)!=null&&r.alignmentOffset)return{};let N=qt(i),C=qt(l)===l,j=await(s.isRTL==null?void 0:s.isRTL(u.floating)),b=E||(C||!S?[Ei(l)]:ml(l));!E&&O!=="none"&&b.push(...gl(l,S,O,j));let U=[l,...b],k=await Ln(e,D),$=[],ee=((n=o.flip)==null?void 0:n.overflows)||[];if(p&&$.push(k[N]),g){let c=ha(i,a,j);$.push(k[c[0]],k[c[1]])}if(ee=[...ee,{placement:i,overflows:$}],!$.every(c=>c<=0)){var H,X;let c=(((H=o.flip)==null?void 0:H.index)||0)+1,d=U[c];if(d)return{data:{index:c,overflows:ee},reset:{placement:d}};let v=(X=ee.filter(m=>m.overflows[0]<=0).sort((m,B)=>m.overflows[1]-B.overflows[1])[0])==null?void 0:X.placement;if(!v)switch(y){case"bestFit":{var ie;let m=(ie=ee.map(B=>[B.placement,B.overflows.filter(P=>P>0).reduce((P,I)=>P+I,0)]).sort((B,P)=>B[1]-P[1])[0])==null?void 0:ie[0];m&&(v=m);break}case"initialPlacement":v=l;break}if(i!==v)return{reset:{placement:v}}}return{}}}};function oa(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function aa(t){return pa.some(e=>t[e]>=0)}var Al=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){let{rects:r}=e,{strategy:n="referenceHidden",...i}=kr(t,e);switch(n){case"referenceHidden":{let o=await Ln(e,{...i,elementContext:"reference"}),a=oa(o,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:aa(a)}}}case"escaped":{let o=await Ln(e,{...i,altBoundary:!0}),a=oa(o,r.floating);return{data:{escapedOffsets:a,escaped:aa(a)}}}default:return{}}}}};function ma(t){let e=ar(...t.map(o=>o.left)),r=ar(...t.map(o=>o.top)),n=At(...t.map(o=>o.right)),i=At(...t.map(o=>o.bottom));return{x:e,y:r,width:n-e,height:i-r}}function Sl(t){let e=t.slice().sort((i,o)=>i.y-o.y),r=[],n=null;for(let i=0;i<e.length;i++){let o=e[i];!n||o.y-n.y>n.height/2?r.push([o]):r[r.length-1].push(o),n=o}return r.map(i=>_n(ma(i)))}var Cl=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){let{placement:r,elements:n,rects:i,platform:o,strategy:a}=e,{padding:l=2,x:s,y:u}=kr(t,e),p=Array.from(await(o.getClientRects==null?void 0:o.getClientRects(n.reference))||[]),g=Sl(p),E=_n(ma(p)),y=no(l);function O(){if(g.length===2&&g[0].left>g[1].right&&s!=null&&u!=null)return g.find(D=>s>D.left-y.left&&s<D.right+y.right&&u>D.top-y.top&&u<D.bottom+y.bottom)||E;if(g.length>=2){if(kn(r)==="y"){let X=g[0],ie=g[g.length-1],c=qt(r)==="top",d=X.top,v=ie.bottom,m=c?X.left:ie.left,B=c?X.right:ie.right,P=B-m,I=v-d;return{top:d,bottom:v,left:m,right:B,width:P,height:I,x:m,y:d}}let D=qt(r)==="left",N=At(...g.map(X=>X.right)),C=ar(...g.map(X=>X.left)),j=g.filter(X=>D?X.left===C:X.right===N),b=j[0].top,U=j[j.length-1].bottom,k=C,$=N,ee=$-k,H=U-b;return{top:b,bottom:U,left:k,right:$,width:ee,height:H,x:k,y:b}}return E}let S=await o.getElementRects({reference:{getBoundingClientRect:O},floating:n.floating,strategy:a});return i.reference.x!==S.reference.x||i.reference.y!==S.reference.y||i.reference.width!==S.reference.width||i.reference.height!==S.reference.height?{reset:{rects:S}}:{}}}};async function Tl(t,e){let{placement:r,platform:n,elements:i}=t,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=qt(r),l=or(r),s=kn(r)==="y",u=["left","top"].includes(a)?-1:1,p=o&&s?-1:1,g=kr(e,t),{mainAxis:E,crossAxis:y,alignmentAxis:O}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...g};return l&&typeof O=="number"&&(y=l==="end"?O*-1:O),s?{x:y*p,y:E*u}:{x:E*u,y:y*p}}var va=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:o,placement:a,middlewareData:l}=e,s=await Tl(e,t);return a===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:a}}}}},Dl=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:D=>{let{x:N,y:C}=D;return{x:N,y:C}}},...s}=kr(t,e),u={x:r,y:n},p=await Ln(e,s),g=kn(qt(i)),E=da(g),y=u[E],O=u[g];if(o){let D=E==="y"?"top":"left",N=E==="y"?"bottom":"right",C=y+p[D],j=y-p[N];y=eo(C,y,j)}if(a){let D=g==="y"?"top":"left",N=g==="y"?"bottom":"right",C=O+p[D],j=O-p[N];O=eo(C,O,j)}let S=l.fn({...e,[E]:y,[g]:O});return{...S,data:{x:S.x-r,y:S.y-n}}}}},Pl=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:n,platform:i,elements:o}=e,{apply:a=()=>{},...l}=kr(t,e),s=await Ln(e,l),u=qt(r),p=or(r),g=kn(r)==="y",{width:E,height:y}=n.floating,O,S;u==="top"||u==="bottom"?(O=u,S=p===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(S=u,O=p==="end"?"top":"bottom");let D=y-s[O],N=E-s[S],C=!e.middlewareData.shift,j=D,b=N;if(g){let k=E-s.left-s.right;b=p||C?ar(N,k):k}else{let k=y-s.top-s.bottom;j=p||C?ar(D,k):k}if(C&&!p){let k=At(s.left,0),$=At(s.right,0),ee=At(s.top,0),H=At(s.bottom,0);g?b=E-2*(k!==0||$!==0?k+$:At(s.left,s.right)):j=y-2*(ee!==0||H!==0?ee+H:At(s.top,s.bottom))}await a({...e,availableWidth:b,availableHeight:j});let U=await i.getDimensions(o.floating);return E!==U.width||y!==U.height?{reset:{rects:!0}}:{}}}};function en(t){return ga(t)?(t.nodeName||"").toLowerCase():"#document"}function Vt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ir(t){var e;return(e=(ga(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ga(t){return t instanceof Node||t instanceof Vt(t).Node}function Rr(t){return t instanceof Element||t instanceof Vt(t).Element}function Er(t){return t instanceof HTMLElement||t instanceof Vt(t).HTMLElement}function sa(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Vt(t).ShadowRoot}function Qn(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Yt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Ml(t){return["table","td","th"].includes(en(t))}function io(t){let e=oo(),r=Yt(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function _l(t){let e=Rn(t);for(;Er(e)&&!Oi(e);){if(io(e))return e;e=Rn(e)}return null}function oo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Oi(t){return["html","body","#document"].includes(en(t))}function Yt(t){return Vt(t).getComputedStyle(t)}function Ai(t){return Rr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Rn(t){if(en(t)==="html")return t;let e=t.assignedSlot||t.parentNode||sa(t)&&t.host||Ir(t);return sa(e)?e.host:e}function ba(t){let e=Rn(t);return Oi(e)?t.ownerDocument?t.ownerDocument.body:t.body:Er(e)&&Qn(e)?e:ba(e)}function Jn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ba(t),o=i===((n=t.ownerDocument)==null?void 0:n.body),a=Vt(i);return o?e.concat(a,a.visualViewport||[],Qn(i)?i:[],a.frameElement&&r?Jn(a.frameElement):[]):e.concat(i,Jn(i,[],r))}function ya(t){let e=Yt(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Er(t),o=i?t.offsetWidth:r,a=i?t.offsetHeight:n,l=wi(r)!==o||wi(n)!==a;return l&&(r=o,n=a),{width:r,height:n,$:l}}function ao(t){return Rr(t)?t:t.contextElement}function Mn(t){let e=ao(t);if(!Er(e))return Zr(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:o}=ya(e),a=(o?wi(r.width):r.width)/n,l=(o?wi(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}var Ll=Zr(0);function wa(t){let e=Vt(t);return!oo()||!e.visualViewport?Ll:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Rl(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Vt(t)?!1:e}function dn(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),o=ao(t),a=Zr(1);e&&(n?Rr(n)&&(a=Mn(n)):a=Mn(t));let l=Rl(o,r,n)?wa(o):Zr(0),s=(i.left+l.x)/a.x,u=(i.top+l.y)/a.y,p=i.width/a.x,g=i.height/a.y;if(o){let E=Vt(o),y=n&&Rr(n)?Vt(n):n,O=E,S=O.frameElement;for(;S&&n&&y!==O;){let D=Mn(S),N=S.getBoundingClientRect(),C=Yt(S),j=N.left+(S.clientLeft+parseFloat(C.paddingLeft))*D.x,b=N.top+(S.clientTop+parseFloat(C.paddingTop))*D.y;s*=D.x,u*=D.y,p*=D.x,g*=D.y,s+=j,u+=b,O=Vt(S),S=O.frameElement}}return _n({width:p,height:g,x:s,y:u})}var kl=[":popover-open",":modal"];function xa(t){return kl.some(e=>{try{return t.matches(e)}catch{return!1}})}function Il(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,o=i==="fixed",a=Ir(n),l=e?xa(e.floating):!1;if(n===a||l&&o)return r;let s={scrollLeft:0,scrollTop:0},u=Zr(1),p=Zr(0),g=Er(n);if((g||!g&&!o)&&((en(n)!=="body"||Qn(a))&&(s=Ai(n)),Er(n))){let E=dn(n);u=Mn(n),p.x=E.x+n.clientLeft,p.y=E.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-s.scrollLeft*u.x+p.x,y:r.y*u.y-s.scrollTop*u.y+p.y}}function Fl(t){return Array.from(t.getClientRects())}function Ea(t){return dn(Ir(t)).left+Ai(t).scrollLeft}function Nl(t){let e=Ir(t),r=Ai(t),n=t.ownerDocument.body,i=At(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=At(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-r.scrollLeft+Ea(t),l=-r.scrollTop;return Yt(n).direction==="rtl"&&(a+=At(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:a,y:l}}function jl(t,e){let r=Vt(t),n=Ir(t),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;let u=oo();(!u||u&&e==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l,y:s}}function Bl(t,e){let r=dn(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,o=Er(t)?Mn(t):Zr(1),a=t.clientWidth*o.x,l=t.clientHeight*o.y,s=i*o.x,u=n*o.y;return{width:a,height:l,x:s,y:u}}function la(t,e,r){let n;if(e==="viewport")n=jl(t,r);else if(e==="document")n=Nl(Ir(t));else if(Rr(e))n=Bl(e,r);else{let i=wa(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return _n(n)}function Oa(t,e){let r=Rn(t);return r===e||!Rr(r)||Oi(r)?!1:Yt(r).position==="fixed"||Oa(r,e)}function $l(t,e){let r=e.get(t);if(r)return r;let n=Jn(t,[],!1).filter(l=>Rr(l)&&en(l)!=="body"),i=null,o=Yt(t).position==="fixed",a=o?Rn(t):t;for(;Rr(a)&&!Oi(a);){let l=Yt(a),s=io(a);!s&&l.position==="fixed"&&(i=null),(o?!s&&!i:!s&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Qn(a)&&!s&&Oa(t,a))?n=n.filter(p=>p!==a):i=l,a=Rn(a)}return e.set(t,n),n}function Hl(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,a=[...r==="clippingAncestors"?$l(e,this._c):[].concat(r),n],l=a[0],s=a.reduce((u,p)=>{let g=la(e,p,i);return u.top=At(g.top,u.top),u.right=ar(g.right,u.right),u.bottom=ar(g.bottom,u.bottom),u.left=At(g.left,u.left),u},la(e,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Vl(t){let{width:e,height:r}=ya(t);return{width:e,height:r}}function Wl(t,e,r){let n=Er(e),i=Ir(e),o=r==="fixed",a=dn(t,!0,o,e),l={scrollLeft:0,scrollTop:0},s=Zr(0);if(n||!n&&!o)if((en(e)!=="body"||Qn(i))&&(l=Ai(e)),n){let g=dn(e,!0,o,e);s.x=g.x+e.clientLeft,s.y=g.y+e.clientTop}else i&&(s.x=Ea(i));let u=a.left+l.scrollLeft-s.x,p=a.top+l.scrollTop-s.y;return{x:u,y:p,width:a.width,height:a.height}}function ua(t,e){return!Er(t)||Yt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Aa(t,e){let r=Vt(t);if(!Er(t)||xa(t))return r;let n=ua(t,e);for(;n&&Ml(n)&&Yt(n).position==="static";)n=ua(n,e);return n&&(en(n)==="html"||en(n)==="body"&&Yt(n).position==="static"&&!io(n))?r:n||_l(t)||r}var Ul=async function(t){let e=this.getOffsetParent||Aa,r=this.getDimensions;return{reference:Wl(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await r(t.floating)}}};function zl(t){return Yt(t).direction==="rtl"}var ql={convertOffsetParentRelativeRectToViewportRelativeRect:Il,getDocumentElement:Ir,getClippingRect:Hl,getOffsetParent:Aa,getElementRects:Ul,getClientRects:Fl,getDimensions:Vl,getScale:Mn,isElement:Rr,isRTL:zl};function Yl(t,e){let r=null,n,i=Ir(t);function o(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function a(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),o();let{left:u,top:p,width:g,height:E}=t.getBoundingClientRect();if(l||e(),!g||!E)return;let y=yi(p),O=yi(i.clientWidth-(u+g)),S=yi(i.clientHeight-(p+E)),D=yi(u),C={rootMargin:-y+"px "+-O+"px "+-S+"px "+-D+"px",threshold:At(0,ar(1,s))||1},j=!0;function b(U){let k=U[0].intersectionRatio;if(k!==s){if(!j)return a();k?a(!1,k):n=setTimeout(()=>{a(!1,1e-7)},100)}j=!1}try{r=new IntersectionObserver(b,{...C,root:i.ownerDocument})}catch{r=new IntersectionObserver(b,C)}r.observe(t)}return a(!0),o}function ca(t,e,r,n){n===void 0&&(n={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=n,u=ao(t),p=i||o?[...u?Jn(u):[],...Jn(e)]:[];p.forEach(N=>{i&&N.addEventListener("scroll",r,{passive:!0}),o&&N.addEventListener("resize",r)});let g=u&&l?Yl(u,r):null,E=-1,y=null;a&&(y=new ResizeObserver(N=>{let[C]=N;C&&C.target===u&&y&&(y.unobserve(e),cancelAnimationFrame(E),E=requestAnimationFrame(()=>{var j;(j=y)==null||j.observe(e)})),r()}),u&&!s&&y.observe(u),y.observe(e));let O,S=s?dn(t):null;s&&D();function D(){let N=dn(t);S&&(N.x!==S.x||N.y!==S.y||N.width!==S.width||N.height!==S.height)&&r(),S=N,O=requestAnimationFrame(D)}return r(),()=>{var N;p.forEach(C=>{i&&C.removeEventListener("scroll",r),o&&C.removeEventListener("resize",r)}),g?.(),(N=y)==null||N.disconnect(),y=null,s&&cancelAnimationFrame(O)}}var so=El,Sa=Dl,Ca=Ol,Ta=Pl,Da=Al,Pa=wl,Ma=Cl,fa=(t,e,r)=>{let n=new Map,i={platform:ql,...r},o={...i.platform,_c:n};return yl(t,e,{...i,platform:o})},Xl=t=>{let e={placement:"bottom",strategy:"absolute",middleware:[]},r=Object.keys(t),n=i=>t[i];return r.includes("offset")&&e.middleware.push(va(n("offset"))),r.includes("teleport")&&(e.strategy="fixed"),r.includes("placement")&&(e.placement=n("placement")),r.some(i=>/^auto-?placement$/i.test(i))&&!r.includes("flip")&&e.middleware.push(so(n("autoPlacement"))),r.includes("flip")&&e.middleware.push(Ca(n("flip"))),r.includes("shift")&&e.middleware.push(Sa(n("shift"))),r.includes("inline")&&e.middleware.push(Ma(n("inline"))),r.includes("arrow")&&e.middleware.push(Pa(n("arrow"))),r.includes("hide")&&e.middleware.push(Da(n("hide"))),r.includes("size")&&e.middleware.push(Ta(n("size"))),e},Kl=(t,e)=>{let r={component:{trap:!1},float:{placement:"bottom",strategy:"absolute",middleware:[]}},n=i=>t[t.indexOf(i)+1];if(t.includes("trap")&&(r.component.trap=!0),t.includes("teleport")&&(r.float.strategy="fixed"),t.includes("offset")&&r.float.middleware.push(va(e.offset||10)),t.includes("placement")&&(r.float.placement=n("placement")),t.some(i=>/^auto-?placement$/i.test(i))&&!t.includes("flip")&&r.float.middleware.push(so(e.autoPlacement)),t.includes("flip")&&r.float.middleware.push(Ca(e.flip)),t.includes("shift")&&r.float.middleware.push(Sa(e.shift)),t.includes("inline")&&r.float.middleware.push(Ma(e.inline)),t.includes("arrow")&&r.float.middleware.push(Pa(e.arrow)),t.includes("hide")&&r.float.middleware.push(Da(e.hide)),t.includes("size")){let i=e.size?.availableWidth??null,o=e.size?.availableHeight??null;i&&delete e.size.availableWidth,o&&delete e.size.availableHeight,r.float.middleware.push(Ta({...e.size,apply({availableWidth:a,availableHeight:l,elements:s}){Object.assign(s.floating.style,{maxWidth:`${i??a}px`,maxHeight:`${o??l}px`})}}))}return r},Gl=t=>{var e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".split(""),r="";t||(t=Math.floor(Math.random()*e.length));for(var n=0;n<t;n++)r+=e[Math.floor(Math.random()*e.length)];return r};function Jl(t,e=()=>{}){let r=!1;return function(){r?e.apply(this,arguments):(r=!0,t.apply(this,arguments))}}function Ql(t){let e={dismissable:!0,trap:!1};function r(n,i=null){if(n){if(n.hasAttribute("aria-expanded")||n.setAttribute("aria-expanded",!1),i.hasAttribute("id"))n.setAttribute("aria-controls",i.getAttribute("id"));else{let o=`panel-${Gl(8)}`;n.setAttribute("aria-controls",o),i.setAttribute("id",o)}i.setAttribute("aria-modal",!0),i.setAttribute("role","dialog")}}t.magic("float",n=>(i={},o={})=>{let a={...e,...o},l=Object.keys(i).length>0?Xl(i):{middleware:[so()]},s=n,u=n.parentElement.closest("[x-data]"),p=u.querySelector('[x-ref="panel"]');r(s,p);function g(){return p.style.display=="block"}function E(){p.style.display="none",s.setAttribute("aria-expanded","false"),a.trap&&p.setAttribute("x-trap","false"),ca(n,p,S)}function y(){p.style.display="block",s.setAttribute("aria-expanded","true"),a.trap&&p.setAttribute("x-trap","true"),S()}function O(){g()?E():y()}async function S(){return await fa(n,p,l).then(({middlewareData:D,placement:N,x:C,y:j})=>{if(D.arrow){let b=D.arrow?.x,U=D.arrow?.y,k=l.middleware.filter(ee=>ee.name=="arrow")[0].options.element,$={top:"bottom",right:"left",bottom:"top",left:"right"}[N.split("-")[0]];Object.assign(k.style,{left:b!=null?`${b}px`:"",top:U!=null?`${U}px`:"",right:"",bottom:"",[$]:"-4px"})}if(D.hide){let{referenceHidden:b}=D.hide;Object.assign(p.style,{visibility:b?"hidden":"visible"})}Object.assign(p.style,{left:`${C}px`,top:`${j}px`})})}a.dismissable&&(window.addEventListener("click",D=>{!u.contains(D.target)&&g()&&O()}),window.addEventListener("keydown",D=>{D.key==="Escape"&&g()&&O()},!0)),O()}),t.directive("float",(n,{modifiers:i,expression:o},{evaluate:a,effect:l})=>{let s=o?a(o):{},u=i.length>0?Kl(i,s):{},p=null;u.float.strategy=="fixed"&&(n.style.position="fixed");let g=$=>n.parentElement&&!n.parentElement.closest("[x-data]").contains($.target)?n.close():null,E=$=>$.key==="Escape"?n.close():null,y=n.getAttribute("x-ref"),O=n.parentElement.closest("[x-data]"),S=O.querySelectorAll(`[\\@click^="$refs.${y}"]`),D=O.querySelectorAll(`[x-on\\:click^="$refs.${y}"]`);n.style.setProperty("display","none"),r([...S,...D][0],n),n._x_isShown=!1,n.trigger=null,n._x_doHide||(n._x_doHide=()=>{n.style.setProperty("display","none",i.includes("important")?"important":void 0)}),n._x_doShow||(n._x_doShow=()=>{n.style.setProperty("display","block",i.includes("important")?"important":void 0)});let N=()=>{n._x_doHide(),n._x_isShown=!1},C=()=>{n._x_doShow(),n._x_isShown=!0},j=()=>setTimeout(C),b=Jl($=>$?C():N(),$=>{typeof n._x_toggleAndCascadeWithTransitions=="function"?n._x_toggleAndCascadeWithTransitions(n,$,C,N):$?j():N()}),U,k=!0;l(()=>a($=>{!k&&$===U||(i.includes("immediate")&&($?j():N()),b($),U=$,k=!1)})),n.open=async function($){n.trigger=$.currentTarget?$.currentTarget:$,b(!0),n.trigger.setAttribute("aria-expanded","true"),u.component.trap&&n.setAttribute("x-trap","true"),p=ca(n.trigger,n,()=>{fa(n.trigger,n,u.float).then(({middlewareData:ee,placement:H,x:X,y:ie})=>{if(ee.arrow){let c=ee.arrow?.x,d=ee.arrow?.y,v=u.float.middleware.filter(B=>B.name=="arrow")[0].options.element,m={top:"bottom",right:"left",bottom:"top",left:"right"}[H.split("-")[0]];Object.assign(v.style,{left:c!=null?`${c}px`:"",top:d!=null?`${d}px`:"",right:"",bottom:"",[m]:"-4px"})}if(ee.hide){let{referenceHidden:c}=ee.hide;Object.assign(n.style,{visibility:c?"hidden":"visible"})}Object.assign(n.style,{left:`${X}px`,top:`${ie}px`})})}),window.addEventListener("click",g),window.addEventListener("keydown",E,!0)},n.close=function(){if(!n._x_isShown)return!1;b(!1),n.trigger.setAttribute("aria-expanded","false"),u.component.trap&&n.setAttribute("x-trap","false"),p(),window.removeEventListener("click",g),window.removeEventListener("keydown",E,!1)},n.toggle=function($){n._x_isShown?n.close():n.open($)}})}var _a=Ql;function Zl(t){t.store("lazyLoadedAssets",{loaded:new Set,check(a){return Array.isArray(a)?a.every(l=>this.loaded.has(l)):this.loaded.has(a)},markLoaded(a){Array.isArray(a)?a.forEach(l=>this.loaded.add(l)):this.loaded.add(a)}});let e=a=>new CustomEvent(a,{bubbles:!0,composed:!0,cancelable:!0}),r=(a,l={},s,u)=>{let p=document.createElement(a);return Object.entries(l).forEach(([g,E])=>p[g]=E),s&&(u?s.insertBefore(p,u):s.appendChild(p)),p},n=(a,l,s={},u=null,p=null)=>{let g=a==="link"?`link[href="${l}"]`:`script[src="${l}"]`;if(document.querySelector(g)||t.store("lazyLoadedAssets").check(l))return Promise.resolve();let E=a==="link"?{...s,href:l}:{...s,src:l},y=r(a,E,u,p);return new Promise((O,S)=>{y.onload=()=>{t.store("lazyLoadedAssets").markLoaded(l),O()},y.onerror=()=>{S(new Error(`Failed to load ${a}: ${l}`))}})},i=async(a,l,s=null,u=null)=>{let p={type:"text/css",rel:"stylesheet"};l&&(p.media=l);let g=document.head,E=null;if(s&&u){let y=document.querySelector(`link[href*="${u}"]`);y?(g=y.parentElement,E=s==="before"?y:y.nextSibling):(console.warn(`Target (${u}) not found for ${a}. Appending to head.`),g=document.head,E=null)}await n("link",a,p,g,E)},o=async(a,l,s=null,u=null,p=null)=>{let g=document.head,E=null;if(s&&u){let O=document.querySelector(`script[src*="${u}"]`);O?(g=O.parentElement,E=s==="before"?O:O.nextSibling):(console.warn(`Target (${u}) not found for ${a}. Falling back to head or body.`),g=document.head,E=null)}else(l.has("body-start")||l.has("body-end"))&&(g=document.body,l.has("body-start")&&(E=document.body.firstChild));let y={};p&&(y.type="module"),await n("script",a,y,g,E)};t.directive("load-css",(a,{expression:l},{evaluate:s})=>{let u=s(l),p=a.media,g=a.getAttribute("data-dispatch"),E=a.getAttribute("data-css-before")?"before":a.getAttribute("data-css-after")?"after":null,y=a.getAttribute("data-css-before")||a.getAttribute("data-css-after")||null;Promise.all(u.map(O=>i(O,p,E,y))).then(()=>{g&&window.dispatchEvent(e(`${g}-css`))}).catch(console.error)}),t.directive("load-js",(a,{expression:l,modifiers:s},{evaluate:u})=>{let p=u(l),g=new Set(s),E=a.getAttribute("data-js-before")?"before":a.getAttribute("data-js-after")?"after":null,y=a.getAttribute("data-js-before")||a.getAttribute("data-js-after")||null,O=a.getAttribute("data-js-as-module")||a.getAttribute("data-as-module")||!1,S=a.getAttribute("data-dispatch");Promise.all(p.map(D=>o(D,g,E,y,O))).then(()=>{S&&window.dispatchEvent(e(`${S}-js`))}).catch(console.error)})}var La=Zl;function eu(){return!0}function tu({component:t,argument:e}){return new Promise(r=>{if(e)window.addEventListener(e,()=>r(),{once:!0});else{let n=i=>{i.detail.id===t.id&&(window.removeEventListener("async-alpine:load",n),r())};window.addEventListener("async-alpine:load",n)}})}function ru(){return new Promise(t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,200)})}function nu({argument:t}){return new Promise(e=>{if(!t)return console.log("Async Alpine: media strategy requires a media query. Treating as 'eager'"),e();let r=window.matchMedia(`(${t})`);r.matches?e():r.addEventListener("change",e,{once:!0})})}function iu({component:t,argument:e}){return new Promise(r=>{let n=e||"0px 0px 0px 0px",i=new IntersectionObserver(o=>{o[0].isIntersecting&&(i.disconnect(),r())},{rootMargin:n});i.observe(t.el)})}var Ra={eager:eu,event:tu,idle:ru,media:nu,visible:iu};async function ou(t){let e=au(t.strategy);await lo(t,e)}async function lo(t,e){if(e.type==="expression"){if(e.operator==="&&")return Promise.all(e.parameters.map(r=>lo(t,r)));if(e.operator==="||")return Promise.any(e.parameters.map(r=>lo(t,r)))}return Ra[e.method]?Ra[e.method]({component:t,argument:e.argument}):!1}function au(t){let e=su(t),r=Ia(e);return r.type==="method"?{type:"expression",operator:"&&",parameters:[r]}:r}function su(t){let e=/\s*([()])\s*|\s*(\|\||&&|\|)\s*|\s*((?:[^()&|]+\([^()]+\))|[^()&|]+)\s*/g,r=[],n;for(;(n=e.exec(t))!==null;){let[i,o,a,l]=n;if(o!==void 0)r.push({type:"parenthesis",value:o});else if(a!==void 0)r.push({type:"operator",value:a==="|"?"&&":a});else{let s={type:"method",method:l.trim()};l.includes("(")&&(s.method=l.substring(0,l.indexOf("(")).trim(),s.argument=l.substring(l.indexOf("(")+1,l.indexOf(")"))),l.method==="immediate"&&(l.method="eager"),r.push(s)}}return r}function Ia(t){let e=ka(t);for(;t.length>0&&(t[0].value==="&&"||t[0].value==="|"||t[0].value==="||");){let r=t.shift().value,n=ka(t);e.type==="expression"&&e.operator===r?e.parameters.push(n):e={type:"expression",operator:r,parameters:[e,n]}}return e}function ka(t){if(t[0].value==="("){t.shift();let e=Ia(t);return t[0].value===")"&&t.shift(),e}else return t.shift()}function Fa(t){let e="load",r=t.prefixed("load-src"),n=t.prefixed("ignore"),i={defaultStrategy:"eager",keepRelativeURLs:!1},o=!1,a={},l=0;function s(){return l++}t.asyncOptions=C=>{i={...i,...C}},t.asyncData=(C,j=!1)=>{a[C]={loaded:!1,download:j}},t.asyncUrl=(C,j)=>{!C||!j||a[C]||(a[C]={loaded:!1,download:()=>import(N(j))})},t.asyncAlias=C=>{o=C};let u=C=>{t.skipDuringClone(()=>{C._x_async||(C._x_async="init",C._x_ignore=!0,C.setAttribute(n,""))})()},p=async C=>{t.skipDuringClone(async()=>{if(C._x_async!=="init")return;C._x_async="await";let{name:j,strategy:b}=g(C);await ou({name:j,strategy:b,el:C,id:C.id||s()}),C.isConnected&&(await E(j),C.isConnected&&(O(C),C._x_async="loaded"))})()};p.inline=u,t.directive(e,p).before("ignore");function g(C){let j=D(C.getAttribute(t.prefixed("data"))),b=C.getAttribute(t.prefixed(e))||i.defaultStrategy,U=C.getAttribute(r);return U&&t.asyncUrl(j,U),{name:j,strategy:b}}async function E(C){if(C.startsWith("_x_async_")||(S(C),!a[C]||a[C].loaded))return;let j=await y(C);t.data(C,j),a[C].loaded=!0}async function y(C){if(!a[C])return;let j=await a[C].download(C);return typeof j=="function"?j:j[C]||j.default||Object.values(j)[0]||!1}function O(C){t.destroyTree(C),C._x_ignore=!1,C.removeAttribute(n),!C.closest(`[${n}]`)&&t.initTree(C)}function S(C){if(!(!o||a[C])){if(typeof o=="function"){t.asyncData(C,o);return}t.asyncUrl(C,o.replaceAll("[name]",C))}}function D(C){return(C||"").trim().split(/[({]/g)[0]||`_x_async_${s()}`}function N(C){return i.keepRelativeURLs||new RegExp("^(?:[a-z+]+:)?//","i").test(C)?C:new URL(C,document.baseURI).href}}var ol=pl(Ba(),1);function lu(t,e,r){return(e=pu(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Nr(){return Nr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Nr.apply(null,arguments)}function $a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ar(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$a(Object(r),!0).forEach(function(n){lu(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$a(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function uu(t,e){if(t==null)return{};var r,n,i=cu(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function cu(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.indexOf(n)!==-1)continue;r[n]=t[n]}return r}function fu(t,e){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function pu(t){var e=fu(t,"string");return typeof e=="symbol"?e:e+""}function yo(t){"@babel/helpers - typeof";return yo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yo(t)}var du="1.15.7";function Fr(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var jr=Fr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),si=Fr(/Edge/i),Ha=Fr(/firefox/i),ri=Fr(/safari/i)&&!Fr(/chrome/i)&&!Fr(/android/i),Ao=Fr(/iP(ad|od|hone)/i),Ka=Fr(/chrome/i)&&Fr(/android/i),Ga={capture:!1,passive:!1};function Te(t,e,r){t.addEventListener(e,r,!jr&&Ga)}function Ce(t,e,r){t.removeEventListener(e,r,!jr&&Ga)}function ki(t,e){if(e){if(e[0]===">"&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function Ja(t){return t.host&&t!==document&&t.host.nodeType&&t.host!==t?t.host:t.parentNode}function lr(t,e,r,n){if(t){r=r||document;do{if(e!=null&&(e[0]===">"?t.parentNode===r&&ki(t,e):ki(t,e))||n&&t===r)return t;if(t===r)break}while(t=Ja(t))}return null}var Va=/\s+/g;function Wt(t,e,r){if(t&&e)if(t.classList)t.classList[r?"add":"remove"](e);else{var n=(" "+t.className+" ").replace(Va," ").replace(" "+e+" "," ");t.className=(n+(r?" "+e:"")).replace(Va," ")}}function fe(t,e,r){var n=t&&t.style;if(n){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(r=t.currentStyle),e===void 0?r:r[e];!(e in n)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),n[e]=r+(typeof r=="string"?"":"px")}}function Bn(t,e){var r="";if(typeof t=="string")r=t;else do{var n=fe(t,"transform");n&&n!=="none"&&(r=n+" "+r)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(r)}function Qa(t,e,r){if(t){var n=t.getElementsByTagName(e),i=0,o=n.length;if(r)for(;i<o;i++)r(n[i],i);return n}return[]}function Or(){var t=document.scrollingElement;return t||document.documentElement}function ot(t,e,r,n,i){if(!(!t.getBoundingClientRect&&t!==window)){var o,a,l,s,u,p,g;if(t!==window&&t.parentNode&&t!==Or()?(o=t.getBoundingClientRect(),a=o.top,l=o.left,s=o.bottom,u=o.right,p=o.height,g=o.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,p=window.innerHeight,g=window.innerWidth),(e||r)&&t!==window&&(i=i||t.parentNode,!jr))do if(i&&i.getBoundingClientRect&&(fe(i,"transform")!=="none"||r&&fe(i,"position")!=="static")){var E=i.getBoundingClientRect();a-=E.top+parseInt(fe(i,"border-top-width")),l-=E.left+parseInt(fe(i,"border-left-width")),s=a+o.height,u=l+o.width;break}while(i=i.parentNode);if(n&&t!==window){var y=Bn(i||t),O=y&&y.a,S=y&&y.d;y&&(a/=S,l/=O,g/=O,p/=S,s=a+p,u=l+g)}return{top:a,left:l,bottom:s,right:u,width:g,height:p}}}function Wa(t,e,r){for(var n=nn(t,!0),i=ot(t)[e];n;){var o=ot(n)[r],a=void 0;if(r==="top"||r==="left"?a=i>=o:a=i<=o,!a)return n;if(n===Or())break;n=nn(n,!1)}return!1}function $n(t,e,r,n){for(var i=0,o=0,a=t.children;o<a.length;){if(a[o].style.display!=="none"&&a[o]!==pe.ghost&&(n||a[o]!==pe.dragged)&&lr(a[o],r.draggable,t,!1)){if(i===e)return a[o];i++}o++}return null}function So(t,e){for(var r=t.lastElementChild;r&&(r===pe.ghost||fe(r,"display")==="none"||e&&!ki(r,e));)r=r.previousElementSibling;return r||null}function Xt(t,e){var r=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==pe.clone&&(!e||ki(t,e))&&r++;return r}function Ua(t){var e=0,r=0,n=Or();if(t)do{var i=Bn(t),o=i.a,a=i.d;e+=t.scrollLeft*o,r+=t.scrollTop*a}while(t!==n&&(t=t.parentNode));return[e,r]}function hu(t,e){for(var r in t)if(t.hasOwnProperty(r)){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t[r][n])return Number(r)}return-1}function nn(t,e){if(!t||!t.getBoundingClientRect)return Or();var r=t,n=!1;do if(r.clientWidth<r.scrollWidth||r.clientHeight<r.scrollHeight){var i=fe(r);if(r.clientWidth<r.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||r.clientHeight<r.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!r.getBoundingClientRect||r===document.body)return Or();if(n||e)return r;n=!0}}while(r=r.parentNode);return Or()}function mu(t,e){if(t&&e)for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function uo(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}var ni;function Za(t,e){return function(){if(!ni){var r=arguments,n=this;r.length===1?t.call(n,r[0]):t.apply(n,r),ni=setTimeout(function(){ni=void 0},e)}}}function vu(){clearTimeout(ni),ni=void 0}function es(t,e,r){t.scrollLeft+=e,t.scrollTop+=r}function ts(t){var e=window.Polymer,r=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):r?r(t).clone(!0)[0]:t.cloneNode(!0)}function rs(t,e,r){var n={};return Array.from(t.children).forEach(function(i){var o,a,l,s;if(!(!lr(i,e.draggable,t,!1)||i.animated||i===r)){var u=ot(i);n.left=Math.min((o=n.left)!==null&&o!==void 0?o:1/0,u.left),n.top=Math.min((a=n.top)!==null&&a!==void 0?a:1/0,u.top),n.right=Math.max((l=n.right)!==null&&l!==void 0?l:-1/0,u.right),n.bottom=Math.max((s=n.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}var It="Sortable"+new Date().getTime();function gu(){var t=[],e;return{captureAnimationState:function(){if(t=[],!!this.options.animation){var n=[].slice.call(this.el.children);n.forEach(function(i){if(!(fe(i,"display")==="none"||i===pe.ghost)){t.push({target:i,rect:ot(i)});var o=Ar({},t[t.length-1].rect);if(i.thisAnimationDuration){var a=Bn(i,!0);a&&(o.top-=a.f,o.left-=a.e)}i.fromRect=o}})}},addAnimationState:function(n){t.push(n)},removeAnimationState:function(n){t.splice(hu(t,{target:n}),1)},animateAll:function(n){var i=this;if(!this.options.animation){clearTimeout(e),typeof n=="function"&&n();return}var o=!1,a=0;t.forEach(function(l){var s=0,u=l.target,p=u.fromRect,g=ot(u),E=u.prevFromRect,y=u.prevToRect,O=l.rect,S=Bn(u,!0);S&&(g.top-=S.f,g.left-=S.e),u.toRect=g,u.thisAnimationDuration&&uo(E,g)&&!uo(p,g)&&(O.top-g.top)/(O.left-g.left)===(p.top-g.top)/(p.left-g.left)&&(s=yu(O,E,y,i.options)),uo(g,p)||(u.prevFromRect=p,u.prevToRect=g,s||(s=i.options.animation),i.animate(u,O,g,s)),s&&(o=!0,a=Math.max(a,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(e),o?e=setTimeout(function(){typeof n=="function"&&n()},a):typeof n=="function"&&n(),t=[]},animate:function(n,i,o,a){if(a){fe(n,"transition",""),fe(n,"transform","");var l=Bn(this.el),s=l&&l.a,u=l&&l.d,p=(i.left-o.left)/(s||1),g=(i.top-o.top)/(u||1);n.animatingX=!!p,n.animatingY=!!g,fe(n,"transform","translate3d("+p+"px,"+g+"px,0)"),this.forRepaintDummy=bu(n),fe(n,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),fe(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){fe(n,"transition",""),fe(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},a)}}}}function bu(t){return t.offsetWidth}function yu(t,e,r,n){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-r.top,2)+Math.pow(e.left-r.left,2))*n.animation}var In=[],co={initializeByDefault:!0},li={mount:function(e){for(var r in co)co.hasOwnProperty(r)&&!(r in e)&&(e[r]=co[r]);In.forEach(function(n){if(n.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),In.push(e)},pluginEvent:function(e,r,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var o=e+"Global";In.forEach(function(a){r[a.pluginName]&&(r[a.pluginName][o]&&r[a.pluginName][o](Ar({sortable:r},n)),r.options[a.pluginName]&&r[a.pluginName][e]&&r[a.pluginName][e](Ar({sortable:r},n)))})},initializePlugins:function(e,r,n,i){In.forEach(function(l){var s=l.pluginName;if(!(!e.options[s]&&!l.initializeByDefault)){var u=new l(e,r,e.options);u.sortable=e,u.options=e.options,e[s]=u,Nr(n,u.defaults)}});for(var o in e.options)if(e.options.hasOwnProperty(o)){var a=this.modifyOption(e,o,e.options[o]);typeof a<"u"&&(e.options[o]=a)}},getEventProperties:function(e,r){var n={};return In.forEach(function(i){typeof i.eventProperties=="function"&&Nr(n,i.eventProperties.call(r[i.pluginName],e))}),n},modifyOption:function(e,r,n){var i;return In.forEach(function(o){e[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[r]=="function"&&(i=o.optionListeners[r].call(e[o.pluginName],n))}),i}};function wu(t){var e=t.sortable,r=t.rootEl,n=t.name,i=t.targetEl,o=t.cloneEl,a=t.toEl,l=t.fromEl,s=t.oldIndex,u=t.newIndex,p=t.oldDraggableIndex,g=t.newDraggableIndex,E=t.originalEvent,y=t.putSortable,O=t.extraEventProperties;if(e=e||r&&r[It],!!e){var S,D=e.options,N="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!jr&&!si?S=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(S=document.createEvent("Event"),S.initEvent(n,!0,!0)),S.to=a||r,S.from=l||r,S.item=i||r,S.clone=o,S.oldIndex=s,S.newIndex=u,S.oldDraggableIndex=p,S.newDraggableIndex=g,S.originalEvent=E,S.pullMode=y?y.lastPutMode:void 0;var C=Ar(Ar({},O),li.getEventProperties(n,e));for(var j in C)S[j]=C[j];r&&r.dispatchEvent(S),D[N]&&D[N].call(e,S)}}var xu=["evt"],kt=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.evt,o=uu(n,xu);li.pluginEvent.bind(pe)(e,r,Ar({dragEl:z,parentEl:et,ghostEl:ve,rootEl:ze,nextEl:vn,lastDownEl:Mi,cloneEl:Je,cloneHidden:rn,dragStarted:Zn,putSortable:wt,activeSortable:pe.active,originalEvent:i,oldIndex:jn,oldDraggableIndex:ii,newIndex:Ut,newDraggableIndex:tn,hideGhostForTarget:as,unhideGhostForTarget:ss,cloneNowHidden:function(){rn=!0},cloneNowShown:function(){rn=!1},dispatchSortableEvent:function(l){_t({sortable:r,name:l,originalEvent:i})}},o))};function _t(t){wu(Ar({putSortable:wt,cloneEl:Je,targetEl:z,rootEl:ze,oldIndex:jn,oldDraggableIndex:ii,newIndex:Ut,newDraggableIndex:tn},t))}var z,et,ve,ze,vn,Mi,Je,rn,jn,Ut,ii,tn,Ci,wt,Nn=!1,Ii=!1,Fi=[],hn,sr,fo,po,za,qa,Zn,Fn,oi,ai=!1,Ti=!1,_i,St,ho=[],wo=!1,Ni=[],Bi=typeof document<"u",Di=Ao,Ya=si||jr?"cssFloat":"float",Eu=Bi&&!Ka&&!Ao&&"draggable"in document.createElement("div"),ns=(function(){if(Bi){if(jr)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}})(),is=function(e,r){var n=fe(e),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=$n(e,0,r),a=$n(e,1,r),l=o&&fe(o),s=a&&fe(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+ot(o).width,p=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+ot(a).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&l.float&&l.float!=="none"){var g=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===g)?"vertical":"horizontal"}return o&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=i&&n[Ya]==="none"||a&&n[Ya]==="none"&&u+p>i)?"vertical":"horizontal"},Ou=function(e,r,n){var i=n?e.left:e.top,o=n?e.right:e.bottom,a=n?e.width:e.height,l=n?r.left:r.top,s=n?r.right:r.bottom,u=n?r.width:r.height;return i===l||o===s||i+a/2===l+u/2},Au=function(e,r){var n;return Fi.some(function(i){var o=i[It].options.emptyInsertThreshold;if(!(!o||So(i))){var a=ot(i),l=e>=a.left-o&&e<=a.right+o,s=r>=a.top-o&&r<=a.bottom+o;if(l&&s)return n=i}}),n},os=function(e){function r(o,a){return function(l,s,u,p){var g=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(o==null&&(a||g))return!0;if(o==null||o===!1)return!1;if(a&&o==="clone")return o;if(typeof o=="function")return r(o(l,s,u,p),a)(l,s,u,p);var E=(a?l:s).options.group.name;return o===!0||typeof o=="string"&&o===E||o.join&&o.indexOf(E)>-1}}var n={},i=e.group;(!i||yo(i)!="object")&&(i={name:i}),n.name=i.name,n.checkPull=r(i.pull,!0),n.checkPut=r(i.put),n.revertClone=i.revertClone,e.group=n},as=function(){!ns&&ve&&fe(ve,"display","none")},ss=function(){!ns&&ve&&fe(ve,"display","")};Bi&&!Ka&&document.addEventListener("click",function(t){if(Ii)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Ii=!1,!1},!0);var mn=function(e){if(z){e=e.touches?e.touches[0]:e;var r=Au(e.clientX,e.clientY);if(r){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.target=n.rootEl=r,n.preventDefault=void 0,n.stopPropagation=void 0,r[It]._onDragOver(n)}}},Su=function(e){z&&z.parentNode[It]._isOutsideThisEl(e.target)};function pe(t,e){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=Nr({},e),t[It]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return is(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:pe.supportPointer!==!1&&"PointerEvent"in window&&(!ri||Ao),emptyInsertThreshold:5};li.initializePlugins(this,t,r);for(var n in r)!(n in e)&&(e[n]=r[n]);os(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:Eu,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?Te(t,"pointerdown",this._onTapStart):(Te(t,"mousedown",this._onTapStart),Te(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(Te(t,"dragover",this),Te(t,"dragenter",this)),Fi.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Nr(this,gu())}pe.prototype={constructor:pe,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Fn=null)},_getDirection:function(e,r){return typeof this.options.direction=="function"?this.options.direction.call(this,e,r,z):this.options.direction},_onTapStart:function(e){if(e.cancelable){var r=this,n=this.el,i=this.options,o=i.preventOnFilter,a=e.type,l=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,s=(l||e).target,u=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,p=i.filter;if(Ru(n),!z&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&ri&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=lr(s,i.draggable,n,!1),!(s&&s.animated)&&Mi!==s)){if(jn=Xt(s),ii=Xt(s,i.draggable),typeof p=="function"){if(p.call(this,e,s,this)){_t({sortable:r,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),kt("filter",r,{evt:e}),o&&e.preventDefault();return}}else if(p&&(p=p.split(",").some(function(g){if(g=lr(u,g.trim(),n,!1),g)return _t({sortable:r,rootEl:g,name:"filter",targetEl:s,fromEl:n,toEl:n}),kt("filter",r,{evt:e}),!0}),p)){o&&e.preventDefault();return}i.handle&&!lr(u,i.handle,n,!1)||this._prepareDragStart(e,l,s)}}},_prepareDragStart:function(e,r,n){var i=this,o=i.el,a=i.options,l=o.ownerDocument,s;if(n&&!z&&n.parentNode===o){var u=ot(n);if(ze=o,z=n,et=z.parentNode,vn=z.nextSibling,Mi=n,Ci=a.group,pe.dragged=z,hn={target:z,clientX:(r||e).clientX,clientY:(r||e).clientY},za=hn.clientX-u.left,qa=hn.clientY-u.top,this._lastX=(r||e).clientX,this._lastY=(r||e).clientY,z.style["will-change"]="all",s=function(){if(kt("delayEnded",i,{evt:e}),pe.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Ha&&i.nativeDraggable&&(z.draggable=!0),i._triggerDragStart(e,r),_t({sortable:i,name:"choose",originalEvent:e}),Wt(z,a.chosenClass,!0)},a.ignore.split(",").forEach(function(p){Qa(z,p.trim(),mo)}),Te(l,"dragover",mn),Te(l,"mousemove",mn),Te(l,"touchmove",mn),a.supportPointer?(Te(l,"pointerup",i._onDrop),!this.nativeDraggable&&Te(l,"pointercancel",i._onDrop)):(Te(l,"mouseup",i._onDrop),Te(l,"touchend",i._onDrop),Te(l,"touchcancel",i._onDrop)),Ha&&this.nativeDraggable&&(this.options.touchStartThreshold=4,z.draggable=!0),kt("delayStart",this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||r)&&(!this.nativeDraggable||!(si||jr))){if(pe.eventCanceled){this._onDrop();return}a.supportPointer?(Te(l,"pointerup",i._disableDelayedDrag),Te(l,"pointercancel",i._disableDelayedDrag)):(Te(l,"mouseup",i._disableDelayedDrag),Te(l,"touchend",i._disableDelayedDrag),Te(l,"touchcancel",i._disableDelayedDrag)),Te(l,"mousemove",i._delayedDragTouchMoveHandler),Te(l,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&Te(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(e){var r=e.touches?e.touches[0]:e;Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){z&&mo(z),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Ce(e,"mouseup",this._disableDelayedDrag),Ce(e,"touchend",this._disableDelayedDrag),Ce(e,"touchcancel",this._disableDelayedDrag),Ce(e,"pointerup",this._disableDelayedDrag),Ce(e,"pointercancel",this._disableDelayedDrag),Ce(e,"mousemove",this._delayedDragTouchMoveHandler),Ce(e,"touchmove",this._delayedDragTouchMoveHandler),Ce(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,r){r=r||e.pointerType=="touch"&&e,!this.nativeDraggable||r?this.options.supportPointer?Te(document,"pointermove",this._onTouchMove):r?Te(document,"touchmove",this._onTouchMove):Te(document,"mousemove",this._onTouchMove):(Te(z,"dragend",this),Te(ze,"dragstart",this._onDragStart));try{document.selection?Li(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,r){if(Nn=!1,ze&&z){kt("dragStarted",this,{evt:r}),this.nativeDraggable&&Te(document,"dragover",Su);var n=this.options;!e&&Wt(z,n.dragClass,!1),Wt(z,n.ghostClass,!0),pe.active=this,e&&this._appendGhost(),_t({sortable:this,name:"start",originalEvent:r})}else this._nulling()},_emulateDragOver:function(){if(sr){this._lastX=sr.clientX,this._lastY=sr.clientY,as();for(var e=document.elementFromPoint(sr.clientX,sr.clientY),r=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(sr.clientX,sr.clientY),e!==r);)r=e;if(z.parentNode[It]._isOutsideThisEl(e),r)do{if(r[It]){var n=void 0;if(n=r[It]._onDragOver({clientX:sr.clientX,clientY:sr.clientY,target:e,rootEl:r}),n&&!this.options.dragoverBubble)break}e=r}while(r=Ja(r));ss()}},_onTouchMove:function(e){if(hn){var r=this.options,n=r.fallbackTolerance,i=r.fallbackOffset,o=e.touches?e.touches[0]:e,a=ve&&Bn(ve,!0),l=ve&&a&&a.a,s=ve&&a&&a.d,u=Di&&St&&Ua(St),p=(o.clientX-hn.clientX+i.x)/(l||1)+(u?u[0]-ho[0]:0)/(l||1),g=(o.clientY-hn.clientY+i.y)/(s||1)+(u?u[1]-ho[1]:0)/(s||1);if(!pe.active&&!Nn){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(ve){a?(a.e+=p-(fo||0),a.f+=g-(po||0)):a={a:1,b:0,c:0,d:1,e:p,f:g};var E="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");fe(ve,"webkitTransform",E),fe(ve,"mozTransform",E),fe(ve,"msTransform",E),fe(ve,"transform",E),fo=p,po=g,sr=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!ve){var e=this.options.fallbackOnBody?document.body:ze,r=ot(z,!0,Di,!0,e),n=this.options;if(Di){for(St=e;fe(St,"position")==="static"&&fe(St,"transform")==="none"&&St!==document;)St=St.parentNode;St!==document.body&&St!==document.documentElement?(St===document&&(St=Or()),r.top+=St.scrollTop,r.left+=St.scrollLeft):St=Or(),ho=Ua(St)}ve=z.cloneNode(!0),Wt(ve,n.ghostClass,!1),Wt(ve,n.fallbackClass,!0),Wt(ve,n.dragClass,!0),fe(ve,"transition",""),fe(ve,"transform",""),fe(ve,"box-sizing","border-box"),fe(ve,"margin",0),fe(ve,"top",r.top),fe(ve,"left",r.left),fe(ve,"width",r.width),fe(ve,"height",r.height),fe(ve,"opacity","0.8"),fe(ve,"position",Di?"absolute":"fixed"),fe(ve,"zIndex","100000"),fe(ve,"pointerEvents","none"),pe.ghost=ve,e.appendChild(ve),fe(ve,"transform-origin",za/parseInt(ve.style.width)*100+"% "+qa/parseInt(ve.style.height)*100+"%")}},_onDragStart:function(e,r){var n=this,i=e.dataTransfer,o=n.options;if(kt("dragStart",this,{evt:e}),pe.eventCanceled){this._onDrop();return}kt("setupClone",this),pe.eventCanceled||(Je=ts(z),Je.removeAttribute("id"),Je.draggable=!1,Je.style["will-change"]="",this._hideClone(),Wt(Je,this.options.chosenClass,!1),pe.clone=Je),n.cloneId=Li(function(){kt("clone",n),!pe.eventCanceled&&(n.options.removeCloneOnHide||ze.insertBefore(Je,z),n._hideClone(),_t({sortable:n,name:"clone"}))}),!r&&Wt(z,o.dragClass,!0),r?(Ii=!0,n._loopId=setInterval(n._emulateDragOver,50)):(Ce(document,"mouseup",n._onDrop),Ce(document,"touchend",n._onDrop),Ce(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",o.setData&&o.setData.call(n,i,z)),Te(document,"drop",n),fe(z,"transform","translateZ(0)")),Nn=!0,n._dragStartId=Li(n._dragStarted.bind(n,r,e)),Te(document,"selectstart",n),Zn=!0,window.getSelection().removeAllRanges(),ri&&fe(document.body,"user-select","none")},_onDragOver:function(e){var r=this.el,n=e.target,i,o,a,l=this.options,s=l.group,u=pe.active,p=Ci===s,g=l.sort,E=wt||u,y,O=this,S=!1;if(wo)return;function D(I,Q){kt(I,O,Ar({evt:e,isOwner:p,axis:y?"vertical":"horizontal",revert:a,dragRect:i,targetRect:o,canSort:g,fromSortable:E,target:n,completed:C,onMove:function(bt,st){return Pi(ze,r,z,i,bt,ot(bt),e,st)},changed:j},Q))}function N(){D("dragOverAnimationCapture"),O.captureAnimationState(),O!==E&&E.captureAnimationState()}function C(I){return D("dragOverCompleted",{insertion:I}),I&&(p?u._hideClone():u._showClone(O),O!==E&&(Wt(z,wt?wt.options.ghostClass:u.options.ghostClass,!1),Wt(z,l.ghostClass,!0)),wt!==O&&O!==pe.active?wt=O:O===pe.active&&wt&&(wt=null),E===O&&(O._ignoreWhileAnimating=n),O.animateAll(function(){D("dragOverAnimationComplete"),O._ignoreWhileAnimating=null}),O!==E&&(E.animateAll(),E._ignoreWhileAnimating=null)),(n===z&&!z.animated||n===r&&!n.animated)&&(Fn=null),!l.dragoverBubble&&!e.rootEl&&n!==document&&(z.parentNode[It]._isOutsideThisEl(e.target),!I&&mn(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),S=!0}function j(){Ut=Xt(z),tn=Xt(z,l.draggable),_t({sortable:O,name:"change",toEl:r,newIndex:Ut,newDraggableIndex:tn,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),n=lr(n,l.draggable,r,!0),D("dragOver"),pe.eventCanceled)return S;if(z.contains(e.target)||n.animated&&n.animatingX&&n.animatingY||O._ignoreWhileAnimating===n)return C(!1);if(Ii=!1,u&&!l.disabled&&(p?g||(a=et!==ze):wt===this||(this.lastPutMode=Ci.checkPull(this,u,z,e))&&s.checkPut(this,u,z,e))){if(y=this._getDirection(e,n)==="vertical",i=ot(z),D("dragOverValid"),pe.eventCanceled)return S;if(a)return et=ze,N(),this._hideClone(),D("revert"),pe.eventCanceled||(vn?ze.insertBefore(z,vn):ze.appendChild(z)),C(!0);var b=So(r,l.draggable);if(!b||Pu(e,y,this)&&!b.animated){if(b===z)return C(!1);if(b&&r===e.target&&(n=b),n&&(o=ot(n)),Pi(ze,r,z,i,n,o,e,!!n)!==!1)return N(),b&&b.nextSibling?r.insertBefore(z,b.nextSibling):r.appendChild(z),et=r,j(),C(!0)}else if(b&&Du(e,y,this)){var U=$n(r,0,l,!0);if(U===z)return C(!1);if(n=U,o=ot(n),Pi(ze,r,z,i,n,o,e,!1)!==!1)return N(),r.insertBefore(z,U),et=r,j(),C(!0)}else if(n.parentNode===r){o=ot(n);var k=0,$,ee=z.parentNode!==r,H=!Ou(z.animated&&z.toRect||i,n.animated&&n.toRect||o,y),X=y?"top":"left",ie=Wa(n,"top","top")||Wa(z,"top","top"),c=ie?ie.scrollTop:void 0;Fn!==n&&($=o[X],ai=!1,Ti=!H&&l.invertSwap||ee),k=Mu(e,n,o,y,H?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Ti,Fn===n);var d;if(k!==0){var v=Xt(z);do v-=k,d=et.children[v];while(d&&(fe(d,"display")==="none"||d===ve))}if(k===0||d===n)return C(!1);Fn=n,oi=k;var m=n.nextElementSibling,B=!1;B=k===1;var P=Pi(ze,r,z,i,n,o,e,B);if(P!==!1)return(P===1||P===-1)&&(B=P===1),wo=!0,setTimeout(Tu,30),N(),B&&!m?r.appendChild(z):n.parentNode.insertBefore(z,B?m:n),ie&&es(ie,0,c-ie.scrollTop),et=z.parentNode,$!==void 0&&!Ti&&(_i=Math.abs($-ot(n)[X])),j(),C(!0)}if(r.contains(z))return C(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ce(document,"mousemove",this._onTouchMove),Ce(document,"touchmove",this._onTouchMove),Ce(document,"pointermove",this._onTouchMove),Ce(document,"dragover",mn),Ce(document,"mousemove",mn),Ce(document,"touchmove",mn)},_offUpEvents:function(){var e=this.el.ownerDocument;Ce(e,"mouseup",this._onDrop),Ce(e,"touchend",this._onDrop),Ce(e,"pointerup",this._onDrop),Ce(e,"pointercancel",this._onDrop),Ce(e,"touchcancel",this._onDrop),Ce(document,"selectstart",this)},_onDrop:function(e){var r=this.el,n=this.options;if(Ut=Xt(z),tn=Xt(z,n.draggable),kt("drop",this,{evt:e}),et=z&&z.parentNode,Ut=Xt(z),tn=Xt(z,n.draggable),pe.eventCanceled){this._nulling();return}Nn=!1,Ti=!1,ai=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),xo(this.cloneId),xo(this._dragStartId),this.nativeDraggable&&(Ce(document,"drop",this),Ce(r,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ri&&fe(document.body,"user-select",""),fe(z,"transform",""),e&&(Zn&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),ve&&ve.parentNode&&ve.parentNode.removeChild(ve),(ze===et||wt&&wt.lastPutMode!=="clone")&&Je&&Je.parentNode&&Je.parentNode.removeChild(Je),z&&(this.nativeDraggable&&Ce(z,"dragend",this),mo(z),z.style["will-change"]="",Zn&&!Nn&&Wt(z,wt?wt.options.ghostClass:this.options.ghostClass,!1),Wt(z,this.options.chosenClass,!1),_t({sortable:this,name:"unchoose",toEl:et,newIndex:null,newDraggableIndex:null,originalEvent:e}),ze!==et?(Ut>=0&&(_t({rootEl:et,name:"add",toEl:et,fromEl:ze,originalEvent:e}),_t({sortable:this,name:"remove",toEl:et,originalEvent:e}),_t({rootEl:et,name:"sort",toEl:et,fromEl:ze,originalEvent:e}),_t({sortable:this,name:"sort",toEl:et,originalEvent:e})),wt&&wt.save()):Ut!==jn&&Ut>=0&&(_t({sortable:this,name:"update",toEl:et,originalEvent:e}),_t({sortable:this,name:"sort",toEl:et,originalEvent:e})),pe.active&&((Ut==null||Ut===-1)&&(Ut=jn,tn=ii),_t({sortable:this,name:"end",toEl:et,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){kt("nulling",this),ze=z=et=ve=vn=Je=Mi=rn=hn=sr=Zn=Ut=tn=jn=ii=Fn=oi=wt=Ci=pe.dragged=pe.ghost=pe.clone=pe.active=null;var e=this.el;Ni.forEach(function(r){e.contains(r)&&(r.checked=!0)}),Ni.length=fo=po=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":z&&(this._onDragOver(e),Cu(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],r,n=this.el.children,i=0,o=n.length,a=this.options;i<o;i++)r=n[i],lr(r,a.draggable,this.el,!1)&&e.push(r.getAttribute(a.dataIdAttr)||Lu(r));return e},sort:function(e,r){var n={},i=this.el;this.toArray().forEach(function(o,a){var l=i.children[a];lr(l,this.options.draggable,i,!1)&&(n[o]=l)},this),r&&this.captureAnimationState(),e.forEach(function(o){n[o]&&(i.removeChild(n[o]),i.appendChild(n[o]))}),r&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,r){return lr(e,r||this.options.draggable,this.el,!1)},option:function(e,r){var n=this.options;if(r===void 0)return n[e];var i=li.modifyOption(this,e,r);typeof i<"u"?n[e]=i:n[e]=r,e==="group"&&os(n)},destroy:function(){kt("destroy",this);var e=this.el;e[It]=null,Ce(e,"mousedown",this._onTapStart),Ce(e,"touchstart",this._onTapStart),Ce(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ce(e,"dragover",this),Ce(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(r){r.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Fi.splice(Fi.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!rn){if(kt("hideClone",this),pe.eventCanceled)return;fe(Je,"display","none"),this.options.removeCloneOnHide&&Je.parentNode&&Je.parentNode.removeChild(Je),rn=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(rn){if(kt("showClone",this),pe.eventCanceled)return;z.parentNode==ze&&!this.options.group.revertClone?ze.insertBefore(Je,z):vn?ze.insertBefore(Je,vn):ze.appendChild(Je),this.options.group.revertClone&&this.animate(z,Je),fe(Je,"display",""),rn=!1}}};function Cu(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function Pi(t,e,r,n,i,o,a,l){var s,u=t[It],p=u.options.onMove,g;return window.CustomEvent&&!jr&&!si?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=e,s.from=t,s.dragged=r,s.draggedRect=n,s.related=i||e,s.relatedRect=o||ot(e),s.willInsertAfter=l,s.originalEvent=a,t.dispatchEvent(s),p&&(g=p.call(u,s,a)),g}function mo(t){t.draggable=!1}function Tu(){wo=!1}function Du(t,e,r){var n=ot($n(r.el,0,r.options,!0)),i=rs(r.el,r.options,ve),o=10;return e?t.clientX<i.left-o||t.clientY<n.top&&t.clientX<n.right:t.clientY<i.top-o||t.clientY<n.bottom&&t.clientX<n.left}function Pu(t,e,r){var n=ot(So(r.el,r.options.draggable)),i=rs(r.el,r.options,ve),o=10;return e?t.clientX>i.right+o||t.clientY>n.bottom&&t.clientX>n.left:t.clientY>i.bottom+o||t.clientX>n.right&&t.clientY>n.top}function Mu(t,e,r,n,i,o,a,l){var s=n?t.clientY:t.clientX,u=n?r.height:r.width,p=n?r.top:r.left,g=n?r.bottom:r.right,E=!1;if(!a){if(l&&_i<u*i){if(!ai&&(oi===1?s>p+u*o/2:s<g-u*o/2)&&(ai=!0),ai)E=!0;else if(oi===1?s<p+_i:s>g-_i)return-oi}else if(s>p+u*(1-i)/2&&s<g-u*(1-i)/2)return _u(e)}return E=E||a,E&&(s<p+u*o/2||s>g-u*o/2)?s>p+u/2?1:-1:0}function _u(t){return Xt(z)<Xt(t)?1:-1}function Lu(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,r=e.length,n=0;r--;)n+=e.charCodeAt(r);return n.toString(36)}function Ru(t){Ni.length=0;for(var e=t.getElementsByTagName("input"),r=e.length;r--;){var n=e[r];n.checked&&Ni.push(n)}}function Li(t){return setTimeout(t,0)}function xo(t){return clearTimeout(t)}Bi&&Te(document,"touchmove",function(t){(pe.active||Nn)&&t.cancelable&&t.preventDefault()});pe.utils={on:Te,off:Ce,css:fe,find:Qa,is:function(e,r){return!!lr(e,r,e,!1)},extend:mu,throttle:Za,closest:lr,toggleClass:Wt,clone:ts,index:Xt,nextTick:Li,cancelNextTick:xo,detectDirection:is,getChild:$n,expando:It};pe.get=function(t){return t[It]};pe.mount=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e[0].constructor===Array&&(e=e[0]),e.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(pe.utils=Ar(Ar({},pe.utils),n.utils)),li.mount(n)})};pe.create=function(t,e){return new pe(t,e)};pe.version=du;var it=[],ei,Eo,Oo=!1,vo,go,ji,ti;function ku(){function t(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return t.prototype={dragStarted:function(r){var n=r.originalEvent;this.sortable.nativeDraggable?Te(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Te(document,"pointermove",this._handleFallbackAutoScroll):n.touches?Te(document,"touchmove",this._handleFallbackAutoScroll):Te(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(r){var n=r.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?Ce(document,"dragover",this._handleAutoScroll):(Ce(document,"pointermove",this._handleFallbackAutoScroll),Ce(document,"touchmove",this._handleFallbackAutoScroll),Ce(document,"mousemove",this._handleFallbackAutoScroll)),Xa(),Ri(),vu()},nulling:function(){ji=Eo=ei=Oo=ti=vo=go=null,it.length=0},_handleFallbackAutoScroll:function(r){this._handleAutoScroll(r,!0)},_handleAutoScroll:function(r,n){var i=this,o=(r.touches?r.touches[0]:r).clientX,a=(r.touches?r.touches[0]:r).clientY,l=document.elementFromPoint(o,a);if(ji=r,n||this.options.forceAutoScrollFallback||si||jr||ri){bo(r,this.options,l,n);var s=nn(l,!0);Oo&&(!ti||o!==vo||a!==go)&&(ti&&Xa(),ti=setInterval(function(){var u=nn(document.elementFromPoint(o,a),!0);u!==s&&(s=u,Ri()),bo(r,i.options,u,n)},10),vo=o,go=a)}else{if(!this.options.bubbleScroll||nn(l,!0)===Or()){Ri();return}bo(r,this.options,nn(l,!1),!1)}}},Nr(t,{pluginName:"scroll",initializeByDefault:!0})}function Ri(){it.forEach(function(t){clearInterval(t.pid)}),it=[]}function Xa(){clearInterval(ti)}var bo=Za(function(t,e,r,n){if(e.scroll){var i=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,s=Or(),u=!1,p;Eo!==r&&(Eo=r,Ri(),ei=e.scroll,p=e.scrollFn,ei===!0&&(ei=nn(r,!0)));var g=0,E=ei;do{var y=E,O=ot(y),S=O.top,D=O.bottom,N=O.left,C=O.right,j=O.width,b=O.height,U=void 0,k=void 0,$=y.scrollWidth,ee=y.scrollHeight,H=fe(y),X=y.scrollLeft,ie=y.scrollTop;y===s?(U=j<$&&(H.overflowX==="auto"||H.overflowX==="scroll"||H.overflowX==="visible"),k=b<ee&&(H.overflowY==="auto"||H.overflowY==="scroll"||H.overflowY==="visible")):(U=j<$&&(H.overflowX==="auto"||H.overflowX==="scroll"),k=b<ee&&(H.overflowY==="auto"||H.overflowY==="scroll"));var c=U&&(Math.abs(C-i)<=a&&X+j<$)-(Math.abs(N-i)<=a&&!!X),d=k&&(Math.abs(D-o)<=a&&ie+b<ee)-(Math.abs(S-o)<=a&&!!ie);if(!it[g])for(var v=0;v<=g;v++)it[v]||(it[v]={});(it[g].vx!=c||it[g].vy!=d||it[g].el!==y)&&(it[g].el=y,it[g].vx=c,it[g].vy=d,clearInterval(it[g].pid),(c!=0||d!=0)&&(u=!0,it[g].pid=setInterval(function(){n&&this.layer===0&&pe.active._onTouchMove(ji);var m=it[this.layer].vy?it[this.layer].vy*l:0,B=it[this.layer].vx?it[this.layer].vx*l:0;typeof p=="function"&&p.call(pe.dragged.parentNode[It],B,m,t,ji,it[this.layer].el)!=="continue"||es(it[this.layer].el,B,m)}.bind({layer:g}),24))),g++}while(e.bubbleScroll&&E!==s&&(E=nn(E,!1)));Oo=u}},30),ls=function(e){var r=e.originalEvent,n=e.putSortable,i=e.dragEl,o=e.activeSortable,a=e.dispatchSortableEvent,l=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(r){var u=n||o;l();var p=r.changedTouches&&r.changedTouches.length?r.changedTouches[0]:r,g=document.elementFromPoint(p.clientX,p.clientY);s(),u&&!u.el.contains(g)&&(a("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function Co(){}Co.prototype={startIndex:null,dragStart:function(e){var r=e.oldDraggableIndex;this.startIndex=r},onSpill:function(e){var r=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=$n(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(r,i):this.sortable.el.appendChild(r),this.sortable.animateAll(),n&&n.animateAll()},drop:ls};Nr(Co,{pluginName:"revertOnSpill"});function To(){}To.prototype={onSpill:function(e){var r=e.dragEl,n=e.putSortable,i=n||this.sortable;i.captureAnimationState(),r.parentNode&&r.parentNode.removeChild(r),i.animateAll()},drop:ls};Nr(To,{pluginName:"removeOnSpill"});pe.mount(new ku);pe.mount(To,Co);var Do=pe;window.Sortable=Do;var us=t=>{t.directive("sortable",(e,{},{cleanup:r})=>{let n=parseInt(e.dataset?.sortableAnimationDuration);n!==0&&!n&&(n=300),e.sortable=Do.create(e,{group:e.getAttribute("x-sortable-group"),draggable:"[x-sortable-item]",handle:"[x-sortable-handle]",dataIdAttr:"x-sortable-item",animation:n,ghostClass:"fi-sortable-ghost",onEnd(i){let{item:o,to:a,oldDraggableIndex:l,newDraggableIndex:s}=i;if(l===s)return;let u=this.options.draggable,p=a.querySelectorAll(`:scope > ${u}`)[s-1];p&&a.insertBefore(o,p.nextSibling)}}),r(()=>e.sortable.destroy())})};var Iu=Object.create,_o=Object.defineProperty,Fu=Object.getPrototypeOf,Nu=Object.prototype.hasOwnProperty,ju=Object.getOwnPropertyNames,Bu=Object.getOwnPropertyDescriptor,$u=t=>_o(t,"__esModule",{value:!0}),cs=(t,e)=>()=>(e||(e={exports:{}},t(e.exports,e)),e.exports),Hu=(t,e,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ju(e))!Nu.call(t,n)&&n!=="default"&&_o(t,n,{get:()=>e[n],enumerable:!(r=Bu(e,n))||r.enumerable});return t},fs=t=>Hu($u(_o(t!=null?Iu(Fu(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t),Vu=cs(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});function e(h){var f=h.getBoundingClientRect();return{width:f.width,height:f.height,top:f.top,right:f.right,bottom:f.bottom,left:f.left,x:f.left,y:f.top}}function r(h){if(h==null)return window;if(h.toString()!=="[object Window]"){var f=h.ownerDocument;return f&&f.defaultView||window}return h}function n(h){var f=r(h),x=f.pageXOffset,R=f.pageYOffset;return{scrollLeft:x,scrollTop:R}}function i(h){var f=r(h).Element;return h instanceof f||h instanceof Element}function o(h){var f=r(h).HTMLElement;return h instanceof f||h instanceof HTMLElement}function a(h){if(typeof ShadowRoot>"u")return!1;var f=r(h).ShadowRoot;return h instanceof f||h instanceof ShadowRoot}function l(h){return{scrollLeft:h.scrollLeft,scrollTop:h.scrollTop}}function s(h){return h===r(h)||!o(h)?n(h):l(h)}function u(h){return h?(h.nodeName||"").toLowerCase():null}function p(h){return((i(h)?h.ownerDocument:h.document)||window.document).documentElement}function g(h){return e(p(h)).left+n(h).scrollLeft}function E(h){return r(h).getComputedStyle(h)}function y(h){var f=E(h),x=f.overflow,R=f.overflowX,F=f.overflowY;return/auto|scroll|overlay|hidden/.test(x+F+R)}function O(h,f,x){x===void 0&&(x=!1);var R=p(f),F=e(h),W=o(f),G={scrollLeft:0,scrollTop:0},Y={x:0,y:0};return(W||!W&&!x)&&((u(f)!=="body"||y(R))&&(G=s(f)),o(f)?(Y=e(f),Y.x+=f.clientLeft,Y.y+=f.clientTop):R&&(Y.x=g(R))),{x:F.left+G.scrollLeft-Y.x,y:F.top+G.scrollTop-Y.y,width:F.width,height:F.height}}function S(h){var f=e(h),x=h.offsetWidth,R=h.offsetHeight;return Math.abs(f.width-x)<=1&&(x=f.width),Math.abs(f.height-R)<=1&&(R=f.height),{x:h.offsetLeft,y:h.offsetTop,width:x,height:R}}function D(h){return u(h)==="html"?h:h.assignedSlot||h.parentNode||(a(h)?h.host:null)||p(h)}function N(h){return["html","body","#document"].indexOf(u(h))>=0?h.ownerDocument.body:o(h)&&y(h)?h:N(D(h))}function C(h,f){var x;f===void 0&&(f=[]);var R=N(h),F=R===((x=h.ownerDocument)==null?void 0:x.body),W=r(R),G=F?[W].concat(W.visualViewport||[],y(R)?R:[]):R,Y=f.concat(G);return F?Y:Y.concat(C(D(G)))}function j(h){return["table","td","th"].indexOf(u(h))>=0}function b(h){return!o(h)||E(h).position==="fixed"?null:h.offsetParent}function U(h){var f=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,x=navigator.userAgent.indexOf("Trident")!==-1;if(x&&o(h)){var R=E(h);if(R.position==="fixed")return null}for(var F=D(h);o(F)&&["html","body"].indexOf(u(F))<0;){var W=E(F);if(W.transform!=="none"||W.perspective!=="none"||W.contain==="paint"||["transform","perspective"].indexOf(W.willChange)!==-1||f&&W.willChange==="filter"||f&&W.filter&&W.filter!=="none")return F;F=F.parentNode}return null}function k(h){for(var f=r(h),x=b(h);x&&j(x)&&E(x).position==="static";)x=b(x);return x&&(u(x)==="html"||u(x)==="body"&&E(x).position==="static")?f:x||U(h)||f}var $="top",ee="bottom",H="right",X="left",ie="auto",c=[$,ee,H,X],d="start",v="end",m="clippingParents",B="viewport",P="popper",I="reference",Q=c.reduce(function(h,f){return h.concat([f+"-"+d,f+"-"+v])},[]),Me=[].concat(c,[ie]).reduce(function(h,f){return h.concat([f,f+"-"+d,f+"-"+v])},[]),bt="beforeRead",st="read",Qt="afterRead",Ft="beforeMain",Ct="main",ht="afterMain",Zt="beforeWrite",Nt="write",er="afterWrite",mt=[bt,st,Qt,Ft,Ct,ht,Zt,Nt,er];function dr(h){var f=new Map,x=new Set,R=[];h.forEach(function(W){f.set(W.name,W)});function F(W){x.add(W.name);var G=[].concat(W.requires||[],W.requiresIfExists||[]);G.forEach(function(Y){if(!x.has(Y)){var re=f.get(Y);re&&F(re)}}),R.push(W)}return h.forEach(function(W){x.has(W.name)||F(W)}),R}function Et(h){var f=dr(h);return mt.reduce(function(x,R){return x.concat(f.filter(function(F){return F.phase===R}))},[])}function Rt(h){var f;return function(){return f||(f=new Promise(function(x){Promise.resolve().then(function(){f=void 0,x(h())})})),f}}function Tt(h){for(var f=arguments.length,x=new Array(f>1?f-1:0),R=1;R<f;R++)x[R-1]=arguments[R];return[].concat(x).reduce(function(F,W){return F.replace(/%s/,W)},h)}var Dt='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Cr='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Qe=["name","enabled","phase","fn","effect","requires","options"];function Vr(h){h.forEach(function(f){Object.keys(f).forEach(function(x){switch(x){case"name":typeof f.name!="string"&&console.error(Tt(Dt,String(f.name),'"name"','"string"','"'+String(f.name)+'"'));break;case"enabled":typeof f.enabled!="boolean"&&console.error(Tt(Dt,f.name,'"enabled"','"boolean"','"'+String(f.enabled)+'"'));case"phase":mt.indexOf(f.phase)<0&&console.error(Tt(Dt,f.name,'"phase"',"either "+mt.join(", "),'"'+String(f.phase)+'"'));break;case"fn":typeof f.fn!="function"&&console.error(Tt(Dt,f.name,'"fn"','"function"','"'+String(f.fn)+'"'));break;case"effect":typeof f.effect!="function"&&console.error(Tt(Dt,f.name,'"effect"','"function"','"'+String(f.fn)+'"'));break;case"requires":Array.isArray(f.requires)||console.error(Tt(Dt,f.name,'"requires"','"array"','"'+String(f.requires)+'"'));break;case"requiresIfExists":Array.isArray(f.requiresIfExists)||console.error(Tt(Dt,f.name,'"requiresIfExists"','"array"','"'+String(f.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+f.name+'" modifier, valid properties are '+Qe.map(function(R){return'"'+R+'"'}).join(", ")+'; but "'+x+'" was provided.')}f.requires&&f.requires.forEach(function(R){h.find(function(F){return F.name===R})==null&&console.error(Tt(Cr,String(f.name),R,R))})})})}function Wr(h,f){var x=new Set;return h.filter(function(R){var F=f(R);if(!x.has(F))return x.add(F),!0})}function We(h){return h.split("-")[0]}function zt(h){var f=h.reduce(function(x,R){var F=x[R.name];return x[R.name]=F?Object.assign({},F,R,{options:Object.assign({},F.options,R.options),data:Object.assign({},F.data,R.data)}):R,x},{});return Object.keys(f).map(function(x){return f[x]})}function hr(h){var f=r(h),x=p(h),R=f.visualViewport,F=x.clientWidth,W=x.clientHeight,G=0,Y=0;return R&&(F=R.width,W=R.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(G=R.offsetLeft,Y=R.offsetTop)),{width:F,height:W,x:G+g(h),y:Y}}var lt=Math.max,jt=Math.min,Bt=Math.round;function Tr(h){var f,x=p(h),R=n(h),F=(f=h.ownerDocument)==null?void 0:f.body,W=lt(x.scrollWidth,x.clientWidth,F?F.scrollWidth:0,F?F.clientWidth:0),G=lt(x.scrollHeight,x.clientHeight,F?F.scrollHeight:0,F?F.clientHeight:0),Y=-R.scrollLeft+g(h),re=-R.scrollTop;return E(F||x).direction==="rtl"&&(Y+=lt(x.clientWidth,F?F.clientWidth:0)-W),{width:W,height:G,x:Y,y:re}}function mr(h,f){var x=f.getRootNode&&f.getRootNode();if(h.contains(f))return!0;if(x&&a(x)){var R=f;do{if(R&&h.isSameNode(R))return!0;R=R.parentNode||R.host}while(R)}return!1}function $t(h){return Object.assign({},h,{left:h.x,top:h.y,right:h.x+h.width,bottom:h.y+h.height})}function Cn(h){var f=e(h);return f.top=f.top+h.clientTop,f.left=f.left+h.clientLeft,f.bottom=f.top+h.clientHeight,f.right=f.left+h.clientWidth,f.width=h.clientWidth,f.height=h.clientHeight,f.x=f.left,f.y=f.top,f}function Tn(h,f){return f===B?$t(hr(h)):o(f)?Cn(f):$t(Tr(p(h)))}function Ur(h){var f=C(D(h)),x=["absolute","fixed"].indexOf(E(h).position)>=0,R=x&&o(h)?k(h):h;return i(R)?f.filter(function(F){return i(F)&&mr(F,R)&&u(F)!=="body"}):[]}function zr(h,f,x){var R=f==="clippingParents"?Ur(h):[].concat(f),F=[].concat(R,[x]),W=F[0],G=F.reduce(function(Y,re){var ce=Tn(h,re);return Y.top=lt(ce.top,Y.top),Y.right=jt(ce.right,Y.right),Y.bottom=jt(ce.bottom,Y.bottom),Y.left=lt(ce.left,Y.left),Y},Tn(h,W));return G.width=G.right-G.left,G.height=G.bottom-G.top,G.x=G.left,G.y=G.top,G}function Dr(h){return h.split("-")[1]}function M(h){return["top","bottom"].indexOf(h)>=0?"x":"y"}function Z(h){var f=h.reference,x=h.element,R=h.placement,F=R?We(R):null,W=R?Dr(R):null,G=f.x+f.width/2-x.width/2,Y=f.y+f.height/2-x.height/2,re;switch(F){case $:re={x:G,y:f.y-x.height};break;case ee:re={x:G,y:f.y+f.height};break;case H:re={x:f.x+f.width,y:Y};break;case X:re={x:f.x-x.width,y:Y};break;default:re={x:f.x,y:f.y}}var ce=F?M(F):null;if(ce!=null){var J=ce==="y"?"height":"width";switch(W){case d:re[ce]=re[ce]-(f[J]/2-x[J]/2);break;case v:re[ce]=re[ce]+(f[J]/2-x[J]/2);break}}return re}function se(){return{top:0,right:0,bottom:0,left:0}}function De(h){return Object.assign({},se(),h)}function Ee(h,f){return f.reduce(function(x,R){return x[R]=h,x},{})}function Ue(h,f){f===void 0&&(f={});var x=f,R=x.placement,F=R===void 0?h.placement:R,W=x.boundary,G=W===void 0?m:W,Y=x.rootBoundary,re=Y===void 0?B:Y,ce=x.elementContext,J=ce===void 0?P:ce,Re=x.altBoundary,He=Re===void 0?!1:Re,Le=x.padding,Se=Le===void 0?0:Le,Ne=De(typeof Se!="number"?Se:Ee(Se,c)),Pe=J===P?I:P,Xe=h.elements.reference,je=h.rects.popper,Ke=h.elements[He?Pe:J],he=zr(i(Ke)?Ke:Ke.contextElement||p(h.elements.popper),G,re),Fe=e(Xe),ke=Z({reference:Fe,element:je,strategy:"absolute",placement:F}),Ve=$t(Object.assign({},je,ke)),$e=J===P?Ve:Fe,rt={top:he.top-$e.top+Ne.top,bottom:$e.bottom-he.bottom+Ne.bottom,left:he.left-$e.left+Ne.left,right:$e.right-he.right+Ne.right},Ge=h.modifiersData.offset;if(J===P&&Ge){var Ze=Ge[F];Object.keys(rt).forEach(function(ir){var Ot=[H,ee].indexOf(ir)>=0?1:-1,_r=[$,ee].indexOf(ir)>=0?"y":"x";rt[ir]+=Ze[_r]*Ot})}return rt}var yt="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",vr="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Pr={placement:"bottom",modifiers:[],strategy:"absolute"};function Pt(){for(var h=arguments.length,f=new Array(h),x=0;x<h;x++)f[x]=arguments[x];return!f.some(function(R){return!(R&&typeof R.getBoundingClientRect=="function")})}function gr(h){h===void 0&&(h={});var f=h,x=f.defaultModifiers,R=x===void 0?[]:x,F=f.defaultOptions,W=F===void 0?Pr:F;return function(Y,re,ce){ce===void 0&&(ce=W);var J={placement:"bottom",orderedModifiers:[],options:Object.assign({},Pr,W),modifiersData:{},elements:{reference:Y,popper:re},attributes:{},styles:{}},Re=[],He=!1,Le={state:J,setOptions:function(Xe){Ne(),J.options=Object.assign({},W,J.options,Xe),J.scrollParents={reference:i(Y)?C(Y):Y.contextElement?C(Y.contextElement):[],popper:C(re)};var je=Et(zt([].concat(R,J.options.modifiers)));J.orderedModifiers=je.filter(function(Ge){return Ge.enabled});var Ke=Wr([].concat(je,J.options.modifiers),function(Ge){var Ze=Ge.name;return Ze});if(Vr(Ke),We(J.options.placement)===ie){var he=J.orderedModifiers.find(function(Ge){var Ze=Ge.name;return Ze==="flip"});he||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var Fe=E(re),ke=Fe.marginTop,Ve=Fe.marginRight,$e=Fe.marginBottom,rt=Fe.marginLeft;return[ke,Ve,$e,rt].some(function(Ge){return parseFloat(Ge)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" ")),Se(),Le.update()},forceUpdate:function(){if(!He){var Xe=J.elements,je=Xe.reference,Ke=Xe.popper;if(!Pt(je,Ke)){console.error(yt);return}J.rects={reference:O(je,k(Ke),J.options.strategy==="fixed"),popper:S(Ke)},J.reset=!1,J.placement=J.options.placement,J.orderedModifiers.forEach(function(Ze){return J.modifiersData[Ze.name]=Object.assign({},Ze.data)});for(var he=0,Fe=0;Fe<J.orderedModifiers.length;Fe++){if(he+=1,he>100){console.error(vr);break}if(J.reset===!0){J.reset=!1,Fe=-1;continue}var ke=J.orderedModifiers[Fe],Ve=ke.fn,$e=ke.options,rt=$e===void 0?{}:$e,Ge=ke.name;typeof Ve=="function"&&(J=Ve({state:J,options:rt,name:Ge,instance:Le})||J)}}},update:Rt(function(){return new Promise(function(Pe){Le.forceUpdate(),Pe(J)})}),destroy:function(){Ne(),He=!0}};if(!Pt(Y,re))return console.error(yt),Le;Le.setOptions(ce).then(function(Pe){!He&&ce.onFirstUpdate&&ce.onFirstUpdate(Pe)});function Se(){J.orderedModifiers.forEach(function(Pe){var Xe=Pe.name,je=Pe.options,Ke=je===void 0?{}:je,he=Pe.effect;if(typeof he=="function"){var Fe=he({state:J,name:Xe,instance:Le,options:Ke}),ke=function(){};Re.push(Fe||ke)}})}function Ne(){Re.forEach(function(Pe){return Pe()}),Re=[]}return Le}}var tr={passive:!0};function br(h){var f=h.state,x=h.instance,R=h.options,F=R.scroll,W=F===void 0?!0:F,G=R.resize,Y=G===void 0?!0:G,re=r(f.elements.popper),ce=[].concat(f.scrollParents.reference,f.scrollParents.popper);return W&&ce.forEach(function(J){J.addEventListener("scroll",x.update,tr)}),Y&&re.addEventListener("resize",x.update,tr),function(){W&&ce.forEach(function(J){J.removeEventListener("scroll",x.update,tr)}),Y&&re.removeEventListener("resize",x.update,tr)}}var sn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:br,data:{}};function ln(h){var f=h.state,x=h.name;f.modifiersData[x]=Z({reference:f.rects.reference,element:f.rects.popper,strategy:"absolute",placement:f.placement})}var yr={name:"popperOffsets",enabled:!0,phase:"read",fn:ln,data:{}},Gi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ji(h){var f=h.x,x=h.y,R=window,F=R.devicePixelRatio||1;return{x:Bt(Bt(f*F)/F)||0,y:Bt(Bt(x*F)/F)||0}}function Yn(h){var f,x=h.popper,R=h.popperRect,F=h.placement,W=h.offsets,G=h.position,Y=h.gpuAcceleration,re=h.adaptive,ce=h.roundOffsets,J=ce===!0?Ji(W):typeof ce=="function"?ce(W):W,Re=J.x,He=Re===void 0?0:Re,Le=J.y,Se=Le===void 0?0:Le,Ne=W.hasOwnProperty("x"),Pe=W.hasOwnProperty("y"),Xe=X,je=$,Ke=window;if(re){var he=k(x),Fe="clientHeight",ke="clientWidth";he===r(x)&&(he=p(x),E(he).position!=="static"&&(Fe="scrollHeight",ke="scrollWidth")),he=he,F===$&&(je=ee,Se-=he[Fe]-R.height,Se*=Y?1:-1),F===X&&(Xe=H,He-=he[ke]-R.width,He*=Y?1:-1)}var Ve=Object.assign({position:G},re&&Gi);if(Y){var $e;return Object.assign({},Ve,($e={},$e[je]=Pe?"0":"",$e[Xe]=Ne?"0":"",$e.transform=(Ke.devicePixelRatio||1)<2?"translate("+He+"px, "+Se+"px)":"translate3d("+He+"px, "+Se+"px, 0)",$e))}return Object.assign({},Ve,(f={},f[je]=Pe?Se+"px":"",f[Xe]=Ne?He+"px":"",f.transform="",f))}function w(h){var f=h.state,x=h.options,R=x.gpuAcceleration,F=R===void 0?!0:R,W=x.adaptive,G=W===void 0?!0:W,Y=x.roundOffsets,re=Y===void 0?!0:Y,ce=E(f.elements.popper).transitionProperty||"";G&&["transform","top","right","bottom","left"].some(function(Re){return ce.indexOf(Re)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
2
|
+
|
|
3
|
+
`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
|
|
4
|
+
|
|
5
|
+
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var J={placement:We(f.placement),popper:f.elements.popper,popperRect:f.rects.popper,gpuAcceleration:F};f.modifiersData.popperOffsets!=null&&(f.styles.popper=Object.assign({},f.styles.popper,Yn(Object.assign({},J,{offsets:f.modifiersData.popperOffsets,position:f.options.strategy,adaptive:G,roundOffsets:re})))),f.modifiersData.arrow!=null&&(f.styles.arrow=Object.assign({},f.styles.arrow,Yn(Object.assign({},J,{offsets:f.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:re})))),f.attributes.popper=Object.assign({},f.attributes.popper,{"data-popper-placement":f.placement})}var A={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:w,data:{}};function _(h){var f=h.state;Object.keys(f.elements).forEach(function(x){var R=f.styles[x]||{},F=f.attributes[x]||{},W=f.elements[x];!o(W)||!u(W)||(Object.assign(W.style,R),Object.keys(F).forEach(function(G){var Y=F[G];Y===!1?W.removeAttribute(G):W.setAttribute(G,Y===!0?"":Y)}))})}function V(h){var f=h.state,x={popper:{position:f.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(f.elements.popper.style,x.popper),f.styles=x,f.elements.arrow&&Object.assign(f.elements.arrow.style,x.arrow),function(){Object.keys(f.elements).forEach(function(R){var F=f.elements[R],W=f.attributes[R]||{},G=Object.keys(f.styles.hasOwnProperty(R)?f.styles[R]:x[R]),Y=G.reduce(function(re,ce){return re[ce]="",re},{});!o(F)||!u(F)||(Object.assign(F.style,Y),Object.keys(W).forEach(function(re){F.removeAttribute(re)}))})}}var te={name:"applyStyles",enabled:!0,phase:"write",fn:_,effect:V,requires:["computeStyles"]};function K(h,f,x){var R=We(h),F=[X,$].indexOf(R)>=0?-1:1,W=typeof x=="function"?x(Object.assign({},f,{placement:h})):x,G=W[0],Y=W[1];return G=G||0,Y=(Y||0)*F,[X,H].indexOf(R)>=0?{x:Y,y:G}:{x:G,y:Y}}function q(h){var f=h.state,x=h.options,R=h.name,F=x.offset,W=F===void 0?[0,0]:F,G=Me.reduce(function(J,Re){return J[Re]=K(Re,f.rects,W),J},{}),Y=G[f.placement],re=Y.x,ce=Y.y;f.modifiersData.popperOffsets!=null&&(f.modifiersData.popperOffsets.x+=re,f.modifiersData.popperOffsets.y+=ce),f.modifiersData[R]=G}var xe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:q},de={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(h){return h.replace(/left|right|bottom|top/g,function(f){return de[f]})}var Oe={start:"end",end:"start"};function Ie(h){return h.replace(/start|end/g,function(f){return Oe[f]})}function Ye(h,f){f===void 0&&(f={});var x=f,R=x.placement,F=x.boundary,W=x.rootBoundary,G=x.padding,Y=x.flipVariations,re=x.allowedAutoPlacements,ce=re===void 0?Me:re,J=Dr(R),Re=J?Y?Q:Q.filter(function(Se){return Dr(Se)===J}):c,He=Re.filter(function(Se){return ce.indexOf(Se)>=0});He.length===0&&(He=Re,console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var Le=He.reduce(function(Se,Ne){return Se[Ne]=Ue(h,{placement:Ne,boundary:F,rootBoundary:W,padding:G})[We(Ne)],Se},{});return Object.keys(Le).sort(function(Se,Ne){return Le[Se]-Le[Ne]})}function _e(h){if(We(h)===ie)return[];var f=ge(h);return[Ie(h),f,Ie(f)]}function Be(h){var f=h.state,x=h.options,R=h.name;if(!f.modifiersData[R]._skip){for(var F=x.mainAxis,W=F===void 0?!0:F,G=x.altAxis,Y=G===void 0?!0:G,re=x.fallbackPlacements,ce=x.padding,J=x.boundary,Re=x.rootBoundary,He=x.altBoundary,Le=x.flipVariations,Se=Le===void 0?!0:Le,Ne=x.allowedAutoPlacements,Pe=f.options.placement,Xe=We(Pe),je=Xe===Pe,Ke=re||(je||!Se?[ge(Pe)]:_e(Pe)),he=[Pe].concat(Ke).reduce(function(ae,we){return ae.concat(We(we)===ie?Ye(f,{placement:we,boundary:J,rootBoundary:Re,padding:ce,flipVariations:Se,allowedAutoPlacements:Ne}):we)},[]),Fe=f.rects.reference,ke=f.rects.popper,Ve=new Map,$e=!0,rt=he[0],Ge=0;Ge<he.length;Ge++){var Ze=he[Ge],ir=We(Ze),Ot=Dr(Ze)===d,_r=[$,ee].indexOf(ir)>=0,cn=_r?"width":"height",Kr=Ue(f,{placement:Ze,boundary:J,rootBoundary:Re,altBoundary:He,padding:ce}),Lr=_r?Ot?H:X:Ot?ee:$;Fe[cn]>ke[cn]&&(Lr=ge(Lr));var Xn=ge(Lr),Gr=[];if(W&&Gr.push(Kr[ir]<=0),Y&&Gr.push(Kr[Lr]<=0,Kr[Xn]<=0),Gr.every(function(ae){return ae})){rt=Ze,$e=!1;break}Ve.set(Ze,Gr)}if($e)for(var Dn=Se?3:1,Kn=function(we){var Ae=he.find(function(ct){var ft=Ve.get(ct);if(ft)return ft.slice(0,we).every(function(wr){return wr})});if(Ae)return rt=Ae,"break"},L=Dn;L>0;L--){var ne=Kn(L);if(ne==="break")break}f.placement!==rt&&(f.modifiersData[R]._skip=!0,f.placement=rt,f.reset=!0)}}var le={name:"flip",enabled:!0,phase:"main",fn:Be,requiresIfExists:["offset"],data:{_skip:!1}};function be(h){return h==="x"?"y":"x"}function ye(h,f,x){return lt(h,jt(f,x))}function oe(h){var f=h.state,x=h.options,R=h.name,F=x.mainAxis,W=F===void 0?!0:F,G=x.altAxis,Y=G===void 0?!1:G,re=x.boundary,ce=x.rootBoundary,J=x.altBoundary,Re=x.padding,He=x.tether,Le=He===void 0?!0:He,Se=x.tetherOffset,Ne=Se===void 0?0:Se,Pe=Ue(f,{boundary:re,rootBoundary:ce,padding:Re,altBoundary:J}),Xe=We(f.placement),je=Dr(f.placement),Ke=!je,he=M(Xe),Fe=be(he),ke=f.modifiersData.popperOffsets,Ve=f.rects.reference,$e=f.rects.popper,rt=typeof Ne=="function"?Ne(Object.assign({},f.rects,{placement:f.placement})):Ne,Ge={x:0,y:0};if(ke){if(W||Y){var Ze=he==="y"?$:X,ir=he==="y"?ee:H,Ot=he==="y"?"height":"width",_r=ke[he],cn=ke[he]+Pe[Ze],Kr=ke[he]-Pe[ir],Lr=Le?-$e[Ot]/2:0,Xn=je===d?Ve[Ot]:$e[Ot],Gr=je===d?-$e[Ot]:-Ve[Ot],Dn=f.elements.arrow,Kn=Le&&Dn?S(Dn):{width:0,height:0},L=f.modifiersData["arrow#persistent"]?f.modifiersData["arrow#persistent"].padding:se(),ne=L[Ze],ae=L[ir],we=ye(0,Ve[Ot],Kn[Ot]),Ae=Ke?Ve[Ot]/2-Lr-we-ne-rt:Xn-we-ne-rt,ct=Ke?-Ve[Ot]/2+Lr+we+ae+rt:Gr+we+ae+rt,ft=f.elements.arrow&&k(f.elements.arrow),wr=ft?he==="y"?ft.clientTop||0:ft.clientLeft||0:0,Gn=f.modifiersData.offset?f.modifiersData.offset[f.placement][he]:0,xr=ke[he]+Ae-Gn-wr,Pn=ke[he]+ct-Gn;if(W){var fn=ye(Le?jt(cn,xr):cn,_r,Le?lt(Kr,Pn):Kr);ke[he]=fn,Ge[he]=fn-_r}if(Y){var Jr=he==="x"?$:X,Qi=he==="x"?ee:H,Qr=ke[Fe],pn=Qr+Pe[Jr],Zo=Qr-Pe[Qi],ea=ye(Le?jt(pn,xr):pn,Qr,Le?lt(Zo,Pn):Zo);ke[Fe]=ea,Ge[Fe]=ea-Qr}}f.modifiersData[R]=Ge}}var ue={name:"preventOverflow",enabled:!0,phase:"main",fn:oe,requiresIfExists:["offset"]},T=function(f,x){return f=typeof f=="function"?f(Object.assign({},x.rects,{placement:x.placement})):f,De(typeof f!="number"?f:Ee(f,c))};function ut(h){var f,x=h.state,R=h.name,F=h.options,W=x.elements.arrow,G=x.modifiersData.popperOffsets,Y=We(x.placement),re=M(Y),ce=[X,H].indexOf(Y)>=0,J=ce?"height":"width";if(!(!W||!G)){var Re=T(F.padding,x),He=S(W),Le=re==="y"?$:X,Se=re==="y"?ee:H,Ne=x.rects.reference[J]+x.rects.reference[re]-G[re]-x.rects.popper[J],Pe=G[re]-x.rects.reference[re],Xe=k(W),je=Xe?re==="y"?Xe.clientHeight||0:Xe.clientWidth||0:0,Ke=Ne/2-Pe/2,he=Re[Le],Fe=je-He[J]-Re[Se],ke=je/2-He[J]/2+Ke,Ve=ye(he,ke,Fe),$e=re;x.modifiersData[R]=(f={},f[$e]=Ve,f.centerOffset=Ve-ke,f)}}function me(h){var f=h.state,x=h.options,R=x.element,F=R===void 0?"[data-popper-arrow]":R;if(F!=null&&!(typeof F=="string"&&(F=f.elements.popper.querySelector(F),!F))){if(o(F)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),!mr(f.elements.popper,F)){console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}f.elements.arrow=F}}var Mr={name:"arrow",enabled:!0,phase:"main",fn:ut,effect:me,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function rr(h,f,x){return x===void 0&&(x={x:0,y:0}),{top:h.top-f.height-x.y,right:h.right-f.width+x.x,bottom:h.bottom-f.height+x.y,left:h.left-f.width-x.x}}function qr(h){return[$,H,ee,X].some(function(f){return h[f]>=0})}function Yr(h){var f=h.state,x=h.name,R=f.rects.reference,F=f.rects.popper,W=f.modifiersData.preventOverflow,G=Ue(f,{elementContext:"reference"}),Y=Ue(f,{altBoundary:!0}),re=rr(G,R),ce=rr(Y,F,W),J=qr(re),Re=qr(ce);f.modifiersData[x]={referenceClippingOffsets:re,popperEscapeOffsets:ce,isReferenceHidden:J,hasPopperEscaped:Re},f.attributes.popper=Object.assign({},f.attributes.popper,{"data-popper-reference-hidden":J,"data-popper-escaped":Re})}var Xr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Yr},Mt=[sn,yr,A,te],Ht=gr({defaultModifiers:Mt}),nr=[sn,yr,A,te,xe,le,ue,Mr,Xr],un=gr({defaultModifiers:nr});t.applyStyles=te,t.arrow=Mr,t.computeStyles=A,t.createPopper=un,t.createPopperLite=Ht,t.defaultModifiers=nr,t.detectOverflow=Ue,t.eventListeners=sn,t.flip=le,t.hide=Xr,t.offset=xe,t.popperGenerator=gr,t.popperOffsets=yr,t.preventOverflow=ue}),ps=cs(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=Vu(),r='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',n="tippy-box",i="tippy-content",o="tippy-backdrop",a="tippy-arrow",l="tippy-svg-arrow",s={passive:!0,capture:!0};function u(w,A){return{}.hasOwnProperty.call(w,A)}function p(w,A,_){if(Array.isArray(w)){var V=w[A];return V??(Array.isArray(_)?_[A]:_)}return w}function g(w,A){var _={}.toString.call(w);return _.indexOf("[object")===0&&_.indexOf(A+"]")>-1}function E(w,A){return typeof w=="function"?w.apply(void 0,A):w}function y(w,A){if(A===0)return w;var _;return function(V){clearTimeout(_),_=setTimeout(function(){w(V)},A)}}function O(w,A){var _=Object.assign({},w);return A.forEach(function(V){delete _[V]}),_}function S(w){return w.split(/\s+/).filter(Boolean)}function D(w){return[].concat(w)}function N(w,A){w.indexOf(A)===-1&&w.push(A)}function C(w){return w.filter(function(A,_){return w.indexOf(A)===_})}function j(w){return w.split("-")[0]}function b(w){return[].slice.call(w)}function U(w){return Object.keys(w).reduce(function(A,_){return w[_]!==void 0&&(A[_]=w[_]),A},{})}function k(){return document.createElement("div")}function $(w){return["Element","Fragment"].some(function(A){return g(w,A)})}function ee(w){return g(w,"NodeList")}function H(w){return g(w,"MouseEvent")}function X(w){return!!(w&&w._tippy&&w._tippy.reference===w)}function ie(w){return $(w)?[w]:ee(w)?b(w):Array.isArray(w)?w:b(document.querySelectorAll(w))}function c(w,A){w.forEach(function(_){_&&(_.style.transitionDuration=A+"ms")})}function d(w,A){w.forEach(function(_){_&&_.setAttribute("data-state",A)})}function v(w){var A,_=D(w),V=_[0];return!(V==null||(A=V.ownerDocument)==null)&&A.body?V.ownerDocument:document}function m(w,A){var _=A.clientX,V=A.clientY;return w.every(function(te){var K=te.popperRect,q=te.popperState,xe=te.props,de=xe.interactiveBorder,ge=j(q.placement),Oe=q.modifiersData.offset;if(!Oe)return!0;var Ie=ge==="bottom"?Oe.top.y:0,Ye=ge==="top"?Oe.bottom.y:0,_e=ge==="right"?Oe.left.x:0,Be=ge==="left"?Oe.right.x:0,le=K.top-V+Ie>de,be=V-K.bottom-Ye>de,ye=K.left-_+_e>de,oe=_-K.right-Be>de;return le||be||ye||oe})}function B(w,A,_){var V=A+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(te){w[V](te,_)})}var P={isTouch:!1},I=0;function Q(){P.isTouch||(P.isTouch=!0,window.performance&&document.addEventListener("mousemove",Me))}function Me(){var w=performance.now();w-I<20&&(P.isTouch=!1,document.removeEventListener("mousemove",Me)),I=w}function bt(){var w=document.activeElement;if(X(w)){var A=w._tippy;w.blur&&!A.state.isVisible&&w.blur()}}function st(){document.addEventListener("touchstart",Q,s),window.addEventListener("blur",bt)}var Qt=typeof window<"u"&&typeof document<"u",Ft=Qt?navigator.userAgent:"",Ct=/MSIE |Trident\//.test(Ft);function ht(w){var A=w==="destroy"?"n already-":" ";return[w+"() was called on a"+A+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Zt(w){var A=/[ \t]{2,}/g,_=/^[ \t]*/gm;return w.replace(A," ").replace(_,"").trim()}function Nt(w){return Zt(`
|
|
6
|
+
%ctippy.js
|
|
7
|
+
|
|
8
|
+
%c`+Zt(w)+`
|
|
9
|
+
|
|
10
|
+
%c\u{1F477}\u200D This is a development-only message. It will be removed in production.
|
|
11
|
+
`)}function er(w){return[Nt(w),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var mt;dr();function dr(){mt=new Set}function Et(w,A){if(w&&!mt.has(A)){var _;mt.add(A),(_=console).warn.apply(_,er(A))}}function Rt(w,A){if(w&&!mt.has(A)){var _;mt.add(A),(_=console).error.apply(_,er(A))}}function Tt(w){var A=!w,_=Object.prototype.toString.call(w)==="[object Object]"&&!w.addEventListener;Rt(A,["tippy() was passed","`"+String(w)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Rt(_,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var Dt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Cr={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Qe=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Dt,{},Cr),Vr=Object.keys(Qe),Wr=function(A){lt(A,[]);var _=Object.keys(A);_.forEach(function(V){Qe[V]=A[V]})};function We(w){var A=w.plugins||[],_=A.reduce(function(V,te){var K=te.name,q=te.defaultValue;return K&&(V[K]=w[K]!==void 0?w[K]:q),V},{});return Object.assign({},w,{},_)}function zt(w,A){var _=A?Object.keys(We(Object.assign({},Qe,{plugins:A}))):Vr,V=_.reduce(function(te,K){var q=(w.getAttribute("data-tippy-"+K)||"").trim();if(!q)return te;if(K==="content")te[K]=q;else try{te[K]=JSON.parse(q)}catch{te[K]=q}return te},{});return V}function hr(w,A){var _=Object.assign({},A,{content:E(A.content,[w])},A.ignoreAttributes?{}:zt(w,A.plugins));return _.aria=Object.assign({},Qe.aria,{},_.aria),_.aria={expanded:_.aria.expanded==="auto"?A.interactive:_.aria.expanded,content:_.aria.content==="auto"?A.interactive?null:"describedby":_.aria.content},_}function lt(w,A){w===void 0&&(w={}),A===void 0&&(A=[]);var _=Object.keys(w);_.forEach(function(V){var te=O(Qe,Object.keys(Dt)),K=!u(te,V);K&&(K=A.filter(function(q){return q.name===V}).length===0),Et(K,["`"+V+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
|
|
12
|
+
|
|
13
|
+
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
14
|
+
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var jt=function(){return"innerHTML"};function Bt(w,A){w[jt()]=A}function Tr(w){var A=k();return w===!0?A.className=a:(A.className=l,$(w)?A.appendChild(w):Bt(A,w)),A}function mr(w,A){$(A.content)?(Bt(w,""),w.appendChild(A.content)):typeof A.content!="function"&&(A.allowHTML?Bt(w,A.content):w.textContent=A.content)}function $t(w){var A=w.firstElementChild,_=b(A.children);return{box:A,content:_.find(function(V){return V.classList.contains(i)}),arrow:_.find(function(V){return V.classList.contains(a)||V.classList.contains(l)}),backdrop:_.find(function(V){return V.classList.contains(o)})}}function Cn(w){var A=k(),_=k();_.className=n,_.setAttribute("data-state","hidden"),_.setAttribute("tabindex","-1");var V=k();V.className=i,V.setAttribute("data-state","hidden"),mr(V,w.props),A.appendChild(_),_.appendChild(V),te(w.props,w.props);function te(K,q){var xe=$t(A),de=xe.box,ge=xe.content,Oe=xe.arrow;q.theme?de.setAttribute("data-theme",q.theme):de.removeAttribute("data-theme"),typeof q.animation=="string"?de.setAttribute("data-animation",q.animation):de.removeAttribute("data-animation"),q.inertia?de.setAttribute("data-inertia",""):de.removeAttribute("data-inertia"),de.style.maxWidth=typeof q.maxWidth=="number"?q.maxWidth+"px":q.maxWidth,q.role?de.setAttribute("role",q.role):de.removeAttribute("role"),(K.content!==q.content||K.allowHTML!==q.allowHTML)&&mr(ge,w.props),q.arrow?Oe?K.arrow!==q.arrow&&(de.removeChild(Oe),de.appendChild(Tr(q.arrow))):de.appendChild(Tr(q.arrow)):Oe&&de.removeChild(Oe)}return{popper:A,onUpdate:te}}Cn.$$tippy=!0;var Tn=1,Ur=[],zr=[];function Dr(w,A){var _=hr(w,Object.assign({},Qe,{},We(U(A)))),V,te,K,q=!1,xe=!1,de=!1,ge=!1,Oe,Ie,Ye,_e=[],Be=y(je,_.interactiveDebounce),le,be=Tn++,ye=null,oe=C(_.plugins),ue={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},T={id:be,reference:w,popper:k(),popperInstance:ye,props:_,state:ue,plugins:oe,clearDelayTimeouts:_r,setProps:cn,setContent:Kr,show:Lr,hide:Xn,hideWithInteractivity:Gr,enable:ir,disable:Ot,unmount:Dn,destroy:Kn};if(!_.render)return Rt(!0,"render() function has not been supplied."),T;var ut=_.render(T),me=ut.popper,Mr=ut.onUpdate;me.setAttribute("data-tippy-root",""),me.id="tippy-"+T.id,T.popper=me,w._tippy=T,me._tippy=T;var rr=oe.map(function(L){return L.fn(T)}),qr=w.hasAttribute("aria-expanded");return Ne(),F(),f(),x("onCreate",[T]),_.showOnCreate&&Ge(),me.addEventListener("mouseenter",function(){T.props.interactive&&T.state.isVisible&&T.clearDelayTimeouts()}),me.addEventListener("mouseleave",function(L){T.props.interactive&&T.props.trigger.indexOf("mouseenter")>=0&&(nr().addEventListener("mousemove",Be),Be(L))}),T;function Yr(){var L=T.props.touch;return Array.isArray(L)?L:[L,0]}function Xr(){return Yr()[0]==="hold"}function Mt(){var L;return!!((L=T.props.render)!=null&&L.$$tippy)}function Ht(){return le||w}function nr(){var L=Ht().parentNode;return L?v(L):document}function un(){return $t(me)}function h(L){return T.state.isMounted&&!T.state.isVisible||P.isTouch||Oe&&Oe.type==="focus"?0:p(T.props.delay,L?0:1,Qe.delay)}function f(){me.style.pointerEvents=T.props.interactive&&T.state.isVisible?"":"none",me.style.zIndex=""+T.props.zIndex}function x(L,ne,ae){if(ae===void 0&&(ae=!0),rr.forEach(function(Ae){Ae[L]&&Ae[L].apply(void 0,ne)}),ae){var we;(we=T.props)[L].apply(we,ne)}}function R(){var L=T.props.aria;if(L.content){var ne="aria-"+L.content,ae=me.id,we=D(T.props.triggerTarget||w);we.forEach(function(Ae){var ct=Ae.getAttribute(ne);if(T.state.isVisible)Ae.setAttribute(ne,ct?ct+" "+ae:ae);else{var ft=ct&&ct.replace(ae,"").trim();ft?Ae.setAttribute(ne,ft):Ae.removeAttribute(ne)}})}}function F(){if(!(qr||!T.props.aria.expanded)){var L=D(T.props.triggerTarget||w);L.forEach(function(ne){T.props.interactive?ne.setAttribute("aria-expanded",T.state.isVisible&&ne===Ht()?"true":"false"):ne.removeAttribute("aria-expanded")})}}function W(){nr().removeEventListener("mousemove",Be),Ur=Ur.filter(function(L){return L!==Be})}function G(L){if(!(P.isTouch&&(de||L.type==="mousedown"))&&!(T.props.interactive&&me.contains(L.target))){if(Ht().contains(L.target)){if(P.isTouch||T.state.isVisible&&T.props.trigger.indexOf("click")>=0)return}else x("onClickOutside",[T,L]);T.props.hideOnClick===!0&&(T.clearDelayTimeouts(),T.hide(),xe=!0,setTimeout(function(){xe=!1}),T.state.isMounted||J())}}function Y(){de=!0}function re(){de=!1}function ce(){var L=nr();L.addEventListener("mousedown",G,!0),L.addEventListener("touchend",G,s),L.addEventListener("touchstart",re,s),L.addEventListener("touchmove",Y,s)}function J(){var L=nr();L.removeEventListener("mousedown",G,!0),L.removeEventListener("touchend",G,s),L.removeEventListener("touchstart",re,s),L.removeEventListener("touchmove",Y,s)}function Re(L,ne){Le(L,function(){!T.state.isVisible&&me.parentNode&&me.parentNode.contains(me)&&ne()})}function He(L,ne){Le(L,ne)}function Le(L,ne){var ae=un().box;function we(Ae){Ae.target===ae&&(B(ae,"remove",we),ne())}if(L===0)return ne();B(ae,"remove",Ie),B(ae,"add",we),Ie=we}function Se(L,ne,ae){ae===void 0&&(ae=!1);var we=D(T.props.triggerTarget||w);we.forEach(function(Ae){Ae.addEventListener(L,ne,ae),_e.push({node:Ae,eventType:L,handler:ne,options:ae})})}function Ne(){Xr()&&(Se("touchstart",Xe,{passive:!0}),Se("touchend",Ke,{passive:!0})),S(T.props.trigger).forEach(function(L){if(L!=="manual")switch(Se(L,Xe),L){case"mouseenter":Se("mouseleave",Ke);break;case"focus":Se(Ct?"focusout":"blur",he);break;case"focusin":Se("focusout",he);break}})}function Pe(){_e.forEach(function(L){var ne=L.node,ae=L.eventType,we=L.handler,Ae=L.options;ne.removeEventListener(ae,we,Ae)}),_e=[]}function Xe(L){var ne,ae=!1;if(!(!T.state.isEnabled||Fe(L)||xe)){var we=((ne=Oe)==null?void 0:ne.type)==="focus";Oe=L,le=L.currentTarget,F(),!T.state.isVisible&&H(L)&&Ur.forEach(function(Ae){return Ae(L)}),L.type==="click"&&(T.props.trigger.indexOf("mouseenter")<0||q)&&T.props.hideOnClick!==!1&&T.state.isVisible?ae=!0:Ge(L),L.type==="click"&&(q=!ae),ae&&!we&&Ze(L)}}function je(L){var ne=L.target,ae=Ht().contains(ne)||me.contains(ne);if(!(L.type==="mousemove"&&ae)){var we=rt().concat(me).map(function(Ae){var ct,ft=Ae._tippy,wr=(ct=ft.popperInstance)==null?void 0:ct.state;return wr?{popperRect:Ae.getBoundingClientRect(),popperState:wr,props:_}:null}).filter(Boolean);m(we,L)&&(W(),Ze(L))}}function Ke(L){var ne=Fe(L)||T.props.trigger.indexOf("click")>=0&&q;if(!ne){if(T.props.interactive){T.hideWithInteractivity(L);return}Ze(L)}}function he(L){T.props.trigger.indexOf("focusin")<0&&L.target!==Ht()||T.props.interactive&&L.relatedTarget&&me.contains(L.relatedTarget)||Ze(L)}function Fe(L){return P.isTouch?Xr()!==L.type.indexOf("touch")>=0:!1}function ke(){Ve();var L=T.props,ne=L.popperOptions,ae=L.placement,we=L.offset,Ae=L.getReferenceClientRect,ct=L.moveTransition,ft=Mt()?$t(me).arrow:null,wr=Ae?{getBoundingClientRect:Ae,contextElement:Ae.contextElement||Ht()}:w,Gn={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(fn){var Jr=fn.state;if(Mt()){var Qi=un(),Qr=Qi.box;["placement","reference-hidden","escaped"].forEach(function(pn){pn==="placement"?Qr.setAttribute("data-placement",Jr.placement):Jr.attributes.popper["data-popper-"+pn]?Qr.setAttribute("data-"+pn,""):Qr.removeAttribute("data-"+pn)}),Jr.attributes.popper={}}}},xr=[{name:"offset",options:{offset:we}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!ct}},Gn];Mt()&&ft&&xr.push({name:"arrow",options:{element:ft,padding:3}}),xr.push.apply(xr,ne?.modifiers||[]),T.popperInstance=e.createPopper(wr,me,Object.assign({},ne,{placement:ae,onFirstUpdate:Ye,modifiers:xr}))}function Ve(){T.popperInstance&&(T.popperInstance.destroy(),T.popperInstance=null)}function $e(){var L=T.props.appendTo,ne,ae=Ht();T.props.interactive&&L===Qe.appendTo||L==="parent"?ne=ae.parentNode:ne=E(L,[ae]),ne.contains(me)||ne.appendChild(me),ke(),Et(T.props.interactive&&L===Qe.appendTo&&ae.nextElementSibling!==me,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
|
|
15
|
+
|
|
16
|
+
`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
|
|
17
|
+
|
|
18
|
+
`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
|
|
19
|
+
|
|
20
|
+
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function rt(){return b(me.querySelectorAll("[data-tippy-root]"))}function Ge(L){T.clearDelayTimeouts(),L&&x("onTrigger",[T,L]),ce();var ne=h(!0),ae=Yr(),we=ae[0],Ae=ae[1];P.isTouch&&we==="hold"&&Ae&&(ne=Ae),ne?V=setTimeout(function(){T.show()},ne):T.show()}function Ze(L){if(T.clearDelayTimeouts(),x("onUntrigger",[T,L]),!T.state.isVisible){J();return}if(!(T.props.trigger.indexOf("mouseenter")>=0&&T.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(L.type)>=0&&q)){var ne=h(!1);ne?te=setTimeout(function(){T.state.isVisible&&T.hide()},ne):K=requestAnimationFrame(function(){T.hide()})}}function ir(){T.state.isEnabled=!0}function Ot(){T.hide(),T.state.isEnabled=!1}function _r(){clearTimeout(V),clearTimeout(te),cancelAnimationFrame(K)}function cn(L){if(Et(T.state.isDestroyed,ht("setProps")),!T.state.isDestroyed){x("onBeforeUpdate",[T,L]),Pe();var ne=T.props,ae=hr(w,Object.assign({},T.props,{},L,{ignoreAttributes:!0}));T.props=ae,Ne(),ne.interactiveDebounce!==ae.interactiveDebounce&&(W(),Be=y(je,ae.interactiveDebounce)),ne.triggerTarget&&!ae.triggerTarget?D(ne.triggerTarget).forEach(function(we){we.removeAttribute("aria-expanded")}):ae.triggerTarget&&w.removeAttribute("aria-expanded"),F(),f(),Mr&&Mr(ne,ae),T.popperInstance&&(ke(),rt().forEach(function(we){requestAnimationFrame(we._tippy.popperInstance.forceUpdate)})),x("onAfterUpdate",[T,L])}}function Kr(L){T.setProps({content:L})}function Lr(){Et(T.state.isDestroyed,ht("show"));var L=T.state.isVisible,ne=T.state.isDestroyed,ae=!T.state.isEnabled,we=P.isTouch&&!T.props.touch,Ae=p(T.props.duration,0,Qe.duration);if(!(L||ne||ae||we)&&!Ht().hasAttribute("disabled")&&(x("onShow",[T],!1),T.props.onShow(T)!==!1)){if(T.state.isVisible=!0,Mt()&&(me.style.visibility="visible"),f(),ce(),T.state.isMounted||(me.style.transition="none"),Mt()){var ct=un(),ft=ct.box,wr=ct.content;c([ft,wr],0)}Ye=function(){var xr;if(!(!T.state.isVisible||ge)){if(ge=!0,me.offsetHeight,me.style.transition=T.props.moveTransition,Mt()&&T.props.animation){var Pn=un(),fn=Pn.box,Jr=Pn.content;c([fn,Jr],Ae),d([fn,Jr],"visible")}R(),F(),N(zr,T),(xr=T.popperInstance)==null||xr.forceUpdate(),T.state.isMounted=!0,x("onMount",[T]),T.props.animation&&Mt()&&He(Ae,function(){T.state.isShown=!0,x("onShown",[T])})}},$e()}}function Xn(){Et(T.state.isDestroyed,ht("hide"));var L=!T.state.isVisible,ne=T.state.isDestroyed,ae=!T.state.isEnabled,we=p(T.props.duration,1,Qe.duration);if(!(L||ne||ae)&&(x("onHide",[T],!1),T.props.onHide(T)!==!1)){if(T.state.isVisible=!1,T.state.isShown=!1,ge=!1,q=!1,Mt()&&(me.style.visibility="hidden"),W(),J(),f(),Mt()){var Ae=un(),ct=Ae.box,ft=Ae.content;T.props.animation&&(c([ct,ft],we),d([ct,ft],"hidden"))}R(),F(),T.props.animation?Mt()&&Re(we,T.unmount):T.unmount()}}function Gr(L){Et(T.state.isDestroyed,ht("hideWithInteractivity")),nr().addEventListener("mousemove",Be),N(Ur,Be),Be(L)}function Dn(){Et(T.state.isDestroyed,ht("unmount")),T.state.isVisible&&T.hide(),T.state.isMounted&&(Ve(),rt().forEach(function(L){L._tippy.unmount()}),me.parentNode&&me.parentNode.removeChild(me),zr=zr.filter(function(L){return L!==T}),T.state.isMounted=!1,x("onHidden",[T]))}function Kn(){Et(T.state.isDestroyed,ht("destroy")),!T.state.isDestroyed&&(T.clearDelayTimeouts(),T.unmount(),Pe(),delete w._tippy,T.state.isDestroyed=!0,x("onDestroy",[T]))}}function M(w,A){A===void 0&&(A={});var _=Qe.plugins.concat(A.plugins||[]);Tt(w),lt(A,_),st();var V=Object.assign({},A,{plugins:_}),te=ie(w),K=$(V.content),q=te.length>1;Et(K&&q,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
|
|
21
|
+
|
|
22
|
+
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
|
|
23
|
+
|
|
24
|
+
`,`1) content: element.innerHTML
|
|
25
|
+
`,"2) content: () => element.cloneNode(true)"].join(" "));var xe=te.reduce(function(de,ge){var Oe=ge&&Dr(ge,V);return Oe&&de.push(Oe),de},[]);return $(w)?xe[0]:xe}M.defaultProps=Qe,M.setDefaultProps=Wr,M.currentInput=P;var Z=function(A){var _=A===void 0?{}:A,V=_.exclude,te=_.duration;zr.forEach(function(K){var q=!1;if(V&&(q=X(V)?K.reference===V:K.popper===V.popper),!q){var xe=K.props.duration;K.setProps({duration:te}),K.hide(),K.state.isDestroyed||K.setProps({duration:xe})}})},se=Object.assign({},e.applyStyles,{effect:function(A){var _=A.state,V={popper:{position:_.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(_.elements.popper.style,V.popper),_.styles=V,_.elements.arrow&&Object.assign(_.elements.arrow.style,V.arrow)}}),De=function(A,_){var V;_===void 0&&(_={}),Rt(!Array.isArray(A),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(A)].join(" "));var te=A,K=[],q,xe=_.overrides,de=[],ge=!1;function Oe(){K=te.map(function(oe){return oe.reference})}function Ie(oe){te.forEach(function(ue){oe?ue.enable():ue.disable()})}function Ye(oe){return te.map(function(ue){var T=ue.setProps;return ue.setProps=function(ut){T(ut),ue.reference===q&&oe.setProps(ut)},function(){ue.setProps=T}})}function _e(oe,ue){var T=K.indexOf(ue);if(ue!==q){q=ue;var ut=(xe||[]).concat("content").reduce(function(me,Mr){return me[Mr]=te[T].props[Mr],me},{});oe.setProps(Object.assign({},ut,{getReferenceClientRect:typeof ut.getReferenceClientRect=="function"?ut.getReferenceClientRect:function(){return ue.getBoundingClientRect()}}))}}Ie(!1),Oe();var Be={fn:function(){return{onDestroy:function(){Ie(!0)},onHidden:function(){q=null},onClickOutside:function(T){T.props.showOnCreate&&!ge&&(ge=!0,q=null)},onShow:function(T){T.props.showOnCreate&&!ge&&(ge=!0,_e(T,K[0]))},onTrigger:function(T,ut){_e(T,ut.currentTarget)}}}},le=M(k(),Object.assign({},O(_,["overrides"]),{plugins:[Be].concat(_.plugins||[]),triggerTarget:K,popperOptions:Object.assign({},_.popperOptions,{modifiers:[].concat(((V=_.popperOptions)==null?void 0:V.modifiers)||[],[se])})})),be=le.show;le.show=function(oe){if(be(),!q&&oe==null)return _e(le,K[0]);if(!(q&&oe==null)){if(typeof oe=="number")return K[oe]&&_e(le,K[oe]);if(te.includes(oe)){var ue=oe.reference;return _e(le,ue)}if(K.includes(oe))return _e(le,oe)}},le.showNext=function(){var oe=K[0];if(!q)return le.show(0);var ue=K.indexOf(q);le.show(K[ue+1]||oe)},le.showPrevious=function(){var oe=K[K.length-1];if(!q)return le.show(oe);var ue=K.indexOf(q),T=K[ue-1]||oe;le.show(T)};var ye=le.setProps;return le.setProps=function(oe){xe=oe.overrides||xe,ye(oe)},le.setInstances=function(oe){Ie(!0),de.forEach(function(ue){return ue()}),te=oe,Ie(!1),Oe(),Ye(le),le.setProps({triggerTarget:K})},de=Ye(le),le},Ee={mouseover:"mouseenter",focusin:"focus",click:"click"};function Ue(w,A){Rt(!(A&&A.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var _=[],V=[],te=!1,K=A.target,q=O(A,["target"]),xe=Object.assign({},q,{trigger:"manual",touch:!1}),de=Object.assign({},q,{showOnCreate:!0}),ge=M(w,xe),Oe=D(ge);function Ie(be){if(!(!be.target||te)){var ye=be.target.closest(K);if(ye){var oe=ye.getAttribute("data-tippy-trigger")||A.trigger||Qe.trigger;if(!ye._tippy&&!(be.type==="touchstart"&&typeof de.touch=="boolean")&&!(be.type!=="touchstart"&&oe.indexOf(Ee[be.type])<0)){var ue=M(ye,de);ue&&(V=V.concat(ue))}}}}function Ye(be,ye,oe,ue){ue===void 0&&(ue=!1),be.addEventListener(ye,oe,ue),_.push({node:be,eventType:ye,handler:oe,options:ue})}function _e(be){var ye=be.reference;Ye(ye,"touchstart",Ie,s),Ye(ye,"mouseover",Ie),Ye(ye,"focusin",Ie),Ye(ye,"click",Ie)}function Be(){_.forEach(function(be){var ye=be.node,oe=be.eventType,ue=be.handler,T=be.options;ye.removeEventListener(oe,ue,T)}),_=[]}function le(be){var ye=be.destroy,oe=be.enable,ue=be.disable;be.destroy=function(T){T===void 0&&(T=!0),T&&V.forEach(function(ut){ut.destroy()}),V=[],Be(),ye()},be.enable=function(){oe(),V.forEach(function(T){return T.enable()}),te=!1},be.disable=function(){ue(),V.forEach(function(T){return T.disable()}),te=!0},_e(be)}return Oe.forEach(le),ge}var yt={name:"animateFill",defaultValue:!1,fn:function(A){var _;if(!((_=A.props.render)!=null&&_.$$tippy))return Rt(A.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var V=$t(A.popper),te=V.box,K=V.content,q=A.props.animateFill?vr():null;return{onCreate:function(){q&&(te.insertBefore(q,te.firstElementChild),te.setAttribute("data-animatefill",""),te.style.overflow="hidden",A.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(q){var de=te.style.transitionDuration,ge=Number(de.replace("ms",""));K.style.transitionDelay=Math.round(ge/10)+"ms",q.style.transitionDuration=de,d([q],"visible")}},onShow:function(){q&&(q.style.transitionDuration="0ms")},onHide:function(){q&&d([q],"hidden")}}}};function vr(){var w=k();return w.className=o,d([w],"hidden"),w}var Pr={clientX:0,clientY:0},Pt=[];function gr(w){var A=w.clientX,_=w.clientY;Pr={clientX:A,clientY:_}}function tr(w){w.addEventListener("mousemove",gr)}function br(w){w.removeEventListener("mousemove",gr)}var sn={name:"followCursor",defaultValue:!1,fn:function(A){var _=A.reference,V=v(A.props.triggerTarget||_),te=!1,K=!1,q=!0,xe=A.props;function de(){return A.props.followCursor==="initial"&&A.state.isVisible}function ge(){V.addEventListener("mousemove",Ye)}function Oe(){V.removeEventListener("mousemove",Ye)}function Ie(){te=!0,A.setProps({getReferenceClientRect:null}),te=!1}function Ye(le){var be=le.target?_.contains(le.target):!0,ye=A.props.followCursor,oe=le.clientX,ue=le.clientY,T=_.getBoundingClientRect(),ut=oe-T.left,me=ue-T.top;(be||!A.props.interactive)&&A.setProps({getReferenceClientRect:function(){var rr=_.getBoundingClientRect(),qr=oe,Yr=ue;ye==="initial"&&(qr=rr.left+ut,Yr=rr.top+me);var Xr=ye==="horizontal"?rr.top:Yr,Mt=ye==="vertical"?rr.right:qr,Ht=ye==="horizontal"?rr.bottom:Yr,nr=ye==="vertical"?rr.left:qr;return{width:Mt-nr,height:Ht-Xr,top:Xr,right:Mt,bottom:Ht,left:nr}}})}function _e(){A.props.followCursor&&(Pt.push({instance:A,doc:V}),tr(V))}function Be(){Pt=Pt.filter(function(le){return le.instance!==A}),Pt.filter(function(le){return le.doc===V}).length===0&&br(V)}return{onCreate:_e,onDestroy:Be,onBeforeUpdate:function(){xe=A.props},onAfterUpdate:function(be,ye){var oe=ye.followCursor;te||oe!==void 0&&xe.followCursor!==oe&&(Be(),oe?(_e(),A.state.isMounted&&!K&&!de()&&ge()):(Oe(),Ie()))},onMount:function(){A.props.followCursor&&!K&&(q&&(Ye(Pr),q=!1),de()||ge())},onTrigger:function(be,ye){H(ye)&&(Pr={clientX:ye.clientX,clientY:ye.clientY}),K=ye.type==="focus"},onHidden:function(){A.props.followCursor&&(Ie(),Oe(),q=!0)}}}};function ln(w,A){var _;return{popperOptions:Object.assign({},w.popperOptions,{modifiers:[].concat((((_=w.popperOptions)==null?void 0:_.modifiers)||[]).filter(function(V){var te=V.name;return te!==A.name}),[A])})}}var yr={name:"inlinePositioning",defaultValue:!1,fn:function(A){var _=A.reference;function V(){return!!A.props.inlinePositioning}var te,K=-1,q=!1,xe={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(Ye){var _e=Ye.state;V()&&(te!==_e.placement&&A.setProps({getReferenceClientRect:function(){return de(_e.placement)}}),te=_e.placement)}};function de(Ie){return Gi(j(Ie),_.getBoundingClientRect(),b(_.getClientRects()),K)}function ge(Ie){q=!0,A.setProps(Ie),q=!1}function Oe(){q||ge(ln(A.props,xe))}return{onCreate:Oe,onAfterUpdate:Oe,onTrigger:function(Ye,_e){if(H(_e)){var Be=b(A.reference.getClientRects()),le=Be.find(function(be){return be.left-2<=_e.clientX&&be.right+2>=_e.clientX&&be.top-2<=_e.clientY&&be.bottom+2>=_e.clientY});K=Be.indexOf(le)}},onUntrigger:function(){K=-1}}}};function Gi(w,A,_,V){if(_.length<2||w===null)return A;if(_.length===2&&V>=0&&_[0].left>_[1].right)return _[V]||A;switch(w){case"top":case"bottom":{var te=_[0],K=_[_.length-1],q=w==="top",xe=te.top,de=K.bottom,ge=q?te.left:K.left,Oe=q?te.right:K.right,Ie=Oe-ge,Ye=de-xe;return{top:xe,bottom:de,left:ge,right:Oe,width:Ie,height:Ye}}case"left":case"right":{var _e=Math.min.apply(Math,_.map(function(me){return me.left})),Be=Math.max.apply(Math,_.map(function(me){return me.right})),le=_.filter(function(me){return w==="left"?me.left===_e:me.right===Be}),be=le[0].top,ye=le[le.length-1].bottom,oe=_e,ue=Be,T=ue-oe,ut=ye-be;return{top:be,bottom:ye,left:oe,right:ue,width:T,height:ut}}default:return A}}var Ji={name:"sticky",defaultValue:!1,fn:function(A){var _=A.reference,V=A.popper;function te(){return A.popperInstance?A.popperInstance.state.elements.reference:_}function K(ge){return A.props.sticky===!0||A.props.sticky===ge}var q=null,xe=null;function de(){var ge=K("reference")?te().getBoundingClientRect():null,Oe=K("popper")?V.getBoundingClientRect():null;(ge&&Yn(q,ge)||Oe&&Yn(xe,Oe))&&A.popperInstance&&A.popperInstance.update(),q=ge,xe=Oe,A.state.isMounted&&requestAnimationFrame(de)}return{onMount:function(){A.props.sticky&&de()}}}};function Yn(w,A){return w&&A?w.top!==A.top||w.right!==A.right||w.bottom!==A.bottom||w.left!==A.left:!0}M.setDefaultProps({render:Cn}),t.animateFill=yt,t.createSingleton=De,t.default=M,t.delegate=Ue,t.followCursor=sn,t.hideAll=Z,t.inlinePositioning=yr,t.roundArrow=r,t.sticky=Ji}),Po=fs(ps()),Wu=fs(ps()),Uu=t=>{let e={plugins:[]},r=i=>t[t.indexOf(i)+1];if(t.includes("animation")&&(e.animation=r("animation")),t.includes("duration")&&(e.duration=parseInt(r("duration"))),t.includes("delay")){let i=r("delay");e.delay=i.includes("-")?i.split("-").map(o=>parseInt(o)):parseInt(i)}if(t.includes("cursor")){e.plugins.push(Wu.followCursor);let i=r("cursor");["x","initial"].includes(i)?e.followCursor=i==="x"?"horizontal":"initial":e.followCursor=!0}t.includes("on")&&(e.trigger=r("on")),t.includes("arrowless")&&(e.arrow=!1),t.includes("html")&&(e.allowHTML=!0),t.includes("interactive")&&(e.interactive=!0),t.includes("border")&&e.interactive&&(e.interactiveBorder=parseInt(r("border"))),t.includes("debounce")&&e.interactive&&(e.interactiveDebounce=parseInt(r("debounce"))),t.includes("max-width")&&(e.maxWidth=parseInt(r("max-width"))),t.includes("theme")&&(e.theme=r("theme")),t.includes("placement")&&(e.placement=r("placement"));let n={};return t.includes("no-flip")&&(n.modifiers||(n.modifiers=[]),n.modifiers.push({name:"flip",enabled:!1})),e.popperOptions=n,e};function Mo(t){t.magic("tooltip",e=>(r,n={})=>{let i=n.timeout;delete n.timeout;let o=(0,Po.default)(e,{content:r,trigger:"manual",...n});o.show(),setTimeout(()=>{o.hide(),setTimeout(()=>o.destroy(),n.duration||300)},i||2e3)}),t.directive("tooltip",(e,{modifiers:r,expression:n},{evaluateLater:i,effect:o,cleanup:a})=>{let l=r.length>0?Uu(r):{};e.__x_tippy||(e.__x_tippy=(0,Po.default)(e,l)),a(()=>{e.__x_tippy&&(e.__x_tippy.destroy(),delete e.__x_tippy)});let s=()=>e.__x_tippy.enable(),u=()=>e.__x_tippy.disable(),p=g=>{g?(s(),e.__x_tippy.setContent(g)):u()};if(r.includes("raw"))p(n);else{let g=i(n);o(()=>{g(E=>{typeof E=="object"?(e.__x_tippy.setProps(E),s()):p(E)})})}})}Mo.defaultProps=t=>(Po.default.setDefaultProps(t),Mo);var zu=Mo,ds=zu;window.addEventListener("keydown",t=>{if(t.key!=="Escape")return;let e=!1;document.querySelectorAll("[data-tippy-root]").forEach(r=>{let n=r._tippy;n?.state.isVisible&&(n.hide(),e=!0)}),e&&t.stopImmediatePropagation()},!0);window.addEventListener("keydown",t=>{if(t.key!=="Escape"||!(t.target instanceof Element))return;let e=t.target.closest(".fi-dropdown");for(;e;){if(window.Alpine.$data(e)?.handleEscape(t))return;e=e.parentElement?.closest(".fi-dropdown")}},!0);var hs=({isMenu:t=!0}={})=>({isMenu:t,panelId:null,triggerId:null,activeTrigger:null,shouldCheckTriggerVisibility:!0,isOpen:!1,isClosing:!1,shouldAutofocus:!0,observer:null,triggerResizeObserver:null,triggerVisibilityAnimationFrame:null,navigateListener:null,resizeListener:null,resizeAnimationFrame:null,triggerKeydownListener:null,menuKeydownListener:null,menuClickListener:null,menuFocusinListener:null,menuFocusoutListener:null,activeMenuItem:null,activeMenuItemIndex:0,menuFocusPosition:"first",init(){this.navigateListener=()=>this.close(),this.resizeListener=()=>{let e=this.activeTrigger;window.cancelAnimationFrame(this.resizeAnimationFrame),this.resizeAnimationFrame=window.requestAnimationFrame(()=>{this.resizeAnimationFrame=null,this.handleResize(e)})},document.addEventListener("livewire:navigate",this.navigateListener),window.addEventListener("resize",this.resizeListener),this.setUpAria(),this.triggerKeydownListener=e=>this.handleTriggerKeydown(e),this.getTriggerContainer()?.addEventListener("keydown",this.triggerKeydownListener),this.isMenu&&this.$refs.panel&&(this.menuKeydownListener=e=>this.handleMenuKeydown(e),this.menuClickListener=e=>this.handleMenuClick(e),this.menuFocusinListener=e=>this.handleMenuFocusin(e),this.menuFocusoutListener=e=>this.handleMenuFocusout(e),this.$refs.panel.addEventListener("keydown",this.menuKeydownListener),this.$refs.panel.addEventListener("click",this.menuClickListener),this.$refs.panel.addEventListener("focusin",this.menuFocusinListener),this.$refs.panel.addEventListener("focusout",this.menuFocusoutListener))},setUpAria(){let e=this.getTrigger(),r=this.$refs.panel;if(!e||!r)return;this.panelId??(this.panelId=r.id||"fi-dropdown-panel-"+Math.random().toString(36).slice(2,10)),this.isMenu&&(this.triggerId=this.getTriggerId(e),this.setUpMenu()),Alpine.bind(r,{id:this.panelId}),this.syncAria();let n=this.getTriggerContainer();this.observer=new MutationObserver(i=>{i.some(o=>(o.type==="childList"||["class","hidden","style","tabindex"].includes(o.attributeName))&&n.contains(o.target))&&this.scheduleTriggerVisibilityCheck(),this.syncAria(),this.setUpMenu(),this.recoverMenuFocus()}),this.observer.observe(r,{attributeFilter:this.isMenu?["aria-labelledby","style"]:["style"],childList:this.isMenu,subtree:this.isMenu}),this.observer.observe(n,{attributeFilter:["aria-controls","aria-expanded","aria-haspopup","class","hidden","style","tabindex"],childList:!0,subtree:!0}),this.triggerResizeObserver=new ResizeObserver(()=>{this.shouldCheckTriggerVisibility=!0,this.syncAria()}),this.triggerResizeObserver.observe(n)},scheduleTriggerVisibilityCheck(){this.triggerVisibilityAnimationFrame===null&&(this.triggerVisibilityAnimationFrame=window.requestAnimationFrame(()=>{this.triggerVisibilityAnimationFrame=null,this.shouldCheckTriggerVisibility=!0,this.syncAria()}))},getTriggerContainer(){return this.$root.querySelector(":scope > .fi-dropdown-trigger")},getTriggers(){return Array.from(this.$root.querySelectorAll(":scope > .fi-dropdown-trigger button, :scope > .fi-dropdown-trigger a, :scope > .fi-dropdown-trigger [tabindex]"))},getTrigger(){let e=this.getTriggerContainer();if(!this.shouldCheckTriggerVisibility&&this.activeTrigger?.isConnected&&e?.contains(this.activeTrigger))return this.activeTrigger;this.shouldCheckTriggerVisibility=!1;let r=this.getTriggers(),n=r.length>1?r.find(i=>this.isElementVisible(i)):r[0];return this.activeTrigger?.isConnected&&e?.contains(this.activeTrigger)&&(this.activeTrigger===n||!n)?this.activeTrigger:(this.activeTrigger&&(this.activeTrigger.removeAttribute("aria-controls"),this.activeTrigger.removeAttribute("aria-expanded"),this.activeTrigger.removeAttribute("aria-haspopup")),this.activeTrigger=n??r[0],this.activeTrigger)},isElementVisible(e){let r=window.getComputedStyle(e);return r.display!=="none"&&r.visibility!=="hidden"&&e.getClientRects().length>0},setActiveTrigger(e){let r=this.getTriggerContainer(),i=(e instanceof Element?e:e?.target instanceof Element?e.target:null)?.closest("button, a, [tabindex]");!i||!r?.contains(i)||(this.activeTrigger&&this.activeTrigger!==i&&(this.activeTrigger.removeAttribute("aria-controls"),this.activeTrigger.removeAttribute("aria-expanded"),this.activeTrigger.removeAttribute("aria-haspopup")),this.activeTrigger=i)},getTriggerId(e){return e.id||Alpine.bind(e,{id:"fi-dropdown-trigger-"+Math.random().toString(36).slice(2,10)}),e.id},handleResize(e){this.shouldCheckTriggerVisibility=!0;let r=this.getTrigger(),n=this.$refs.panel,i=n?.style.display==="block";if(!(!r||r===e&&(!i||n.trigger===r))){if(i){this.close();return}this.syncAria()}},syncAria(){let e=this.getTrigger(),r=this.$refs.panel;if(!e||!r)return;let n=this.isOpen;this.isOpen=r.style.display==="block",this.isOpen||(this.activeMenuItem=null),this.isMenu?(this.setAttributeIfChanged(e,"aria-haspopup","menu"),this.triggerId=this.getTriggerId(e),this.setAttributeIfChanged(r,"role","menu"),this.setAttributeIfChanged(r,"aria-labelledby",this.triggerId)):e.removeAttribute("aria-haspopup"),this.setAttributeIfChanged(e,"aria-controls",this.panelId),this.setAttributeIfChanged(e,"aria-expanded",this.isOpen?"true":"false"),this.$root.querySelector(":scope > .fi-dropdown-trigger")?.removeAttribute("aria-expanded"),this.isOpen&&!n&&(r.dispatchEvent(new CustomEvent("dropdown-opened",{detail:{shouldAutofocus:this.shouldAutofocus}})),this.isMenu&&this.shouldAutofocus&&this.focusMenuItem(this.menuFocusPosition))},setAttributeIfChanged(e,r,n){e.getAttribute(r)!==n&&e.setAttribute(r,n)},setUpMenu(){let e=this.$refs.panel;!this.isMenu||!e||(e.querySelectorAll(".fi-dropdown-list").forEach(r=>{r.closest(".fi-dropdown-panel")===e&&this.setAttributeIfChanged(r,"role","group")}),e.querySelectorAll(".fi-dropdown-list-item").forEach(r=>{r.closest(".fi-dropdown-panel")===e&&(r.hasAttribute("role")||r.setAttribute("role","menuitem"),this.setAttributeIfChanged(r,"tabindex","-1"),r.hasAttribute("disabled")&&(r.setAttribute("aria-disabled","true"),r.removeAttribute("disabled")))}))},handleTriggerKeydown(e){if(this.setActiveTrigger(e),!(e.target.closest('[role="menu"]')&&e.target.closest('[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]'))){if(this.isMenu&&e.key==="Tab"&&this.$refs.panel?.style.display==="block"){this.closeMenuHierarchy();return}if(["Enter"," "].includes(e.key)){e.preventDefault(),this.toggle(e);return}this.isMenu&&["ArrowDown","ArrowUp"].includes(e.key)&&(e.preventDefault(),this.open(e))}},toggle(e){this.setActiveTrigger(e),this.isClosing=!1,this.shouldAutofocus=!(e instanceof MouseEvent),this.menuFocusPosition=e?.key==="ArrowUp"?"last":"first",this.$refs.panel?.toggle(this.getTrigger()??e),this.syncAria()},open(e){if(this.setActiveTrigger(e),this.isClosing=!1,this.shouldAutofocus=!(e instanceof MouseEvent),this.menuFocusPosition=e?.key==="ArrowUp"?"last":"first",this.isMenu&&this.$refs.panel?.style.display==="block"){this.shouldAutofocus&&this.focusMenuItem(this.menuFocusPosition);return}this.$refs.panel?.open(this.getTrigger()??e),this.syncAria()},handleEscape(e){if(e.key!=="Escape")return;let r=this.$refs.panel,i=this.$root.querySelector(":scope > .fi-dropdown-trigger")?.contains(e.target);if(!r||r.style.display!=="block"||!i&&!r.contains(e.target))return!1;let o=i||e.target.dispatchEvent(new CustomEvent("dropdown-escape",{bubbles:!0,cancelable:!0}));return e.stopImmediatePropagation(),o&&(this.close(),this.getTrigger()?.focus()),!0},getMenuItems(){let e=this.$refs.panel;return e?Array.from(e.querySelectorAll('[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]')).filter(r=>r.closest('[role="menu"]')===e&&this.isElementVisible(r)):[]},focusMenuItem(e){let r=this.getMenuItems();r.length&&r[e==="last"?r.length-1:0].focus()},handleMenuFocusin(e){let n=this.getMenuItems().indexOf(e.target);n!==-1&&(this.activeMenuItem=e.target,this.activeMenuItemIndex=n)},handleMenuFocusout(e){if(!e.relatedTarget)return;let r=e.target.closest(".fi-dropdown");r&&r!==this.$el&&e.relatedTarget instanceof Element&&e.relatedTarget.closest(".fi-dropdown")===r||e.relatedTarget instanceof Element&&e.relatedTarget.closest('[role="menu"]')===this.$refs.panel||(this.activeMenuItem=null)},recoverMenuFocus(){if(!this.isMenu||!this.isOpen||!this.activeMenuItem||this.activeMenuItem.isConnected||document.activeElement!==document.body)return;let e=this.getMenuItems(),r=e[Math.min(this.activeMenuItemIndex,e.length-1)];this.activeMenuItem=null,r?.focus()},handleMenuKeydown(e){if(!(e.target instanceof Element))return;let r=this.$refs.panel,n=e.target.closest('[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]');if(!n||n.closest('[role="menu"]')!==r)return;if(n.getAttribute("aria-disabled")==="true"&&["Enter"," ","ArrowRight"].includes(e.key)){e.preventDefault();return}let i=n.closest(".fi-dropdown");if(i&&i!==this.$el&&["Enter"," ","ArrowRight"].includes(e.key)){e.preventDefault();let l=window.Alpine.$data(i);l?.open(l.getTrigger());return}if(e.key===" "&&n.matches("a[href]")){e.preventDefault(),n.click();return}if(e.key==="Tab"){this.closeMenuHierarchy();return}let o=this.getMenuItems(),a=o.indexOf(n);if(["ArrowDown","ArrowUp"].includes(e.key)){e.preventDefault();let l=e.key==="ArrowDown"?(a+1)%o.length:(a-1+o.length)%o.length;o[l]?.focus();return}if(e.key==="ArrowLeft"){this.$el.parentElement?.closest('[role="menu"]')&&(e.preventDefault(),this.close(),this.getTrigger()?.focus());return}},handleMenuClick(e){if(!(e.target instanceof Element))return;let r=e.target.closest('[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]');if(!r||r.closest('[role="menu"]')!==this.$refs.panel)return;if(r.getAttribute("aria-disabled")==="true"){e.preventDefault();return}let n=r.closest(".fi-dropdown");n&&n!==this.$el||this.closeMenuHierarchy()},closeMenuHierarchy(){let e=this.$el,r=this.getTrigger();for(;e?.matches(".fi-dropdown");){let n=window.Alpine.$data(e);if(!n?.isMenu)break;r=n?.getTrigger()??r,n?.close(),e=e.parentElement?.closest(".fi-dropdown")}r?.focus()},close(e){this.isClosing||(this.isClosing=!0,this.activeMenuItem=null,this.$refs.panel?.querySelectorAll(".fi-dropdown").forEach(r=>{window.Alpine.$data(r)?.close(e)}),this.$refs.panel?.close(e),this.syncAria())},destroy(){this.getTriggerContainer()?.removeEventListener("keydown",this.triggerKeydownListener),this.$refs.panel?.removeEventListener("keydown",this.menuKeydownListener),this.$refs.panel?.removeEventListener("click",this.menuClickListener),this.$refs.panel?.removeEventListener("focusin",this.menuFocusinListener),this.$refs.panel?.removeEventListener("focusout",this.menuFocusoutListener),this.triggerKeydownListener=null,this.menuKeydownListener=null,this.menuClickListener=null,this.menuFocusinListener=null,this.menuFocusoutListener=null,this.observer?.disconnect(),this.observer=null,this.triggerResizeObserver?.disconnect(),this.triggerResizeObserver=null,window.cancelAnimationFrame(this.triggerVisibilityAnimationFrame),this.triggerVisibilityAnimationFrame=null,document.removeEventListener("livewire:navigate",this.navigateListener),window.removeEventListener("resize",this.resizeListener),window.cancelAnimationFrame(this.resizeAnimationFrame),this.navigateListener=null,this.resizeListener=null,this.resizeAnimationFrame=null}});var ms=()=>({form:null,eventListenersController:null,processingCount:0,isProcessing:!1,processingMessage:null,init(){this.form=this.$el.closest("form"),this.eventListenersController=new AbortController;let{signal:t}=this.eventListenersController;this.form?.addEventListener("form-processing-started",e=>{this.processingCount++,this.isProcessing=!0,this.processingMessage=e.detail.message},{signal:t}),this.form?.addEventListener("form-processing-finished",()=>{this.processingCount=Math.max(0,this.processingCount-1),this.isProcessing=this.processingCount>0},{signal:t})},destroy(){this.eventListenersController?.abort()}});var ui=0,$i=null,qu=()=>{if(ui===0){let t=document.documentElement.style.overflow,e=document.documentElement.style.paddingRight,r=window.innerWidth-document.documentElement.clientWidth,n=window.getComputedStyle(document.documentElement).scrollbarGutter;document.documentElement.style.overflow="hidden",n&&n!=="auto"?$i=()=>{document.documentElement.style.overflow=t}:(document.documentElement.style.paddingRight=`${r}px`,$i=()=>{document.documentElement.style.overflow=t,document.documentElement.style.paddingRight=e})}ui++},Yu=()=>{ui!==0&&(ui--,ui===0&&($i?.(),$i=null))},vs=({id:t,isScrollLocked:e=!0,shouldRestoreFocus:r=!0})=>({isOpen:!1,isDestroyed:!1,isWindowVisible:!1,isTrapActive:!1,isHoldingScrollLock:!1,livewire:null,previouslyFocusedElement:null,textSelectionClosePreventionMouseDownHandler:null,textSelectionClosePreventionMouseUpHandler:null,textSelectionClosePreventionClickHandler:null,init(){this.$nextTick(()=>{this.isDestroyed||!this.$el.isConnected||(this.isWindowVisible=this.isOpen,this.setUpTextSelectionClosePrevention(),this.$watch("isOpen",()=>this.isWindowVisible=this.isOpen))})},setUpTextSelectionClosePrevention(){let n=".fi-modal-window",i=".fi-modal-close-overlay",a=!1,l=0;this.textSelectionClosePreventionClickHandler=u=>{u.stopPropagation(),u.preventDefault(),document.removeEventListener("click",this.textSelectionClosePreventionClickHandler,!0)};let s=u=>!u.target.closest(n)&&(u.target.closest(i)||u.target.closest("body"));this.textSelectionClosePreventionMouseDownHandler=u=>{l=Date.now(),a=!!u.target.closest(n)},this.textSelectionClosePreventionMouseUpHandler=u=>{let p=Date.now()-l<75;a&&s(u)&&!p?document.addEventListener("click",this.textSelectionClosePreventionClickHandler,!0):document.removeEventListener("click",this.textSelectionClosePreventionClickHandler,!0),a=!1},document.addEventListener("mousedown",this.textSelectionClosePreventionMouseDownHandler,!0),document.addEventListener("mouseup",this.textSelectionClosePreventionMouseUpHandler,!0)},isTopmost(){if(!t)return!0;let n=document.querySelectorAll(".fi-modal-open");return n.length===0?!1:n[n.length-1].id===t},acquireScrollLock(){this.isHoldingScrollLock||(this.isHoldingScrollLock=!0,qu())},releaseScrollLock(){this.isHoldingScrollLock&&(this.isHoldingScrollLock=!1,Yu())},restorePreviouslyFocusedElement(){!r||!this.previouslyFocusedElement||this.$nextTick(()=>{this.isDestroyed||(this.previouslyFocusedElement.focus({preventScroll:!0}),this.previouslyFocusedElement=null)})},close(){this.closeQuietly(),this.isTrapActive=!1,this.releaseScrollLock(),this.restorePreviouslyFocusedElement(),this.$el.isConnected&&this.$dispatch("modal-closed",{id:t})},closeQuietly(){this.isOpen=!1},open(){this.$nextTick(()=>{this.isDestroyed||!this.$el.isConnected||(r&&(this.previouslyFocusedElement=document.activeElement),this.isOpen=!0,requestAnimationFrame(()=>requestAnimationFrame(()=>{this.isDestroyed||!this.isOpen||!this.$el.isConnected||(this.isTrapActive=!0)})),e&&this.acquireScrollLock(),document.dispatchEvent(new CustomEvent("x-modal-opened",{bubbles:!0,composed:!0,detail:{id:t}})))})},destroy(){this.isDestroyed=!0,this.releaseScrollLock();let n=!0;this.textSelectionClosePreventionMouseDownHandler&&(document.removeEventListener("mousedown",this.textSelectionClosePreventionMouseDownHandler,n),this.textSelectionClosePreventionMouseDownHandler=null),this.textSelectionClosePreventionMouseUpHandler&&(document.removeEventListener("mouseup",this.textSelectionClosePreventionMouseUpHandler,n),this.textSelectionClosePreventionMouseUpHandler=null),this.textSelectionClosePreventionClickHandler&&(document.removeEventListener("click",this.textSelectionClosePreventionClickHandler,n),this.textSelectionClosePreventionClickHandler=null)}});var gs=({shouldSubmitOnCompletion:t=!1}={})=>({inputs:[],lastSubmittedValue:null,pendingSubmissionValue:null,state:null,init(){this.inputs=Array.from(this.$root.querySelectorAll(".fi-one-time-code-input-digit")),this.distribute(this.state),this.$watch("state",e=>{this.read()!==(e??"")&&this.distribute(e)}),this.inputs.forEach((e,r)=>{e.addEventListener("input",n=>{n.stopPropagation();let i=n.target.value;if(i.length>1){this.distribute(i),this.commit(),this.focusInput(this.getFirstEmptyInputIndex()),this.submitIfComplete();return}if(i===""){this.commit(),this.submitIfComplete();return}if(/\D/.test(i)){n.target.value="",this.submitIfComplete();return}this.commit(),this.focusInput(r+1),this.submitIfComplete()}),e.addEventListener("keydown",n=>{if(["Backspace","Delete"].includes(n.key)&&n.target.value===""){this.focusInput(r-1);return}n.key==="ArrowLeft"&&(this.focusInput(r-1),n.preventDefault()),n.key==="ArrowRight"&&(this.focusInput(r+1),n.preventDefault())}),e.addEventListener("focus",n=>n.target.setSelectionRange(0,1)),e.addEventListener("pointerdown",n=>{let i=Math.min(r,this.getFirstEmptyInputIndex());i!==r&&(n.preventDefault(),this.focusInput(i))})})},distribute(e){let r=(e??"").toString().replace(/\D/g,"").slice(0,this.inputs.length);this.inputs.forEach((n,i)=>{n.value=r[i]??""}),r.length<this.inputs.length&&(this.lastSubmittedValue=null,this.pendingSubmissionValue=null)},read(){return this.inputs.map(e=>e.value).join("")},commit(){let e=this.read();this.state=e===""?null:e},submitIfComplete(){if(!t)return;let e=this.read();if(e.length<this.inputs.length){this.lastSubmittedValue=null,this.pendingSubmissionValue=null;return}e===this.lastSubmittedValue||e===this.pendingSubmissionValue||(this.pendingSubmissionValue=e,this.$nextTick(()=>{if(this.pendingSubmissionValue!==e||(this.pendingSubmissionValue=null,this.read()!==e))return;let r=this.$root.closest("form");r&&(!r.noValidate&&!r.reportValidity()||(this.lastSubmittedValue=e,r.requestSubmit()))}))},getFirstEmptyInputIndex(){let e=this.inputs.findIndex(r=>r.value==="");return e===-1?this.inputs.length-1:e},focusInput(e){let r=this.inputs[Math.max(0,Math.min(e,this.inputs.length-1))];if(r){if(document.activeElement===r){r.setSelectionRange(0,1);return}r.focus()}}});window.filamentDisabledButtonClickListener||(window.filamentDisabledButtonClickListener=t=>{t.target instanceof Element&&t.target.closest('button:is(.fi-btn, .fi-icon-btn, .fi-badge, .fi-link, .fi-dropdown-list-item)[aria-disabled="true"], [data-prevent-disabled-clicks][aria-disabled="true"]')&&(t.preventDefault(),t.stopImmediatePropagation())},window.addEventListener("click",window.filamentDisabledButtonClickListener,!0));var tt="top",pt="bottom",at="right",nt="left",Hi="auto",on=[tt,pt,at,nt],Br="start",gn="end",bs="clippingParents",Vi="viewport",Hn="popper",ys="reference",Lo=on.reduce(function(t,e){return t.concat([e+"-"+Br,e+"-"+gn])},[]),Wi=[].concat(on,[Hi]).reduce(function(t,e){return t.concat([e,e+"-"+Br,e+"-"+gn])},[]),Xu="beforeRead",Ku="read",Gu="afterRead",Ju="beforeMain",Qu="main",Zu="afterMain",ec="beforeWrite",tc="write",rc="afterWrite",ws=[Xu,Ku,Gu,Ju,Qu,Zu,ec,tc,rc];function vt(t){return t?(t.nodeName||"").toLowerCase():null}function qe(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Kt(t){var e=qe(t).Element;return t instanceof e||t instanceof Element}function dt(t){var e=qe(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Vn(t){if(typeof ShadowRoot>"u")return!1;var e=qe(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function nc(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},i=e.attributes[r]||{},o=e.elements[r];!dt(o)||!vt(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function ic(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var i=e.elements[n],o=e.attributes[n]||{},a=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),l=a.reduce(function(s,u){return s[u]="",s},{});!dt(i)||!vt(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(s){i.removeAttribute(s)}))})}}var ci={name:"applyStyles",enabled:!0,phase:"write",fn:nc,effect:ic,requires:["computeStyles"]};function gt(t){return t.split("-")[0]}var ur=Math.max,bn=Math.min,$r=Math.round;function Wn(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function fi(){return!/^((?!chrome|android).)*safari/i.test(Wn())}function Gt(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),i=1,o=1;e&&dt(t)&&(i=t.offsetWidth>0&&$r(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&$r(n.height)/t.offsetHeight||1);var a=Kt(t)?qe(t):window,l=a.visualViewport,s=!fi()&&r,u=(n.left+(s&&l?l.offsetLeft:0))/i,p=(n.top+(s&&l?l.offsetTop:0))/o,g=n.width/i,E=n.height/o;return{width:g,height:E,top:p,right:u+g,bottom:p+E,left:u,x:u,y:p}}function yn(t){var e=Gt(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function pi(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&Vn(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Lt(t){return qe(t).getComputedStyle(t)}function Ro(t){return["table","td","th"].indexOf(vt(t))>=0}function xt(t){return((Kt(t)?t.ownerDocument:t.document)||window.document).documentElement}function Hr(t){return vt(t)==="html"?t:t.assignedSlot||t.parentNode||(Vn(t)?t.host:null)||xt(t)}function xs(t){return!dt(t)||Lt(t).position==="fixed"?null:t.offsetParent}function oc(t){var e=/firefox/i.test(Wn()),r=/Trident/i.test(Wn());if(r&&dt(t)){var n=Lt(t);if(n.position==="fixed")return null}var i=Hr(t);for(Vn(i)&&(i=i.host);dt(i)&&["html","body"].indexOf(vt(i))<0;){var o=Lt(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function cr(t){for(var e=qe(t),r=xs(t);r&&Ro(r)&&Lt(r).position==="static";)r=xs(r);return r&&(vt(r)==="html"||vt(r)==="body"&&Lt(r).position==="static")?e:r||oc(t)||e}function wn(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function xn(t,e,r){return ur(t,bn(e,r))}function Es(t,e,r){var n=xn(t,e,r);return n>r?r:n}function di(){return{top:0,right:0,bottom:0,left:0}}function hi(t){return Object.assign({},di(),t)}function mi(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var ac=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,hi(typeof e!="number"?e:mi(e,on))};function sc(t){var e,r=t.state,n=t.name,i=t.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,l=gt(r.placement),s=wn(l),u=[nt,at].indexOf(l)>=0,p=u?"height":"width";if(!(!o||!a)){var g=ac(i.padding,r),E=yn(o),y=s==="y"?tt:nt,O=s==="y"?pt:at,S=r.rects.reference[p]+r.rects.reference[s]-a[s]-r.rects.popper[p],D=a[s]-r.rects.reference[s],N=cr(o),C=N?s==="y"?N.clientHeight||0:N.clientWidth||0:0,j=S/2-D/2,b=g[y],U=C-E[p]-g[O],k=C/2-E[p]/2+j,$=xn(b,k,U),ee=s;r.modifiersData[n]=(e={},e[ee]=$,e.centerOffset=$-k,e)}}function lc(t){var e=t.state,r=t.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||pi(e.elements.popper,i)&&(e.elements.arrow=i))}var Os={name:"arrow",enabled:!0,phase:"main",fn:sc,effect:lc,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Jt(t){return t.split("-")[1]}var uc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cc(t,e){var r=t.x,n=t.y,i=e.devicePixelRatio||1;return{x:$r(r*i)/i||0,y:$r(n*i)/i||0}}function As(t){var e,r=t.popper,n=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,l=t.position,s=t.gpuAcceleration,u=t.adaptive,p=t.roundOffsets,g=t.isFixed,E=a.x,y=E===void 0?0:E,O=a.y,S=O===void 0?0:O,D=typeof p=="function"?p({x:y,y:S}):{x:y,y:S};y=D.x,S=D.y;var N=a.hasOwnProperty("x"),C=a.hasOwnProperty("y"),j=nt,b=tt,U=window;if(u){var k=cr(r),$="clientHeight",ee="clientWidth";if(k===qe(r)&&(k=xt(r),Lt(k).position!=="static"&&l==="absolute"&&($="scrollHeight",ee="scrollWidth")),k=k,i===tt||(i===nt||i===at)&&o===gn){b=pt;var H=g&&k===U&&U.visualViewport?U.visualViewport.height:k[$];S-=H-n.height,S*=s?1:-1}if(i===nt||(i===tt||i===pt)&&o===gn){j=at;var X=g&&k===U&&U.visualViewport?U.visualViewport.width:k[ee];y-=X-n.width,y*=s?1:-1}}var ie=Object.assign({position:l},u&&uc),c=p===!0?cc({x:y,y:S},qe(r)):{x:y,y:S};if(y=c.x,S=c.y,s){var d;return Object.assign({},ie,(d={},d[b]=C?"0":"",d[j]=N?"0":"",d.transform=(U.devicePixelRatio||1)<=1?"translate("+y+"px, "+S+"px)":"translate3d("+y+"px, "+S+"px, 0)",d))}return Object.assign({},ie,(e={},e[b]=C?S+"px":"",e[j]=N?y+"px":"",e.transform="",e))}function fc(t){var e=t.state,r=t.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,l=r.roundOffsets,s=l===void 0?!0:l,u={placement:gt(e.placement),variation:Jt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,As(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:s})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,As(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var Ss={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:fc,data:{}};var Ui={passive:!0};function pc(t){var e=t.state,r=t.instance,n=t.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,l=a===void 0?!0:a,s=qe(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach(function(p){p.addEventListener("scroll",r.update,Ui)}),l&&s.addEventListener("resize",r.update,Ui),function(){o&&u.forEach(function(p){p.removeEventListener("scroll",r.update,Ui)}),l&&s.removeEventListener("resize",r.update,Ui)}}var Cs={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:pc,data:{}};var dc={left:"right",right:"left",bottom:"top",top:"bottom"};function Un(t){return t.replace(/left|right|bottom|top/g,function(e){return dc[e]})}var hc={start:"end",end:"start"};function zi(t){return t.replace(/start|end/g,function(e){return hc[e]})}function En(t){var e=qe(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function On(t){return Gt(xt(t)).left+En(t).scrollLeft}function ko(t,e){var r=qe(t),n=xt(t),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;var u=fi();(u||!u&&e==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l+On(t),y:s}}function Io(t){var e,r=xt(t),n=En(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=ur(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=ur(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+On(t),s=-n.scrollTop;return Lt(i||r).direction==="rtl"&&(l+=ur(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:s}}function An(t){var e=Lt(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function qi(t){return["html","body","#document"].indexOf(vt(t))>=0?t.ownerDocument.body:dt(t)&&An(t)?t:qi(Hr(t))}function an(t,e){var r;e===void 0&&(e=[]);var n=qi(t),i=n===((r=t.ownerDocument)==null?void 0:r.body),o=qe(n),a=i?[o].concat(o.visualViewport||[],An(n)?n:[]):n,l=e.concat(a);return i?l:l.concat(an(Hr(a)))}function zn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function mc(t,e){var r=Gt(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function Ts(t,e,r){return e===Vi?zn(ko(t,r)):Kt(e)?mc(e,r):zn(Io(xt(t)))}function vc(t){var e=an(Hr(t)),r=["absolute","fixed"].indexOf(Lt(t).position)>=0,n=r&&dt(t)?cr(t):t;return Kt(n)?e.filter(function(i){return Kt(i)&&pi(i,n)&&vt(i)!=="body"}):[]}function Fo(t,e,r,n){var i=e==="clippingParents"?vc(t):[].concat(e),o=[].concat(i,[r]),a=o[0],l=o.reduce(function(s,u){var p=Ts(t,u,n);return s.top=ur(p.top,s.top),s.right=bn(p.right,s.right),s.bottom=bn(p.bottom,s.bottom),s.left=ur(p.left,s.left),s},Ts(t,a,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function vi(t){var e=t.reference,r=t.element,n=t.placement,i=n?gt(n):null,o=n?Jt(n):null,a=e.x+e.width/2-r.width/2,l=e.y+e.height/2-r.height/2,s;switch(i){case tt:s={x:a,y:e.y-r.height};break;case pt:s={x:a,y:e.y+e.height};break;case at:s={x:e.x+e.width,y:l};break;case nt:s={x:e.x-r.width,y:l};break;default:s={x:e.x,y:e.y}}var u=i?wn(i):null;if(u!=null){var p=u==="y"?"height":"width";switch(o){case Br:s[u]=s[u]-(e[p]/2-r[p]/2);break;case gn:s[u]=s[u]+(e[p]/2-r[p]/2);break;default:}}return s}function fr(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=n===void 0?t.placement:n,o=r.strategy,a=o===void 0?t.strategy:o,l=r.boundary,s=l===void 0?bs:l,u=r.rootBoundary,p=u===void 0?Vi:u,g=r.elementContext,E=g===void 0?Hn:g,y=r.altBoundary,O=y===void 0?!1:y,S=r.padding,D=S===void 0?0:S,N=hi(typeof D!="number"?D:mi(D,on)),C=E===Hn?ys:Hn,j=t.rects.popper,b=t.elements[O?C:E],U=Fo(Kt(b)?b:b.contextElement||xt(t.elements.popper),s,p,a),k=Gt(t.elements.reference),$=vi({reference:k,element:j,strategy:"absolute",placement:i}),ee=zn(Object.assign({},j,$)),H=E===Hn?ee:k,X={top:U.top-H.top+N.top,bottom:H.bottom-U.bottom+N.bottom,left:U.left-H.left+N.left,right:H.right-U.right+N.right},ie=t.modifiersData.offset;if(E===Hn&&ie){var c=ie[i];Object.keys(X).forEach(function(d){var v=[at,pt].indexOf(d)>=0?1:-1,m=[tt,pt].indexOf(d)>=0?"y":"x";X[d]+=c[m]*v})}return X}function No(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,u=s===void 0?Wi:s,p=Jt(n),g=p?l?Lo:Lo.filter(function(O){return Jt(O)===p}):on,E=g.filter(function(O){return u.indexOf(O)>=0});E.length===0&&(E=g);var y=E.reduce(function(O,S){return O[S]=fr(t,{placement:S,boundary:i,rootBoundary:o,padding:a})[gt(S)],O},{});return Object.keys(y).sort(function(O,S){return y[O]-y[S]})}function gc(t){if(gt(t)===Hi)return[];var e=Un(t);return[zi(t),e,zi(e)]}function bc(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!0:a,s=r.fallbackPlacements,u=r.padding,p=r.boundary,g=r.rootBoundary,E=r.altBoundary,y=r.flipVariations,O=y===void 0?!0:y,S=r.allowedAutoPlacements,D=e.options.placement,N=gt(D),C=N===D,j=s||(C||!O?[Un(D)]:gc(D)),b=[D].concat(j).reduce(function(Ft,Ct){return Ft.concat(gt(Ct)===Hi?No(e,{placement:Ct,boundary:p,rootBoundary:g,padding:u,flipVariations:O,allowedAutoPlacements:S}):Ct)},[]),U=e.rects.reference,k=e.rects.popper,$=new Map,ee=!0,H=b[0],X=0;X<b.length;X++){var ie=b[X],c=gt(ie),d=Jt(ie)===Br,v=[tt,pt].indexOf(c)>=0,m=v?"width":"height",B=fr(e,{placement:ie,boundary:p,rootBoundary:g,altBoundary:E,padding:u}),P=v?d?at:nt:d?pt:tt;U[m]>k[m]&&(P=Un(P));var I=Un(P),Q=[];if(o&&Q.push(B[c]<=0),l&&Q.push(B[P]<=0,B[I]<=0),Q.every(function(Ft){return Ft})){H=ie,ee=!1;break}$.set(ie,Q)}if(ee)for(var Me=O?3:1,bt=function(Ct){var ht=b.find(function(Zt){var Nt=$.get(Zt);if(Nt)return Nt.slice(0,Ct).every(function(er){return er})});if(ht)return H=ht,"break"},st=Me;st>0;st--){var Qt=bt(st);if(Qt==="break")break}e.placement!==H&&(e.modifiersData[n]._skip=!0,e.placement=H,e.reset=!0)}}var Ds={name:"flip",enabled:!0,phase:"main",fn:bc,requiresIfExists:["offset"],data:{_skip:!1}};function Ps(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function Ms(t){return[tt,at,pt,nt].some(function(e){return t[e]>=0})}function yc(t){var e=t.state,r=t.name,n=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=fr(e,{elementContext:"reference"}),l=fr(e,{altBoundary:!0}),s=Ps(a,n),u=Ps(l,i,o),p=Ms(s),g=Ms(u);e.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:g},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":g})}var _s={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:yc};function wc(t,e,r){var n=gt(t),i=[nt,tt].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[nt,at].indexOf(n)>=0?{x:l,y:a}:{x:a,y:l}}function xc(t){var e=t.state,r=t.options,n=t.name,i=r.offset,o=i===void 0?[0,0]:i,a=Wi.reduce(function(p,g){return p[g]=wc(g,e.rects,o),p},{}),l=a[e.placement],s=l.x,u=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=s,e.modifiersData.popperOffsets.y+=u),e.modifiersData[n]=a}var Ls={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:xc};function Ec(t){var e=t.state,r=t.name;e.modifiersData[r]=vi({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var Rs={name:"popperOffsets",enabled:!0,phase:"read",fn:Ec,data:{}};function jo(t){return t==="x"?"y":"x"}function Oc(t){var e=t.state,r=t.options,n=t.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!1:a,s=r.boundary,u=r.rootBoundary,p=r.altBoundary,g=r.padding,E=r.tether,y=E===void 0?!0:E,O=r.tetherOffset,S=O===void 0?0:O,D=fr(e,{boundary:s,rootBoundary:u,padding:g,altBoundary:p}),N=gt(e.placement),C=Jt(e.placement),j=!C,b=wn(N),U=jo(b),k=e.modifiersData.popperOffsets,$=e.rects.reference,ee=e.rects.popper,H=typeof S=="function"?S(Object.assign({},e.rects,{placement:e.placement})):S,X=typeof H=="number"?{mainAxis:H,altAxis:H}:Object.assign({mainAxis:0,altAxis:0},H),ie=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,c={x:0,y:0};if(k){if(o){var d,v=b==="y"?tt:nt,m=b==="y"?pt:at,B=b==="y"?"height":"width",P=k[b],I=P+D[v],Q=P-D[m],Me=y?-ee[B]/2:0,bt=C===Br?$[B]:ee[B],st=C===Br?-ee[B]:-$[B],Qt=e.elements.arrow,Ft=y&&Qt?yn(Qt):{width:0,height:0},Ct=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:di(),ht=Ct[v],Zt=Ct[m],Nt=xn(0,$[B],Ft[B]),er=j?$[B]/2-Me-Nt-ht-X.mainAxis:bt-Nt-ht-X.mainAxis,mt=j?-$[B]/2+Me+Nt+Zt+X.mainAxis:st+Nt+Zt+X.mainAxis,dr=e.elements.arrow&&cr(e.elements.arrow),Et=dr?b==="y"?dr.clientTop||0:dr.clientLeft||0:0,Rt=(d=ie?.[b])!=null?d:0,Tt=P+er-Rt-Et,Dt=P+mt-Rt,Cr=xn(y?bn(I,Tt):I,P,y?ur(Q,Dt):Q);k[b]=Cr,c[b]=Cr-P}if(l){var Qe,Vr=b==="x"?tt:nt,Wr=b==="x"?pt:at,We=k[U],zt=U==="y"?"height":"width",hr=We+D[Vr],lt=We-D[Wr],jt=[tt,nt].indexOf(N)!==-1,Bt=(Qe=ie?.[U])!=null?Qe:0,Tr=jt?hr:We-$[zt]-ee[zt]-Bt+X.altAxis,mr=jt?We+$[zt]+ee[zt]-Bt-X.altAxis:lt,$t=y&&jt?Es(Tr,We,mr):xn(y?Tr:hr,We,y?mr:lt);k[U]=$t,c[U]=$t-We}e.modifiersData[n]=c}}var ks={name:"preventOverflow",enabled:!0,phase:"main",fn:Oc,requiresIfExists:["offset"]};function Bo(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function $o(t){return t===qe(t)||!dt(t)?En(t):Bo(t)}function Ac(t){var e=t.getBoundingClientRect(),r=$r(e.width)/t.offsetWidth||1,n=$r(e.height)/t.offsetHeight||1;return r!==1||n!==1}function Ho(t,e,r){r===void 0&&(r=!1);var n=dt(e),i=dt(e)&&Ac(e),o=xt(e),a=Gt(t,i,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((vt(e)!=="body"||An(o))&&(l=$o(e)),dt(e)?(s=Gt(e,!0),s.x+=e.clientLeft,s.y+=e.clientTop):o&&(s.x=On(o))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Sc(t){var e=new Map,r=new Set,n=[];t.forEach(function(o){e.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!r.has(l)){var s=e.get(l);s&&i(s)}}),n.push(o)}return t.forEach(function(o){r.has(o.name)||i(o)}),n}function Vo(t){var e=Sc(t);return ws.reduce(function(r,n){return r.concat(e.filter(function(i){return i.phase===n}))},[])}function Wo(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function Uo(t){var e=t.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var Is={placement:"bottom",modifiers:[],strategy:"absolute"};function Fs(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Ns(t){t===void 0&&(t={});var e=t,r=e.defaultModifiers,n=r===void 0?[]:r,i=e.defaultOptions,o=i===void 0?Is:i;return function(l,s,u){u===void 0&&(u=o);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Is,o),modifiersData:{},elements:{reference:l,popper:s},attributes:{},styles:{}},g=[],E=!1,y={state:p,setOptions:function(N){var C=typeof N=="function"?N(p.options):N;S(),p.options=Object.assign({},o,p.options,C),p.scrollParents={reference:Kt(l)?an(l):l.contextElement?an(l.contextElement):[],popper:an(s)};var j=Vo(Uo([].concat(n,p.options.modifiers)));return p.orderedModifiers=j.filter(function(b){return b.enabled}),O(),y.update()},forceUpdate:function(){if(!E){var N=p.elements,C=N.reference,j=N.popper;if(Fs(C,j)){p.rects={reference:Ho(C,cr(j),p.options.strategy==="fixed"),popper:yn(j)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(X){return p.modifiersData[X.name]=Object.assign({},X.data)});for(var b=0;b<p.orderedModifiers.length;b++){if(p.reset===!0){p.reset=!1,b=-1;continue}var U=p.orderedModifiers[b],k=U.fn,$=U.options,ee=$===void 0?{}:$,H=U.name;typeof k=="function"&&(p=k({state:p,options:ee,name:H,instance:y})||p)}}}},update:Wo(function(){return new Promise(function(D){y.forceUpdate(),D(p)})}),destroy:function(){S(),E=!0}};if(!Fs(l,s))return y;y.setOptions(u).then(function(D){!E&&u.onFirstUpdate&&u.onFirstUpdate(D)});function O(){p.orderedModifiers.forEach(function(D){var N=D.name,C=D.options,j=C===void 0?{}:C,b=D.effect;if(typeof b=="function"){var U=b({state:p,name:N,instance:y,options:j}),k=function(){};g.push(U||k)}})}function S(){g.forEach(function(D){return D()}),g=[]}return y}}var Cc=[Cs,Rs,Ss,ci,Ls,Ds,ks,Os,_s],zo=Ns({defaultModifiers:Cc});var Tc="tippy-box",Ys="tippy-content",Dc="tippy-backdrop",Xs="tippy-arrow",Ks="tippy-svg-arrow",Sn={passive:!0,capture:!0},Gs=function(){return document.body};function qo(t,e,r){if(Array.isArray(t)){var n=t[e];return n??(Array.isArray(r)?r[e]:r)}return t}function Qo(t,e){var r={}.toString.call(t);return r.indexOf("[object")===0&&r.indexOf(e+"]")>-1}function Js(t,e){return typeof t=="function"?t.apply(void 0,e):t}function js(t,e){if(e===0)return t;var r;return function(n){clearTimeout(r),r=setTimeout(function(){t(n)},e)}}function Pc(t){return t.split(/\s+/).filter(Boolean)}function qn(t){return[].concat(t)}function Bs(t,e){t.indexOf(e)===-1&&t.push(e)}function Mc(t){return t.filter(function(e,r){return t.indexOf(e)===r})}function _c(t){return t.split("-")[0]}function Xi(t){return[].slice.call(t)}function $s(t){return Object.keys(t).reduce(function(e,r){return t[r]!==void 0&&(e[r]=t[r]),e},{})}function gi(){return document.createElement("div")}function Ki(t){return["Element","Fragment"].some(function(e){return Qo(t,e)})}function Lc(t){return Qo(t,"NodeList")}function Rc(t){return Qo(t,"MouseEvent")}function kc(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function Ic(t){return Ki(t)?[t]:Lc(t)?Xi(t):Array.isArray(t)?t:Xi(document.querySelectorAll(t))}function Yo(t,e){t.forEach(function(r){r&&(r.style.transitionDuration=e+"ms")})}function Hs(t,e){t.forEach(function(r){r&&r.setAttribute("data-state",e)})}function Fc(t){var e,r=qn(t),n=r[0];return n!=null&&(e=n.ownerDocument)!=null&&e.body?n.ownerDocument:document}function Nc(t,e){var r=e.clientX,n=e.clientY;return t.every(function(i){var o=i.popperRect,a=i.popperState,l=i.props,s=l.interactiveBorder,u=_c(a.placement),p=a.modifiersData.offset;if(!p)return!0;var g=u==="bottom"?p.top.y:0,E=u==="top"?p.bottom.y:0,y=u==="right"?p.left.x:0,O=u==="left"?p.right.x:0,S=o.top-n+g>s,D=n-o.bottom-E>s,N=o.left-r+y>s,C=r-o.right-O>s;return S||D||N||C})}function Xo(t,e,r){var n=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){t[n](i,r)})}function Vs(t,e){for(var r=e;r;){var n;if(t.contains(r))return!0;r=r.getRootNode==null||(n=r.getRootNode())==null?void 0:n.host}return!1}var Sr={isTouch:!1},Ws=0;function jc(){Sr.isTouch||(Sr.isTouch=!0,window.performance&&document.addEventListener("mousemove",Qs))}function Qs(){var t=performance.now();t-Ws<20&&(Sr.isTouch=!1,document.removeEventListener("mousemove",Qs)),Ws=t}function Bc(){var t=document.activeElement;if(kc(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function $c(){document.addEventListener("touchstart",jc,Sn),window.addEventListener("blur",Bc)}var Hc=typeof window<"u"&&typeof document<"u",Vc=Hc?!!window.msCrypto:!1;var Wc={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Uc={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},pr=Object.assign({appendTo:Gs,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Wc,Uc),zc=Object.keys(pr),qc=function(e){var r=Object.keys(e);r.forEach(function(n){pr[n]=e[n]})};function Zs(t){var e=t.plugins||[],r=e.reduce(function(n,i){var o=i.name,a=i.defaultValue;if(o){var l;n[o]=t[o]!==void 0?t[o]:(l=pr[o])!=null?l:a}return n},{});return Object.assign({},t,r)}function Yc(t,e){var r=e?Object.keys(Zs(Object.assign({},pr,{plugins:e}))):zc,n=r.reduce(function(i,o){var a=(t.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return n}function Us(t,e){var r=Object.assign({},e,{content:Js(e.content,[t])},e.ignoreAttributes?{}:Yc(t,e.plugins));return r.aria=Object.assign({},pr.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?e.interactive:r.aria.expanded,content:r.aria.content==="auto"?e.interactive?null:"describedby":r.aria.content},r}var Xc=function(){return"innerHTML"};function Go(t,e){t[Xc()]=e}function zs(t){var e=gi();return t===!0?e.className=Xs:(e.className=Ks,Ki(t)?e.appendChild(t):Go(e,t)),e}function qs(t,e){Ki(e.content)?(Go(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?Go(t,e.content):t.textContent=e.content)}function Jo(t){var e=t.firstElementChild,r=Xi(e.children);return{box:e,content:r.find(function(n){return n.classList.contains(Ys)}),arrow:r.find(function(n){return n.classList.contains(Xs)||n.classList.contains(Ks)}),backdrop:r.find(function(n){return n.classList.contains(Dc)})}}function el(t){var e=gi(),r=gi();r.className=Tc,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=gi();n.className=Ys,n.setAttribute("data-state","hidden"),qs(n,t.props),e.appendChild(r),r.appendChild(n),i(t.props,t.props);function i(o,a){var l=Jo(e),s=l.box,u=l.content,p=l.arrow;a.theme?s.setAttribute("data-theme",a.theme):s.removeAttribute("data-theme"),typeof a.animation=="string"?s.setAttribute("data-animation",a.animation):s.removeAttribute("data-animation"),a.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?s.setAttribute("role",a.role):s.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&qs(u,t.props),a.arrow?p?o.arrow!==a.arrow&&(s.removeChild(p),s.appendChild(zs(a.arrow))):s.appendChild(zs(a.arrow)):p&&s.removeChild(p)}return{popper:e,onUpdate:i}}el.$$tippy=!0;var Kc=1,Yi=[],Ko=[];function Gc(t,e){var r=Us(t,Object.assign({},pr,Zs($s(e)))),n,i,o,a=!1,l=!1,s=!1,u=!1,p,g,E,y=[],O=js(Tt,r.interactiveDebounce),S,D=Kc++,N=null,C=Mc(r.plugins),j={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},b={id:D,reference:t,popper:gi(),popperInstance:N,props:r,state:j,plugins:C,clearDelayTimeouts:Tr,setProps:mr,setContent:$t,show:Cn,hide:Tn,hideWithInteractivity:Ur,enable:jt,disable:Bt,unmount:zr,destroy:Dr};if(!r.render)return b;var U=r.render(b),k=U.popper,$=U.onUpdate;k.setAttribute("data-tippy-root",""),k.id="tippy-"+b.id,b.popper=k,t._tippy=b,k._tippy=b;var ee=C.map(function(M){return M.fn(b)}),H=t.hasAttribute("aria-expanded");return dr(),Me(),P(),I("onCreate",[b]),r.showOnCreate&&hr(),k.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),k.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&v().addEventListener("mousemove",O)}),b;function X(){var M=b.props.touch;return Array.isArray(M)?M:[M,0]}function ie(){return X()[0]==="hold"}function c(){var M;return!!((M=b.props.render)!=null&&M.$$tippy)}function d(){return S||t}function v(){var M=d().parentNode;return M?Fc(M):document}function m(){return Jo(k)}function B(M){return b.state.isMounted&&!b.state.isVisible||Sr.isTouch||p&&p.type==="focus"?0:qo(b.props.delay,M?0:1,pr.delay)}function P(M){M===void 0&&(M=!1),k.style.pointerEvents=b.props.interactive&&!M?"":"none",k.style.zIndex=""+b.props.zIndex}function I(M,Z,se){if(se===void 0&&(se=!0),ee.forEach(function(Ee){Ee[M]&&Ee[M].apply(Ee,Z)}),se){var De;(De=b.props)[M].apply(De,Z)}}function Q(){var M=b.props.aria;if(M.content){var Z="aria-"+M.content,se=k.id,De=qn(b.props.triggerTarget||t);De.forEach(function(Ee){var Ue=Ee.getAttribute(Z);if(b.state.isVisible)Ee.setAttribute(Z,Ue?Ue+" "+se:se);else{var yt=Ue&&Ue.replace(se,"").trim();yt?Ee.setAttribute(Z,yt):Ee.removeAttribute(Z)}})}}function Me(){if(!(H||!b.props.aria.expanded)){var M=qn(b.props.triggerTarget||t);M.forEach(function(Z){b.props.interactive?Z.setAttribute("aria-expanded",b.state.isVisible&&Z===d()?"true":"false"):Z.removeAttribute("aria-expanded")})}}function bt(){v().removeEventListener("mousemove",O),Yi=Yi.filter(function(M){return M!==O})}function st(M){if(!(Sr.isTouch&&(s||M.type==="mousedown"))){var Z=M.composedPath&&M.composedPath()[0]||M.target;if(!(b.props.interactive&&Vs(k,Z))){if(qn(b.props.triggerTarget||t).some(function(se){return Vs(se,Z)})){if(Sr.isTouch||b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else I("onClickOutside",[b,M]);b.props.hideOnClick===!0&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout(function(){l=!1}),b.state.isMounted||ht())}}}function Qt(){s=!0}function Ft(){s=!1}function Ct(){var M=v();M.addEventListener("mousedown",st,!0),M.addEventListener("touchend",st,Sn),M.addEventListener("touchstart",Ft,Sn),M.addEventListener("touchmove",Qt,Sn)}function ht(){var M=v();M.removeEventListener("mousedown",st,!0),M.removeEventListener("touchend",st,Sn),M.removeEventListener("touchstart",Ft,Sn),M.removeEventListener("touchmove",Qt,Sn)}function Zt(M,Z){er(M,function(){!b.state.isVisible&&k.parentNode&&k.parentNode.contains(k)&&Z()})}function Nt(M,Z){er(M,Z)}function er(M,Z){var se=m().box;function De(Ee){Ee.target===se&&(Xo(se,"remove",De),Z())}if(M===0)return Z();Xo(se,"remove",g),Xo(se,"add",De),g=De}function mt(M,Z,se){se===void 0&&(se=!1);var De=qn(b.props.triggerTarget||t);De.forEach(function(Ee){Ee.addEventListener(M,Z,se),y.push({node:Ee,eventType:M,handler:Z,options:se})})}function dr(){ie()&&(mt("touchstart",Rt,{passive:!0}),mt("touchend",Dt,{passive:!0})),Pc(b.props.trigger).forEach(function(M){if(M!=="manual")switch(mt(M,Rt),M){case"mouseenter":mt("mouseleave",Dt);break;case"focus":mt(Vc?"focusout":"blur",Cr);break;case"focusin":mt("focusout",Cr);break}})}function Et(){y.forEach(function(M){var Z=M.node,se=M.eventType,De=M.handler,Ee=M.options;Z.removeEventListener(se,De,Ee)}),y=[]}function Rt(M){var Z,se=!1;if(!(!b.state.isEnabled||Qe(M)||l)){var De=((Z=p)==null?void 0:Z.type)==="focus";p=M,S=M.currentTarget,Me(),!b.state.isVisible&&Rc(M)&&Yi.forEach(function(Ee){return Ee(M)}),M.type==="click"&&(b.props.trigger.indexOf("mouseenter")<0||a)&&b.props.hideOnClick!==!1&&b.state.isVisible?se=!0:hr(M),M.type==="click"&&(a=!se),se&&!De&<(M)}}function Tt(M){var Z=M.target,se=d().contains(Z)||k.contains(Z);if(!(M.type==="mousemove"&&se)){var De=zt().concat(k).map(function(Ee){var Ue,yt=Ee._tippy,vr=(Ue=yt.popperInstance)==null?void 0:Ue.state;return vr?{popperRect:Ee.getBoundingClientRect(),popperState:vr,props:r}:null}).filter(Boolean);Nc(De,M)&&(bt(),lt(M))}}function Dt(M){var Z=Qe(M)||b.props.trigger.indexOf("click")>=0&&a;if(!Z){if(b.props.interactive){b.hideWithInteractivity(M);return}lt(M)}}function Cr(M){b.props.trigger.indexOf("focusin")<0&&M.target!==d()||b.props.interactive&&M.relatedTarget&&k.contains(M.relatedTarget)||lt(M)}function Qe(M){return Sr.isTouch?ie()!==M.type.indexOf("touch")>=0:!1}function Vr(){Wr();var M=b.props,Z=M.popperOptions,se=M.placement,De=M.offset,Ee=M.getReferenceClientRect,Ue=M.moveTransition,yt=c()?Jo(k).arrow:null,vr=Ee?{getBoundingClientRect:Ee,contextElement:Ee.contextElement||d()}:t,Pr={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(tr){var br=tr.state;if(c()){var sn=m(),ln=sn.box;["placement","reference-hidden","escaped"].forEach(function(yr){yr==="placement"?ln.setAttribute("data-placement",br.placement):br.attributes.popper["data-popper-"+yr]?ln.setAttribute("data-"+yr,""):ln.removeAttribute("data-"+yr)}),br.attributes.popper={}}}},Pt=[{name:"offset",options:{offset:De}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ue}},Pr];c()&&yt&&Pt.push({name:"arrow",options:{element:yt,padding:3}}),Pt.push.apply(Pt,Z?.modifiers||[]),b.popperInstance=zo(vr,k,Object.assign({},Z,{placement:se,onFirstUpdate:E,modifiers:Pt}))}function Wr(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function We(){var M=b.props.appendTo,Z,se=d();b.props.interactive&&M===Gs||M==="parent"?Z=se.parentNode:Z=Js(M,[se]),Z.contains(k)||Z.appendChild(k),b.state.isMounted=!0,Vr()}function zt(){return Xi(k.querySelectorAll("[data-tippy-root]"))}function hr(M){b.clearDelayTimeouts(),M&&I("onTrigger",[b,M]),Ct();var Z=B(!0),se=X(),De=se[0],Ee=se[1];Sr.isTouch&&De==="hold"&&Ee&&(Z=Ee),Z?n=setTimeout(function(){b.show()},Z):b.show()}function lt(M){if(b.clearDelayTimeouts(),I("onUntrigger",[b,M]),!b.state.isVisible){ht();return}if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(M.type)>=0&&a)){var Z=B(!1);Z?i=setTimeout(function(){b.state.isVisible&&b.hide()},Z):o=requestAnimationFrame(function(){b.hide()})}}function jt(){b.state.isEnabled=!0}function Bt(){b.hide(),b.state.isEnabled=!1}function Tr(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(o)}function mr(M){if(!b.state.isDestroyed){I("onBeforeUpdate",[b,M]),Et();var Z=b.props,se=Us(t,Object.assign({},Z,$s(M),{ignoreAttributes:!0}));b.props=se,dr(),Z.interactiveDebounce!==se.interactiveDebounce&&(bt(),O=js(Tt,se.interactiveDebounce)),Z.triggerTarget&&!se.triggerTarget?qn(Z.triggerTarget).forEach(function(De){De.removeAttribute("aria-expanded")}):se.triggerTarget&&t.removeAttribute("aria-expanded"),Me(),P(),$&&$(Z,se),b.popperInstance&&(Vr(),zt().forEach(function(De){requestAnimationFrame(De._tippy.popperInstance.forceUpdate)})),I("onAfterUpdate",[b,M])}}function $t(M){b.setProps({content:M})}function Cn(){var M=b.state.isVisible,Z=b.state.isDestroyed,se=!b.state.isEnabled,De=Sr.isTouch&&!b.props.touch,Ee=qo(b.props.duration,0,pr.duration);if(!(M||Z||se||De)&&!d().hasAttribute("disabled")&&(I("onShow",[b],!1),b.props.onShow(b)!==!1)){if(b.state.isVisible=!0,c()&&(k.style.visibility="visible"),P(),Ct(),b.state.isMounted||(k.style.transition="none"),c()){var Ue=m(),yt=Ue.box,vr=Ue.content;Yo([yt,vr],0)}E=function(){var Pt;if(!(!b.state.isVisible||u)){if(u=!0,k.offsetHeight,k.style.transition=b.props.moveTransition,c()&&b.props.animation){var gr=m(),tr=gr.box,br=gr.content;Yo([tr,br],Ee),Hs([tr,br],"visible")}Q(),Me(),Bs(Ko,b),(Pt=b.popperInstance)==null||Pt.forceUpdate(),I("onMount",[b]),b.props.animation&&c()&&Nt(Ee,function(){b.state.isShown=!0,I("onShown",[b])})}},We()}}function Tn(){var M=!b.state.isVisible,Z=b.state.isDestroyed,se=!b.state.isEnabled,De=qo(b.props.duration,1,pr.duration);if(!(M||Z||se)&&(I("onHide",[b],!1),b.props.onHide(b)!==!1)){if(b.state.isVisible=!1,b.state.isShown=!1,u=!1,a=!1,c()&&(k.style.visibility="hidden"),bt(),ht(),P(!0),c()){var Ee=m(),Ue=Ee.box,yt=Ee.content;b.props.animation&&(Yo([Ue,yt],De),Hs([Ue,yt],"hidden"))}Q(),Me(),b.props.animation?c()&&Zt(De,b.unmount):b.unmount()}}function Ur(M){v().addEventListener("mousemove",O),Bs(Yi,O),O(M)}function zr(){b.state.isVisible&&b.hide(),b.state.isMounted&&(Wr(),zt().forEach(function(M){M._tippy.unmount()}),k.parentNode&&k.parentNode.removeChild(k),Ko=Ko.filter(function(M){return M!==b}),b.state.isMounted=!1,I("onHidden",[b]))}function Dr(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),Et(),delete t._tippy,b.state.isDestroyed=!0,I("onDestroy",[b]))}}function bi(t,e){e===void 0&&(e={});var r=pr.plugins.concat(e.plugins||[]);$c();var n=Object.assign({},e,{plugins:r}),i=Ic(t);if(0)var o,a;var l=i.reduce(function(s,u){var p=u&&Gc(u,n);return p&&s.push(p),s},[]);return Ki(t)?l[0]:l}bi.defaultProps=pr;bi.setDefaultProps=qc;bi.currentInput=Sr;var fm=Object.assign({},ci,{effect:function(e){var r=e.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow)}});bi.setDefaultProps({render:el});var tl=bi;var rl='a[href], button, input, select, textarea, summary, [role="button"], [role="link"], [role="checkbox"], [role="switch"], [role="menuitem"], [contenteditable]:not([contenteditable="false"])',nl=()=>({isStandalone:!1,isCopying:!1,isDestroyed:!1,isSpacePressed:!1,liveRegion:null,feedback:null,feedbackTimeout:null,feedbackSequence:0,observer:null,bindings:{"x-bind:role"(){return this.isStandalone?"button":null},"x-bind:tabindex"(){return this.isStandalone?0:null},"x-on:keydown.enter"(t){!this.isStandalone||t.target!==this.$el||(t.preventDefault(),t.repeat||this.$el.click())},"x-on:keydown.space"(t){!this.isStandalone||t.target!==this.$el||(t.preventDefault(),this.isSpacePressed=!0)},"x-on:keyup.space"(t){!this.isStandalone||t.target!==this.$el||(t.preventDefault(),this.isSpacePressed&&(this.isSpacePressed=!1,this.$el.click()))},"x-on:blur"(){this.isSpacePressed=!1}},init(){this.updateStandalone(),this.observer=new MutationObserver(t=>{t.some(e=>e.target===this.$el&&e.attributeName?.startsWith("x-on:click"))&&this.clearFeedback(),this.updateStandalone()}),this.observer.observe(this.$el.closest(".fi-in-entry, .fi-ta-col")??this.$el.parentElement,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["href","role","tabindex","contenteditable","x-on:click","x-on:click.prevent.stop"]})},updateStandalone(){if(!(this.isDestroyed||!this.$el.isConnected)){if(this.isStandalone=!this.$el.parentElement?.closest(rl)&&!this.$el.querySelector(`${rl}, [tabindex]:not([tabindex="-1"])`),!this.isStandalone){this.clearFeedback(),this.liveRegion?.remove();return}this.isStandalone&&!this.liveRegion?.isConnected&&(this.liveRegion=document.createElement("span"),this.liveRegion.className="fi-sr-only",this.liveRegion.setAttribute("role","status"),this.liveRegion.setAttribute("aria-live","polite"),this.$el.after(this.liveRegion))}},async copy(t,e,r,n){if(this.isCopying||this.isDestroyed)return;this.isCopying=!0,this.clearFeedback();let i=this.$el.getAttribute("x-on:click")??this.$el.getAttribute("x-on:click.prevent.stop"),o=()=>!this.isDestroyed&&this.$el.isConnected&&this.isStandalone&&i===(this.$el.getAttribute("x-on:click")??this.$el.getAttribute("x-on:click.prevent.stop"));try{await window.navigator.clipboard.writeText(t)}catch{o()&&this.showFeedback(n,r,o);return}finally{this.isCopying=!1}o()&&this.showFeedback(e,r,o)},showFeedback(t,e,r){this.updateStandalone();let n=tl(this.$el,{content:t,trigger:"manual",theme:this.$store.theme,aria:{content:null}});this.feedback=n,n.show();let i=this.feedbackSequence;this.$nextTick(()=>{r()&&this.feedbackSequence===i&&this.liveRegion?.isConnected&&(this.liveRegion.textContent=t)}),this.feedbackTimeout=setTimeout(()=>this.clearFeedback(),e)},clearFeedback(){this.feedbackSequence++,clearTimeout(this.feedbackTimeout),this.feedback?.destroy(),this.feedback=null,this.liveRegion&&(this.liveRegion.textContent="")},destroy(){this.isDestroyed=!0,this.observer?.disconnect(),this.clearFeedback(),this.liveRegion?.remove()}});document.addEventListener("livewire:init",()=>{let t=e=>{let r=Alpine.findClosest(e,n=>n.__livewire);if(!r)throw"Could not find Livewire component in DOM tree.";return r.__livewire};Livewire.interceptMessage(({message:e,onSuccess:r})=>{r(({payload:o,onMorph:a})=>{a(()=>{if(!(o.effects?.html||!e.component.el.isConnected))for(let[l,s]of Object.entries(o.effects?.partials??{})){let u=Array.from(e.component.el.querySelectorAll(`[wire\\:partial="${l}"]`)).filter(S=>t(S)===e.component);if(!u.length)continue;if(u.length>1)throw`Multiple elements found for partial [${l}].`;let p=u[0],g=p.parentElement?p.parentElement.tagName.toLowerCase():"div",E=document.createElement(g);E.innerHTML=s,E.__livewire=e.component;let y=E.firstElementChild;y.__livewire=e.component;let O={};p.querySelectorAll("[wire\\:id]").forEach(S=>{O[S.getAttribute("wire:id")]=S}),y.querySelectorAll("[wire\\:id]").forEach(S=>{if(S.hasAttribute("wire:snapshot"))return;let D=S.getAttribute("wire:id"),N=O[D];N&&S.replaceWith(N.cloneNode(!0))}),window.Alpine.morph(p,y,{updating:(S,D,N,C,j)=>{if(!n(S)){if(S.__livewire_replace===!0&&(S.innerHTML=D.innerHTML),S.__livewire_replace_self===!0)return S.outerHTML=D.outerHTML,C();if(S.__livewire_ignore===!0)return C();if(S.__livewire_ignore_self===!0&&N(),S.__livewire_ignore_children===!0)return j();if(i(S)&&S.getAttribute("wire:id")!==e.component.id)return C();i(S)&&(D.__livewire=e.component)}},key:S=>{if(!n(S))return S.hasAttribute("wire:key")?S.getAttribute("wire:key"):S.hasAttribute("wire:id")?S.getAttribute("wire:id"):S.id},lookahead:!1})}})});function n(o){return typeof o.hasAttribute!="function"}function i(o){return o.hasAttribute("wire:id")}})});var il=(t,e,r)=>{let n=(p,g)=>{for(let E of p){let y=i(E,g);if(y!==null)return y}},i=(p,g)=>{let E=p.match(/^[\{\[]([^\[\]\{\}]*)[\}\]](.*)/s);if(E===null||E.length!==3)return null;let y=E[1],O=E[2];if(y.includes(",")){let[S,D]=y.split(",",2);if(D==="*"&&g>=S)return O;if(S==="*"&&g<=D)return O;if(g>=S&&g<=D)return O}return y==g?O:null},o=p=>p.toString().charAt(0).toUpperCase()+p.toString().slice(1),a=(p,g)=>{if(g.length===0)return p;let E={};for(let[y,O]of Object.entries(g))E[":"+o(y??"")]=o(O??""),E[":"+y.toUpperCase()]=O.toString().toUpperCase(),E[":"+y]=O;return Object.entries(E).forEach(([y,O])=>{p=p.replaceAll(y,O)}),p},l=p=>p.map(g=>g.replace(/^[\{\[]([^\[\]\{\}]*)[\}\]]/,"")),s=t.split("|"),u=n(s,e);return u!==void 0?a(u.trim(),r):(s=l(s),a(s.length>1&&e>1?s[1]:s[0],r))};document.addEventListener("alpine:init",()=>{window.Alpine.plugin(_a),window.Alpine.plugin(La),window.Alpine.plugin(Fa),window.Alpine.plugin(us),window.Alpine.plugin(ds),window.Alpine.data("filamentDropdown",hs),window.Alpine.data("filamentFormButton",ms),window.Alpine.data("filamentModal",vs),window.Alpine.data("filamentOneTimeCodeInput",gs),window.Alpine.data("filamentCopyable",nl)});window.jsMd5=ol.md5;window.pluralize=il;})();
|
|
26
|
+
/*! Bundled license information:
|
|
27
|
+
|
|
28
|
+
js-md5/src/md5.js:
|
|
29
|
+
(**
|
|
30
|
+
* [js-md5]{@link https://github.com/emn178/js-md5}
|
|
31
|
+
*
|
|
32
|
+
* @namespace md5
|
|
33
|
+
* @version 0.8.3
|
|
34
|
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
35
|
+
* @copyright Chen, Yi-Cyuan 2014-2023
|
|
36
|
+
* @license MIT
|
|
37
|
+
*)
|
|
38
|
+
|
|
39
|
+
sortablejs/modular/sortable.esm.js:
|
|
40
|
+
(**!
|
|
41
|
+
* Sortable 1.15.7
|
|
42
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
43
|
+
* @author owenm <owen23355@gmail.com>
|
|
44
|
+
* @license MIT
|
|
45
|
+
*)
|
|
46
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function h({name:s,recordKey:u,state:c,messages:r}){let d=e=>e.method==="updateTableColumnState"&&e.params[0]===s&&String(e.params[1])===String(u);return{error:void 0,isLoading:!1,isDestroyed:!1,isRefreshing:!1,hasRenderedState:!1,state:c,status:void 0,unsubscribeLivewireHook:null,unsubscribeRequestHook:null,initEditableColumn(){this.unsubscribeLivewireHook=Livewire.interceptMessage(({message:e,onSuccess:i})=>{if(e.component.id!==this.$wire.$id)return;let a=e.calls.some(d),t=this.isRefreshing;i(({payload:n,onMorphed:o})=>o(()=>{let l=n.effects;(a||t)&&(this.hasRenderedState=!!l.html),t&&(this.isRefreshing=!1),l.html&&this.$nextTick(()=>{!this.isDestroyed&&!this.isLoading&&this.syncServerState()})}))}),this.$watch("state",async()=>{let e=this.getServerState();if(!(this.isDestroyed||this.isLoading||e===void 0||this.getNormalizedState()===e)){this.clearError(),this.isLoading=!0,this.hasRenderedState=!1,this.status=r?.saving,this.unsubscribeRequestHook=Livewire.interceptRequest(({request:i,onResponse:a})=>{i.payload.components.some(t=>JSON.parse(t.snapshot).memo.id===this.$wire.$id&&(this.isRefreshing||t.calls.some(d)))&&a(({response:t})=>{let n=t.text.bind(t);t.text=async()=>{try{return await n()}catch(o){throw i.cancel(),this.handleSaveFailure(),o}}})});try{let i=await this.$wire.updateTableColumnState(s,u,this.state);if(await this.$nextTick(),!this.isDestroyed&&!this.hasRenderedState&&(this.isRefreshing=!0,await this.$wire.$refresh(),await this.$nextTick(),!this.hasRenderedState)){this.handleSaveFailure();return}if(this.unsubscribeRequestHook?.(),this.unsubscribeRequestHook=null,this.isDestroyed)return;this.error=i?.error??void 0,this.status=this.error??r?.saved,this.isLoading=!1,this.syncServerState()}catch{this.handleSaveFailure()}}})},syncServerState(){let e=this.getServerState();e!==void 0&&(this.state=e)},getNormalizedState(){return Alpine.raw(this.state)??""},clearError(){this.isLoading||(this.error=void 0,this.status=void 0)},handleSaveFailure(){this.unsubscribeRequestHook?.(),this.unsubscribeRequestHook=null,!this.isDestroyed&&(this.error=r?.failure??"The save could not be confirmed. Refresh the page before trying again.",this.status=this.error,this.isRefreshing=!1,this.isLoading=!1)},preventEdit(e){!this.isLoading||e.type==="keydown"&&["Tab","Escape"].includes(e.key)||(e.preventDefault(),e.stopImmediatePropagation())},getAccessibilityAttributes(e={}){return{...e,"aria-invalid":this.error?"true":e["aria-invalid"]??null,"aria-busy":this.isLoading?"true":e["aria-busy"]??null,"aria-describedby":[e["aria-describedby"],this.error&&r?this.$id("table-column-error"):null].filter(Boolean).join(" ")||null}},destroy(){this.isDestroyed=!0,this.unsubscribeLivewireHook?.(),this.unsubscribeRequestHook?.(),this.unsubscribeRequestHook=null}}}function f(s){return{...h(s),init(){this.initEditableColumn()},getServerState(){if(this.$refs.serverState)return[1,"1"].includes(this.$refs.serverState.value)}}}export{f as default};
|