PageSourceSearch

https://pika.page/assets/lit-html--directives--unsafe-html.js-6f5d…a80b6d9f056ddf107040d79e0ce78ad3f6386c06.js

js pika.page collected 2026-09-25 18:53:37 UTC 928 bytes, 9 lines download raw bytes

vendor: 928 bytes, lines 1-9
1// lit-html/directives/[email protected] downloaded from https://ga.jspm.io/npm:[email protected]/directives/unsafe-html.js
2
3import{nothing as t,noChange as i}from"lit-html";import{Directive as r,PartType as s,directive as n}from"lit-html/directive";
4/**
5 * @license
6 * Copyright 2017 Google LLC
7 * SPDX-License-Identifier: BSD-3-Clause
8 */let o=class e extends r{constructor(i){if(super(i),this.it=t,i.type!==s.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===t||null==r)return this._t=void 0,this.it=r;if(r===i)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};o.directiveName="unsafeHTML",o.resultType=1;const a=n(o);export{o as UnsafeHTMLDirective,a as unsafeHTML};
9

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.