apprun 3.33.4 → 3.33.6

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.
@@ -14,5 +14,5 @@ var N;n.on("$",C),n.on("debug",(t=>C)),n.on(E,C),n.on("#",C),n.route=S,n.on("rou
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */class Ot extends At{constructor(t){if(super(t),this.et=nt,t.type!==mt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===nt||null==t)return this.ft=void 0,this.et=t;if(t===st)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const i=[t];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}}Ot.directiveName="unsafeHTML",Ot.resultType=1;const _t=jt(Ot);function xt(t,i,s){i&&("string"==typeof i?(t._$litPart$||t.replaceChildren(),wt(tt`${_t(i)}`,t)):"_$litType$"in i?(t._$litPart$||t.replaceChildren(),wt(i,t)):(f(t,i,s),t._$litPart$=void 0))}const kt=jt(class extends At{constructor(t){if(super(t),t.type!==$t)throw new Error("${run} can only be used in event handlers")}update(t,i){let{element:s,name:e}=t;const o=()=>{let t=s._component;for(;!t&&s;)s=s.parentElement,t=s&&s._component;return console.assert(!!t,"Component not found."),t},[r,...h]=i;return"string"==typeof r?s[`on${e}`]=t=>{const i=o();i?i.run(r,...h,t):n.run(r,...h,t)}:"function"==typeof r&&(s[`on${e}`]=t=>o().setState(r(o().state,...h,t))),this.render()}render(){return st}});n.createElement=u,n.render=xt,n.Fragment=h,"object"==typeof window&&(window.React=window._React||n,window.html=tt,window.svg=it,window.run=kt);export{M as Component,T as ROUTER_404_EVENT,E as ROUTER_EVENT,n as app,_ as customElement,n as default,A as event,tt as html,O as on,xt as render,kt as run,p as safeHTML,it as svg,A as update};
17
+ */class Ot extends At{constructor(t){if(super(t),this.et=nt,t.type!==mt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===nt||null==t)return this.ft=void 0,this.et=t;if(t===st)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const i=[t];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}}Ot.directiveName="unsafeHTML",Ot.resultType=1;const _t=jt(Ot);function xt(t,i,s){i&&("string"==typeof i?(t._$litPart$||t.replaceChildren(),wt(tt`${_t(i)}`,t)):i._$litType$?(t._$litPart$||t.replaceChildren(),wt(i,t)):(f(t,i,s),t._$litPart$=void 0))}const kt=jt(class extends At{constructor(t){if(super(t),t.type!==$t)throw new Error("${run} can only be used in event handlers")}update(t,i){let{element:s,name:e}=t;const o=()=>{let t=s._component;for(;!t&&s;)s=s.parentElement,t=s&&s._component;return console.assert(!!t,"Component not found."),t},[r,...h]=i;return"string"==typeof r?s[`on${e}`]=t=>{const i=o();i?i.run(r,...h,t):n.run(r,...h,t)}:"function"==typeof r&&(s[`on${e}`]=t=>o().setState(r(o().state,...h,t))),this.render()}render(){return st}});n.createElement=u,n.render=xt,n.Fragment=h,"object"==typeof window&&(window.React=window._React||n,window.html=tt,window.svg=it,window.run=kt);export{M as Component,T as ROUTER_404_EVENT,E as ROUTER_EVENT,n as app,_ as customElement,n as default,A as event,tt as html,O as on,xt as render,kt as run,p as safeHTML,it as svg,A as update};
18
18
  //# sourceMappingURL=apprun-html.esm.js.map