diff --git a/dist/light-entity-card.js b/dist/light-entity-card.js index 95cae36..8bb8957 100644 --- a/dist/light-entity-card.js +++ b/dist/light-entity-card.js @@ -1,4 +1,12394 @@ -!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/local/",n(n.s=307)}([function(t,e,n){var r=n(1),i=n(7),o=n(14),u=n(11),a=n(20),c=function(t,e,n){var s,f,l,h,p=t&c.F,v=t&c.G,d=t&c.S,y=t&c.P,g=t&c.B,m=v?r:d?r[e]||(r[e]={}):(r[e]||{}).prototype,_=v?i:i[e]||(i[e]={}),b=_.prototype||(_.prototype={});for(s in v&&(n=e),n)l=((f=!p&&m&&void 0!==m[s])?m:n)[s],h=g&&f?a(l,r):y&&"function"==typeof l?a(Function.call,l):l,m&&u(m,s,l,t&c.U),_[s]!=l&&o(_,s,h),y&&b[s]!=l&&(b[s]=l)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(57)("wks"),i=n(35),o=n(1).Symbol,u="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(22),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(3),i=n(103),o=n(31),u=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(28);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(1),i=n(14),o=n(13),u=n(35)("src"),a=n(143),c=(""+a).split("toString");n(7).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var s="function"==typeof n;s&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(s&&(o(n,u)||i(n,u,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(0),i=n(2),o=n(28),u=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(u,""")+'"'),a+">"+i+""};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(9),i=n(34);t.exports=n(8)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(51),i=n(28);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";var r=n(42),i=n(123),o=n(47),u=n(15);t.exports=n(85)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(54),i={};i[n(5)("toStringTag")]="z",i+""!="[object z]"&&n(11)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){for(var r=n(16),i=n(37),o=n(11),u=n(1),a=n(14),c=n(47),s=n(5),f=s("iterator"),l=s("toStringTag"),h=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=i(p),d=0;d0?r:n)(t)}},function(t,e,n){var r=n(52),i=n(34),o=n(15),u=n(31),a=n(13),c=n(103),s=Object.getOwnPropertyDescriptor;e.f=n(8)?s:function(t,e){if(t=o(t),e=u(e,!0),c)try{return s(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(0),i=n(7),o=n(2);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",u)}},function(t,e,n){var r=n(20),i=n(51),o=n(10),u=n(6),a=n(120);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,f=4==t,l=6==t,h=5==t||l,p=e||a;return function(e,a,v){for(var d,y,g=o(e),m=i(g),_=r(a,v,3),b=u(m.length),w=0,S=n?p(e,b):c?p(e,0):void 0;b>w;w++)if((h||w in m)&&(y=_(d=m[w],w,g),t))if(n)S[w]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return w;case 2:S.push(d)}else if(f)return!1;return l?-1:s||f?f:S}}},function(t,e,n){"use strict";var r=n(1),i=n(13),o=n(8),u=n(0),a=n(11),c=n(32).KEY,s=n(2),f=n(57),l=n(44),h=n(35),p=n(5),v=n(74),d=n(104),y=n(144),g=n(60),m=n(3),_=n(4),b=n(10),w=n(15),S=n(31),x=n(34),E=n(39),P=n(107),k=n(23),O=n(59),A=n(9),N=n(37),j=k.f,T=A.f,C=P.f,F=r.Symbol,M=r.JSON,I=M&&M.stringify,R=p("_hidden"),L=p("toPrimitive"),V={}.propertyIsEnumerable,$=f("symbol-registry"),U=f("symbols"),W=f("op-symbols"),D=Object.prototype,B="function"==typeof F&&!!O.f,G=r.QObject,z=!G||!G.prototype||!G.prototype.findChild,q=o&&s(function(){return 7!=E(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=j(D,e);r&&delete D[e],T(t,e,n),r&&t!==D&&T(D,e,r)}:T,H=function(t){var e=U[t]=E(F.prototype);return e._k=t,e},J=B&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},Y=function(t,e,n){return t===D&&Y(W,e,n),m(t),e=S(e,!0),m(n),i(U,e)?(n.enumerable?(i(t,R)&&t[R][e]&&(t[R][e]=!1),n=E(n,{enumerable:x(0,!1)})):(i(t,R)||T(t,R,x(1,{})),t[R][e]=!0),q(t,e,n)):T(t,e,n)},K=function(t,e){m(t);for(var n,r=y(e=w(e)),i=0,o=r.length;o>i;)Y(t,n=r[i++],e[n]);return t},X=function(t){var e=V.call(this,t=S(t,!0));return!(this===D&&i(U,t)&&!i(W,t))&&(!(e||!i(this,t)||!i(U,t)||i(this,R)&&this[R][t])||e)},Z=function(t,e){if(t=w(t),e=S(e,!0),t!==D||!i(U,e)||i(W,e)){var n=j(t,e);return!n||!i(U,e)||i(t,R)&&t[R][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=C(w(t)),r=[],o=0;n.length>o;)i(U,e=n[o++])||e==R||e==c||r.push(e);return r},tt=function(t){for(var e,n=t===D,r=C(n?W:w(t)),o=[],u=0;r.length>u;)!i(U,e=r[u++])||n&&!i(D,e)||o.push(U[e]);return o};B||(a((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===D&&e.call(W,n),i(this,R)&&i(this[R],t)&&(this[R][t]=!1),q(this,t,x(1,n))};return o&&z&&q(D,t,{configurable:!0,set:e}),H(t)}).prototype,"toString",function(){return this._k}),k.f=Z,A.f=Y,n(40).f=P.f=Q,n(52).f=X,O.f=tt,o&&!n(36)&&a(D,"propertyIsEnumerable",X,!0),v.f=function(t){return H(p(t))}),u(u.G+u.W+u.F*!B,{Symbol:F});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var rt=N(p.store),it=0;rt.length>it;)d(rt[it++]);u(u.S+u.F*!B,"Symbol",{for:function(t){return i($,t+="")?$[t]:$[t]=F(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in $)if($[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),u(u.S+u.F*!B,"Object",{create:function(t,e){return void 0===e?E(t):K(E(t),e)},defineProperty:Y,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var ot=s(function(){O.f(1)});u(u.S+u.F*ot,"Object",{getOwnPropertySymbols:function(t){return O.f(b(t))}}),M&&u(u.S+u.F*(!B||s(function(){var t=F();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(_(e)||void 0!==t)&&!J(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,I.apply(M,r)}}),F.prototype[L]||n(14)(F.prototype,L,F.prototype.valueOf),l(F,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";if(n(8)){var r=n(36),i=n(1),o=n(2),u=n(0),a=n(71),c=n(99),s=n(20),f=n(49),l=n(34),h=n(14),p=n(50),v=n(22),d=n(6),y=n(132),g=n(38),m=n(31),_=n(13),b=n(54),w=n(4),S=n(10),x=n(89),E=n(39),P=n(41),k=n(40).f,O=n(91),A=n(35),N=n(5),j=n(25),T=n(58),C=n(55),F=n(16),M=n(47),I=n(63),R=n(48),L=n(92),V=n(122),$=n(9),U=n(23),W=$.f,D=U.f,B=i.RangeError,G=i.TypeError,z=i.Uint8Array,q=Array.prototype,H=c.ArrayBuffer,J=c.DataView,Y=j(0),K=j(2),X=j(3),Z=j(4),Q=j(5),tt=j(6),et=T(!0),nt=T(!1),rt=F.values,it=F.keys,ot=F.entries,ut=q.lastIndexOf,at=q.reduce,ct=q.reduceRight,st=q.join,ft=q.sort,lt=q.slice,ht=q.toString,pt=q.toLocaleString,vt=N("iterator"),dt=N("toStringTag"),yt=A("typed_constructor"),gt=A("def_constructor"),mt=a.CONSTR,_t=a.TYPED,bt=a.VIEW,wt=j(1,function(t,e){return kt(C(t,t[gt]),e)}),St=o(function(){return 1===new z(new Uint16Array([1]).buffer)[0]}),xt=!!z&&!!z.prototype.set&&o(function(){new z(1).set({})}),Et=function(t,e){var n=v(t);if(n<0||n%e)throw B("Wrong offset!");return n},Pt=function(t){if(w(t)&&_t in t)return t;throw G(t+" is not a typed array!")},kt=function(t,e){if(!(w(t)&&yt in t))throw G("It is not a typed array constructor!");return new t(e)},Ot=function(t,e){return At(C(t,t[gt]),e)},At=function(t,e){for(var n=0,r=e.length,i=kt(t,r);r>n;)i[n]=e[n++];return i},Nt=function(t,e,n){W(t,e,{get:function(){return this._d[n]}})},jt=function(t){var e,n,r,i,o,u,a=S(t),c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,h=O(a);if(null!=h&&!x(h)){for(u=h.call(a),r=[],e=0;!(o=u.next()).done;e++)r.push(o.value);a=r}for(l&&c>2&&(f=s(f,arguments[2],2)),e=0,n=d(a.length),i=kt(this,n);n>e;e++)i[e]=l?f(a[e],e):a[e];return i},Tt=function(){for(var t=0,e=arguments.length,n=kt(this,e);e>t;)n[t]=arguments[t++];return n},Ct=!!z&&o(function(){pt.call(new z(1))}),Ft=function(){return pt.apply(Ct?lt.call(Pt(this)):Pt(this),arguments)},Mt={copyWithin:function(t,e){return V.call(Pt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(Pt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return L.apply(Pt(this),arguments)},filter:function(t){return Ot(this,K(Pt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Pt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Y(Pt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Pt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return st.apply(Pt(this),arguments)},lastIndexOf:function(t){return ut.apply(Pt(this),arguments)},map:function(t){return wt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(Pt(this),arguments)},reduceRight:function(t){return ct.apply(Pt(this),arguments)},reverse:function(){for(var t,e=Pt(this).length,n=Math.floor(e/2),r=0;r1?arguments[1]:void 0)},sort:function(t){return ft.call(Pt(this),t)},subarray:function(t,e){var n=Pt(this),r=n.length,i=g(t,r);return new(C(n,n[gt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,d((void 0===e?r:g(e,r))-i))}},It=function(t,e){return Ot(this,lt.call(Pt(this),t,e))},Rt=function(t){Pt(this);var e=Et(arguments[1],1),n=this.length,r=S(t),i=d(r.length),o=0;if(i+e>n)throw B("Wrong length!");for(;o255?255:255&r),i.v[p](n*e+i.o,r,St)}(this,n,t)},enumerable:!0})};_?(v=n(function(t,n,r,i){f(t,v,s,"_d");var o,u,a,c,l=0,p=0;if(w(n)){if(!(n instanceof H||"ArrayBuffer"==(c=b(n))||"SharedArrayBuffer"==c))return _t in n?At(v,n):jt.call(v,n);o=n,p=Et(r,e);var g=n.byteLength;if(void 0===i){if(g%e)throw B("Wrong length!");if((u=g-p)<0)throw B("Wrong length!")}else if((u=d(i)*e)+p>g)throw B("Wrong length!");a=u/e}else a=y(n),o=new H(u=a*e);for(h(t,"_d",{b:o,o:p,l:u,e:a,v:new J(o)});l=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e,n){var r=n(105),i=n(76);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(22),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(3),i=n(106),o=n(76),u=n(75)("IE_PROTO"),a=function(){},c=function(){var t,e=n(73)("iframe"),r=o.length;for(e.style.display="none",n(77).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("