UNPKG

iobroker.lovelace

Version:

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

3 lines 4.08 kB
/*! For license information please see 85842.5be548babb686d94.js.LICENSE.txt */ export const __webpack_ids__=["85842"];export const __webpack_modules__={70176:function(){window.JSCompiler_renameProperty=function(e,t){return e}},97333:function(e,t,o){o.d(t,{Kk:()=>r,Rq:()=>c,iY:()=>a});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(e){}}if(t||(t=document.baseURI||window.location.href),n)try{return new URL(e,t).href}catch(t){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 c(e,t){return e.replace(s,(function(e,o,n,i){return o+"'"+r(n.replace(/["']/g,""),t)+"'"+i}))}function a(e){return e.substring(0,e.lastIndexOf("/")+1)}},70617:function(e,t,o){o.r(t),o.d(t,{allowTemplateFromDomModule:()=>S,cancelSyntheticClickEvents:()=>_,fastDomIf:()=>A,getSanitizeDOMValue:()=>m,legacyNoObservedAttributes:()=>W,legacyOptimizations:()=>P,legacyUndefined:()=>D,legacyWarnings:()=>C,orderedComputed:()=>R,passiveTouchGestures:()=>u,removeNestedTemplates:()=>I,rootPath:()=>c,sanitizeDOMValue:()=>d,setAllowTemplateFromDomModule:()=>f,setCancelSyntheticClickEvents:()=>M,setFastDomIf:()=>z,setLegacyNoObservedAttributes:()=>k,setLegacyOptimizations:()=>g,setLegacyUndefined:()=>O,setLegacyWarnings:()=>b,setOrderedComputed:()=>N,setPassiveTouchGestures:()=>y,setRemoveNestedTemplates:()=>U,setRootPath:()=>a,setSanitizeDOMValue:()=>w,setStrictTemplatePolicy:()=>h,setSuppressTemplateNotifications:()=>L,setSyncInitialRender:()=>T,setUseAdoptedStyleSheetsWithBuiltCSS:()=>B,strictTemplatePolicy:()=>p,supportsAdoptingStyleSheets:()=>r,suppressTemplateNotifications:()=>E,syncInitialRender:()=>v,useAdoptedStyleSheetsWithBuiltCSS:()=>F,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 c=window.Polymer&&window.Polymer.rootPath||(0,n.iY)(document.baseURI||window.location.href);const a=function(e){c=e};let d=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;const w=function(e){d=e},m=function(){return d};let u=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1;const y=function(e){u=e};let p=window.Polymer&&window.Polymer.strictTemplatePolicy||!1;const h=function(e){p=e};let S=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1;const f=function(e){S=e};let P=window.Polymer&&window.Polymer.legacyOptimizations||!1;const g=function(e){P=e};let C=window.Polymer&&window.Polymer.legacyWarnings||!1;const b=function(e){C=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 _=!0;const M=function(e){_=e};let I=window.Polymer&&window.Polymer.removeNestedTemplates||!1;const U=function(e){I=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 k=function(e){W=e};let F=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;const B=function(e){F=e}}}; //# sourceMappingURL=85842.5be548babb686d94.js.map