@luzmo/analytics-components-kit 1.0.1-alpha.29 → 1.0.1-alpha.30
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/components/{async-directive-DWRUSKKF-CPf9l5wJ.js → async-directive-C_bp5UcZ-B5_19oN_.js} +1 -1
- package/components/{async-directive-DWRUSKKF-DWUZeMaj.cjs → async-directive-C_bp5UcZ-mUPcBvyn.cjs} +3 -3
- package/components/base-D76d76ww-BEIhYtgV.cjs +94 -0
- package/components/{base-D76d76ww-M5t7LVBG.js → base-D76d76ww-D0dTUBua.js} +300 -299
- package/components/{button-base-DSHx7XO8-ChNRhetl.cjs → button-base-WsJSnMie-B1TLbPwk.cjs} +4 -4
- package/components/{button-base-DSHx7XO8-B_LbLx9g.js → button-base-WsJSnMie-CyGPs7kd.js} +4 -4
- package/components/{checkbox-mixin-BFGTmw17-C1tjSMaa.js → checkbox-mixin-CmeCReJh-C94-rm4F.js} +2 -2
- package/components/{checkbox-mixin-BFGTmw17-DF2p-vSz.cjs → checkbox-mixin-CmeCReJh-wY0R8cuc.cjs} +3 -3
- package/components/{directive-helpers-nlQRAaQt-DTZp2cFt.cjs → directive-helpers-Bx_ey3Gk-BxvL9t9F.cjs} +2 -2
- package/components/{directive-helpers-nlQRAaQt-DgSC1Yr2.js → directive-helpers-Bx_ey3Gk-Csi4AxXe.js} +1 -1
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +7 -7
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +5 -5
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +8 -8
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +4 -4
- package/components/display-settings-numeric/index.cjs +3 -3
- package/components/display-settings-numeric/index.js +12 -12
- package/components/display-settings-period-over-period/index.cjs +5 -5
- package/components/display-settings-period-over-period/index.js +14 -14
- package/components/draggable-data-item-level/index.cjs +1 -1
- package/components/draggable-data-item-level/index.js +15 -15
- package/components/droppable-slot/index.cjs +9 -9
- package/components/droppable-slot/index.js +63 -63
- package/components/edit-item/index.cjs +6 -6
- package/components/edit-item/index.js +14 -14
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +20 -20
- package/components/{edit-option-base-C0zI8SOd.js → edit-option-base-DOezOLDd.js} +2 -2
- package/components/{edit-option-base-D8vs3Bty.cjs → edit-option-base-jkkFevzT.cjs} +1 -1
- package/components/edit-option-color-picker/index.cjs +29 -29
- package/components/edit-option-color-picker/index.js +40 -40
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +2 -2
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +2 -2
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +3 -3
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +2 -2
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +3 -3
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +3 -3
- package/components/edit-option-slider/index.cjs +2 -2
- package/components/edit-option-slider/index.js +2 -2
- package/components/edit-option-switch/index.cjs +3 -3
- package/components/edit-option-switch/index.js +7 -7
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +2 -2
- package/components/{focusable-cj2QhwDT-DlzfnLn9.js → focusable-BNESohBR-DYvAZYXL.js} +1 -1
- package/components/{focusable-cj2QhwDT-CvevSkDr.cjs → focusable-BNESohBR-DbTLvYXr.cjs} +2 -2
- package/components/{if-defined-BSAr_4u4-CIqREoag.cjs → if-defined-D-1p2bLN-0_AoRnT2.cjs} +1 -1
- package/components/{if-defined-BSAr_4u4-BCnSpSsA.js → if-defined-D-1p2bLN-Bn-33APC.js} +1 -1
- package/components/{index-CC53jnJB.cjs → index-0HUnZcem.cjs} +2 -2
- package/components/{index-fheP_kQJ.js → index-B3jkBlKY.js} +7 -7
- package/components/{index-B2LO8M42.js → index-B9dQtvu7.js} +3 -3
- package/components/{index-BIauj-BP.cjs → index-BKcvEgWr.cjs} +4 -4
- package/components/{index-BjdUsH9B.js → index-BXMPi13W.js} +75 -75
- package/components/{index-D8GVYuJ-.js → index-Bb8vxGZY.js} +29 -29
- package/components/{index-Cl7wWlXl.cjs → index-BkCJwWm3.cjs} +3 -3
- package/components/{index-fzqLW5XZ.js → index-BnbhRpm9.js} +12 -12
- package/components/{index-Du8Q4hhF.js → index-Brg_sVUg.js} +1 -1
- package/components/{index-b9OSfNB6.cjs → index-Bwxvaqxq.cjs} +19 -19
- package/components/{index-BIcAxPGg.cjs → index-C2-2RrwB.cjs} +4 -4
- package/components/{index-9hGc0AF6.cjs → index-C9-QEfA9.cjs} +5 -5
- package/components/{index-Bp6XY9q2.cjs → index-CF84gqsb.cjs} +4 -4
- package/components/{index-zFIy9Mwl.js → index-CRx2nPkq.js} +3 -3
- package/components/{index-B3417kqb.cjs → index-CVuJ-LUO.cjs} +2 -2
- package/components/{index-CBNsaHFy.js → index-CbeVu32V.js} +2 -2
- package/components/{index-Dku2WLRc.js → index-CqFCIIIl.js} +3 -3
- package/components/{index-mB-t2zP2.cjs → index-CqynTbW1.cjs} +23 -23
- package/components/{index-BW6jffrL.cjs → index-D5rT-qy9.cjs} +13 -13
- package/components/{index-BLyfPWMW.cjs → index-D8Na-686.cjs} +1 -1
- package/components/{index-DelXrrBi.js → index-DFnzlbHX.js} +13 -13
- package/components/{index-BnVt-dJY.js → index-DJik7S7b.js} +2 -2
- package/components/{index-C8yP7YJD.js → index-DZZMSlYS.js} +3 -3
- package/components/{index-DQCvi59x.js → index-Rjoe8cIs.js} +24 -24
- package/components/{index-CZUy8SUo.cjs → index-_McOOiwL.cjs} +4 -4
- package/components/{index-CAwT4m7K.cjs → index-bZQXFqxv.cjs} +9 -9
- package/components/{index-KY89MPqI.js → index-fl13NYnO.js} +1 -1
- package/components/{index-Cz9Cvq1K.cjs → index-uRWe553S.cjs} +4 -4
- package/components/luzmo-icons-BDClm1AE.cjs +31 -0
- package/components/luzmo-icons-BLN3xVgr-Cr3OrsqW.cjs +47 -0
- package/components/luzmo-icons-BLN3xVgr-Tz5XXgbL.js +118 -0
- package/components/{luzmo-icons-CmY3chvZ.js → luzmo-icons-U09GB75o.js} +136 -188
- package/components/{observe-slot-text-ggb4kKgY-5zLP4Vgh.cjs → observe-slot-text-CVKLDesL-BB2RmFgc.cjs} +4 -4
- package/components/{observe-slot-text-ggb4kKgY-tm0SQCaj.js → observe-slot-text-CVKLDesL-CXUeCmXW.js} +7 -7
- package/components/{popover-Bx4ZDHk4-Cw2DKR2x.cjs → popover-DRyjN9y_-7mF_fAOh.cjs} +4 -4
- package/components/{popover-Bx4ZDHk4-HbUSJ86p.js → popover-DRyjN9y_-w1zh4tvw.js} +2 -2
- package/components/{query-assigned-nodes-C76XVPWY-DON51dMU.js → query-assigned-nodes-C76XVPWY-BWouxGZs.js} +1 -1
- package/components/{query-assigned-nodes-C76XVPWY-DzOeAzcN.cjs → query-assigned-nodes-C76XVPWY-k1jDPyUQ.cjs} +1 -1
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +2 -2
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/{streaming-listener-CCalHg57-2AtO4Ho2.cjs → streaming-listener-C8Ctj0Q6-BhMxS69F.cjs} +3 -3
- package/components/{streaming-listener-CCalHg57-CQgWstyf.js → streaming-listener-C8Ctj0Q6-lanbGKR9.js} +3 -3
- package/components/{text-field-BTnBJoP9-BuahhcXU.js → text-field-C0pFjPG1-B4TRivuD.js} +17 -17
- package/components/{text-field-BTnBJoP9-CDMhK3d1.cjs → text-field-C0pFjPG1-BCVbGXp7.cjs} +12 -12
- package/package.json +1 -1
- package/components/base-D76d76ww-C6YO3slp.cjs +0 -94
- package/components/luzmo-icons-lvebt6bp.cjs +0 -31
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";var Ve=Object.getPrototypeOf;var Pe=Reflect.get;var Bt=(o,t,i)=>Pe(Ve(o),i,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
20
|
+
"use strict";var Ve=Object.getPrototypeOf;var Pe=Reflect.get;var Bt=(o,t,i)=>Pe(Ve(o),i,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("../base-D76d76ww-BEIhYtgV.cjs"),_=require("../focusable-Cu_m_GTh.cjs"),Ae=require("../edit-option-base-jkkFevzT.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -33,7 +33,7 @@
|
|
33
33
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
35
|
* SOFTWARE.
|
36
|
-
* */const Me=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const o=document.createElement("style");o.setAttribute("data-luzmo-vars",""),o.textContent='html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}',document.head.appendChild(o)}};Me();var $;(function(o){o.Range="range",o.Steps="steps",o.Positions="positions",o.Count="count",o.Values="values"})($||($={}));var O;(function(o){o[o.None=-1]="None",o[o.NoValue=0]="NoValue",o[o.LargeValue=1]="LargeValue",o[o.SmallValue=2]="SmallValue"})(O||(O={}));function Oe(o){return lt(o)&&typeof o.from=="function"}function lt(o){return typeof o=="object"&&typeof o.to=="function"}function $t(o){o.parentElement.removeChild(o)}function kt(o){return o!=null}function Yt(o){o.preventDefault()}function De(o){return o.filter(function(t){return this[t]?!1:this[t]=!0},{})}function Le(o,t){return Math.round(o/t)*t}function Re(o,t){var i=o.getBoundingClientRect(),c=o.ownerDocument,s=c.documentElement,f=Gt(c);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(f.x=0),t?i.top+f.y-s.clientTop:i.left+f.x-s.clientLeft}function R(o){return typeof o=="number"&&!isNaN(o)&&isFinite(o)}function Xt(o,t,i){i>0&&(M(o,t),setTimeout(function(){st(o,t)},i))}function It(o){return Math.max(Math.min(o,100),0)}function ut(o){return Array.isArray(o)?o:[o]}function je(o){o=String(o);var t=o.split(".");return t.length>1?t[1].length:0}function M(o,t){o.classList&&!/\s/.test(t)?o.classList.add(t):o.className+=" "+t}function st(o,t){o.classList&&!/\s/.test(t)?o.classList.remove(t):o.className=o.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function He(o,t){return o.classList?o.classList.contains(t):new RegExp("\\b"+t+"\\b").test(o.className)}function Gt(o){var t=window.pageXOffset!==void 0,i=(o.compatMode||"")==="CSS1Compat",c=t?window.pageXOffset:i?o.documentElement.scrollLeft:o.body.scrollLeft,s=t?window.pageYOffset:i?o.documentElement.scrollTop:o.body.scrollTop;return{x:c,y:s}}function Fe(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function Te(){var o=!1;try{var t=Object.defineProperty({},"passive",{get:function(){o=!0}});window.addEventListener("test",null,t)}catch{}return o}function _e(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function Nt(o,t){return 100/(t-o)}function Et(o,t,i){return t*100/(o[i+1]-o[i])}function qe(o,t){return Et(o,o[0]<0?t+Math.abs(o[0]):t-o[0],0)}function Be(o,t){return t*(o[1]-o[0])/100+o[0]}function et(o,t){for(var i=1;o>=t[i];)i+=1;return i}function $e(o,t,i){if(i>=o.slice(-1)[0])return 100;var c=et(i,o),s=o[c-1],f=o[c],h=t[c-1],z=t[c];return h+qe([s,f],i)/Nt(h,z)}function Ye(o,t,i){if(i>=100)return o.slice(-1)[0];var c=et(i,t),s=o[c-1],f=o[c],h=t[c-1],z=t[c];return Be([s,f],(i-h)*Nt(h,z))}function Xe(o,t,i,c){if(c===100)return c;var s=et(c,o),f=o[s-1],h=o[s];return i?c-f>(h-f)/2?h:f:t[s-1]?o[s-1]+Le(c-o[s-1],t[s-1]):c}var Jt=function(){function o(t,i,c){this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[c||!1],this.xNumSteps=[!1],this.snap=i;var s,f=[];for(Object.keys(t).forEach(function(h){f.push([ut(t[h]),h])}),f.sort(function(h,z){return h[0][0]-z[0][0]}),s=0;s<f.length;s++)this.handleEntryPoint(f[s][1],f[s][0]);for(this.xNumSteps=this.xSteps.slice(0),s=0;s<this.xNumSteps.length;s++)this.handleStepPoint(s,this.xNumSteps[s])}return o.prototype.getDistance=function(t){for(var i=[],c=0;c<this.xNumSteps.length-1;c++)i[c]=Et(this.xVal,t,c);return i},o.prototype.getAbsoluteDistance=function(t,i,c){var s=0;if(t<this.xPct[this.xPct.length-1])for(;t>this.xPct[s+1];)s++;else t===this.xPct[this.xPct.length-1]&&(s=this.xPct.length-2);!c&&t===this.xPct[s+1]&&s++,i===null&&(i=[]);var f,h=1,z=i[s],y=0,m=0,C=0,P=0;for(c?f=(t-this.xPct[s])/(this.xPct[s+1]-this.xPct[s]):f=(this.xPct[s+1]-t)/(this.xPct[s+1]-this.xPct[s]);z>0;)y=this.xPct[s+1+P]-this.xPct[s+P],i[s+P]*h+100-f*100>100?(m=y*f,h=(z-100*f)/i[s+P],f=1):(m=i[s+P]*y/100*h,h=0),c?(C=C-m,this.xPct.length+P>=1&&P--):(C=C+m,this.xPct.length-P>=1&&P++),z=i[s+P]*h;return t+C},o.prototype.toStepping=function(t){return t=$e(this.xVal,this.xPct,t),t},o.prototype.fromStepping=function(t){return Ye(this.xVal,this.xPct,t)},o.prototype.getStep=function(t){return t=Xe(this.xPct,this.xSteps,this.snap,t),t},o.prototype.getDefaultStep=function(t,i,c){var s=et(t,this.xPct);return(t===100||i&&t===this.xPct[s-1])&&(s=Math.max(s-1,1)),(this.xVal[s]-this.xVal[s-1])/c},o.prototype.getNearbySteps=function(t){var i=et(t,this.xPct);return{stepBefore:{startValue:this.xVal[i-2],step:this.xNumSteps[i-2],highestStep:this.xHighestCompleteStep[i-2]},thisStep:{startValue:this.xVal[i-1],step:this.xNumSteps[i-1],highestStep:this.xHighestCompleteStep[i-1]},stepAfter:{startValue:this.xVal[i],step:this.xNumSteps[i],highestStep:this.xHighestCompleteStep[i]}}},o.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(je);return Math.max.apply(null,t)},o.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},o.prototype.convert=function(t){return this.getStep(this.toStepping(t))},o.prototype.handleEntryPoint=function(t,i){var c;if(t==="min"?c=0:t==="max"?c=100:c=parseFloat(t),!R(c)||!R(i[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(c),this.xVal.push(i[0]);var s=Number(i[1]);c?this.xSteps.push(isNaN(s)?!1:s):isNaN(s)||(this.xSteps[0]=s),this.xHighestCompleteStep.push(0)},o.prototype.handleStepPoint=function(t,i){if(i){if(this.xVal[t]===this.xVal[t+1]){this.xSteps[t]=this.xHighestCompleteStep[t]=this.xVal[t];return}this.xSteps[t]=Et([this.xVal[t],this.xVal[t+1]],i,0)/Nt(this.xPct[t],this.xPct[t+1]);var c=(this.xVal[t+1]-this.xVal[t])/this.xNumSteps[t],s=Math.ceil(Number(c.toFixed(3))-1),f=this.xVal[t]+this.xNumSteps[t]*s;this.xHighestCompleteStep[t]=f}},o}(),Wt={to:function(o){return o===void 0?"":o.toFixed(2)},from:Number},Kt={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},B={tooltips:".__tooltips",aria:".__aria"};function Ie(o,t){if(!R(t))throw new Error("noUiSlider: 'step' is not numeric.");o.singleStep=t}function We(o,t){if(!R(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");o.keyboardPageMultiplier=t}function Ge(o,t){if(!R(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");o.keyboardMultiplier=t}function Je(o,t){if(!R(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");o.keyboardDefaultStep=t}function Ke(o,t){if(typeof t!="object"||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(t.min===void 0||t.max===void 0)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");o.spectrum=new Jt(t,o.snap||!1,o.singleStep)}function Qe(o,t){if(t=ut(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");o.handles=t.length,o.start=t}function Ze(o,t){if(typeof t!="boolean")throw new Error("noUiSlider: 'snap' option must be a boolean.");o.snap=t}function to(o,t){if(typeof t!="boolean")throw new Error("noUiSlider: 'animate' option must be a boolean.");o.animate=t}function eo(o,t){if(typeof t!="number")throw new Error("noUiSlider: 'animationDuration' option must be a number.");o.animationDuration=t}function Qt(o,t){var i=[!1],c;if(t==="lower"?t=[!0,!1]:t==="upper"&&(t=[!1,!0]),t===!0||t===!1){for(c=1;c<o.handles;c++)i.push(t);i.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==o.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");i=t}o.connect=i}function oo(o,t){switch(t){case"horizontal":o.ort=0;break;case"vertical":o.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function Zt(o,t){if(!R(t))throw new Error("noUiSlider: 'margin' option must be numeric.");t!==0&&(o.margin=o.spectrum.getDistance(t))}function ro(o,t){if(!R(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(o.limit=o.spectrum.getDistance(t),!o.limit||o.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function no(o,t){var i;if(!R(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&!(t.length===2||R(t[0])||R(t[1])))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(t!==0){for(Array.isArray(t)||(t=[t,t]),o.padding=[o.spectrum.getDistance(t[0]),o.spectrum.getDistance(t[1])],i=0;i<o.spectrum.xNumSteps.length-1;i++)if(o.padding[0][i]<0||o.padding[1][i]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var c=t[0]+t[1],s=o.spectrum.xVal[0],f=o.spectrum.xVal[o.spectrum.xVal.length-1];if(c/(f-s)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function io(o,t){switch(t){case"ltr":o.dir=0;break;case"rtl":o.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function ao(o,t){if(typeof t!="string")throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var i=t.indexOf("tap")>=0,c=t.indexOf("drag")>=0,s=t.indexOf("fixed")>=0,f=t.indexOf("snap")>=0,h=t.indexOf("hover")>=0,z=t.indexOf("unconstrained")>=0,y=t.indexOf("invert-connects")>=0,m=t.indexOf("drag-all")>=0,C=t.indexOf("smooth-steps")>=0;if(s){if(o.handles!==2)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");Zt(o,o.start[1]-o.start[0])}if(y&&o.handles!==2)throw new Error("noUiSlider: 'invert-connects' behaviour must be used with 2 handles");if(z&&(o.margin||o.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");o.events={tap:i||f,drag:c,dragAll:m,smoothSteps:C,fixed:s,snap:f,hover:h,unconstrained:z,invertConnects:y}}function so(o,t){if(t!==!1)if(t===!0||lt(t)){o.tooltips=[];for(var i=0;i<o.handles;i++)o.tooltips.push(t)}else{if(t=ut(t),t.length!==o.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.forEach(function(c){if(typeof c!="boolean"&&!lt(c))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),o.tooltips=t}}function lo(o,t){if(t.length!==o.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");o.handleAttributes=t}function uo(o,t){if(!lt(t))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");o.ariaFormat=t}function co(o,t){if(!Oe(t))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");o.format=t}function po(o,t){if(typeof t!="boolean")throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");o.keyboardSupport=t}function ho(o,t){o.documentElement=t}function fo(o,t){if(typeof t!="string"&&t!==!1)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");o.cssPrefix=t}function mo(o,t){if(typeof t!="object")throw new Error("noUiSlider: 'cssClasses' must be an object.");typeof o.cssPrefix=="string"?(o.cssClasses={},Object.keys(t).forEach(function(i){o.cssClasses[i]=o.cssPrefix+t[i]})):o.cssClasses=t}function te(o){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:Wt,format:Wt},i={step:{r:!1,t:Ie},keyboardPageMultiplier:{r:!1,t:We},keyboardMultiplier:{r:!1,t:Ge},keyboardDefaultStep:{r:!1,t:Je},start:{r:!0,t:Qe},connect:{r:!0,t:Qt},direction:{r:!0,t:io},snap:{r:!1,t:Ze},animate:{r:!1,t:to},animationDuration:{r:!1,t:eo},range:{r:!0,t:Ke},orientation:{r:!1,t:oo},margin:{r:!1,t:Zt},limit:{r:!1,t:ro},padding:{r:!1,t:no},behaviour:{r:!0,t:ao},ariaFormat:{r:!1,t:uo},format:{r:!1,t:co},tooltips:{r:!1,t:so},keyboardSupport:{r:!0,t:po},documentElement:{r:!1,t:ho},cssPrefix:{r:!0,t:fo},cssClasses:{r:!0,t:mo},handleAttributes:{r:!1,t:lo}},c={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:Kt,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};o.format&&!o.ariaFormat&&(o.ariaFormat=o.format),Object.keys(i).forEach(function(y){if(!kt(o[y])&&c[y]===void 0){if(i[y].r)throw new Error("noUiSlider: '"+y+"' is required.");return}i[y].t(t,kt(o[y])?o[y]:c[y])}),t.pips=o.pips;var s=document.createElement("div"),f=s.style.msTransform!==void 0,h=s.style.transform!==void 0;t.transformRule=h?"transform":f?"msTransform":"webkitTransform";var z=[["left","top"],["right","bottom"]];return t.style=z[t.dir][t.ort],t}function go(o,t,i){var c=Fe(),s=_e(),f=s&&Te(),h=o,z,y,m,C,P,q,g=t.spectrum,H=[],S=[],D=[],ct=0,F={},K=!1,G=o.ownerDocument,ot=t.documentElement||G.documentElement,rt=G.body,oe=G.dir==="rtl"||t.ort===1?0:100;function T(e,r){var n=G.createElement("div");return r&&M(n,r),e.appendChild(n),n}function re(e,r){var n=T(e,t.cssClasses.origin),a=T(n,t.cssClasses.handle);if(T(a,t.cssClasses.touchArea),a.setAttribute("data-handle",String(r)),t.keyboardSupport&&(a.setAttribute("tabindex","0"),a.addEventListener("keydown",function(u){return xe(u,r)})),t.handleAttributes!==void 0){var l=t.handleAttributes[r];Object.keys(l).forEach(function(u){a.setAttribute(u,l[u])})}return a.setAttribute("role","slider"),a.setAttribute("aria-orientation",t.ort?"vertical":"horizontal"),r===0?M(a,t.cssClasses.handleLower):r===t.handles-1&&M(a,t.cssClasses.handleUpper),n.handle=a,n}function dt(e,r){return r?T(e,t.cssClasses.connect):!1}function ne(e,r){y=T(r,t.cssClasses.connects),m=[],C=[],C.push(dt(y,e[0]));for(var n=0;n<t.handles;n++)m.push(re(r,n)),D[n]=n,C.push(dt(y,e[n+1]))}function ie(e){M(e,t.cssClasses.target),t.dir===0?M(e,t.cssClasses.ltr):M(e,t.cssClasses.rtl),t.ort===0?M(e,t.cssClasses.horizontal):M(e,t.cssClasses.vertical);var r=getComputedStyle(e).direction;return r==="rtl"?M(e,t.cssClasses.textDirectionRtl):M(e,t.cssClasses.textDirectionLtr),T(e,t.cssClasses.base)}function ae(e,r){return!t.tooltips||!t.tooltips[r]?!1:T(e.firstChild,t.cssClasses.tooltip)}function Ct(){return h.hasAttribute("disabled")}function pt(e){var r=m[e];return r.hasAttribute("disabled")}function se(e){e!=null?(m[e].setAttribute("disabled",""),m[e].handle.removeAttribute("tabindex")):(h.setAttribute("disabled",""),m.forEach(function(r){r.handle.removeAttribute("tabindex")}))}function le(e){e!=null?(m[e].removeAttribute("disabled"),m[e].handle.setAttribute("tabindex","0")):(h.removeAttribute("disabled"),m.forEach(function(r){r.removeAttribute("disabled"),r.handle.setAttribute("tabindex","0")}))}function ht(){q&&(Q("update"+B.tooltips),q.forEach(function(e){e&&$t(e)}),q=null)}function Vt(){ht(),q=m.map(ae),vt("update"+B.tooltips,function(e,r,n){if(!(!q||!t.tooltips)&&q[r]!==!1){var a=e[r];t.tooltips[r]!==!0&&(a=t.tooltips[r].to(n[r])),q[r].innerHTML=a}})}function ue(){Q("update"+B.aria),vt("update"+B.aria,function(e,r,n,a,l){D.forEach(function(u){var p=m[u],d=nt(S,u,0,!0,!0,!0),v=nt(S,u,100,!0,!0,!0),x=l[u],w=String(t.ariaFormat.to(n[u]));d=g.fromStepping(d).toFixed(1),v=g.fromStepping(v).toFixed(1),x=g.fromStepping(x).toFixed(1),p.children[0].setAttribute("aria-valuemin",d),p.children[0].setAttribute("aria-valuemax",v),p.children[0].setAttribute("aria-valuenow",x),p.children[0].setAttribute("aria-valuetext",w)})})}function ce(e){if(e.mode===$.Range||e.mode===$.Steps)return g.xVal;if(e.mode===$.Count){if(e.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var r=e.values-1,n=100/r,a=[];r--;)a[r]=r*n;return a.push(100),Pt(a,e.stepped)}return e.mode===$.Positions?Pt(e.values,e.stepped):e.mode===$.Values?e.stepped?e.values.map(function(l){return g.fromStepping(g.getStep(g.toStepping(l)))}):e.values:[]}function Pt(e,r){return e.map(function(n){return g.fromStepping(r?g.getStep(n):n)})}function de(e){function r(x,w){return Number((x+w).toFixed(7))}var n=ce(e),a={},l=g.xVal[0],u=g.xVal[g.xVal.length-1],p=!1,d=!1,v=0;return n=De(n.slice().sort(function(x,w){return x-w})),n[0]!==l&&(n.unshift(l),p=!0),n[n.length-1]!==u&&(n.push(u),d=!0),n.forEach(function(x,w){var U,b,E,A=x,N=n[w+1],V,yt,wt,Ut,Tt,St,_t,qt=e.mode===$.Steps;for(qt&&(U=g.xNumSteps[w]),U||(U=N-A),N===void 0&&(N=A),U=Math.max(U,1e-7),b=A;b<=N;b=r(b,U)){for(V=g.toStepping(b),yt=V-v,Tt=yt/(e.density||1),St=Math.round(Tt),_t=yt/St,E=1;E<=St;E+=1)wt=v+E*_t,a[wt.toFixed(5)]=[g.fromStepping(wt),0];Ut=n.indexOf(b)>-1?O.LargeValue:qt?O.SmallValue:O.NoValue,!w&&p&&b!==N&&(Ut=0),b===N&&d||(a[V.toFixed(5)]=[b,Ut]),v=V}}),a}function pe(e,r,n){var a,l,u=G.createElement("div"),p=(a={},a[O.None]="",a[O.NoValue]=t.cssClasses.valueNormal,a[O.LargeValue]=t.cssClasses.valueLarge,a[O.SmallValue]=t.cssClasses.valueSub,a),d=(l={},l[O.None]="",l[O.NoValue]=t.cssClasses.markerNormal,l[O.LargeValue]=t.cssClasses.markerLarge,l[O.SmallValue]=t.cssClasses.markerSub,l),v=[t.cssClasses.valueHorizontal,t.cssClasses.valueVertical],x=[t.cssClasses.markerHorizontal,t.cssClasses.markerVertical];M(u,t.cssClasses.pips),M(u,t.ort===0?t.cssClasses.pipsHorizontal:t.cssClasses.pipsVertical);function w(b,E){var A=E===t.cssClasses.value,N=A?v:x,V=A?p:d;return E+" "+N[t.ort]+" "+V[b]}function U(b,E,A){if(A=r?r(E,A):A,A!==O.None){var N=T(u,!1);N.className=w(A,t.cssClasses.marker),N.style[t.style]=b+"%",A>O.NoValue&&(N=T(u,!1),N.className=w(A,t.cssClasses.value),N.setAttribute("data-value",String(E)),N.style[t.style]=b+"%",N.innerHTML=String(n.to(E)))}}return Object.keys(e).forEach(function(b){U(b,e[b][0],e[b][1])}),u}function ft(){P&&($t(P),P=null)}function mt(e){ft();var r=de(e),n=e.filter,a=e.format||{to:function(l){return String(Math.round(l))}};return P=h.appendChild(pe(r,n,a)),P}function At(){var e=z.getBoundingClientRect(),r="offset"+["Width","Height"][t.ort];return t.ort===0?e.width||z[r]:e.height||z[r]}function X(e,r,n,a){var l=function(p){var d=he(p,a.pageOffset,a.target||r);if(!d||Ct()&&!a.doNotReject||He(h,t.cssClasses.tap)&&!a.doNotReject||e===c.start&&d.buttons!==void 0&&d.buttons>1||a.hover&&d.buttons)return!1;f||d.preventDefault(),d.calcPoint=d.points[t.ort],n(d,a)},u=[];return e.split(" ").forEach(function(p){r.addEventListener(p,l,f?{passive:!0}:!1),u.push([p,l])}),u}function he(e,r,n){var a=e.type.indexOf("touch")===0,l=e.type.indexOf("mouse")===0,u=e.type.indexOf("pointer")===0,p=0,d=0;if(e.type.indexOf("MSPointer")===0&&(u=!0),e.type==="mousedown"&&!e.buttons&&!e.touches)return!1;if(a){var v=function(U){var b=U.target;return b===n||n.contains(b)||e.composed&&e.composedPath().shift()===n};if(e.type==="touchstart"){var x=Array.prototype.filter.call(e.touches,v);if(x.length>1)return!1;p=x[0].pageX,d=x[0].pageY}else{var w=Array.prototype.find.call(e.changedTouches,v);if(!w)return!1;p=w.pageX,d=w.pageY}}return r=r||Gt(G),(l||u)&&(p=e.clientX+r.x,d=e.clientY+r.y),e.pageOffset=r,e.points=[p,d],e.cursor=l||u,e}function Mt(e){var r=e-Re(z,t.ort),n=r*100/At();return n=It(n),t.dir?100-n:n}function fe(e){var r=100,n=!1;return m.forEach(function(a,l){if(!pt(l)){var u=S[l],p=Math.abs(u-e),d=p===100&&r===100,v=p<r,x=p<=r&&e>u;(v||x||d)&&(n=l,r=p)}}),n}function me(e,r){e.type==="mouseout"&&e.target.nodeName==="HTML"&&e.relatedTarget===null&>(e,r)}function ge(e,r){if(navigator.appVersion.indexOf("MSIE 9")===-1&&e.buttons===0&&r.buttonsProperty!==0)return gt(e,r);var n=(t.dir?-1:1)*(e.calcPoint-r.startCalcPoint),a=n*100/r.baseSize;Dt(n>0,a,r.locations,r.handleNumbers,r.connect)}function gt(e,r){r.handle&&(st(r.handle,t.cssClasses.active),ct-=1),r.listeners.forEach(function(n){ot.removeEventListener(n[0],n[1])}),ct===0&&(st(h,t.cssClasses.drag),zt(),e.cursor&&(rt.style.cursor="",rt.removeEventListener("selectstart",Yt))),t.events.smoothSteps&&(r.handleNumbers.forEach(function(n){I(n,S[n],!0,!0,!1,!1)}),r.handleNumbers.forEach(function(n){k("update",n)})),r.handleNumbers.forEach(function(n){k("change",n),k("set",n),k("end",n)})}function bt(e,r){if(!r.handleNumbers.some(pt)){var n;if(r.handleNumbers.length===1){var a=m[r.handleNumbers[0]];n=a.children[0],ct+=1,M(n,t.cssClasses.active)}e.stopPropagation();var l=[],u=X(c.move,ot,ge,{target:e.target,handle:n,connect:r.connect,listeners:l,startCalcPoint:e.calcPoint,baseSize:At(),pageOffset:e.pageOffset,handleNumbers:r.handleNumbers,buttonsProperty:e.buttons,locations:S.slice()}),p=X(c.end,ot,gt,{target:e.target,handle:n,listeners:l,doNotReject:!0,handleNumbers:r.handleNumbers}),d=X("mouseout",ot,me,{target:e.target,handle:n,listeners:l,doNotReject:!0,handleNumbers:r.handleNumbers});l.push.apply(l,u.concat(p,d)),e.cursor&&(rt.style.cursor=getComputedStyle(e.target).cursor,m.length>1&&M(h,t.cssClasses.drag),rt.addEventListener("selectstart",Yt,!1)),r.handleNumbers.forEach(function(v){k("start",v)})}}function be(e){e.stopPropagation();var r=Mt(e.calcPoint),n=fe(r);n!==!1&&(t.events.snap||Xt(h,t.cssClasses.tap,t.animationDuration),I(n,r,!0,!0),zt(),k("slide",n,!0),k("update",n,!0),t.events.snap?bt(e,{handleNumbers:[n]}):(k("change",n,!0),k("set",n,!0)))}function ve(e){var r=Mt(e.calcPoint),n=g.getStep(r),a=g.fromStepping(n);Object.keys(F).forEach(function(l){l.split(".")[0]==="hover"&&F[l].forEach(function(u){u.call(at,a)})})}function xe(e,r){if(Ct()||pt(r))return!1;var n=["Left","Right"],a=["Down","Up"],l=["PageDown","PageUp"],u=["Home","End"];t.dir&&!t.ort?n.reverse():t.ort&&!t.dir&&(a.reverse(),l.reverse());var p=e.key.replace("Arrow",""),d=p===l[0],v=p===l[1],x=p===a[0]||p===n[0]||d,w=p===a[1]||p===n[1]||v,U=p===u[0],b=p===u[1];if(!x&&!w&&!U&&!b)return!0;e.preventDefault();var E;if(w||x){var A=x?0:1,N=Ht(r),V=N[A];if(V===null)return!1;V===!1&&(V=g.getDefaultStep(S[r],x,t.keyboardDefaultStep)),v||d?V*=t.keyboardPageMultiplier:V*=t.keyboardMultiplier,V=Math.max(V,1e-7),V=(x?-1:1)*V,E=H[r]+V}else b?E=t.spectrum.xVal[t.spectrum.xVal.length-1]:E=t.spectrum.xVal[0];return I(r,g.toStepping(E),!0,!0),k("slide",r),k("update",r),k("change",r),k("set",r),!1}function Ot(e){e.fixed||m.forEach(function(r,n){X(c.start,r.children[0],bt,{handleNumbers:[n]})}),e.tap&&X(c.start,z,be,{}),e.hover&&X(c.move,z,ve,{hover:!0}),e.drag&&C.forEach(function(r,n){if(!(r===!1||n===0||n===C.length-1)){var a=m[n-1],l=m[n],u=[r],p=[a,l],d=[n-1,n];M(r,t.cssClasses.draggable),e.fixed&&(u.push(a.children[0]),u.push(l.children[0])),e.dragAll&&(p=m,d=D),u.forEach(function(v){X(c.start,v,bt,{handles:p,handleNumbers:d,connect:r})})}})}function vt(e,r){F[e]=F[e]||[],F[e].push(r),e.split(".")[0]==="update"&&m.forEach(function(n,a){k("update",a)})}function ze(e){return e===B.aria||e===B.tooltips}function Q(e){var r=e&&e.split(".")[0],n=r?e.substring(r.length):e;Object.keys(F).forEach(function(a){var l=a.split(".")[0],u=a.substring(l.length);(!r||r===l)&&(!n||n===u)&&(!ze(u)||n===u)&&delete F[a]})}function k(e,r,n){Object.keys(F).forEach(function(a){var l=a.split(".")[0];e===l&&F[a].forEach(function(u){u.call(at,H.map(t.format.to),r,H.slice(),n||!1,S.slice(),at)})})}function nt(e,r,n,a,l,u,p){var d;return m.length>1&&!t.events.unconstrained&&(a&&r>0&&(d=g.getAbsoluteDistance(e[r-1],t.margin,!1),n=Math.max(n,d)),l&&r<m.length-1&&(d=g.getAbsoluteDistance(e[r+1],t.margin,!0),n=Math.min(n,d))),m.length>1&&t.limit&&(a&&r>0&&(d=g.getAbsoluteDistance(e[r-1],t.limit,!1),n=Math.min(n,d)),l&&r<m.length-1&&(d=g.getAbsoluteDistance(e[r+1],t.limit,!0),n=Math.max(n,d))),t.padding&&(r===0&&(d=g.getAbsoluteDistance(0,t.padding[0],!1),n=Math.max(n,d)),r===m.length-1&&(d=g.getAbsoluteDistance(100,t.padding[1],!0),n=Math.min(n,d))),p||(n=g.getStep(n)),n=It(n),n===e[r]&&!u?!1:n}function xt(e,r){var n=t.ort;return(n?r:e)+", "+(n?e:r)}function Dt(e,r,n,a,l){var u=n.slice(),p=a[0],d=t.events.smoothSteps,v=[!e,e],x=[e,!e];a=a.slice(),e&&a.reverse(),a.length>1?a.forEach(function(U,b){var E=nt(u,U,u[U]+r,v[b],x[b],!1,d);E===!1?r=0:(r=E-u[U],u[U]=E)}):v=x=[!0];var w=!1;a.forEach(function(U,b){w=I(U,n[U]+r,v[b],x[b],!1,d)||w}),w&&(a.forEach(function(U){k("update",U),k("slide",U)}),l!=null&&k("drag",p))}function Lt(e,r){return t.dir?100-e-r:e}function ye(e,r){S[e]=r,H[e]=g.fromStepping(r);var n=Lt(r,0)-oe,a="translate("+xt(n+"%","0")+")";if(m[e].style[t.transformRule]=a,t.events.invertConnects&&S.length>1){var l=S.every(function(u,p,d){return p===0||u>=d[p-1]});if(K!==!l){Ne();return}}Z(e),Z(e+1),K&&(Z(e-1),Z(e+2))}function zt(){D.forEach(function(e){var r=S[e]>50?-1:1,n=3+(m.length+r*e);m[e].style.zIndex=String(n)})}function I(e,r,n,a,l,u){return l||(r=nt(S,e,r,n,a,!1,u)),r===!1?!1:(ye(e,r),!0)}function Z(e){if(C[e]){var r=S.slice();K&&r.sort(function(d,v){return d-v});var n=0,a=100;e!==0&&(n=r[e-1]),e!==C.length-1&&(a=r[e]);var l=a-n,u="translate("+xt(Lt(n,l)+"%","0")+")",p="scale("+xt(l/100,"1")+")";C[e].style[t.transformRule]=u+" "+p}}function Rt(e,r){return e===null||e===!1||e===void 0||(typeof e=="number"&&(e=String(e)),e=t.format.from(e),e!==!1&&(e=g.toStepping(e)),e===!1||isNaN(e))?S[r]:e}function it(e,r,n){var a=ut(e),l=S[0]===void 0;r=r===void 0?!0:r,t.animate&&!l&&Xt(h,t.cssClasses.tap,t.animationDuration),D.forEach(function(d){I(d,Rt(a[d],d),!0,!1,n)});var u=D.length===1?0:1;if(l&&g.hasNoSize()&&(n=!0,S[0]=0,D.length>1)){var p=100/(D.length-1);D.forEach(function(d){S[d]=d*p})}for(;u<D.length;++u)D.forEach(function(d){I(d,S[d],!0,!0,n)});zt(),D.forEach(function(d){k("update",d),a[d]!==null&&r&&k("set",d)})}function we(e){it(t.start,e)}function Ue(e,r,n,a){if(e=Number(e),!(e>=0&&e<D.length))throw new Error("noUiSlider: invalid handle number, got: "+e);I(e,Rt(r,e),!0,!0,a),k("update",e),n&&k("set",e)}function jt(e){if(e===void 0&&(e=!1),e)return H.length===1?H[0]:H.slice(0);var r=H.map(t.format.to);return r.length===1?r[0]:r}function Se(){for(Q(B.aria),Q(B.tooltips),Object.keys(t.cssClasses).forEach(function(e){st(h,t.cssClasses[e])});h.firstChild;)h.removeChild(h.firstChild);delete h.noUiSlider}function Ht(e){var r=S[e],n=g.getNearbySteps(r),a=H[e],l=n.thisStep.step,u=null;if(t.snap)return[a-n.stepBefore.startValue||null,n.stepAfter.startValue-a||null];l!==!1&&a+l>n.stepAfter.startValue&&(l=n.stepAfter.startValue-a),a>n.thisStep.startValue?u=n.thisStep.step:n.stepBefore.step===!1?u=!1:u=a-n.stepBefore.highestStep,r===100?l=null:r===0&&(u=null);var p=g.countStepDecimals();return l!==null&&l!==!1&&(l=Number(l.toFixed(p))),u!==null&&u!==!1&&(u=Number(u.toFixed(p))),[u,l]}function ke(){return D.map(Ht)}function Ee(e,r){var n=jt(),a=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips","connect"];a.forEach(function(u){e[u]!==void 0&&(i[u]=e[u])});var l=te(i);a.forEach(function(u){e[u]!==void 0&&(t[u]=l[u])}),g=l.spectrum,t.margin=l.margin,t.limit=l.limit,t.padding=l.padding,t.pips?mt(t.pips):ft(),t.tooltips?Vt():ht(),S=[],it(kt(e.start)?e.start:n,r),e.connect&&Ft()}function Ft(){for(;y.firstChild;)y.removeChild(y.firstChild);for(var e=0;e<=t.handles;e++)C[e]=dt(y,t.connect[e]),Z(e);Ot({drag:t.events.drag,fixed:!0})}function Ne(){K=!K,Qt(t,t.connect.map(function(e){return!e})),Ft()}function Ce(){z=ie(h),ne(t.connect,z),Ot(t.events),it(t.start),t.pips&&mt(t.pips),t.tooltips&&Vt(),ue()}Ce();var at={destroy:Se,steps:ke,on:vt,off:Q,get:jt,set:it,setHandle:Ue,reset:we,disable:se,enable:le,__moveHandles:function(e,r,n){Dt(e,r,S,n)},options:i,updateOptions:Ee,target:h,removePips:ft,removeTooltips:ht,getPositions:function(){return S.slice()},getTooltips:function(){return q},getOrigins:function(){return m},pips:mt};return at}function bo(o,t){if(!o||!o.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+o);if(o.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var i=te(t),c=go(o,i,t);return o.noUiSlider=c,c}const vo={__spectrum:Jt,cssClasses:Kt,create:bo},xo='.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{top:-100%;width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#fafafa;border-radius:4px;border:1px solid #d3d3d3;box-shadow:inset 0 1px 1px #f0f0f0,0 3px 6px -5px #bbb}.noUi-connects{border-radius:3px}.noUi-connect{background:#3fb8af}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #d9d9d9;border-radius:3px;background:#fff;cursor:default;box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ebebeb,0 3px 6px -3px #bbb}.noUi-active{box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ddd,0 3px 6px -3px #bbb}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#e8e7e6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect,.noUi-horizontal[disabled] .noUi-connects .noUi-connect{background:var(--luzmo-slider-background-color-disabled, var(--luzmo-disabled-color, #b8b8b8))}[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed!important}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#ccc}.noUi-marker-sub,.noUi-marker-large{background:#aaa}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%,50%);transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0,-50%);transform:translateY(-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0,50%);transform:translateY(50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #d9d9d9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%,0);transform:translate(-50%);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0,-50%);transform:translateY(-50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{-webkit-transform:translate(50%,0);transform:translate(50%);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{-webkit-transform:translate(0,-18px);transform:translateY(-18px);top:auto;right:28px}.noUi-handle.noUi-handle-lower:focus-visible{outline:calc(var(--luzmo-border-width) / var(--luzmo-slider-handle-scale, var(--slider-handle-scale, .5))) solid var(--luzmo-primary)}:host{flex-grow:1;height:1rem}.luzmo-slider-container{width:100%}.noUi-horizontal{height:var(--luzmo-slider-track-height, var(--slider-track-height, 18px));top:var(--luzmo-slider-top-to-track, var(--slider-top-to-track, 0));border:none;box-shadow:none}.noUi-horizontal .noUi-base{background:var(--luzmo-background-color);cursor:pointer}.noUi-horizontal .noUi-connects{width:100%;left:0;background:var(--luzmo-border-color);border-radius:.625rem}.noUi-horizontal .noUi-connects .noUi-connect{background:var(--luzmo-primary)}.noUi-horizontal .noUi-origin .noUi-handle{transform:scale(var(--luzmo-slider-handle-scale, var(--slider-handle-scale, .5)));width:var(--luzmo-slider-handle-size, var(--slider-handle-size, 2rem));height:var(--luzmo-slider-handle-size, var(--slider-handle-size, 2rem));right:var(--luzmo-slider-edge-to-handle, var(--slider-edge-to-handle, 14px));top:var(--luzmo-slider-top-to-handle, var(--slider-top-to-handle, -.875rem));background:var(--luzmo-background-color);transition:background-color var(--luzmo-animation-duration);box-shadow:0 .125rem .25rem var(--luzmo-border-color),inset 0 0 0 .0625rem var(--luzmo-border-color);border-radius:50%;border:none;cursor:pointer}.noUi-horizontal .noUi-origin .noUi-handle:before,.noUi-horizontal .noUi-origin .noUi-handle:after{display:none}.noUi-horizontal .noUi-origin .noUi-handle:hover,.noUi-horizontal .noUi-origin .noUi-handle.noUi-active{background-color:var(--luzmo-slider-background-color-hover, var(--luzmo-background-color-hover))}.noUi-horizontal[disabled] .noUi-connects{background:var(--luzmo-slider-background-color-disabled, var(--luzmo-background-color-disabled))}.noUi-horizontal[disabled] .noUi-origin .noUi-handle:hover{background-color:var(--luzmo-slider-background-color-disabled-hover, var(--luzmo-background-color))}.noUi-tooltip{padding:.5rem;font-size:calc(var(--luzmo-slider-tooltip-font-size, var(--slider-tooltip-font-size)) / var(--luzmo-slider-handle-scale, var(--slider-handle-scale, .5)));background:var(--luzmo-background-color);color:var(--luzmo-font-color);display:none}.noUi-active .noUi-tooltip{display:block}:host{font-family:var(--luzmo-slider-font-family, var(--luzmo-font-family));min-block-size:var(--luzmo-slider-item-height, var(--slider-item-height));--slider-edge-to-handle: calc(-1 * var(--slider-handle-size) / 2);--slider-top-to-track: calc( ( var(--luzmo-slider-item-height, var(--slider-item-height)) - var(--luzmo-slider-track-height, var(--slider-track-height)) ) / 2 );--slider-top-to-handle: calc( ( ( (var(--luzmo-slider-track-height, var(--slider-track-height))) / 2 - var(--luzmo-slider-handle-size, var(--slider-handle-size)) * var(--luzmo-slider-handle-scale, var(--slider-handle-scale)) ) ) )}:host([size=s]){--slider-item-height: 24px;--slider-track-height: 3px;--slider-handle-scale: .5;--slider-handle-size: 32px;--slider-tooltip-font-size: var(--luzmo-font-size-xs)}:host{--slider-item-height: 32px;--slider-track-height: 4px;--slider-handle-scale: .5;--slider-handle-size: 36px;--slider-tooltip-font-size: var(--luzmo-font-size-s)}:host([size=l]){--slider-min-height: 40px;--slider-track-height: 6px;--slider-handle-scale: .5;--slider-handle-size: 40px;--slider-tooltip-font-size: var(--luzmo-font-size)}:host([size=xl]){--slider-min-height: 48px;--slider-track-height: 7px;--slider-handle-scale: .5;--slider-handle-size: 44px;--slider-tooltip-font-size: var(--luzmo-font-size)}';var zo=Object.defineProperty,J=(o,t,i,c)=>{for(var s=void 0,f=o.length-1,h;f>=0;f--)(h=o[f])&&(s=h(t,i,s)||s);return s&&zo(t,i,s),s};const ee=class extends j.m(j.kt){constructor(){super(...arguments),this.value=0,this.min=0,this.max=100,this.step=100,this.disabled=!1,this.debounce=200,this._doingUpdate=!1}get _slider(){return this.renderRoot.querySelector("div")}firstUpdated(){this.noUiSlider=vo.create(this.renderRoot.querySelector("div"),{start:this.value??0,connect:[!0,!1],step:this.step??1,range:{min:this.min??0,max:this.max??100},tooltips:!0}),this.noUiSlider.on("slide",(t,i,[c])=>{this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.setValue(c)},this.debounce??200)})}updated(t){const i=t.get("value"),c=t.get("min"),s=t.get("max"),f=t.get("step"),h=t.get("disabled");this.value!==void 0&&this.value!==i&&this.noUiSlider.set(this.value),(this.min!==void 0&&(s!==void 0||this.max!==void 0)&&this.min!==c||this.max!==void 0&&(c!==void 0||this.min!==void 0)&&this.max!==s)&&this.noUiSlider.updateOptions({range:{min:this.min??c,max:this.max??s}},!0),this.step!==void 0&&this.step!==f&&this.noUiSlider.updateOptions({step:this.step},!0),this.disabled!==void 0&&this.disabled!==h&&(this.disabled?this.noUiSlider.disable():this.noUiSlider.enable())}setValue(t){this.disabled||this.dispatchEvent(new CustomEvent("change",{detail:t,bubbles:!0,composed:!0}))}render(){return j.Ht`<div class="luzmo-slider-container"></div>`}};ee.styles=[j.ht(xo)];let W=ee;J([j.Rt({type:Number,reflect:!0})],W.prototype,"value");J([j.Rt({type:Number,reflect:!0})],W.prototype,"min");J([j.Rt({type:Number,reflect:!0})],W.prototype,"max");J([j.Rt({type:Number,reflect:!0})],W.prototype,"step");J([j.Rt({type:Boolean,reflect:!0})],W.prototype,"disabled");J([j.Rt({type:Number,reflect:!0})],W.prototype,"debounce");customElements.get("luzmo-slider")||customElements.define("luzmo-slider",W);var yo=Object.defineProperty,Y=(o,t,i,c)=>{for(var s=void 0,f=o.length-1,h;f>=0;f--)(h=o[f])&&(s=h(t,i,s)||s);return s&&yo(t,i,s),s};const tt=class tt extends Ae.LuzmoEditOptionBase{constructor(){super(...arguments),this.value=0,this.default=0,this.min=0,this.max=100,this.step=100,this.debounce=200}_handleEvent(t){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(t.detail):t.detail}}))}renderController(){const t=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,i=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return _.x`
|
36
|
+
* */const Me=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const o=document.createElement("style");o.setAttribute("data-luzmo-vars",""),o.textContent='html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}',document.head.appendChild(o)}};Me();var $;(function(o){o.Range="range",o.Steps="steps",o.Positions="positions",o.Count="count",o.Values="values"})($||($={}));var D;(function(o){o[o.None=-1]="None",o[o.NoValue=0]="NoValue",o[o.LargeValue=1]="LargeValue",o[o.SmallValue=2]="SmallValue"})(D||(D={}));function De(o){return lt(o)&&typeof o.from=="function"}function lt(o){return typeof o=="object"&&typeof o.to=="function"}function $t(o){o.parentElement.removeChild(o)}function kt(o){return o!=null}function Yt(o){o.preventDefault()}function Oe(o){return o.filter(function(t){return this[t]?!1:this[t]=!0},{})}function Le(o,t){return Math.round(o/t)*t}function je(o,t){var i=o.getBoundingClientRect(),c=o.ownerDocument,s=c.documentElement,f=Gt(c);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(f.x=0),t?i.top+f.y-s.clientTop:i.left+f.x-s.clientLeft}function j(o){return typeof o=="number"&&!isNaN(o)&&isFinite(o)}function Xt(o,t,i){i>0&&(M(o,t),setTimeout(function(){st(o,t)},i))}function It(o){return Math.max(Math.min(o,100),0)}function ut(o){return Array.isArray(o)?o:[o]}function He(o){o=String(o);var t=o.split(".");return t.length>1?t[1].length:0}function M(o,t){o.classList&&!/\s/.test(t)?o.classList.add(t):o.className+=" "+t}function st(o,t){o.classList&&!/\s/.test(t)?o.classList.remove(t):o.className=o.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function Fe(o,t){return o.classList?o.classList.contains(t):new RegExp("\\b"+t+"\\b").test(o.className)}function Gt(o){var t=window.pageXOffset!==void 0,i=(o.compatMode||"")==="CSS1Compat",c=t?window.pageXOffset:i?o.documentElement.scrollLeft:o.body.scrollLeft,s=t?window.pageYOffset:i?o.documentElement.scrollTop:o.body.scrollTop;return{x:c,y:s}}function Re(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function Te(){var o=!1;try{var t=Object.defineProperty({},"passive",{get:function(){o=!0}});window.addEventListener("test",null,t)}catch{}return o}function _e(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function Nt(o,t){return 100/(t-o)}function Et(o,t,i){return t*100/(o[i+1]-o[i])}function qe(o,t){return Et(o,o[0]<0?t+Math.abs(o[0]):t-o[0],0)}function Be(o,t){return t*(o[1]-o[0])/100+o[0]}function et(o,t){for(var i=1;o>=t[i];)i+=1;return i}function $e(o,t,i){if(i>=o.slice(-1)[0])return 100;var c=et(i,o),s=o[c-1],f=o[c],h=t[c-1],z=t[c];return h+qe([s,f],i)/Nt(h,z)}function Ye(o,t,i){if(i>=100)return o.slice(-1)[0];var c=et(i,t),s=o[c-1],f=o[c],h=t[c-1],z=t[c];return Be([s,f],(i-h)*Nt(h,z))}function Xe(o,t,i,c){if(c===100)return c;var s=et(c,o),f=o[s-1],h=o[s];return i?c-f>(h-f)/2?h:f:t[s-1]?o[s-1]+Le(c-o[s-1],t[s-1]):c}var Jt=function(){function o(t,i,c){this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[c||!1],this.xNumSteps=[!1],this.snap=i;var s,f=[];for(Object.keys(t).forEach(function(h){f.push([ut(t[h]),h])}),f.sort(function(h,z){return h[0][0]-z[0][0]}),s=0;s<f.length;s++)this.handleEntryPoint(f[s][1],f[s][0]);for(this.xNumSteps=this.xSteps.slice(0),s=0;s<this.xNumSteps.length;s++)this.handleStepPoint(s,this.xNumSteps[s])}return o.prototype.getDistance=function(t){for(var i=[],c=0;c<this.xNumSteps.length-1;c++)i[c]=Et(this.xVal,t,c);return i},o.prototype.getAbsoluteDistance=function(t,i,c){var s=0;if(t<this.xPct[this.xPct.length-1])for(;t>this.xPct[s+1];)s++;else t===this.xPct[this.xPct.length-1]&&(s=this.xPct.length-2);!c&&t===this.xPct[s+1]&&s++,i===null&&(i=[]);var f,h=1,z=i[s],y=0,m=0,C=0,P=0;for(c?f=(t-this.xPct[s])/(this.xPct[s+1]-this.xPct[s]):f=(this.xPct[s+1]-t)/(this.xPct[s+1]-this.xPct[s]);z>0;)y=this.xPct[s+1+P]-this.xPct[s+P],i[s+P]*h+100-f*100>100?(m=y*f,h=(z-100*f)/i[s+P],f=1):(m=i[s+P]*y/100*h,h=0),c?(C=C-m,this.xPct.length+P>=1&&P--):(C=C+m,this.xPct.length-P>=1&&P++),z=i[s+P]*h;return t+C},o.prototype.toStepping=function(t){return t=$e(this.xVal,this.xPct,t),t},o.prototype.fromStepping=function(t){return Ye(this.xVal,this.xPct,t)},o.prototype.getStep=function(t){return t=Xe(this.xPct,this.xSteps,this.snap,t),t},o.prototype.getDefaultStep=function(t,i,c){var s=et(t,this.xPct);return(t===100||i&&t===this.xPct[s-1])&&(s=Math.max(s-1,1)),(this.xVal[s]-this.xVal[s-1])/c},o.prototype.getNearbySteps=function(t){var i=et(t,this.xPct);return{stepBefore:{startValue:this.xVal[i-2],step:this.xNumSteps[i-2],highestStep:this.xHighestCompleteStep[i-2]},thisStep:{startValue:this.xVal[i-1],step:this.xNumSteps[i-1],highestStep:this.xHighestCompleteStep[i-1]},stepAfter:{startValue:this.xVal[i],step:this.xNumSteps[i],highestStep:this.xHighestCompleteStep[i]}}},o.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(He);return Math.max.apply(null,t)},o.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},o.prototype.convert=function(t){return this.getStep(this.toStepping(t))},o.prototype.handleEntryPoint=function(t,i){var c;if(t==="min"?c=0:t==="max"?c=100:c=parseFloat(t),!j(c)||!j(i[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(c),this.xVal.push(i[0]);var s=Number(i[1]);c?this.xSteps.push(isNaN(s)?!1:s):isNaN(s)||(this.xSteps[0]=s),this.xHighestCompleteStep.push(0)},o.prototype.handleStepPoint=function(t,i){if(i){if(this.xVal[t]===this.xVal[t+1]){this.xSteps[t]=this.xHighestCompleteStep[t]=this.xVal[t];return}this.xSteps[t]=Et([this.xVal[t],this.xVal[t+1]],i,0)/Nt(this.xPct[t],this.xPct[t+1]);var c=(this.xVal[t+1]-this.xVal[t])/this.xNumSteps[t],s=Math.ceil(Number(c.toFixed(3))-1),f=this.xVal[t]+this.xNumSteps[t]*s;this.xHighestCompleteStep[t]=f}},o}(),Wt={to:function(o){return o===void 0?"":o.toFixed(2)},from:Number},Kt={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},B={tooltips:".__tooltips",aria:".__aria"};function Ie(o,t){if(!j(t))throw new Error("noUiSlider: 'step' is not numeric.");o.singleStep=t}function We(o,t){if(!j(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");o.keyboardPageMultiplier=t}function Ge(o,t){if(!j(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");o.keyboardMultiplier=t}function Je(o,t){if(!j(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");o.keyboardDefaultStep=t}function Ke(o,t){if(typeof t!="object"||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(t.min===void 0||t.max===void 0)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");o.spectrum=new Jt(t,o.snap||!1,o.singleStep)}function Qe(o,t){if(t=ut(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");o.handles=t.length,o.start=t}function Ze(o,t){if(typeof t!="boolean")throw new Error("noUiSlider: 'snap' option must be a boolean.");o.snap=t}function to(o,t){if(typeof t!="boolean")throw new Error("noUiSlider: 'animate' option must be a boolean.");o.animate=t}function eo(o,t){if(typeof t!="number")throw new Error("noUiSlider: 'animationDuration' option must be a number.");o.animationDuration=t}function Qt(o,t){var i=[!1],c;if(t==="lower"?t=[!0,!1]:t==="upper"&&(t=[!1,!0]),t===!0||t===!1){for(c=1;c<o.handles;c++)i.push(t);i.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==o.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");i=t}o.connect=i}function oo(o,t){switch(t){case"horizontal":o.ort=0;break;case"vertical":o.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function Zt(o,t){if(!j(t))throw new Error("noUiSlider: 'margin' option must be numeric.");t!==0&&(o.margin=o.spectrum.getDistance(t))}function ro(o,t){if(!j(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(o.limit=o.spectrum.getDistance(t),!o.limit||o.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function no(o,t){var i;if(!j(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&!(t.length===2||j(t[0])||j(t[1])))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(t!==0){for(Array.isArray(t)||(t=[t,t]),o.padding=[o.spectrum.getDistance(t[0]),o.spectrum.getDistance(t[1])],i=0;i<o.spectrum.xNumSteps.length-1;i++)if(o.padding[0][i]<0||o.padding[1][i]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var c=t[0]+t[1],s=o.spectrum.xVal[0],f=o.spectrum.xVal[o.spectrum.xVal.length-1];if(c/(f-s)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function io(o,t){switch(t){case"ltr":o.dir=0;break;case"rtl":o.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function ao(o,t){if(typeof t!="string")throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var i=t.indexOf("tap")>=0,c=t.indexOf("drag")>=0,s=t.indexOf("fixed")>=0,f=t.indexOf("snap")>=0,h=t.indexOf("hover")>=0,z=t.indexOf("unconstrained")>=0,y=t.indexOf("invert-connects")>=0,m=t.indexOf("drag-all")>=0,C=t.indexOf("smooth-steps")>=0;if(s){if(o.handles!==2)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");Zt(o,o.start[1]-o.start[0])}if(y&&o.handles!==2)throw new Error("noUiSlider: 'invert-connects' behaviour must be used with 2 handles");if(z&&(o.margin||o.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");o.events={tap:i||f,drag:c,dragAll:m,smoothSteps:C,fixed:s,snap:f,hover:h,unconstrained:z,invertConnects:y}}function so(o,t){if(t!==!1)if(t===!0||lt(t)){o.tooltips=[];for(var i=0;i<o.handles;i++)o.tooltips.push(t)}else{if(t=ut(t),t.length!==o.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.forEach(function(c){if(typeof c!="boolean"&&!lt(c))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),o.tooltips=t}}function lo(o,t){if(t.length!==o.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");o.handleAttributes=t}function uo(o,t){if(!lt(t))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");o.ariaFormat=t}function co(o,t){if(!De(t))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");o.format=t}function po(o,t){if(typeof t!="boolean")throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");o.keyboardSupport=t}function ho(o,t){o.documentElement=t}function fo(o,t){if(typeof t!="string"&&t!==!1)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");o.cssPrefix=t}function mo(o,t){if(typeof t!="object")throw new Error("noUiSlider: 'cssClasses' must be an object.");typeof o.cssPrefix=="string"?(o.cssClasses={},Object.keys(t).forEach(function(i){o.cssClasses[i]=o.cssPrefix+t[i]})):o.cssClasses=t}function te(o){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:Wt,format:Wt},i={step:{r:!1,t:Ie},keyboardPageMultiplier:{r:!1,t:We},keyboardMultiplier:{r:!1,t:Ge},keyboardDefaultStep:{r:!1,t:Je},start:{r:!0,t:Qe},connect:{r:!0,t:Qt},direction:{r:!0,t:io},snap:{r:!1,t:Ze},animate:{r:!1,t:to},animationDuration:{r:!1,t:eo},range:{r:!0,t:Ke},orientation:{r:!1,t:oo},margin:{r:!1,t:Zt},limit:{r:!1,t:ro},padding:{r:!1,t:no},behaviour:{r:!0,t:ao},ariaFormat:{r:!1,t:uo},format:{r:!1,t:co},tooltips:{r:!1,t:so},keyboardSupport:{r:!0,t:po},documentElement:{r:!1,t:ho},cssPrefix:{r:!0,t:fo},cssClasses:{r:!0,t:mo},handleAttributes:{r:!1,t:lo}},c={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:Kt,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};o.format&&!o.ariaFormat&&(o.ariaFormat=o.format),Object.keys(i).forEach(function(y){if(!kt(o[y])&&c[y]===void 0){if(i[y].r)throw new Error("noUiSlider: '"+y+"' is required.");return}i[y].t(t,kt(o[y])?o[y]:c[y])}),t.pips=o.pips;var s=document.createElement("div"),f=s.style.msTransform!==void 0,h=s.style.transform!==void 0;t.transformRule=h?"transform":f?"msTransform":"webkitTransform";var z=[["left","top"],["right","bottom"]];return t.style=z[t.dir][t.ort],t}function go(o,t,i){var c=Re(),s=_e(),f=s&&Te(),h=o,z,y,m,C,P,q,g=t.spectrum,F=[],S=[],O=[],ct=0,R={},K=!1,G=o.ownerDocument,ot=t.documentElement||G.documentElement,rt=G.body,oe=G.dir==="rtl"||t.ort===1?0:100;function T(e,r){var n=G.createElement("div");return r&&M(n,r),e.appendChild(n),n}function re(e,r){var n=T(e,t.cssClasses.origin),a=T(n,t.cssClasses.handle);if(T(a,t.cssClasses.touchArea),a.setAttribute("data-handle",String(r)),t.keyboardSupport&&(a.setAttribute("tabindex","0"),a.addEventListener("keydown",function(u){return xe(u,r)})),t.handleAttributes!==void 0){var l=t.handleAttributes[r];Object.keys(l).forEach(function(u){a.setAttribute(u,l[u])})}return a.setAttribute("role","slider"),a.setAttribute("aria-orientation",t.ort?"vertical":"horizontal"),r===0?M(a,t.cssClasses.handleLower):r===t.handles-1&&M(a,t.cssClasses.handleUpper),n.handle=a,n}function dt(e,r){return r?T(e,t.cssClasses.connect):!1}function ne(e,r){y=T(r,t.cssClasses.connects),m=[],C=[],C.push(dt(y,e[0]));for(var n=0;n<t.handles;n++)m.push(re(r,n)),O[n]=n,C.push(dt(y,e[n+1]))}function ie(e){M(e,t.cssClasses.target),t.dir===0?M(e,t.cssClasses.ltr):M(e,t.cssClasses.rtl),t.ort===0?M(e,t.cssClasses.horizontal):M(e,t.cssClasses.vertical);var r=getComputedStyle(e).direction;return r==="rtl"?M(e,t.cssClasses.textDirectionRtl):M(e,t.cssClasses.textDirectionLtr),T(e,t.cssClasses.base)}function ae(e,r){return!t.tooltips||!t.tooltips[r]?!1:T(e.firstChild,t.cssClasses.tooltip)}function Ct(){return h.hasAttribute("disabled")}function pt(e){var r=m[e];return r.hasAttribute("disabled")}function se(e){e!=null?(m[e].setAttribute("disabled",""),m[e].handle.removeAttribute("tabindex")):(h.setAttribute("disabled",""),m.forEach(function(r){r.handle.removeAttribute("tabindex")}))}function le(e){e!=null?(m[e].removeAttribute("disabled"),m[e].handle.setAttribute("tabindex","0")):(h.removeAttribute("disabled"),m.forEach(function(r){r.removeAttribute("disabled"),r.handle.setAttribute("tabindex","0")}))}function ht(){q&&(Q("update"+B.tooltips),q.forEach(function(e){e&&$t(e)}),q=null)}function Vt(){ht(),q=m.map(ae),vt("update"+B.tooltips,function(e,r,n){if(!(!q||!t.tooltips)&&q[r]!==!1){var a=e[r];t.tooltips[r]!==!0&&(a=t.tooltips[r].to(n[r])),q[r].innerHTML=a}})}function ue(){Q("update"+B.aria),vt("update"+B.aria,function(e,r,n,a,l){O.forEach(function(u){var p=m[u],d=nt(S,u,0,!0,!0,!0),v=nt(S,u,100,!0,!0,!0),x=l[u],w=String(t.ariaFormat.to(n[u]));d=g.fromStepping(d).toFixed(1),v=g.fromStepping(v).toFixed(1),x=g.fromStepping(x).toFixed(1),p.children[0].setAttribute("aria-valuemin",d),p.children[0].setAttribute("aria-valuemax",v),p.children[0].setAttribute("aria-valuenow",x),p.children[0].setAttribute("aria-valuetext",w)})})}function ce(e){if(e.mode===$.Range||e.mode===$.Steps)return g.xVal;if(e.mode===$.Count){if(e.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var r=e.values-1,n=100/r,a=[];r--;)a[r]=r*n;return a.push(100),Pt(a,e.stepped)}return e.mode===$.Positions?Pt(e.values,e.stepped):e.mode===$.Values?e.stepped?e.values.map(function(l){return g.fromStepping(g.getStep(g.toStepping(l)))}):e.values:[]}function Pt(e,r){return e.map(function(n){return g.fromStepping(r?g.getStep(n):n)})}function de(e){function r(x,w){return Number((x+w).toFixed(7))}var n=ce(e),a={},l=g.xVal[0],u=g.xVal[g.xVal.length-1],p=!1,d=!1,v=0;return n=Oe(n.slice().sort(function(x,w){return x-w})),n[0]!==l&&(n.unshift(l),p=!0),n[n.length-1]!==u&&(n.push(u),d=!0),n.forEach(function(x,w){var U,b,E,A=x,N=n[w+1],V,yt,wt,Ut,Tt,St,_t,qt=e.mode===$.Steps;for(qt&&(U=g.xNumSteps[w]),U||(U=N-A),N===void 0&&(N=A),U=Math.max(U,1e-7),b=A;b<=N;b=r(b,U)){for(V=g.toStepping(b),yt=V-v,Tt=yt/(e.density||1),St=Math.round(Tt),_t=yt/St,E=1;E<=St;E+=1)wt=v+E*_t,a[wt.toFixed(5)]=[g.fromStepping(wt),0];Ut=n.indexOf(b)>-1?D.LargeValue:qt?D.SmallValue:D.NoValue,!w&&p&&b!==N&&(Ut=0),b===N&&d||(a[V.toFixed(5)]=[b,Ut]),v=V}}),a}function pe(e,r,n){var a,l,u=G.createElement("div"),p=(a={},a[D.None]="",a[D.NoValue]=t.cssClasses.valueNormal,a[D.LargeValue]=t.cssClasses.valueLarge,a[D.SmallValue]=t.cssClasses.valueSub,a),d=(l={},l[D.None]="",l[D.NoValue]=t.cssClasses.markerNormal,l[D.LargeValue]=t.cssClasses.markerLarge,l[D.SmallValue]=t.cssClasses.markerSub,l),v=[t.cssClasses.valueHorizontal,t.cssClasses.valueVertical],x=[t.cssClasses.markerHorizontal,t.cssClasses.markerVertical];M(u,t.cssClasses.pips),M(u,t.ort===0?t.cssClasses.pipsHorizontal:t.cssClasses.pipsVertical);function w(b,E){var A=E===t.cssClasses.value,N=A?v:x,V=A?p:d;return E+" "+N[t.ort]+" "+V[b]}function U(b,E,A){if(A=r?r(E,A):A,A!==D.None){var N=T(u,!1);N.className=w(A,t.cssClasses.marker),N.style[t.style]=b+"%",A>D.NoValue&&(N=T(u,!1),N.className=w(A,t.cssClasses.value),N.setAttribute("data-value",String(E)),N.style[t.style]=b+"%",N.innerHTML=String(n.to(E)))}}return Object.keys(e).forEach(function(b){U(b,e[b][0],e[b][1])}),u}function ft(){P&&($t(P),P=null)}function mt(e){ft();var r=de(e),n=e.filter,a=e.format||{to:function(l){return String(Math.round(l))}};return P=h.appendChild(pe(r,n,a)),P}function At(){var e=z.getBoundingClientRect(),r="offset"+["Width","Height"][t.ort];return t.ort===0?e.width||z[r]:e.height||z[r]}function X(e,r,n,a){var l=function(p){var d=he(p,a.pageOffset,a.target||r);if(!d||Ct()&&!a.doNotReject||Fe(h,t.cssClasses.tap)&&!a.doNotReject||e===c.start&&d.buttons!==void 0&&d.buttons>1||a.hover&&d.buttons)return!1;f||d.preventDefault(),d.calcPoint=d.points[t.ort],n(d,a)},u=[];return e.split(" ").forEach(function(p){r.addEventListener(p,l,f?{passive:!0}:!1),u.push([p,l])}),u}function he(e,r,n){var a=e.type.indexOf("touch")===0,l=e.type.indexOf("mouse")===0,u=e.type.indexOf("pointer")===0,p=0,d=0;if(e.type.indexOf("MSPointer")===0&&(u=!0),e.type==="mousedown"&&!e.buttons&&!e.touches)return!1;if(a){var v=function(U){var b=U.target;return b===n||n.contains(b)||e.composed&&e.composedPath().shift()===n};if(e.type==="touchstart"){var x=Array.prototype.filter.call(e.touches,v);if(x.length>1)return!1;p=x[0].pageX,d=x[0].pageY}else{var w=Array.prototype.find.call(e.changedTouches,v);if(!w)return!1;p=w.pageX,d=w.pageY}}return r=r||Gt(G),(l||u)&&(p=e.clientX+r.x,d=e.clientY+r.y),e.pageOffset=r,e.points=[p,d],e.cursor=l||u,e}function Mt(e){var r=e-je(z,t.ort),n=r*100/At();return n=It(n),t.dir?100-n:n}function fe(e){var r=100,n=!1;return m.forEach(function(a,l){if(!pt(l)){var u=S[l],p=Math.abs(u-e),d=p===100&&r===100,v=p<r,x=p<=r&&e>u;(v||x||d)&&(n=l,r=p)}}),n}function me(e,r){e.type==="mouseout"&&e.target.nodeName==="HTML"&&e.relatedTarget===null&>(e,r)}function ge(e,r){if(navigator.appVersion.indexOf("MSIE 9")===-1&&e.buttons===0&&r.buttonsProperty!==0)return gt(e,r);var n=(t.dir?-1:1)*(e.calcPoint-r.startCalcPoint),a=n*100/r.baseSize;Ot(n>0,a,r.locations,r.handleNumbers,r.connect)}function gt(e,r){r.handle&&(st(r.handle,t.cssClasses.active),ct-=1),r.listeners.forEach(function(n){ot.removeEventListener(n[0],n[1])}),ct===0&&(st(h,t.cssClasses.drag),zt(),e.cursor&&(rt.style.cursor="",rt.removeEventListener("selectstart",Yt))),t.events.smoothSteps&&(r.handleNumbers.forEach(function(n){I(n,S[n],!0,!0,!1,!1)}),r.handleNumbers.forEach(function(n){k("update",n)})),r.handleNumbers.forEach(function(n){k("change",n),k("set",n),k("end",n)})}function bt(e,r){if(!r.handleNumbers.some(pt)){var n;if(r.handleNumbers.length===1){var a=m[r.handleNumbers[0]];n=a.children[0],ct+=1,M(n,t.cssClasses.active)}e.stopPropagation();var l=[],u=X(c.move,ot,ge,{target:e.target,handle:n,connect:r.connect,listeners:l,startCalcPoint:e.calcPoint,baseSize:At(),pageOffset:e.pageOffset,handleNumbers:r.handleNumbers,buttonsProperty:e.buttons,locations:S.slice()}),p=X(c.end,ot,gt,{target:e.target,handle:n,listeners:l,doNotReject:!0,handleNumbers:r.handleNumbers}),d=X("mouseout",ot,me,{target:e.target,handle:n,listeners:l,doNotReject:!0,handleNumbers:r.handleNumbers});l.push.apply(l,u.concat(p,d)),e.cursor&&(rt.style.cursor=getComputedStyle(e.target).cursor,m.length>1&&M(h,t.cssClasses.drag),rt.addEventListener("selectstart",Yt,!1)),r.handleNumbers.forEach(function(v){k("start",v)})}}function be(e){e.stopPropagation();var r=Mt(e.calcPoint),n=fe(r);n!==!1&&(t.events.snap||Xt(h,t.cssClasses.tap,t.animationDuration),I(n,r,!0,!0),zt(),k("slide",n,!0),k("update",n,!0),t.events.snap?bt(e,{handleNumbers:[n]}):(k("change",n,!0),k("set",n,!0)))}function ve(e){var r=Mt(e.calcPoint),n=g.getStep(r),a=g.fromStepping(n);Object.keys(R).forEach(function(l){l.split(".")[0]==="hover"&&R[l].forEach(function(u){u.call(at,a)})})}function xe(e,r){if(Ct()||pt(r))return!1;var n=["Left","Right"],a=["Down","Up"],l=["PageDown","PageUp"],u=["Home","End"];t.dir&&!t.ort?n.reverse():t.ort&&!t.dir&&(a.reverse(),l.reverse());var p=e.key.replace("Arrow",""),d=p===l[0],v=p===l[1],x=p===a[0]||p===n[0]||d,w=p===a[1]||p===n[1]||v,U=p===u[0],b=p===u[1];if(!x&&!w&&!U&&!b)return!0;e.preventDefault();var E;if(w||x){var A=x?0:1,N=Ft(r),V=N[A];if(V===null)return!1;V===!1&&(V=g.getDefaultStep(S[r],x,t.keyboardDefaultStep)),v||d?V*=t.keyboardPageMultiplier:V*=t.keyboardMultiplier,V=Math.max(V,1e-7),V=(x?-1:1)*V,E=F[r]+V}else b?E=t.spectrum.xVal[t.spectrum.xVal.length-1]:E=t.spectrum.xVal[0];return I(r,g.toStepping(E),!0,!0),k("slide",r),k("update",r),k("change",r),k("set",r),!1}function Dt(e){e.fixed||m.forEach(function(r,n){X(c.start,r.children[0],bt,{handleNumbers:[n]})}),e.tap&&X(c.start,z,be,{}),e.hover&&X(c.move,z,ve,{hover:!0}),e.drag&&C.forEach(function(r,n){if(!(r===!1||n===0||n===C.length-1)){var a=m[n-1],l=m[n],u=[r],p=[a,l],d=[n-1,n];M(r,t.cssClasses.draggable),e.fixed&&(u.push(a.children[0]),u.push(l.children[0])),e.dragAll&&(p=m,d=O),u.forEach(function(v){X(c.start,v,bt,{handles:p,handleNumbers:d,connect:r})})}})}function vt(e,r){R[e]=R[e]||[],R[e].push(r),e.split(".")[0]==="update"&&m.forEach(function(n,a){k("update",a)})}function ze(e){return e===B.aria||e===B.tooltips}function Q(e){var r=e&&e.split(".")[0],n=r?e.substring(r.length):e;Object.keys(R).forEach(function(a){var l=a.split(".")[0],u=a.substring(l.length);(!r||r===l)&&(!n||n===u)&&(!ze(u)||n===u)&&delete R[a]})}function k(e,r,n){Object.keys(R).forEach(function(a){var l=a.split(".")[0];e===l&&R[a].forEach(function(u){u.call(at,F.map(t.format.to),r,F.slice(),n||!1,S.slice(),at)})})}function nt(e,r,n,a,l,u,p){var d;return m.length>1&&!t.events.unconstrained&&(a&&r>0&&(d=g.getAbsoluteDistance(e[r-1],t.margin,!1),n=Math.max(n,d)),l&&r<m.length-1&&(d=g.getAbsoluteDistance(e[r+1],t.margin,!0),n=Math.min(n,d))),m.length>1&&t.limit&&(a&&r>0&&(d=g.getAbsoluteDistance(e[r-1],t.limit,!1),n=Math.min(n,d)),l&&r<m.length-1&&(d=g.getAbsoluteDistance(e[r+1],t.limit,!0),n=Math.max(n,d))),t.padding&&(r===0&&(d=g.getAbsoluteDistance(0,t.padding[0],!1),n=Math.max(n,d)),r===m.length-1&&(d=g.getAbsoluteDistance(100,t.padding[1],!0),n=Math.min(n,d))),p||(n=g.getStep(n)),n=It(n),n===e[r]&&!u?!1:n}function xt(e,r){var n=t.ort;return(n?r:e)+", "+(n?e:r)}function Ot(e,r,n,a,l){var u=n.slice(),p=a[0],d=t.events.smoothSteps,v=[!e,e],x=[e,!e];a=a.slice(),e&&a.reverse(),a.length>1?a.forEach(function(U,b){var E=nt(u,U,u[U]+r,v[b],x[b],!1,d);E===!1?r=0:(r=E-u[U],u[U]=E)}):v=x=[!0];var w=!1;a.forEach(function(U,b){w=I(U,n[U]+r,v[b],x[b],!1,d)||w}),w&&(a.forEach(function(U){k("update",U),k("slide",U)}),l!=null&&k("drag",p))}function Lt(e,r){return t.dir?100-e-r:e}function ye(e,r){S[e]=r,F[e]=g.fromStepping(r);var n=Lt(r,0)-oe,a="translate("+xt(n+"%","0")+")";if(m[e].style[t.transformRule]=a,t.events.invertConnects&&S.length>1){var l=S.every(function(u,p,d){return p===0||u>=d[p-1]});if(K!==!l){Ne();return}}Z(e),Z(e+1),K&&(Z(e-1),Z(e+2))}function zt(){O.forEach(function(e){var r=S[e]>50?-1:1,n=3+(m.length+r*e);m[e].style.zIndex=String(n)})}function I(e,r,n,a,l,u){return l||(r=nt(S,e,r,n,a,!1,u)),r===!1?!1:(ye(e,r),!0)}function Z(e){if(C[e]){var r=S.slice();K&&r.sort(function(d,v){return d-v});var n=0,a=100;e!==0&&(n=r[e-1]),e!==C.length-1&&(a=r[e]);var l=a-n,u="translate("+xt(Lt(n,l)+"%","0")+")",p="scale("+xt(l/100,"1")+")";C[e].style[t.transformRule]=u+" "+p}}function jt(e,r){return e===null||e===!1||e===void 0||(typeof e=="number"&&(e=String(e)),e=t.format.from(e),e!==!1&&(e=g.toStepping(e)),e===!1||isNaN(e))?S[r]:e}function it(e,r,n){var a=ut(e),l=S[0]===void 0;r=r===void 0?!0:r,t.animate&&!l&&Xt(h,t.cssClasses.tap,t.animationDuration),O.forEach(function(d){I(d,jt(a[d],d),!0,!1,n)});var u=O.length===1?0:1;if(l&&g.hasNoSize()&&(n=!0,S[0]=0,O.length>1)){var p=100/(O.length-1);O.forEach(function(d){S[d]=d*p})}for(;u<O.length;++u)O.forEach(function(d){I(d,S[d],!0,!0,n)});zt(),O.forEach(function(d){k("update",d),a[d]!==null&&r&&k("set",d)})}function we(e){it(t.start,e)}function Ue(e,r,n,a){if(e=Number(e),!(e>=0&&e<O.length))throw new Error("noUiSlider: invalid handle number, got: "+e);I(e,jt(r,e),!0,!0,a),k("update",e),n&&k("set",e)}function Ht(e){if(e===void 0&&(e=!1),e)return F.length===1?F[0]:F.slice(0);var r=F.map(t.format.to);return r.length===1?r[0]:r}function Se(){for(Q(B.aria),Q(B.tooltips),Object.keys(t.cssClasses).forEach(function(e){st(h,t.cssClasses[e])});h.firstChild;)h.removeChild(h.firstChild);delete h.noUiSlider}function Ft(e){var r=S[e],n=g.getNearbySteps(r),a=F[e],l=n.thisStep.step,u=null;if(t.snap)return[a-n.stepBefore.startValue||null,n.stepAfter.startValue-a||null];l!==!1&&a+l>n.stepAfter.startValue&&(l=n.stepAfter.startValue-a),a>n.thisStep.startValue?u=n.thisStep.step:n.stepBefore.step===!1?u=!1:u=a-n.stepBefore.highestStep,r===100?l=null:r===0&&(u=null);var p=g.countStepDecimals();return l!==null&&l!==!1&&(l=Number(l.toFixed(p))),u!==null&&u!==!1&&(u=Number(u.toFixed(p))),[u,l]}function ke(){return O.map(Ft)}function Ee(e,r){var n=Ht(),a=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips","connect"];a.forEach(function(u){e[u]!==void 0&&(i[u]=e[u])});var l=te(i);a.forEach(function(u){e[u]!==void 0&&(t[u]=l[u])}),g=l.spectrum,t.margin=l.margin,t.limit=l.limit,t.padding=l.padding,t.pips?mt(t.pips):ft(),t.tooltips?Vt():ht(),S=[],it(kt(e.start)?e.start:n,r),e.connect&&Rt()}function Rt(){for(;y.firstChild;)y.removeChild(y.firstChild);for(var e=0;e<=t.handles;e++)C[e]=dt(y,t.connect[e]),Z(e);Dt({drag:t.events.drag,fixed:!0})}function Ne(){K=!K,Qt(t,t.connect.map(function(e){return!e})),Rt()}function Ce(){z=ie(h),ne(t.connect,z),Dt(t.events),it(t.start),t.pips&&mt(t.pips),t.tooltips&&Vt(),ue()}Ce();var at={destroy:Se,steps:ke,on:vt,off:Q,get:Ht,set:it,setHandle:Ue,reset:we,disable:se,enable:le,__moveHandles:function(e,r,n){Ot(e,r,S,n)},options:i,updateOptions:Ee,target:h,removePips:ft,removeTooltips:ht,getPositions:function(){return S.slice()},getTooltips:function(){return q},getOrigins:function(){return m},pips:mt};return at}function bo(o,t){if(!o||!o.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+o);if(o.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var i=te(t),c=go(o,i,t);return o.noUiSlider=c,c}const vo={__spectrum:Jt,cssClasses:Kt,create:bo},xo='.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{top:-100%;width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#fafafa;border-radius:4px;border:1px solid #d3d3d3;box-shadow:inset 0 1px 1px #f0f0f0,0 3px 6px -5px #bbb}.noUi-connects{border-radius:3px}.noUi-connect{background:#3fb8af}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #d9d9d9;border-radius:3px;background:#fff;cursor:default;box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ebebeb,0 3px 6px -3px #bbb}.noUi-active{box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ddd,0 3px 6px -3px #bbb}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#e8e7e6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect,.noUi-horizontal[disabled] .noUi-connects .noUi-connect{background:var(--luzmo-slider-background-color-disabled, var(--luzmo-disabled-color, #b8b8b8))}[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed!important}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#ccc}.noUi-marker-sub,.noUi-marker-large{background:#aaa}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%,50%);transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0,-50%);transform:translateY(-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0,50%);transform:translateY(50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #d9d9d9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%,0);transform:translate(-50%);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0,-50%);transform:translateY(-50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{-webkit-transform:translate(50%,0);transform:translate(50%);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{-webkit-transform:translate(0,-18px);transform:translateY(-18px);top:auto;right:28px}.noUi-handle.noUi-handle-lower:focus-visible{outline:calc(var(--luzmo-border-width) / var(--luzmo-slider-handle-scale, var(--slider-handle-scale, .5))) solid var(--luzmo-primary)}:host{flex-grow:1;height:1rem}.luzmo-slider-container{width:100%}.noUi-horizontal{height:var(--luzmo-slider-track-height, var(--slider-track-height, 18px));top:var(--luzmo-slider-top-to-track, var(--slider-top-to-track, 0));border:none;box-shadow:none}.noUi-horizontal .noUi-base{background:var(--luzmo-background-color);cursor:pointer}.noUi-horizontal .noUi-connects{width:100%;left:0;background:var(--luzmo-border-color);border-radius:.625rem}.noUi-horizontal .noUi-connects .noUi-connect{background:var(--luzmo-primary)}.noUi-horizontal .noUi-origin .noUi-handle{transform:scale(var(--luzmo-slider-handle-scale, var(--slider-handle-scale, .5)));width:var(--luzmo-slider-handle-size, var(--slider-handle-size, 2rem));height:var(--luzmo-slider-handle-size, var(--slider-handle-size, 2rem));right:var(--luzmo-slider-edge-to-handle, var(--slider-edge-to-handle, 14px));top:var(--luzmo-slider-top-to-handle, var(--slider-top-to-handle, -.875rem));background:var(--luzmo-background-color);transition:background-color var(--luzmo-animation-duration);box-shadow:0 .125rem .25rem var(--luzmo-border-color),inset 0 0 0 .0625rem var(--luzmo-border-color);border-radius:50%;border:none;cursor:pointer}.noUi-horizontal .noUi-origin .noUi-handle:before,.noUi-horizontal .noUi-origin .noUi-handle:after{display:none}.noUi-horizontal .noUi-origin .noUi-handle:hover,.noUi-horizontal .noUi-origin .noUi-handle.noUi-active{background-color:var(--luzmo-slider-background-color-hover, var(--luzmo-background-color-hover))}.noUi-horizontal[disabled] .noUi-connects{background:var(--luzmo-slider-background-color-disabled, var(--luzmo-background-color-disabled))}.noUi-horizontal[disabled] .noUi-origin .noUi-handle:hover{background-color:var(--luzmo-slider-background-color-disabled-hover, var(--luzmo-background-color))}.noUi-tooltip{padding:.5rem;font-size:calc(var(--luzmo-slider-tooltip-font-size, var(--slider-tooltip-font-size)) / var(--luzmo-slider-handle-scale, var(--slider-handle-scale, .5)));background:var(--luzmo-background-color);color:var(--luzmo-font-color);display:none}.noUi-active .noUi-tooltip{display:block}:host{font-family:var(--luzmo-slider-font-family, var(--luzmo-font-family));min-block-size:var(--luzmo-slider-item-height, var(--slider-item-height));--slider-edge-to-handle: calc(-1 * var(--slider-handle-size) / 2);--slider-top-to-track: calc( ( var(--luzmo-slider-item-height, var(--slider-item-height)) - var(--luzmo-slider-track-height, var(--slider-track-height)) ) / 2 );--slider-top-to-handle: calc( ( ( (var(--luzmo-slider-track-height, var(--slider-track-height))) / 2 - var(--luzmo-slider-handle-size, var(--slider-handle-size)) * var(--luzmo-slider-handle-scale, var(--slider-handle-scale)) ) ) )}:host([size=s]){--slider-item-height: 24px;--slider-track-height: 3px;--slider-handle-scale: .5;--slider-handle-size: 32px;--slider-tooltip-font-size: var(--luzmo-font-size-xs)}:host{--slider-item-height: 32px;--slider-track-height: 4px;--slider-handle-scale: .5;--slider-handle-size: 36px;--slider-tooltip-font-size: var(--luzmo-font-size-s)}:host([size=l]){--slider-min-height: 40px;--slider-track-height: 6px;--slider-handle-scale: .5;--slider-handle-size: 40px;--slider-tooltip-font-size: var(--luzmo-font-size)}:host([size=xl]){--slider-min-height: 48px;--slider-track-height: 7px;--slider-handle-scale: .5;--slider-handle-size: 44px;--slider-tooltip-font-size: var(--luzmo-font-size)}';var zo=Object.defineProperty,J=(o,t,i,c)=>{for(var s=void 0,f=o.length-1,h;f>=0;f--)(h=o[f])&&(s=h(t,i,s)||s);return s&&zo(t,i,s),s};const ee=class extends H.m(H.zt){constructor(){super(...arguments),this.value=0,this.min=0,this.max=100,this.step=100,this.disabled=!1,this.debounce=200,this._doingUpdate=!1}get _slider(){return this.renderRoot.querySelector("div")}firstUpdated(){this.noUiSlider=vo.create(this.renderRoot.querySelector("div"),{start:this.value??0,connect:[!0,!1],step:this.step??1,range:{min:this.min??0,max:this.max??100},tooltips:!0}),this.noUiSlider.on("slide",(t,i,[c])=>{this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.setValue(c)},this.debounce??200)})}updated(t){const i=t.get("value"),c=t.get("min"),s=t.get("max"),f=t.get("step"),h=t.get("disabled");this.value!==void 0&&this.value!==i&&this.noUiSlider.set(this.value),(this.min!==void 0&&(s!==void 0||this.max!==void 0)&&this.min!==c||this.max!==void 0&&(c!==void 0||this.min!==void 0)&&this.max!==s)&&this.noUiSlider.updateOptions({range:{min:this.min??c,max:this.max??s}},!0),this.step!==void 0&&this.step!==f&&this.noUiSlider.updateOptions({step:this.step},!0),this.disabled!==void 0&&this.disabled!==h&&(this.disabled?this.noUiSlider.disable():this.noUiSlider.enable())}setValue(t){this.disabled||this.dispatchEvent(new CustomEvent("change",{detail:t,bubbles:!0,composed:!0}))}render(){return H.Rt`<div class="luzmo-slider-container"></div>`}};ee.styles=[H.at(xo)];let W=ee;J([H.Dt({type:Number,reflect:!0})],W.prototype,"value");J([H.Dt({type:Number,reflect:!0})],W.prototype,"min");J([H.Dt({type:Number,reflect:!0})],W.prototype,"max");J([H.Dt({type:Number,reflect:!0})],W.prototype,"step");J([H.Dt({type:Boolean,reflect:!0})],W.prototype,"disabled");J([H.Dt({type:Number,reflect:!0})],W.prototype,"debounce");customElements.get("luzmo-slider")||customElements.define("luzmo-slider",W);var yo=Object.defineProperty,Y=(o,t,i,c)=>{for(var s=void 0,f=o.length-1,h;f>=0;f--)(h=o[f])&&(s=h(t,i,s)||s);return s&&yo(t,i,s),s};const tt=class tt extends Ae.LuzmoEditOptionBase{constructor(){super(...arguments),this.value=0,this.default=0,this.min=0,this.max=100,this.step=100,this.debounce=200}_handleEvent(t){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(t.detail):t.detail}}))}renderController(){const t=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,i=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return _.x`
|
37
37
|
<luzmo-slider
|
38
38
|
id="luzmo-edit-option-control"
|
39
39
|
.min=${this.min}
|
@@ -20,9 +20,9 @@
|
|
20
20
|
var Vt = Object.getPrototypeOf;
|
21
21
|
var At = Reflect.get;
|
22
22
|
var Be = (o, e, i) => At(Vt(o), i, e);
|
23
|
-
import { m as Mt,
|
23
|
+
import { m as Mt, z as Ot, R as Dt, a as Lt, D as W } from "../base-D76d76ww-D0dTUBua.js";
|
24
24
|
import { x as Ht, n as B } from "../focusable-Dw_pMNQL.js";
|
25
|
-
import { L as jt } from "../edit-option-base-
|
25
|
+
import { L as jt } from "../edit-option-base-DOezOLDd.js";
|
26
26
|
const Pt = () => {
|
27
27
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
28
28
|
const o = document.createElement("style");
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";var v=Object.getPrototypeOf;var g=Reflect.get;var u=(o,r,t)=>g(v(o),t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base-D76d76ww-
|
20
|
+
"use strict";var v=Object.getPrototypeOf;var g=Reflect.get;var u=(o,r,t)=>g(v(o),t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base-D76d76ww-BEIhYtgV.cjs"),z=require("../focusable-BNESohBR-DbTLvYXr.cjs"),f=require("../checkbox-mixin-CmeCReJh-wY0R8cuc.cjs"),a=require("../focusable-Cu_m_GTh.cjs"),p=require("../edit-option-base-jkkFevzT.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -33,11 +33,11 @@
|
|
33
33
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
35
|
* SOFTWARE.
|
36
|
-
* */const k=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const o=document.createElement("style");o.setAttribute("data-luzmo-vars",""),o.textContent='html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}',document.head.appendChild(o)}};k();class x extends f.k(z.r){get focusElement(){return this.inputElement}}const b=':host{--switch-focus-indicator-width: var( --luzmo-focus-indicator-width, var(--luzmo-indicator-width) );min-block-size:var(--luzmo-switch-height, var(--switch-min-height));--switch-track-height: var(--switch-control-height);max-inline-size:100%;vertical-align:top;align-items:flex-start;display:inline-flex;position:relative}#input{box-sizing:border-box;inline-size:100%;block-size:100%;opacity:0;z-index:1;cursor:pointer;margin:0;padding:0;position:absolute;inset-block-start:0;inset-inline-start:0}:host([checked]) #input+#switch:before{transform:translate(calc(var(--luzmo-switch-control-width, var(--switch-control-width)) - 100%))}:host([checked]) #input+#switch:dir(rtl):before,:host([dir=rtl][checked]) #input+#switch:before{transform:translate(calc((var(--luzmo-switch-control-width, var(--switch-control-width)) - 100%) * -1))}:host([disabled]) #input{cursor:not-allowed}#input:focus-visible+#switch:after{margin:calc(var(--luzmo-focus-indicator-gap, var(--switch-focus-indicator-gap)) * -1)}#label{color:var(--highcontrast-switch-label-color-default, var(--luzmo-switch-label-color-default, var(--switch-label-color-default)));margin-inline:var(--luzmo-switch-control-label-spacing, var(--switch-control-label-spacing));font-size:var(--luzmo-switch-font-size, var(--switch-font-size));line-height:var(--luzmo-switch-line-height, 1.3);transition:color calc(var(--luzmo-animation-duration) * 2) ease-in-out;margin-block-start:var(--luzmo-switch-spacing-top-to-label, var(--switch-spacing-top-to-label));margin-block-end:0}#switch{box-sizing:border-box;inline-size:var(--luzmo-switch-control-width, var(--switch-control-width));margin-block:calc(var(--luzmo-switch-height, var(--switch-min-height)) - var(--luzmo-switch-control-height, var(--switch-control-height)) - var(--luzmo-switch-spacing-top-to-control, var(--switch-spacing-top-to-control)));vertical-align:middle;transition:background var(--luzmo-animation-duration) ease-in-out,border var(--luzmo-animation-duration) ease-in-out;block-size:var(--luzmo-switch-track-height, var(--switch-track-height));border-radius:calc(var(--luzmo-switch-control-height, var(--switch-control-height)) / 2);flex-grow:0;flex-shrink:0;margin-inline:0;display:inline-block;position:relative;inset-inline:0}#switch:before{box-sizing:border-box;transition:background var(--luzmo-animation-duration) ease-in-out,border var(--luzmo-animation-duration) ease-in-out,transform var(--luzmo-animation-duration) ease-in-out,box-shadow var(--luzmo-animation-duration) ease-in-out;inline-size:var(--luzmo-switch-control-height, var(--switch-control-height));block-size:var(--luzmo-switch-control-height, var(--switch-control-height));box-shadow:var(--luzmo-switch-control-box-shadow, var(--switch-control-box-shadow));border-width:var(--luzmo-switch-border-width, var(--luzmo-switch-border-width, var(--luzmo-border-width)));border-radius:calc(var(--luzmo-switch-control-height, var(--switch-control-height)) / 2);border-style:solid}#switch:after,#switch:before{content:"";display:block;position:absolute;inset-block-start:0;inset-inline-start:0}#switch:after{border-radius:calc(var(--luzmo-switch-control-height, var(--switch-control-height)) / 2 + var(--luzmo-focus-indicator-gap, var(--switch-focus-indicator-gap)) * 2);transition:opacity var(--luzmo-animation-duration) ease-out,margin var(--luzmo-animation-duration) ease-out;margin:0;inset-block-end:0;inset-inline-end:0}#switch{background-color:var(--highcontrast-switch-background-color, var(--luzmo-switch-background-color, var(--switch-background-color)))}#switch:before{background-color:var(--highcontrast-switch-handle-background-color, var(--luzmo-switch-handle-background-color, var(--switch-handle-background-color)));border-color:var(--highcontrast-switch-handle-border-color-default, var(--luzmo-switch-handle-border-color-default, var(--switch-handle-border-color-default)))}:host(:active) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-down, var(--luzmo-switch-handle-border-color-down, var(--switch-handle-border-color-down)))}:host(:active) #input~#label{color:var(--highcontrast-switch-label-color-down, var(--luzmo-switch-label-color-down, var(--switch-label-color-down)))}:host(:active[checked]) #input:enabled+#switch{background-color:var(--highcontrast-switch-background-color-selected-down, var(--luzmo-switch-background-color-selected-down, var(--switch-background-color-selected-down)))}:host(:active[checked]) #input:enabled+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-selected-down, var(--luzmo-switch-handle-border-color-selected-down, var(--switch-handle-border-color-selected-down)))}#input:focus-visible+#switch:after{box-shadow:0 0 0 var(--luzmo-switch-focus-indicator-width, var(--luzmo-focus-indicator-width, var(--switch-focus-indicator-width))) var(--highcontrast-switch-focus-indicator-color, var(--luzmo-switch-focus-indicator-color, var(--switch-focus-indicator-color)))}#input:focus-visible+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-focus, var(--luzmo-switch-handle-border-color-focus, var(--switch-handle-border-color-focus)))}:host([checked]) #input:focus-visible+#switch{background-color:var(--highcontrast-switch-background-color-selected-focus, var(--luzmo-switch-background-color-selected-focus, var(--switch-background-color-selected-focus)))}:host([checked]) #input:focus-visible+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-selected-focus, var(--luzmo-switch-handle-border-color-selected-focus, var(--switch-handle-border-color-selected-focus)))}#input:focus-visible~#label{color:var(--highcontrast-switch-label-color-focus, var(--luzmo-switch-label-color-focus, var(--switch-label-color-focus)))}@media (hover: hover){:host(:hover) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-hover, var(--luzmo-switch-handle-border-color-hover, var(--switch-handle-border-color-hover)));box-shadow:var(--luzmo-switch-control-box-shadow, var(--switch-control-box-shadow, none));background-color:var(--highcontrast-switch-background-color-hover, var(--luzmo-switch-background-color-hover, var(--switch-background-color-hover, var(--luzmo-background-color-hover))))}:host(:hover) #input~#label{color:var(--highcontrast-switch-label-color-hover, var(--luzmo-switch-label-color-hover, var(--switch-label-color-hover)))}:host([checked]:hover) #input:enabled+#switch{background-color:var(--highcontrast-switch-background-color-selected-hover, var(--luzmo-switch-background-color-selected-hover, var(--switch-background-color-selected-hover)))}:host([checked]:hover) #input:enabled+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-selected-hover, var(--luzmo-switch-handle-border-color-selected-hover, var(--switch-handle-border-color-selected-hover)))}:host([disabled]:hover) #input+#switch{background-color:var(--highcontrast-switch-background-color-disabled, var(--luzmo-switch-background-color-disabled, var(--switch-background-color-disabled)))}:host([disabled]:hover) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-disabled, var(--luzmo-switch-handle-border-color-disabled, var(--switch-handle-border-color-disabled)))}:host([disabled]:hover) #input~#label{color:var(--highcontrast-switch-label-color-disabled, var(--luzmo-switch-label-color-disabled, var(--switch-label-color-disabled)))}:host([disabled][checked]:hover) #input+#switch{background-color:var(--highcontrast-switch-background-color-selected-disabled, var(--luzmo-switch-background-color-selected-disabled, var(--switch-background-color-selected-disabled)))}:host([disabled][checked]:hover) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-disabled, var(--luzmo-switch-handle-border-color-disabled, var(--switch-handle-border-color-disabled)))}:host([disabled][checked]:hover) #input~#label{color:var(--highcontrast-switch-label-color-disabled, var(--luzmo-switch-label-color-disabled, var(--switch-label-color-disabled)))}:host(:hover) #input:focus-visible+#switch:after{box-shadow:0 0 0 var(--luzmo-switch-focus-indicator-width, var(--luzmo-focus-indicator-width, var(--switch-focus-indicator-width))) var(--highcontrast-switch-focus-indicator-color, var(--luzmo-switch-focus-indicator-color, var(--switch-focus-indicator-color)))}:host(:hover) #input:focus-visible+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-focus, var(--luzmo-switch-handle-border-color-focus, var(--switch-handle-border-color-focus)))}:host([checked]:hover) #input:focus-visible+#switch{background-color:var(--highcontrast-switch-background-color-selected-focus, var(--luzmo-switch-background-color-selected-focus, var(--switch-background-color-selected-focus)))}:host([checked]:hover) #input:focus-visible+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-selected-focus, var(--luzmo-switch-handle-border-color-selected-focus, var(--switch-handle-border-color-selected-focus)))}:host(:hover) #input:focus-visible~#label{color:var(--highcontrast-switch-label-color-focus, var(--luzmo-switch-label-color-focus, var(--switch-label-color-focus)))}}:host([checked]) #input+#switch{background-color:var(--highcontrast-switch-background-color-selected-default, var(--luzmo-switch-background-color-selected-default, var(--switch-background-color-selected-default)))}:host([checked]) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-selected-default, var(--luzmo-switch-handle-border-color-selected-default, var(--switch-handle-border-color-selected-default)))}:host([disabled]) #input+#switch{background-color:var(--highcontrast-switch-background-color-disabled, var(--luzmo-switch-background-color-disabled, var(--switch-background-color-disabled)))}:host([disabled]) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-disabled, var(--luzmo-switch-handle-border-color-disabled, var(--switch-handle-border-color-disabled)))}:host([disabled][checked]) #input+#switch{background-color:var(--highcontrast-switch-background-color-selected-disabled, var(--luzmo-switch-background-color-selected-disabled, var(--switch-background-color-selected-disabled)))}:host([disabled][checked]) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-disabled, var(--luzmo-switch-handle-border-color-disabled, var(--switch-handle-border-color-disabled)))}:host([disabled]) #input~#label{color:var(--highcontrast-switch-label-color-disabled, var(--luzmo-switch-label-color-disabled, var(--switch-label-color-disabled)))}@media (forced-colors: active){:host{--highcontrast-switch-label-color-default: ButtonText;--highcontrast-switch-label-color-hover: ButtonText;--highcontrast-switch-label-color-down: ButtonText;--highcontrast-switch-label-color-focus: ButtonText;--highcontrast-switch-label-color-disabled: GrayText;--highcontrast-switch-handle-background-color: ButtonFace;--highcontrast-switch-handle-border-color-default: ButtonText;--highcontrast-switch-handle-border-color-hover: Highlight;--highcontrast-switch-handle-border-color-down: Highlight;--highcontrast-switch-handle-border-color-focus: Highlight;--highcontrast-switch-handle-border-color-disabled: Highlight;--highcontrast-switch-handle-border-color-selected-default: Highlight;--highcontrast-switch-handle-border-color-selected-hover: Highlight;--highcontrast-switch-handle-border-color-selected-down: Highlight;--highcontrast-switch-handle-border-color-selected-focus: Highlight;--highcontrast-switch-background-color: ButtonFace;--highcontrast-switch-background-color-selected-default: Highlight;--highcontrast-switch-background-color-selected-hover: Highlight;--highcontrast-switch-background-color-selected-down: Highlight;--highcontrast-switch-background-color-selected-focus: Highlight;--highcontrast-switch-background-color-selected-disabled: Highlight;--highcontrast-switch-focus-indicator-color: ButtonText;forced-color-adjust:none}#input:not(:checked)+#switch{box-shadow:inset 0 0 0 1px ButtonText}}@media (forced-colors: active) and (hover: hover){:host(:hover) #input:not(:checked)+#switch{box-shadow:inset 0 0 0 1px Highlight}:host([disabled][checked]:hover) #input+#switch{background-color:GrayText;box-shadow:inset 0 0 0 1px GrayText}:host([disabled][checked]:hover) #input+#switch:before{background-color:ButtonFace;border-color:GrayText}}@media (forced-colors: active){:host([disabled]) #input:not(:checked)+#switch{background-color:ButtonFace;box-shadow:inset 0 0 0 1px GrayText}:host([disabled]) #input:not(:checked)+#switch:before{background-color:ButtonFace;border-color:GrayText}:host([disabled][checked]) #input+#switch{background-color:GrayText;box-shadow:inset 0 0 0 1px GrayText}:host([disabled][checked]) #input+#switch:before{background-color:ButtonFace;border-color:GrayText}:host([disabled]) #input~#label{color:GrayText}}:host{--switch-handle-border-color-default: var(--luzmo-selected-color);--switch-handle-border-color-hover: var(--luzmo-selected-color-hover);--switch-handle-border-color-down: var(--luzmo-selected-color-down);--switch-handle-border-color-focus: var(--luzmo-selected-color-focus);--switch-handle-border-color-selected-default: var( --luzmo-selected-color-hover );--switch-handle-border-color-selected-hover: var(--luzmo-selected-color-down);--switch-handle-border-color-selected-down: var( --luzmo-selected-color-hard-down );--switch-handle-border-color-selected-focus: var(--luzmo-selected-color-down);--switch-focus-indicator-gap: var(--luzmo-indicator-gap);--switch-label-color-default: var(--luzmo-selected-color-hard);--switch-label-color-hover: var(--luzmo-selected-color-hard-hover);--switch-label-color-down: var(--luzmo-selected-color-hard-down);--switch-label-color-focus: var(--luzmo-selected-color-hard-focus);--switch-label-color-disabled: var(--luzmo-disabled-color);--switch-background-color: var(--luzmo-border-color);--switch-background-color-disabled: var(--luzmo-background-color-disabled);--switch-background-color-selected-disabled: var(--luzmo-disabled-color);--switch-background-color-selected-default: var(--luzmo-selected-color-hover);--switch-background-color-selected-hover: var(--luzmo-selected-color-down);--switch-background-color-selected-down: var( --luzmo-selected-color-hard-down );--switch-background-color-selected-focus: var(--luzmo-selected-color-down);--switch-focus-indicator-width: var(luzmo-indicator-width);--switch-focus-indicator-color: var(--luzmo-primary);--switch-handle-background-color: var(--luzmo-background-color);--switch-handle-border-color-disabled: var(--luzmo-disabled-color);--switch-spacing-top-to-control: calc( (var(--switch-min-height) - var(--switch-control-height)) / 2 )}:host([disabled]){--switch-label-color-default: var(--luzmo-disabled-color)}:host([emphasized]){--switch-background-color-selected-default: var(--luzmo-primary);--switch-background-color-selected-hover: var(--luzmo-primary-hover);--switch-background-color-selected-down: var(--luzmo-primary-down);--switch-background-color-selected-focus: var(--luzmo-primary-focus);--switch-handle-border-color-selected-default: var(--luzmo-primary);--switch-handle-border-color-selected-hover: var(--luzmo-primary-hover);--switch-handle-border-color-selected-down: var(--luzmo-primary-down);--switch-handle-border-color-selected-focus: var(--luzmo-primary-focus)}:host([size=s]){--switch-min-height: 24px;--switch-control-width: 23px;--switch-control-height: var(--luzmo-font-size-s);--switch-control-label-spacing: var(--luzmo-spacing-3);--switch-spacing-top-to-label: 4px;--switch-font-size: var(--luzmo-font-size-s)}:host{--switch-min-height: 32px;--switch-control-width: 26px;--switch-control-height: var(--luzmo-font-size);--switch-control-label-spacing: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--switch-spacing-top-to-label: 6px;--switch-font-size: var(--luzmo-font-size)}:host([size=l]){--switch-min-height: 40px;--switch-control-width: 28px;--switch-control-height: var(--luzmo-font-size-l);--switch-control-label-spacing: var(--luzmo-spacing-4);--switch-spacing-top-to-label: 9px;--switch-font-size: var(--luzmo-font-size-l)}:host([size=xl]){--switch-min-height: 48px;--switch-control-width: 32px;--switch-control-height: var(--luzmo-font-size-xl);--switch-control-label-spacing: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--switch-spacing-top-to-label: 12px;--switch-font-size: var(--luzmo-font-size-xl)}:host([disabled]){pointer-events:none}:host([thumb=overflow]){--luzmo-switch-border-width: 0px;--switch-control-width: calc(var(--switch-control-height) * 2);--switch-control-box-shadow: 0 .125rem .25rem rgba(var(--luzmo-border-color-rgb), .2), inset 0 0 0 .0625rem rgba(var(--luzmo-border-color-rgb), .2)}:host([thumb=overflow]) #switch{margin-top:calc((var(--luzmo-switch-min-height, var(--switch-min-height)) - var(--luzmo-switch-track-height, var(--switch-track-height))) / 2)}:host([thumb=overflow]) #switch:before{inset-block-start:calc(-1 * (var(--luzmo-switch-control-height, var(--switch-control-height)) - var(--luzmo-switch-track-height, var(--switch-track-height))) / 2)}:host([thumb=overflow][size=s]){--switch-track-height: 10px;--switch-control-height: 16px;--switch-focus-indicator-gap: 5px}:host([thumb=overflow]){--switch-track-height: 10px;--switch-control-height: 18px;--switch-focus-indicator-gap: 6px}:host([thumb=overflow][size=l]){--switch-track-height: 12px;--switch-control-height: 20px;--switch-focus-indicator-gap: 7px}:host([thumb=overflow][size=xl]){--switch-track-height: 12px;--switch-control-height: 22px;--switch-focus-indicator-gap: 8px}';var y=Object.defineProperty,w=(o,r,t,m)=>{for(var e=void 0,l=o.length-1,s;l>=0;l--)(s=o[l])&&(e=s(r,t,e)||e);return e&&y(r,t,e),e};class n extends i.m(x){constructor(){super(...arguments),this.emphasized=!1,this.thumb="overflow"}static get styles(){return window.hasOwnProperty("ShadyDOM")?[i.ht(b)]:[i.ht(b)]}render(){return i.Ht`
|
36
|
+
* */const k=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const o=document.createElement("style");o.setAttribute("data-luzmo-vars",""),o.textContent='html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}',document.head.appendChild(o)}};k();class x extends f.k(z.r){get focusElement(){return this.inputElement}}const b=':host{--switch-focus-indicator-width: var( --luzmo-focus-indicator-width, var(--luzmo-indicator-width) );min-block-size:var(--luzmo-switch-height, var(--switch-min-height));--switch-track-height: var(--switch-control-height);max-inline-size:100%;vertical-align:top;align-items:flex-start;display:inline-flex;position:relative}#input{box-sizing:border-box;inline-size:100%;block-size:100%;opacity:0;z-index:1;cursor:pointer;margin:0;padding:0;position:absolute;inset-block-start:0;inset-inline-start:0}:host([checked]) #input+#switch:before{transform:translate(calc(var(--luzmo-switch-control-width, var(--switch-control-width)) - 100%))}:host([checked]) #input+#switch:dir(rtl):before,:host([dir=rtl][checked]) #input+#switch:before{transform:translate(calc((var(--luzmo-switch-control-width, var(--switch-control-width)) - 100%) * -1))}:host([disabled]) #input{cursor:not-allowed}#input:focus-visible+#switch:after{margin:calc(var(--luzmo-focus-indicator-gap, var(--switch-focus-indicator-gap)) * -1)}#label{color:var(--highcontrast-switch-label-color-default, var(--luzmo-switch-label-color-default, var(--switch-label-color-default)));margin-inline:var(--luzmo-switch-control-label-spacing, var(--switch-control-label-spacing));font-size:var(--luzmo-switch-font-size, var(--switch-font-size));line-height:var(--luzmo-switch-line-height, 1.3);transition:color calc(var(--luzmo-animation-duration) * 2) ease-in-out;margin-block-start:var(--luzmo-switch-spacing-top-to-label, var(--switch-spacing-top-to-label));margin-block-end:0}#switch{box-sizing:border-box;inline-size:var(--luzmo-switch-control-width, var(--switch-control-width));margin-block:calc(var(--luzmo-switch-height, var(--switch-min-height)) - var(--luzmo-switch-control-height, var(--switch-control-height)) - var(--luzmo-switch-spacing-top-to-control, var(--switch-spacing-top-to-control)));vertical-align:middle;transition:background var(--luzmo-animation-duration) ease-in-out,border var(--luzmo-animation-duration) ease-in-out;block-size:var(--luzmo-switch-track-height, var(--switch-track-height));border-radius:calc(var(--luzmo-switch-control-height, var(--switch-control-height)) / 2);flex-grow:0;flex-shrink:0;margin-inline:0;display:inline-block;position:relative;inset-inline:0}#switch:before{box-sizing:border-box;transition:background var(--luzmo-animation-duration) ease-in-out,border var(--luzmo-animation-duration) ease-in-out,transform var(--luzmo-animation-duration) ease-in-out,box-shadow var(--luzmo-animation-duration) ease-in-out;inline-size:var(--luzmo-switch-control-height, var(--switch-control-height));block-size:var(--luzmo-switch-control-height, var(--switch-control-height));box-shadow:var(--luzmo-switch-control-box-shadow, var(--switch-control-box-shadow));border-width:var(--luzmo-switch-border-width, var(--luzmo-switch-border-width, var(--luzmo-border-width)));border-radius:calc(var(--luzmo-switch-control-height, var(--switch-control-height)) / 2);border-style:solid}#switch:after,#switch:before{content:"";display:block;position:absolute;inset-block-start:0;inset-inline-start:0}#switch:after{border-radius:calc(var(--luzmo-switch-control-height, var(--switch-control-height)) / 2 + var(--luzmo-focus-indicator-gap, var(--switch-focus-indicator-gap)) * 2);transition:opacity var(--luzmo-animation-duration) ease-out,margin var(--luzmo-animation-duration) ease-out;margin:0;inset-block-end:0;inset-inline-end:0}#switch{background-color:var(--highcontrast-switch-background-color, var(--luzmo-switch-background-color, var(--switch-background-color)))}#switch:before{background-color:var(--highcontrast-switch-handle-background-color, var(--luzmo-switch-handle-background-color, var(--switch-handle-background-color)));border-color:var(--highcontrast-switch-handle-border-color-default, var(--luzmo-switch-handle-border-color-default, var(--switch-handle-border-color-default)))}:host(:active) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-down, var(--luzmo-switch-handle-border-color-down, var(--switch-handle-border-color-down)))}:host(:active) #input~#label{color:var(--highcontrast-switch-label-color-down, var(--luzmo-switch-label-color-down, var(--switch-label-color-down)))}:host(:active[checked]) #input:enabled+#switch{background-color:var(--highcontrast-switch-background-color-selected-down, var(--luzmo-switch-background-color-selected-down, var(--switch-background-color-selected-down)))}:host(:active[checked]) #input:enabled+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-selected-down, var(--luzmo-switch-handle-border-color-selected-down, var(--switch-handle-border-color-selected-down)))}#input:focus-visible+#switch:after{box-shadow:0 0 0 var(--luzmo-switch-focus-indicator-width, var(--luzmo-focus-indicator-width, var(--switch-focus-indicator-width))) var(--highcontrast-switch-focus-indicator-color, var(--luzmo-switch-focus-indicator-color, var(--switch-focus-indicator-color)))}#input:focus-visible+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-focus, var(--luzmo-switch-handle-border-color-focus, var(--switch-handle-border-color-focus)))}:host([checked]) #input:focus-visible+#switch{background-color:var(--highcontrast-switch-background-color-selected-focus, var(--luzmo-switch-background-color-selected-focus, var(--switch-background-color-selected-focus)))}:host([checked]) #input:focus-visible+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-selected-focus, var(--luzmo-switch-handle-border-color-selected-focus, var(--switch-handle-border-color-selected-focus)))}#input:focus-visible~#label{color:var(--highcontrast-switch-label-color-focus, var(--luzmo-switch-label-color-focus, var(--switch-label-color-focus)))}@media (hover: hover){:host(:hover) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-hover, var(--luzmo-switch-handle-border-color-hover, var(--switch-handle-border-color-hover)));box-shadow:var(--luzmo-switch-control-box-shadow, var(--switch-control-box-shadow, none));background-color:var(--highcontrast-switch-background-color-hover, var(--luzmo-switch-background-color-hover, var(--switch-background-color-hover, var(--luzmo-background-color-hover))))}:host(:hover) #input~#label{color:var(--highcontrast-switch-label-color-hover, var(--luzmo-switch-label-color-hover, var(--switch-label-color-hover)))}:host([checked]:hover) #input:enabled+#switch{background-color:var(--highcontrast-switch-background-color-selected-hover, var(--luzmo-switch-background-color-selected-hover, var(--switch-background-color-selected-hover)))}:host([checked]:hover) #input:enabled+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-selected-hover, var(--luzmo-switch-handle-border-color-selected-hover, var(--switch-handle-border-color-selected-hover)))}:host([disabled]:hover) #input+#switch{background-color:var(--highcontrast-switch-background-color-disabled, var(--luzmo-switch-background-color-disabled, var(--switch-background-color-disabled)))}:host([disabled]:hover) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-disabled, var(--luzmo-switch-handle-border-color-disabled, var(--switch-handle-border-color-disabled)))}:host([disabled]:hover) #input~#label{color:var(--highcontrast-switch-label-color-disabled, var(--luzmo-switch-label-color-disabled, var(--switch-label-color-disabled)))}:host([disabled][checked]:hover) #input+#switch{background-color:var(--highcontrast-switch-background-color-selected-disabled, var(--luzmo-switch-background-color-selected-disabled, var(--switch-background-color-selected-disabled)))}:host([disabled][checked]:hover) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-disabled, var(--luzmo-switch-handle-border-color-disabled, var(--switch-handle-border-color-disabled)))}:host([disabled][checked]:hover) #input~#label{color:var(--highcontrast-switch-label-color-disabled, var(--luzmo-switch-label-color-disabled, var(--switch-label-color-disabled)))}:host(:hover) #input:focus-visible+#switch:after{box-shadow:0 0 0 var(--luzmo-switch-focus-indicator-width, var(--luzmo-focus-indicator-width, var(--switch-focus-indicator-width))) var(--highcontrast-switch-focus-indicator-color, var(--luzmo-switch-focus-indicator-color, var(--switch-focus-indicator-color)))}:host(:hover) #input:focus-visible+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-focus, var(--luzmo-switch-handle-border-color-focus, var(--switch-handle-border-color-focus)))}:host([checked]:hover) #input:focus-visible+#switch{background-color:var(--highcontrast-switch-background-color-selected-focus, var(--luzmo-switch-background-color-selected-focus, var(--switch-background-color-selected-focus)))}:host([checked]:hover) #input:focus-visible+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-selected-focus, var(--luzmo-switch-handle-border-color-selected-focus, var(--switch-handle-border-color-selected-focus)))}:host(:hover) #input:focus-visible~#label{color:var(--highcontrast-switch-label-color-focus, var(--luzmo-switch-label-color-focus, var(--switch-label-color-focus)))}}:host([checked]) #input+#switch{background-color:var(--highcontrast-switch-background-color-selected-default, var(--luzmo-switch-background-color-selected-default, var(--switch-background-color-selected-default)))}:host([checked]) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-selected-default, var(--luzmo-switch-handle-border-color-selected-default, var(--switch-handle-border-color-selected-default)))}:host([disabled]) #input+#switch{background-color:var(--highcontrast-switch-background-color-disabled, var(--luzmo-switch-background-color-disabled, var(--switch-background-color-disabled)))}:host([disabled]) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-disabled, var(--luzmo-switch-handle-border-color-disabled, var(--switch-handle-border-color-disabled)))}:host([disabled][checked]) #input+#switch{background-color:var(--highcontrast-switch-background-color-selected-disabled, var(--luzmo-switch-background-color-selected-disabled, var(--switch-background-color-selected-disabled)))}:host([disabled][checked]) #input+#switch:before{border-color:var(--highcontrast-switch-handle-border-color-disabled, var(--luzmo-switch-handle-border-color-disabled, var(--switch-handle-border-color-disabled)))}:host([disabled]) #input~#label{color:var(--highcontrast-switch-label-color-disabled, var(--luzmo-switch-label-color-disabled, var(--switch-label-color-disabled)))}@media (forced-colors: active){:host{--highcontrast-switch-label-color-default: ButtonText;--highcontrast-switch-label-color-hover: ButtonText;--highcontrast-switch-label-color-down: ButtonText;--highcontrast-switch-label-color-focus: ButtonText;--highcontrast-switch-label-color-disabled: GrayText;--highcontrast-switch-handle-background-color: ButtonFace;--highcontrast-switch-handle-border-color-default: ButtonText;--highcontrast-switch-handle-border-color-hover: Highlight;--highcontrast-switch-handle-border-color-down: Highlight;--highcontrast-switch-handle-border-color-focus: Highlight;--highcontrast-switch-handle-border-color-disabled: Highlight;--highcontrast-switch-handle-border-color-selected-default: Highlight;--highcontrast-switch-handle-border-color-selected-hover: Highlight;--highcontrast-switch-handle-border-color-selected-down: Highlight;--highcontrast-switch-handle-border-color-selected-focus: Highlight;--highcontrast-switch-background-color: ButtonFace;--highcontrast-switch-background-color-selected-default: Highlight;--highcontrast-switch-background-color-selected-hover: Highlight;--highcontrast-switch-background-color-selected-down: Highlight;--highcontrast-switch-background-color-selected-focus: Highlight;--highcontrast-switch-background-color-selected-disabled: Highlight;--highcontrast-switch-focus-indicator-color: ButtonText;forced-color-adjust:none}#input:not(:checked)+#switch{box-shadow:inset 0 0 0 1px ButtonText}}@media (forced-colors: active) and (hover: hover){:host(:hover) #input:not(:checked)+#switch{box-shadow:inset 0 0 0 1px Highlight}:host([disabled][checked]:hover) #input+#switch{background-color:GrayText;box-shadow:inset 0 0 0 1px GrayText}:host([disabled][checked]:hover) #input+#switch:before{background-color:ButtonFace;border-color:GrayText}}@media (forced-colors: active){:host([disabled]) #input:not(:checked)+#switch{background-color:ButtonFace;box-shadow:inset 0 0 0 1px GrayText}:host([disabled]) #input:not(:checked)+#switch:before{background-color:ButtonFace;border-color:GrayText}:host([disabled][checked]) #input+#switch{background-color:GrayText;box-shadow:inset 0 0 0 1px GrayText}:host([disabled][checked]) #input+#switch:before{background-color:ButtonFace;border-color:GrayText}:host([disabled]) #input~#label{color:GrayText}}:host{--switch-handle-border-color-default: var(--luzmo-selected-color);--switch-handle-border-color-hover: var(--luzmo-selected-color-hover);--switch-handle-border-color-down: var(--luzmo-selected-color-down);--switch-handle-border-color-focus: var(--luzmo-selected-color-focus);--switch-handle-border-color-selected-default: var( --luzmo-selected-color-hover );--switch-handle-border-color-selected-hover: var(--luzmo-selected-color-down);--switch-handle-border-color-selected-down: var( --luzmo-selected-color-hard-down );--switch-handle-border-color-selected-focus: var(--luzmo-selected-color-down);--switch-focus-indicator-gap: var(--luzmo-indicator-gap);--switch-label-color-default: var(--luzmo-selected-color-hard);--switch-label-color-hover: var(--luzmo-selected-color-hard-hover);--switch-label-color-down: var(--luzmo-selected-color-hard-down);--switch-label-color-focus: var(--luzmo-selected-color-hard-focus);--switch-label-color-disabled: var(--luzmo-disabled-color);--switch-background-color: var(--luzmo-border-color);--switch-background-color-disabled: var(--luzmo-background-color-disabled);--switch-background-color-selected-disabled: var(--luzmo-disabled-color);--switch-background-color-selected-default: var(--luzmo-selected-color-hover);--switch-background-color-selected-hover: var(--luzmo-selected-color-down);--switch-background-color-selected-down: var( --luzmo-selected-color-hard-down );--switch-background-color-selected-focus: var(--luzmo-selected-color-down);--switch-focus-indicator-width: var(luzmo-indicator-width);--switch-focus-indicator-color: var(--luzmo-primary);--switch-handle-background-color: var(--luzmo-background-color);--switch-handle-border-color-disabled: var(--luzmo-disabled-color);--switch-spacing-top-to-control: calc( (var(--switch-min-height) - var(--switch-control-height)) / 2 )}:host([disabled]){--switch-label-color-default: var(--luzmo-disabled-color)}:host([emphasized]){--switch-background-color-selected-default: var(--luzmo-primary);--switch-background-color-selected-hover: var(--luzmo-primary-hover);--switch-background-color-selected-down: var(--luzmo-primary-down);--switch-background-color-selected-focus: var(--luzmo-primary-focus);--switch-handle-border-color-selected-default: var(--luzmo-primary);--switch-handle-border-color-selected-hover: var(--luzmo-primary-hover);--switch-handle-border-color-selected-down: var(--luzmo-primary-down);--switch-handle-border-color-selected-focus: var(--luzmo-primary-focus)}:host([size=s]){--switch-min-height: 24px;--switch-control-width: 23px;--switch-control-height: var(--luzmo-font-size-s);--switch-control-label-spacing: var(--luzmo-spacing-3);--switch-spacing-top-to-label: 4px;--switch-font-size: var(--luzmo-font-size-s)}:host{--switch-min-height: 32px;--switch-control-width: 26px;--switch-control-height: var(--luzmo-font-size);--switch-control-label-spacing: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--switch-spacing-top-to-label: 6px;--switch-font-size: var(--luzmo-font-size)}:host([size=l]){--switch-min-height: 40px;--switch-control-width: 28px;--switch-control-height: var(--luzmo-font-size-l);--switch-control-label-spacing: var(--luzmo-spacing-4);--switch-spacing-top-to-label: 9px;--switch-font-size: var(--luzmo-font-size-l)}:host([size=xl]){--switch-min-height: 48px;--switch-control-width: 32px;--switch-control-height: var(--luzmo-font-size-xl);--switch-control-label-spacing: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--switch-spacing-top-to-label: 12px;--switch-font-size: var(--luzmo-font-size-xl)}:host([disabled]){pointer-events:none}:host([thumb=overflow]){--luzmo-switch-border-width: 0px;--switch-control-width: calc(var(--switch-control-height) * 2);--switch-control-box-shadow: 0 .125rem .25rem rgba(var(--luzmo-border-color-rgb), .2), inset 0 0 0 .0625rem rgba(var(--luzmo-border-color-rgb), .2)}:host([thumb=overflow]) #switch{margin-top:calc((var(--luzmo-switch-min-height, var(--switch-min-height)) - var(--luzmo-switch-track-height, var(--switch-track-height))) / 2)}:host([thumb=overflow]) #switch:before{inset-block-start:calc(-1 * (var(--luzmo-switch-control-height, var(--switch-control-height)) - var(--luzmo-switch-track-height, var(--switch-track-height))) / 2)}:host([thumb=overflow][size=s]){--switch-track-height: 10px;--switch-control-height: 16px;--switch-focus-indicator-gap: 5px}:host([thumb=overflow]){--switch-track-height: 10px;--switch-control-height: 18px;--switch-focus-indicator-gap: 6px}:host([thumb=overflow][size=l]){--switch-track-height: 12px;--switch-control-height: 20px;--switch-focus-indicator-gap: 7px}:host([thumb=overflow][size=xl]){--switch-track-height: 12px;--switch-control-height: 22px;--switch-focus-indicator-gap: 8px}';var y=Object.defineProperty,w=(o,r,t,m)=>{for(var e=void 0,l=o.length-1,s;l>=0;l--)(s=o[l])&&(e=s(r,t,e)||e);return e&&y(r,t,e),e};class n extends i.m(x){constructor(){super(...arguments),this.emphasized=!1,this.thumb="overflow"}static get styles(){return window.hasOwnProperty("ShadyDOM")?[i.at(b)]:[i.at(b)]}render(){return i.Rt`
|
37
37
|
${super.render()}
|
38
38
|
<span id="switch"></span>
|
39
39
|
<label id="label" for="input"><slot></slot></label>
|
40
|
-
`}firstUpdated(r){super.firstUpdated(r),this.inputElement.setAttribute("role","switch")}updated(r){r.has("checked")&&this.inputElement.setAttribute("aria-checked",this.checked?"true":"false")}}w([i.
|
40
|
+
`}firstUpdated(r){super.firstUpdated(r),this.inputElement.setAttribute("role","switch")}updated(r){r.has("checked")&&this.inputElement.setAttribute("aria-checked",this.checked?"true":"false")}}w([i.Dt({type:Boolean,reflect:!0})],n.prototype,"emphasized");w([i.Dt({type:String,reflect:!0})],n.prototype,"thumb");customElements.get("luzmo-switch")||customElements.define("luzmo-switch",n);const B=":host{--luzmo-switch-control-label-spacing: 0px}";var T=Object.defineProperty,d=(o,r,t,m)=>{for(var e=void 0,l=o.length-1,s;l>=0;l--)(s=o[l])&&(e=s(r,t,e)||e);return e&&T(r,t,e),e};const h=class h extends p.LuzmoEditOptionBase{_handleEvent(r){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(r.detail):r.detail}}))}renderController(){const r=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,t=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return a.x`
|
41
41
|
<luzmo-switch
|
42
42
|
id="luzmo-edit-option-control"
|
43
43
|
thumb="overflow"
|
@@ -20,11 +20,11 @@
|
|
20
20
|
var z = Object.getPrototypeOf;
|
21
21
|
var v = Reflect.get;
|
22
22
|
var n = (o, r, l) => v(z(o), l, r);
|
23
|
-
import { m as p,
|
24
|
-
import { r as k } from "../focusable-
|
25
|
-
import { k as y } from "../checkbox-mixin-
|
26
|
-
import { r as
|
27
|
-
import { L as T } from "../edit-option-base-
|
23
|
+
import { m as p, a as u, R as x, D as m } from "../base-D76d76ww-D0dTUBua.js";
|
24
|
+
import { r as k } from "../focusable-BNESohBR-DYvAZYXL.js";
|
25
|
+
import { k as y } from "../checkbox-mixin-CmeCReJh-C94-rm4F.js";
|
26
|
+
import { r as B, x as H, n as s } from "../focusable-Dw_pMNQL.js";
|
27
|
+
import { L as T } from "../edit-option-base-DOezOLDd.js";
|
28
28
|
const f = () => {
|
29
29
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
30
30
|
const o = document.createElement("style");
|
@@ -119,7 +119,7 @@ const a = class a extends T {
|
|
119
119
|
}
|
120
120
|
renderController() {
|
121
121
|
const r = typeof this.parseValue == "function" ? this.parseValue(this.value) : this.value, l = typeof this.parseValue == "function" ? this.parseValue(this.default) : this.default;
|
122
|
-
return
|
122
|
+
return H`
|
123
123
|
<luzmo-switch
|
124
124
|
id="luzmo-edit-option-control"
|
125
125
|
thumb="overflow"
|
@@ -132,7 +132,7 @@ const a = class a extends T {
|
|
132
132
|
`;
|
133
133
|
}
|
134
134
|
};
|
135
|
-
a.styles = [...n(a, a, "styles"),
|
135
|
+
a.styles = [...n(a, a, "styles"), B(V)];
|
136
136
|
let c = a;
|
137
137
|
h([
|
138
138
|
s({
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";var c=Object.getPrototypeOf;var p=Reflect.get;var d=(n,t,i)=>p(c(n),i,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-
|
20
|
+
"use strict";var c=Object.getPrototypeOf;var p=Reflect.get;var d=(n,t,i)=>p(c(n),i,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-_McOOiwL.cjs");const o=require("../focusable-Cu_m_GTh.cjs"),h=require("../query-D5qWDopr.cjs"),f=require("../edit-option-base-jkkFevzT.cjs");var v=Object.defineProperty,r=(n,t,i,m)=>{for(var l=void 0,u=n.length-1,a;u>=0;u--)(a=n[u])&&(l=a(t,i,l)||l);return l&&v(t,i,l),l};const s=class s extends f.LuzmoEditOptionBase{constructor(){super(...arguments),this.invalid=!1,this.readonly=!1,this.debounce=200,this._previousValue=""}_handleEvent(){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{var i;const t=((i=this.textFieldElement)==null?void 0:i.value)??"";this._previousValue!==t&&(this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:t}})),this._previousValue=t)},this.debounce??200)}renderController(){return o.x`
|
21
21
|
<luzmo-text-field
|
22
22
|
.value=${this.value??""}
|
23
23
|
.disabled=${this.disabled}
|
@@ -20,10 +20,10 @@
|
|
20
20
|
var a = Object.getPrototypeOf;
|
21
21
|
var d = Reflect.get;
|
22
22
|
var s = (e, l, r) => d(a(e), r, l);
|
23
|
-
import "../index-
|
23
|
+
import "../index-CqFCIIIl.js";
|
24
24
|
import { x as f, n as m } from "../focusable-Dw_pMNQL.js";
|
25
25
|
import { e as p } from "../query-Ddbd72Um.js";
|
26
|
-
import { L as b } from "../edit-option-base-
|
26
|
+
import { L as b } from "../edit-option-base-DOezOLDd.js";
|
27
27
|
const z = () => {
|
28
28
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
29
29
|
const e = document.createElement("style");
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import {
|
20
|
+
import { z as m, D as u } from "./base-D76d76ww-D0dTUBua.js";
|
21
21
|
/*! * Lucero - The design system for Luzmo.
|
22
22
|
*
|
23
23
|
* Copyright © 2025 Luzmo
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const l=require("./base-D76d76ww-
|
20
|
+
"use strict";const l=require("./base-D76d76ww-BEIhYtgV.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -49,4 +49,4 @@
|
|
49
49
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
50
50
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
51
51
|
* SOFTWARE.
|
52
|
-
* */var f=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d=(n,e,t,a)=>{for(var s=a>1?void 0:a?p(e,t):e,o=n.length-1,i;o>=0;o--)(i=n[o])&&(s=(a?i(e,t,s):i(s))||s);return a&&s&&f(e,t,s),s};function c(){return new Promise(n=>requestAnimationFrame(()=>n()))}class u extends b(l.
|
52
|
+
* */var f=Object.defineProperty,p=Object.getOwnPropertyDescriptor,d=(n,e,t,a)=>{for(var s=a>1?void 0:a?p(e,t):e,o=n.length-1,i;o>=0;o--)(i=n[o])&&(s=(a?i(e,t,s):i(s))||s);return a&&s&&f(e,t,s),s};function c(){return new Promise(n=>requestAnimationFrame(()=>n()))}class u extends b(l.zt){constructor(){super(...arguments),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){const t=this.hasAttribute("tabindex")?Number(this.getAttribute("tabindex")):Number.NaN;return Number.isNaN(t)?-1:t}const e=Number.parseFloat(this.hasAttribute("tabindex")&&this.getAttribute("tabindex")||"0");return this.disabled||e<0?-1:this.focusElement?this._tabIndex:e}set tabIndex(e){var t;if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=e;else if(e!==this._tabIndex){this._tabIndex=e;const a=""+e;this.manipulatingTabindex=!0,this.setAttribute("tabindex",a)}return}if(e===-1?this.addEventListener("pointerdown",this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener("pointerdown",this.onPointerdownManagementOfTabIndex)),e===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),this.removeAttribute("focusable"),this.selfManageFocusElement)return;e===-1?(t=this.focusElement)==null||t.removeAttribute("tabindex"):(this._tabIndex=e,this.manageFocusElementTabindex(e));return}this.setAttribute("focusable",""),this.hasAttribute("tabindex")?this.removeAttribute("tabindex"):this.manipulatingTabindex=!1,this._tabIndex=e,this.manageFocusElementTabindex(e)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(e){this.focusElement||await this.updateComplete,e===null?this.focusElement.removeAttribute("tabindex"):this.focusElement!==this&&(this.focusElement.tabIndex=e)}get focusElement(){throw new Error("Must implement focusElement getter!")}get selfManageFocusElement(){return!1}focus(e){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[e]):this.focusElement.focus(e))}blur(){const e=this.focusElement||this;e===this?HTMLElement.prototype.blur.apply(this):e.blur()}click(){if(this.disabled)return;const e=this.focusElement||this;e===this?HTMLElement.prototype.click.apply(this):e.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent("keydown",{code:"Tab"})),this.focusElement.focus())}firstUpdated(e){super.firstUpdated(e),(!this.hasAttribute("tabindex")||this.getAttribute("tabindex")!=="-1")&&this.setAttribute("focusable","")}update(e){e.has("disabled")&&this.handleDisabledChanged(this.disabled,e.get("disabled")),super.update(e)}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&this.blur()}async handleDisabledChanged(e,t){const a=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;e?(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),await this.updateComplete,a()?this.focusElement.disabled=!0:this.setAttribute("aria-disabled","true")):t&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute("tabindex",""+this._tabIndex):this.removeAttribute("tabindex"),await this.updateComplete,a()?this.focusElement.disabled=!1:this.removeAttribute("aria-disabled"))}async getUpdateComplete(){const e=await super.getUpdateComplete();return await this.autofocusReady,e}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=new Promise(async e=>{await c(),await c(),e()}),this.updateComplete.then(()=>{this.manageAutoFocus()}))}}d([l.Dt({type:Boolean,reflect:!0})],u.prototype,"disabled",2);d([l.Dt({type:Boolean})],u.prototype,"autofocus",2);d([l.Dt({type:Number})],u.prototype,"tabIndex",1);exports.r=u;
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const o=require("./base-D76d76ww-
|
20
|
+
"use strict";const o=require("./base-D76d76ww-BEIhYtgV.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import { o as u, d as h } from "./base-D76d76ww-
|
20
|
+
import { o as u, d as h } from "./base-D76d76ww-D0dTUBua.js";
|
21
21
|
/*! * Lucero - The design system for Luzmo.
|
22
22
|
*
|
23
23
|
* Copyright © 2025 Luzmo
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const l=require("./base-D76d76ww-
|
20
|
+
"use strict";const l=require("./base-D76d76ww-BEIhYtgV.cjs"),n=require("./divider.module-DwOuLGU3-Bg8RrFkc.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -33,4 +33,4 @@
|
|
33
33
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
35
|
* SOFTWARE.
|
36
|
-
* */const z=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const o=document.createElement("style");o.setAttribute("data-luzmo-vars",""),o.textContent='html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}',document.head.appendChild(o)}};z();var d=Object.defineProperty,i=(o,r,m,s)=>{for(var e=void 0,u=o.length-1,c;u>=0;u--)(c=o[u])&&(e=c(r,m,e)||e);return e&&d(r,m,e),e};const a=class extends l.m(l.
|
36
|
+
* */const z=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const o=document.createElement("style");o.setAttribute("data-luzmo-vars",""),o.textContent='html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}',document.head.appendChild(o)}};z();var d=Object.defineProperty,i=(o,r,m,s)=>{for(var e=void 0,u=o.length-1,c;u>=0;u--)(c=o[u])&&(e=c(r,m,e)||e);return e&&d(r,m,e),e};const a=class extends l.m(l.zt,{validSizes:["s","m","l"],noDefaultSize:!0}){constructor(){super(...arguments),this.vertical=!1}render(){return l.Rt``}firstUpdated(r){super.firstUpdated(r),this.setAttribute("role","separator")}updated(r){super.updated(r),r.has("vertical")&&(this.vertical?this.setAttribute("aria-orientation","vertical"):this.removeAttribute("aria-orientation"))}};a.styles=[l.at(n.r)];let t=a;i([l.Dt({type:Boolean,reflect:!0})],t.prototype,"vertical");i([l.Dt({type:String,reflect:!0,attribute:"static-color"})],t.prototype,"staticColor");customElements.get("luzmo-divider")||customElements.define("luzmo-divider",t);
|
@@ -17,9 +17,9 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import {
|
21
|
-
import {
|
22
|
-
import { m as f } from "./if-defined-
|
20
|
+
import { S as d } from "./luzmo-icons-BLN3xVgr-Tz5XXgbL.js";
|
21
|
+
import { R as m, z as g, a as b, D as t } from "./base-D76d76ww-D0dTUBua.js";
|
22
|
+
import { m as f } from "./if-defined-D-1p2bLN-Bn-33APC.js";
|
23
23
|
/*! * Lucero - The design system for Luzmo.
|
24
24
|
*
|
25
25
|
* Copyright © 2025 Luzmo
|
@@ -37,14 +37,14 @@ import { m as f } from "./if-defined-BSAr_4u4-BCnSpSsA.js";
|
|
37
37
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
38
38
|
* SOFTWARE.
|
39
39
|
* */
|
40
|
-
const
|
40
|
+
const p = () => {
|
41
41
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
42
42
|
const l = document.createElement("style");
|
43
43
|
l.setAttribute("data-luzmo-vars", ""), l.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(l);
|
44
44
|
}
|
45
45
|
};
|
46
|
-
|
47
|
-
const
|
46
|
+
p();
|
47
|
+
const h = ":host{pointer-events:none;transform:none;transform:var(--luzmo-icon-transform, none);block-size:var(--luzmo-icon-block-size, var(--luzmo-icon-size, var(--icon-size)));font-size:var(--luzmo-icon-block-size, var(--luzmo-icon-size, var(--icon-size)));color:inherit;color:var(--luzmo-icon-color, inherit);fill:currentColor;text-align:center;display:inline-block}::slotted(svg),:host(:not([block])) svg,:host(:not([block])) img{vertical-align:var(--luzmo-icon-vertical-align, -.125em)!important}:host([block]){display:block;--icon-vertical-align: 0;vertical-align:0}:host([block]) ::slotted(svg),:host([block]) svg,:host([block]) img{--icon-vertical-align: 0;vertical-align:var(--luzmo-icon-vertical-align, 0)}:host([size=xxs]){--icon-size: var(--luzmo-icon-size-xxs)}:host([size=xs]){--icon-size: var(--luzmo-icon-size-xs)}:host([size=s]){--icon-size: var(--luzmo-icon-size-s)}:host,:host([size=m]){--icon-size: var(--luzmo-icon-size-m)}:host([size=l]){--icon-size: var(--luzmo-icon-size-l)}:host([size=xl]){--icon-size: var(--luzmo-icon-size-xl)}:host([size=xxl]){--icon-size: var(--luzmo-icon-size-xxl)}:host(:not(:root)){overflow:visible}@media (forced-colors: active){:host{forced-color-adjust:auto}}img,svg,::slotted(*){height:100%;vertical-align:top;color:inherit}@media (forced-colors: active){img,svg,::slotted(*){forced-color-adjust:auto}}";
|
48
48
|
var v = Object.defineProperty, a = (l, r, i, z) => {
|
49
49
|
for (var o = void 0, e = l.length - 1, c; e >= 0; e--)
|
50
50
|
(c = l[e]) && (o = c(r, i, o) || o);
|
@@ -55,7 +55,7 @@ class u extends g {
|
|
55
55
|
super(...arguments), this.label = "";
|
56
56
|
}
|
57
57
|
static get styles() {
|
58
|
-
return [b(
|
58
|
+
return [b(h)];
|
59
59
|
}
|
60
60
|
connectedCallback() {
|
61
61
|
super.connectedCallback();
|