@trendyol/baklava
Version:
Trendyol Baklava Design System
12 lines (10 loc) • 871 B
JavaScript
import{a as n,b as o,c as a}from"./chunk-7GK5LKBV.js";import{c as r,d as i}from"./chunk-4OT5AMS5.js";var e=class extends a{constructor(t){if(super(t),this.et=i,t.type!==n.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===i||t==null)return this.ft=void 0,this.et=t;if(t===r)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;let s=[t];return s.raw=s,this.ft={_$litType$:this.constructor.resultType,strings:s,values:[]}}};e.directiveName="unsafeHTML",e.resultType=1;var f=o(e);export{e as a,f as b};
/*! Bundled license information:
lit-html/directives/unsafe-html.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
*/
//# sourceMappingURL=chunk-3USCFSFQ.js.map