wcs-core 2.5.1 → 2.6.0
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/CHANGELOG.md +28 -0
- package/README.md +1 -1
- package/dist/cjs/component-fc28ed16.js +1074 -0
- package/dist/cjs/helpers-d9aaa8c4.js +81 -0
- package/dist/cjs/{index-e05c3e1f.js → index-3cb9d725.js} +165 -87
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/{esm/wcs-action-bar_47.entry.js → cjs/lodash-776d6f03.js} +12499 -22628
- package/dist/cjs/select-arrow-76ccf86d.js +36 -0
- package/dist/cjs/wcs-action-bar.cjs.entry.js +24 -0
- package/dist/cjs/wcs-app.cjs.entry.js +2 -2
- package/dist/cjs/wcs-badge.cjs.entry.js +27 -0
- package/dist/cjs/wcs-button.cjs.entry.js +86 -0
- package/dist/cjs/wcs-card-body.cjs.entry.js +19 -0
- package/dist/cjs/wcs-card.cjs.entry.js +20 -0
- package/dist/cjs/wcs-checkbox.cjs.entry.js +43 -0
- package/dist/cjs/wcs-com-nav-category.cjs.entry.js +63 -0
- package/dist/cjs/wcs-com-nav-submenu.cjs.entry.js +69 -0
- package/dist/cjs/wcs-com-nav.cjs.entry.js +19 -0
- package/dist/cjs/wcs-divider.cjs.entry.js +19 -0
- package/dist/cjs/wcs-dropdown-item.cjs.entry.js +23 -0
- package/dist/cjs/wcs-dropdown.cjs.entry.js +57 -0
- package/dist/cjs/wcs-editable-field.cjs.entry.js +225 -0
- package/dist/cjs/wcs-error_2.cjs.entry.js +137 -0
- package/dist/cjs/wcs-field-content.cjs.entry.js +16 -0
- package/dist/cjs/wcs-field-label.cjs.entry.js +16 -0
- package/dist/cjs/wcs-field.cjs.entry.js +19 -0
- package/dist/cjs/wcs-footer.cjs.entry.js +19 -0
- package/dist/cjs/wcs-galactic-menu.cjs.entry.js +1785 -0
- package/dist/cjs/wcs-galactic.cjs.entry.js +41 -0
- package/dist/cjs/wcs-grid-column.cjs.entry.js +73 -0
- package/dist/cjs/wcs-grid-custom-cell.cjs.entry.js +16 -0
- package/dist/cjs/wcs-grid-pagination.cjs.entry.js +4 -4
- package/dist/cjs/wcs-grid.cjs.entry.js +309 -0
- package/dist/cjs/wcs-header.cjs.entry.js +25 -0
- package/dist/cjs/wcs-hint.cjs.entry.js +20 -0
- package/dist/cjs/wcs-horizontal-stepper.cjs.entry.js +114 -0
- package/dist/cjs/wcs-icon.cjs.entry.js +2 -2
- package/dist/cjs/wcs-input.cjs.entry.js +228 -0
- package/dist/cjs/wcs-label.cjs.entry.js +20 -0
- package/dist/cjs/wcs-list-item-properties.cjs.entry.js +19 -0
- package/dist/cjs/wcs-list-item-property.cjs.entry.js +19 -0
- package/dist/cjs/wcs-list-item.cjs.entry.js +23 -0
- package/dist/cjs/wcs-mat-icon.cjs.entry.js +73 -0
- package/dist/cjs/wcs-modal.cjs.entry.js +45 -0
- package/dist/cjs/wcs-nav-item.cjs.entry.js +23 -0
- package/dist/cjs/wcs-nav.cjs.entry.js +19 -0
- package/dist/cjs/wcs-progress-bar.cjs.entry.js +47 -0
- package/dist/cjs/wcs-progress-radial.cjs.entry.js +30 -0
- package/dist/cjs/wcs-radio-group.cjs.entry.js +65 -0
- package/dist/cjs/wcs-radio.cjs.entry.js +49 -0
- package/dist/cjs/wcs-select_2.cjs.entry.js +4916 -0
- package/dist/cjs/wcs-spinner.cjs.entry.js +21 -0
- package/dist/cjs/wcs-switch.cjs.entry.js +34 -0
- package/dist/cjs/wcs-tab.cjs.entry.js +20 -0
- package/dist/cjs/wcs-tabs.cjs.entry.js +159 -0
- package/dist/cjs/wcs-textarea.cjs.entry.js +224 -0
- package/dist/cjs/wcs-tooltip.cjs.entry.js +129 -0
- package/dist/cjs/wcs.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/button/button.css +79 -75
- package/dist/collection/components/button/button.js +23 -11
- package/dist/collection/components/com-nav/com-nav.css +1 -2
- package/dist/collection/components/com-nav-category/com-nav-category.css +5 -6
- package/dist/collection/components/com-nav-category/com-nav-category.js +31 -1
- package/dist/collection/components/com-nav-submenu/com-nav-submenu.css +1 -2
- package/dist/collection/components/com-nav-submenu/com-nav-submenu.js +21 -1
- package/dist/collection/components/footer/footer.css +1 -1
- package/dist/collection/components/grid/grid.js +47 -8
- package/dist/collection/components/grid-column/grid-column.css +5 -0
- package/dist/collection/components/grid-column/grid-column.js +62 -2
- package/dist/collection/components/grid-custom-cell/grid-custom-cell.js +45 -0
- package/dist/collection/components/grid-pagination/grid-pagination.js +4 -4
- package/dist/collection/components/header/header.css +1 -1
- package/dist/collection/components/input/input.js +2 -2
- package/dist/collection/components/select/select.css +81 -77
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-option/select-option.css +79 -75
- package/dist/collection/components/select-option/select-option.js +6 -7
- package/dist/collection/components/tab/tab.js +4 -4
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/esm/component-6b4d470f.js +1072 -0
- package/dist/esm/helpers-50436c51.js +73 -0
- package/dist/esm/{index-c619b1fa.js → index-b982604a.js} +165 -88
- package/dist/esm/loader.js +3 -3
- package/dist/{cjs/wcs-action-bar_47.cjs.entry.js → esm/lodash-d6d9d079.js} +12610 -22791
- package/dist/esm/select-arrow-73ac4016.js +34 -0
- package/dist/esm/wcs-action-bar.entry.js +20 -0
- package/dist/esm/wcs-app.entry.js +2 -2
- package/dist/esm/wcs-badge.entry.js +23 -0
- package/dist/esm/wcs-button.entry.js +82 -0
- package/dist/esm/wcs-card-body.entry.js +15 -0
- package/dist/esm/wcs-card.entry.js +16 -0
- package/dist/esm/wcs-checkbox.entry.js +39 -0
- package/dist/esm/wcs-com-nav-category.entry.js +59 -0
- package/dist/esm/wcs-com-nav-submenu.entry.js +65 -0
- package/dist/esm/wcs-com-nav.entry.js +15 -0
- package/dist/esm/wcs-divider.entry.js +15 -0
- package/dist/esm/wcs-dropdown-item.entry.js +19 -0
- package/dist/esm/wcs-dropdown.entry.js +53 -0
- package/dist/esm/wcs-editable-field.entry.js +221 -0
- package/dist/esm/wcs-error_2.entry.js +132 -0
- package/dist/esm/wcs-field-content.entry.js +12 -0
- package/dist/esm/wcs-field-label.entry.js +12 -0
- package/dist/esm/wcs-field.entry.js +15 -0
- package/dist/esm/wcs-footer.entry.js +15 -0
- package/dist/esm/wcs-galactic-menu.entry.js +1781 -0
- package/dist/esm/wcs-galactic.entry.js +37 -0
- package/dist/esm/wcs-grid-column.entry.js +69 -0
- package/dist/esm/wcs-grid-custom-cell.entry.js +12 -0
- package/dist/esm/wcs-grid-pagination.entry.js +4 -4
- package/dist/esm/wcs-grid.entry.js +305 -0
- package/dist/esm/wcs-header.entry.js +21 -0
- package/dist/esm/wcs-hint.entry.js +16 -0
- package/dist/esm/wcs-horizontal-stepper.entry.js +110 -0
- package/dist/esm/wcs-icon.entry.js +2 -2
- package/dist/esm/wcs-input.entry.js +224 -0
- package/dist/esm/wcs-label.entry.js +16 -0
- package/dist/esm/wcs-list-item-properties.entry.js +15 -0
- package/dist/esm/wcs-list-item-property.entry.js +15 -0
- package/dist/esm/wcs-list-item.entry.js +19 -0
- package/dist/esm/wcs-mat-icon.entry.js +69 -0
- package/dist/esm/wcs-modal.entry.js +41 -0
- package/dist/esm/wcs-nav-item.entry.js +19 -0
- package/dist/esm/wcs-nav.entry.js +15 -0
- package/dist/esm/wcs-progress-bar.entry.js +43 -0
- package/dist/esm/wcs-progress-radial.entry.js +26 -0
- package/dist/esm/wcs-radio-group.entry.js +61 -0
- package/dist/esm/wcs-radio.entry.js +45 -0
- package/dist/esm/wcs-select_2.entry.js +4911 -0
- package/dist/esm/wcs-spinner.entry.js +17 -0
- package/dist/esm/wcs-switch.entry.js +30 -0
- package/dist/esm/wcs-tab.entry.js +16 -0
- package/dist/esm/wcs-tabs.entry.js +155 -0
- package/dist/esm/wcs-textarea.entry.js +220 -0
- package/dist/esm/wcs-tooltip.entry.js +125 -0
- package/dist/esm/wcs.js +3 -3
- package/dist/types/components/button/button.d.ts +7 -3
- package/dist/types/components/com-nav-category/com-nav-category.d.ts +7 -0
- package/dist/types/components/com-nav-submenu/com-nav-submenu.d.ts +7 -0
- package/dist/types/components/grid/grid.d.ts +7 -0
- package/dist/types/components/grid-column/grid-column.d.ts +4 -0
- package/dist/types/components/grid-custom-cell/grid-custom-cell.d.ts +12 -0
- package/dist/types/components/select-option/select-option.d.ts +2 -0
- package/dist/types/components.d.ts +43 -0
- package/dist/types/stencil-public-runtime.d.ts +183 -182
- package/dist/wcs/p-03b2e238.entry.js +1 -0
- package/dist/wcs/p-0fbe574e.entry.js +1 -0
- package/dist/wcs/p-15008e35.entry.js +1 -0
- package/dist/wcs/p-16dfbae8.js +127 -0
- package/dist/wcs/p-17c6db7f.entry.js +1 -0
- package/dist/wcs/p-1dce7e63.entry.js +1 -0
- package/dist/wcs/p-1f5aed36.entry.js +1 -0
- package/dist/wcs/p-214236db.entry.js +1 -0
- package/dist/wcs/p-26b5c0a3.entry.js +1 -0
- package/dist/wcs/p-2e6265dc.entry.js +1 -0
- package/dist/wcs/p-356a8e3b.entry.js +1 -0
- package/dist/wcs/p-3d10b02a.entry.js +15 -0
- package/dist/wcs/p-4338f140.entry.js +1 -0
- package/dist/wcs/p-474d6601.entry.js +1 -0
- package/dist/wcs/p-55fdc284.entry.js +1 -0
- package/dist/wcs/p-5b35b232.entry.js +1 -0
- package/dist/wcs/p-600a9cc0.entry.js +1 -0
- package/dist/wcs/p-60b51967.entry.js +1 -0
- package/dist/wcs/p-62f7ab6d.entry.js +1 -0
- package/dist/wcs/p-64523291.entry.js +1 -0
- package/dist/wcs/p-65c5ccc5.entry.js +1 -0
- package/dist/wcs/p-688fea65.entry.js +1 -0
- package/dist/wcs/p-716d5921.entry.js +1 -0
- package/dist/wcs/p-7219c04b.js +1 -0
- package/dist/wcs/p-8137f075.entry.js +1 -0
- package/dist/wcs/p-83f1ad32.js +1 -0
- package/dist/wcs/p-8864a491.entry.js +1 -0
- package/dist/wcs/p-8f0f9868.entry.js +1 -0
- package/dist/wcs/p-91a2de07.entry.js +1 -0
- package/dist/wcs/p-94a31f64.entry.js +1 -0
- package/dist/wcs/p-979dfd78.entry.js +1 -0
- package/dist/wcs/p-9ba52bc4.entry.js +1 -0
- package/dist/wcs/p-a1ee1551.entry.js +1 -0
- package/dist/wcs/p-a5a1b27c.entry.js +1 -0
- package/dist/wcs/p-adef7aaf.js +1 -0
- package/dist/wcs/p-af1a5e52.entry.js +1 -0
- package/dist/wcs/p-b7184d59.entry.js +1 -0
- package/dist/wcs/p-bef44630.entry.js +1 -0
- package/dist/wcs/p-d59b4495.entry.js +1 -0
- package/dist/wcs/p-db68379f.entry.js +1 -0
- package/dist/wcs/p-dbbc3f58.entry.js +1 -0
- package/dist/wcs/p-dc817204.entry.js +1 -0
- package/dist/wcs/p-dd300dea.entry.js +1 -0
- package/dist/wcs/p-e0163de8.entry.js +1 -0
- package/dist/wcs/p-e4236d32.entry.js +1 -0
- package/dist/wcs/p-e43358e4.entry.js +1 -0
- package/dist/wcs/p-e486647c.entry.js +1 -0
- package/dist/wcs/p-e9ce507c.entry.js +1 -0
- package/dist/wcs/p-ed6e8541.entry.js +1 -0
- package/dist/wcs/p-f46e6c3c.js +1 -0
- package/dist/wcs/p-f9944bde.entry.js +1 -0
- package/dist/wcs/p-fa173947.entry.js +1 -0
- package/dist/wcs/p-fb1577b5.entry.js +1 -0
- package/dist/wcs/p-febe9ccc.entry.js +1 -0
- package/dist/wcs/wcs.esm.js +1 -1
- package/loader/index.d.ts +0 -1
- package/package.json +22 -20
- package/dist/wcs/p-16dca526.entry.js +0 -1
- package/dist/wcs/p-4f228fcb.entry.js +0 -134
- package/dist/wcs/p-66520e5a.entry.js +0 -1
- package/dist/wcs/p-d31287c6.entry.js +0 -1
- package/dist/wcs/p-f73f235b.js +0 -1
- package/schematics/.gitignore +0 -18
- package/schematics/.npmignore +0 -4
- package/schematics/collection.json +0 -9
- package/schematics/src/ng-add/files/fonts/avenir-black.woff +0 -0
- package/schematics/src/ng-add/files/fonts/avenir-book.woff +0 -0
- package/schematics/src/ng-add/files/fonts/avenir-lighter.woff +0 -0
- package/schematics/src/ng-add/files/fonts/avenir-medium.woff +0 -0
- package/schematics/src/ng-add/files/sncf-logo.png +0 -0
- package/schematics/src/ng-add/index.d.ts +0 -3
- package/schematics/src/ng-add/index.js +0 -119
- package/schematics/src/ng-add/index.js.map +0 -1
- package/schematics/src/ng-add/schema.json +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as r,H as e}from"./p-f46e6c3c.js";let o=class{constructor(r){t(this,r)}render(){return r(e,{slot:"properties"},r("slot",{name:"property"}))}};o.style=":host{margin-bottom:2px;display:block}::slotted(*:first-of-type){padding-right:1.25rem !important;padding-left:0 !important}::slotted(*:last-of-type){padding-right:0 !important;padding-left:1.25rem !important;border-right:none !important}::slotted(*){padding-right:1.25rem;padding-left:1.25rem;border-right:solid 2px var(--wcs-text-disabled)}";export{o as wcs_list_item_properties}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as s,H as r,g as e}from"./p-f46e6c3c.js";let i=class{constructor(s){t(this,s)}render(){return s(r,{slot:"error"},s("slot",null))}};i.style=":host{margin-top:0.25rem;color:var(--wcs-red)}";let o=class{constructor(s){t(this,s),this.isError=!1,this.hasPrefix=!1,this.hasSuffix=!1}componentWillLoad(){this.hasSuffix=null!==this.el.querySelector("wcs-button"),this.hasPrefix=null!==this.el.querySelector("wcs-select")}componentDidLoad(){this.initSpiedElement(),this.addRequiredMarkerToLabel(),this.updateErrorStateOnInput(this.isError)}isErrorChange(t){this.updateErrorStateOnInput(t)}updateErrorStateOnInput(t){this.spiedElementIsOfType("wcs-input","wcs-textarea")&&this.spiedElement.setAttribute("state",t?"error":"initial")}spiedElementIsOfType(...t){var s;for(const r of t)if((null===(s=this.spiedElement)||void 0===s?void 0:s.tagName)===r.toUpperCase())return!0;return!1}addRequiredMarkerToLabel(){var t;const s=this.el.querySelector("wcs-label");this.observer=new MutationObserver((t=>{var r;t.filter((t=>"required"===t.attributeName))[0]&&this.updateLabelRequiredFlag(null===(r=this.spiedElement)||void 0===r?void 0:r.hasAttribute("required"),s)})),this.spiedElement&&this.observer.observe(this.spiedElement,{attributes:!0});const r=null===(t=this.spiedElement)||void 0===t?void 0:t.hasAttribute("required");this.updateLabelRequiredFlag(r,s)}initSpiedElement(){var t;const s=["wcs-input","wcs-select","wcs-textarea","wcs-radio-group","wcs-switch","wcs-checkbox"];if(this.spiedElement=null===(t=this.el.shadowRoot.querySelector("slot:not([name])"))||void 0===t?void 0:t.assignedElements()[0],"SLOT"===this.spiedElement.tagName&&(this.spiedElement=this.spiedElement.assignedElements().filter((t=>-1!==s.map((t=>t.toUpperCase())).indexOf(t.nodeName)))[0]),!this.spiedElement)throw new Error("You must provide a slotted element in form field");-1===s.map((t=>t.toUpperCase())).indexOf(this.spiedElement.tagName)&&console.warn("form-field component support "+s.toString()+". Some features may not work with the provided component (component "+this.spiedElement.tagName+" not natively supported).")}updateLabelRequiredFlag(t,s){t&&s?s.setAttribute("required","true"):!t&&s&&s.removeAttribute("required")}disconnectedCallback(){this.observer.disconnect()}render(){let t="";const e=this.isError;return this.hasSuffix&&(t+=" has-suffix"),this.hasPrefix&&(t+=" has-prefix"),s(r,{class:t},s("slot",{name:"label"}),s("div",{class:"input-container"},s("slot",{name:"prefix"}),s("slot",{onSlotchange:()=>this.onFormInputSlotChange()}),s("slot",{name:"suffix"})),e?s("slot",{name:"error"}):"",s("slot",{name:"messages"}))}onFormInputSlotChange(){this.initSpiedElement(),this.addRequiredMarkerToLabel(),this.updateErrorStateOnInput(this.isError)}get el(){return e(this)}static get watchers(){return{isError:["isErrorChange"]}}};o.style=":host{--wcs-form-field-icon-color:var(--wcs-text-medium);--wcs-form-field-border-radius-left:var(--wcs-border-radius);--wcs-form-field-border-radius-right:var(--wcs-border-radius);display:inline-flex;flex-direction:column}.input-container{display:flex}::slotted(wcs-radio-group){margin-left:var(--wcs-base-margin)}::slotted(wcs-radio-group[mode=option]){margin-left:0}::slotted(wcs-select:not([slot=prefix])){width:100%}::slotted(label){font-weight:500;margin-bottom:8px}:host(.has-prefix){--wcs-input-border-radius-left:0}:host(.has-suffix){--wcs-input-border-radius-right:0}::slotted([slot=prefix]){--wcs-select-border-radius:var(--wcs-border-radius) 0 0 var(--wcs-border-radius);--wcs-select-background-color:var(--wcs-gray-light);--wcs-select-value-color:var(--wcs-white);--wcs-select-placeholder-color:var(--wcs-white);--wcs-select-border-color:var(--wcs-gray-light)}::slotted([slot=suffix]){--wcs-button-border-radius:0 var(--wcs-border-radius) var(--wcs-border-radius) 0}";export{i as wcs_error,o as wcs_form_field}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var n,r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(function(n,t){(function(){var u,e="Expected a function",i="__lodash_hash_undefined__",f="__lodash_placeholder__",o=32,c=128,a=1/0,v=9007199254740991,l=NaN,s=4294967295,h=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",o],["partialRight",64],["rearg",256]],p="[object Arguments]",y="[object Array]",w="[object Boolean]",b="[object Date]",d="[object Error]",g="[object Function]",_="[object GeneratorFunction]",x="[object Map]",j="[object Number]",m="[object Object]",A="[object Promise]",R="[object RegExp]",E="[object Set]",$="[object String]",U="[object Symbol]",k="[object WeakMap]",S="[object ArrayBuffer]",I="[object DataView]",O="[object Float32Array]",D="[object Float64Array]",T="[object Int8Array]",z="[object Int16Array]",F="[object Int32Array]",L="[object Uint8Array]",C="[object Uint8ClampedArray]",N="[object Uint16Array]",Z="[object Uint32Array]",M=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,P=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,B=RegExp(P.source),V=RegExp(G.source),H=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,X=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nn=/[\\^$.*+?()[\]{}|]/g,rn=RegExp(nn.source),tn=/^\s+/,un=/\s/,en=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,fn=/\{\n\/\* \[wrapped with (.+)\] \*/,on=/,? & /,cn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,an=/[()=,{}\[\]\/\s]/,vn=/\\(\\)?/g,ln=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sn=/\w*$/,hn=/^[-+]0x[0-9a-f]+$/i,pn=/^0b[01]+$/i,yn=/^\[object .+?Constructor\]$/,wn=/^0o[0-7]+$/i,bn=/^(?:0|[1-9]\d*)$/,dn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,_n=/['\n\r\u2028\u2029\\]/g,xn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",jn="a-z\\xdf-\\xf6\\xf8-\\xff",mn="A-Z\\xc0-\\xd6\\xd8-\\xde",An="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Rn="["+An+"]",En="["+xn+"]",$n="\\d+",Un="["+jn+"]",kn="[^\\ud800-\\udfff"+An+$n+"\\u2700-\\u27bf"+jn+mn+"]",Sn="\\ud83c[\\udffb-\\udfff]",In="[^\\ud800-\\udfff]",On="(?:\\ud83c[\\udde6-\\uddff]){2}",Dn="[\\ud800-\\udbff][\\udc00-\\udfff]",Tn="["+mn+"]",zn="(?:"+Un+"|"+kn+")",Fn="(?:"+Tn+"|"+kn+")",Ln="(?:['’](?:d|ll|m|re|s|t|ve))?",Cn="(?:['’](?:D|LL|M|RE|S|T|VE))?",Nn="(?:"+En+"|"+Sn+")?",Zn="[\\ufe0e\\ufe0f]?",Mn=Zn+Nn+"(?:\\u200d(?:"+[In,On,Dn].join("|")+")"+Zn+Nn+")*",Wn="(?:"+["[\\u2700-\\u27bf]",On,Dn].join("|")+")"+Mn,qn="(?:"+[In+En+"?",En,On,Dn,"[\\ud800-\\udfff]"].join("|")+")",Pn=RegExp("['’]","g"),Gn=RegExp(En,"g"),Bn=RegExp(Sn+"(?="+Sn+")|"+qn+Mn,"g"),Vn=RegExp([Tn+"?"+Un+"+"+Ln+"(?="+[Rn,Tn,"$"].join("|")+")",Fn+"+"+Cn+"(?="+[Rn,Tn+zn,"$"].join("|")+")",Tn+"?"+zn+"+"+Ln,Tn+"+"+Cn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$n,Wn].join("|"),"g"),Hn=RegExp("[\\u200d\\ud800-\\udfff"+xn+"\\ufe0e\\ufe0f]"),Kn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Yn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Jn=-1,Qn={};Qn[O]=Qn[D]=Qn[T]=Qn[z]=Qn[F]=Qn[L]=Qn[C]=Qn[N]=Qn[Z]=!0,Qn[p]=Qn[y]=Qn[S]=Qn[w]=Qn[I]=Qn[b]=Qn[d]=Qn[g]=Qn[x]=Qn[j]=Qn[m]=Qn[R]=Qn[E]=Qn[$]=Qn[k]=!1;var Xn={};Xn[p]=Xn[y]=Xn[S]=Xn[I]=Xn[w]=Xn[b]=Xn[O]=Xn[D]=Xn[T]=Xn[z]=Xn[F]=Xn[x]=Xn[j]=Xn[m]=Xn[R]=Xn[E]=Xn[$]=Xn[U]=Xn[L]=Xn[C]=Xn[N]=Xn[Z]=!0,Xn[d]=Xn[g]=Xn[k]=!1;var nr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rr=parseFloat,tr=parseInt,ur="object"==typeof r&&r&&r.Object===Object&&r,er="object"==typeof self&&self&&self.Object===Object&&self,ir=ur||er||Function("return this")(),fr=t&&!t.nodeType&&t,or=fr&&n&&!n.nodeType&&n,cr=or&&or.exports===fr,ar=cr&&ur.process,vr=function(){try{return or&&or.require&&or.require("util").types||ar&&ar.binding&&ar.binding("util")}catch(n){}}(),lr=vr&&vr.isArrayBuffer,sr=vr&&vr.isDate,hr=vr&&vr.isMap,pr=vr&&vr.isRegExp,yr=vr&&vr.isSet,wr=vr&&vr.isTypedArray;function br(n,r,t){switch(t.length){case 0:return n.call(r);case 1:return n.call(r,t[0]);case 2:return n.call(r,t[0],t[1]);case 3:return n.call(r,t[0],t[1],t[2])}return n.apply(r,t)}function dr(n,r,t,u){for(var e=-1,i=null==n?0:n.length;++e<i;){var f=n[e];r(u,f,t(f),n)}return u}function gr(n,r){for(var t=-1,u=null==n?0:n.length;++t<u&&!1!==r(n[t],t,n););return n}function _r(n,r){for(var t=null==n?0:n.length;t--&&!1!==r(n[t],t,n););return n}function xr(n,r){for(var t=-1,u=null==n?0:n.length;++t<u;)if(!r(n[t],t,n))return!1;return!0}function jr(n,r){for(var t=-1,u=null==n?0:n.length,e=0,i=[];++t<u;){var f=n[t];r(f,t,n)&&(i[e++]=f)}return i}function mr(n,r){return!(null==n||!n.length)&&Dr(n,r,0)>-1}function Ar(n,r,t){for(var u=-1,e=null==n?0:n.length;++u<e;)if(t(r,n[u]))return!0;return!1}function Rr(n,r){for(var t=-1,u=null==n?0:n.length,e=Array(u);++t<u;)e[t]=r(n[t],t,n);return e}function Er(n,r){for(var t=-1,u=r.length,e=n.length;++t<u;)n[e+t]=r[t];return n}function $r(n,r,t,u){var e=-1,i=null==n?0:n.length;for(u&&i&&(t=n[++e]);++e<i;)t=r(t,n[e],e,n);return t}function Ur(n,r,t,u){var e=null==n?0:n.length;for(u&&e&&(t=n[--e]);e--;)t=r(t,n[e],e,n);return t}function kr(n,r){for(var t=-1,u=null==n?0:n.length;++t<u;)if(r(n[t],t,n))return!0;return!1}var Sr=Lr("length");function Ir(n,r,t){var u;return t(n,(function(n,t,e){if(r(n,t,e))return u=t,!1})),u}function Or(n,r,t,u){for(var e=n.length,i=t+(u?1:-1);u?i--:++i<e;)if(r(n[i],i,n))return i;return-1}function Dr(n,r,t){return r==r?function(n,r,t){for(var u=t-1,e=n.length;++u<e;)if(n[u]===r)return u;return-1}(n,r,t):Or(n,zr,t)}function Tr(n,r,t,u){for(var e=t-1,i=n.length;++e<i;)if(u(n[e],r))return e;return-1}function zr(n){return n!=n}function Fr(n,r){var t=null==n?0:n.length;return t?Zr(n,r)/t:l}function Lr(n){return function(r){return null==r?u:r[n]}}function Cr(n){return function(r){return null==n?u:n[r]}}function Nr(n,r,t,u,e){return e(n,(function(n,e,i){t=u?(u=!1,n):r(t,n,e,i)})),t}function Zr(n,r){for(var t,e=-1,i=n.length;++e<i;){var f=r(n[e]);f!==u&&(t=t===u?f:t+f)}return t}function Mr(n,r){for(var t=-1,u=Array(n);++t<n;)u[t]=r(t);return u}function Wr(n){return n?n.slice(0,ft(n)+1).replace(tn,""):n}function qr(n){return function(r){return n(r)}}function Pr(n,r){return Rr(r,(function(r){return n[r]}))}function Gr(n,r){return n.has(r)}function Br(n,r){for(var t=-1,u=n.length;++t<u&&Dr(r,n[t],0)>-1;);return t}function Vr(n,r){for(var t=n.length;t--&&Dr(r,n[t],0)>-1;);return t}function Hr(n,r){for(var t=n.length,u=0;t--;)n[t]===r&&++u;return u}var Kr=Cr({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),Yr=Cr({"&":"&","<":"<",">":">",'"':""","'":"'"});function Jr(n){return"\\"+nr[n]}function Qr(n){return Hn.test(n)}function Xr(n){var r=-1,t=Array(n.size);return n.forEach((function(n,u){t[++r]=[u,n]})),t}function nt(n,r){return function(t){return n(r(t))}}function rt(n,r){for(var t=-1,u=n.length,e=0,i=[];++t<u;){var o=n[t];o!==r&&o!==f||(n[t]=f,i[e++]=t)}return i}function tt(n){var r=-1,t=Array(n.size);return n.forEach((function(n){t[++r]=n})),t}function ut(n){var r=-1,t=Array(n.size);return n.forEach((function(n){t[++r]=[n,n]})),t}function et(n){return Qr(n)?function(n){for(var r=Bn.lastIndex=0;Bn.test(n);)++r;return r}(n):Sr(n)}function it(n){return Qr(n)?function(n){return n.match(Bn)||[]}(n):function(n){return n.split("")}(n)}function ft(n){for(var r=n.length;r--&&un.test(n.charAt(r)););return r}var ot=Cr({"&":"&","<":"<",">":">",""":'"',"'":"'"}),ct=function n(r){var t,un=(r=null==r?ir:ct.defaults(ir.Object(),r,ct.pick(ir,Yn))).Array,xn=r.Date,jn=r.Error,mn=r.Function,An=r.Math,Rn=r.Object,En=r.RegExp,$n=r.String,Un=r.TypeError,kn=un.prototype,Sn=Rn.prototype,In=r["__core-js_shared__"],On=mn.prototype.toString,Dn=Sn.hasOwnProperty,Tn=0,zn=(t=/[^.]+$/.exec(In&&In.keys&&In.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"",Fn=Sn.toString,Ln=On.call(Rn),Cn=ir._,Nn=En("^"+On.call(Dn).replace(nn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zn=cr?r.Buffer:u,Mn=r.Symbol,Wn=r.Uint8Array,qn=Zn?Zn.allocUnsafe:u,Bn=nt(Rn.getPrototypeOf,Rn),Hn=Rn.create,nr=Sn.propertyIsEnumerable,ur=kn.splice,er=Mn?Mn.isConcatSpreadable:u,fr=Mn?Mn.iterator:u,or=Mn?Mn.toStringTag:u,ar=function(){try{var n=ci(Rn,"defineProperty");return n({},"",{}),n}catch(n){}}(),vr=r.clearTimeout!==ir.clearTimeout&&r.clearTimeout,Sr=xn&&xn.now!==ir.Date.now&&xn.now,Cr=r.setTimeout!==ir.setTimeout&&r.setTimeout,at=An.ceil,vt=An.floor,lt=Rn.getOwnPropertySymbols,st=Zn?Zn.isBuffer:u,ht=r.isFinite,pt=kn.join,yt=nt(Rn.keys,Rn),wt=An.max,bt=An.min,dt=xn.now,gt=r.parseInt,_t=An.random,xt=kn.reverse,jt=ci(r,"DataView"),mt=ci(r,"Map"),At=ci(r,"Promise"),Rt=ci(r,"Set"),Et=ci(r,"WeakMap"),$t=ci(Rn,"create"),Ut=Et&&new Et,kt={},St=Li(jt),It=Li(mt),Ot=Li(At),Dt=Li(Rt),Tt=Li(Et),zt=Mn?Mn.prototype:u,Ft=zt?zt.valueOf:u,Lt=zt?zt.toString:u;function Ct(n){if(ro(n)&&!Pf(n)&&!(n instanceof Wt)){if(n instanceof Mt)return n;if(Dn.call(n,"__wrapped__"))return Ci(n)}return new Mt(n)}var Nt=function(){function n(){}return function(r){if(!no(r))return{};if(Hn)return Hn(r);n.prototype=r;var t=new n;return n.prototype=u,t}}();function Zt(){}function Mt(n,r){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=u}function Wt(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=s,this.__views__=[]}function qt(n){var r=-1,t=null==n?0:n.length;for(this.clear();++r<t;){var u=n[r];this.set(u[0],u[1])}}function Pt(n){var r=-1,t=null==n?0:n.length;for(this.clear();++r<t;){var u=n[r];this.set(u[0],u[1])}}function Gt(n){var r=-1,t=null==n?0:n.length;for(this.clear();++r<t;){var u=n[r];this.set(u[0],u[1])}}function Bt(n){var r=-1,t=null==n?0:n.length;for(this.__data__=new Gt;++r<t;)this.add(n[r])}function Vt(n){var r=this.__data__=new Pt(n);this.size=r.size}function Ht(n,r){var t=Pf(n),u=!t&&qf(n),e=!t&&!u&&Hf(n),i=!t&&!u&&!e&&ao(n),f=t||u||e||i,o=f?Mr(n.length,$n):[],c=o.length;for(var a in n)!r&&!Dn.call(n,a)||f&&("length"==a||e&&("offset"==a||"parent"==a)||i&&("buffer"==a||"byteLength"==a||"byteOffset"==a)||yi(a,c))||o.push(a);return o}function Kt(n){var r=n.length;return r?n[Gu(0,r-1)]:u}function Yt(n,r){return Oi(Ee(n),iu(r,0,n.length))}function Jt(n){return Oi(Ee(n))}function Qt(n,r,t){(t!==u&&!Zf(n[r],t)||t===u&&!(r in n))&&uu(n,r,t)}function Xt(n,r,t){var e=n[r];Dn.call(n,r)&&Zf(e,t)&&(t!==u||r in n)||uu(n,r,t)}function nu(n,r){for(var t=n.length;t--;)if(Zf(n[t][0],r))return t;return-1}function ru(n,r,t,u){return vu(n,(function(n,e,i){r(u,n,t(n),i)})),u}function tu(n,r){return n&&$e(r,Oo(r),n)}function uu(n,r,t){"__proto__"==r&&ar?ar(n,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):n[r]=t}function eu(n,r){for(var t=-1,e=r.length,i=un(e),f=null==n;++t<e;)i[t]=f?u:$o(n,r[t]);return i}function iu(n,r,t){return n==n&&(t!==u&&(n=n<=t?n:t),r!==u&&(n=n>=r?n:r)),n}function fu(n,r,t,e,i,f){var o,c=1&r,a=2&r,v=4&r;if(t&&(o=i?t(n,e,i,f):t(n)),o!==u)return o;if(!no(n))return n;var l=Pf(n);if(l){if(o=function(n){var r=n.length,t=new n.constructor(r);return r&&"string"==typeof n[0]&&Dn.call(n,"index")&&(t.index=n.index,t.input=n.input),t}(n),!c)return Ee(n,o)}else{var s=li(n),h=s==g||s==_;if(Hf(n))return _e(n,c);if(s==m||s==p||h&&!i){if(o=a||h?{}:hi(n),!c)return a?function(n,r){return $e(n,vi(n),r)}(n,function(n,r){return n&&$e(r,Do(r),n)}(o,n)):function(n,r){return $e(n,ai(n),r)}(n,tu(o,n))}else{if(!Xn[s])return i?n:{};o=function(n,r,t){var u=n.constructor;switch(r){case S:return xe(n);case w:case b:return new u(+n);case I:return function(n,r){var t=r?xe(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.byteLength)}(n,t);case O:case D:case T:case z:case F:case L:case C:case N:case Z:return je(n,t);case x:return new u;case j:case $:return new u(n);case R:return function(n){var r=new n.constructor(n.source,sn.exec(n));return r.lastIndex=n.lastIndex,r}(n);case E:return new u;case U:return Ft?Rn(Ft.call(n)):{}}}(n,s,c)}}f||(f=new Vt);var y=f.get(n);if(y)return y;f.set(n,o),fo(n)?n.forEach((function(u){o.add(fu(u,r,t,u,n,f))})):to(n)&&n.forEach((function(u,e){o.set(e,fu(u,r,t,e,n,f))}));var d=l?u:(v?a?ri:ni:a?Do:Oo)(n);return gr(d||n,(function(u,e){d&&(u=n[e=u]),Xt(o,e,fu(u,r,t,e,n,f))})),o}function ou(n,r,t){var e=t.length;if(null==n)return!e;for(n=Rn(n);e--;){var i=t[e],f=n[i];if(f===u&&!(i in n)||!(0,r[i])(f))return!1}return!0}function cu(n,r,t){if("function"!=typeof n)throw new Un(e);return Ui((function(){n.apply(u,t)}),r)}function au(n,r,t,u){var e=-1,i=mr,f=!0,o=n.length,c=[],a=r.length;if(!o)return c;t&&(r=Rr(r,qr(t))),u?(i=Ar,f=!1):r.length>=200&&(i=Gr,f=!1,r=new Bt(r));n:for(;++e<o;){var v=n[e],l=null==t?v:t(v);if(v=u||0!==v?v:0,f&&l==l){for(var s=a;s--;)if(r[s]===l)continue n;c.push(v)}else i(r,l,u)||c.push(v)}return c}Ct.templateSettings={escape:H,evaluate:K,interpolate:Y,variable:"",imports:{_:Ct}},(Ct.prototype=Zt.prototype).constructor=Ct,(Mt.prototype=Nt(Zt.prototype)).constructor=Mt,(Wt.prototype=Nt(Zt.prototype)).constructor=Wt,qt.prototype.clear=function(){this.__data__=$t?$t(null):{},this.size=0},qt.prototype.delete=function(n){var r=this.has(n)&&delete this.__data__[n];return this.size-=r?1:0,r},qt.prototype.get=function(n){var r=this.__data__;if($t){var t=r[n];return t===i?u:t}return Dn.call(r,n)?r[n]:u},qt.prototype.has=function(n){var r=this.__data__;return $t?r[n]!==u:Dn.call(r,n)},qt.prototype.set=function(n,r){var t=this.__data__;return this.size+=this.has(n)?0:1,t[n]=$t&&r===u?i:r,this},Pt.prototype.clear=function(){this.__data__=[],this.size=0},Pt.prototype.delete=function(n){var r=this.__data__,t=nu(r,n);return!(t<0||(t==r.length-1?r.pop():ur.call(r,t,1),--this.size,0))},Pt.prototype.get=function(n){var r=this.__data__,t=nu(r,n);return t<0?u:r[t][1]},Pt.prototype.has=function(n){return nu(this.__data__,n)>-1},Pt.prototype.set=function(n,r){var t=this.__data__,u=nu(t,n);return u<0?(++this.size,t.push([n,r])):t[u][1]=r,this},Gt.prototype.clear=function(){this.size=0,this.__data__={hash:new qt,map:new(mt||Pt),string:new qt}},Gt.prototype.delete=function(n){var r=fi(this,n).delete(n);return this.size-=r?1:0,r},Gt.prototype.get=function(n){return fi(this,n).get(n)},Gt.prototype.has=function(n){return fi(this,n).has(n)},Gt.prototype.set=function(n,r){var t=fi(this,n),u=t.size;return t.set(n,r),this.size+=t.size==u?0:1,this},Bt.prototype.add=Bt.prototype.push=function(n){return this.__data__.set(n,i),this},Bt.prototype.has=function(n){return this.__data__.has(n)},Vt.prototype.clear=function(){this.__data__=new Pt,this.size=0},Vt.prototype.delete=function(n){var r=this.__data__,t=r.delete(n);return this.size=r.size,t},Vt.prototype.get=function(n){return this.__data__.get(n)},Vt.prototype.has=function(n){return this.__data__.has(n)},Vt.prototype.set=function(n,r){var t=this.__data__;if(t instanceof Pt){var u=t.__data__;if(!mt||u.length<199)return u.push([n,r]),this.size=++t.size,this;t=this.__data__=new Gt(u)}return t.set(n,r),this.size=t.size,this};var vu=Se(du),lu=Se(gu,!0);function su(n,r){var t=!0;return vu(n,(function(n,u,e){return t=!!r(n,u,e)})),t}function hu(n,r,t){for(var e=-1,i=n.length;++e<i;){var f=n[e],o=r(f);if(null!=o&&(c===u?o==o&&!co(o):t(o,c)))var c=o,a=f}return a}function pu(n,r){var t=[];return vu(n,(function(n,u,e){r(n,u,e)&&t.push(n)})),t}function yu(n,r,t,u,e){var i=-1,f=n.length;for(t||(t=pi),e||(e=[]);++i<f;){var o=n[i];r>0&&t(o)?r>1?yu(o,r-1,t,u,e):Er(e,o):u||(e[e.length]=o)}return e}var wu=Ie(),bu=Ie(!0);function du(n,r){return n&&wu(n,r,Oo)}function gu(n,r){return n&&bu(n,r,Oo)}function _u(n,r){return jr(r,(function(r){return Jf(n[r])}))}function xu(n,r){for(var t=0,e=(r=we(r,n)).length;null!=n&&t<e;)n=n[Fi(r[t++])];return t&&t==e?n:u}function ju(n,r,t){var u=r(n);return Pf(n)?u:Er(u,t(n))}function mu(n){return null==n?n===u?"[object Undefined]":"[object Null]":or&&or in Rn(n)?function(n){var r=Dn.call(n,or),t=n[or];try{n[or]=u;var e=!0}catch(n){}var i=Fn.call(n);return e&&(r?n[or]=t:delete n[or]),i}(n):function(n){return Fn.call(n)}(n)}function Au(n,r){return n>r}function Ru(n,r){return null!=n&&Dn.call(n,r)}function Eu(n,r){return null!=n&&r in Rn(n)}function $u(n,r,t){for(var e=t?Ar:mr,i=n[0].length,f=n.length,o=f,c=un(f),a=1/0,v=[];o--;){var l=n[o];o&&r&&(l=Rr(l,qr(r))),a=bt(l.length,a),c[o]=!t&&(r||i>=120&&l.length>=120)?new Bt(o&&l):u}l=n[0];var s=-1,h=c[0];n:for(;++s<i&&v.length<a;){var p=l[s],y=r?r(p):p;if(p=t||0!==p?p:0,!(h?Gr(h,y):e(v,y,t))){for(o=f;--o;){var w=c[o];if(!(w?Gr(w,y):e(n[o],y,t)))continue n}h&&h.push(y),v.push(p)}}return v}function Uu(n,r,t){var e=null==(n=Ai(n,r=we(r,n)))?n:n[Fi(Ki(r))];return null==e?u:br(e,n,t)}function ku(n){return ro(n)&&mu(n)==p}function Su(n,r,t,e,i){return n===r||(null==n||null==r||!ro(n)&&!ro(r)?n!=n&&r!=r:function(n,r,t,e,i,f){var o=Pf(n),c=Pf(r),a=o?y:li(n),v=c?y:li(r),l=(a=a==p?m:a)==m,s=(v=v==p?m:v)==m,h=a==v;if(h&&Hf(n)){if(!Hf(r))return!1;o=!0,l=!1}if(h&&!l)return f||(f=new Vt),o||ao(n)?Qe(n,r,t,e,i,f):function(n,r,t,u,e,i,f){switch(t){case I:if(n.byteLength!=r.byteLength||n.byteOffset!=r.byteOffset)return!1;n=n.buffer,r=r.buffer;case S:return!(n.byteLength!=r.byteLength||!i(new Wn(n),new Wn(r)));case w:case b:case j:return Zf(+n,+r);case d:return n.name==r.name&&n.message==r.message;case R:case $:return n==r+"";case x:var o=Xr;case E:if(o||(o=tt),n.size!=r.size&&!(1&u))return!1;var c=f.get(n);if(c)return c==r;u|=2,f.set(n,r);var a=Qe(o(n),o(r),u,e,i,f);return f.delete(n),a;case U:if(Ft)return Ft.call(n)==Ft.call(r)}return!1}(n,r,a,t,e,i,f);if(!(1&t)){var g=l&&Dn.call(n,"__wrapped__"),_=s&&Dn.call(r,"__wrapped__");if(g||_){var A=g?n.value():n,k=_?r.value():r;return f||(f=new Vt),i(A,k,t,e,f)}}return!!h&&(f||(f=new Vt),function(n,r,t,e,i,f){var o=1&t,c=ni(n),a=c.length;if(a!=ni(r).length&&!o)return!1;for(var v=a;v--;){var l=c[v];if(!(o?l in r:Dn.call(r,l)))return!1}var s=f.get(n),h=f.get(r);if(s&&h)return s==r&&h==n;var p=!0;f.set(n,r),f.set(r,n);for(var y=o;++v<a;){var w=n[l=c[v]],b=r[l];if(e)var d=o?e(b,w,l,r,n,f):e(w,b,l,n,r,f);if(!(d===u?w===b||i(w,b,t,e,f):d)){p=!1;break}y||(y="constructor"==l)}if(p&&!y){var g=n.constructor,_=r.constructor;g==_||!("constructor"in n)||!("constructor"in r)||"function"==typeof g&&g instanceof g&&"function"==typeof _&&_ instanceof _||(p=!1)}return f.delete(n),f.delete(r),p}(n,r,t,e,i,f))}(n,r,t,e,Su,i))}function Iu(n,r,t,e){var i=t.length,f=i,o=!e;if(null==n)return!f;for(n=Rn(n);i--;){var c=t[i];if(o&&c[2]?c[1]!==n[c[0]]:!(c[0]in n))return!1}for(;++i<f;){var a=(c=t[i])[0],v=n[a],l=c[1];if(o&&c[2]){if(v===u&&!(a in n))return!1}else{var s=new Vt;if(e)var h=e(v,l,a,n,r,s);if(!(h===u?Su(l,v,3,e,s):h))return!1}}return!0}function Ou(n){return!(!no(n)||(r=n,zn&&zn in r))&&(Jf(n)?Nn:yn).test(Li(n));var r}function Du(n){return"function"==typeof n?n:null==n?ec:"object"==typeof n?Pf(n)?Cu(n[0],n[1]):Lu(n):hc(n)}function Tu(n){if(!_i(n))return yt(n);var r=[];for(var t in Rn(n))Dn.call(n,t)&&"constructor"!=t&&r.push(t);return r}function zu(n,r){return n<r}function Fu(n,r){var t=-1,u=Bf(n)?un(n.length):[];return vu(n,(function(n,e,i){u[++t]=r(n,e,i)})),u}function Lu(n){var r=oi(n);return 1==r.length&&r[0][2]?ji(r[0][0],r[0][1]):function(t){return t===n||Iu(t,n,r)}}function Cu(n,r){return bi(n)&&xi(r)?ji(Fi(n),r):function(t){var e=$o(t,n);return e===u&&e===r?Uo(t,n):Su(r,e,3)}}function Nu(n,r,t,e,i){n!==r&&wu(r,(function(f,o){if(i||(i=new Vt),no(f))!function(n,r,t,e,i,f,o){var c=Ei(n,t),a=Ei(r,t),v=o.get(a);if(v)Qt(n,t,v);else{var l=f?f(c,a,t+"",n,r,o):u,s=l===u;if(s){var h=Pf(a),p=!h&&Hf(a),y=!h&&!p&&ao(a);l=a,h||p||y?Pf(c)?l=c:Vf(c)?l=Ee(c):p?(s=!1,l=_e(a,!0)):y?(s=!1,l=je(a,!0)):l=[]:eo(a)||qf(a)?(l=c,qf(c)?l=bo(c):no(c)&&!Jf(c)||(l=hi(a))):s=!1}s&&(o.set(a,l),i(l,a,e,f,o),o.delete(a)),Qt(n,t,l)}}(n,r,o,t,Nu,e,i);else{var c=e?e(Ei(n,o),f,o+"",n,r,i):u;c===u&&(c=f),Qt(n,o,c)}}),Do)}function Zu(n,r){var t=n.length;if(t)return yi(r+=r<0?t:0,t)?n[r]:u}function Mu(n,r,t){r=r.length?Rr(r,(function(n){return Pf(n)?function(r){return xu(r,1===n.length?n[0]:n)}:n})):[ec];var u=-1;return r=Rr(r,qr(ii())),function(n){var r=n.length;for(n.sort((function(n,r){return function(n,r,t){for(var u=-1,e=n.criteria,i=r.criteria,f=e.length,o=t.length;++u<f;){var c=me(e[u],i[u]);if(c)return u>=o?c:c*("desc"==t[u]?-1:1)}return n.index-r.index}(n,r,t)}));r--;)n[r]=n[r].value;return n}(Fu(n,(function(n){return{criteria:Rr(r,(function(r){return r(n)})),index:++u,value:n}})))}function Wu(n,r,t){for(var u=-1,e=r.length,i={};++u<e;){var f=r[u],o=xu(n,f);t(o,f)&&Yu(i,we(f,n),o)}return i}function qu(n,r,t,u){var e=u?Tr:Dr,i=-1,f=r.length,o=n;for(n===r&&(r=Ee(r)),t&&(o=Rr(n,qr(t)));++i<f;)for(var c=0,a=r[i],v=t?t(a):a;(c=e(o,v,c,u))>-1;)o!==n&&ur.call(o,c,1),ur.call(n,c,1);return n}function Pu(n,r){for(var t=n?r.length:0,u=t-1;t--;){var e=r[t];if(t==u||e!==i){var i=e;yi(e)?ur.call(n,e,1):ce(n,e)}}return n}function Gu(n,r){return n+vt(_t()*(r-n+1))}function Bu(n,r){var t="";if(!n||r<1||r>v)return t;do{r%2&&(t+=n),(r=vt(r/2))&&(n+=n)}while(r);return t}function Vu(n,r){return ki(mi(n,r,ec),n+"")}function Hu(n){return Kt(Mo(n))}function Ku(n,r){var t=Mo(n);return Oi(t,iu(r,0,t.length))}function Yu(n,r,t,e){if(!no(n))return n;for(var i=-1,f=(r=we(r,n)).length,o=f-1,c=n;null!=c&&++i<f;){var a=Fi(r[i]),v=t;if("__proto__"===a||"constructor"===a||"prototype"===a)return n;if(i!=o){var l=c[a];(v=e?e(l,a,c):u)===u&&(v=no(l)?l:yi(r[i+1])?[]:{})}Xt(c,a,v),c=c[a]}return n}var Ju=Ut?function(n,r){return Ut.set(n,r),n}:ec,Qu=ar?function(n,r){return ar(n,"toString",{configurable:!0,enumerable:!1,value:rc(r),writable:!0})}:ec;function Xu(n){return Oi(Mo(n))}function ne(n,r,t){var u=-1,e=n.length;r<0&&(r=-r>e?0:e+r),(t=t>e?e:t)<0&&(t+=e),e=r>t?0:t-r>>>0,r>>>=0;for(var i=un(e);++u<e;)i[u]=n[u+r];return i}function re(n,r){var t;return vu(n,(function(n,u,e){return!(t=r(n,u,e))})),!!t}function te(n,r,t){var u=0,e=null==n?u:n.length;if("number"==typeof r&&r==r&&e<=2147483647){for(;u<e;){var i=u+e>>>1,f=n[i];null!==f&&!co(f)&&(t?f<=r:f<r)?u=i+1:e=i}return e}return ue(n,r,ec,t)}function ue(n,r,t,e){var i=0,f=null==n?0:n.length;if(0===f)return 0;for(var o=(r=t(r))!=r,c=null===r,a=co(r),v=r===u;i<f;){var l=vt((i+f)/2),s=t(n[l]),h=s!==u,p=null===s,y=s==s,w=co(s);if(o)var b=e||y;else b=v?y&&(e||h):c?y&&h&&(e||!p):a?y&&h&&!p&&(e||!w):!p&&!w&&(e?s<=r:s<r);b?i=l+1:f=l}return bt(f,4294967294)}function ee(n,r){for(var t=-1,u=n.length,e=0,i=[];++t<u;){var f=n[t],o=r?r(f):f;if(!t||!Zf(o,c)){var c=o;i[e++]=0===f?0:f}}return i}function ie(n){return"number"==typeof n?n:co(n)?l:+n}function fe(n){if("string"==typeof n)return n;if(Pf(n))return Rr(n,fe)+"";if(co(n))return Lt?Lt.call(n):"";var r=n+"";return"0"==r&&1/n==-1/0?"-0":r}function oe(n,r,t){var u=-1,e=mr,i=n.length,f=!0,o=[],c=o;if(t)f=!1,e=Ar;else if(i>=200){var a=r?null:Be(n);if(a)return tt(a);f=!1,e=Gr,c=new Bt}else c=r?[]:o;n:for(;++u<i;){var v=n[u],l=r?r(v):v;if(v=t||0!==v?v:0,f&&l==l){for(var s=c.length;s--;)if(c[s]===l)continue n;r&&c.push(l),o.push(v)}else e(c,l,t)||(c!==o&&c.push(l),o.push(v))}return o}function ce(n,r){return null==(n=Ai(n,r=we(r,n)))||delete n[Fi(Ki(r))]}function ae(n,r,t,u){return Yu(n,r,t(xu(n,r)),u)}function ve(n,r,t,u){for(var e=n.length,i=u?e:-1;(u?i--:++i<e)&&r(n[i],i,n););return t?ne(n,u?0:i,u?i+1:e):ne(n,u?i+1:0,u?e:i)}function le(n,r){var t=n;return t instanceof Wt&&(t=t.value()),$r(r,(function(n,r){return r.func.apply(r.thisArg,Er([n],r.args))}),t)}function se(n,r,t){var u=n.length;if(u<2)return u?oe(n[0]):[];for(var e=-1,i=un(u);++e<u;)for(var f=n[e],o=-1;++o<u;)o!=e&&(i[e]=au(i[e]||f,n[o],r,t));return oe(yu(i,1),r,t)}function he(n,r,t){for(var e=-1,i=n.length,f=r.length,o={};++e<i;)t(o,n[e],e<f?r[e]:u);return o}function pe(n){return Vf(n)?n:[]}function ye(n){return"function"==typeof n?n:ec}function we(n,r){return Pf(n)?n:bi(n,r)?[n]:zi(go(n))}var be=Vu;function de(n,r,t){var e=n.length;return t=t===u?e:t,!r&&t>=e?n:ne(n,r,t)}var ge=vr||function(n){return ir.clearTimeout(n)};function _e(n,r){if(r)return n.slice();var t=n.length,u=qn?qn(t):new n.constructor(t);return n.copy(u),u}function xe(n){var r=new n.constructor(n.byteLength);return new Wn(r).set(new Wn(n)),r}function je(n,r){var t=r?xe(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.length)}function me(n,r){if(n!==r){var t=n!==u,e=null===n,i=n==n,f=co(n),o=r!==u,c=null===r,a=r==r,v=co(r);if(!c&&!v&&!f&&n>r||f&&o&&a&&!c&&!v||e&&o&&a||!t&&a||!i)return 1;if(!e&&!f&&!v&&n<r||v&&t&&i&&!e&&!f||c&&t&&i||!o&&i||!a)return-1}return 0}function Ae(n,r,t,u){for(var e=-1,i=n.length,f=t.length,o=-1,c=r.length,a=wt(i-f,0),v=un(c+a),l=!u;++o<c;)v[o]=r[o];for(;++e<f;)(l||e<i)&&(v[t[e]]=n[e]);for(;a--;)v[o++]=n[e++];return v}function Re(n,r,t,u){for(var e=-1,i=n.length,f=-1,o=t.length,c=-1,a=r.length,v=wt(i-o,0),l=un(v+a),s=!u;++e<v;)l[e]=n[e];for(var h=e;++c<a;)l[h+c]=r[c];for(;++f<o;)(s||e<i)&&(l[h+t[f]]=n[e++]);return l}function Ee(n,r){var t=-1,u=n.length;for(r||(r=un(u));++t<u;)r[t]=n[t];return r}function $e(n,r,t,e){var i=!t;t||(t={});for(var f=-1,o=r.length;++f<o;){var c=r[f],a=e?e(t[c],n[c],c,t,n):u;a===u&&(a=n[c]),i?uu(t,c,a):Xt(t,c,a)}return t}function Ue(n,r){return function(t,u){var e=Pf(t)?dr:ru,i=r?r():{};return e(t,n,ii(u,2),i)}}function ke(n){return Vu((function(r,t){var e=-1,i=t.length,f=i>1?t[i-1]:u,o=i>2?t[2]:u;for(f=n.length>3&&"function"==typeof f?(i--,f):u,o&&wi(t[0],t[1],o)&&(f=i<3?u:f,i=1),r=Rn(r);++e<i;){var c=t[e];c&&n(r,c,e,f)}return r}))}function Se(n,r){return function(t,u){if(null==t)return t;if(!Bf(t))return n(t,u);for(var e=t.length,i=r?e:-1,f=Rn(t);(r?i--:++i<e)&&!1!==u(f[i],i,f););return t}}function Ie(n){return function(r,t,u){for(var e=-1,i=Rn(r),f=u(r),o=f.length;o--;){var c=f[n?o:++e];if(!1===t(i[c],c,i))break}return r}}function Oe(n){return function(r){var t=Qr(r=go(r))?it(r):u,e=t?t[0]:r.charAt(0),i=t?de(t,1).join(""):r.slice(1);return e[n]()+i}}function De(n){return function(r){return $r(Qo(Po(r).replace(Pn,"")),n,"")}}function Te(n){return function(){var r=arguments;switch(r.length){case 0:return new n;case 1:return new n(r[0]);case 2:return new n(r[0],r[1]);case 3:return new n(r[0],r[1],r[2]);case 4:return new n(r[0],r[1],r[2],r[3]);case 5:return new n(r[0],r[1],r[2],r[3],r[4]);case 6:return new n(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new n(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var t=Nt(n.prototype),u=n.apply(t,r);return no(u)?u:t}}function ze(n){return function(r,t,e){var i=Rn(r);if(!Bf(r)){var f=ii(t,3);r=Oo(r),t=function(n){return f(i[n],n,i)}}var o=n(r,t,e);return o>-1?i[f?r[o]:o]:u}}function Fe(n){return Xe((function(r){var t=r.length,i=t,f=Mt.prototype.thru;for(n&&r.reverse();i--;){var o=r[i];if("function"!=typeof o)throw new Un(e);if(f&&!c&&"wrapper"==ui(o))var c=new Mt([],!0)}for(i=c?i:t;++i<t;){var a=ui(o=r[i]),v="wrapper"==a?ti(o):u;c=v&&di(v[0])&&424==v[1]&&!v[4].length&&1==v[9]?c[ui(v[0])].apply(c,v[3]):1==o.length&&di(o)?c[a]():c.thru(o)}return function(){var n=arguments,u=n[0];if(c&&1==n.length&&Pf(u))return c.plant(u).value();for(var e=0,i=t?r[e].apply(this,n):u;++e<t;)i=r[e].call(this,i);return i}}))}function Le(n,r,t,e,i,f,o,a,v,l){var s=r&c,h=1&r,p=2&r,y=24&r,w=512&r,b=p?u:Te(n);return function u(){for(var c=arguments.length,d=un(c),g=c;g--;)d[g]=arguments[g];if(y)var _=ei(u),x=Hr(d,_);if(e&&(d=Ae(d,e,i,y)),f&&(d=Re(d,f,o,y)),c-=x,y&&c<l){var j=rt(d,_);return Pe(n,r,Le,u.placeholder,t,d,j,a,v,l-c)}var m=h?t:this,A=p?m[n]:n;return c=d.length,a?d=Ri(d,a):w&&c>1&&d.reverse(),s&&v<c&&(d.length=v),this&&this!==ir&&this instanceof u&&(A=b||Te(A)),A.apply(m,d)}}function Ce(n,r){return function(t,u){return function(n,r,t,u){return du(n,(function(n,e,i){r(u,t(n),e,i)})),u}(t,n,r(u),{})}}function Ne(n,r){return function(t,e){var i;if(t===u&&e===u)return r;if(t!==u&&(i=t),e!==u){if(i===u)return e;"string"==typeof t||"string"==typeof e?(t=fe(t),e=fe(e)):(t=ie(t),e=ie(e)),i=n(t,e)}return i}}function Ze(n){return Xe((function(r){return r=Rr(r,qr(ii())),Vu((function(t){var u=this;return n(r,(function(n){return br(n,u,t)}))}))}))}function Me(n,r){var t=(r=r===u?" ":fe(r)).length;if(t<2)return t?Bu(r,n):r;var e=Bu(r,at(n/et(r)));return Qr(r)?de(it(e),0,n).join(""):e.slice(0,n)}function We(n){return function(r,t,e){return e&&"number"!=typeof e&&wi(r,t,e)&&(t=e=u),r=ho(r),t===u?(t=r,r=0):t=ho(t),function(n,r,t,u){for(var e=-1,i=wt(at((r-n)/(t||1)),0),f=un(i);i--;)f[u?i:++e]=n,n+=t;return f}(r,t,e=e===u?r<t?1:-1:ho(e),n)}}function qe(n){return function(r,t){return"string"==typeof r&&"string"==typeof t||(r=wo(r),t=wo(t)),n(r,t)}}function Pe(n,r,t,e,i,f,c,a,v,l){var s=8&r;r|=s?o:64,4&(r&=~(s?64:o))||(r&=-4);var h=[n,r,i,s?f:u,s?c:u,s?u:f,s?u:c,a,v,l],p=t.apply(u,h);return di(n)&&$i(p,h),p.placeholder=e,Si(p,n,r)}function Ge(n){var r=An[n];return function(n,t){if(n=wo(n),(t=null==t?0:bt(po(t),292))&&ht(n)){var u=(go(n)+"e").split("e");return+((u=(go(r(u[0]+"e"+(+u[1]+t)))+"e").split("e"))[0]+"e"+(+u[1]-t))}return r(n)}}var Be=Rt&&1/tt(new Rt([,-0]))[1]==a?function(n){return new Rt(n)}:ac;function Ve(n){return function(r){var t=li(r);return t==x?Xr(r):t==E?ut(r):function(n,r){return Rr(r,(function(r){return[r,n[r]]}))}(r,n(r))}}function He(n,r,t,i,a,v,l,s){var h=2&r;if(!h&&"function"!=typeof n)throw new Un(e);var p=i?i.length:0;if(p||(r&=-97,i=a=u),l=l===u?l:wt(po(l),0),s=s===u?s:po(s),p-=a?a.length:0,64&r){var y=i,w=a;i=a=u}var b=h?u:ti(n),d=[n,r,t,i,a,y,w,v,l,s];if(b&&function(n,r){var t=n[1],u=r[1],e=t|u;if(!(e<131||(u==c&&8==t||u==c&&256==t&&n[7].length<=r[8]||384==u&&r[7].length<=r[8]&&8==t)))return n;1&u&&(n[2]=r[2],e|=1&t?0:4);var i=r[3];if(i){var o=n[3];n[3]=o?Ae(o,i,r[4]):i,n[4]=o?rt(n[3],f):r[4]}(i=r[5])&&(n[5]=(o=n[5])?Re(o,i,r[6]):i,n[6]=o?rt(n[5],f):r[6]),(i=r[7])&&(n[7]=i),u&c&&(n[8]=null==n[8]?r[8]:bt(n[8],r[8])),null==n[9]&&(n[9]=r[9]),n[0]=r[0],n[1]=e}(d,b),n=d[0],r=d[1],t=d[2],i=d[3],a=d[4],!(s=d[9]=d[9]===u?h?0:n.length:wt(d[9]-p,0))&&24&r&&(r&=-25),r&&1!=r)g=8==r||16==r?function(n,r,t){var e=Te(n);return function i(){for(var f=arguments.length,o=un(f),c=f,a=ei(i);c--;)o[c]=arguments[c];var v=f<3&&o[0]!==a&&o[f-1]!==a?[]:rt(o,a);return(f-=v.length)<t?Pe(n,r,Le,i.placeholder,u,o,v,u,u,t-f):br(this&&this!==ir&&this instanceof i?e:n,this,o)}}(n,r,s):r!=o&&33!=r||a.length?Le.apply(u,d):function(n,r,t,u){var e=1&r,i=Te(n);return function r(){for(var f=-1,o=arguments.length,c=-1,a=u.length,v=un(a+o),l=this&&this!==ir&&this instanceof r?i:n;++c<a;)v[c]=u[c];for(;o--;)v[c++]=arguments[++f];return br(l,e?t:this,v)}}(n,r,t,i);else var g=function(n,r,t){var u=1&r,e=Te(n);return function r(){return(this&&this!==ir&&this instanceof r?e:n).apply(u?t:this,arguments)}}(n,r,t);return Si((b?Ju:$i)(g,d),n,r)}function Ke(n,r,t,e){return n===u||Zf(n,Sn[t])&&!Dn.call(e,t)?r:n}function Ye(n,r,t,e,i,f){return no(n)&&no(r)&&(f.set(r,n),Nu(n,r,u,Ye,f),f.delete(r)),n}function Je(n){return eo(n)?u:n}function Qe(n,r,t,e,i,f){var o=1&t,c=n.length,a=r.length;if(c!=a&&!(o&&a>c))return!1;var v=f.get(n),l=f.get(r);if(v&&l)return v==r&&l==n;var s=-1,h=!0,p=2&t?new Bt:u;for(f.set(n,r),f.set(r,n);++s<c;){var y=n[s],w=r[s];if(e)var b=o?e(w,y,s,r,n,f):e(y,w,s,n,r,f);if(b!==u){if(b)continue;h=!1;break}if(p){if(!kr(r,(function(n,r){if(!Gr(p,r)&&(y===n||i(y,n,t,e,f)))return p.push(r)}))){h=!1;break}}else if(y!==w&&!i(y,w,t,e,f)){h=!1;break}}return f.delete(n),f.delete(r),h}function Xe(n){return ki(mi(n,u,Pi),n+"")}function ni(n){return ju(n,Oo,ai)}function ri(n){return ju(n,Do,vi)}var ti=Ut?function(n){return Ut.get(n)}:ac;function ui(n){for(var r=n.name+"",t=kt[r],u=Dn.call(kt,r)?t.length:0;u--;){var e=t[u],i=e.func;if(null==i||i==n)return e.name}return r}function ei(n){return(Dn.call(Ct,"placeholder")?Ct:n).placeholder}function ii(){var n=Ct.iteratee||ic;return n=n===ic?Du:n,arguments.length?n(arguments[0],arguments[1]):n}function fi(n,r){var t,u,e=n.__data__;return("string"==(u=typeof(t=r))||"number"==u||"symbol"==u||"boolean"==u?"__proto__"!==t:null===t)?e["string"==typeof r?"string":"hash"]:e.map}function oi(n){for(var r=Oo(n),t=r.length;t--;){var u=r[t],e=n[u];r[t]=[u,e,xi(e)]}return r}function ci(n,r){var t=function(n,r){return null==n?u:n[r]}(n,r);return Ou(t)?t:u}var ai=lt?function(n){return null==n?[]:(n=Rn(n),jr(lt(n),(function(r){return nr.call(n,r)})))}:wc,vi=lt?function(n){for(var r=[];n;)Er(r,ai(n)),n=Bn(n);return r}:wc,li=mu;function si(n,r,t){for(var u=-1,e=(r=we(r,n)).length,i=!1;++u<e;){var f=Fi(r[u]);if(!(i=null!=n&&t(n,f)))break;n=n[f]}return i||++u!=e?i:!!(e=null==n?0:n.length)&&Xf(e)&&yi(f,e)&&(Pf(n)||qf(n))}function hi(n){return"function"!=typeof n.constructor||_i(n)?{}:Nt(Bn(n))}function pi(n){return Pf(n)||qf(n)||!!(er&&n&&n[er])}function yi(n,r){var t=typeof n;return!!(r=null==r?v:r)&&("number"==t||"symbol"!=t&&bn.test(n))&&n>-1&&n%1==0&&n<r}function wi(n,r,t){if(!no(t))return!1;var u=typeof r;return!!("number"==u?Bf(t)&&yi(r,t.length):"string"==u&&r in t)&&Zf(t[r],n)}function bi(n,r){if(Pf(n))return!1;var t=typeof n;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=n&&!co(n))||Q.test(n)||!J.test(n)||null!=r&&n in Rn(r)}function di(n){var r=ui(n),t=Ct[r];if("function"!=typeof t||!(r in Wt.prototype))return!1;if(n===t)return!0;var u=ti(t);return!!u&&n===u[0]}(jt&&li(new jt(new ArrayBuffer(1)))!=I||mt&&li(new mt)!=x||At&&li(At.resolve())!=A||Rt&&li(new Rt)!=E||Et&&li(new Et)!=k)&&(li=function(n){var r=mu(n),t=r==m?n.constructor:u,e=t?Li(t):"";if(e)switch(e){case St:return I;case It:return x;case Ot:return A;case Dt:return E;case Tt:return k}return r});var gi=In?Jf:bc;function _i(n){var r=n&&n.constructor;return n===("function"==typeof r&&r.prototype||Sn)}function xi(n){return n==n&&!no(n)}function ji(n,r){return function(t){return null!=t&&t[n]===r&&(r!==u||n in Rn(t))}}function mi(n,r,t){return r=wt(r===u?n.length-1:r,0),function(){for(var u=arguments,e=-1,i=wt(u.length-r,0),f=un(i);++e<i;)f[e]=u[r+e];e=-1;for(var o=un(r+1);++e<r;)o[e]=u[e];return o[r]=t(f),br(n,this,o)}}function Ai(n,r){return r.length<2?n:xu(n,ne(r,0,-1))}function Ri(n,r){for(var t=n.length,e=bt(r.length,t),i=Ee(n);e--;){var f=r[e];n[e]=yi(f,t)?i[f]:u}return n}function Ei(n,r){if(("constructor"!==r||"function"!=typeof n[r])&&"__proto__"!=r)return n[r]}var $i=Ii(Ju),Ui=Cr||function(n,r){return ir.setTimeout(n,r)},ki=Ii(Qu);function Si(n,r,t){var u=r+"";return ki(n,function(n,r){var t=r.length;if(!t)return n;var u=t-1;return r[u]=(t>1?"& ":"")+r[u],r=r.join(t>2?", ":" "),n.replace(en,"{\n/* [wrapped with "+r+"] */\n")}(u,function(n,r){return gr(h,(function(t){var u="_."+t[0];r&t[1]&&!mr(n,u)&&n.push(u)})),n.sort()}(function(n){var r=n.match(fn);return r?r[1].split(on):[]}(u),t)))}function Ii(n){var r=0,t=0;return function(){var e=dt(),i=16-(e-t);if(t=e,i>0){if(++r>=800)return arguments[0]}else r=0;return n.apply(u,arguments)}}function Oi(n,r){var t=-1,e=n.length,i=e-1;for(r=r===u?e:r;++t<r;){var f=Gu(t,i),o=n[f];n[f]=n[t],n[t]=o}return n.length=r,n}var Di,Ti,zi=(Di=Tf((function(n){var r=[];return 46===n.charCodeAt(0)&&r.push(""),n.replace(X,(function(n,t,u,e){r.push(u?e.replace(vn,"$1"):t||n)})),r}),(function(n){return 500===Ti.size&&Ti.clear(),n})),Ti=Di.cache,Di);function Fi(n){if("string"==typeof n||co(n))return n;var r=n+"";return"0"==r&&1/n==-1/0?"-0":r}function Li(n){if(null!=n){try{return On.call(n)}catch(n){}try{return n+""}catch(n){}}return""}function Ci(n){if(n instanceof Wt)return n.clone();var r=new Mt(n.__wrapped__,n.__chain__);return r.__actions__=Ee(n.__actions__),r.__index__=n.__index__,r.__values__=n.__values__,r}var Ni=Vu((function(n,r){return Vf(n)?au(n,yu(r,1,Vf,!0)):[]})),Zi=Vu((function(n,r){var t=Ki(r);return Vf(t)&&(t=u),Vf(n)?au(n,yu(r,1,Vf,!0),ii(t,2)):[]})),Mi=Vu((function(n,r){var t=Ki(r);return Vf(t)&&(t=u),Vf(n)?au(n,yu(r,1,Vf,!0),u,t):[]}));function Wi(n,r,t){var u=null==n?0:n.length;if(!u)return-1;var e=null==t?0:po(t);return e<0&&(e=wt(u+e,0)),Or(n,ii(r,3),e)}function qi(n,r,t){var e=null==n?0:n.length;if(!e)return-1;var i=e-1;return t!==u&&(i=po(t),i=t<0?wt(e+i,0):bt(i,e-1)),Or(n,ii(r,3),i,!0)}function Pi(n){return null!=n&&n.length?yu(n,1):[]}function Gi(n){return n&&n.length?n[0]:u}var Bi=Vu((function(n){var r=Rr(n,pe);return r.length&&r[0]===n[0]?$u(r):[]})),Vi=Vu((function(n){var r=Ki(n),t=Rr(n,pe);return r===Ki(t)?r=u:t.pop(),t.length&&t[0]===n[0]?$u(t,ii(r,2)):[]})),Hi=Vu((function(n){var r=Ki(n),t=Rr(n,pe);return(r="function"==typeof r?r:u)&&t.pop(),t.length&&t[0]===n[0]?$u(t,u,r):[]}));function Ki(n){var r=null==n?0:n.length;return r?n[r-1]:u}var Yi=Vu(Ji);function Ji(n,r){return n&&n.length&&r&&r.length?qu(n,r):n}var Qi=Xe((function(n,r){var t=null==n?0:n.length,u=eu(n,r);return Pu(n,Rr(r,(function(n){return yi(n,t)?+n:n})).sort(me)),u}));function Xi(n){return null==n?n:xt.call(n)}var nf=Vu((function(n){return oe(yu(n,1,Vf,!0))})),rf=Vu((function(n){var r=Ki(n);return Vf(r)&&(r=u),oe(yu(n,1,Vf,!0),ii(r,2))})),tf=Vu((function(n){var r=Ki(n);return r="function"==typeof r?r:u,oe(yu(n,1,Vf,!0),u,r)}));function uf(n){if(!n||!n.length)return[];var r=0;return n=jr(n,(function(n){if(Vf(n))return r=wt(n.length,r),!0})),Mr(r,(function(r){return Rr(n,Lr(r))}))}function ef(n,r){if(!n||!n.length)return[];var t=uf(n);return null==r?t:Rr(t,(function(n){return br(r,u,n)}))}var ff=Vu((function(n,r){return Vf(n)?au(n,r):[]})),of=Vu((function(n){return se(jr(n,Vf))})),cf=Vu((function(n){var r=Ki(n);return Vf(r)&&(r=u),se(jr(n,Vf),ii(r,2))})),af=Vu((function(n){var r=Ki(n);return r="function"==typeof r?r:u,se(jr(n,Vf),u,r)})),vf=Vu(uf),lf=Vu((function(n){var r=n.length,t=r>1?n[r-1]:u;return t="function"==typeof t?(n.pop(),t):u,ef(n,t)}));function sf(n){var r=Ct(n);return r.__chain__=!0,r}function hf(n,r){return r(n)}var pf=Xe((function(n){var r=n.length,t=r?n[0]:0,e=this.__wrapped__,i=function(r){return eu(r,n)};return!(r>1||this.__actions__.length)&&e instanceof Wt&&yi(t)?((e=e.slice(t,+t+(r?1:0))).__actions__.push({func:hf,args:[i],thisArg:u}),new Mt(e,this.__chain__).thru((function(n){return r&&!n.length&&n.push(u),n}))):this.thru(i)})),yf=Ue((function(n,r,t){Dn.call(n,t)?++n[t]:uu(n,t,1)})),wf=ze(Wi),bf=ze(qi);function df(n,r){return(Pf(n)?gr:vu)(n,ii(r,3))}function gf(n,r){return(Pf(n)?_r:lu)(n,ii(r,3))}var _f=Ue((function(n,r,t){Dn.call(n,t)?n[t].push(r):uu(n,t,[r])})),xf=Vu((function(n,r,t){var u=-1,e="function"==typeof r,i=Bf(n)?un(n.length):[];return vu(n,(function(n){i[++u]=e?br(r,n,t):Uu(n,r,t)})),i})),jf=Ue((function(n,r,t){uu(n,t,r)}));function mf(n,r){return(Pf(n)?Rr:Fu)(n,ii(r,3))}var Af=Ue((function(n,r,t){n[t?0:1].push(r)}),(function(){return[[],[]]})),Rf=Vu((function(n,r){if(null==n)return[];var t=r.length;return t>1&&wi(n,r[0],r[1])?r=[]:t>2&&wi(r[0],r[1],r[2])&&(r=[r[0]]),Mu(n,yu(r,1),[])})),Ef=Sr||function(){return ir.Date.now()};function $f(n,r,t){return r=t?u:r,He(n,c,u,u,u,u,r=n&&null==r?n.length:r)}function Uf(n,r){var t;if("function"!=typeof r)throw new Un(e);return n=po(n),function(){return--n>0&&(t=r.apply(this,arguments)),n<=1&&(r=u),t}}var kf=Vu((function(n,r,t){var u=1;if(t.length){var e=rt(t,ei(kf));u|=o}return He(n,u,r,t,e)})),Sf=Vu((function(n,r,t){var u=3;if(t.length){var e=rt(t,ei(Sf));u|=o}return He(r,u,n,t,e)}));function If(n,r,t){var i,f,o,c,a,v,l=0,s=!1,h=!1,p=!0;if("function"!=typeof n)throw new Un(e);function y(r){var t=i,e=f;return i=f=u,l=r,c=n.apply(e,t)}function w(n){return l=n,a=Ui(d,r),s?y(n):c}function b(n){var t=n-v;return v===u||t>=r||t<0||h&&n-l>=o}function d(){var n=Ef();if(b(n))return g(n);a=Ui(d,function(n){var t=r-(n-v);return h?bt(t,o-(n-l)):t}(n))}function g(n){return a=u,p&&i?y(n):(i=f=u,c)}function _(){var n=Ef(),t=b(n);if(i=arguments,f=this,v=n,t){if(a===u)return w(v);if(h)return ge(a),a=Ui(d,r),y(v)}return a===u&&(a=Ui(d,r)),c}return r=wo(r)||0,no(t)&&(s=!!t.leading,o=(h="maxWait"in t)?wt(wo(t.maxWait)||0,r):o,p="trailing"in t?!!t.trailing:p),_.cancel=function(){a!==u&&ge(a),l=0,i=v=f=a=u},_.flush=function(){return a===u?c:g(Ef())},_}var Of=Vu((function(n,r){return cu(n,1,r)})),Df=Vu((function(n,r,t){return cu(n,wo(r)||0,t)}));function Tf(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new Un(e);var t=function(){var u=arguments,e=r?r.apply(this,u):u[0],i=t.cache;if(i.has(e))return i.get(e);var f=n.apply(this,u);return t.cache=i.set(e,f)||i,f};return t.cache=new(Tf.Cache||Gt),t}function zf(n){if("function"!=typeof n)throw new Un(e);return function(){var r=arguments;switch(r.length){case 0:return!n.call(this);case 1:return!n.call(this,r[0]);case 2:return!n.call(this,r[0],r[1]);case 3:return!n.call(this,r[0],r[1],r[2])}return!n.apply(this,r)}}Tf.Cache=Gt;var Ff=be((function(n,r){var t=(r=1==r.length&&Pf(r[0])?Rr(r[0],qr(ii())):Rr(yu(r,1),qr(ii()))).length;return Vu((function(u){for(var e=-1,i=bt(u.length,t);++e<i;)u[e]=r[e].call(this,u[e]);return br(n,this,u)}))})),Lf=Vu((function(n,r){var t=rt(r,ei(Lf));return He(n,o,u,r,t)})),Cf=Vu((function(n,r){var t=rt(r,ei(Cf));return He(n,64,u,r,t)})),Nf=Xe((function(n,r){return He(n,256,u,u,u,r)}));function Zf(n,r){return n===r||n!=n&&r!=r}var Mf=qe(Au),Wf=qe((function(n,r){return n>=r})),qf=ku(function(){return arguments}())?ku:function(n){return ro(n)&&Dn.call(n,"callee")&&!nr.call(n,"callee")},Pf=un.isArray,Gf=lr?qr(lr):function(n){return ro(n)&&mu(n)==S};function Bf(n){return null!=n&&Xf(n.length)&&!Jf(n)}function Vf(n){return ro(n)&&Bf(n)}var Hf=st||bc,Kf=sr?qr(sr):function(n){return ro(n)&&mu(n)==b};function Yf(n){if(!ro(n))return!1;var r=mu(n);return r==d||"[object DOMException]"==r||"string"==typeof n.message&&"string"==typeof n.name&&!eo(n)}function Jf(n){if(!no(n))return!1;var r=mu(n);return r==g||r==_||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Qf(n){return"number"==typeof n&&n==po(n)}function Xf(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=v}function no(n){var r=typeof n;return null!=n&&("object"==r||"function"==r)}function ro(n){return null!=n&&"object"==typeof n}var to=hr?qr(hr):function(n){return ro(n)&&li(n)==x};function uo(n){return"number"==typeof n||ro(n)&&mu(n)==j}function eo(n){if(!ro(n)||mu(n)!=m)return!1;var r=Bn(n);if(null===r)return!0;var t=Dn.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&On.call(t)==Ln}var io=pr?qr(pr):function(n){return ro(n)&&mu(n)==R},fo=yr?qr(yr):function(n){return ro(n)&&li(n)==E};function oo(n){return"string"==typeof n||!Pf(n)&&ro(n)&&mu(n)==$}function co(n){return"symbol"==typeof n||ro(n)&&mu(n)==U}var ao=wr?qr(wr):function(n){return ro(n)&&Xf(n.length)&&!!Qn[mu(n)]},vo=qe(zu),lo=qe((function(n,r){return n<=r}));function so(n){if(!n)return[];if(Bf(n))return oo(n)?it(n):Ee(n);if(fr&&n[fr])return function(n){for(var r,t=[];!(r=n.next()).done;)t.push(r.value);return t}(n[fr]());var r=li(n);return(r==x?Xr:r==E?tt:Mo)(n)}function ho(n){return n?(n=wo(n))===a||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}function po(n){var r=ho(n),t=r%1;return r==r?t?r-t:r:0}function yo(n){return n?iu(po(n),0,s):0}function wo(n){if("number"==typeof n)return n;if(co(n))return l;if(no(n)){var r="function"==typeof n.valueOf?n.valueOf():n;n=no(r)?r+"":r}if("string"!=typeof n)return 0===n?n:+n;n=Wr(n);var t=pn.test(n);return t||wn.test(n)?tr(n.slice(2),t?2:8):hn.test(n)?l:+n}function bo(n){return $e(n,Do(n))}function go(n){return null==n?"":fe(n)}var _o=ke((function(n,r){if(_i(r)||Bf(r))$e(r,Oo(r),n);else for(var t in r)Dn.call(r,t)&&Xt(n,t,r[t])})),xo=ke((function(n,r){$e(r,Do(r),n)})),jo=ke((function(n,r,t,u){$e(r,Do(r),n,u)})),mo=ke((function(n,r,t,u){$e(r,Oo(r),n,u)})),Ao=Xe(eu),Ro=Vu((function(n,r){n=Rn(n);var t=-1,e=r.length,i=e>2?r[2]:u;for(i&&wi(r[0],r[1],i)&&(e=1);++t<e;)for(var f=r[t],o=Do(f),c=-1,a=o.length;++c<a;){var v=o[c],l=n[v];(l===u||Zf(l,Sn[v])&&!Dn.call(n,v))&&(n[v]=f[v])}return n})),Eo=Vu((function(n){return n.push(u,Ye),br(zo,u,n)}));function $o(n,r,t){var e=null==n?u:xu(n,r);return e===u?t:e}function Uo(n,r){return null!=n&&si(n,r,Eu)}var ko=Ce((function(n,r,t){null!=r&&"function"!=typeof r.toString&&(r=Fn.call(r)),n[r]=t}),rc(ec)),So=Ce((function(n,r,t){null!=r&&"function"!=typeof r.toString&&(r=Fn.call(r)),Dn.call(n,r)?n[r].push(t):n[r]=[t]}),ii),Io=Vu(Uu);function Oo(n){return Bf(n)?Ht(n):Tu(n)}function Do(n){return Bf(n)?Ht(n,!0):function(n){if(!no(n))return function(n){var r=[];if(null!=n)for(var t in Rn(n))r.push(t);return r}(n);var r=_i(n),t=[];for(var u in n)("constructor"!=u||!r&&Dn.call(n,u))&&t.push(u);return t}(n)}var To=ke((function(n,r,t){Nu(n,r,t)})),zo=ke((function(n,r,t,u){Nu(n,r,t,u)})),Fo=Xe((function(n,r){var t={};if(null==n)return t;var u=!1;r=Rr(r,(function(r){return r=we(r,n),u||(u=r.length>1),r})),$e(n,ri(n),t),u&&(t=fu(t,7,Je));for(var e=r.length;e--;)ce(t,r[e]);return t})),Lo=Xe((function(n,r){return null==n?{}:function(n,r){return Wu(n,r,(function(r,t){return Uo(n,t)}))}(n,r)}));function Co(n,r){if(null==n)return{};var t=Rr(ri(n),(function(n){return[n]}));return r=ii(r),Wu(n,t,(function(n,t){return r(n,t[0])}))}var No=Ve(Oo),Zo=Ve(Do);function Mo(n){return null==n?[]:Pr(n,Oo(n))}var Wo=De((function(n,r,t){return r=r.toLowerCase(),n+(t?qo(r):r)}));function qo(n){return Jo(go(n).toLowerCase())}function Po(n){return(n=go(n))&&n.replace(dn,Kr).replace(Gn,"")}var Go=De((function(n,r,t){return n+(t?"-":"")+r.toLowerCase()})),Bo=De((function(n,r,t){return n+(t?" ":"")+r.toLowerCase()})),Vo=Oe("toLowerCase"),Ho=De((function(n,r,t){return n+(t?"_":"")+r.toLowerCase()})),Ko=De((function(n,r,t){return n+(t?" ":"")+Jo(r)})),Yo=De((function(n,r,t){return n+(t?" ":"")+r.toUpperCase()})),Jo=Oe("toUpperCase");function Qo(n,r,t){return n=go(n),(r=t?u:r)===u?function(n){return Kn.test(n)}(n)?function(n){return n.match(Vn)||[]}(n):function(n){return n.match(cn)||[]}(n):n.match(r)||[]}var Xo=Vu((function(n,r){try{return br(n,u,r)}catch(n){return Yf(n)?n:new jn(n)}})),nc=Xe((function(n,r){return gr(r,(function(r){r=Fi(r),uu(n,r,kf(n[r],n))})),n}));function rc(n){return function(){return n}}var tc=Fe(),uc=Fe(!0);function ec(n){return n}function ic(n){return Du("function"==typeof n?n:fu(n,1))}var fc=Vu((function(n,r){return function(t){return Uu(t,n,r)}})),oc=Vu((function(n,r){return function(t){return Uu(n,t,r)}}));function cc(n,r,t){var u=Oo(r),e=_u(r,u);null!=t||no(r)&&(e.length||!u.length)||(t=r,r=n,n=this,e=_u(r,Oo(r)));var i=!(no(t)&&"chain"in t&&!t.chain),f=Jf(n);return gr(e,(function(t){var u=r[t];n[t]=u,f&&(n.prototype[t]=function(){var r=this.__chain__;if(i||r){var t=n(this.__wrapped__),e=t.__actions__=Ee(this.__actions__);return e.push({func:u,args:arguments,thisArg:n}),t.__chain__=r,t}return u.apply(n,Er([this.value()],arguments))})})),n}function ac(){}var vc=Ze(Rr),lc=Ze(xr),sc=Ze(kr);function hc(n){return bi(n)?Lr(Fi(n)):function(n){return function(r){return xu(r,n)}}(n)}var pc=We(),yc=We(!0);function wc(){return[]}function bc(){return!1}var dc,gc=Ne((function(n,r){return n+r}),0),_c=Ge("ceil"),xc=Ne((function(n,r){return n/r}),1),jc=Ge("floor"),mc=Ne((function(n,r){return n*r}),1),Ac=Ge("round"),Rc=Ne((function(n,r){return n-r}),0);return Ct.after=function(n,r){if("function"!=typeof r)throw new Un(e);return n=po(n),function(){if(--n<1)return r.apply(this,arguments)}},Ct.ary=$f,Ct.assign=_o,Ct.assignIn=xo,Ct.assignInWith=jo,Ct.assignWith=mo,Ct.at=Ao,Ct.before=Uf,Ct.bind=kf,Ct.bindAll=nc,Ct.bindKey=Sf,Ct.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Pf(n)?n:[n]},Ct.chain=sf,Ct.chunk=function(n,r,t){r=(t?wi(n,r,t):r===u)?1:wt(po(r),0);var e=null==n?0:n.length;if(!e||r<1)return[];for(var i=0,f=0,o=un(at(e/r));i<e;)o[f++]=ne(n,i,i+=r);return o},Ct.compact=function(n){for(var r=-1,t=null==n?0:n.length,u=0,e=[];++r<t;){var i=n[r];i&&(e[u++]=i)}return e},Ct.concat=function(){var n=arguments.length;if(!n)return[];for(var r=un(n-1),t=arguments[0],u=n;u--;)r[u-1]=arguments[u];return Er(Pf(t)?Ee(t):[t],yu(r,1))},Ct.cond=function(n){var r=null==n?0:n.length,t=ii();return n=r?Rr(n,(function(n){if("function"!=typeof n[1])throw new Un(e);return[t(n[0]),n[1]]})):[],Vu((function(t){for(var u=-1;++u<r;){var e=n[u];if(br(e[0],this,t))return br(e[1],this,t)}}))},Ct.conforms=function(n){return function(n){var r=Oo(n);return function(t){return ou(t,n,r)}}(fu(n,1))},Ct.constant=rc,Ct.countBy=yf,Ct.create=function(n,r){var t=Nt(n);return null==r?t:tu(t,r)},Ct.curry=function n(r,t,e){var i=He(r,8,u,u,u,u,u,t=e?u:t);return i.placeholder=n.placeholder,i},Ct.curryRight=function n(r,t,e){var i=He(r,16,u,u,u,u,u,t=e?u:t);return i.placeholder=n.placeholder,i},Ct.debounce=If,Ct.defaults=Ro,Ct.defaultsDeep=Eo,Ct.defer=Of,Ct.delay=Df,Ct.difference=Ni,Ct.differenceBy=Zi,Ct.differenceWith=Mi,Ct.drop=function(n,r,t){var e=null==n?0:n.length;return e?ne(n,(r=t||r===u?1:po(r))<0?0:r,e):[]},Ct.dropRight=function(n,r,t){var e=null==n?0:n.length;return e?ne(n,0,(r=e-(r=t||r===u?1:po(r)))<0?0:r):[]},Ct.dropRightWhile=function(n,r){return n&&n.length?ve(n,ii(r,3),!0,!0):[]},Ct.dropWhile=function(n,r){return n&&n.length?ve(n,ii(r,3),!0):[]},Ct.fill=function(n,r,t,e){var i=null==n?0:n.length;return i?(t&&"number"!=typeof t&&wi(n,r,t)&&(t=0,e=i),function(n,r,t,e){var i=n.length;for((t=po(t))<0&&(t=-t>i?0:i+t),(e=e===u||e>i?i:po(e))<0&&(e+=i),e=t>e?0:yo(e);t<e;)n[t++]=r;return n}(n,r,t,e)):[]},Ct.filter=function(n,r){return(Pf(n)?jr:pu)(n,ii(r,3))},Ct.flatMap=function(n,r){return yu(mf(n,r),1)},Ct.flatMapDeep=function(n,r){return yu(mf(n,r),a)},Ct.flatMapDepth=function(n,r,t){return t=t===u?1:po(t),yu(mf(n,r),t)},Ct.flatten=Pi,Ct.flattenDeep=function(n){return null!=n&&n.length?yu(n,a):[]},Ct.flattenDepth=function(n,r){return null!=n&&n.length?yu(n,r=r===u?1:po(r)):[]},Ct.flip=function(n){return He(n,512)},Ct.flow=tc,Ct.flowRight=uc,Ct.fromPairs=function(n){for(var r=-1,t=null==n?0:n.length,u={};++r<t;){var e=n[r];u[e[0]]=e[1]}return u},Ct.functions=function(n){return null==n?[]:_u(n,Oo(n))},Ct.functionsIn=function(n){return null==n?[]:_u(n,Do(n))},Ct.groupBy=_f,Ct.initial=function(n){return null!=n&&n.length?ne(n,0,-1):[]},Ct.intersection=Bi,Ct.intersectionBy=Vi,Ct.intersectionWith=Hi,Ct.invert=ko,Ct.invertBy=So,Ct.invokeMap=xf,Ct.iteratee=ic,Ct.keyBy=jf,Ct.keys=Oo,Ct.keysIn=Do,Ct.map=mf,Ct.mapKeys=function(n,r){var t={};return r=ii(r,3),du(n,(function(n,u,e){uu(t,r(n,u,e),n)})),t},Ct.mapValues=function(n,r){var t={};return r=ii(r,3),du(n,(function(n,u,e){uu(t,u,r(n,u,e))})),t},Ct.matches=function(n){return Lu(fu(n,1))},Ct.matchesProperty=function(n,r){return Cu(n,fu(r,1))},Ct.memoize=Tf,Ct.merge=To,Ct.mergeWith=zo,Ct.method=fc,Ct.methodOf=oc,Ct.mixin=cc,Ct.negate=zf,Ct.nthArg=function(n){return n=po(n),Vu((function(r){return Zu(r,n)}))},Ct.omit=Fo,Ct.omitBy=function(n,r){return Co(n,zf(ii(r)))},Ct.once=function(n){return Uf(2,n)},Ct.orderBy=function(n,r,t,e){return null==n?[]:(Pf(r)||(r=null==r?[]:[r]),Pf(t=e?u:t)||(t=null==t?[]:[t]),Mu(n,r,t))},Ct.over=vc,Ct.overArgs=Ff,Ct.overEvery=lc,Ct.overSome=sc,Ct.partial=Lf,Ct.partialRight=Cf,Ct.partition=Af,Ct.pick=Lo,Ct.pickBy=Co,Ct.property=hc,Ct.propertyOf=function(n){return function(r){return null==n?u:xu(n,r)}},Ct.pull=Yi,Ct.pullAll=Ji,Ct.pullAllBy=function(n,r,t){return n&&n.length&&r&&r.length?qu(n,r,ii(t,2)):n},Ct.pullAllWith=function(n,r,t){return n&&n.length&&r&&r.length?qu(n,r,u,t):n},Ct.pullAt=Qi,Ct.range=pc,Ct.rangeRight=yc,Ct.rearg=Nf,Ct.reject=function(n,r){return(Pf(n)?jr:pu)(n,zf(ii(r,3)))},Ct.remove=function(n,r){var t=[];if(!n||!n.length)return t;var u=-1,e=[],i=n.length;for(r=ii(r,3);++u<i;){var f=n[u];r(f,u,n)&&(t.push(f),e.push(u))}return Pu(n,e),t},Ct.rest=function(n,r){if("function"!=typeof n)throw new Un(e);return Vu(n,r=r===u?r:po(r))},Ct.reverse=Xi,Ct.sampleSize=function(n,r,t){return r=(t?wi(n,r,t):r===u)?1:po(r),(Pf(n)?Yt:Ku)(n,r)},Ct.set=function(n,r,t){return null==n?n:Yu(n,r,t)},Ct.setWith=function(n,r,t,e){return e="function"==typeof e?e:u,null==n?n:Yu(n,r,t,e)},Ct.shuffle=function(n){return(Pf(n)?Jt:Xu)(n)},Ct.slice=function(n,r,t){var e=null==n?0:n.length;return e?(t&&"number"!=typeof t&&wi(n,r,t)?(r=0,t=e):(r=null==r?0:po(r),t=t===u?e:po(t)),ne(n,r,t)):[]},Ct.sortBy=Rf,Ct.sortedUniq=function(n){return n&&n.length?ee(n):[]},Ct.sortedUniqBy=function(n,r){return n&&n.length?ee(n,ii(r,2)):[]},Ct.split=function(n,r,t){return t&&"number"!=typeof t&&wi(n,r,t)&&(r=t=u),(t=t===u?s:t>>>0)?(n=go(n))&&("string"==typeof r||null!=r&&!io(r))&&!(r=fe(r))&&Qr(n)?de(it(n),0,t):n.split(r,t):[]},Ct.spread=function(n,r){if("function"!=typeof n)throw new Un(e);return r=null==r?0:wt(po(r),0),Vu((function(t){var u=t[r],e=de(t,0,r);return u&&Er(e,u),br(n,this,e)}))},Ct.tail=function(n){var r=null==n?0:n.length;return r?ne(n,1,r):[]},Ct.take=function(n,r,t){return n&&n.length?ne(n,0,(r=t||r===u?1:po(r))<0?0:r):[]},Ct.takeRight=function(n,r,t){var e=null==n?0:n.length;return e?ne(n,(r=e-(r=t||r===u?1:po(r)))<0?0:r,e):[]},Ct.takeRightWhile=function(n,r){return n&&n.length?ve(n,ii(r,3),!1,!0):[]},Ct.takeWhile=function(n,r){return n&&n.length?ve(n,ii(r,3)):[]},Ct.tap=function(n,r){return r(n),n},Ct.throttle=function(n,r,t){var u=!0,i=!0;if("function"!=typeof n)throw new Un(e);return no(t)&&(u="leading"in t?!!t.leading:u,i="trailing"in t?!!t.trailing:i),If(n,r,{leading:u,maxWait:r,trailing:i})},Ct.thru=hf,Ct.toArray=so,Ct.toPairs=No,Ct.toPairsIn=Zo,Ct.toPath=function(n){return Pf(n)?Rr(n,Fi):co(n)?[n]:Ee(zi(go(n)))},Ct.toPlainObject=bo,Ct.transform=function(n,r,t){var u=Pf(n),e=u||Hf(n)||ao(n);if(r=ii(r,4),null==t){var i=n&&n.constructor;t=e?u?new i:[]:no(n)&&Jf(i)?Nt(Bn(n)):{}}return(e?gr:du)(n,(function(n,u,e){return r(t,n,u,e)})),t},Ct.unary=function(n){return $f(n,1)},Ct.union=nf,Ct.unionBy=rf,Ct.unionWith=tf,Ct.uniq=function(n){return n&&n.length?oe(n):[]},Ct.uniqBy=function(n,r){return n&&n.length?oe(n,ii(r,2)):[]},Ct.uniqWith=function(n,r){return r="function"==typeof r?r:u,n&&n.length?oe(n,u,r):[]},Ct.unset=function(n,r){return null==n||ce(n,r)},Ct.unzip=uf,Ct.unzipWith=ef,Ct.update=function(n,r,t){return null==n?n:ae(n,r,ye(t))},Ct.updateWith=function(n,r,t,e){return e="function"==typeof e?e:u,null==n?n:ae(n,r,ye(t),e)},Ct.values=Mo,Ct.valuesIn=function(n){return null==n?[]:Pr(n,Do(n))},Ct.without=ff,Ct.words=Qo,Ct.wrap=function(n,r){return Lf(ye(r),n)},Ct.xor=of,Ct.xorBy=cf,Ct.xorWith=af,Ct.zip=vf,Ct.zipObject=function(n,r){return he(n||[],r||[],Xt)},Ct.zipObjectDeep=function(n,r){return he(n||[],r||[],Yu)},Ct.zipWith=lf,Ct.entries=No,Ct.entriesIn=Zo,Ct.extend=xo,Ct.extendWith=jo,cc(Ct,Ct),Ct.add=gc,Ct.attempt=Xo,Ct.camelCase=Wo,Ct.capitalize=qo,Ct.ceil=_c,Ct.clamp=function(n,r,t){return t===u&&(t=r,r=u),t!==u&&(t=(t=wo(t))==t?t:0),r!==u&&(r=(r=wo(r))==r?r:0),iu(wo(n),r,t)},Ct.clone=function(n){return fu(n,4)},Ct.cloneDeep=function(n){return fu(n,5)},Ct.cloneDeepWith=function(n,r){return fu(n,5,r="function"==typeof r?r:u)},Ct.cloneWith=function(n,r){return fu(n,4,r="function"==typeof r?r:u)},Ct.conformsTo=function(n,r){return null==r||ou(n,r,Oo(r))},Ct.deburr=Po,Ct.defaultTo=function(n,r){return null==n||n!=n?r:n},Ct.divide=xc,Ct.endsWith=function(n,r,t){n=go(n),r=fe(r);var e=n.length,i=t=t===u?e:iu(po(t),0,e);return(t-=r.length)>=0&&n.slice(t,i)==r},Ct.eq=Zf,Ct.escape=function(n){return(n=go(n))&&V.test(n)?n.replace(G,Yr):n},Ct.escapeRegExp=function(n){return(n=go(n))&&rn.test(n)?n.replace(nn,"\\$&"):n},Ct.every=function(n,r,t){var e=Pf(n)?xr:su;return t&&wi(n,r,t)&&(r=u),e(n,ii(r,3))},Ct.find=wf,Ct.findIndex=Wi,Ct.findKey=function(n,r){return Ir(n,ii(r,3),du)},Ct.findLast=bf,Ct.findLastIndex=qi,Ct.findLastKey=function(n,r){return Ir(n,ii(r,3),gu)},Ct.floor=jc,Ct.forEach=df,Ct.forEachRight=gf,Ct.forIn=function(n,r){return null==n?n:wu(n,ii(r,3),Do)},Ct.forInRight=function(n,r){return null==n?n:bu(n,ii(r,3),Do)},Ct.forOwn=function(n,r){return n&&du(n,ii(r,3))},Ct.forOwnRight=function(n,r){return n&&gu(n,ii(r,3))},Ct.get=$o,Ct.gt=Mf,Ct.gte=Wf,Ct.has=function(n,r){return null!=n&&si(n,r,Ru)},Ct.hasIn=Uo,Ct.head=Gi,Ct.identity=ec,Ct.includes=function(n,r,t,u){n=Bf(n)?n:Mo(n),t=t&&!u?po(t):0;var e=n.length;return t<0&&(t=wt(e+t,0)),oo(n)?t<=e&&n.indexOf(r,t)>-1:!!e&&Dr(n,r,t)>-1},Ct.indexOf=function(n,r,t){var u=null==n?0:n.length;if(!u)return-1;var e=null==t?0:po(t);return e<0&&(e=wt(u+e,0)),Dr(n,r,e)},Ct.inRange=function(n,r,t){return r=ho(r),t===u?(t=r,r=0):t=ho(t),function(n,r,t){return n>=bt(r,t)&&n<wt(r,t)}(n=wo(n),r,t)},Ct.invoke=Io,Ct.isArguments=qf,Ct.isArray=Pf,Ct.isArrayBuffer=Gf,Ct.isArrayLike=Bf,Ct.isArrayLikeObject=Vf,Ct.isBoolean=function(n){return!0===n||!1===n||ro(n)&&mu(n)==w},Ct.isBuffer=Hf,Ct.isDate=Kf,Ct.isElement=function(n){return ro(n)&&1===n.nodeType&&!eo(n)},Ct.isEmpty=function(n){if(null==n)return!0;if(Bf(n)&&(Pf(n)||"string"==typeof n||"function"==typeof n.splice||Hf(n)||ao(n)||qf(n)))return!n.length;var r=li(n);if(r==x||r==E)return!n.size;if(_i(n))return!Tu(n).length;for(var t in n)if(Dn.call(n,t))return!1;return!0},Ct.isEqual=function(n,r){return Su(n,r)},Ct.isEqualWith=function(n,r,t){var e=(t="function"==typeof t?t:u)?t(n,r):u;return e===u?Su(n,r,u,t):!!e},Ct.isError=Yf,Ct.isFinite=function(n){return"number"==typeof n&&ht(n)},Ct.isFunction=Jf,Ct.isInteger=Qf,Ct.isLength=Xf,Ct.isMap=to,Ct.isMatch=function(n,r){return n===r||Iu(n,r,oi(r))},Ct.isMatchWith=function(n,r,t){return t="function"==typeof t?t:u,Iu(n,r,oi(r),t)},Ct.isNaN=function(n){return uo(n)&&n!=+n},Ct.isNative=function(n){if(gi(n))throw new jn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ou(n)},Ct.isNil=function(n){return null==n},Ct.isNull=function(n){return null===n},Ct.isNumber=uo,Ct.isObject=no,Ct.isObjectLike=ro,Ct.isPlainObject=eo,Ct.isRegExp=io,Ct.isSafeInteger=function(n){return Qf(n)&&n>=-9007199254740991&&n<=v},Ct.isSet=fo,Ct.isString=oo,Ct.isSymbol=co,Ct.isTypedArray=ao,Ct.isUndefined=function(n){return n===u},Ct.isWeakMap=function(n){return ro(n)&&li(n)==k},Ct.isWeakSet=function(n){return ro(n)&&"[object WeakSet]"==mu(n)},Ct.join=function(n,r){return null==n?"":pt.call(n,r)},Ct.kebabCase=Go,Ct.last=Ki,Ct.lastIndexOf=function(n,r,t){var e=null==n?0:n.length;if(!e)return-1;var i=e;return t!==u&&(i=(i=po(t))<0?wt(e+i,0):bt(i,e-1)),r==r?function(n,r,t){for(var u=t+1;u--;)if(n[u]===r)return u;return u}(n,r,i):Or(n,zr,i,!0)},Ct.lowerCase=Bo,Ct.lowerFirst=Vo,Ct.lt=vo,Ct.lte=lo,Ct.max=function(n){return n&&n.length?hu(n,ec,Au):u},Ct.maxBy=function(n,r){return n&&n.length?hu(n,ii(r,2),Au):u},Ct.mean=function(n){return Fr(n,ec)},Ct.meanBy=function(n,r){return Fr(n,ii(r,2))},Ct.min=function(n){return n&&n.length?hu(n,ec,zu):u},Ct.minBy=function(n,r){return n&&n.length?hu(n,ii(r,2),zu):u},Ct.stubArray=wc,Ct.stubFalse=bc,Ct.stubObject=function(){return{}},Ct.stubString=function(){return""},Ct.stubTrue=function(){return!0},Ct.multiply=mc,Ct.nth=function(n,r){return n&&n.length?Zu(n,po(r)):u},Ct.noConflict=function(){return ir._===this&&(ir._=Cn),this},Ct.noop=ac,Ct.now=Ef,Ct.pad=function(n,r,t){n=go(n);var u=(r=po(r))?et(n):0;if(!r||u>=r)return n;var e=(r-u)/2;return Me(vt(e),t)+n+Me(at(e),t)},Ct.padEnd=function(n,r,t){n=go(n);var u=(r=po(r))?et(n):0;return r&&u<r?n+Me(r-u,t):n},Ct.padStart=function(n,r,t){n=go(n);var u=(r=po(r))?et(n):0;return r&&u<r?Me(r-u,t)+n:n},Ct.parseInt=function(n,r,t){return t||null==r?r=0:r&&(r=+r),gt(go(n).replace(tn,""),r||0)},Ct.random=function(n,r,t){if(t&&"boolean"!=typeof t&&wi(n,r,t)&&(r=t=u),t===u&&("boolean"==typeof r?(t=r,r=u):"boolean"==typeof n&&(t=n,n=u)),n===u&&r===u?(n=0,r=1):(n=ho(n),r===u?(r=n,n=0):r=ho(r)),n>r){var e=n;n=r,r=e}if(t||n%1||r%1){var i=_t();return bt(n+i*(r-n+rr("1e-"+((i+"").length-1))),r)}return Gu(n,r)},Ct.reduce=function(n,r,t){var u=Pf(n)?$r:Nr,e=arguments.length<3;return u(n,ii(r,4),t,e,vu)},Ct.reduceRight=function(n,r,t){var u=Pf(n)?Ur:Nr,e=arguments.length<3;return u(n,ii(r,4),t,e,lu)},Ct.repeat=function(n,r,t){return r=(t?wi(n,r,t):r===u)?1:po(r),Bu(go(n),r)},Ct.replace=function(){var n=arguments,r=go(n[0]);return n.length<3?r:r.replace(n[1],n[2])},Ct.result=function(n,r,t){var e=-1,i=(r=we(r,n)).length;for(i||(i=1,n=u);++e<i;){var f=null==n?u:n[Fi(r[e])];f===u&&(e=i,f=t),n=Jf(f)?f.call(n):f}return n},Ct.round=Ac,Ct.runInContext=n,Ct.sample=function(n){return(Pf(n)?Kt:Hu)(n)},Ct.size=function(n){if(null==n)return 0;if(Bf(n))return oo(n)?et(n):n.length;var r=li(n);return r==x||r==E?n.size:Tu(n).length},Ct.snakeCase=Ho,Ct.some=function(n,r,t){var e=Pf(n)?kr:re;return t&&wi(n,r,t)&&(r=u),e(n,ii(r,3))},Ct.sortedIndex=function(n,r){return te(n,r)},Ct.sortedIndexBy=function(n,r,t){return ue(n,r,ii(t,2))},Ct.sortedIndexOf=function(n,r){var t=null==n?0:n.length;if(t){var u=te(n,r);if(u<t&&Zf(n[u],r))return u}return-1},Ct.sortedLastIndex=function(n,r){return te(n,r,!0)},Ct.sortedLastIndexBy=function(n,r,t){return ue(n,r,ii(t,2),!0)},Ct.sortedLastIndexOf=function(n,r){if(null!=n&&n.length){var t=te(n,r,!0)-1;if(Zf(n[t],r))return t}return-1},Ct.startCase=Ko,Ct.startsWith=function(n,r,t){return n=go(n),t=null==t?0:iu(po(t),0,n.length),r=fe(r),n.slice(t,t+r.length)==r},Ct.subtract=Rc,Ct.sum=function(n){return n&&n.length?Zr(n,ec):0},Ct.sumBy=function(n,r){return n&&n.length?Zr(n,ii(r,2)):0},Ct.template=function(n,r,t){var e=Ct.templateSettings;t&&wi(n,r,t)&&(r=u),n=go(n),r=jo({},r,e,Ke);var i,f,o=jo({},r.imports,e.imports,Ke),c=Oo(o),a=Pr(o,c),v=0,l=r.interpolate||gn,s="__p += '",h=En((r.escape||gn).source+"|"+l.source+"|"+(l===Y?ln:gn).source+"|"+(r.evaluate||gn).source+"|$","g"),p="//# sourceURL="+(Dn.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Jn+"]")+"\n";n.replace(h,(function(r,t,u,e,o,c){return u||(u=e),s+=n.slice(v,c).replace(_n,Jr),t&&(i=!0,s+="' +\n__e("+t+") +\n'"),o&&(f=!0,s+="';\n"+o+";\n__p += '"),u&&(s+="' +\n((__t = ("+u+")) == null ? '' : __t) +\n'"),v=c+r.length,r})),s+="';\n";var y=Dn.call(r,"variable")&&r.variable;if(y){if(an.test(y))throw new jn("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(f?s.replace(M,""):s).replace(W,"$1").replace(q,"$1;"),s="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(f?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var w=Xo((function(){return mn(c,p+"return "+s).apply(u,a)}));if(w.source=s,Yf(w))throw w;return w},Ct.times=function(n,r){if((n=po(n))<1||n>v)return[];var t=s,u=bt(n,s);r=ii(r),n-=s;for(var e=Mr(u,r);++t<n;)r(t);return e},Ct.toFinite=ho,Ct.toInteger=po,Ct.toLength=yo,Ct.toLower=function(n){return go(n).toLowerCase()},Ct.toNumber=wo,Ct.toSafeInteger=function(n){return n?iu(po(n),-9007199254740991,v):0===n?n:0},Ct.toString=go,Ct.toUpper=function(n){return go(n).toUpperCase()},Ct.trim=function(n,r,t){if((n=go(n))&&(t||r===u))return Wr(n);if(!n||!(r=fe(r)))return n;var e=it(n),i=it(r);return de(e,Br(e,i),Vr(e,i)+1).join("")},Ct.trimEnd=function(n,r,t){if((n=go(n))&&(t||r===u))return n.slice(0,ft(n)+1);if(!n||!(r=fe(r)))return n;var e=it(n);return de(e,0,Vr(e,it(r))+1).join("")},Ct.trimStart=function(n,r,t){if((n=go(n))&&(t||r===u))return n.replace(tn,"");if(!n||!(r=fe(r)))return n;var e=it(n);return de(e,Br(e,it(r))).join("")},Ct.truncate=function(n,r){var t=30,e="...";if(no(r)){var i="separator"in r?r.separator:i;t="length"in r?po(r.length):t,e="omission"in r?fe(r.omission):e}var f=(n=go(n)).length;if(Qr(n)){var o=it(n);f=o.length}if(t>=f)return n;var c=t-et(e);if(c<1)return e;var a=o?de(o,0,c).join(""):n.slice(0,c);if(i===u)return a+e;if(o&&(c+=a.length-c),io(i)){if(n.slice(c).search(i)){var v,l=a;for(i.global||(i=En(i.source,go(sn.exec(i))+"g")),i.lastIndex=0;v=i.exec(l);)var s=v.index;a=a.slice(0,s===u?c:s)}}else if(n.indexOf(fe(i),c)!=c){var h=a.lastIndexOf(i);h>-1&&(a=a.slice(0,h))}return a+e},Ct.unescape=function(n){return(n=go(n))&&B.test(n)?n.replace(P,ot):n},Ct.uniqueId=function(n){var r=++Tn;return go(n)+r},Ct.upperCase=Yo,Ct.upperFirst=Jo,Ct.each=df,Ct.eachRight=gf,Ct.first=Gi,cc(Ct,(dc={},du(Ct,(function(n,r){Dn.call(Ct.prototype,r)||(dc[r]=n)})),dc),{chain:!1}),Ct.VERSION="4.17.21",gr(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(n){Ct[n].placeholder=Ct})),gr(["drop","take"],(function(n,r){Wt.prototype[n]=function(t){t=t===u?1:wt(po(t),0);var e=this.__filtered__&&!r?new Wt(this):this.clone();return e.__filtered__?e.__takeCount__=bt(t,e.__takeCount__):e.__views__.push({size:bt(t,s),type:n+(e.__dir__<0?"Right":"")}),e},Wt.prototype[n+"Right"]=function(r){return this.reverse()[n](r).reverse()}})),gr(["filter","map","takeWhile"],(function(n,r){var t=r+1,u=1==t||3==t;Wt.prototype[n]=function(n){var r=this.clone();return r.__iteratees__.push({iteratee:ii(n,3),type:t}),r.__filtered__=r.__filtered__||u,r}})),gr(["head","last"],(function(n,r){var t="take"+(r?"Right":"");Wt.prototype[n]=function(){return this[t](1).value()[0]}})),gr(["initial","tail"],(function(n,r){var t="drop"+(r?"":"Right");Wt.prototype[n]=function(){return this.__filtered__?new Wt(this):this[t](1)}})),Wt.prototype.compact=function(){return this.filter(ec)},Wt.prototype.find=function(n){return this.filter(n).head()},Wt.prototype.findLast=function(n){return this.reverse().find(n)},Wt.prototype.invokeMap=Vu((function(n,r){return"function"==typeof n?new Wt(this):this.map((function(t){return Uu(t,n,r)}))})),Wt.prototype.reject=function(n){return this.filter(zf(ii(n)))},Wt.prototype.slice=function(n,r){n=po(n);var t=this;return t.__filtered__&&(n>0||r<0)?new Wt(t):(n<0?t=t.takeRight(-n):n&&(t=t.drop(n)),r!==u&&(t=(r=po(r))<0?t.dropRight(-r):t.take(r-n)),t)},Wt.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Wt.prototype.toArray=function(){return this.take(s)},du(Wt.prototype,(function(n,r){var t=/^(?:filter|find|map|reject)|While$/.test(r),e=/^(?:head|last)$/.test(r),i=Ct[e?"take"+("last"==r?"Right":""):r],f=e||/^find/.test(r);i&&(Ct.prototype[r]=function(){var r=this.__wrapped__,o=e?[1]:arguments,c=r instanceof Wt,a=o[0],v=c||Pf(r),l=function(n){var r=i.apply(Ct,Er([n],o));return e&&s?r[0]:r};v&&t&&"function"==typeof a&&1!=a.length&&(c=v=!1);var s=this.__chain__,h=!!this.__actions__.length,p=f&&!s,y=c&&!h;if(!f&&v){r=y?r:new Wt(this);var w=n.apply(r,o);return w.__actions__.push({func:hf,args:[l],thisArg:u}),new Mt(w,s)}return p&&y?n.apply(this,o):(w=this.thru(l),p?e?w.value()[0]:w.value():w)})})),gr(["pop","push","shift","sort","splice","unshift"],(function(n){var r=kn[n],t=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",u=/^(?:pop|shift)$/.test(n);Ct.prototype[n]=function(){var n=arguments;if(u&&!this.__chain__){var e=this.value();return r.apply(Pf(e)?e:[],n)}return this[t]((function(t){return r.apply(Pf(t)?t:[],n)}))}})),du(Wt.prototype,(function(n,r){var t=Ct[r];if(t){var u=t.name+"";Dn.call(kt,u)||(kt[u]=[]),kt[u].push({name:r,func:t})}})),kt[Le(u,2).name]=[{name:"wrapper",func:u}],Wt.prototype.clone=function(){var n=new Wt(this.__wrapped__);return n.__actions__=Ee(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Ee(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Ee(this.__views__),n},Wt.prototype.reverse=function(){if(this.__filtered__){var n=new Wt(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},Wt.prototype.value=function(){var n=this.__wrapped__.value(),r=this.__dir__,t=Pf(n),u=r<0,e=t?n.length:0,i=function(n,r,t){for(var u=-1,e=t.length;++u<e;){var i=t[u],f=i.size;switch(i.type){case"drop":n+=f;break;case"dropRight":r-=f;break;case"take":r=bt(r,n+f);break;case"takeRight":n=wt(n,r-f)}}return{start:n,end:r}}(0,e,this.__views__),f=i.start,o=i.end,c=o-f,a=u?o:f-1,v=this.__iteratees__,l=v.length,s=0,h=bt(c,this.__takeCount__);if(!t||!u&&e==c&&h==c)return le(n,this.__actions__);var p=[];n:for(;c--&&s<h;){for(var y=-1,w=n[a+=r];++y<l;){var b=v[y],d=b.type,g=(0,b.iteratee)(w);if(2==d)w=g;else if(!g){if(1==d)continue n;break n}}p[s++]=w}return p},Ct.prototype.at=pf,Ct.prototype.chain=function(){return sf(this)},Ct.prototype.commit=function(){return new Mt(this.value(),this.__chain__)},Ct.prototype.next=function(){this.__values__===u&&(this.__values__=so(this.value()));var n=this.__index__>=this.__values__.length;return{done:n,value:n?u:this.__values__[this.__index__++]}},Ct.prototype.plant=function(n){for(var r,t=this;t instanceof Zt;){var e=Ci(t);e.__index__=0,e.__values__=u,r?i.__wrapped__=e:r=e;var i=e;t=t.__wrapped__}return i.__wrapped__=n,r},Ct.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof Wt){var r=n;return this.__actions__.length&&(r=new Wt(this)),(r=r.reverse()).__actions__.push({func:hf,args:[Xi],thisArg:u}),new Mt(r,this.__chain__)}return this.thru(Xi)},Ct.prototype.toJSON=Ct.prototype.valueOf=Ct.prototype.value=function(){return le(this.__wrapped__,this.__actions__)},Ct.prototype.first=Ct.prototype.head,fr&&(Ct.prototype[fr]=function(){return this}),Ct}();or?((or.exports=ct)._=ct,fr._=ct):ir._=ct}).call(r)}(n={path:undefined,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},n.exports),n.exports);export{t as l}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as n,H as e,g as r}from"./p-f46e6c3c.js";import{c as o}from"./p-83f1ad32.js";var i="top",a="bottom",u="right",f="left",c=[i,a,u,f],s=c.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),p=[].concat(c,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),d=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function l(t){return t?(t.nodeName||"").toLowerCase():null}function v(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function h(t){return t instanceof v(t).Element||t instanceof Element}function b(t){return t instanceof v(t).HTMLElement||t instanceof HTMLElement}function m(t){return"undefined"!=typeof ShadowRoot&&(t instanceof v(t).ShadowRoot||t instanceof ShadowRoot)}function y(t){return t.split("-")[0]}var g=Math.round;function w(t,n){void 0===n&&(n=!1);var e=t.getBoundingClientRect(),r=1,o=1;return b(t)&&n&&(r=e.width/t.offsetWidth||1,o=e.height/t.offsetHeight||1),{width:g(e.width/r),height:g(e.height/o),top:g(e.top/o),right:g(e.right/r),bottom:g(e.bottom/o),left:g(e.left/r),x:g(e.left/r),y:g(e.top/o)}}function x(t){var n=w(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function O(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&m(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function j(t){return v(t).getComputedStyle(t)}function k(t){return["table","td","th"].indexOf(l(t))>=0}function M(t){return((h(t)?t.ownerDocument:t.document)||window.document).documentElement}function E(t){return"html"===l(t)?t:t.assignedSlot||t.parentNode||(m(t)?t.host:null)||M(t)}function q(t){return b(t)&&"fixed"!==j(t).position?t.offsetParent:null}function B(t){for(var n=v(t),e=q(t);e&&k(e)&&"static"===j(e).position;)e=q(e);return e&&("html"===l(e)||"body"===l(e)&&"static"===j(e).position)?n:e||function(t){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&b(t)&&"fixed"===j(t).position)return null;for(var e=E(t);b(e)&&["html","body"].indexOf(l(e))<0;){var r=j(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function P(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var R=Math.max,W=Math.min,L=Math.round;function S(t,n,e){return R(t,W(n,e))}function z(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function H(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}var T={top:"auto",right:"auto",bottom:"auto",left:"auto"};function C(t){var n,e=t.popper,r=t.popperRect,o=t.placement,c=t.offsets,s=t.position,p=t.gpuAcceleration,d=t.adaptive,l=t.roundOffsets,h=!0===l?function(t){var n=t.y,e=window.devicePixelRatio||1;return{x:L(L(t.x*e)/e)||0,y:L(L(n*e)/e)||0}}(c):"function"==typeof l?l(c):c,b=h.x,m=void 0===b?0:b,y=h.y,g=void 0===y?0:y,w=c.hasOwnProperty("x"),x=c.hasOwnProperty("y"),O=f,k=i,E=window;if(d){var q=B(e),P="clientHeight",R="clientWidth";q===v(e)&&"static"!==j(q=M(e)).position&&(P="scrollHeight",R="scrollWidth"),q=q,o===i&&(k=a,g-=q[P]-r.height,g*=p?1:-1),o===f&&(O=u,m-=q[R]-r.width,m*=p?1:-1)}var W,S=Object.assign({position:s},d&&T);return Object.assign({},S,p?((W={})[k]=x?"0":"",W[O]=w?"0":"",W.transform=(E.devicePixelRatio||1)<2?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",W):((n={})[k]=x?g+"px":"",n[O]=w?m+"px":"",n.transform="",n))}var I={passive:!0},_={left:"right",right:"left",bottom:"top",top:"bottom"};function A(t){return t.replace(/left|right|bottom|top/g,(function(t){return _[t]}))}var D={start:"end",end:"start"};function U(t){return t.replace(/start|end/g,(function(t){return D[t]}))}function V(t){var n=v(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function F(t){return w(M(t)).left+V(t).scrollLeft}function G(t){var n=j(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function J(t){return["html","body","#document"].indexOf(l(t))>=0?t.ownerDocument.body:b(t)&&G(t)?t:J(E(t))}function K(t,n){var e;void 0===n&&(n=[]);var r=J(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=v(r),a=o?[i].concat(i.visualViewport||[],G(r)?r:[]):r,u=n.concat(a);return o?u:u.concat(K(E(a)))}function N(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Q(t,n){return"viewport"===n?N(function(t){var n=v(t),e=M(t),r=n.visualViewport,o=e.clientWidth,i=e.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+F(t),y:u}}(t)):b(n)?function(t){var n=w(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(n):N(function(t){var n,e=M(t),r=V(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=R(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=R(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+F(t),f=-r.scrollTop;return"rtl"===j(o||e).direction&&(u+=R(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:f}}(M(t)))}function X(t){return t.split("-")[1]}function Y(t){var n,e=t.reference,r=t.element,o=t.placement,c=o?y(o):null,s=o?X(o):null,p=e.x+e.width/2-r.width/2,d=e.y+e.height/2-r.height/2;switch(c){case i:n={x:p,y:e.y-r.height};break;case a:n={x:p,y:e.y+e.height};break;case u:n={x:e.x+e.width,y:d};break;case f:n={x:e.x-r.width,y:d};break;default:n={x:e.x,y:e.y}}var l=c?P(c):null;if(null!=l){var v="y"===l?"height":"width";switch(s){case"start":n[l]=n[l]-(e[v]/2-r[v]/2);break;case"end":n[l]=n[l]+(e[v]/2-r[v]/2)}}return n}function Z(t,n){void 0===n&&(n={});var e=n.placement,r=void 0===e?t.placement:e,o=n.boundary,f=void 0===o?"clippingParents":o,s=n.rootBoundary,p=void 0===s?"viewport":s,d=n.elementContext,v=void 0===d?"popper":d,m=n.altBoundary,y=void 0!==m&&m,g=n.padding,x=void 0===g?0:g,k=z("number"!=typeof x?x:H(x,c)),q=t.elements.reference,P=t.rects.popper,L=t.elements[y?"popper"===v?"reference":"popper":v],S=function(t,n,e){var r="clippingParents"===n?function(t){var n=K(E(t)),e=["absolute","fixed"].indexOf(j(t).position)>=0&&b(t)?B(t):t;return h(e)?n.filter((function(t){return h(t)&&O(t,e)&&"body"!==l(t)})):[]}(t):[].concat(n),o=[].concat(r,[e]),i=o.reduce((function(n,e){var r=Q(t,e);return n.top=R(r.top,n.top),n.right=W(r.right,n.right),n.bottom=W(r.bottom,n.bottom),n.left=R(r.left,n.left),n}),Q(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(h(L)?L:L.contextElement||M(t.elements.popper),f,p),T=w(q),C=Y({reference:T,element:P,strategy:"absolute",placement:r}),I=N(Object.assign({},P,C)),_="popper"===v?I:T,A={top:S.top-_.top+k.top,bottom:_.bottom-S.bottom+k.bottom,left:S.left-_.left+k.left,right:_.right-S.right+k.right},D=t.modifiersData.offset;if("popper"===v&&D){var U=D[r];Object.keys(A).forEach((function(t){var n=[u,a].indexOf(t)>=0?1:-1,e=[i,a].indexOf(t)>=0?"y":"x";A[t]+=U[e]*n}))}return A}function $(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,o=n.padding,i=n.flipVariations,a=n.allowedAutoPlacements,u=void 0===a?p:a,f=X(n.placement),d=f?i?s:s.filter((function(t){return X(t)===f})):c,l=d.filter((function(t){return u.indexOf(t)>=0}));0===l.length&&(l=d);var v=l.reduce((function(n,i){return n[i]=Z(t,{placement:i,boundary:e,rootBoundary:r,padding:o})[y(i)],n}),{});return Object.keys(v).sort((function(t,n){return v[t]-v[n]}))}function tt(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function nt(t){return[i,u,a,f].some((function(n){return t[n]>=0}))}function et(t,n,e){void 0===e&&(e=!1);var r,o,i=b(n),a=b(n)&&function(t){var n=t.getBoundingClientRect();return 1!==(n.width/t.offsetWidth||1)||1!==(n.height/t.offsetHeight||1)}(n),u=M(n),f=w(t,a),c={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(i||!i&&!e)&&(("body"!==l(n)||G(u))&&(c=(r=n)!==v(r)&&b(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:V(r)),b(n)?((s=w(n,!0)).x+=n.clientLeft,s.y+=n.clientTop):u&&(s.x=F(u))),{x:f.left+c.scrollLeft-s.x,y:f.top+c.scrollTop-s.y,width:f.width,height:f.height}}function rt(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var ot={placement:"bottom",modifiers:[],strategy:"absolute"};function it(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function at(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?ot:r;return function(t,n,r){void 0===r&&(r=o);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},ot,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},f=[],c=!1,s={state:u,setOptions:function(r){p(),u.options=Object.assign({},o,u.options,r),u.scrollParents={reference:h(t)?K(t):t.contextElement?K(t.contextElement):[],popper:K(n)};var i,a,c=function(t){var n=rt(t);return d.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((i=[].concat(e,u.options.modifiers),a=i.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(a).map((function(t){return a[t]}))));return u.orderedModifiers=c.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:s,options:void 0===n?{}:n});f.push(r||function(){})}})),s.update()},forceUpdate:function(){if(!c){var t=u.elements,n=t.reference,e=t.popper;if(it(n,e)){u.rects={reference:et(n,B(e),"fixed"===u.options.strategy),popper:x(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var o=u.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(u=i({state:u,options:void 0===a?{}:a,name:o.name,instance:s})||u)}else u.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){s.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){p(),c=!0}};if(!it(t,n))return s;function p(){f.forEach((function(t){return t()})),f=[]}return s.setOptions(r).then((function(t){!c&&r.onFirstUpdate&&r.onFirstUpdate(t)})),s}}var ut=at({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,f=v(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",e.update,I)})),u&&f.addEventListener("resize",e.update,I),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",e.update,I)})),u&&f.removeEventListener("resize",e.update,I)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=Y({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,a=void 0===i||i,u=e.roundOffsets,f=void 0===u||u,c={placement:y(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,C(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,C(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];b(o)&&l(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});b(r)&&l(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var n=t.state,e=t.name,r=t.options.offset,o=void 0===r?[0,0]:r,a=p.reduce((function(t,e){return t[e]=function(t,n,e){var r=y(t),o=[f,i].indexOf(r)>=0?-1:1,a="function"==typeof e?e(Object.assign({},n,{placement:t})):e,c=a[0],s=a[1];return c=c||0,s=(s||0)*o,[f,u].indexOf(r)>=0?{x:s,y:c}:{x:c,y:s}}(e,n.rects,o),t}),{}),c=a[n.placement],s=c.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=c.x,n.modifiersData.popperOffsets.y+=s),n.modifiersData[e]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,r=t.name;if(!n.modifiersData[r]._skip){for(var o=e.mainAxis,c=void 0===o||o,s=e.altAxis,p=void 0===s||s,d=e.fallbackPlacements,l=e.padding,v=e.boundary,h=e.rootBoundary,b=e.altBoundary,m=e.flipVariations,g=void 0===m||m,w=e.allowedAutoPlacements,x=n.options.placement,O=y(x),j=d||(O!==x&&g?function(t){if("auto"===y(t))return[];var n=A(t);return[U(t),n,U(n)]}(x):[A(x)]),k=[x].concat(j).reduce((function(t,e){return t.concat("auto"===y(e)?$(n,{placement:e,boundary:v,rootBoundary:h,padding:l,flipVariations:g,allowedAutoPlacements:w}):e)}),[]),M=n.rects.reference,E=n.rects.popper,q=new Map,B=!0,P=k[0],R=0;R<k.length;R++){var W=k[R],L=y(W),S="start"===X(W),z=[i,a].indexOf(L)>=0,H=z?"width":"height",T=Z(n,{placement:W,boundary:v,rootBoundary:h,altBoundary:b,padding:l}),C=z?S?u:f:S?a:i;M[H]>E[H]&&(C=A(C));var I=A(C),_=[];if(c&&_.push(T[L]<=0),p&&_.push(T[C]<=0,T[I]<=0),_.every((function(t){return t}))){P=W,B=!1;break}q.set(W,_)}if(B)for(var D=function(t){var n=k.find((function(n){var e=q.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return P=n,"break"},V=g?3:1;V>0&&"break"!==D(V);V--);n.placement!==P&&(n.modifiersData[r]._skip=!0,n.placement=P,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,r=t.name,o=e.mainAxis,c=void 0===o||o,s=e.altAxis,p=void 0!==s&&s,d=e.tether,l=void 0===d||d,v=e.tetherOffset,h=void 0===v?0:v,b=Z(n,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),m=y(n.placement),g=X(n.placement),w=!g,O=P(m),j="x"===O?"y":"x",k=n.modifiersData.popperOffsets,M=n.rects.reference,E=n.rects.popper,q="function"==typeof h?h(Object.assign({},n.rects,{placement:n.placement})):h,L={x:0,y:0};if(k){if(c||p){var z="y"===O?i:f,H="y"===O?a:u,T="y"===O?"height":"width",C=k[O],I=k[O]+b[z],_=k[O]-b[H],A=l?-E[T]/2:0,D="start"===g?M[T]:E[T],U="start"===g?-E[T]:-M[T],V=n.elements.arrow,F=l&&V?x(V):{width:0,height:0},G=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=G[z],K=G[H],N=S(0,M[T],F[T]),Q=w?M[T]/2-A-N-J-q:D-N-J-q,Y=w?-M[T]/2+A+N+K+q:U+N+K+q,$=n.elements.arrow&&B(n.elements.arrow),tt=n.modifiersData.offset?n.modifiersData.offset[n.placement][O]:0,nt=k[O]+Q-tt-($?"y"===O?$.clientTop||0:$.clientLeft||0:0),et=k[O]+Y-tt;if(c){var rt=S(l?W(I,nt):I,C,l?R(_,et):_);k[O]=rt,L[O]=rt-C}if(p){var ot=k[j],it=ot+b["x"===O?i:f],at=ot-b["x"===O?a:u],ut=S(l?W(it,nt):it,ot,l?R(at,et):at);k[j]=ut,L[j]=ut-ot}}n.modifiersData[r]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var n,e=t.state,r=t.name,o=t.options,s=e.elements.arrow,p=e.modifiersData.popperOffsets,d=y(e.placement),l=P(d),v=[f,u].indexOf(d)>=0?"height":"width";if(s&&p){var h=function(t,n){return z("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:H(t,c))}(o.padding,e),b=x(s),m="y"===l?i:f,g="y"===l?a:u,w=e.rects.reference[v]+e.rects.reference[l]-p[l]-e.rects.popper[v],O=p[l]-e.rects.reference[l],j=B(s),k=j?"y"===l?j.clientHeight||0:j.clientWidth||0:0,M=k/2-b[v]/2+(w/2-O/2),E=S(h[m],M,k-b[v]-h[g]);e.modifiersData[r]=((n={})[l]=E,n.centerOffset=E-M,n)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&O(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,a=Z(n,{elementContext:"reference"}),u=Z(n,{altBoundary:!0}),f=tt(a,r),c=tt(u,o,i),s=nt(f),p=nt(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":p})}}]});let ft=class{constructor(n){t(this,n),this.showPopoverMenu=!1}componentDidLoad(){this.menu=this.el.shadowRoot.getElementById("toggle-menu-icon"),this.tooltip=this.el.shadowRoot.getElementById("menu"),this.popper=ut(this.menu,this.tooltip,{placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[0,8]}}]})}onWindowClickEvent(t){o(t,this.tooltip)||o(t,this.menu)||this.showPopoverMenu&&this.toogleMenu()}toogleMenu(){this.showPopoverMenu=!this.showPopoverMenu}componentDidRender(){this.popper&&this.popper.update()}render(){return n(e,null,n("span",null,this.text),n("wcs-mat-icon",{id:"toggle-menu-icon",icon:"more_horiz",size:"m",onClick:()=>{this.toogleMenu()}}),n("span",{id:"menu","data-show":this.showPopoverMenu},n("div",{id:"arrow","data-popper-arrow":!0}),n("slot",null)))}get el(){return r(this)}};ft.style='#menu{background-color:var(--wcs-gray);color:white;display:none;padding:var(--wcs-padding)}#menu[data-show]{display:block;z-index:9999}#menu[data-popper-placement^=top]>#arrow{bottom:-4px}#menu[data-popper-placement^=bottom]>#arrow{top:-4px}#menu[data-popper-placement^=left]>#arrow{right:-4px}#menu[data-popper-placement^=right]>#arrow{left:-4px}:host{display:flex;align-items:center;height:32px;padding-left:var(--wcs-padding);background-color:var(--wcs-gray-light)}#toggle-menu-icon{cursor:pointer;padding:0 var(--wcs-padding);user-select:none}#arrow,#arrow::before{position:absolute;width:8px;height:8px;background:inherit}#arrow{visibility:hidden}#arrow::before{visibility:visible;content:"";transform:rotate(45deg)}';export{ft as wcs_galactic_menu}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,g as a}from"./p-f46e6c3c.js";let r=class{constructor(t){e(this,t)}render(){return[t("slot",{name:"header"}),t("slot",{name:"sidebar"}),t("slot",{name:"content"})]}get el(){return a(this)}};r.style=':host{background-color:#f2f2f2;margin:0;display:grid;grid-template-areas:"header header" "sidebar content";grid-template-columns:min-content auto;overflow-y:hidden}::slotted(main){padding:8px;grid-area:content;overflow-y:scroll;height:calc(100vh - 64px)}::slotted(wcs-header){grid-area:header}@media screen and (max-width: 768px){:host{grid-template-areas:"header" "sidebar" "content";grid-template-columns:auto}::slotted(header){position:relative}::slotted(main){overflow-y:visible;height:initial}}';export{r as wcs_app}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,r as s,c as r,H as n,g as o}from"./p-f46e6c3c.js";const i=({state:s})=>t("svg",{style:{marginLeft:"auto"},xmlns:"http://www.w3.org/2000/svg",width:"24",height:"20",viewBox:"0 0 24 20"},t("style",{type:"text/css"},"\n .arrow-group {\n transform-origin: 50% 51%;\n transition: transform 175ms ease-in-out;\n }\n .arrow{\n transition: fill 175ms ease-in-out;\n fill: var(--wcs-text-light);\n }\n .asc {\n transform: scaleY(1) translateY(-6px);\n }\n .desc {\n transform: scaleY(-1) translateY(-6px);\n }\n .active {\n fill: var(--wcs-primary);\n }\n\n "),t("g",{fill:"none",class:"asc arrow-group"},t("path",{class:("asc"===s?"active":"")+" arrow",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),t("path",{d:"M0 0h24v24H0z",fill:"none"})),t("g",{fill:"none",class:"desc arrow-group"},t("path",{class:("desc"===s?"active":"")+" arrow",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),t("path",{d:"M0 0h24v24H0z",fill:"none"})));let e=class{constructor(t){s(this,t),this.wcsSortChange=r(this,"wcsSortChange",7),this.wcsHiddenChange=r(this,"wcsHiddenChange",7),this.sort=!1,this.sortOrder="none",this.customCells=!1,this.hidden=!1}parseMyObjectProp(t){this.wcsHiddenChange.emit(t)}emitSortConfig(){this.sort&&this.wcsSortChange.emit({column:this.el,order:this.sortOrder,sortFn:this.sortFn})}render(){return t(n,{onClick:this.onSortClick.bind(this),slot:"grid-column"},t("th",{style:{width:this.width},class:this.sort?"pointer":""},t("div",{class:"grid-column-th-content"},t("span",null,this.name),this.sort?t(i,{state:this.sortOrder}):"")))}onSortClick(){this.sortOrder="none"===this.sortOrder||"desc"===this.sortOrder?"asc":"desc",this.emitSortConfig()}get el(){return o(this)}static get watchers(){return{hidden:["parseMyObjectProp"]}}};e.style=":host{--wcs-grid-column-border-left:solid 1px var(--wcs-text-light);display:contents}:host th{color:var(--wcs-gray-dark);background-color:var(--wcs-light);border-left:var(--wcs-grid-column-border-left);padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);text-align:left}:host th .grid-column-th-content{display:inline-flex;flex-direction:row}:host th .grid-column-th-content span{user-select:none}:host .pointer{cursor:pointer}:host([sort-order=asc]) img{transform:scaleY(1)}:host([sort-order=desc]) img{transform:scaleY(-1)}:host([sort-order=none]) img{display:none}:host([sort-order=none]) th:hover img{display:inline-block}:host([hidden]){display:none !important}";export{e as wcs_grid_column}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,f as i,h as e,H as n,g as o}from"./p-f46e6c3c.js";import{l as r}from"./p-adef7aaf.js";function h(t){switch(t){case"asc":return 1;case"desc":return-1}}var a,l=new Uint8Array(16);function c(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(l)}const d=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function u(t){return"string"==typeof t&&d.test(t)}for(var g=[],p=0;p<256;++p)g.push((p+256).toString(16).substr(1));function f(t,s,i){var e=(t=t||{}).random||(t.rng||c)();if(e[6]=15&e[6]|64,e[8]=63&e[8]|128,s){i=i||0;for(var n=0;n<16;++n)s[i+n]=e[n];return s}return function(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(g[t[s+0]]+g[t[s+1]]+g[t[s+2]]+g[t[s+3]]+"-"+g[t[s+4]]+g[t[s+5]]+"-"+g[t[s+6]]+g[t[s+7]]+"-"+g[t[s+8]]+g[t[s+9]]+"-"+g[t[s+10]]+g[t[s+11]]+g[t[s+12]]+g[t[s+13]]+g[t[s+14]]+g[t[s+15]]).toLowerCase();if(!u(i))throw TypeError("Stringified UUID is invalid");return i}(e)}let m=class{constructor(i){t(this,i),this.wcsGridSelectionChange=s(this,"wcsGridSelectionChange",7),this.wcsGridAllSelectionChange=s(this,"wcsGridAllSelectionChange",7),this.selectionConfig="none",this.selectedItems=[],this.rows=[]}onDataChange(t){this.updateGridRows(t)}onSelectedItemsPropertyChange(t){this.updateSelectionWithValues(t)}onHiddenColumnChange(){i(this)}updateSelectionWithValues(t){if("single"===this.selectionConfig){this.rows.map((t=>t.selected=!1));for(const s of this.rows)if(r.isEqual(s.data,t)){s.selected=!0;break}}else if("multiple"===this.selectionConfig){this.rows.map((t=>t.selected=!1));for(const s of this.rows)t.find((t=>r.isEqual(t,s.data)))&&(s.selected=!0)}this.rows=r.cloneDeep(this.rows)}wcsGridRowToWcsGridRowData(t){return{selected:t.selected,page:t.page,data:t.data}}updateGridRows(t){const s=[];if(t&&this.columns){for(let i=0;i<t.length;i++){const e={uuid:f(),data:t[i],selected:!1,cells:[]};for(const s of this.columns)e.cells.push({content:r.get(t[i],s.path),column:s,formatter:s.formatter});s.push(e)}this.rows=s,this.updatePageIndex()}}componentDidLoad(){this.columns=this.getGridColumnsFromTemplate(),this.paginationEl=this.wcsGridPaginationId?document.getElementById(this.wcsGridPaginationId):this.getGridPaginationsFromTemplate()[0],this.updateGridRows(this.data),this.selectedItems&&this.updateSelectionWithValues(this.selectedItems)}getGridColumnsFromTemplate(){return this.el.shadowRoot.querySelector('slot[name="grid-column"]').assignedElements()}getGridPaginationsFromTemplate(){return this.el.shadowRoot.querySelector('slot[name="grid-pagination"]').assignedElements()}sortChangeEventHandler(t){this.columns.filter((s=>s!==t.detail.column)).forEach((t=>t.sortOrder="none")),this.serverMode||(this.rows=t.detail.sortFn?r.cloneDeep(this.rows).sort(((s,i)=>t.detail.sortFn(s.data,i.data,t.detail.column)*h(t.detail.order))):r.cloneDeep(this.rows).sort(((s,i)=>{const e=t.detail.column.path;return(r.get(s.data,e)<r.get(i.data,e)?-1:r.get(s.data,e)>r.get(i.data,e)?1:0)*h(t.detail.order)})),this.updatePageIndex())}updatePageIndex(){if(!this.serverMode&&this.paginationEl){this.paginationEl.currentPage+1>this.paginationEl.pageCount&&(this.paginationEl.currentPage=this.paginationEl.pageCount-1),this.paginationEl.itemsCount=this.data.length,this.paginationEl.pageCount=Math.ceil(this.data.length/this.paginationEl.pageSize);const t=r.cloneDeep(this.rows);t.forEach(((t,s)=>t.page=Math.floor(s/this.paginationEl.pageSize))),this.rows=[...t]}}paginationChangeEventHandler(){this.onPaginationChange()}paginationChangeEventHandlerOutside(t){this.wcsGridPaginationId&&this.wcsGridPaginationId===t.target.id&&this.onPaginationChange()}onPaginationChange(){this.serverMode||this.updatePageIndex()}onRowSelection(t){"single"===this.selectionConfig&&this.rows.filter((s=>s.uuid!==t.uuid)).map((t=>t.selected=!1)),t.selected=!t.selected,("single"!==this.selectionConfig||t.selected)&&this.wcsGridSelectionChange.emit({row:this.wcsGridRowToWcsGridRowData(t)}),this.rows=r.cloneDeep(this.rows)}selectAllRows(){const t=this.getRowsForCurrentPage(),s=!this.allRowsAreSelected();t.map((t=>t.selected=s)),this.wcsGridAllSelectionChange.emit({rows:s?t.map((t=>this.wcsGridRowToWcsGridRowData(t))):[]}),this.rows=r.cloneDeep(this.rows)}allRowsAreSelected(){const t=this.getRowsForCurrentPage();return t.length>0&&t.filter((t=>t.selected)).length===t.length}getRowsForCurrentPage(){return this.paginationEl?this.rows.filter((t=>t.page===this.paginationEl.currentPage)):this.rows}renderSelectionColumn(t){switch(this.selectionConfig){case"none":return;case"single":return e("td",null,e("wcs-radio",{checked:t.selected,onClick:this.onRowSelection.bind(this,t)}));case"multiple":return e("td",null,e("wcs-checkbox",{checked:t.selected,onWcsChange:this.onRowSelection.bind(this,t)}))}}getCellContent(t,s){return s.formatter?s.formatter(e,s.column,this.wcsGridRowToWcsGridRowData(t)):s.content}totalColumnCount(){return this.columns?this.columns.length+("none"===this.selectionConfig?0:1):0}render(){var t;return e(n,null,e("table",null,e("thead",null,"none"===this.selectionConfig?"":e("th",{class:"wcs-grid-selection-column"},"single"===this.selectionConfig?"":e("wcs-checkbox",{checked:this.allRowsAreSelected(),onWcsChange:this.selectAllRows.bind(this)})),e("slot",{name:"grid-column"})),e("tbody",null,this.loading?e("tr",null,e("td",{colSpan:this.totalColumnCount(),class:"loading"},e("wcs-spinner",null))):null===(t=this.rows)||void 0===t?void 0:t.filter((t=>this.serverMode||!this.paginationEl||t.page===this.paginationEl.currentPage)).map((t=>this.renderRow(t))))),e("slot",{name:"grid-pagination"}))}renderRow(t){var s;return e("tr",{class:t.selected?"selected":""},this.renderSelectionColumn(t),null===(s=t.cells)||void 0===s?void 0:s.map((s=>{if(!s.column.hidden)return s.column.customCells?e("td",null,e("slot",{name:s.column.id+"-"+t.data[this.rowIdPath]})):e("td",{part:s.column.path+"-column"},this.getCellContent(t,s))})))}get el(){return o(this)}static get watchers(){return{data:["onDataChange"],selectedItems:["onSelectedItemsPropertyChange"]}}};m.style=":host{display:block;--wcs-grid-highlight-color:var(--wcs-light)}:host th{background-color:var(--wcs-light)}:host th:not(:first-child){border-left:solid 1px var(--wcs-text-light)}:host ::slotted([slot=grid-column]:first-child){--wcs-grid-column-border-left:none}:host table{width:100%;border-spacing:0}:host td{color:var(--wcs-gray-light);margin:0;padding:calc(var(--wcs-padding) / 2) var(--wcs-padding)}:host tr:not(:last-child) td{border-bottom:solid 1px var(--wcs-text-light)}:host .wcs-grid-selection-column{padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);width:40px}:host tr.selected{background-color:var(--wcs-grid-highlight-color)}:host .loading{text-align:center}:host([selection]) ::slotted([slot=grid-column]:first-child){--wcs-grid-column-border-left:solid 1px var(--wcs-text-light) !important}";export{m as wcs_grid}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-f46e6c3c.js";let n=class{constructor(e){t(this,e)}render(){return e(i,null,e("div",{class:"container"},e("div",{class:"container-left"},e("div",{class:"app-name"},this.appName,e("slot",{name:"app-name"})),e("div",{class:"menu-bar"},e("slot",null))),e("div",null,e("slot",{name:"actions"}))))}};n.style=':host{display:block;position:relative;height:75px;border-bottom:solid 1px var(--wcs-text-light)}:host .container{margin:0 auto;height:100%;display:flex;align-items:center;flex-direction:row;justify-content:space-between;max-width:var(--wcs-com-content-max-width)}:host .container-left{display:flex;height:100%;align-items:center;flex-direction:row}:host .app-name{font-weight:300;font-size:1.5rem;line-height:1.25;color:var(--wcs-gray)}:host .menu-bar{display:flex;align-items:center;height:100%;margin-left:50px}:host .menu-bar ::slotted(*:not(:first-child)){margin-left:40px}:host ::slotted(a){display:flex;align-items:center;height:100%;font-size:16px;cursor:pointer;font-weight:500;color:var(--wcs-gray);text-decoration:none}:host ::slotted(a):after{font-family:icons;padding-left:var(--wcs-base-margin);font-size:0.6rem;content:"\\f107";line-height:1;box-sizing:border-box}';export{n as wcs_com_nav}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as r}from"./p-f46e6c3c.js";let a=class{constructor(e){t(this,e)}hostData(){return{slot:"header"}}__stencil_render(){return e("header",null,e("slot",{name:"logo"}),e("slot",{name:"title"}),e("slot",{name:"actions"}))}render(){return e(r,this.hostData(),this.__stencil_render())}};a.style="header{box-shadow:0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);display:flex;align-items:center;background:var(--wcs-gray);padding:8px 8px 8px 16px;height:48px;z-index:1}::slotted(img){width:70px;height:36.8px;margin-right:16px}::slotted(h1){color:var(--wcs-white);margin:0;font-weight:500;font-size:1.5rem}::slotted([slot=actions]){margin-left:auto}";export{a as wcs_header}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as l,h as s,H as r}from"./p-f46e6c3c.js";let e=class{constructor(s){l(this,s)}render(){return s(r,{slot:"label"},s("slot",null))}};export{e as wcs_field_label}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,H as h,g as e}from"./p-f46e6c3c.js";import{d as r,i as a,f as n}from"./p-83f1ad32.js";let o=class{constructor(s){t(this,s),this.wcsInput=i(this,"wcsInput",7),this.wcsChange=i(this,"wcsChange",7),this.wcsBlur=i(this,"wcsBlur",7),this.wcsFocus=i(this,"wcsFocus",7),this.inputId="wcs-input-"+c++,this.didBlurAfterEdit=!1,this.inheritedAttributes={},this.fireFocusEvents=!0,this.hasFocus=!1,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.debounce=0,this.disabled=!1,this.name=this.inputId,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.state="initial",this.type="text",this.value="",this.onInput=t=>{const i=t.target;i&&(this.value=i.value||""),this.wcsInput.emit(t)},this.onBlur=t=>{this.hasFocus=!1,this.focusChanged(),this.fireFocusEvents&&this.wcsBlur.emit(t)},this.onFocus=t=>{this.hasFocus=!0,this.focusChanged(),this.fireFocusEvents&&this.wcsFocus.emit(t)},this.onKeydown=t=>{this.shouldClearOnEdit()&&(this.didBlurAfterEdit&&this.hasValue()&&"Enter"!==t.key&&this.clearTextInput(),this.didBlurAfterEdit=!1)},this.clearTextInput=t=>{this.clearInput&&!this.readonly&&!this.disabled&&t&&(t.preventDefault(),t.stopPropagation(),this.setFocus()),this.value="",this.nativeInput&&(this.nativeInput.value="")}}debounceChanged(){this.wcsChange=r(this.wcsChange,this.debounce)}valueChanged(){var t;this.wcsChange.emit({value:null===(t=this.value)||void 0===t?void 0:t.toString()})}componentWillLoad(){this.inheritedAttributes=a(this.el,["aria-label","tabindex","title"])}connectedCallback(){this.debounceChanged(),document.dispatchEvent(new CustomEvent("wcsInputDidLoad",{detail:this.el}))}disconnectedCallback(){document.dispatchEvent(new CustomEvent("wcsInputDidUnload",{detail:this.el}))}async setFocus(){this.nativeInput&&this.nativeInput.focus()}async setBlur(){this.nativeInput&&this.nativeInput.blur()}getInputElement(){return Promise.resolve(this.nativeInput)}shouldClearOnEdit(){const{type:t,clearOnEdit:i}=this;return void 0===i?"password"===t:i}getValue(){return"number"==typeof this.value?this.value.toString():(this.value||"").toString()}focusChanged(){!this.hasFocus&&this.shouldClearOnEdit()&&this.hasValue()&&(this.didBlurAfterEdit=!0)}hasValue(){return this.getValue().length>0}render(){const t=this.getValue(),i=this.inputId+"-lbl",e=n(this.el);return e&&(e.id=i),s(h,{"aria-disabled":this.disabled?"true":null},this.icon?s("wcs-mat-icon",{icon:this.icon,size:"m"}):null,s("input",Object.assign({class:"native-input",ref:t=>this.nativeInput=t,"aria-labelledby":e?i:null,disabled:this.disabled,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown},this.inheritedAttributes)))}get el(){return e(this)}static get watchers(){return{debounce:["debounceChanged"],value:["valueChanged"]}}},c=0;o.style=":host{--wcs-input-icon-color:var(--wcs-text-medium);--wcs-internal-input-border-radius-left:var(--wcs-input-border-radius-left, var(--wcs-border-radius));--wcs-internal-input-border-radius-right:var(--wcs-input-border-radius-right, var(--wcs-border-radius));display:flex;width:100%;border-radius:var(--wcs-internal-input-border-radius-left) var(--wcs-internal-input-border-radius-right) var(--wcs-internal-input-border-radius-right) var(--wcs-internal-input-border-radius-left);background-color:var(--wcs-light);border:1px solid var(--wcs-light);background-clip:padding-box}:host ::placeholder{font-weight:400;font-style:italic}:host input{overflow:hidden;box-sizing:border-box;min-height:24px;width:100%;background-color:transparent;font-family:var(--wcs-font-sans-serif);color:var(--wcs-primary);font-weight:var(--wcs-font-weight-form-value) !important;border:none;padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);font-size:1rem;line-height:1.5}:host input:focus{box-shadow:none;outline:0}:host wcs-mat-icon{position:relative;margin-top:8px;margin-left:8px;margin-right:-8px}:host([state=error]){border-color:var(--wcs-red) !important}:host(:focus-within){border:solid 1px var(--wcs-primary)}:host(:focus-within) wcs-mat-icon{color:var(--wcs-primary)}";export{o as wcs_input}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s}from"./p-f46e6c3c.js";let t=class{constructor(s){r(this,s)}render(){return s("slot",null)}};t.style=":host{flex:1 1 auto;padding:var(--wcs-padding)}";export{t as wcs_card_body}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as L,h as M,H as w,g as j}from"./p-f46e6c3c.js";let u=class{constructor(M){L(this,M),this.show=!1}render(){return M(w,null,M("div",{class:"container"},M("div",{class:"container-left"},M("img",{src:s,id:"sncf-logo",alt:"Logo SNCF"}),M("span",null,this.text)),M("div",{class:"menu"},M("slot",null))))}get el(){return j(this)}};const s="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KCTxsaW5lYXJHcmFkaWVudCBpZD0iU1ZHX0dSQURJRU5UIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAiIHkxPSIxNiIgeDI9IjMxLjk1OTMiIHkyPSIxNiI+DQoJCTxzdG9wICBvZmZzZXQ9IjAiIHN0eWxlPSJzdG9wLWNvbG9yOiM4MzJGNzAiLz4NCgkJPHN0b3AgIG9mZnNldD0iMC4yNDcyIiBzdHlsZT0ic3RvcC1jb2xvcjojQUMyODdDIi8+DQoJCTxzdG9wICBvZmZzZXQ9IjAuODE0NiIgc3R5bGU9InN0b3AtY29sb3I6I0RGMjUzMCIvPg0KCQk8c3RvcCAgb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojREYyNTMwIi8+DQoJPC9saW5lYXJHcmFkaWVudD4NCgk8cGF0aCBmaWxsPSJ1cmwoI1NWR19HUkFESUVOVCkiIGQ9Ik0wLjYsNy43QzAuMiw3LjcsMCw3LjgsMCw4LjJ2MTUuN2MwLDAuMywwLjIsMC41LDAuNSwwLjVoMjhjMC4zLDAsMC41LDAsMC42LTAuNGMwLDAsMi44LTguOSwyLjktOSBjMC4xLTAuMywwLTAuNS0wLjMtMC43QzIyLjYsOC41LDguOSw3LjYsMi44LDcuNkMxLjksNy42LDEuMSw3LjYsMC42LDcuN3oiLz4NCgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNi40LDE3LjdjLTEtMC41LTEuNy0wLjgtMS42LTEuM0M1LDE1LjgsNi4xLDE1LjYsNywxNS42YzAuNSwwLDAuOCwwLjEsMS4yLDAuMmwwLjMtMS4xIGMtMC41LTAuMS0wLjgtMC4xLTEuNC0wLjFjLTEuOSwwLTMuNiwwLjUtNCwxLjZjLTAuNSwxLjMsMC45LDIsMi4yLDIuNmMxLDAuNSwxLjgsMC45LDEuNSwxLjVjLTAuMiwwLjUtMC45LDAuNy0yLDAuNyBjLTAuOSwwLTItMC4zLTIuOS0wLjdsLTAuNSwxLjFjMC42LDAuMywyLDAuNywzLjEsMC43YzIuMSwwLDMuNS0wLjUsNC4xLTEuN0M5LjMsMTkuMSw3LjcsMTguMyw2LjQsMTcuN3oiLz4NCgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNOS4zLDE5LjZDOS4zLDE5LjcsOS4zLDE5LjcsOS4zLDE5LjZjMC4xLDAsMC4xLDAsMC4xLDBjMCwwLDEtMy4yLDEtMy4yYzEuMSwxLjUsMi4xLDMuNSwyLjcsNS42aDEuNyBsMC45LTIuN2MwLDAsMCwwLDAuMSwwYzAsMCwwLDAsMC4xLDBjMC4zLDEuNywxLjksMi44LDQuMywyLjhjMS41LDAsMi45LTAuNCwzLjItMC42bDAuOS0yLjhoMy40bDAuMy0xLjFoLTMuNGwwLjYtMS44aDQuMSBsMC40LTEuMWgtNS43bC0xLjksNi4xYy0wLjQsMC4xLTAuOSwwLjItMS41LDAuMmMtMS4xLDAtMi4xLTAuMy0yLjYtMC45Yy0wLjQtMC41LTAuNS0xLTAuNC0xLjdjMC4yLTEuNiwxLjgtMi42LDMuOC0yLjYgYzAuNCwwLDAuOSwwLDEuMywwLjFsMC40LTEuMmMtMC41LTAuMS0xLjEtMC4xLTEuNy0wLjFjLTEuOCwwLTMuNCwwLjYtNC40LDEuN2MwLDAtMC4xLDAtMC4xLDBjMCwwLTAuMSwwLDAsMGwwLjUtMS42aC0xLjUgTDE0LDE5LjhjLTAuNS0xLjUtMS42LTMuNS0yLjktNS4xSDkuNWwtMS4yLDMuN0M4LjksMTguOCw5LjEsMTkuMiw5LjMsMTkuNnoiLz4NCjwvc3ZnPg0K";u.style=":host{display:block;background-color:var(--wcs-gray)}.container{height:32px;align-items:center;justify-content:space-between;color:var(--wcs-white);font-size:14px;display:flex;max-width:var(--wcs-com-content-max-width);margin:0 auto}.container #sncf-logo{height:32px;margin-right:20px}.container .container-left{display:flex;align-items:center}";export{u as wcs_galactic}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e}from"./p-f46e6c3c.js";let o=class{constructor(e){t(this,e),this.text=""}render(){return e("a",{href:this.href,class:"wcs-nav-item-container"},e("slot",null),e("span",{class:"wcs-nav-item-text"},this.text))}};o.style="wcs-nav-item{display:block;cursor:pointer}wcs-nav-item a{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;text-align:center;background-color:transparent;border:none;text-decoration:none;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;height:5rem;font-size:0.75rem;color:var(--wcs-contrast)}wcs-nav-item a:not(.active){border-bottom:1px solid rgba(255, 255, 255, 0.2)}@media (max-width: 1199px){wcs-nav-item a{display:flex;flex:1;height:3.25rem;font-size:0.625rem;color:var(--wcs-text-medium)}}wcs-nav-item i{margin-bottom:0.5rem;display:inline-block}@media (max-width: 1199px){wcs-nav-item i{margin-bottom:0.25rem;display:inline-block}}@media (min-width: 1200px){wcs-nav-item[slot=bottom] a{border-top:1px solid rgba(255, 255, 255, 0.2);border-bottom:none}}.wcs-nav-item-text{font-weight:500}.active,wcs-nav-item:hover,wcs-nav-item:focus-within{background-blend-mode:multiply;background-color:rgba(0, 0, 0, 0.15);}@media (max-width: 1199px){.active,wcs-nav-item:hover,wcs-nav-item:focus-within{background-color:unset}.active a,wcs-nav-item:hover a,wcs-nav-item:focus-within a{color:var(--wcs-primary)}}";export{o as wcs_nav_item}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,c as r,h as i,H as e,g as t}from"./p-f46e6c3c.js";let a=class{constructor(i){o(this,i),this.wcsRadioClick=r(this,"wcsRadioClick",7),this.inputId="wcs-rb-"+s++,this.mode="radio",this.checked=!1,this.disabled=!1}componentWillLoad(){void 0===this.value&&(this.value=this.el.innerText||"")}componentDidLoad(){this.inputEl=this.el.shadowRoot.querySelector("input"),this.inputEl.addEventListener("change",(()=>{this.wcsRadioClick.emit({label:this.label,source:this.el,value:this.value}),this.checked=!0}))}render(){return i(e,{slot:"option"},i("input",{id:this.inputId,type:"radio",value:this.value,checked:this.checked,"aria-disabled":this.disabled?"true":null,"aria-checked":`${this.checked}`}),i("label",{htmlFor:`${this.inputId}`},this.label))}get el(){return t(this)}},s=0;a.style=':host([mode=radio]) input{display:none}:host([mode=radio]) label{padding:0.125rem 0 0;margin-bottom:0;color:var(--wcs-text-medium);cursor:pointer;background-color:transparent;border:none;font-weight:500 !important;transition:0.175s ease-in-out}:host([mode=radio]) label:before{transition:0.175s ease-in-out;border-radius:50%;margin-right:var(--wcs-base-margin);border:2px solid var(--wcs-text-disabled);position:relative;display:inline-block;top:3px;width:1.125rem;height:1.125rem;pointer-events:none;content:"";background-color:var(--wcs-white);box-sizing:border-box}:host([mode=radio]) label:after{transition:0.175s ease-in-out;position:relative;width:1.125rem;height:1.125rem;content:"";background:no-repeat 50%/50% 50%}:host([mode=radio][checked]) label{color:var(--wcs-primary)}:host([mode=radio][checked]) label:before{border-color:var(--wcs-primary);background-color:var(--wcs-primary)}:host([mode=radio]:hover) label{color:var(--wcs-primary)}:host([mode=radio]:hover) label:before{border-color:var(--wcs-primary)}:host([mode=option]){padding:var(--wcs-base-margin) calc(var(--wcs-base-margin) / 2);font-weight:500 !important}:host([mode=option]) input{position:absolute;z-index:-1;opacity:0;box-sizing:border-box;padding:0}:host([mode=option]) label{padding:0.375rem 1.25rem 0.3125rem;margin-bottom:0;color:var(--wcs-white);white-space:nowrap;cursor:pointer;border-radius:0.4375rem}:host([mode=option][checked]) label{font-weight:500 !important;color:var(--wcs-primary);background-color:var(--wcs-white)}';export{a as wcs_radio}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as n}from"./p-f46e6c3c.js";let o=class{constructor(e){t(this,e)}render(){return e(n,null,e("div",{class:"container"},e("div",null,e("slot",null)),e("div",{class:"end"},e("div",null,e("slot",{name:"end-left"})),e("div",null,e("slot",{name:"end-right"})))))}};o.style=":host{display:block;width:100%;background-color:var(--wcs-gray);color:white}:host .end{margin-top:calc(2 * var(--wcs-base-margin));width:100%;display:flex;justify-content:space-between;align-items:center}:host .end slot[name=end-left]::slotted(a){color:var(--wcs-text-disabled);text-decoration:none;font-size:14px;font-weight:500;margin-right:35px}:host .end slot[name=end-left]::slotted(a:hover){color:var(--wcs-white)}:host .container{margin:0 auto;max-width:var(--wcs-com-content-max-width);display:flex;flex-direction:column;padding:20px}";export{o as wcs_footer}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,c as s,h as a,H as t}from"./p-f46e6c3c.js";let i=class{constructor(a){o(this,a),this.wcsDialogClosed=s(this,"wcsDialogClosed",7),this.backdrop=!0,this.show=!1,this.showCloseButton=!1}render(){return a(t,null,a("div",{class:"wcs-modal-backdrop"}),a("div",{class:"wcs-modal-container"},a("div",{class:"wcs-modal-header"},a("h5",null,a("slot",{name:"header"})),this.showCloseButton&&a("wcs-button",{shape:"round",mode:"stroked",class:"wcs-dark",onClick:o=>this.onCloseButtonClick(o)},a("i",{class:"material-icons"},"close"))),a("div",{class:"wcs-modal-content"},a("slot",null)),a("div",{class:"wcs-modal-actions"},a("slot",{name:"actions"}))))}onKeyDown(o){this.showCloseButton&&"Escape"===o.key&&this.close()}onCloseButtonClick(o){this.close()}close(){this.show=!1,this.wcsDialogClosed.emit()}};i.style="wcs-modal{--saas-fix-modal:rgba(var(--wcs-black), 0.5);z-index:999;position:fixed;top:0;bottom:0;left:0;right:0;display:none}wcs-modal[show]{display:block;width:100%;height:100%;opacity:1;display:block}wcs-modal[backdrop] .wcs-modal-backdrop{display:block;position:fixed;top:0;left:0;bottom:0;right:0;opacity:0.4;background-color:var(--wcs-black)}.wcs-modal-backdrop{display:none}.wcs-modal-container{position:fixed;top:50%;left:50%;min-width:400px;max-width:480px;transform:translate(-50%, -50%);pointer-events:auto;background-color:#fff;background-clip:padding-box;border:0 solid rgba(0, 0, 0, 0.2);border-radius:0.4375rem;outline:0;z-index:20000;display:block;padding:1.375rem 1.875rem 1.875rem 1.875rem}.wcs-modal-header{margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.wcs-modal-header h5{font-size:24px;font-weight:400;margin:0}.wcs-modal-content{font-weight:400;font-size:16px}.wcs-modal-actions{margin-top:20px;float:right}";export{i as wcs_modal}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e,t,n,l=!1,o=!1,s=!1,i=!1,r=!1;const c="undefined"!=typeof window?window:{},f=c.document||{head:{}},a={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},u=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),$=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=p(e,n),i=h(t,o),r=y(n);a.ael(s,l,i,r),(t.o=t.o||[]).push((()=>a.rel(s,l,i,r)))}))},h=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){$e(e)}},p=(e,t)=>4&t?f:8&t?c:e,y=e=>0!=(2&e),m="http://www.w3.org/1999/xlink",b=new WeakMap,w=e=>"sc-"+e.$,g={},v=e=>"object"==(e=typeof e)||"function"===e,k=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1,c=[];const f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!v(l))&&(l+=""),i&&r?c[c.length-1].h+=l:c.push(i?j(null,l):l),r=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,O);const a=j(e,null);return a.p=t,c.length>0&&(a.m=c),a.g=o,a.v=s,a},j=(e,t)=>({t:0,k:e,h:t,j:null,m:null,p:null,g:null,v:null}),S={},O={forEach:(e,t)=>e.map(C).forEach(t),map:(e,t)=>e.map(C).map(t).map(M)},C=e=>({vattrs:e.p,vchildren:e.m,vkey:e.g,vname:e.v,vtag:e.k,vtext:e.h}),M=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),k(e.vtag,t,...e.vchildren||[])}const t=j(e.vtag,e.vtext);return t.p=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.v=e.vname,t},x=(e,t,n,l,o,s)=>{if(n!==l){let i=de(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=P(n),s=P(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=v(l);if((i||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(m,t):e.removeAttribute(t)):(!i||4&s||o)&&!c&&(l=!0===l?"":l,f?e.setAttributeNS(m,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):de(c,r)?r.slice(2):r[2]+t.slice(3),n&&a.rel(e,t,n,!1),l&&a.ael(e,t,l,!1)}},R=/\s/,P=e=>e?e.split(R):[],T=(e,t,n,l)=>{const o=11===t.j.nodeType&&t.j.host?t.j.host:t.j,s=e&&e.p||g,i=t.p||g;for(l in s)l in i||x(o,l,s[l],void 0,n,t.t);for(l in i)x(o,l,s[l],i[l],n,t.t)},E=(o,r,c,a)=>{let u,d,$,h=r.m[c],p=0;if(l||(s=!0,"slot"===h.k&&(e&&a.classList.add(e+"-s"),h.t|=h.m?2:1)),null!==h.h)u=h.j=f.createTextNode(h.h);else if(1&h.t)u=h.j=f.createTextNode("");else{if(i||(i="svg"===h.k),u=h.j=f.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&h.t?"slot-fb":h.k),i&&"foreignObject"===h.k&&(i=!1),T(null,h,i),null!=e&&u["s-si"]!==e&&u.classList.add(u["s-si"]=e),h.m)for(p=0;p<h.m.length;++p)d=E(o,h,p,u),d&&u.appendChild(d);"svg"===h.k?i=!1:"foreignObject"===u.tagName&&(i=!0)}return u["s-hn"]=n,3&h.t&&(u["s-sr"]=!0,u["s-cr"]=t,u["s-sn"]=h.v||"",$=o&&o.m&&o.m[c],$&&$.k===h.k&&o.j&&L(o.j,!1)),u},L=(e,t)=>{a.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(F(o).insertBefore(o,D(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),t&&L(o,t)}a.t&=-2},W=(e,t,l,o,s,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=E(null,l,s,e),r&&(o[s].j=r,c.insertBefore(r,D(t))))},U=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.j,z(l),o=!0,s["s-ol"]?s["s-ol"].remove():L(s,!0),s.remove())},A=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),D=e=>e&&e["s-ol"]||e,F=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,H=(e,t)=>{const n=t.j=e.j,l=e.m,o=t.m,s=t.k,r=t.h;let c;null===r?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||T(e,t,i),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,r=0,c=0,f=0,a=t.length-1,u=t[0],d=t[a],$=l.length-1,h=l[0],p=l[$];for(;i<=a&&r<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--$];else if(A(u,h))H(u,h),u=t[++i],h=l[++r];else if(A(d,p))H(d,p),d=t[--a],p=l[--$];else if(A(u,p))"slot"!==u.k&&"slot"!==p.k||L(u.j.parentNode,!1),H(u,p),e.insertBefore(u.j,d.j.nextSibling),u=t[++i],p=l[--$];else if(A(d,h))"slot"!==u.k&&"slot"!==p.k||L(d.j.parentNode,!1),H(d,h),e.insertBefore(d.j,u.j),d=t[--a],h=l[++r];else{for(c=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].g&&t[f].g===h.g){c=f;break}c>=0?(s=t[c],s.k!==h.k?o=E(t&&t[r],n,c,e):(H(s,h),t[c]=void 0,o=s.j),h=l[++r]):(o=E(t&&t[r],n,r,e),h=l[++r]),o&&F(u.j).insertBefore(o,D(u.j))}i>a?W(e,null==l[$+1]?null:l[$+1].j,n,l,r,$):r>$&&U(t,i,a)})(n,l,t,o):null!==o?(null!==e.h&&(n.textContent=""),W(n,null,t,o,0,o.length-1)):null!==l&&U(l,0,l.length-1),i&&"svg"===s&&(i=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:e.h!==r&&(n.data=r)},N=e=>{let t,n,l,o,s,i,r=e.childNodes;for(n=0,l=r.length;n<l;n++)if(t=r[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<l;o++)if(i=r[o].nodeType,r[o]["s-hn"]!==t["s-hn"]||""!==s){if(1===i&&s===r[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[o].textContent.trim()){t.hidden=!0;break}N(t)}},q=[],V=e=>{let t,n,l,s,i,r,c=0,f=e.childNodes,a=f.length;for(;c<a;c++){if(t=f[c],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(_(n,s)?(i=q.find((e=>e.S===n)),o=!0,n["s-sn"]=n["s-sn"]||s,i?i.O=t:q.push({O:t,S:n}),n["s-sr"]&&q.map((e=>{_(e.S,n["s-sn"])&&(i=q.find((e=>e.S===n)),i&&!e.O&&(e.O=i.O))}))):q.some((e=>e.S===n))||q.push({S:n}));1===t.nodeType&&V(t)}},_=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,z=e=>{e.p&&e.p.ref&&e.p.ref(null),e.m&&e.m.map(z)},B=e=>fe(e).C,G=(e,t,n)=>{const l=B(e);return{emit:e=>I(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},I=(e,t,n)=>{const l=a.ce(t,n);return e.dispatchEvent(l),l},J=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},K=(e,t)=>{if(e.t|=16,!(4&e.t))return J(e,e.R),Se((()=>Q(e,t)));e.t|=512},Q=(e,t)=>{const n=e.i;let l;return t?(e.t|=256,e.u&&(e.u.map((([e,t])=>ne(n,e,t))),e.u=null),l=ne(n,"componentWillLoad")):l=ne(n,"componentWillUpdate"),le(l,(()=>X(e,n,t)))},X=async(e,t,n)=>{const l=e.C,o=l["s-rc"];n&&(e=>{const t=e.P,n=e.C,l=t.t,o=((e,t)=>{let n=w(t),l=ye.get(n);if(e=11===e.nodeType?e:f,l)if("string"==typeof l){let t,o=b.get(e=e.head||e);o||b.set(e,o=new Set),o.has(n)||(t=f.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);Y(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>Z(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},Y=(i,r)=>{try{r=r.render&&r.render(),i.t&=-17,i.t|=2,((i,r)=>{const c=i.C,u=i.P,d=i.T||j(null,null),$=(e=>e&&e.k===S)(r)?r:k(null,null,r);if(n=c.tagName,u.L&&($.p=$.p||{},u.L.map((([e,t])=>$.p[t]=c[e]))),$.k=null,$.t|=4,i.T=$,$.j=d.j=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],l=0!=(1&u.t),o=!1,H(d,$),a.t|=1,s){let e,t,n,l,o,s;V($.j);let i=0;for(;i<q.length;i++)e=q[i],t=e.S,t["s-ol"]||(n=f.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<q.length;i++)if(e=q[i],t=e.S,e.O){for(l=e.O.parentNode,o=e.O.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}o&&N($.j),a.t&=-2,q.length=0})(i,r)}catch(e){$e(e,i.C)}return null},Z=e=>{const t=e.C,n=e.i,l=e.R;ne(n,"componentDidRender"),64&e.t||(e.t|=64,oe(t),ne(n,"componentDidLoad"),e.W(t),l||te()),e.U(t),e.M&&(e.M(),e.M=void 0),512&e.t&&ke((()=>K(e,!1))),e.t&=-517},ee=e=>{{const t=fe(e),n=t.C.isConnected;return n&&2==(18&t.t)&&K(t,!1),n}},te=()=>{oe(f.documentElement),ke((()=>I(c,"appload",{detail:{namespace:"wcs"}})))},ne=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){$e(e)}},le=(e,t)=>e&&e.then?e.then(t):t(),oe=e=>e.classList.add("hydrated"),se=(e,t,n)=>{if(t.A){e.watchers&&(t.D=e.watchers);const l=Object.entries(t.A),o=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>fe(this).F.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=fe(e),s=o.C,i=o.F.get(t),r=o.t,c=o.i;if(n=((e,t)=>null==e||v(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.A[t][0]),!(8&r&&void 0!==i||n===i)&&(o.F.set(t,n),c)){if(l.D&&128&r){const e=l.D[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){$e(e,s)}}))}2==(18&r)&&K(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){const n=fe(this);return n.H.then((()=>n.i[e](...t)))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){a.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(o.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.L.push([e,o]),o}))}}return e},ie=e=>{ne(e,"connectedCallback")},re=(e,t={})=>{const n=[],l=t.exclude||[],o=c.customElements,s=f.head,i=s.querySelector("meta[charset]"),r=f.createElement("style"),u=[];let h,p=!0;Object.assign(a,t),a.l=new URL(t.resourcesUrl||"./",f.baseURI).href,e.map((e=>{e[1].map((t=>{const s={t:t[0],$:t[1],A:t[2],N:t[3]};s.A=t[2],s.N=t[3],s.L=[],s.D={};const i=s.$,r=class extends HTMLElement{constructor(e){super(e),ue(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){h&&(clearTimeout(h),h=null),p?u.push(this):a.jmp((()=>(e=>{if(0==(1&a.t)){const t=fe(e),n=t.P,l=()=>{};if(1&t.t)$(e,t,n.N),ie(t.i);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=f.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(t,t.R=n);break}}n.A&&Object.entries(n.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=pe(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.D=o.watchers,se(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){$e(e)}t.t&=-9,t.t|=128,e(),ie(t.i)}if(o.style){let e=o.style;const t=w(n);if(!ye.has(t)){const l=()=>{};((e,t,n)=>{let l=ye.get(e);d&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,ye.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.R,i=()=>K(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){a.jmp((()=>(()=>{if(0==(1&a.t)){const e=fe(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),ne(t,"disconnectedCallback")}})()))}componentOnReady(){return fe(this).q}};s.V=e[0],l.includes(i)||o.get(i)||(n.push(i),o.define(i,se(r,s,1)))}))})),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),s.insertBefore(r,i?i.nextSibling:s.firstChild),p=!1,u.length?u.map((e=>e.connectedCallback())):a.jmp((()=>h=setTimeout(te,30)))},ce=new WeakMap,fe=e=>ce.get(e),ae=(e,t)=>ce.set(t.i=e,t),ue=(e,t)=>{const n={t:0,C:e,P:t,F:new Map};return n.H=new Promise((e=>n.U=e)),n.q=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[],$(e,n,t.N),ce.set(e,n)},de=(e,t)=>t in e,$e=(e,t)=>(0,console.error)(e,t),he=new Map,pe=e=>{const t=e.$.replace(/-/g,"_"),n=e.V,l=he.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(he.set(n,e),e[t])),$e)},ye=new Map,me=[],be=[],we=(e,t)=>n=>{e.push(n),r||(r=!0,t&&4&a.t?ke(ve):a.raf(ve))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){$e(e)}e.length=0},ve=()=>{ge(me),ge(be),(r=me.length>0)&&a.raf(ve)},ke=e=>u().then(e),je=we(me,!1),Se=we(be,!0);export{S as H,je as a,re as b,G as c,ee as f,B as g,k as h,u as p,ae as r}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o}from"./p-f46e6c3c.js";let s=class{constructor(o){r(this,o),this.mode="raised"}render(){return o("slot",null)}};s.style=":host{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-clip:border-box;border-radius:var(--wcs-border-radius);background-color:var(--wcs-white)}:host([mode=raised]){box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2)}:host([mode=flat]){border:solid 1px var(--wcs-text-light)}";export{s as wcs_card}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as t}from"./p-f46e6c3c.js";let o=class{constructor(s){r(this,s)}render(){return s(t,null)}};o.style=":host{display:block;border-bottom:solid 1px var(--wcs-text-light)}";export{o as wcs_divider}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,H as e,g as a}from"./p-f46e6c3c.js";var n;!function(t){t[t.DISPLAY=0]="DISPLAY",t[t.EDIT=1]="EDIT",t[t.LOAD=2]="LOAD"}(n||(n={}));let r=class{constructor(i){t(this,i),this.wcsChange=s(this,"wcsChange",7),this.currentState=n.DISPLAY,this.type="input",this.readonly=!1,this.errorMsg=null,this.isError=!1,this.ignoreNextChangeEvent=!1,this.spiedElement=null,this.currentValue=null}componentWillLoad(){this.currentValue=this.value}componentDidRender(){const t=this.el.shadowRoot.querySelector("slot").assignedElements();switch(this.type){case"input":this.initWithInput(t);break;case"textarea":this.initWithTextArea(t);break;case"select":this.initWithSelect(t)}}initWithInput(t){const s=t.filter((t=>"WCS-INPUT"===t.tagName))[0];if(!s)throw new Error("You must provide a slotted input element to handle edition");this.spiedElement=s,this.addChangeHandlerForWcsComponents(this.spiedElement),this.spiedElement.addEventListener("keydown",(t=>{"Enter"===t.key&&this.sendCurrentValue(),"Escape"===t.key&&this.discardChanges()}))}initWithTextArea(t){const s=t.filter((t=>"WCS-TEXTAREA"===t.tagName))[0];if(!s)throw new Error("You must provide a slotted textarea element to handle edition");this.spiedElement=s,this.addChangeHandlerForWcsComponents(this.spiedElement),this.spiedElement.addEventListener("keydown",(t=>{"Enter"===t.key&&t.ctrlKey&&this.sendCurrentValue(),"Escape"===t.key&&this.discardChanges()}))}initWithSelect(t){const s=t.filter((t=>"WCS-SELECT"===t.tagName))[0];if(!s)throw new Error("You must provide a slotted select element to handle edition");this.spiedElement=s,this.addChangeHandlerForWcsComponents(this.spiedElement)}addChangeHandlerForWcsComponents(t){t.addEventListener("wcsChange",(t=>{t.stopImmediatePropagation(),this.currentValue=t.detail.value,this.validateFn&&(this.isError=!this.validateFn(this.currentValue))}))}sendCurrentValue(){this.currentState===n.EDIT&&(this.value===this.currentValue?this.currentState=n.DISPLAY:(this.isError=!!this.validateFn&&!this.validateFn(this.currentValue),this.isError||(this.currentState=n.LOAD,this.wcsChange.emit({newValue:this.currentValue,successHandler:()=>this.forceDisplayStateAndValidate(),errorhandler:()=>this.errorHandler()}))))}discardChanges(){this.currentValue=this.value,this.currentState=n.DISPLAY,this.isError=!1}forceDisplayStateAndValidate(){if(this.currentState!==n.LOAD)throw new Error("You cannot set display state from "+n[this.currentState]+" state");this.value=this.currentValue,this.currentState=n.DISPLAY}onWindowClickEvent(t){this.clickInsideComponent(t)||this.currentState===n.EDIT&&(this.isError?this.discardChanges():this.sendCurrentValue())}clickInsideComponent(t){return t.x>=this.el.getBoundingClientRect().x&&t.x<=this.el.getBoundingClientRect().x+this.el.getBoundingClientRect().width&&t.y>=this.el.getBoundingClientRect().y&&t.y<=this.el.getBoundingClientRect().y+this.el.getBoundingClientRect().height}errorHandler(){this.discardChanges()}onValueChange(){this.currentState=n.DISPLAY}onDisplayContainerClick(){this.currentState===n.DISPLAY&&!1===this.readonly&&(this.currentState=n.EDIT,this.ignoreNextChangeEvent=!0,this.spiedElement.value=this.currentValue,this.validateFn&&(this.isError=!this.validateFn(this.currentValue)),setTimeout((()=>{"input"===this.type?this.spiedElement.setFocus():"textarea"===this.type&&(this.spiedElement.fitContent(),this.spiedElement.setFocus())}),20))}render(){const{formattedValue:t,formattedCurrentValue:s}=this.formatValues();return i(e,null,i("div",{class:"label"},this.label),i("div",{class:"display-container "+(this.currentState!==n.DISPLAY?"display-none":""),onClick:()=>this.onDisplayContainerClick()},t,i("wcs-mat-icon",{icon:"edit",size:"s"}),this.readonly?this.getReadonlySvgIcon():null),i("div",{class:"load-container "+(this.currentState!==n.LOAD?"display-none":"")},s,i("wcs-spinner",null)),i("wcs-form-field",{"is-error":this.isError,class:"edit-container "+(this.currentState!==n.EDIT?"display-none":"")},i("slot",null),this.isError&&this.errorMsg?i("wcs-error",null,this.errorMsg):null))}getReadonlySvgIcon(){return i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"24",viewBox:"0 0 27 25",class:"readonly-icon"},i("path",{d:"M26.79,25.05H1.21a.73.73,0,0,0,0,1.45H26.79a.73.73,0,0,0,0-1.45Z",transform:"translate(-0.5 -1.5)"}),i("path",{d:"M19.8,8.87h-.61V6.73a5.23,5.23,0,0,0-10.46,0V8.87H8.2a1.63,1.63,0,0,0-1.63,1.62V21.32A1.62,1.62,0,0,0,8.2,22.94H19.8a1.62,1.62,0,0,0,1.63-1.62V10.49A1.63,1.63,0,0,0,19.8,8.87ZM10.93,6.73a3,3,0,1,1,6.06,0V8.87H10.93Zm3,14.15a5,5,0,1,1,5-5A5,5,0,0,1,14,20.88Z",transform:"translate(-0.5 -1.5)"}),i("path",{d:"M14,12.62a3.29,3.29,0,1,0,3.29,3.29A3.29,3.29,0,0,0,14,12.62Zm0,4.75a1.47,1.47,0,1,1,1.47-1.46A1.46,1.46,0,0,1,14,17.37Z",transform:"translate(-0.5 -1.5)"}))}formatValues(){let t=this.value,s=this.currentValue;return this.formatFn&&(t=this.formatFn(this.value),s=this.formatFn(this.currentValue)),Array.isArray(this.value)&&(t=this.value.join(", ")),Array.isArray(this.currentValue)&&(s=this.currentValue.join(", ")),{formattedValue:t?i("span",null,t):i("span",null),formattedCurrentValue:s?i("span",null,s):i("span",null)}}get el(){return a(this)}static get watchers(){return{value:["onValueChange"]}}};r.style=":host{display:block}:host .display-none{display:none !important}:host .label{margin-bottom:var(--wcs-base-margin);font-weight:500;font-size:16px;color:var(--wcs-gray-light)}:host .edit-container{display:flex;width:100%}:host .display-container{min-height:24px;white-space:break-spaces;display:flex;justify-content:space-between;align-items:center;background-color:var(--wcs-light);border-radius:var(--wcs-border-radius);font-size:1rem;line-height:1.5;font-weight:500;color:var(--wcs-gray);padding:calc(0.5 * var(--wcs-padding)) var(--wcs-padding);transition:0.175s all;border:solid 1px transparent}:host .display-container wcs-mat-icon{display:none}:host .load-container{white-space:pre;display:flex;justify-content:space-between;background-color:var(--wcs-light);border-radius:var(--wcs-border-radius);font-size:1rem;line-height:1.5;font-weight:500;color:var(--wcs-gray);padding:calc(0.5 * var(--wcs-padding)) var(--wcs-padding);transition:0.175s all;border:solid 1px transparent;align-items:center}:host wcs-spinner{height:16px;width:16px}:host .readonly-icon{fill:var(--wcs-text-medium)}:host([readonly]) .display-container{color:var(--wcs-gray-light)}:host(:not([readonly])) .display-container:hover{color:var(--wcs-primary);cursor:pointer;border:solid 1px var(--wcs-primary)}:host(:not([readonly])) .display-container:hover wcs-mat-icon{display:flex;align-items:center}";export{r as wcs_editable_field}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as a}from"./p-f46e6c3c.js";let e=class{constructor(a){t(this,a)}render(){return a("nav",{class:"wcs-nav-container"},a("slot",null),a("slot",{name:"bottom"}))}};e.style="nav{background-image:linear-gradient(0deg, var(--wcs-primary), var(--wcs-primary));display:flex;z-index:1055;flex-direction:column;width:6.25rem;height:100%}@media (max-width: 1199px){nav{flex-direction:row;background-image:linear-gradient(0deg, var(--wcs-light), var(--wcs-light));border-top:1px solid #d8d8d8;bottom:0;width:100%;height:3.25rem}}@media (max-width: 1199px){::slotted(wcs-nav-item){flex:1}}@media (min-width: 1200px){slot[name=bottom],wcs-nav-item:not([slot=bottom])+wcs-nav-item[slot=bottom]{display:block;margin-top:auto}}";export{e as wcs_nav}
|
package/dist/wcs/wcs.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as
|
|
1
|
+
import{p as e,b as c}from"./p-f46e6c3c.js";(()=>{const c=import.meta.url,o={};return""!==c&&(o.resourcesUrl=new URL(".",c).href),e(o)})().then((e=>c([["p-fb1577b5",[[1,"wcs-editable-field",{type:[1],label:[1],readonly:[4],value:[1032],validateFn:[16],formatFn:[16],errorMsg:[1,"error-msg"],currentState:[32],isError:[32]},[[8,"click","onWindowClickEvent"]]]]],["p-d59b4495",[[1,"wcs-grid",{serverMode:[4,"server-mode"],data:[16],loading:[4],selectionConfig:[1,"selection-config"],selectedItems:[8,"selected-items"],wcsGridPaginationId:[1,"wcs-grid-pagination-id"],rowIdPath:[1,"row-id-path"],columns:[32],paginationEl:[32],rows:[32]},[[0,"wcsHiddenChange","onHiddenColumnChange"],[0,"wcsSortChange","sortChangeEventHandler"],[0,"wcsGridPaginationChange","paginationChangeEventHandler"],[8,"wcsGridPaginationChange","paginationChangeEventHandlerOutside"]]]]],["p-214236db",[[1,"wcs-grid-pagination",{availablePageSizes:[16],currentPage:[2,"current-page"],pageSize:[2,"page-size"],itemsCount:[2,"items-count"],pageCount:[2,"page-count"]}]]],["p-94a31f64",[[1,"wcs-horizontal-stepper",{currentStep:[1026,"current-step"],steps:[16],mode:[1],checkOnComplete:[4,"check-on-complete"],buttonMode:[32],internalCurrentStep:[32],previous:[64],next:[64]}]]],["p-0fbe574e",[[1,"wcs-dropdown",{mode:[1],shape:[1],disabled:[4],expanded:[32]},[[8,"click","onWindowClickEvent"],[0,"wcsDropdownItemClick","dropdownItemClick"]]]]],["p-af1a5e52",[[1,"wcs-galactic-menu",{text:[1],showPopoverMenu:[32]},[[8,"click","onWindowClickEvent"]]]]],["p-dd300dea",[[1,"wcs-input",{fireFocusEvents:[4,"fire-focus-events"],accept:[1],autocapitalize:[1],autocomplete:[1],autocorrect:[1],autofocus:[4],clearInput:[4,"clear-input"],clearOnEdit:[4,"clear-on-edit"],debounce:[2],disabled:[4],enterkeyhint:[1],icon:[1],inputmode:[1],max:[1],maxlength:[2],min:[1],minlength:[2],multiple:[4],name:[1],pattern:[1],placeholder:[1],readonly:[4],required:[4],spellcheck:[4],state:[513],step:[1],size:[2],type:[1],value:[1032],hasFocus:[32],setFocus:[64],setBlur:[64],getInputElement:[64]}]]],["p-ed6e8541",[[4,"wcs-modal",{backdrop:[516],show:[1540],showCloseButton:[516,"show-close-button"]},[[4,"keydown","onKeyDown"]]]]],["p-356a8e3b",[[1,"wcs-textarea",{fireFocusEvents:[4,"fire-focus-events"],autocapitalize:[1],autofocus:[4],clearOnEdit:[1028,"clear-on-edit"],debounce:[2],disabled:[4],icon:[1],inputmode:[1],enterkeyhint:[1],maxlength:[2],minlength:[2],name:[1],placeholder:[1],readonly:[4],required:[4],spellcheck:[4],state:[513],cols:[2],rows:[2],wrap:[1],autoGrow:[4,"auto-grow"],value:[1025],hasFocus:[32],fitContent:[64],setFocus:[64],setBlur:[64],getInputElement:[64]}]]],["p-474d6601",[[1,"wcs-action-bar",{gutter:[4],hasTabs:[32]}]]],["p-b7184d59",[[1,"wcs-app"]]],["p-9ba52bc4",[[1,"wcs-badge",{shape:[1],color:[1]}]]],["p-f9944bde",[[1,"wcs-card",{mode:[1537]}]]],["p-e0163de8",[[1,"wcs-card-body"]]],["p-db68379f",[[1,"wcs-com-nav",{appName:[1,"app-name"]}]]],["p-1f5aed36",[[1,"wcs-com-nav-category",{label:[1],categoryOpen:[32],close:[64],open:[64]},[[8,"click","onWindowClickEvent"],[8,"wcsCategoryOpened","onSubmenuOpened"]]]]],["p-8864a491",[[1,"wcs-com-nav-submenu",{label:[1],panelTitle:[1,"panel-title"],panelDescription:[1,"panel-description"],menuOpen:[32],close:[64],open:[64]},[[8,"click","onWindowClickEvent"],[8,"wcsSubmenuOpened","onSubmenuOpened"],[0,"wcsCategoryItemClicked","wcsCategoryItemClickedHandler"]]]]],["p-fa173947",[[1,"wcs-divider"]]],["p-1dce7e63",[[4,"wcs-dropdown-item",null,[[1,"mousedown","onMouseDown"]]]]],["p-60b51967",[[1,"wcs-field"]]],["p-26b5c0a3",[[1,"wcs-field-content"]]],["p-dc817204",[[1,"wcs-field-label"]]],["p-e9ce507c",[[1,"wcs-footer"]]],["p-e4236d32",[[1,"wcs-galactic",{text:[1],show:[32]}]]],["p-bef44630",[[1,"wcs-grid-column",{path:[1],name:[1],sort:[4],sortFn:[16],formatter:[16],sortOrder:[1537,"sort-order"],width:[1],customCells:[4,"custom-cells"],hidden:[4]}]]],["p-688fea65",[[1,"wcs-grid-custom-cell",{columnId:[1,"column-id"],rowId:[8,"row-id"]}]]],["p-dbbc3f58",[[1,"wcs-header"]]],["p-979dfd78",[[1,"wcs-hint",{small:[1540]}]]],["p-65c5ccc5",[[0,"wcs-icon",{icon:[1],size:[1]}]]],["p-600a9cc0",[[1,"wcs-label",{required:[516]}]]],["p-2e6265dc",[[1,"wcs-list-item",{activated:[1028]}]]],["p-a1ee1551",[[1,"wcs-list-item-properties"]]],["p-716d5921",[[1,"wcs-list-item-property"]]],["p-febe9ccc",[[1,"wcs-nav"]]],["p-e43358e4",[[4,"wcs-nav-item",{text:[513],href:[1537]}]]],["p-55fdc284",[[1,"wcs-progress-radial",{size:[2],showLabel:[4,"show-label"],value:[2]}]]],["p-15008e35",[[1,"wcs-radio-group",{value:[8],name:[520],mode:[513]},[[0,"wcsRadioClick","selectedOptionChanged"]]]]],["p-8f0f9868",[[1,"wcs-switch",{name:[1],checked:[1028]}]]],["p-5b35b232",[[1,"wcs-tab",{header:[1537],itemKey:[8,"item-key"]}]]],["p-03b2e238",[[1,"wcs-tabs",{align:[1537],selectedIndex:[2,"selected-index"],selectedKey:[8,"selected-key"],headersOnly:[4,"headers-only"],gutter:[4],headers:[32],currentActiveTabIndex:[32]},[[0,"tabLoaded","onTabLoaded"]]]]],["p-17c6db7f",[[1,"wcs-tooltip",{for:[513],position:[513]}]]],["p-8137f075",[[1,"wcs-progress-bar",{small:[1028],showLabel:[1028,"show-label"],value:[1026]}]]],["p-e486647c",[[1,"wcs-radio",{mode:[513],value:[1544],label:[1537],checked:[1540],disabled:[1028]}]]],["p-3d10b02a",[[4,"wcs-select-option",{disabled:[1540],selected:[1540],value:[8],chipColor:[1,"chip-color"],chipBackgroundColor:[1,"chip-background-color"],multiple:[1540]},[[1,"mousedown","onMouseDown"]]],[1,"wcs-select",{value:[1032],placeholder:[1537],disabled:[1028],multiple:[516],chips:[516],name:[1],compareWith:[16],expanded:[32],hasLoaded:[32],displayText:[32],focused:[32],overlayDirection:[32],open:[64],close:[64]},[[1,"mousedown","onMouseDown"],[8,"click","onWindowClickEvent"],[0,"wcsSelectOptionClick","selectedOptionChanged"]]]]],["p-a5a1b27c",[[1,"wcs-error"],[1,"wcs-form-field",{isError:[1540,"is-error"],icon:[8],hasPrefix:[32],hasSuffix:[32],spiedElement:[32]}]]],["p-91a2de07",[[1,"wcs-spinner",{mode:[1537]}]]],["p-4338f140",[[1,"wcs-button",{type:[1025],href:[1],disabled:[516],ripple:[4],shape:[513],mode:[513]},[[0,"click","onClick"]]]]],["p-62f7ab6d",[[1,"wcs-checkbox",{name:[1],indeterminate:[1540],checked:[1540],labelAlignment:[1537,"label-alignment"]}]]],["p-64523291",[[1,"wcs-mat-icon",{icon:[1],size:[1],family:[1],familyFile:[32],familyClass:[32]}]]]],e)));
|
package/loader/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wcs-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Web components SNCF",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -12,38 +12,44 @@
|
|
|
12
12
|
"unpkg": "dist/wcs/wcs.js",
|
|
13
13
|
"files": [
|
|
14
14
|
"dist/",
|
|
15
|
-
"loader/"
|
|
16
|
-
"schematics/"
|
|
15
|
+
"loader/"
|
|
17
16
|
],
|
|
18
17
|
"scripts": {
|
|
19
18
|
"build:stencil": "stencil build",
|
|
20
|
-
"build
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"watch:stencil": "stencil build --dev --serve --watch",
|
|
24
|
-
"watch:examples": "node build.js --watch",
|
|
25
|
-
"start": "node run.js",
|
|
19
|
+
"build": "stencil build && npm run build-storybook",
|
|
20
|
+
"watch:stencil": "stencil build --dev --watch",
|
|
21
|
+
"start": "concurrently --names \"Stencil,Storybook\" -c \"bgBlue.bold,bgMagenta.bold\" \"stencil build --dev --watch\" \"npm run storybook\"",
|
|
26
22
|
"test": "stencil test --spec --e2e",
|
|
27
23
|
"test:watch": "stencil test --spec --e2e --watchAll",
|
|
28
24
|
"update-version": "node scripts/update-version.js",
|
|
29
|
-
"update-develop": "node scripts/update-develop-from-master.js"
|
|
25
|
+
"update-develop": "node scripts/update-develop-from-master.js",
|
|
26
|
+
"storybook": "start-storybook -s ./dist/wcs,./src/assets/fonts -p 6006",
|
|
27
|
+
"build-storybook": "build-storybook -s ./dist/wcs,./src/assets/fonts"
|
|
30
28
|
},
|
|
31
29
|
"devDependencies": {
|
|
32
30
|
"@angular/cli": "^10.1.1",
|
|
33
|
-
"@
|
|
31
|
+
"@babel/core": "^7.16.0",
|
|
32
|
+
"@material/ripple": "13.0.0",
|
|
34
33
|
"@stencil/angular-output-target": "0.1.0",
|
|
35
|
-
"@stencil/core": "2.
|
|
36
|
-
"@stencil/sass": "1.
|
|
34
|
+
"@stencil/core": "2.10.0",
|
|
35
|
+
"@stencil/sass": "1.5.2",
|
|
36
|
+
"@storybook/addon-actions": "^6.3.12",
|
|
37
|
+
"@storybook/addon-docs": "^6.3.12",
|
|
38
|
+
"@storybook/addon-essentials": "^6.3.12",
|
|
39
|
+
"@storybook/addon-links": "^6.3.12",
|
|
40
|
+
"@storybook/web-components": "^6.3.12",
|
|
37
41
|
"@types/dom-inputevent": "^1.0.5",
|
|
38
42
|
"@types/glob": "^7.1.3",
|
|
39
43
|
"@types/jest": "26.0.7",
|
|
40
44
|
"@types/puppeteer": "^3.0.1",
|
|
45
|
+
"babel-loader": "^8.2.3",
|
|
41
46
|
"chokidar": "^3.4.1",
|
|
42
47
|
"concurrently": "^5.2.0",
|
|
43
48
|
"glob": "^7.1.6",
|
|
44
49
|
"highlight.js": "^10.1.2",
|
|
45
50
|
"jest": "^26.1.0",
|
|
46
51
|
"jest-cli": "^26.1.0",
|
|
52
|
+
"lit-html": "^2.0.1",
|
|
47
53
|
"markdown-it": "^11.0.0",
|
|
48
54
|
"mem": "^6.1.0",
|
|
49
55
|
"puppeteer": "^5.2.1",
|
|
@@ -52,14 +58,11 @@
|
|
|
52
58
|
"tslib": "^2.0.0",
|
|
53
59
|
"tslint": "^6.1.2",
|
|
54
60
|
"tslint-ionic-rules": "^0.0.21",
|
|
55
|
-
"typescript": "~3.9.7"
|
|
61
|
+
"typescript": "~3.9.7",
|
|
62
|
+
"webpack-watch-files-plugin": "^1.2.0"
|
|
56
63
|
},
|
|
57
64
|
"dependencies": {
|
|
58
|
-
"@angular-devkit/core": "^10.0.4",
|
|
59
|
-
"@angular-devkit/schematics": "^10.0.4",
|
|
60
|
-
"@angular/cdk": "^10.1.1",
|
|
61
65
|
"@popperjs/core": "^2.9.3",
|
|
62
|
-
"@schematics/angular": "^10.0.4",
|
|
63
66
|
"chalk": "^4.1.0",
|
|
64
67
|
"lodash": "^4.17.21",
|
|
65
68
|
"uuid": "^8.3.2",
|
|
@@ -71,6 +74,5 @@
|
|
|
71
74
|
},
|
|
72
75
|
"author": "SNCF",
|
|
73
76
|
"private": false,
|
|
74
|
-
"license": "MIT"
|
|
75
|
-
"schematics": "./schematics/collection.json"
|
|
77
|
+
"license": "MIT"
|
|
76
78
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,g as a}from"./p-f73f235b.js";const r=class{constructor(t){e(this,t)}render(){return[t("slot",{name:"header"}),t("slot",{name:"sidebar"}),t("slot",{name:"content"})]}get el(){return a(this)}};r.style=':host{background-color:#f2f2f2;margin:0;display:grid;grid-template-areas:"header header" "sidebar content";grid-template-columns:min-content auto;overflow-y:hidden}::slotted(main){padding:8px;grid-area:content;overflow-y:scroll;height:calc(100vh - 64px)}::slotted(wcs-header){grid-area:header}@media screen and (max-width: 768px){:host{grid-template-areas:"header" "sidebar" "content";grid-template-columns:auto}::slotted(header){position:relative}::slotted(main){overflow-y:visible;height:initial}}';export{r as wcs_app}
|