UNPKG

iobroker.lovelace

Version:

With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI

3 lines 4.19 kB
/*! For license information please see 6356.a00746131d95e54a.js.LICENSE.txt */ "use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["6356"],{70176:function(){window.JSCompiler_renameProperty=function(e,t){return e}},97333:function(e,t,o){o.d(t,{Kk:()=>r,Rq:()=>a,iY:()=>c});o(71695),o(19134),o(5740),o(97003),o(47021),o(72700),o(8038),o(71513),o(75656),o(50100),o(18084),o(70176);let n,i,s=/(url\()([^)]*)(\))/g,l=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function r(e,t){if(e&&l.test(e))return e;if("//"===e)return e;if(void 0===n){n=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",n="http://a/c%20d"===e.href}catch(o){}}if(t||(t=document.baseURI||window.location.href),n)try{return new URL(e,t).href}catch(o){return e}return i||(i=document.implementation.createHTMLDocument("temp"),i.base=i.createElement("base"),i.head.appendChild(i.base),i.anchor=i.createElement("a"),i.body.appendChild(i.anchor)),i.base.href=t,i.anchor.href=e,i.anchor.href||e}function a(e,t){return e.replace(s,(function(e,o,n,i){return o+"'"+r(n.replace(/["']/g,""),t)+"'"+i}))}function c(e){return e.substring(0,e.lastIndexOf("/")+1)}},70617:function(e,t,o){o.r(t),o.d(t,{allowTemplateFromDomModule:()=>f,cancelSyntheticClickEvents:()=>M,fastDomIf:()=>A,getSanitizeDOMValue:()=>u,legacyNoObservedAttributes:()=>W,legacyOptimizations:()=>P,legacyUndefined:()=>D,legacyWarnings:()=>g,orderedComputed:()=>R,passiveTouchGestures:()=>m,removeNestedTemplates:()=>U,rootPath:()=>a,sanitizeDOMValue:()=>d,setAllowTemplateFromDomModule:()=>S,setCancelSyntheticClickEvents:()=>I,setFastDomIf:()=>z,setLegacyNoObservedAttributes:()=>F,setLegacyOptimizations:()=>C,setLegacyUndefined:()=>O,setLegacyWarnings:()=>b,setOrderedComputed:()=>N,setPassiveTouchGestures:()=>y,setRemoveNestedTemplates:()=>k,setRootPath:()=>c,setSanitizeDOMValue:()=>w,setStrictTemplatePolicy:()=>h,setSuppressTemplateNotifications:()=>L,setSyncInitialRender:()=>T,setUseAdoptedStyleSheetsWithBuiltCSS:()=>B,strictTemplatePolicy:()=>p,supportsAdoptingStyleSheets:()=>r,suppressTemplateNotifications:()=>E,syncInitialRender:()=>v,useAdoptedStyleSheetsWithBuiltCSS:()=>_,useNativeCSSProperties:()=>s,useNativeCustomElements:()=>l,useShadow:()=>i});o(70176);var n=o(97333);const i=!window.ShadyDOM||!window.ShadyDOM.inUse,s=Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),l=!window.customElements.polyfillWrapFlushCallback,r=i&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet;e.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})();let a=window.Polymer&&window.Polymer.rootPath||(0,n.iY)(document.baseURI||window.location.href);const c=function(e){a=e};let d=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;const w=function(e){d=e},u=function(){return d};let m=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1;const y=function(e){m=e};let p=window.Polymer&&window.Polymer.strictTemplatePolicy||!1;const h=function(e){p=e};let f=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1;const S=function(e){f=e};let P=window.Polymer&&window.Polymer.legacyOptimizations||!1;const C=function(e){P=e};let g=window.Polymer&&window.Polymer.legacyWarnings||!1;const b=function(e){g=e};let v=window.Polymer&&window.Polymer.syncInitialRender||!1;const T=function(e){v=e};let D=window.Polymer&&window.Polymer.legacyUndefined||!1;const O=function(e){D=e};let R=window.Polymer&&window.Polymer.orderedComputed||!1;const N=function(e){R=e};let M=!0;const I=function(e){M=e};let U=window.Polymer&&window.Polymer.removeNestedTemplates||!1;const k=function(e){U=e};let A=window.Polymer&&window.Polymer.fastDomIf||!1;const z=function(e){A=e};let E=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;const L=function(e){E=e};let W=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1;const F=function(e){W=e};let _=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;const B=function(e){_=e}}}]); //# sourceMappingURL=6356.a00746131d95e54a.js.map