@fluid-topics/ft-search-locale-selector 1.0.45 → 1.0.47
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.
|
@@ -709,7 +709,7 @@ const ne=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===ne)return null==t?void
|
|
|
709
709
|
<div></div>
|
|
710
710
|
<div></div>
|
|
711
711
|
</div>
|
|
712
|
-
`}}me.styles=jt,i.customElement("ft-loader")(me),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(ve||(ve={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(xe||(xe={})),new Map([...["abw"].map((t=>[t,xe.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,xe.AUDIO])),...["avi"].map((t=>[t,xe.AVI])),...["chm","xhs"].map((t=>[t,xe.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,xe.CODE])),...["csv"].map((t=>[t,xe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,xe.DITA])),...["epub"].map((t=>[t,xe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,xe.EXCEL])),...["flac"].map((t=>[t,xe.FLAC])),...["gif"].map((t=>[t,xe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,xe.GZIP])),...["html","htm","xhtml"].map((t=>[t,xe.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,xe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,xe.JPEG])),...["json"].map((t=>[t,xe.JSON])),...["m4a","m4p"].map((t=>[t,xe.M4A])),...["mov","qt"].map((t=>[t,xe.MOV])),...["mp3"].map((t=>[t,xe.MP3])),...["mp4","m4v"].map((t=>[t,xe.MP4])),...["ogg","oga"].map((t=>[t,xe.OGG])),...["pdf","ps"].map((t=>[t,xe.PDF])),...["png"].map((t=>[t,xe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,xe.POWERPOINT])),...["rar"].map((t=>[t,xe.RAR])),...["stp"].map((t=>[t,xe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,xe.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,xe.VIDEO])),...["wav"].map((t=>[t,xe.WAV])),...["wma"].map((t=>[t,xe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,xe.WORD])),...["xml","xsl","rdf"].map((t=>[t,xe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,xe.YAML])),...["zip"].map((t=>[t,xe.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ge||(ge={}));var $e=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class we extends i.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(ge).includes(this.variant)?this.variant:ge.fluid_topics,i=t!==ge.material||!!this.value;return e.html`
|
|
712
|
+
`}}me.styles=jt,i.customElement("ft-loader")(me),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(ve||(ve={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(xe||(xe={})),new Map([...["abw"].map((t=>[t,xe.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,xe.AUDIO])),...["avi"].map((t=>[t,xe.AVI])),...["chm","xhs"].map((t=>[t,xe.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,xe.CODE])),...["csv"].map((t=>[t,xe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,xe.DITA])),...["epub"].map((t=>[t,xe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,xe.EXCEL])),...["flac"].map((t=>[t,xe.FLAC])),...["gif"].map((t=>[t,xe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,xe.GZIP])),...["html","htm","xhtml"].map((t=>[t,xe.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,xe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,xe.JPEG])),...["json"].map((t=>[t,xe.JSON])),...["m4a","m4p"].map((t=>[t,xe.M4A])),...["mov","qt"].map((t=>[t,xe.MOV])),...["mp3"].map((t=>[t,xe.MP3])),...["mp4","m4v"].map((t=>[t,xe.MP4])),...["ogg","oga"].map((t=>[t,xe.OGG])),...["pdf","ps"].map((t=>[t,xe.PDF])),...["png"].map((t=>[t,xe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,xe.POWERPOINT])),...["rar"].map((t=>[t,xe.RAR])),...["stp"].map((t=>[t,xe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,xe.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,xe.VIDEO])),...["wav"].map((t=>[t,xe.WAV])),...["wma"].map((t=>[t,xe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,xe.WORD])),...["xml","xsl","rdf"].map((t=>[t,xe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,xe.YAML])),...["zip"].map((t=>[t,xe.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ge||(ge={}));var $e=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class we extends i.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(ge).includes(this.variant)?this.variant:ge.fluid_topics,i=t!==ge.material||!!this.value;return e.html`
|
|
713
713
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
714
714
|
${r.unsafeHTML(this.resolvedIcon)}
|
|
715
715
|
<slot ?hidden=${i}></slot>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
|
|
16
16
|
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);u(r,l,a);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=i.call(o,t);h||(h=f(t),e.call(o,t,h)),this===window.customElements&&(s.set(r,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),p(t,c,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,r=o._getDefinition(e);return r?p(i,r):n.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,r),i.call(this,n,t,r)}else o.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},p=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const y=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(jn){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e extends Error{constructor(t,e,i){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=i}}class i extends Promise{constructor(t){super(((i,o)=>t((t=>{this.isCanceled?o(new e("Promise has been canceled",t)):i(t)}),(t=>{this.isCanceled?o(new e("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class o{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof i&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=(t=>new i(((e,i)=>t.then(e).catch(i))))(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class r{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
17
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);u(r,l,a);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=i.call(o,t);h||(h=f(t),e.call(o,t,h)),this===window.customElements&&(s.set(r,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),p(t,c,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,r=o._getDefinition(e);return r?p(i,r):n.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,r),i.call(this,n,t,r)}else o.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},p=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const y=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Cn){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e extends Error{constructor(t,e,i){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=i}}class i extends Promise{constructor(t){super(((i,o)=>t((t=>{this.isCanceled?o(new e("Promise has been canceled",t)):i(t)}),(t=>{this.isCanceled?o(new e("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class o{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof i&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=(t=>new i(((e,i)=>t.then(e).catch(i))))(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class r{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
18
|
/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2017 Google LLC
|
|
@@ -60,19 +60,19 @@ var h;const f=null!=(null===(h=window.HTMLSlotElement)||void 0===h?void 0:h.prot
|
|
|
60
60
|
* @license
|
|
61
61
|
* Copyright 2017 Google LLC
|
|
62
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
*/;var E;const
|
|
63
|
+
*/;var E;const C=window,j=C.trustedTypes,R=j?j.emptyScript:"",N=C.reactiveElementPolyfillSupport,M={toAttribute(t,e){switch(e){case Boolean:t=t?R:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},A=(t,e)=>e!==t&&(e==e||t==t),z={attribute:!0,type:String,converter:M,reflect:!1,hasChanged:A};let P=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=z){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||z}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(S(t))}else void 0!==t&&e.push(S(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return k(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=z){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const n=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:M).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:M;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||A)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
68
|
*/
|
|
69
|
-
var U;P.finalized=!0,P.elementProperties=new Map,P.elementStyles=[],P.shadowRootOptions={mode:"open"},null==N||N({ReactiveElement:P}),(null!==(E=
|
|
69
|
+
var U;P.finalized=!0,P.elementProperties=new Map,P.elementStyles=[],P.shadowRootOptions={mode:"open"},null==N||N({ReactiveElement:P}),(null!==(E=C.reactiveElementVersions)&&void 0!==E?E:C.reactiveElementVersions=[]).push("1.6.1");const I=window,B=I.trustedTypes,F=B?B.createPolicy("lit-html",{createHTML:t=>t}):void 0,L="$lit$",T=`lit$${(Math.random()+"").slice(9)}$`,_="?"+T,D=`<${_}>`,W=document,H=()=>W.createComment(""),K=t=>null===t||"object"!=typeof t&&"function"!=typeof t,V=Array.isArray,Z=t=>V(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),q="[ \t\n\f\r]",J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,X=/-->/g,G=/>/g,Y=RegExp(`>|${q}(?:([^\\s"'>=/]+)(${q}*=${q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Q=/'/g,tt=/"/g,et=/^(?:script|style|textarea|title)$/i,it=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),ot=Symbol.for("lit-noChange"),rt=Symbol.for("lit-nothing"),nt=new WeakMap,st=W.createTreeWalker(W,129,null,!1),at=(t,e)=>{const i=t.length-1,o=[];let r,n=2===e?"<svg>":"",s=J;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(s.lastIndex=h,l=s.exec(i),null!==l);)h=s.lastIndex,s===J?"!--"===l[1]?s=X:void 0!==l[1]?s=G:void 0!==l[2]?(et.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=Y):void 0!==l[3]&&(s=Y):s===Y?">"===l[0]?(s=null!=r?r:J,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?Y:'"'===l[3]?tt:Q):s===tt||s===Q?s=Y:s===X||s===G?s=J:(s=Y,r=void 0);const f=s===Y&&t[e+1].startsWith("/>")?" ":"";n+=s===J?i+D:c>=0?(o.push(a),i.slice(0,c)+L+i.slice(c)+T+f):i+T+(-2===c?(o.push(void 0),e):f)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==F?F.createHTML(a):a,o]};class lt{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,c]=at(t,e);if(this.el=lt.createElement(l,i),st.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=st.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(L)||e.startsWith(T)){const i=c[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+L).split(T),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?dt:"?"===e[1]?vt:"@"===e[1]?bt:ut})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(et.test(o.tagName)){const t=o.textContent.split(T),e=t.length-1;if(e>0){o.textContent=B?B.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],H()),st.nextNode(),a.push({type:2,index:++r});o.append(t[e],H())}}}else if(8===o.nodeType)if(o.data===_)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(T,t+1));)a.push({type:7,index:r}),t+=T.length-1}r++}}static createElement(t,e){const i=W.createElement("template");return i.innerHTML=t,i}}function ct(t,e,i=t,o){var r,n,s,a;if(e===ot)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const c=K(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=ct(t,l._$AS(t,e.values),l,o)),e}let ht=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:W).importNode(i,!0);st.currentNode=r;let n=st.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new ft(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new yt(n,this,t)),this._$AV.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(n=st.nextNode(),s++)}return r}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},ft=class t{constructor(t,e,i,o){var r;this.type=2,this._$AH=rt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ct(this,t,e),K(t)?t===rt||null==t||""===t?(this._$AH!==rt&&this._$AR(),this._$AH=rt):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Z(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==rt&&K(this._$AH)?this._$AA.nextSibling.data=t:this.$(W.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=lt.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(i);else{const t=new ht(r,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=nt.get(t.strings);return void 0===e&&nt.set(t.strings,e=new lt(t)),e}T(e){V(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let o,r=0;for(const n of e)r===i.length?i.push(o=new t(this.k(H()),this.k(H()),this,this.options)):o=i[r],o._$AI(n),r++;r<i.length&&(this._$AR(o&&o._$AB.nextSibling,r),i.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}},ut=class{constructor(t,e,i,o,r){this.type=1,this._$AH=rt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=rt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let n=!1;if(void 0===r)t=ct(this,t,e,0),n=!K(t)||t!==this._$AH&&t!==ot,n&&(this._$AH=t);else{const o=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=ct(this,o[i+s],e,s),a===ot&&(a=this._$AH[s]),n||(n=!K(a)||a!==this._$AH[s]),a===rt?t=rt:t!==rt&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}n&&!o&&this.j(t)}j(t){t===rt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},dt=class extends ut{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===rt?void 0:t}};const pt=B?B.emptyScript:"";let vt=class extends ut{constructor(){super(...arguments),this.type=4}j(t){t&&t!==rt?this.element.setAttribute(this.name,pt):this.element.removeAttribute(this.name)}},bt=class extends ut{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=ct(this,t,e,0))&&void 0!==i?i:rt)===ot)return;const o=this._$AH,r=t===rt&&o!==rt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==rt&&(o===rt||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}},yt=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ct(this,t)}};const gt={O:L,P:T,A:_,C:1,M:at,L:ht,D:Z,R:ct,I:ft,V:ut,H:vt,N:bt,U:dt,F:yt},xt=I.litHtmlPolyfillSupport;null==xt||xt(lt,ft),(null!==(U=I.litHtmlVersions)&&void 0!==U?U:I.litHtmlVersions=[]).push("2.7.3");
|
|
70
70
|
/**
|
|
71
71
|
* @license
|
|
72
72
|
* Copyright 2017 Google LLC
|
|
73
73
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
74
74
|
*/
|
|
75
|
-
var mt,wt;let $t=class extends P{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=n._$litPart$;if(void 0===s){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;n._$litPart$=s=new ft(e.insertBefore(H(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return ot}};$t.finalized=!0,$t._$litElement$=!0,null===(mt=globalThis.litElementHydrateSupport)||void 0===mt||mt.call(globalThis,{LitElement:$t});const Ot=globalThis.litElementPolyfillSupport;null==Ot||Ot({LitElement:$t}),(null!==(wt=globalThis.litElementVersions)&&void 0!==wt?wt:globalThis.litElementVersions=[]).push("3.3.2");class kt{static create(t,e,i){let o=t=>$(null!=t?t:i),r=O`var(${$(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>O`var(${$(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=O`var(${$(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>O`var(${$(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):$(null!=e?e:t.defaultValue),o=O`var(${$(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>O`var(${$(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function St(t,e){return $(`${t.name}: ${e}`)}const Et={colorPrimary:kt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:kt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:kt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:kt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:kt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:kt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:kt.create("--ft-color-error","COLOR","#B00020"),colorOutline:kt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:kt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:kt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:kt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:kt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:kt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:kt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:kt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:kt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:kt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:kt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:kt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:kt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:kt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:kt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:kt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:kt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:kt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:kt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:kt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:kt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:kt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:kt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:kt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:kt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:kt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:kt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:kt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:kt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:kt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:kt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:kt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:kt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:kt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:kt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:kt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:kt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:kt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:kt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:kt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:kt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:kt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:kt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:kt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:kt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:kt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:kt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:kt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:kt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:kt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:kt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:kt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:kt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:kt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:kt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class jt extends $t{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return k(i,t.elementStyles),i}}var Ct,Rt=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const Nt=Symbol("constructorPrototype"),Mt=Symbol("constructorName"),At=Symbol("exportpartsDebouncer");class zt extends jt{constructor(){super(),this[Ct]=new r(5),this[Mt]=this.constructor.name,this[Nt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Mt]&&Object.setPrototypeOf(this,this[Nt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[At].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,n,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Ct=At,Rt([s()],zt.prototype,"exportpartsPrefix",void 0),Rt([b([])],zt.prototype,"exportpartsPrefixes",void 0),Rt([s()],zt.prototype,"customStylesheet",void 0);const Pt=O`
|
|
75
|
+
var mt,wt;let $t=class extends P{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=n._$litPart$;if(void 0===s){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;n._$litPart$=s=new ft(e.insertBefore(H(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return ot}};$t.finalized=!0,$t._$litElement$=!0,null===(mt=globalThis.litElementHydrateSupport)||void 0===mt||mt.call(globalThis,{LitElement:$t});const Ot=globalThis.litElementPolyfillSupport;null==Ot||Ot({LitElement:$t}),(null!==(wt=globalThis.litElementVersions)&&void 0!==wt?wt:globalThis.litElementVersions=[]).push("3.3.2");class kt{static create(t,e,i){let o=t=>$(null!=t?t:i),r=O`var(${$(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>O`var(${$(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=O`var(${$(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>O`var(${$(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):$(null!=e?e:t.defaultValue),o=O`var(${$(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>O`var(${$(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function St(t,e){return $(`${t.name}: ${e}`)}const Et={colorPrimary:kt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:kt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:kt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:kt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:kt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:kt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:kt.create("--ft-color-error","COLOR","#B00020"),colorOutline:kt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:kt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:kt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:kt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:kt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:kt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:kt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:kt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:kt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:kt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:kt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:kt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:kt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:kt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:kt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:kt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:kt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:kt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:kt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:kt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:kt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:kt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:kt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:kt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:kt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:kt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:kt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:kt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:kt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:kt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:kt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:kt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:kt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:kt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:kt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:kt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:kt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:kt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:kt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:kt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:kt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:kt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:kt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:kt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:kt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:kt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:kt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:kt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:kt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:kt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:kt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:kt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:kt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:kt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:kt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class Ct extends $t{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return k(i,t.elementStyles),i}}var jt,Rt=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const Nt=Symbol("constructorPrototype"),Mt=Symbol("constructorName"),At=Symbol("exportpartsDebouncer");class zt extends Ct{constructor(){super(),this[jt]=new r(5),this[Mt]=this.constructor.name,this[Nt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Mt]&&Object.setPrototypeOf(this,this[Nt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[At].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,n,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}jt=At,Rt([s()],zt.prototype,"exportpartsPrefix",void 0),Rt([b([])],zt.prototype,"exportpartsPrefixes",void 0),Rt([s()],zt.prototype,"customStylesheet",void 0);const Pt=O`
|
|
76
76
|
.ft-no-text-select {
|
|
77
77
|
-webkit-touch-callout: none;
|
|
78
78
|
-webkit-user-select: none;
|
|
@@ -104,7 +104,7 @@ var mt,wt;let $t=class extends P{constructor(){super(...arguments),this.renderOp
|
|
|
104
104
|
display: inline-block;
|
|
105
105
|
width: 0;
|
|
106
106
|
}
|
|
107
|
-
`;class It{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,o;t=this.resolvePluralKey(t,e);let r=null!==(o=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),r}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function Bt(t){for(var e=arguments.length,i=Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ft(t){return!!t&&!!t[ke]}function Lt(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===Se}(t)||Array.isArray(t)||!!t[Oe]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Oe])||Kt(t)||Vt(t))}function Tt(t,e,i){void 0===i&&(i=!1),0===_t(t)?(i?Object.keys:Ee)(t).forEach((function(o){i&&"symbol"==typeof o||e(o,t[o],t)})):t.forEach((function(i,o){return e(o,i,t)}))}function _t(t){var e=t[ke];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Kt(t)?2:Vt(t)?3:0}function Dt(t,e){return 2===_t(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Wt(t,e,i){var o=_t(t);2===o?t.set(e,i):3===o?t.add(i):t[e]=i}function Ht(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Kt(t){return xe&&t instanceof Map}function Vt(t){return me&&t instanceof Set}function Zt(t){return t.o||t.t}function qt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=je(t);delete e[ke];for(var i=Ee(e),o=0;o<i.length;o++){var r=i[o],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function Jt(t,e){return void 0===e&&(e=!1),Gt(t)||Ft(t)||!Lt(t)||(_t(t)>1&&(t.set=t.add=t.clear=t.delete=Xt),Object.freeze(t),e&&Tt(t,(function(t,e){return Jt(e,!0)}),!0)),t}function Xt(){Bt(2)}function Gt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Yt(t){var e=Ce[t];return e||Bt(18,t),e}function Qt(){return ye}function te(t,e){e&&(Yt("Patches"),t.u=[],t.s=[],t.v=e)}function ee(t){ie(t),t.p.forEach(re),t.p=null}function ie(t){t===ye&&(ye=t.l)}function oe(t){return ye={p:[],l:ye,h:t,m:!0,_:0}}function re(t){var e=t[ke];0===e.i||1===e.i?e.j():e.g=!0}function ne(t,e){e._=e.p.length;var i=e.p[0],o=void 0!==t&&t!==i;return e.h.O||Yt("ES5").S(e,t,o),o?(i[ke].P&&(ee(e),Bt(4)),Lt(t)&&(t=se(e,t),e.l||le(e,t)),e.u&&Yt("Patches").M(i[ke].t,t,e.u,e.s)):t=se(e,i,[]),ee(e),e.u&&e.v(e.u,e.s),t!==$e?t:void 0}function se(t,e,i){if(Gt(e))return e;var o=e[ke];if(!o)return Tt(e,(function(r,n){return ae(t,o,e,r,n,i)}),!0),e;if(o.A!==t)return e;if(!o.P)return le(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var r=4===o.i||5===o.i?o.o=qt(o.k):o.o,n=r,s=!1;3===o.i&&(n=new Set(r),r.clear(),s=!0),Tt(n,(function(e,n){return ae(t,o,r,e,n,i,s)})),le(t,r,!1),i&&t.u&&Yt("Patches").N(o,i,t.u,t.s)}return o.o}function ae(t,e,i,o,r,n,s){if(Ft(r)){var a=se(t,r,n&&e&&3!==e.i&&!Dt(e.R,o)?n.concat(o):void 0);if(Wt(i,o,a),!Ft(a))return;t.m=!1}else s&&i.add(r);if(Lt(r)&&!Gt(r)){if(!t.h.D&&t._<1)return;se(t,r),e&&e.A.l||le(t,r)}}function le(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&Jt(e,i)}function ce(t,e){var i=t[ke];return(i?Zt(i):t)[e]}function he(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var o=Object.getOwnPropertyDescriptor(i,e);if(o)return o;i=Object.getPrototypeOf(i)}}function fe(t){t.P||(t.P=!0,t.l&&fe(t.l))}function ue(t){t.o||(t.o=qt(t.t))}function de(t,e,i){var o=Kt(e)?Yt("MapSet").F(e,i):Vt(e)?Yt("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),o={i:i?1:0,A:e?e.A:Qt(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=o,n=Re;i&&(r=[o],n=Ne);var s=Proxy.revocable(r,n),a=s.revoke,l=s.proxy;return o.k=l,o.j=a,l}(e,i):Yt("ES5").J(e,i);return(i?i.A:Qt()).p.push(o),o}function pe(t){return Ft(t)||Bt(22,t),function t(e){if(!Lt(e))return e;var i,o=e[ke],r=_t(e);if(o){if(!o.P&&(o.i<4||!Yt("ES5").K(o)))return o.t;o.I=!0,i=ve(e,r),o.I=!1}else i=ve(e,r);return Tt(i,(function(e,r){o&&function(t,e){return 2===_t(t)?t.get(e):t[e]}(o.t,e)===r||Wt(i,e,t(r))})),3===r?new Set(i):i}(t)}function ve(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return qt(t)}var be,ye,ge="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),xe="undefined"!=typeof Map,me="undefined"!=typeof Set,we="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,$e=ge?Symbol.for("immer-nothing"):((be={})["immer-nothing"]=!0,be),Oe=ge?Symbol.for("immer-draftable"):"__$immer_draftable",ke=ge?Symbol.for("immer-state"):"__$immer_state",Se=""+Object.prototype.constructor,Ee="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,je=Object.getOwnPropertyDescriptors||function(t){var e={};return Ee(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},Ce={},Re={get:function(t,e){if(e===ke)return t;var i=Zt(t);if(!Dt(i,e))return function(t,e,i){var o,r=he(e,i);return r?"value"in r?r.value:null===(o=r.get)||void 0===o?void 0:o.call(t.k):void 0}(t,i,e);var o=i[e];return t.I||!Lt(o)?o:o===ce(t.t,e)?(ue(t),t.o[e]=de(t.A.h,o,t)):o},has:function(t,e){return e in Zt(t)},ownKeys:function(t){return Reflect.ownKeys(Zt(t))},set:function(t,e,i){var o=he(Zt(t),e);if(null==o?void 0:o.set)return o.set.call(t.k,i),!0;if(!t.P){var r=ce(Zt(t),e),n=null==r?void 0:r[ke];if(n&&n.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Ht(i,r)&&(void 0!==i||Dt(t.t,e)))return!0;ue(t),fe(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ce(t.t,e)||e in t.t?(t.R[e]=!1,ue(t),fe(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=Zt(t),o=Reflect.getOwnPropertyDescriptor(i,e);return o?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:o.enumerable,value:i[e]}:o},defineProperty:function(){Bt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Bt(12)}},Ne={};Tt(Re,(function(t,e){Ne[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ne.deleteProperty=function(t,e){return Ne.set.call(this,t,e,void 0)},Ne.set=function(t,e,i){return Re.set.call(this,t[0],e,i,t[0])};var Me=function(){function t(t){var e=this;this.O=we,this.D=!0,this.produce=function(t,i,o){if("function"==typeof t&&"function"!=typeof i){var r=i;i=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var o=arguments.length,s=Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];return n.produce(t,(function(t){var o;return(o=i).call.apply(o,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&Bt(6),void 0!==o&&"function"!=typeof o&&Bt(7),Lt(t)){var a=oe(e),l=de(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?ee(a):ie(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return te(a,o),ne(t,a)}),(function(t){throw ee(a),t})):(te(a,o),ne(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===$e&&(s=void 0),e.D&&Jt(s,!0),o){var h=[],f=[];Yt("Patches").M(t,s,h,f),o(h,f)}return s}Bt(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(r))}))};var o,r,n=e.produce(t,i,(function(t,e){o=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,o,r]})):[n,o,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Lt(t)||Bt(8),Ft(t)&&(t=pe(t));var e=oe(this),i=de(this,t,void 0);return i[ke].C=!0,ie(e),i},e.finishDraft=function(t,e){var i=(t&&t[ke]).A;return te(i,e),ne(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!we&&Bt(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var o=e[i];if(0===o.path.length&&"replace"===o.op){t=o.value;break}}i>-1&&(e=e.slice(i+1));var r=Yt("Patches").$;return Ft(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Ae=new Me,ze=Ae.produce;function Pe(t){return Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pe(t)}function Ue(t){var e=function(t,e){if("object"!==Pe(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!==Pe(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Pe(e)?e:String(e)}function Ie(t,e,i){return(e=Ue(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Be(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function Fe(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Be(Object(i),!0).forEach((function(e){Ie(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Be(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function Le(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Ae.produceWithPatches.bind(Ae),Ae.setAutoFreeze.bind(Ae),Ae.setUseProxies.bind(Ae),Ae.applyPatches.bind(Ae),Ae.createDraft.bind(Ae),Ae.finishDraft.bind(Ae);var Te="function"==typeof Symbol&&Symbol.observable||"@@observable",_e=function(){return Math.random().toString(36).substring(7).split("").join(".")},De={INIT:"@@redux/INIT"+_e(),REPLACE:"@@redux/REPLACE"+_e(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+_e()}};function We(t,e,i){var o;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(Le(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(Le(1));return i(We)(t,e)}if("function"!=typeof t)throw new Error(Le(2));var r=t,n=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function h(){if(l)throw new Error(Le(3));return n}function f(t){if("function"!=typeof t)throw new Error(Le(4));if(l)throw new Error(Le(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(Le(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Le(7));if(void 0===t.type)throw new Error(Le(8));if(l)throw new Error(Le(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return u({type:De.INIT}),(o={dispatch:u,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Le(10));r=t,u({type:De.REPLACE})}})[Te]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Le(11));function i(){t.next&&t.next(h())}return i(),{unsubscribe:e(i)}}})[Te]=function(){return this},t},o}function He(t){for(var e=Object.keys(t),i={},o=0;o<e.length;o++){var r=e[o];"function"==typeof t[r]&&(i[r]=t[r])}var n,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:De.INIT}))throw new Error(Le(12));if(void 0===i(void 0,{type:De.PROBE_UNKNOWN_ACTION()}))throw new Error(Le(13))}))}(i)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var o=!1,r={},a=0;a<s.length;a++){var l=s[a],c=i[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(Le(14));r[l]=f,o=o||f!==h}return(o=o||s.length!==Object.keys(t).length)?r:t}}function Ke(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Ve(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),o=function(){throw new Error(Le(15))},r={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return o=Ke.apply(void 0,n)(i.dispatch),Fe(Fe({},i),{},{dispatch:o})}}}function Ze(t){return function(e){var i=e.dispatch,o=e.getState;return function(e){return function(r){return"function"==typeof r?r(i,o,t):e(r)}}}}var qe=Ze();qe.withExtraArgument=Ze;var Je,Xe=qe,Ge=(Je=function(t,e){return Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},Je(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}Je(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),Ye=function(t,e){var i,o,r,n,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return function(a){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(r=2&n[0]?o.return:n[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,n[1])).done)return r;switch(o=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,o=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){s.label=n[1];break}if(6===n[0]&&s.label<r[1]){s.label=r[1],r=n;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(n);break}r[2]&&s.ops.pop(),s.trys.pop();continue}n=e.call(t,s)}catch(t){n=[6,t],o=0}finally{i=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}},Qe=function(t,e){for(var i=0,o=e.length,r=t.length;i<o;i++,r++)t[r]=e[i];return t},ti=Object.defineProperty,ei=Object.defineProperties,ii=Object.getOwnPropertyDescriptors,oi=Object.getOwnPropertySymbols,ri=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,si=function(t,e,i){return e in t?ti(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},ai=function(t,e){for(var i in e||(e={}))ri.call(e,i)&&si(t,i,e[i]);if(oi)for(var o=0,r=oi(e);o<r.length;o++){i=r[o];ni.call(e,i)&&si(t,i,e[i])}return t},li=function(t,e){return ei(t,ii(e))},ci="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ke:Ke.apply(null,arguments)};var hi=function(t){function e(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ge(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Qe([void 0],t[0].concat(this)))):new(e.bind.apply(e,Qe([void 0],t.concat(this))))},e}(Array),fi=function(t){function e(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ge(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Qe([void 0],t[0].concat(this)))):new(e.bind.apply(e,Qe([void 0],t.concat(this))))},e}(Array);function ui(t){return Lt(t)?ze(t,(function(){})):t}function di(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var o=new hi;i&&(!function(t){return"boolean"==typeof t}(i)?o.push(Xe.withExtraArgument(i.extraArgument)):o.push(Xe));return o}(t)}}function pi(t){var e,i=di(),o=t||{},r=o.reducer,n=void 0===r?void 0:r,s=o.middleware,a=void 0===s?i():s,l=o.devTools,c=void 0===l||l,h=o.preloadedState,f=void 0===h?void 0:h,u=o.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=He(n)}var p=a;"function"==typeof p&&(p=p(i));var v=Ve.apply(void 0,p),b=Ke;c&&(b=ci(ai({trace:!1},"object"==typeof c&&c)));var y=new fi(v),g=y;return Array.isArray(d)?g=Qe([v],d):"function"==typeof d&&(g=d(y)),We(e,f,b.apply(void 0,g))}function vi(t,e){function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(e){var r=e.apply(void 0,i);if(!r)throw new Error("prepareAction did not return an object");return ai(ai({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function bi(t){var e,i={},o=[],r={addCase:function(t,e){var o="string"==typeof t?t:t.type;if(o in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[o]=e,r},addMatcher:function(t,e){return o.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[i,o,e]}function yi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,o="function"==typeof t.initialState?t.initialState:ui(t.initialState),r=t.reducers||{},n=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?bi(t.extraReducers):[t.extraReducers],i=e[0],r=void 0===i?{}:i,n=e[1],s=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=ai(ai({},r),a);return function(t,e,i,o){void 0===i&&(i=[]);var r,n="function"==typeof e?bi(e):[e,i,o],s=n[0],a=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return ui(t())};else{var c=ui(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var i=Qe([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var o;if(Ft(t))return void 0===(o=i(t,e))?t:o;if(Lt(t))return ze(t,(function(t){return i(t,e)}));if(void 0===(o=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return o}return t}),t)}return h.getInitialState=r,h}(o,(function(t){for(var e in h)t.addCase(e,h[e]);for(var i=0,o=s;i<o.length;i++){var r=o[i];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var i,o,n=r[t],c=e+"/"+t;"reducer"in n?(i=n.reducer,o=n.prepare):i=n,s[t]=i,a[c]=i,l[t]=o?vi(c,o):vi(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var gi=["name","message","stack","code"],xi=function(t,e){this.payload=t,this.meta=e},mi=function(t,e){this.payload=t,this.meta=e},wi=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,o=gi;i<o.length;i++){var r=o[i];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function $i(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var o=vi(t+"/fulfilled",(function(t,e,i,o){return{payload:t,meta:li(ai({},o||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),r=vi(t+"/pending",(function(t,e,i){return{payload:void 0,meta:li(ai({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=vi(t+"/rejected",(function(t,e,o,r,n){return{payload:r,error:(i&&i.serializeError||wi)(t||"Rejected"),meta:li(ai({},n||{}),{arg:o,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var h,f=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new s;function d(t){h=t,u.abort()}var p=function(){return s=this,p=null,v=function(){var s,p,v,b,y,g;return Ye(this,(function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:l,extra:c}),null===(m=b)||"object"!=typeof m||"function"!=typeof m.then?[3,2]:[4,b];case 1:b=x.sent(),x.label=2;case 2:if(!1===b||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),a(r(f,t,null==(p=null==i?void 0:i.getPendingMeta)?void 0:p.call(i,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:f,signal:u.signal,abort:d,rejectWithValue:function(t,e){return new xi(t,e)},fulfillWithValue:function(t,e){return new mi(t,e)}})).then((function(e){if(e instanceof xi)throw e;return e instanceof mi?o(e.payload,f,t,e.meta):o(e,f,t)}))])];case 3:return v=x.sent(),[3,5];case 4:return g=x.sent(),v=g instanceof xi?n(null,f,t,g.payload,g.meta):n(g,f,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&n.match(v)&&v.meta.condition||a(v),[2,v]}var m}))},new Promise((function(t,e){var i=function(t){try{r(v.next(t))}catch(t){e(t)}},o=function(t){try{r(v.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,o)};r((v=v.apply(s,p)).next())}));var s,p,v}();return Object.assign(p,{abort:d,requestId:f,arg:t,unwrap:function(){return p.then($i)}})}}),{pending:r,rejected:n,fulfilled:o,typePrefix:t})}t.withTypes=function(){return t}}();var Oi,ki,Si,Ei="listenerMiddleware";vi(Ei+"/add"),vi(Ei+"/removeAll"),vi(Ei+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=r[t];return i?i.enumerable=e:r[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[ke];return Re.get(e,t)},set:function(e){var i=this[ke];Re.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][ke];if(!r.P)switch(r.i){case 5:o(r)&&fe(r);break;case 4:i(r)&&fe(r)}}}function i(t){for(var e=t.t,i=t.k,o=Ee(i),r=o.length-1;r>=0;r--){var n=o[r];if(n!==ke){var s=e[n];if(void 0===s&&!Dt(e,n))return!0;var a=i[n],l=a&&a[ke];if(l?l.t!==s:!Ht(a,s))return!0}}var c=!!e[ke];return o.length!==Ee(e).length+(c?0:1)}function o(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var o=0;o<e.length;o++)if(!e.hasOwnProperty(o))return!0;return!1}var r={};!function(t,e){Ce[t]||(Ce[t]=e)}("ES5",{J:function(e,i){var o=Array.isArray(e),r=function(e,i){if(e){for(var o=Array(i.length),r=0;r<i.length;r++)Object.defineProperty(o,""+r,t(r,!0));return o}var n=je(i);delete n[ke];for(var s=Ee(n),a=0;a<s.length;a++){var l=s[a];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(i),n)}(o,e),n={i:o?5:4,A:i?i.A:Qt(),P:!1,I:!1,R:{},l:i,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,ke,{value:n,writable:!0}),r},S:function(t,i,r){r?Ft(i)&&i[ke].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[ke];if(i){var r=i.t,n=i.k,s=i.R,a=i.i;if(4===a)Tt(n,(function(e){e!==ke&&(void 0!==r[e]||Dt(r,e)?s[e]||t(n[e]):(s[e]=!0,fe(i)))})),Tt(r,(function(t){void 0!==n[t]||Dt(n,t)||(s[t]=!1,fe(i))}));else if(5===a){if(o(i)&&(fe(i),s.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)s[l]=!1;else for(var c=r.length;c<n.length;c++)s[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):o(t)}})}();const ji=t=>{const e=null!=t?t:{};return(t,i)=>{var o;const r={hasChanged:(t,e)=>!p(t,e),attribute:!1,...e};s(r)(t,i);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(i,{selector:null!==(o=e.selector)&&void 0!==o?o:t=>t[i],store:e.store})}},Ci=Symbol("internalReduxEventsUnsubscribers"),Ri=Symbol("internalStoresUnsubscribers"),Ni=Symbol("internalStores");class Mi extends zt{constructor(){super(...arguments),this[Oi]=new Map,this[ki]=new Map,this[Si]=[]}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ni].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ni].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ni].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:Ai(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ni].delete(e)}setupStore(t,e){this[Ni].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ni].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[Ri].set(t,e.subscribe((()=>this.updateFromStores()))),Ai(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const o=t=>this[i](t);e.eventBus.addEventListener(t.eventName,o),this[Ci].push((()=>e.eventBus.removeEventListener(t.eventName,o)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this[Ri]).forEach((t=>this.unsubscribeFromStore(t))),this[Ci].forEach((t=>t())),this[Ci]=[]}unsubscribeFromStore(t){this[Ri].has(t)&&this[Ri].get(t)(),this[Ri].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}function Ai(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}Oi=Ri,ki=Ni,Si=Ci;class zi{static get(t){window.ftReduxStores||(window.ftReduxStores={});const e="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,o=window.ftReduxStores[e];if(Ai(o))return o;if(null==i)return;const r=yi(i),n=pi({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?r.getInitialState():r.reducer(t,e)});return window.ftReduxStores[i.name]=new zi(r,n)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const o=t[e];if(o)return(...t)=>{const e=o(...t);return this.reduxStore.dispatch(e),e}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Pi,Ui,Ii;const Bi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ii=null===(Ui=null===(Pi=window.safari)||void 0===Pi?void 0:Pi.pushNotification)||void 0===Ui?void 0:Ui.toString())&&void 0!==Ii?Ii:""),Fi={distance:kt.create("--ft-tooltip-distance","SIZE","4px"),color:kt.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:kt.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:kt.create("--ft-tooltip-z-index","NUMBER","1"),borderRadiusS:kt.external(Et.borderRadiusS,"Design system"),maxWidth:kt.create("--ft-tooltip-max-width","SIZE","150px")},Li=O`
|
|
107
|
+
`;class It{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,o;t=this.resolvePluralKey(t,e);let r=null!==(o=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),r}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function Bt(t){for(var e=arguments.length,i=Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ft(t){return!!t&&!!t[ke]}function Lt(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===Se}(t)||Array.isArray(t)||!!t[Oe]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Oe])||Kt(t)||Vt(t))}function Tt(t,e,i){void 0===i&&(i=!1),0===_t(t)?(i?Object.keys:Ee)(t).forEach((function(o){i&&"symbol"==typeof o||e(o,t[o],t)})):t.forEach((function(i,o){return e(o,i,t)}))}function _t(t){var e=t[ke];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Kt(t)?2:Vt(t)?3:0}function Dt(t,e){return 2===_t(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Wt(t,e,i){var o=_t(t);2===o?t.set(e,i):3===o?t.add(i):t[e]=i}function Ht(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Kt(t){return xe&&t instanceof Map}function Vt(t){return me&&t instanceof Set}function Zt(t){return t.o||t.t}function qt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ce(t);delete e[ke];for(var i=Ee(e),o=0;o<i.length;o++){var r=i[o],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function Jt(t,e){return void 0===e&&(e=!1),Gt(t)||Ft(t)||!Lt(t)||(_t(t)>1&&(t.set=t.add=t.clear=t.delete=Xt),Object.freeze(t),e&&Tt(t,(function(t,e){return Jt(e,!0)}),!0)),t}function Xt(){Bt(2)}function Gt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Yt(t){var e=je[t];return e||Bt(18,t),e}function Qt(){return ye}function te(t,e){e&&(Yt("Patches"),t.u=[],t.s=[],t.v=e)}function ee(t){ie(t),t.p.forEach(re),t.p=null}function ie(t){t===ye&&(ye=t.l)}function oe(t){return ye={p:[],l:ye,h:t,m:!0,_:0}}function re(t){var e=t[ke];0===e.i||1===e.i?e.j():e.g=!0}function ne(t,e){e._=e.p.length;var i=e.p[0],o=void 0!==t&&t!==i;return e.h.O||Yt("ES5").S(e,t,o),o?(i[ke].P&&(ee(e),Bt(4)),Lt(t)&&(t=se(e,t),e.l||le(e,t)),e.u&&Yt("Patches").M(i[ke].t,t,e.u,e.s)):t=se(e,i,[]),ee(e),e.u&&e.v(e.u,e.s),t!==$e?t:void 0}function se(t,e,i){if(Gt(e))return e;var o=e[ke];if(!o)return Tt(e,(function(r,n){return ae(t,o,e,r,n,i)}),!0),e;if(o.A!==t)return e;if(!o.P)return le(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var r=4===o.i||5===o.i?o.o=qt(o.k):o.o,n=r,s=!1;3===o.i&&(n=new Set(r),r.clear(),s=!0),Tt(n,(function(e,n){return ae(t,o,r,e,n,i,s)})),le(t,r,!1),i&&t.u&&Yt("Patches").N(o,i,t.u,t.s)}return o.o}function ae(t,e,i,o,r,n,s){if(Ft(r)){var a=se(t,r,n&&e&&3!==e.i&&!Dt(e.R,o)?n.concat(o):void 0);if(Wt(i,o,a),!Ft(a))return;t.m=!1}else s&&i.add(r);if(Lt(r)&&!Gt(r)){if(!t.h.D&&t._<1)return;se(t,r),e&&e.A.l||le(t,r)}}function le(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&Jt(e,i)}function ce(t,e){var i=t[ke];return(i?Zt(i):t)[e]}function he(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var o=Object.getOwnPropertyDescriptor(i,e);if(o)return o;i=Object.getPrototypeOf(i)}}function fe(t){t.P||(t.P=!0,t.l&&fe(t.l))}function ue(t){t.o||(t.o=qt(t.t))}function de(t,e,i){var o=Kt(e)?Yt("MapSet").F(e,i):Vt(e)?Yt("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),o={i:i?1:0,A:e?e.A:Qt(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=o,n=Re;i&&(r=[o],n=Ne);var s=Proxy.revocable(r,n),a=s.revoke,l=s.proxy;return o.k=l,o.j=a,l}(e,i):Yt("ES5").J(e,i);return(i?i.A:Qt()).p.push(o),o}function pe(t){return Ft(t)||Bt(22,t),function t(e){if(!Lt(e))return e;var i,o=e[ke],r=_t(e);if(o){if(!o.P&&(o.i<4||!Yt("ES5").K(o)))return o.t;o.I=!0,i=ve(e,r),o.I=!1}else i=ve(e,r);return Tt(i,(function(e,r){o&&function(t,e){return 2===_t(t)?t.get(e):t[e]}(o.t,e)===r||Wt(i,e,t(r))})),3===r?new Set(i):i}(t)}function ve(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return qt(t)}var be,ye,ge="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),xe="undefined"!=typeof Map,me="undefined"!=typeof Set,we="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,$e=ge?Symbol.for("immer-nothing"):((be={})["immer-nothing"]=!0,be),Oe=ge?Symbol.for("immer-draftable"):"__$immer_draftable",ke=ge?Symbol.for("immer-state"):"__$immer_state",Se=""+Object.prototype.constructor,Ee="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ce=Object.getOwnPropertyDescriptors||function(t){var e={};return Ee(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},je={},Re={get:function(t,e){if(e===ke)return t;var i=Zt(t);if(!Dt(i,e))return function(t,e,i){var o,r=he(e,i);return r?"value"in r?r.value:null===(o=r.get)||void 0===o?void 0:o.call(t.k):void 0}(t,i,e);var o=i[e];return t.I||!Lt(o)?o:o===ce(t.t,e)?(ue(t),t.o[e]=de(t.A.h,o,t)):o},has:function(t,e){return e in Zt(t)},ownKeys:function(t){return Reflect.ownKeys(Zt(t))},set:function(t,e,i){var o=he(Zt(t),e);if(null==o?void 0:o.set)return o.set.call(t.k,i),!0;if(!t.P){var r=ce(Zt(t),e),n=null==r?void 0:r[ke];if(n&&n.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Ht(i,r)&&(void 0!==i||Dt(t.t,e)))return!0;ue(t),fe(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ce(t.t,e)||e in t.t?(t.R[e]=!1,ue(t),fe(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=Zt(t),o=Reflect.getOwnPropertyDescriptor(i,e);return o?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:o.enumerable,value:i[e]}:o},defineProperty:function(){Bt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Bt(12)}},Ne={};Tt(Re,(function(t,e){Ne[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ne.deleteProperty=function(t,e){return Ne.set.call(this,t,e,void 0)},Ne.set=function(t,e,i){return Re.set.call(this,t[0],e,i,t[0])};var Me=function(){function t(t){var e=this;this.O=we,this.D=!0,this.produce=function(t,i,o){if("function"==typeof t&&"function"!=typeof i){var r=i;i=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var o=arguments.length,s=Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];return n.produce(t,(function(t){var o;return(o=i).call.apply(o,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&Bt(6),void 0!==o&&"function"!=typeof o&&Bt(7),Lt(t)){var a=oe(e),l=de(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?ee(a):ie(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return te(a,o),ne(t,a)}),(function(t){throw ee(a),t})):(te(a,o),ne(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===$e&&(s=void 0),e.D&&Jt(s,!0),o){var h=[],f=[];Yt("Patches").M(t,s,h,f),o(h,f)}return s}Bt(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(r))}))};var o,r,n=e.produce(t,i,(function(t,e){o=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,o,r]})):[n,o,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Lt(t)||Bt(8),Ft(t)&&(t=pe(t));var e=oe(this),i=de(this,t,void 0);return i[ke].C=!0,ie(e),i},e.finishDraft=function(t,e){var i=(t&&t[ke]).A;return te(i,e),ne(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!we&&Bt(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var o=e[i];if(0===o.path.length&&"replace"===o.op){t=o.value;break}}i>-1&&(e=e.slice(i+1));var r=Yt("Patches").$;return Ft(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Ae=new Me,ze=Ae.produce;function Pe(t){return Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pe(t)}function Ue(t){var e=function(t,e){if("object"!==Pe(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!==Pe(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Pe(e)?e:String(e)}function Ie(t,e,i){return(e=Ue(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Be(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function Fe(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Be(Object(i),!0).forEach((function(e){Ie(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Be(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function Le(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Ae.produceWithPatches.bind(Ae),Ae.setAutoFreeze.bind(Ae),Ae.setUseProxies.bind(Ae),Ae.applyPatches.bind(Ae),Ae.createDraft.bind(Ae),Ae.finishDraft.bind(Ae);var Te="function"==typeof Symbol&&Symbol.observable||"@@observable",_e=function(){return Math.random().toString(36).substring(7).split("").join(".")},De={INIT:"@@redux/INIT"+_e(),REPLACE:"@@redux/REPLACE"+_e(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+_e()}};function We(t,e,i){var o;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(Le(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(Le(1));return i(We)(t,e)}if("function"!=typeof t)throw new Error(Le(2));var r=t,n=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function h(){if(l)throw new Error(Le(3));return n}function f(t){if("function"!=typeof t)throw new Error(Le(4));if(l)throw new Error(Le(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(Le(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Le(7));if(void 0===t.type)throw new Error(Le(8));if(l)throw new Error(Le(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return u({type:De.INIT}),(o={dispatch:u,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Le(10));r=t,u({type:De.REPLACE})}})[Te]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Le(11));function i(){t.next&&t.next(h())}return i(),{unsubscribe:e(i)}}})[Te]=function(){return this},t},o}function He(t){for(var e=Object.keys(t),i={},o=0;o<e.length;o++){var r=e[o];"function"==typeof t[r]&&(i[r]=t[r])}var n,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:De.INIT}))throw new Error(Le(12));if(void 0===i(void 0,{type:De.PROBE_UNKNOWN_ACTION()}))throw new Error(Le(13))}))}(i)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var o=!1,r={},a=0;a<s.length;a++){var l=s[a],c=i[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(Le(14));r[l]=f,o=o||f!==h}return(o=o||s.length!==Object.keys(t).length)?r:t}}function Ke(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Ve(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),o=function(){throw new Error(Le(15))},r={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return o=Ke.apply(void 0,n)(i.dispatch),Fe(Fe({},i),{},{dispatch:o})}}}function Ze(t){return function(e){var i=e.dispatch,o=e.getState;return function(e){return function(r){return"function"==typeof r?r(i,o,t):e(r)}}}}var qe=Ze();qe.withExtraArgument=Ze;var Je,Xe=qe,Ge=(Je=function(t,e){return Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},Je(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}Je(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),Ye=function(t,e){var i,o,r,n,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return function(a){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(r=2&n[0]?o.return:n[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,n[1])).done)return r;switch(o=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,o=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){s.label=n[1];break}if(6===n[0]&&s.label<r[1]){s.label=r[1],r=n;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(n);break}r[2]&&s.ops.pop(),s.trys.pop();continue}n=e.call(t,s)}catch(t){n=[6,t],o=0}finally{i=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}},Qe=function(t,e){for(var i=0,o=e.length,r=t.length;i<o;i++,r++)t[r]=e[i];return t},ti=Object.defineProperty,ei=Object.defineProperties,ii=Object.getOwnPropertyDescriptors,oi=Object.getOwnPropertySymbols,ri=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,si=function(t,e,i){return e in t?ti(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},ai=function(t,e){for(var i in e||(e={}))ri.call(e,i)&&si(t,i,e[i]);if(oi)for(var o=0,r=oi(e);o<r.length;o++){i=r[o];ni.call(e,i)&&si(t,i,e[i])}return t},li=function(t,e){return ei(t,ii(e))},ci="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ke:Ke.apply(null,arguments)};var hi=function(t){function e(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ge(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Qe([void 0],t[0].concat(this)))):new(e.bind.apply(e,Qe([void 0],t.concat(this))))},e}(Array),fi=function(t){function e(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ge(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Qe([void 0],t[0].concat(this)))):new(e.bind.apply(e,Qe([void 0],t.concat(this))))},e}(Array);function ui(t){return Lt(t)?ze(t,(function(){})):t}function di(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var o=new hi;i&&(!function(t){return"boolean"==typeof t}(i)?o.push(Xe.withExtraArgument(i.extraArgument)):o.push(Xe));return o}(t)}}function pi(t){var e,i=di(),o=t||{},r=o.reducer,n=void 0===r?void 0:r,s=o.middleware,a=void 0===s?i():s,l=o.devTools,c=void 0===l||l,h=o.preloadedState,f=void 0===h?void 0:h,u=o.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=He(n)}var p=a;"function"==typeof p&&(p=p(i));var v=Ve.apply(void 0,p),b=Ke;c&&(b=ci(ai({trace:!1},"object"==typeof c&&c)));var y=new fi(v),g=y;return Array.isArray(d)?g=Qe([v],d):"function"==typeof d&&(g=d(y)),We(e,f,b.apply(void 0,g))}function vi(t,e){function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(e){var r=e.apply(void 0,i);if(!r)throw new Error("prepareAction did not return an object");return ai(ai({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function bi(t){var e,i={},o=[],r={addCase:function(t,e){var o="string"==typeof t?t:t.type;if(o in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[o]=e,r},addMatcher:function(t,e){return o.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[i,o,e]}function yi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,o="function"==typeof t.initialState?t.initialState:ui(t.initialState),r=t.reducers||{},n=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?bi(t.extraReducers):[t.extraReducers],i=e[0],r=void 0===i?{}:i,n=e[1],s=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=ai(ai({},r),a);return function(t,e,i,o){void 0===i&&(i=[]);var r,n="function"==typeof e?bi(e):[e,i,o],s=n[0],a=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return ui(t())};else{var c=ui(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var i=Qe([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var o;if(Ft(t))return void 0===(o=i(t,e))?t:o;if(Lt(t))return ze(t,(function(t){return i(t,e)}));if(void 0===(o=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return o}return t}),t)}return h.getInitialState=r,h}(o,(function(t){for(var e in h)t.addCase(e,h[e]);for(var i=0,o=s;i<o.length;i++){var r=o[i];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var i,o,n=r[t],c=e+"/"+t;"reducer"in n?(i=n.reducer,o=n.prepare):i=n,s[t]=i,a[c]=i,l[t]=o?vi(c,o):vi(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var gi=["name","message","stack","code"],xi=function(t,e){this.payload=t,this.meta=e},mi=function(t,e){this.payload=t,this.meta=e},wi=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,o=gi;i<o.length;i++){var r=o[i];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function $i(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var o=vi(t+"/fulfilled",(function(t,e,i,o){return{payload:t,meta:li(ai({},o||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),r=vi(t+"/pending",(function(t,e,i){return{payload:void 0,meta:li(ai({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=vi(t+"/rejected",(function(t,e,o,r,n){return{payload:r,error:(i&&i.serializeError||wi)(t||"Rejected"),meta:li(ai({},n||{}),{arg:o,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var h,f=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new s;function d(t){h=t,u.abort()}var p=function(){return s=this,p=null,v=function(){var s,p,v,b,y,g;return Ye(this,(function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:l,extra:c}),null===(m=b)||"object"!=typeof m||"function"!=typeof m.then?[3,2]:[4,b];case 1:b=x.sent(),x.label=2;case 2:if(!1===b||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),a(r(f,t,null==(p=null==i?void 0:i.getPendingMeta)?void 0:p.call(i,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:f,signal:u.signal,abort:d,rejectWithValue:function(t,e){return new xi(t,e)},fulfillWithValue:function(t,e){return new mi(t,e)}})).then((function(e){if(e instanceof xi)throw e;return e instanceof mi?o(e.payload,f,t,e.meta):o(e,f,t)}))])];case 3:return v=x.sent(),[3,5];case 4:return g=x.sent(),v=g instanceof xi?n(null,f,t,g.payload,g.meta):n(g,f,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&n.match(v)&&v.meta.condition||a(v),[2,v]}var m}))},new Promise((function(t,e){var i=function(t){try{r(v.next(t))}catch(t){e(t)}},o=function(t){try{r(v.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,o)};r((v=v.apply(s,p)).next())}));var s,p,v}();return Object.assign(p,{abort:d,requestId:f,arg:t,unwrap:function(){return p.then($i)}})}}),{pending:r,rejected:n,fulfilled:o,typePrefix:t})}t.withTypes=function(){return t}}();var Oi,ki,Si,Ei="listenerMiddleware";vi(Ei+"/add"),vi(Ei+"/removeAll"),vi(Ei+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=r[t];return i?i.enumerable=e:r[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[ke];return Re.get(e,t)},set:function(e){var i=this[ke];Re.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][ke];if(!r.P)switch(r.i){case 5:o(r)&&fe(r);break;case 4:i(r)&&fe(r)}}}function i(t){for(var e=t.t,i=t.k,o=Ee(i),r=o.length-1;r>=0;r--){var n=o[r];if(n!==ke){var s=e[n];if(void 0===s&&!Dt(e,n))return!0;var a=i[n],l=a&&a[ke];if(l?l.t!==s:!Ht(a,s))return!0}}var c=!!e[ke];return o.length!==Ee(e).length+(c?0:1)}function o(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var o=0;o<e.length;o++)if(!e.hasOwnProperty(o))return!0;return!1}var r={};!function(t,e){je[t]||(je[t]=e)}("ES5",{J:function(e,i){var o=Array.isArray(e),r=function(e,i){if(e){for(var o=Array(i.length),r=0;r<i.length;r++)Object.defineProperty(o,""+r,t(r,!0));return o}var n=Ce(i);delete n[ke];for(var s=Ee(n),a=0;a<s.length;a++){var l=s[a];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(i),n)}(o,e),n={i:o?5:4,A:i?i.A:Qt(),P:!1,I:!1,R:{},l:i,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,ke,{value:n,writable:!0}),r},S:function(t,i,r){r?Ft(i)&&i[ke].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[ke];if(i){var r=i.t,n=i.k,s=i.R,a=i.i;if(4===a)Tt(n,(function(e){e!==ke&&(void 0!==r[e]||Dt(r,e)?s[e]||t(n[e]):(s[e]=!0,fe(i)))})),Tt(r,(function(t){void 0!==n[t]||Dt(n,t)||(s[t]=!1,fe(i))}));else if(5===a){if(o(i)&&(fe(i),s.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)s[l]=!1;else for(var c=r.length;c<n.length;c++)s[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):o(t)}})}();const Ci=t=>{const e=null!=t?t:{};return(t,i)=>{var o;const r={hasChanged:(t,e)=>!p(t,e),attribute:!1,...e};s(r)(t,i);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(i,{selector:null!==(o=e.selector)&&void 0!==o?o:t=>t[i],store:e.store})}},ji=Symbol("internalReduxEventsUnsubscribers"),Ri=Symbol("internalStoresUnsubscribers"),Ni=Symbol("internalStores");class Mi extends zt{constructor(){super(...arguments),this[Oi]=new Map,this[ki]=new Map,this[Si]=[]}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ni].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ni].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ni].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:Ai(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ni].delete(e)}setupStore(t,e){this[Ni].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ni].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[Ri].has(t.store):this[Ri].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[Ri].set(t,e.subscribe((()=>this.updateFromStores()))),Ai(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const o=t=>this[i](t);e.eventBus.addEventListener(t.eventName,o),this[ji].push((()=>e.eventBus.removeEventListener(t.eventName,o)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ri].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[ji].forEach((t=>t())),this[ji]=[]}unsubscribeFromStore(t){this[Ri].has(t)&&this[Ri].get(t)(),this[Ri].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Ai(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}Oi=Ri,ki=Ni,Si=ji;class zi{static get(t){window.ftReduxStores||(window.ftReduxStores={});const e="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,o=window.ftReduxStores[e];if(Ai(o))return o;if(null==i)return;const r=yi(i),n=pi({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?r.getInitialState():r.reducer(t,e)});return window.ftReduxStores[i.name]=new zi(r,n)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const o=t[e];if(o)return(...t)=>{const e=o(...t);return this.reduxStore.dispatch(e),e}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Pi,Ui,Ii;const Bi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ii=null===(Ui=null===(Pi=window.safari)||void 0===Pi?void 0:Pi.pushNotification)||void 0===Ui?void 0:Ui.toString())&&void 0!==Ii?Ii:""),Fi={distance:kt.create("--ft-tooltip-distance","SIZE","4px"),color:kt.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:kt.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:kt.create("--ft-tooltip-z-index","NUMBER","1"),borderRadiusS:kt.external(Et.borderRadiusS,"Design system"),maxWidth:kt.create("--ft-tooltip-max-width","SIZE","150px")},Li=O`
|
|
108
108
|
.ft-tooltip--container {
|
|
109
109
|
display: block;
|
|
110
110
|
position: relative;
|
|
@@ -136,7 +136,7 @@ var mt,wt;let $t=class extends P{constructor(){super(...arguments),this.renderOp
|
|
|
136
136
|
position: relative;
|
|
137
137
|
word-break: break-word;
|
|
138
138
|
}
|
|
139
|
-
`,Ti=kt.extend("--ft-typography-font-family",Et.titleFont),_i=kt.extend("--ft-typography-font-family",Et.contentFont),Di={fontFamily:_i,fontSize:kt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:kt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:kt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:kt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:kt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Wi=kt.extend("--ft-typography-title-font-family",Ti),Hi=kt.extend("--ft-typography-title-font-size",Di.fontSize,"20px"),Ki=kt.extend("--ft-typography-title-font-weight",Di.fontWeight,"normal"),Vi=kt.extend("--ft-typography-title-letter-spacing",Di.letterSpacing,"0.15px"),Zi=kt.extend("--ft-typography-title-line-height",Di.lineHeight,"1.2"),qi=kt.extend("--ft-typography-title-text-transform",Di.textTransform,"inherit"),Ji=kt.extend("--ft-typography-title-dense-font-family",Ti),Xi=kt.extend("--ft-typography-title-dense-font-size",Di.fontSize,"14px"),Gi=kt.extend("--ft-typography-title-dense-font-weight",Di.fontWeight,"normal"),Yi=kt.extend("--ft-typography-title-dense-letter-spacing",Di.letterSpacing,"0.105px"),Qi=kt.extend("--ft-typography-title-dense-line-height",Di.lineHeight,"1.7"),to=kt.extend("--ft-typography-title-dense-text-transform",Di.textTransform,"inherit"),eo=kt.extend("--ft-typography-subtitle1-font-family",_i),io=kt.extend("--ft-typography-subtitle1-font-size",Di.fontSize,"16px"),oo=kt.extend("--ft-typography-subtitle1-font-weight",Di.fontWeight,"600"),ro=kt.extend("--ft-typography-subtitle1-letter-spacing",Di.letterSpacing,"0.144px"),no=kt.extend("--ft-typography-subtitle1-line-height",Di.lineHeight,"1.5"),so=kt.extend("--ft-typography-subtitle1-text-transform",Di.textTransform,"inherit"),ao=kt.extend("--ft-typography-subtitle2-font-family",_i),lo=kt.extend("--ft-typography-subtitle2-font-size",Di.fontSize,"14px"),co=kt.extend("--ft-typography-subtitle2-font-weight",Di.fontWeight,"normal"),ho=kt.extend("--ft-typography-subtitle2-letter-spacing",Di.letterSpacing,"0.098px"),fo=kt.extend("--ft-typography-subtitle2-line-height",Di.lineHeight,"1.7"),uo=kt.extend("--ft-typography-subtitle2-text-transform",Di.textTransform,"inherit"),po=kt.extend("--ft-typography-body1-font-family",_i),vo=kt.extend("--ft-typography-body1-font-size",Di.fontSize,"16px"),bo=kt.extend("--ft-typography-body1-font-weight",Di.fontWeight,"normal"),yo=kt.extend("--ft-typography-body1-letter-spacing",Di.letterSpacing,"0.496px"),go=kt.extend("--ft-typography-body1-line-height",Di.lineHeight,"1.5"),xo=kt.extend("--ft-typography-body1-text-transform",Di.textTransform,"inherit"),mo={fontFamily:kt.extend("--ft-typography-body2-font-family",_i),fontSize:kt.extend("--ft-typography-body2-font-size",Di.fontSize,"14px"),fontWeight:kt.extend("--ft-typography-body2-font-weight",Di.fontWeight,"normal"),letterSpacing:kt.extend("--ft-typography-body2-letter-spacing",Di.letterSpacing,"0.252px"),lineHeight:kt.extend("--ft-typography-body2-line-height",Di.lineHeight,"1.4"),textTransform:kt.extend("--ft-typography-body2-text-transform",Di.textTransform,"inherit")},wo=kt.extend("--ft-typography-caption-font-family",_i),$o=kt.extend("--ft-typography-caption-font-size",Di.fontSize,"12px"),Oo=kt.extend("--ft-typography-caption-font-weight",Di.fontWeight,"normal"),ko=kt.extend("--ft-typography-caption-letter-spacing",Di.letterSpacing,"0.396px"),So=kt.extend("--ft-typography-caption-line-height",Di.lineHeight,"1.33"),Eo=kt.extend("--ft-typography-caption-text-transform",Di.textTransform,"inherit"),
|
|
139
|
+
`,Ti=kt.extend("--ft-typography-font-family",Et.titleFont),_i=kt.extend("--ft-typography-font-family",Et.contentFont),Di={fontFamily:_i,fontSize:kt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:kt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:kt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:kt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:kt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Wi=kt.extend("--ft-typography-title-font-family",Ti),Hi=kt.extend("--ft-typography-title-font-size",Di.fontSize,"20px"),Ki=kt.extend("--ft-typography-title-font-weight",Di.fontWeight,"normal"),Vi=kt.extend("--ft-typography-title-letter-spacing",Di.letterSpacing,"0.15px"),Zi=kt.extend("--ft-typography-title-line-height",Di.lineHeight,"1.2"),qi=kt.extend("--ft-typography-title-text-transform",Di.textTransform,"inherit"),Ji=kt.extend("--ft-typography-title-dense-font-family",Ti),Xi=kt.extend("--ft-typography-title-dense-font-size",Di.fontSize,"14px"),Gi=kt.extend("--ft-typography-title-dense-font-weight",Di.fontWeight,"normal"),Yi=kt.extend("--ft-typography-title-dense-letter-spacing",Di.letterSpacing,"0.105px"),Qi=kt.extend("--ft-typography-title-dense-line-height",Di.lineHeight,"1.7"),to=kt.extend("--ft-typography-title-dense-text-transform",Di.textTransform,"inherit"),eo=kt.extend("--ft-typography-subtitle1-font-family",_i),io=kt.extend("--ft-typography-subtitle1-font-size",Di.fontSize,"16px"),oo=kt.extend("--ft-typography-subtitle1-font-weight",Di.fontWeight,"600"),ro=kt.extend("--ft-typography-subtitle1-letter-spacing",Di.letterSpacing,"0.144px"),no=kt.extend("--ft-typography-subtitle1-line-height",Di.lineHeight,"1.5"),so=kt.extend("--ft-typography-subtitle1-text-transform",Di.textTransform,"inherit"),ao=kt.extend("--ft-typography-subtitle2-font-family",_i),lo=kt.extend("--ft-typography-subtitle2-font-size",Di.fontSize,"14px"),co=kt.extend("--ft-typography-subtitle2-font-weight",Di.fontWeight,"normal"),ho=kt.extend("--ft-typography-subtitle2-letter-spacing",Di.letterSpacing,"0.098px"),fo=kt.extend("--ft-typography-subtitle2-line-height",Di.lineHeight,"1.7"),uo=kt.extend("--ft-typography-subtitle2-text-transform",Di.textTransform,"inherit"),po=kt.extend("--ft-typography-body1-font-family",_i),vo=kt.extend("--ft-typography-body1-font-size",Di.fontSize,"16px"),bo=kt.extend("--ft-typography-body1-font-weight",Di.fontWeight,"normal"),yo=kt.extend("--ft-typography-body1-letter-spacing",Di.letterSpacing,"0.496px"),go=kt.extend("--ft-typography-body1-line-height",Di.lineHeight,"1.5"),xo=kt.extend("--ft-typography-body1-text-transform",Di.textTransform,"inherit"),mo={fontFamily:kt.extend("--ft-typography-body2-font-family",_i),fontSize:kt.extend("--ft-typography-body2-font-size",Di.fontSize,"14px"),fontWeight:kt.extend("--ft-typography-body2-font-weight",Di.fontWeight,"normal"),letterSpacing:kt.extend("--ft-typography-body2-letter-spacing",Di.letterSpacing,"0.252px"),lineHeight:kt.extend("--ft-typography-body2-line-height",Di.lineHeight,"1.4"),textTransform:kt.extend("--ft-typography-body2-text-transform",Di.textTransform,"inherit")},wo=kt.extend("--ft-typography-caption-font-family",_i),$o=kt.extend("--ft-typography-caption-font-size",Di.fontSize,"12px"),Oo=kt.extend("--ft-typography-caption-font-weight",Di.fontWeight,"normal"),ko=kt.extend("--ft-typography-caption-letter-spacing",Di.letterSpacing,"0.396px"),So=kt.extend("--ft-typography-caption-line-height",Di.lineHeight,"1.33"),Eo=kt.extend("--ft-typography-caption-text-transform",Di.textTransform,"inherit"),Co=kt.extend("--ft-typography-breadcrumb-font-family",_i),jo=kt.extend("--ft-typography-breadcrumb-font-size",Di.fontSize,"10px"),Ro=kt.extend("--ft-typography-breadcrumb-font-weight",Di.fontWeight,"normal"),No=kt.extend("--ft-typography-breadcrumb-letter-spacing",Di.letterSpacing,"0.33px"),Mo=kt.extend("--ft-typography-breadcrumb-line-height",Di.lineHeight,"1.6"),Ao=kt.extend("--ft-typography-breadcrumb-text-transform",Di.textTransform,"inherit"),zo=kt.extend("--ft-typography-overline-font-family",_i),Po=kt.extend("--ft-typography-overline-font-size",Di.fontSize,"10px"),Uo=kt.extend("--ft-typography-overline-font-weight",Di.fontWeight,"normal"),Io=kt.extend("--ft-typography-overline-letter-spacing",Di.letterSpacing,"1.5px"),Bo=kt.extend("--ft-typography-overline-line-height",Di.lineHeight,"1.6"),Fo=kt.extend("--ft-typography-overline-text-transform",Di.textTransform,"uppercase"),Lo={fontFamily:kt.extend("--ft-typography-button-font-family",_i),fontSize:kt.extend("--ft-typography-button-font-size",Di.fontSize,"14px"),fontWeight:kt.extend("--ft-typography-button-font-weight",Di.fontWeight,"600"),letterSpacing:kt.extend("--ft-typography-button-letter-spacing",Di.letterSpacing,"1.246px"),lineHeight:kt.extend("--ft-typography-button-line-height",Di.lineHeight,"1.15"),textTransform:kt.extend("--ft-typography-button-text-transform",Di.textTransform,"uppercase")},To=O`
|
|
140
140
|
.ft-typography--title {
|
|
141
141
|
font-family: ${Wi};
|
|
142
142
|
font-size: ${Hi};
|
|
@@ -202,8 +202,8 @@ var mt,wt;let $t=class extends P{constructor(){super(...arguments),this.renderOp
|
|
|
202
202
|
}
|
|
203
203
|
`,Zo=O`
|
|
204
204
|
.ft-typography--breadcrumb {
|
|
205
|
-
font-family: ${
|
|
206
|
-
font-size: ${
|
|
205
|
+
font-family: ${Co};
|
|
206
|
+
font-size: ${jo};
|
|
207
207
|
font-weight: ${Ro};
|
|
208
208
|
letter-spacing: ${No};
|
|
209
209
|
line-height: ${Mo};
|
|
@@ -687,7 +687,7 @@ var mt,wt;let $t=class extends P{constructor(){super(...arguments),this.renderOp
|
|
|
687
687
|
slot:not([name]) {
|
|
688
688
|
display: none;
|
|
689
689
|
}
|
|
690
|
-
`],
|
|
690
|
+
`],Cr={warningIconColor:kt.extend("--ft-search-locale-selector-warning-icon-color",Et.colorError),warningTooltipMaxWidth:kt.create("--ft-search-locale-selector-warning-tooltip-max-width","SIZE","270px")},jr=O`
|
|
691
691
|
[part="container"] {
|
|
692
692
|
flex-grow: 1;
|
|
693
693
|
display: flex;
|
|
@@ -728,11 +728,11 @@ var mt,wt;let $t=class extends P{constructor(){super(...arguments),this.renderOp
|
|
|
728
728
|
margin-top: -6px;
|
|
729
729
|
padding: 4px;
|
|
730
730
|
position: absolute;
|
|
731
|
-
${St(Fi.maxWidth,
|
|
731
|
+
${St(Fi.maxWidth,Cr.warningTooltipMaxWidth)};
|
|
732
732
|
}
|
|
733
733
|
|
|
734
734
|
[part="warning-icon"] {
|
|
735
|
-
color: ${
|
|
735
|
+
color: ${Cr.warningIconColor};
|
|
736
736
|
cursor: help;
|
|
737
737
|
}
|
|
738
738
|
|
|
@@ -770,7 +770,7 @@ var mt,wt;let $t=class extends P{constructor(){super(...arguments),this.renderOp
|
|
|
770
770
|
<span class="ft-i18n">
|
|
771
771
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
772
772
|
</span>
|
|
773
|
-
`:this.editorMode?"Select a context and a label key.":rt}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}sn.elementDefinitions={},sn.styles=_r,nn([
|
|
773
|
+
`:this.editorMode?"Select a context and a label key.":rt}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}sn.elementDefinitions={},sn.styles=_r,nn([Ci()],sn.prototype,"editorMode",void 0),nn([s()],sn.prototype,"context",void 0),nn([s()],sn.prototype,"key",void 0),nn([b([])],sn.prototype,"args",void 0),nn([s()],sn.prototype,"defaultMessage",void 0);class an{static build(t){return new an(t)}static fromGwt(t){return new an(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const i=e;return t=>({context:this.name,key:i,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>qr.resolveMessage(this.name,e,...t)})}}v("ft-i18n")(sn);class ln extends Event{constructor(){super(ln.eventName)}}ln.eventName="search-context-clear-all-filters";var cn=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class hn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const fn=Symbol("registerInterval");class un extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[fn]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[fn]):this.dispatchEvent(new hn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=fn,cn([a()],i.prototype,"stateManager",void 0),i}(Mi)){}
|
|
774
774
|
/**
|
|
775
775
|
* @license
|
|
776
776
|
* Copyright 2020 Google LLC
|
|
@@ -836,9 +836,9 @@ const wn=Mr(class extends Ar{constructor(t){var e;if(super(t),t.type!==Rr||"clas
|
|
|
836
836
|
* Copyright 2017 Google LLC
|
|
837
837
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
838
838
|
*/
|
|
839
|
-
class
|
|
839
|
+
class Cn extends Ar{constructor(t){if(super(t),this.et=rt,t.type!==Nr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.ft=void 0,this.et=t;if(t===ot)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Cn.directiveName="unsafeHTML",Cn.resultType=1;const jn=Mr(Cn);var Rn,Nn,Mn;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Rn||(Rn={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Nn||(Nn={})),new Map([...["abw"].map((t=>[t,Nn.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Nn.AUDIO])),...["avi"].map((t=>[t,Nn.AVI])),...["chm","xhs"].map((t=>[t,Nn.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Nn.CODE])),...["csv"].map((t=>[t,Nn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Nn.DITA])),...["epub"].map((t=>[t,Nn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Nn.EXCEL])),...["flac"].map((t=>[t,Nn.FLAC])),...["gif"].map((t=>[t,Nn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Nn.GZIP])),...["html","htm","xhtml"].map((t=>[t,Nn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Nn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Nn.JPEG])),...["json"].map((t=>[t,Nn.JSON])),...["m4a","m4p"].map((t=>[t,Nn.M4A])),...["mov","qt"].map((t=>[t,Nn.MOV])),...["mp3"].map((t=>[t,Nn.MP3])),...["mp4","m4v"].map((t=>[t,Nn.MP4])),...["ogg","oga"].map((t=>[t,Nn.OGG])),...["pdf","ps"].map((t=>[t,Nn.PDF])),...["png"].map((t=>[t,Nn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Nn.POWERPOINT])),...["rar"].map((t=>[t,Nn.RAR])),...["stp"].map((t=>[t,Nn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Nn.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Nn.VIDEO])),...["wav"].map((t=>[t,Nn.WAV])),...["wma"].map((t=>[t,Nn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Nn.WORD])),...["xml","xsl","rdf"].map((t=>[t,Nn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Nn.YAML])),...["zip"].map((t=>[t,Nn.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Mn||(Mn={}));var An=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class zn extends zt{constructor(){super(...arguments),this.resolvedIcon=rt}render(){const t=this.variant&&Object.values(Mn).includes(this.variant)?this.variant:Mn.fluid_topics,e=t!==Mn.material||!!this.value;return it`
|
|
840
840
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
841
|
-
${
|
|
841
|
+
${jn(this.resolvedIcon)}
|
|
842
842
|
<slot ?hidden=${e}></slot>
|
|
843
843
|
</i>
|
|
844
844
|
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Mn.file_format:this.resolvedIcon=null!==(t=Nn[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Mn.material:this.resolvedIcon=this.value||rt;break;default:this.resolvedIcon=null!==(e=Rn[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zn.elementDefinitions={},zn.styles=cr,An([s()],zn.prototype,"variant",void 0),An([s()],zn.prototype,"value",void 0),An([a()],zn.prototype,"resolvedIcon",void 0),An([c("slot")],zn.prototype,"slottedContent",void 0),v("ft-icon")(zn);var Pn=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Un extends zt{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(it`
|
|
@@ -1466,4 +1466,4 @@ class jn extends Ar{constructor(t){if(super(t),this.et=rt,t.type!==Nr)throw Erro
|
|
|
1466
1466
|
`}))}
|
|
1467
1467
|
</ft-radio-group>
|
|
1468
1468
|
</div>
|
|
1469
|
-
`}setContentLocale(t){var e;this.selectedSearchLocale=null===(e=this.stateManager)||void 0===e?void 0:e.setContentLocale("all"===t.detail?void 0:t.detail)}updated(t){super.updated(t),t.has("currentSearchLocale")&&(this.selectedSearchLocale=this.currentSearchLocale,this.dispatchEvent(new CustomEvent("current-search-locale-change",{detail:this.currentSearchLocale})))}}gs.elementDefinitions={"ft-icon":zn,"ft-tooltip":Sn,"ft-filter":us,"ft-filter-option":ps,"ft-radio-group":ts,"ft-radio":Gn,"ft-typography":mn},gs.styles=
|
|
1469
|
+
`}setContentLocale(t){var e;this.selectedSearchLocale=null===(e=this.stateManager)||void 0===e?void 0:e.setContentLocale("all"===t.detail?void 0:t.detail)}updated(t){super.updated(t),t.has("currentSearchLocale")&&(this.selectedSearchLocale=this.currentSearchLocale,this.dispatchEvent(new CustomEvent("current-search-locale-change",{detail:this.currentSearchLocale})))}}gs.elementDefinitions={"ft-icon":zn,"ft-tooltip":Sn,"ft-filter":us,"ft-filter-option":ps,"ft-radio-group":ts,"ft-radio":Gn,"ft-typography":mn},gs.styles=jr,ys([s()],gs.prototype,"warningTooltipPosition",void 0),ys([Ci({store:Wr.name})],gs.prototype,"editorMode",void 0),ys([Ci({store:"search"})],gs.prototype,"locales",void 0),ys([Ci({store:"search",selector:t=>t.request.contentLocale})],gs.prototype,"currentSearchLocale",void 0),ys([a()],gs.prototype,"selectedSearchLocale",void 0),v("ft-search-locale-selector")(gs),t.FtSearchLocaleSelector=gs,t.FtSearchLocaleSelectorCssVariables=Cr,t.styles=jr}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-locale-selector",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"description": "Search locale selector for integrated fluid-topics search pages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-filter": "1.0.
|
|
23
|
-
"@fluid-topics/ft-i18n": "1.0.
|
|
24
|
-
"@fluid-topics/ft-icon": "1.0.
|
|
25
|
-
"@fluid-topics/ft-search-context": "1.0.
|
|
26
|
-
"@fluid-topics/ft-tooltip": "1.0.
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-filter": "1.0.47",
|
|
23
|
+
"@fluid-topics/ft-i18n": "1.0.47",
|
|
24
|
+
"@fluid-topics/ft-icon": "1.0.47",
|
|
25
|
+
"@fluid-topics/ft-search-context": "1.0.47",
|
|
26
|
+
"@fluid-topics/ft-tooltip": "1.0.47",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "1.0.47",
|
|
28
28
|
"lit": "2.7.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@fluid-topics/public-api": "1.0.39"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "6313471d9f5ceea14a13311e9a6cc24b6fa6f044"
|
|
34
34
|
}
|