@openremote/or-smart-notify 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/umd/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("moment"),require("ORCore")):"function"==typeof define&&define.amd?define(["moment","ORCore"],e):"object"==typeof exports?exports.ORSmartNotify=e(require("moment"),require("ORCore")):t.ORSmartNotify=e(t.moment,t.ORCore)}(self,(t,e)=>(()=>{"use strict";var n={801:function(t){t.exports=e},192:function(e){e.exports=t}},i={};function r(t){var e=i[t];if(void 0!==e)return e.exports;var o=i[t]={exports:{}};return n[t](o,o.exports,r),o.exports}return r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}})(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{let t=
|
|
2
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),T=/'/g,M=/"/g,R=/^(?:script|style|textarea|title)$/i,U=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),z=U(1),j=(U(2),Symbol.for("lit-noChange")),L=Symbol.for("lit-nothing"),I=new WeakMap,H=x.createTreeWalker(x,129,null,!1);function D(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==y?y.createHTML(e):e}class F{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let r=0,o=0,s=t.length-1,a=this.parts,[l,c]=((t,e)=>{let n=t.length-1,i=[],r,o=2===e?"<svg>":"",s=C;for(let e=0;e<n;e++){let n=t[e],a,l,c=-1,h=0;for(;h<n.length&&(s.lastIndex=h,null!==(l=s.exec(n)));)h=s.lastIndex,s===C?"!--"===l[1]?s=O:void 0!==l[1]?s=P:void 0!==l[2]?(R.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=N):void 0!==l[3]&&(s=N):s===N?">"===l[0]?(s=null!=r?r:C,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?N:'"'===l[3]?M:T):s===M||s===T?s=N:s===O||s===P?s=C:(s=N,r=void 0);let f=s===N&&t[e+1].startsWith("/>")?" ":"";o+=s===C?n+$:c>=0?(i.push(a),n.slice(0,c)+b+n.slice(c)+_+f):n+_+(-2===c?(i.push(void 0),e):f)}return[D(t,o+(t[n]||"<?>")+(2===e?"</svg>":"")),i]})(t,e);if(this.el=F.createElement(l,n),H.currentNode=this.el.content,2===e){let t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=H.nextNode())&&a.length<s;){if(1===i.nodeType){if(i.hasAttributes()){let t=[];for(let e of i.getAttributeNames())if(e.endsWith(b)||e.startsWith(_)){let n=c[o++];if(t.push(e),void 0!==n){let t=i.getAttribute(n.toLowerCase()+b).split(_),e=/([.?@])?(.*)/.exec(n);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?q:"?"===e[1]?K:"@"===e[1]?J:W})}else a.push({type:6,index:r})}for(let e of t)i.removeAttribute(e)}if(R.test(i.tagName)){let t=i.textContent.split(_),e=t.length-1;if(e>0){i.textContent=v?v.emptyScript:"";for(let n=0;n<e;n++)i.append(t[n],A()),H.nextNode(),a.push({type:2,index:++r});i.append(t[e],A())}}}else if(8===i.nodeType)if(i.data===w)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(_,t+1));)a.push({type:7,index:r}),t+=_.length-1}r++}}static createElement(t,e){let n=x.createElement("template");return n.innerHTML=t,n}}function B(t,e,n=t,i){var r,o,s;if(e===j)return e;let a=void 0!==i?null==(r=n._$Co)?void 0:r[i]:n._$Cl,l=E(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==l&&(null==(o=null==a?void 0:a._$AO)||o.call(a,!1),void 0===l?a=void 0:(a=new l(t))._$AT(t,n,i),void 0!==i?(null!=(s=n._$Co)?s:n._$Co=[])[i]=a:n._$Cl=a),void 0!==a&&(e=B(t,a._$AS(t,e.values),a,i)),e}class Y{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;let{el:{content:n},parts:i}=this._$AD,r=(null!=(e=null==t?void 0:t.creationScope)?e:x).importNode(n,!0);H.currentNode=r;let o=H.nextNode(),s=0,a=0,l=i[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new V(o,o.nextSibling,this,t):1===l.type?e=new l.ctor(o,l.name,l.strings,this,t):6===l.type&&(e=new G(o,this,t)),this._$AV.push(e),l=i[++a]}s!==(null==l?void 0:l.index)&&(o=H.nextNode(),s++)}return H.currentNode=x,r}v(t){let e=0;for(let n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class V{constructor(t,e,n,i){var r;this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$Cp=null==(r=null==i?void 0:i.isConnected)||r}get _$AU(){var t,e;return null!=(e=null==(t=this._$AM)?void 0:t._$AU)?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode,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){let n;E(t=B(this,t,e))?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==j&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):S(n=t)||"function"==typeof(null==n?void 0:n[Symbol.iterator])?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!==L&&E(this._$AH)?this._$AA.nextSibling.data=t:this.$(x.createTextNode(t)),this._$AH=t}g(t){var e;let{values:n,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=F.createElement(D(i.h,i.h[0]),this.options)),i);if((null==(e=this._$AH)?void 0:e._$AD)===r)this._$AH.v(n);else{let t=new Y(r,this),e=t.u(this.options);t.v(n),this.$(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new F(t)),e}T(t){S(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,n,i=0;for(let r of t)i===e.length?e.push(n=new V(this.k(A()),this.k(A()),this,this.options)):n=e[i],n._$AI(r),i++;i<e.length&&(this._$AR(n&&n._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var n;for(null==(n=this._$AP)||n.call(this,!1,!0,e);t&&t!==this._$AB;){let e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null==(e=this._$AP)||e.call(this,t))}}class W{constructor(t,e,n,i,r){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=L}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,i){let r=this.strings,o=!1;if(void 0===r)(o=!E(t=B(this,t,e,0))||t!==this._$AH&&t!==j)&&(this._$AH=t);else{let i,s,a=t;for(t=r[0],i=0;i<r.length-1;i++)(s=B(this,a[n+i],e,i))===j&&(s=this._$AH[i]),o||(o=!E(s)||s!==this._$AH[i]),s===L?t=L:t!==L&&(t+=(null!=s?s:"")+r[i+1]),this._$AH[i]=s}o&&!i&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class q extends W{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}}let X=v?v.emptyScript:"";class K extends W{constructor(){super(...arguments),this.type=4}j(t){t&&t!==L?this.element.setAttribute(this.name,X):this.element.removeAttribute(this.name)}}class J extends W{constructor(t,e,n,i,r){super(t,e,n,i,r),this.type=5}_$AI(t,e=this){var n;if((t=null!=(n=B(this,t,e,0))?n:L)===j)return;let i=this._$AH,r=t===L&&i!==L||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==L&&(i===L||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!=(n=null==(e=this.options)?void 0:e.host)?n:this.element,t):this._$AH.handleEvent(t)}}class G{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){B(this,t)}}let Z=g.litHtmlPolyfillSupport;null==Z||Z(F,V),(null!=(tb=g.litHtmlVersions)?tb:g.litHtmlVersions=[]).push("2.8.0");let Q=window,tt=Q.ShadowRoot&&(void 0===Q.ShadyCSS||Q.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,te=Symbol(),tn=new WeakMap;class ti{constructor(t,e,n){if(this._$cssResult$=!0,n!==te)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(tt&&void 0===t){let n=void 0!==e&&1===e.length;n&&(t=tn.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&tn.set(e,t))}return t}toString(){return this.cssText}}let tr=tt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(let n of t.cssRules)e+=n.cssText;return(t=>new ti("string"==typeof t?t:t+"",void 0,te))(e)})(t):t,to=window,ts=to.trustedTypes,ta=ts?ts.emptyScript:"",tl=to.reactiveElementPolyfillSupport,tc={toAttribute(t,e){switch(e){case Boolean:t=t?ta:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},th=(t,e)=>e!==t&&(e==e||t==t),tf={attribute:!0,type:String,converter:tc,reflect:!1,hasChanged:th},td="finalized";class tu extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),(null!=(e=this.h)?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((e,n)=>{let i=this._$Ep(n,e);void 0!==i&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,e=tf){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){let n="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(i){let r=this[t];this[e]=i,this.requestUpdate(t,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||tf}static finalize(){if(this.hasOwnProperty(td))return!1;this[td]=!0;let 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")){let t=this.properties;for(let e of[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)])this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let e=[];if(Array.isArray(t))for(let n of new Set(t.flat(1/0).reverse()))e.unshift(tr(n));else void 0!==t&&e.push(tr(t));return e}static _$Ep(t,e){let n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null==(t=this.constructor.h)||t.forEach(t=>t(this))}addController(t){var e,n;(null!=(e=this._$ES)?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null==(n=t.hostConnected)||n.call(t))}removeController(t){var e;null==(e=this._$ES)||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,e;let n=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return e=this.constructor.elementStyles,tt?n.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let e=document.createElement("style"),i=Q.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=t.cssText,n.appendChild(e)}),n}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$EO(t,e,n=tf){var i;let r=this.constructor._$Ep(t,n);if(void 0!==r&&!0===n.reflect){let o=(void 0!==(null==(i=n.converter)?void 0:i.toAttribute)?n.converter:tc).toAttribute(e,n.type);this._$El=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$El=null}}_$AK(t,e){var n;let i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){let t=i.getPropertyOptions(r),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(n=t.converter)?void 0:n.fromAttribute)?t.converter:tc;this._$El=r,this[r]=o.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,n){let i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||th)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}let 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,n=this._$AL;try{(e=this.shouldUpdate(n))?(this.willUpdate(n),null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(n)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;null==(e=this._$ES)||e.forEach(t=>{var e;return null==(e=t.hostUpdated)?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){}}tu[td]=!0,tu.elementProperties=new Map,tu.elementStyles=[],tu.shadowRootOptions={mode:"open"},null==tl||tl({ReactiveElement:tu}),(null!=(t_=to.reactiveElementVersions)?t_:to.reactiveElementVersions=[]).push("1.6.3");class tp extends tu{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;let e=super.createRenderRoot();return null!=(t=this.renderOptions).renderBefore||(t.renderBefore=e.firstChild),e}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,n)=>{var i,r;let o=null!=(i=null==n?void 0:n.renderBefore)?i:e,s=o._$litPart$;if(void 0===s){let t=null!=(r=null==n?void 0:n.renderBefore)?r:null;o._$litPart$=s=new V(e.insertBefore(A(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return j}}tp.finalized=!0,tp._$litElement$=!0,null==(tw=globalThis.litElementHydrateSupport)||tw.call(globalThis,{LitElement:tp});let tm=globalThis.litElementPolyfillSupport;function tg(t){return(e,n)=>void 0!==n?void e.constructor.createProperty(n,t):"method"!==e.kind||!e.descriptor||"value"in e.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,t)}}:{...e,finisher(n){n.createProperty(e.key,t)}}}null==tm||tm({LitElement:tp}),(null!=(t$=globalThis.litElementVersions)?t$:globalThis.litElementVersions=[]).push("3.3.3"),null!=(null==(tx=window.HTMLSlotElement)?void 0:tx.prototype.assignedElements)||((t,e)=>t.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE));var tv,ty,tb,t_,tw,t$,tx,tA,tE=r(192),tS=r.n(tE);function tk(t){return(tk="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})(t)}function tC(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){var i;i=n[e],e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i})}return t}function tO(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{i||null==a.return||a.return()}finally{if(r)throw o}}return n}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}var tP=function(){},tN={},tT={},tM={mark:tP,measure:tP};try{"undefined"!=typeof window&&(tN=window),"undefined"!=typeof document&&(tT=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(tM=performance)}catch(t){}var tR=(tN.navigator||{}).userAgent,tU=void 0===tR?"":tR,tz=tN,tj=tT,tL=tM;tz.document;var tI=!!tj.documentElement&&!!tj.head&&"function"==typeof tj.addEventListener&&"function"==typeof tj.createElement;~tU.indexOf("MSIE")||tU.indexOf("Trident/");var tH="___FONT_AWESOME___",tD="svg-inline--fa",tF=[1,2,3,4,5,6,7,8,9,10],tB=tF.concat([11,12,13,14,15,16,17,18,19,20]),tY={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"};["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",tY.GROUP,tY.SWAP_OPACITY,tY.PRIMARY,tY.SECONDARY].concat(tF.map(function(t){return"".concat(t,"x")})).concat(tB.map(function(t){return"w-".concat(t)}));var tV=tz.FontAwesomeConfig||{};tj&&"function"==typeof tj.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(t){var e,n=tO(t,2),i=n[0],r=n[1],o=""===(e=function(t){var e=tj.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(i))||"false"!==e&&("true"===e||e);null!=o&&(tV[r]=o)});var tW=tC({},{familyPrefix:"fa",replacementClass:tD,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},tV);tW.autoReplaceSvg||(tW.observeMutations=!1);var tq=tC({},tW);tz.FontAwesomeConfig=tq;var tX=tz||{};tX[tH]||(tX[tH]={}),tX[tH].styles||(tX[tH].styles={}),tX[tH].hooks||(tX[tH].hooks={}),tX[tH].shims||(tX[tH].shims=[]);var tK=tX[tH],tJ=[];tI&&((tj.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(tj.readyState)||tj.addEventListener("DOMContentLoaded",function t(){tj.removeEventListener("DOMContentLoaded",t),tJ.map(function(t){return t()})}));var tG="pending",tZ="settled",tQ="fulfilled",t0="rejected",t1=function(){},t2=void 0!==r.g&&void 0!==r.g.process&&"function"==typeof r.g.process.emit,t5="undefined"==typeof setImmediate?setTimeout:setImmediate,t4=[];function t3(){for(var t=0;t<t4.length;t++)t4[t][0](t4[t][1]);t4=[],tA=!1}function t8(t,e){t4.push([t,e]),tA||(tA=!0,t5(t3,0))}function t7(t){var e=t.owner,n=e._state,i=e._data,r=t[n],o=t.then;if("function"==typeof r){n=tQ;try{i=r(i)}catch(t){ee(o,t)}}t6(o,i)||(n===tQ&&t9(o,i),n===t0&&ee(o,i))}function t6(t,e){var n;try{if(t===e)throw TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===tk(e))){var i=e.then;if("function"==typeof i)return i.call(e,function(i){n||(n=!0,e===i?et(t,i):t9(t,i))},function(e){n||(n=!0,ee(t,e))}),!0}}catch(e){return n||ee(t,e),!0}return!1}function t9(t,e){t!==e&&t6(t,e)||et(t,e)}function et(t,e){t._state===tG&&(t._state=tZ,t._data=e,t8(ei,t))}function ee(t,e){t._state===tG&&(t._state=tZ,t._data=e,t8(er,t))}function en(t){t._then=t._then.forEach(t7)}function ei(t){t._state=tQ,en(t)}function er(t){t._state=t0,en(t),!t._handled&&t2&&r.g.process.emit("unhandledRejection",t._data,t)}function eo(t){r.g.process.emit("rejectionHandled",t)}function es(t){if("function"!=typeof t)throw TypeError("Promise resolver "+t+" is not a function");if(this instanceof es==!1)throw TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[];var e=this;function n(t){ee(e,t)}try{t(function(t){t9(e,t)},n)}catch(t){n(t)}}es.prototype={constructor:es,_state:tG,_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(t1),fulfilled:t,rejected:e};return(e||t)&&!this._handled&&(this._handled=!0,this._state===t0&&t2&&t8(eo,this)),this._state===tQ||this._state===t0?t8(t7,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},es.all=function(t){if(!Array.isArray(t))throw TypeError("You must pass an array to Promise.all().");return new es(function(e,n){for(var i,r=[],o=0,s=0;s<t.length;s++)(i=t[s])&&"function"==typeof i.then?i.then(function(t){return o++,function(n){r[t]=n,--o||e(r)}}(s),n):r[s]=i;o||e(r)})},es.race=function(t){if(!Array.isArray(t))throw TypeError("You must pass an array to Promise.race().");return new es(function(e,n){for(var i,r=0;r<t.length;r++)(i=t[r])&&"function"==typeof i.then?i.then(e,n):e(i)})},es.resolve=function(t){return t&&"object"===tk(t)&&t.constructor===es?t:new es(function(e){e(t)})},es.reject=function(t){return new es(function(e,n){n(t)})};var ea={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function el(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function ec(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function eh(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,": ").concat(t[n],";")},"")}function ef(t){return t.size!==ea.size||t.x!==ea.x||t.y!==ea.y||t.rotate!==ea.rotate||t.flipX||t.flipY}function ed(t){var e=t.transform,n=t.containerWidth,i=t.iconWidth,r="translate(".concat(32*e.x,", ").concat(32*e.y,") "),o="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)"),a={transform:"".concat(r," ").concat(o," ").concat(s)};return{outer:{transform:"translate(".concat(n/2," 256)")},inner:a,path:{transform:"translate(".concat(-(i/2*1)," -256)")}}}var eu={x:0,y:0,width:"100%",height:"100%"};function ep(t){var e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}tq.measurePerformance&&tL&&tL.mark&&tL.measure;var em=function(t,e,n,i){var r,o,s,a=Object.keys(t),l=a.length,c=void 0!==i?function(t,n,r,o){return e.call(i,t,n,r,o)}:e;for(void 0===n?(r=1,s=t[a[0]]):(r=0,s=n);r<l;r++)s=c(s,t[o=a[r]],o,t);return s},eg=tK.styles,ev=tK.shims,ey=function(){var t=function(t){return em(eg,function(e,n,i){return e[i]=em(n,t,{}),e},{})};t(function(t,e,n){return e[3]&&(t[e[3]]=n),t}),t(function(t,e,n){var i=e[2];return t[n]=n,i.forEach(function(e){t[e]=n}),t});var e="far"in eg;em(ev,function(t,n){var i=n[0],r=n[1],o=n[2];return"far"!==r||e||(r="fas"),t[i]={prefix:r,iconName:o},t},{})};function eb(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function e_(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=Error().stack}ey(),tK.styles,e_.prototype=Object.create(Error.prototype),e_.prototype.constructor=e_;var ew={fill:"currentColor"},e$={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};tC({},ew,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"});var ex=tC({},e$,{attributeName:"opacity"});function eA(t){var e=t[0],n=t[1],i=tO(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(i)?{tag:"g",attributes:{class:"".concat(tq.familyPrefix,"-").concat(tY.GROUP)},children:[{tag:"path",attributes:{class:"".concat(tq.familyPrefix,"-").concat(tY.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(tq.familyPrefix,"-").concat(tY.PRIMARY),fill:"currentColor",d:i[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:i}}}}function eE(t){var e=t.prefix,n=void 0===e?"fa":e,i=t.iconName;if(i)return eb(eS.definitions,n,i)||eb(tK.styles,n,i)}tC({},ew,{cx:"256",cy:"364",r:"28"}),tC({},e$,{attributeName:"r",values:"28;14;28;28;14;28;"}),tC({},ex,{values:"1;0;1;1;0;1;"}),tC({},ew,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),tC({},ex,{values:"1;0;0;0;0;1;"}),tC({},ew,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),tC({},ex,{values:"0;0;1;1;0;0;"}),tK.styles,tK.styles;var eS=new(function(){var t;function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.definitions={}}return t=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach(function(e){t.definitions[e]=tC({},t.definitions[e]||{},r[e]),function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.skipHooks,o=Object.keys(n).reduce(function(t,e){var i=n[e];return i.icon?t[i.iconName]=i.icon:t[e]=i,t},{});"function"!=typeof tK.hooks.addPack||void 0!==r&&r?tK.styles[e]=tC({},tK.styles[e]||{},o):tK.hooks.addPack(e,o),"fas"===e&&t("fa",n)}(e,r[e]),ey()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map(function(e){var i=n[e],r=i.prefix,o=i.iconName,s=i.icon;t[r]||(t[r]={}),t[r][o]=s}),t}}],function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(e.prototype,t),e}()),ek=!1,eC=(tv=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,i=void 0===n?ea:n,r=e.symbol,o=void 0!==r&&r,s=e.mask,a=void 0===s?null:s,l=e.maskId,c=void 0===l?null:l,h=e.title,f=void 0===h?null:h,d=e.titleId,u=void 0===d?null:d,p=e.classes,m=void 0===p?[]:p,g=e.attributes,v=void 0===g?{}:g,y=e.styles,b=void 0===y?{}:y;if(t){var _,w=t.prefix,$=t.iconName,x=t.icon;return Object.defineProperty(_=tC({type:"icon"},t),"abstract",{get:function(){return tq.autoAddCss&&!ek&&(!function(t){if(t&&tI){var e=tj.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=tj.head.childNodes,i=null,r=n.length-1;r>-1;r--){var o=n[r];["STYLE","LINK"].indexOf((o.tagName||"").toUpperCase())>-1&&(i=o)}tj.head.insertBefore(e,i)}}(function(){var t=tq.familyPrefix,e=tq.replacementClass,n='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==t||e!==tD){var i=RegExp("\\.".concat("fa","\\-"),"g"),r=RegExp("\\--".concat("fa","\\-"),"g"),o=RegExp("\\.".concat(tD),"g");n=n.replace(i,".".concat(t,"-")).replace(r,"--".concat(t,"-")).replace(o,".".concat(e))}return n}()),ek=!0),tq.autoA11y&&(f?v["aria-labelledby"]="".concat(tq.replacementClass,"-title-").concat(u||el()):(v["aria-hidden"]="true",v.focusable="false")),function(t){var e,n,i,r,o,s,a,l,c,h,f,d,u,p,m,g,v,y,b,_,w,$,x,A=t.icons,E=A.main,S=A.mask,k=t.prefix,C=t.iconName,O=t.transform,P=t.symbol,N=t.title,T=t.maskId,M=t.titleId,R=t.extra,U=t.watchable,z=S.found?S:E,j=z.width,L=z.height,I="fak"===k,H=I?"":"fa-w-".concat(Math.ceil(j/L*16)),D=[tq.replacementClass,C?"".concat(tq.familyPrefix,"-").concat(C):"",H].filter(function(t){return -1===R.classes.indexOf(t)}).filter(function(t){return""!==t||!!t}).concat(R.classes).join(" "),F={children:[],attributes:tC({},R.attributes,{"data-prefix":k,"data-icon":C,class:D,role:R.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(j," ").concat(L)})},B=I&&!~R.classes.indexOf("fa-fw")?{width:"".concat(j/L*1,"em")}:{};void 0!==U&&U&&(F.attributes["data-fa-i2svg"]=""),N&&F.children.push({tag:"title",attributes:{id:F.attributes["aria-labelledby"]||"title-".concat(M||el())},children:[N]});var Y=tC({},F,{prefix:k,iconName:C,main:E,mask:S,maskId:T,transform:O,symbol:P,styles:tC({},B,R.styles)}),V=S.found&&E.found?(e=Y.children,n=Y.attributes,i=Y.main,r=Y.mask,o=Y.maskId,s=Y.transform,a=i.width,l=i.icon,c=r.width,h=r.icon,f=ed({transform:s,containerWidth:c,iconWidth:a}),d={tag:"rect",attributes:tC({},eu,{fill:"white"})},u=l.children?{children:l.children.map(ep)}:{},p={tag:"g",attributes:tC({},f.inner),children:[ep(tC({tag:l.tag,attributes:tC({},l.attributes,f.path)},u))]},m={tag:"g",attributes:tC({},f.outer),children:[p]},g="mask-".concat(o||el()),v="clip-".concat(o||el()),y={tag:"mask",attributes:tC({},eu,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,m]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:"g"===h.tag?h.children:[h]},y]},e.push(b,{tag:"rect",attributes:tC({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(g,")")},eu)}),{children:e,attributes:n}):function(t){var e=t.children,n=t.attributes,i=t.main,r=t.transform,o=eh(t.styles);if(o.length>0&&(n.style=o),ef(r)){var s=ed({transform:r,containerWidth:i.width,iconWidth:i.width});e.push({tag:"g",attributes:tC({},s.outer),children:[{tag:"g",attributes:tC({},s.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:tC({},i.icon.attributes,s.path)}]}]})}else e.push(i.icon);return{children:e,attributes:n}}(Y),W=V.children,q=V.attributes;return(Y.children=W,Y.attributes=q,P)?(_=Y.prefix,w=Y.iconName,$=Y.children,[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:tC({},Y.attributes,{id:!0===(x=Y.symbol)?"".concat(_,"-").concat(tq.familyPrefix,"-").concat(w):x}),children:$}]}]):function(t){var e=t.children,n=t.main,i=t.mask,r=t.attributes,o=t.styles,s=t.transform;if(ef(s)&&n.found&&!i.found){var a={x:n.width/n.height/2,y:.5};r.style=eh(tC({},o,{"transform-origin":"".concat(a.x+s.x/16,"em ").concat(a.y+s.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}(Y)}({icons:{main:eA(x),mask:a?eA(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:$,transform:tC({},ea,i),symbol:o,title:f,maskId:c,titleId:u,extra:{attributes:v,styles:b,classes:m}})}}),Object.defineProperty(_,"html",{get:function(){return _.abstract.map(function(t){return function t(e){var n,i=e.tag,r=e.attributes,o=e.children;return"string"==typeof e?ec(e):"<".concat(i," ").concat(Object.keys((n=void 0===r?{}:r)||{}).reduce(function(t,e){return t+"".concat(e,'="').concat(ec(n[e]),'" ')},"").trim(),">").concat((void 0===o?[]:o).map(t).join(""),"</").concat(i,">")}(t)})}}),Object.defineProperty(_,"node",{get:function(){if(tI){var t=tj.createElement("div");return t.innerHTML=_.html,t.children}}}),_}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:eE(t||{}),i=e.mask;return i&&(i=(i||{}).icon?i:eE(i||{})),tv(n,tC({},e,{mask:i}))}),eO={prefix:"far",iconName:"clock",icon:[512,512,[],"f017","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"]},eP={prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},eN=r(801),eT=r.n(eN),eM=function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};let eR=class extends tp{constructor(){super(),this.isVisible=!1,this.isActive=!1,this.isDisabled=!1,this.smartNotify={},this.currentTime="-";let t=this;this.currentTime=tS()().format("HH:mm"),setInterval(function(){t.currentTime=tS()().format("HH:mm")},500)}getSmartNotify(){let t=this;return new Promise((e,n)=>{eT().rest.api.AssetResource.queryAssets({names:[{predicateType:"string",value:"SMART_NOTIFY_ASSET"}]}).then(n=>{console.log("Setting Smart Notify"),n.data&&(t.smartNotify=n.data[0],t.isActive=t.smartNotify.attributes.SMART_NOTIFY_ENABLED.value,t.onChange(),e(n))}).catch(t=>{n(Error("Error:"+t)),console.log("Error:"+t)})})}checkSmartNotifyMarkers(){let t=this;this.isActive&&this.smartNotify.attributes.SMART_NOTIFY_RESULT.value.markers&&this.smartNotify.attributes.SMART_NOTIFY_RESULT.value.markers.length>0||this.isActive&&0===this.smartNotify.attributes.SMART_NOTIFY_RESULT.value.markers.length&&this.getSmartNotify().then(()=>{setTimeout(()=>{t.checkSmartNotifyMarkers()},3e3)})}setSmartNotify(t){let e=t.target.checked;e?(this.smartNotify.attributes.SMART_NOTIFY_ENABLED.value=tS()(),this.smartNotify.attributes.SMART_NOTIFY_ENABLED.timestamp=tS()(),this.isActive=!0):(this.smartNotify.attributes.SMART_NOTIFY_ENABLED.value=null,this.isActive=!1),eT().rest.api.AssetResource.update(this.smartNotify.id,this.smartNotify).then(t=>{console.log("Setting Smart Notify"),this.smartNotify.version=this.smartNotify.version+1,e?this.checkSmartNotifyMarkers():(this.smartNotify.attributes.SMART_NOTIFY_ENABLED.value=!1,this.smartNotify.attributes.SMART_NOTIFY_RESULT.value.markers=[],this.onChange())}).catch(t=>console.log("Error:"+t))}close(){this.isVisible=!1}toggleVisibility(){this.isVisible=!this.isVisible}render(){return z`
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("moment"),require("ORCore")):"function"==typeof define&&define.amd?define(["moment","ORCore"],e):"object"==typeof exports?exports.ORSmartNotify=e(require("moment"),require("ORCore")):t.ORSmartNotify=e(t.moment,t.ORCore)}(self,(t,e)=>(()=>{"use strict";var n={801:function(t){t.exports=e},192:function(e){e.exports=t}},i={};function r(t){var e=i[t];if(void 0!==e)return e.exports;var o=i[t]={exports:{}};return n[t](o,o.exports,r),o.exports}return r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}})(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{let t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),i=new WeakMap;class o{constructor(t,e,i){if(this._$cssResult$=!0,i!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,n=this.t;if(e&&void 0===t){let e=void 0!==n&&1===n.length;e&&(t=i.get(n)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(n,t))}return t}toString(){return this.cssText}}let a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(let n of t.cssRules)e+=n.cssText;return(t=>new o("string"==typeof t?t:t+"",void 0,n))(e)})(t):t,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,p=u.trustedTypes,m=p?p.emptyScript:"",g=u.reactiveElementPolyfillSupport,y={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},v=(t,e)=>!s(t,e),b={attribute:!0,type:String,converter:y,reflect:!1,useDefault:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;class w extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=b){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,e);void 0!==i&&l(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){let{get:i,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){let o=i?.call(this);r?.call(this,e),this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty("elementProperties"))return;let t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty("finalized"))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){let t=this.properties;for(let e of[...f(t),...h(t)])this.createProperty(e,t[e])}let t=this[Symbol.metadata];if(null!==t){let e=litPropertyMetadata.get(t);if(void 0!==e)for(let[t,n]of e)this.elementProperties.set(t,n)}for(let[t,e]of(this._$Eh=new Map,this.elementProperties)){let n=this._$Eu(t,e);void 0!==n&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t))for(let n of new Set(t.flat(1/0).reverse()))e.unshift(a(n));else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){let n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map;for(let e of this.constructor.elementProperties.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let n=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((n,i)=>{if(e)n.adoptedStyleSheets=i.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let e of i){let i=document.createElement("style"),r=t.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=e.cssText,n.appendChild(i)}})(n,this.constructor.elementStyles),n}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$ET(t,e){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(void 0!==i&&!0===n.reflect){let r=(void 0!==n.converter?.toAttribute?n.converter:y).toAttribute(e,n.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){let n=this.constructor,i=n._$Eh.get(t);if(void 0!==i&&this._$Em!==i){let t=n.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:y;this._$Em=i;let o=r.fromAttribute(e,t.type);this[i]=o??this._$Ej?.get(i)??o,this._$Em=null}}requestUpdate(t,e,n){if(void 0!==t){let i=this.constructor,r=this[t];if(!(((n??=i.getPropertyOptions(t)).hasChanged??v)(r,e)||n.useDefault&&n.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,n))))return;this.C(t,e,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:n,reflect:i,wrapped:r},o){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,o??e??this[t]),!0!==r||void 0!==o)||(this._$AL.has(t)||(this.hasUpdated||n||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}let t=this.constructor.elementProperties;if(t.size>0)for(let[e,n]of t){let{wrapped:t}=n,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,n,i)}}let t=!1,e=this._$AL;try{(t=this.shouldUpdate(e))?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}w.elementStyles=[],w.shadowRootOptions={mode:"open"},w.elementProperties=new Map,w.finalized=new Map,g?.({ReactiveElement:w}),(u.reactiveElementVersions??=[]).push("2.1.1");let _=globalThis,x=_.trustedTypes,$=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,A="$lit$",k=`lit$${Math.random().toFixed(9).slice(2)}$`,E="?"+k,S=`<${E}>`,O=document,N=()=>O.createComment(""),C=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,M="[ \n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,z=/>/g,I=RegExp(`>|${M}(?:([^\\s"'>=/]+)(${M}*=${M}*(?:[^
|
|
2
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,j=/"/g,L=/^(?:script|style|textarea|title)$/i,H=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),D=H(1),F=(H(2),H(3),Symbol.for("lit-noChange")),B=Symbol.for("lit-nothing"),Y=new WeakMap,V=O.createTreeWalker(O,129);function W(t,e){if(!P(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==$?$.createHTML(e):e}class q{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let r=0,o=0,a=t.length-1,s=this.parts,[l,c]=((t,e)=>{let n=t.length-1,i=[],r,o=2===e?"<svg>":3===e?"<math>":"",a=T;for(let e=0;e<n;e++){let n=t[e],s,l,c=-1,f=0;for(;f<n.length&&(a.lastIndex=f,null!==(l=a.exec(n)));)f=a.lastIndex,a===T?"!--"===l[1]?a=R:void 0!==l[1]?a=z:void 0!==l[2]?(L.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=I):void 0!==l[3]&&(a=I):a===I?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?I:'"'===l[3]?j:U):a===j||a===U?a=I:a===R||a===z?a=T:(a=I,r=void 0);let h=a===I&&t[e+1].startsWith("/>")?" ":"";o+=a===T?n+S:c>=0?(i.push(s),n.slice(0,c)+A+n.slice(c)+k+h):n+k+(-2===c?e:h)}return[W(t,o+(t[n]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]})(t,e);if(this.el=q.createElement(l,n),V.currentNode=this.el.content,2===e||3===e){let t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=V.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(let t of i.getAttributeNames())if(t.endsWith(A)){let e=c[o++],n=i.getAttribute(t).split(k),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:n,ctor:"."===a[1]?Z:"?"===a[1]?Q:"@"===a[1]?tt:J}),i.removeAttribute(t)}else t.startsWith(k)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(L.test(i.tagName)){let t=i.textContent.split(k),e=t.length-1;if(e>0){i.textContent=x?x.emptyScript:"";for(let n=0;n<e;n++)i.append(t[n],N()),V.nextNode(),s.push({type:2,index:++r});i.append(t[e],N())}}}else if(8===i.nodeType)if(i.data===E)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(k,t+1));)s.push({type:7,index:r}),t+=k.length-1}r++}}static createElement(t,e){let n=O.createElement("template");return n.innerHTML=t,n}}function X(t,e,n=t,i){if(e===F)return e;let r=void 0!==i?n._$Co?.[i]:n._$Cl,o=C(e)?void 0:e._$litDirective$;return r?.constructor!==o&&(r?._$AO?.(!1),void 0===o?r=void 0:(r=new o(t))._$AT(t,n,i),void 0!==i?(n._$Co??=[])[i]=r:n._$Cl=r),void 0!==r&&(e=X(t,r._$AS(t,e.values),r,i)),e}class G{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){let{el:{content:e},parts:n}=this._$AD,i=(t?.creationScope??O).importNode(e,!0);V.currentNode=i;let r=V.nextNode(),o=0,a=0,s=n[0];for(;void 0!==s;){if(o===s.index){let e;2===s.type?e=new K(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new te(r,this,t)),this._$AV.push(e),s=n[++a]}o!==s?.index&&(r=V.nextNode(),o++)}return V.currentNode=O,i}p(t){let e=0;for(let n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class K{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,n,i){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){let n;C(t=X(this,t,e))?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==F&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):P(n=t)||"function"==typeof n?.[Symbol.iterator]?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==B&&C(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:n}=t,i="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=q.createElement(W(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(e);else{let t=new G(i,this),n=t.u(this.options);t.p(e),this.T(n),this._$AH=t}}_$AC(t){let e=Y.get(t.strings);return void 0===e&&Y.set(t.strings,e=new q(t)),e}k(t){P(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,n,i=0;for(let r of t)i===e.length?e.push(n=new K(this.O(N()),this.O(N()),this,this.options)):n=e[i],n._$AI(r),i++;i<e.length&&(this._$AR(n&&n._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class J{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,n,i,r){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}_$AI(t,e=this,n,i){let r=this.strings,o=!1;if(void 0===r)(o=!C(t=X(this,t,e,0))||t!==this._$AH&&t!==F)&&(this._$AH=t);else{let i,a,s=t;for(t=r[0],i=0;i<r.length-1;i++)(a=X(this,s[n+i],e,i))===F&&(a=this._$AH[i]),o||=!C(a)||a!==this._$AH[i],a===B?t=B:t!==B&&(t+=(a??"")+r[i+1]),this._$AH[i]=a}o&&!i&&this.j(t)}j(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Z extends J{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===B?void 0:t}}class Q extends J{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==B)}}class tt extends J{constructor(t,e,n,i,r){super(t,e,n,i,r),this.type=5}_$AI(t,e=this){if((t=X(this,t,e,0)??B)===F)return;let n=this._$AH,i=t===B&&n!==B||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,r=t!==B&&(n===B||i);i&&this.element.removeEventListener(this.name,this,n),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class te{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){X(this,t)}}let tn=_.litHtmlPolyfillSupport;tn?.(q,K),(_.litHtmlVersions??=[]).push("3.3.1");let ti=globalThis;class tr extends w{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,n)=>{let i=n?.renderBefore??e,r=i._$litPart$;if(void 0===r){let t=n?.renderBefore??null;i._$litPart$=r=new K(e.insertBefore(N(),t),t,void 0,n??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return F}}tr._$litElement$=!0,tr.finalized=!0,ti.litElementHydrateSupport?.({LitElement:tr});let to=ti.litElementPolyfillSupport;to?.({LitElement:tr}),(ti.litElementVersions??=[]).push("4.2.1");let ta={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:v};function ts(t){return(e,n)=>"object"==typeof n?((t=ta,e,n)=>{let{kind:i,metadata:r}=n,o=globalThis.litPropertyMetadata.get(r);if(void 0===o&&globalThis.litPropertyMetadata.set(r,o=new Map),"setter"===i&&((t=Object.create(t)).wrapped=!0),o.set(n.name,t),"accessor"===i){let{name:i}=n;return{set(n){let r=e.get.call(this);e.set.call(this,n),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t,e),e}}}if("setter"===i){let{name:i}=n;return function(n){let r=this[i];e.call(this,n),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)})(t,e,n):((t,e,n)=>{let i=e.hasOwnProperty(n);return e.constructor.createProperty(n,t),i?Object.getOwnPropertyDescriptor(e,n):void 0})(t,e,n)}var tl,tc,tf=r(192),th=r.n(tf);function td(t){return(td="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})(t)}function tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){var i;i=n[e],e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i})}return t}function tp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}var tm=function(){},tg={},ty={},tv={mark:tm,measure:tm};try{"undefined"!=typeof window&&(tg=window),"undefined"!=typeof document&&(ty=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(tv=performance)}catch(t){}var tb=(tg.navigator||{}).userAgent,tw=void 0===tb?"":tb,t_=tg,tx=ty,t$=tv;t_.document;var tA=!!tx.documentElement&&!!tx.head&&"function"==typeof tx.addEventListener&&"function"==typeof tx.createElement;~tw.indexOf("MSIE")||tw.indexOf("Trident/");var tk="___FONT_AWESOME___",tE="svg-inline--fa",tS=[1,2,3,4,5,6,7,8,9,10],tO=tS.concat([11,12,13,14,15,16,17,18,19,20]),tN={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"};["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",tN.GROUP,tN.SWAP_OPACITY,tN.PRIMARY,tN.SECONDARY].concat(tS.map(function(t){return"".concat(t,"x")})).concat(tO.map(function(t){return"w-".concat(t)}));var tC=t_.FontAwesomeConfig||{};tx&&"function"==typeof tx.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(t){var e,n=tp(t,2),i=n[0],r=n[1],o=""===(e=function(t){var e=tx.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(i))||"false"!==e&&("true"===e||e);null!=o&&(tC[r]=o)});var tP=tu({},{familyPrefix:"fa",replacementClass:tE,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},tC);tP.autoReplaceSvg||(tP.observeMutations=!1);var tM=tu({},tP);t_.FontAwesomeConfig=tM;var tT=t_||{};tT[tk]||(tT[tk]={}),tT[tk].styles||(tT[tk].styles={}),tT[tk].hooks||(tT[tk].hooks={}),tT[tk].shims||(tT[tk].shims=[]);var tR=tT[tk],tz=[];tA&&((tx.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(tx.readyState)||tx.addEventListener("DOMContentLoaded",function t(){tx.removeEventListener("DOMContentLoaded",t),tz.map(function(t){return t()})}));var tI="pending",tU="settled",tj="fulfilled",tL="rejected",tH=function(){},tD=void 0!==r.g&&void 0!==r.g.process&&"function"==typeof r.g.process.emit,tF="undefined"==typeof setImmediate?setTimeout:setImmediate,tB=[];function tY(){for(var t=0;t<tB.length;t++)tB[t][0](tB[t][1]);tB=[],tc=!1}function tV(t,e){tB.push([t,e]),tc||(tc=!0,tF(tY,0))}function tW(t){var e=t.owner,n=e._state,i=e._data,r=t[n],o=t.then;if("function"==typeof r){n=tj;try{i=r(i)}catch(t){tK(o,t)}}tq(o,i)||(n===tj&&tX(o,i),n===tL&&tK(o,i))}function tq(t,e){var n;try{if(t===e)throw TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===td(e))){var i=e.then;if("function"==typeof i)return i.call(e,function(i){n||(n=!0,e===i?tG(t,i):tX(t,i))},function(e){n||(n=!0,tK(t,e))}),!0}}catch(e){return n||tK(t,e),!0}return!1}function tX(t,e){t!==e&&tq(t,e)||tG(t,e)}function tG(t,e){t._state===tI&&(t._state=tU,t._data=e,tV(tZ,t))}function tK(t,e){t._state===tI&&(t._state=tU,t._data=e,tV(tQ,t))}function tJ(t){t._then=t._then.forEach(tW)}function tZ(t){t._state=tj,tJ(t)}function tQ(t){t._state=tL,tJ(t),!t._handled&&tD&&r.g.process.emit("unhandledRejection",t._data,t)}function t1(t){r.g.process.emit("rejectionHandled",t)}function t0(t){if("function"!=typeof t)throw TypeError("Promise resolver "+t+" is not a function");if(this instanceof t0==!1)throw TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[];var e=this;function n(t){tK(e,t)}try{t(function(t){tX(e,t)},n)}catch(t){n(t)}}t0.prototype={constructor:t0,_state:tI,_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(tH),fulfilled:t,rejected:e};return(e||t)&&!this._handled&&(this._handled=!0,this._state===tL&&tD&&tV(t1,this)),this._state===tj||this._state===tL?tV(tW,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},t0.all=function(t){if(!Array.isArray(t))throw TypeError("You must pass an array to Promise.all().");return new t0(function(e,n){for(var i,r=[],o=0,a=0;a<t.length;a++)(i=t[a])&&"function"==typeof i.then?i.then(function(t){return o++,function(n){r[t]=n,--o||e(r)}}(a),n):r[a]=i;o||e(r)})},t0.race=function(t){if(!Array.isArray(t))throw TypeError("You must pass an array to Promise.race().");return new t0(function(e,n){for(var i,r=0;r<t.length;r++)(i=t[r])&&"function"==typeof i.then?i.then(e,n):e(i)})},t0.resolve=function(t){return t&&"object"===td(t)&&t.constructor===t0?t:new t0(function(e){e(t)})},t0.reject=function(t){return new t0(function(e,n){n(t)})};var t2={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function t5(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function t4(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function t3(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,": ").concat(t[n],";")},"")}function t8(t){return t.size!==t2.size||t.x!==t2.x||t.y!==t2.y||t.rotate!==t2.rotate||t.flipX||t.flipY}function t7(t){var e=t.transform,n=t.containerWidth,i=t.iconWidth,r="translate(".concat(32*e.x,", ").concat(32*e.y,") "),o="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),a="rotate(".concat(e.rotate," 0 0)"),s={transform:"".concat(r," ").concat(o," ").concat(a)};return{outer:{transform:"translate(".concat(n/2," 256)")},inner:s,path:{transform:"translate(".concat(-(i/2*1)," -256)")}}}var t6={x:0,y:0,width:"100%",height:"100%"};function t9(t){var e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}tM.measurePerformance&&t$&&t$.mark&&t$.measure;var et=function(t,e,n,i){var r,o,a,s=Object.keys(t),l=s.length,c=void 0!==i?function(t,n,r,o){return e.call(i,t,n,r,o)}:e;for(void 0===n?(r=1,a=t[s[0]]):(r=0,a=n);r<l;r++)a=c(a,t[o=s[r]],o,t);return a},ee=tR.styles,en=tR.shims,ei=function(){var t=function(t){return et(ee,function(e,n,i){return e[i]=et(n,t,{}),e},{})};t(function(t,e,n){return e[3]&&(t[e[3]]=n),t}),t(function(t,e,n){var i=e[2];return t[n]=n,i.forEach(function(e){t[e]=n}),t});var e="far"in ee;et(en,function(t,n){var i=n[0],r=n[1],o=n[2];return"far"!==r||e||(r="fas"),t[i]={prefix:r,iconName:o},t},{})};function er(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function eo(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=Error().stack}ei(),tR.styles,eo.prototype=Object.create(Error.prototype),eo.prototype.constructor=eo;var ea={fill:"currentColor"},es={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};tu({},ea,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"});var el=tu({},es,{attributeName:"opacity"});function ec(t){var e=t[0],n=t[1],i=tp(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(i)?{tag:"g",attributes:{class:"".concat(tM.familyPrefix,"-").concat(tN.GROUP)},children:[{tag:"path",attributes:{class:"".concat(tM.familyPrefix,"-").concat(tN.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(tM.familyPrefix,"-").concat(tN.PRIMARY),fill:"currentColor",d:i[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:i}}}}function ef(t){var e=t.prefix,n=void 0===e?"fa":e,i=t.iconName;if(i)return er(eh.definitions,n,i)||er(tR.styles,n,i)}tu({},ea,{cx:"256",cy:"364",r:"28"}),tu({},es,{attributeName:"r",values:"28;14;28;28;14;28;"}),tu({},el,{values:"1;0;1;1;0;1;"}),tu({},ea,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),tu({},el,{values:"1;0;0;0;0;1;"}),tu({},ea,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),tu({},el,{values:"0;0;1;1;0;0;"}),tR.styles,tR.styles;var eh=new(function(){var t;function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.definitions={}}return t=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach(function(e){t.definitions[e]=tu({},t.definitions[e]||{},r[e]),function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.skipHooks,o=Object.keys(n).reduce(function(t,e){var i=n[e];return i.icon?t[i.iconName]=i.icon:t[e]=i,t},{});"function"!=typeof tR.hooks.addPack||void 0!==r&&r?tR.styles[e]=tu({},tR.styles[e]||{},o):tR.hooks.addPack(e,o),"fas"===e&&t("fa",n)}(e,r[e]),ei()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map(function(e){var i=n[e],r=i.prefix,o=i.iconName,a=i.icon;t[r]||(t[r]={}),t[r][o]=a}),t}}],function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(e.prototype,t),e}()),ed=!1,eu=(tl=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,i=void 0===n?t2:n,r=e.symbol,o=void 0!==r&&r,a=e.mask,s=void 0===a?null:a,l=e.maskId,c=void 0===l?null:l,f=e.title,h=void 0===f?null:f,d=e.titleId,u=void 0===d?null:d,p=e.classes,m=void 0===p?[]:p,g=e.attributes,y=void 0===g?{}:g,v=e.styles,b=void 0===v?{}:v;if(t){var w,_=t.prefix,x=t.iconName,$=t.icon;return Object.defineProperty(w=tu({type:"icon"},t),"abstract",{get:function(){return tM.autoAddCss&&!ed&&(!function(t){if(t&&tA){var e=tx.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=tx.head.childNodes,i=null,r=n.length-1;r>-1;r--){var o=n[r];["STYLE","LINK"].indexOf((o.tagName||"").toUpperCase())>-1&&(i=o)}tx.head.insertBefore(e,i)}}(function(){var t=tM.familyPrefix,e=tM.replacementClass,n='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==t||e!==tE){var i=RegExp("\\.".concat("fa","\\-"),"g"),r=RegExp("\\--".concat("fa","\\-"),"g"),o=RegExp("\\.".concat(tE),"g");n=n.replace(i,".".concat(t,"-")).replace(r,"--".concat(t,"-")).replace(o,".".concat(e))}return n}()),ed=!0),tM.autoA11y&&(h?y["aria-labelledby"]="".concat(tM.replacementClass,"-title-").concat(u||t5()):(y["aria-hidden"]="true",y.focusable="false")),function(t){var e,n,i,r,o,a,s,l,c,f,h,d,u,p,m,g,y,v,b,w,_,x,$,A=t.icons,k=A.main,E=A.mask,S=t.prefix,O=t.iconName,N=t.transform,C=t.symbol,P=t.title,M=t.maskId,T=t.titleId,R=t.extra,z=t.watchable,I=E.found?E:k,U=I.width,j=I.height,L="fak"===S,H=L?"":"fa-w-".concat(Math.ceil(U/j*16)),D=[tM.replacementClass,O?"".concat(tM.familyPrefix,"-").concat(O):"",H].filter(function(t){return -1===R.classes.indexOf(t)}).filter(function(t){return""!==t||!!t}).concat(R.classes).join(" "),F={children:[],attributes:tu({},R.attributes,{"data-prefix":S,"data-icon":O,class:D,role:R.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(U," ").concat(j)})},B=L&&!~R.classes.indexOf("fa-fw")?{width:"".concat(U/j*1,"em")}:{};void 0!==z&&z&&(F.attributes["data-fa-i2svg"]=""),P&&F.children.push({tag:"title",attributes:{id:F.attributes["aria-labelledby"]||"title-".concat(T||t5())},children:[P]});var Y=tu({},F,{prefix:S,iconName:O,main:k,mask:E,maskId:M,transform:N,symbol:C,styles:tu({},B,R.styles)}),V=E.found&&k.found?(e=Y.children,n=Y.attributes,i=Y.main,r=Y.mask,o=Y.maskId,a=Y.transform,s=i.width,l=i.icon,c=r.width,f=r.icon,h=t7({transform:a,containerWidth:c,iconWidth:s}),d={tag:"rect",attributes:tu({},t6,{fill:"white"})},u=l.children?{children:l.children.map(t9)}:{},p={tag:"g",attributes:tu({},h.inner),children:[t9(tu({tag:l.tag,attributes:tu({},l.attributes,h.path)},u))]},m={tag:"g",attributes:tu({},h.outer),children:[p]},g="mask-".concat(o||t5()),y="clip-".concat(o||t5()),v={tag:"mask",attributes:tu({},t6,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,m]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:"g"===f.tag?f.children:[f]},v]},e.push(b,{tag:"rect",attributes:tu({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},t6)}),{children:e,attributes:n}):function(t){var e=t.children,n=t.attributes,i=t.main,r=t.transform,o=t3(t.styles);if(o.length>0&&(n.style=o),t8(r)){var a=t7({transform:r,containerWidth:i.width,iconWidth:i.width});e.push({tag:"g",attributes:tu({},a.outer),children:[{tag:"g",attributes:tu({},a.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:tu({},i.icon.attributes,a.path)}]}]})}else e.push(i.icon);return{children:e,attributes:n}}(Y),W=V.children,q=V.attributes;return(Y.children=W,Y.attributes=q,C)?(w=Y.prefix,_=Y.iconName,x=Y.children,[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:tu({},Y.attributes,{id:!0===($=Y.symbol)?"".concat(w,"-").concat(tM.familyPrefix,"-").concat(_):$}),children:x}]}]):function(t){var e=t.children,n=t.main,i=t.mask,r=t.attributes,o=t.styles,a=t.transform;if(t8(a)&&n.found&&!i.found){var s={x:n.width/n.height/2,y:.5};r.style=t3(tu({},o,{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}(Y)}({icons:{main:ec($),mask:s?ec(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:x,transform:tu({},t2,i),symbol:o,title:h,maskId:c,titleId:u,extra:{attributes:y,styles:b,classes:m}})}}),Object.defineProperty(w,"html",{get:function(){return w.abstract.map(function(t){return function t(e){var n,i=e.tag,r=e.attributes,o=e.children;return"string"==typeof e?t4(e):"<".concat(i," ").concat(Object.keys((n=void 0===r?{}:r)||{}).reduce(function(t,e){return t+"".concat(e,'="').concat(t4(n[e]),'" ')},"").trim(),">").concat((void 0===o?[]:o).map(t).join(""),"</").concat(i,">")}(t)})}}),Object.defineProperty(w,"node",{get:function(){if(tA){var t=tx.createElement("div");return t.innerHTML=w.html,t.children}}}),w}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:ef(t||{}),i=e.mask;return i&&(i=(i||{}).icon?i:ef(i||{})),tl(n,tu({},e,{mask:i}))}),ep={prefix:"far",iconName:"clock",icon:[512,512,[],"f017","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"]},em={prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},eg=r(801),ey=r.n(eg),ev=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a};let eb=class extends tr{constructor(){super(),this.isVisible=!1,this.isActive=!1,this.isDisabled=!1,this.smartNotify={},this.currentTime="-";let t=this;this.currentTime=th()().format("HH:mm"),setInterval(function(){t.currentTime=th()().format("HH:mm")},500)}getSmartNotify(){let t=this;return new Promise((e,n)=>{ey().rest.api.AssetResource.queryAssets({names:[{predicateType:"string",value:"SMART_NOTIFY_ASSET"}]}).then(n=>{console.log("Setting Smart Notify"),n.data&&(t.smartNotify=n.data[0],t.isActive=t.smartNotify.attributes.SMART_NOTIFY_ENABLED.value,t.onChange(),e(n))}).catch(t=>{n(Error("Error:"+t)),console.log("Error:"+t)})})}checkSmartNotifyMarkers(){let t=this;this.isActive&&this.smartNotify.attributes.SMART_NOTIFY_RESULT.value.markers&&this.smartNotify.attributes.SMART_NOTIFY_RESULT.value.markers.length>0||this.isActive&&0===this.smartNotify.attributes.SMART_NOTIFY_RESULT.value.markers.length&&this.getSmartNotify().then(()=>{setTimeout(()=>{t.checkSmartNotifyMarkers()},3e3)})}setSmartNotify(t){let e=t.target.checked;e?(this.smartNotify.attributes.SMART_NOTIFY_ENABLED.value=th()(),this.smartNotify.attributes.SMART_NOTIFY_ENABLED.timestamp=th()(),this.isActive=!0):(this.smartNotify.attributes.SMART_NOTIFY_ENABLED.value=null,this.isActive=!1),ey().rest.api.AssetResource.update(this.smartNotify.id,this.smartNotify).then(t=>{console.log("Setting Smart Notify"),this.smartNotify.version=this.smartNotify.version+1,e?this.checkSmartNotifyMarkers():(this.smartNotify.attributes.SMART_NOTIFY_ENABLED.value=!1,this.smartNotify.attributes.SMART_NOTIFY_RESULT.value.markers=[],this.onChange())}).catch(t=>console.log("Error:"+t))}close(){this.isVisible=!1}toggleVisibility(){this.isVisible=!this.isVisible}render(){return D`
|
|
3
3
|
<style>
|
|
4
4
|
#smartNotifyControlPanel {
|
|
5
5
|
position: fixed;
|
|
@@ -174,14 +174,14 @@
|
|
|
174
174
|
}
|
|
175
175
|
</style>
|
|
176
176
|
|
|
177
|
-
${this.isVisible?
|
|
177
|
+
${this.isVisible?D`
|
|
178
178
|
<div id="smartNotifyControlPanel">
|
|
179
179
|
<div class="layout horizontal controller-timeline t-center">
|
|
180
|
-
<icon>${
|
|
180
|
+
<icon>${eu(ep).node.item(0)}</icon>
|
|
181
181
|
<div class="flex padding-2-5" style="font-weight: 600;">Smart Notify</div>
|
|
182
182
|
|
|
183
183
|
<a style="cursor: pointer;height: 22px;" @click="${this.close}">
|
|
184
|
-
<icon>${
|
|
184
|
+
<icon>${eu(em).node.item(0)}</icon>
|
|
185
185
|
</a>
|
|
186
186
|
</div>
|
|
187
187
|
<div class="layout horizontal">
|
|
@@ -193,10 +193,10 @@
|
|
|
193
193
|
</label>
|
|
194
194
|
</div>
|
|
195
195
|
</div>
|
|
196
|
-
${this.isActive?
|
|
196
|
+
${this.isActive?D`
|
|
197
197
|
<div class="layout horizontal">
|
|
198
198
|
<div style="background-color: var(--app-lightgrey-color, #dedede);" class="flex padding-10">Starttijd</div>
|
|
199
|
-
<div class="flex t-center">${this.isActive?
|
|
199
|
+
<div class="flex t-center">${this.isActive?th()(this.smartNotify.attributes.SMART_NOTIFY_ENABLED.timestamp).format("HH:mm"):"-"}</div>
|
|
200
200
|
</div>
|
|
201
201
|
`:""}
|
|
202
202
|
</div>
|
|
@@ -204,9 +204,9 @@
|
|
|
204
204
|
<div id="smart-notify-toggle" @click="${this.toggleVisibility}">
|
|
205
205
|
<div class="smart-notify-toggle-label">${this.currentTime}</div>
|
|
206
206
|
<div class="smart-notify-toggle-icon" ?active="${this.isActive}">
|
|
207
|
-
<icon large>${
|
|
207
|
+
<icon large>${eu(ep).node.item(0)}</icon>
|
|
208
208
|
</div>
|
|
209
209
|
</div>
|
|
210
210
|
|
|
211
|
-
`}firstUpdated(t){super.firstUpdated(t),this.isDisabled=!
|
|
211
|
+
`}firstUpdated(t){super.firstUpdated(t),this.isDisabled=!ey().hasRole("write:assets")}};ev([ts({type:Function})],eb.prototype,"onChange",void 0),ev([ts({type:Boolean})],eb.prototype,"isVisible",void 0),ev([ts({type:Boolean})],eb.prototype,"isActive",void 0),ev([ts({type:Boolean})],eb.prototype,"isDisabled",void 0),ev([ts({type:Object})],eb.prototype,"smartNotify",void 0),ev([ts({type:String})],eb.prototype,"currentTime",void 0),eb=ev([(t=>(e,n)=>{void 0!==n?n.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)})("or-smart-notify")],eb)})(),{}})());
|
|
212
212
|
//# sourceMappingURL=index.js.map
|