PageSourceSearch

https://udn.com/static/js/lit-html.bundle.js?tsb=1789960739698

js udn.com collected 2026-10-01 07:52:59 UTC 22,858 bytes, 2 lines download raw bytes

1/*! For license information please see lit-html.bundle.js.LICENSE.txt */
2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[28],{539:function(t,e,n){n.r(e),n.d(e,{AttributeCommitter:function(){return at},AttributePart:function(){return st},BooleanAttributePart:function(){return ct},DefaultTemplateProcessor:function(){return gt},EventPart:function(){return vt},NodePart:function(){return lt},PropertyCommitter:function(){return ft},PropertyPart:function(){return pt},SVGTemplateResult:function(){return G},Template:function(){return g},TemplateInstance:function(){return A},TemplateResult:function(){return U},createMarker:function(){return S},defaultTemplateProcessor:function(){return _t},directive:function(){return i},html:function(){return Pt},isDirective:function(){return o},isIterable:function(){return ut},isPrimitive:function(){return ot},isTemplatePartActive:function(){return w},noChange:function(){return l},nothing:function(){return c},parts:function(){return xt},removeNodes:function(){return s},render:function(){return Nt},reparentNodes:function(){return a},svg:function(){return Tt},templateCaches:function(){return St},templateFactory:function(){return wt}});var r=new WeakMap,i=function(t){return function(){var e=t.apply(void 0,arguments);return r.set(e,!0),e}},o=function(t){return"function"==typeof t&&r.has(t)},u="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,a=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var i=e.nextSibling;t.insertBefore(e,r),e=i}},s=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}},l={},c={};function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,v(r.key),r)}}function h(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function v(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}var y="{{lit-".concat(String(Math.random()).slice(2),"}}"),d="\x3c!--".concat(y,"--\x3e"),m=new RegExp("".concat(y,"|").concat(d)),b="$lit$",g=h((function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parts=[],this.element=n;for(var r=[],i=[],o=document.createTreeWalker(n.content,133,null,!1),u=0,a=-1,s=0,l=e.strings,c=e.values.length;s<c;){var f=o.nextNode();if(null!==f){if(a++,1===f.nodeType){if(f.hasAttributes()){for(var p=f.attributes,h=p.length,v=0,d=0;d<h;d++)_(p[d].name,b)&&v++;for(;v-- >0;){var g=l[s],w=x.exec(g)[2],N=w.toLowerCase()+b,P=f.getAttribute(N);f.removeAttribute(N);var T=P.split(m);this.parts.push({type:"attribute",index:a,name:w,strings:T}),s+=T.length-1}}"TEMPLATE"===f.tagName&&(i.push(f),o.currentNode=f.content)}else if(3===f.nodeType){var O=f.data;if(O.indexOf(y)>=0){for(var j=f.parentNode,k=O.split(m),E=k.length-1,A=0;A<E;A++){var V=void 0,C=k[A];if(""===C)V=S();else{var M=x.exec(C);null!==M&&_(M[2],b)&&(C=C.slice(0,M.index)+M[1]+M[2].slice(0,-5)+M[3]),V=document.createTextNode(C)}j.insertBefore(V,f),this.parts.push({type:"node",index:++a})}""===k[E]?(j.insertBefore(S(),f),r.push(f)):f.data=k[E],s+=E}}else if(8===f.nodeType)if(f.data===y){var I=f.parentNode;null!==f.previousSibling&&a!==u||(a++,I.insertBefore(S(),f)),u=a,this.parts.push({type:"node",index:a}),null===f.nextSibling?f.data="":(r.push(f),a--),s++}else for(var R=-1;-1!==(R=f.data.indexOf(y,R+1));)this.parts.push({type:"node",index:-1}),s++}else o.currentNode=i.pop()}for(var L=0,H=r;L<H.length;L++){var B=H[L];B.parentNode.removeChild(B)}})),_=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},w=function(t){return-1!==t.index},S=function(){return document.createComment("")},x=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function P(t){return function(t){if(Array.isArray(t))return j(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||O(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
2if(!n){if(Array.isArray(t)||(n=O(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw o}}}}function O(t,e){if(t){if("string"==typeof t)return j(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(t,e):void 0}}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function k(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,E(r.key),r)}}function E(t){var e=function(t,e){if("object"!=N(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=N(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==N(e)?e:e+""}var A=function(){return t=function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r},e=[{key:"update",value:function(t){var e,n=0,r=T(this.__parts);try{for(r.s();!(e=r.n()).done;){var i=e.value;void 0!==i&&i.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var o,u=T(this.__parts);try{for(u.s();!(o=u.n()).done;){var a=o.value;void 0!==a&&a.commit()}}catch(t){u.e(t)}finally{u.f()}}},{key:"_clone",value:function(){for(var t,e=u?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,i=document.createTreeWalker(e,133,null,!1),o=0,a=0,s=i.nextNode();o<r.length;)if(t=r[o],w(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),i.currentNode=s.content),null===(s=i.nextNode())&&(i.currentNode=n.pop(),s=i.nextNode());if("node"===t.type){var l=this.processor.handleTextExpression(this.options);l.insertAfterNode(s.previousSibling),this.__parts.push(l)}else{var c;(c=this.__parts).push.apply(c,P(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)))}o++}else this.__parts.push(void 0),o++;return u&&(document.adoptNode(e),customElements.upgrade(e)),e}}],e&&k(t.prototype,e),n&&k(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();function V(t){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(t)}function C(t,e,n){return e=R(e),function(t,e){if(e&&("object"===V(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,M()?Reflect.construct(e,n||[],R(t).constructor):e.apply(t,n))}function M(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(M=function(){return!!t})()}function I(){return I="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=R(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},I.apply(this,arguments)}function R(t){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},R(t)}
2function L(t,e){return L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},L(t,e)}function H(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,D(r.key),r)}}function F(t,e,n){return e&&B(t.prototype,e),n&&B(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function D(t){var e=function(t,e){if("object"!=V(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=V(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==V(e)?e:e+""}var W=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),$=" ".concat(y," "),U=function(){return F((function t(e,n,r,i){H(this,t),this.strings=e,this.values=n,this.type=r,this.processor=i}),[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var i=this.strings[r],o=i.lastIndexOf("\x3c!--");n=(o>-1||n)&&-1===i.indexOf("--\x3e",o+1);var u=x.exec(i);e+=null===u?i+(n?$:d):i.substr(0,u.index)+u[1]+u[2]+b+u[3]+y}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==W&&(e=W.createHTML(e)),t.innerHTML=e,t}}])}(),G=function(t){function e(){return H(this,e),C(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&L(t,e)}(e,t),F(e,[{key:"getHTML",value:function(){return"<svg>".concat(I(R(e.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=I(R(e.prototype),"getTemplateElement",this).call(this),n=t.content,r=n.firstChild;return n.removeChild(r),a(n,r.firstChild),t}}])}(U);function q(t,e,n){return e=K(e),function(t,e){if(e&&("object"===it(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,z()?Reflect.construct(e,n||[],K(t).constructor):e.apply(t,n))}function z(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(z=function(){return!!t})()}function J(){return J="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=K(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},J.apply(this,arguments)}function K(t){return K=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},K(t)}function Q(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&X(t,e)}function X(t,e){return X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},X(t,e)}function Y(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Z(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Z(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw o}}}}function Z(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function tt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,rt(r.key),r)}}function nt(t,e,n){return e&&et(t.prototype,e),n&&et(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function rt(t){var e=function(t,e){if("object"!=it(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=it(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==it(e)?e:e+""}function it(t){return it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},it(t)}var ot=function(t){return null===t||!("object"===it(t)||"function"==typeof t)},ut=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},at=function(){return nt((function t(e,n,r){tt(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var i=0;i<r.length-1;i++)this.parts[i]=this._createPart()}),[{key:"_createPart",value:function(){return new st(this)}},{key:"_getValue",value:function(){var t=this.strings,e=t.length-1,n=this.parts;if(1===e&&""===t[0]&&""===t[1]){var r=n[0].value;if("symbol"===it(r))return String(r);if("string"==typeof r||!ut(r))return r}for(var i="",o=0;o<e;o++){i+=t[o];var u=n[o];if(void 0!==u){var a=u.value;if(ot(a)||!ut(a))i+="string"==typeof a?a:String(a);else{var s,l=Y(a);try{for(l.s();!(s=l.n()).done;){var c=s.value;i+="string"==typeof c?c:String(c)}}catch(t){l.e(t)}finally{l.f()}}}}return i+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}])}(),st=function(){return nt((function t(e){tt(this,t),this.value=void 0,this.committer=e}),[{key:"setValue",value:function(t){t===l||ot(t)&&t===this.value||(this.value=t,o(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;o(this.value);){var t=this.value;this.value=l,t(this)}this.value!==l&&this.committer.commit()}}])}(),lt=function(){function t(e){tt(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return nt(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(S()),this.endNode=t.appendChild(S())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=S()),t.__insert(this.endNode=S())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=S()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;o(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=l,t(this)}var e=this.__pendingValue;e!==l&&(ot(e)?e!==this.value&&this.__commitText(e):e instanceof U?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):ut(e)?this.__commitIterable(e):e===c?(this.value=c,this.clear()):this.__commitText(e))}}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof A&&this.value.template===e)this.value.update(t.values);else{var n=new A(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,i=this.value,o=0,u=Y(e);try{for(u.s();!(r=u.n()).done;){var a=r.value;void 0===(n=i[o])&&(n=new t(this.options),i.push(n),0===o?n.appendIntoPart(this):n.insertAfterPart(i[o-1])),n.setValue(a),n.commit(),o++}}catch(t){u.e(t)}finally{u.f()}o<i.length&&(i.length=o,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;s(this.startNode.parentNode,t.nextSibling,this.endNode)}}])}(),ct=function(){return nt((function t(e,n,r){if(tt(this,t),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=r}),[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;o(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=l,t(this)}if(this.__pendingValue!==l){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=l}}}])}(),ft=function(t){function e(t,n,r){var i;return tt(this,e),(i=q(this,e,[t,n,r])).single=2===r.length&&""===r[0]&&""===r[1],i}return Q(e,t),nt(e,[{key:"_createPart",value:function(){return new pt(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:J(K(e.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}])}(at),pt=function(t){function e(){return tt(this,e),q(this,e,arguments)}return Q(e,t),nt(e)}(st),ht=!1;!function(){try{var t={get capture(){return ht=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var vt=function(){return nt((function t(e,n,r){var i=this;tt(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return i.handleEvent(t)}}),[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;o(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=l,t(this)}if(this.__pendingValue!==l){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),i=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=yt(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=l}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}])}(),yt=function(t){return t&&(ht?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)};function dt(t){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dt(t)}function mt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,bt(r.key),r)}}function bt(t){var e=function(t,e){if("object"!=dt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=dt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==dt(e)?e:e+""}var gt=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)},(e=[{key:"handleAttributeExpressions",value:function(t,e,n,r){var i=e[0];return"."===i?new ft(t,e.slice(1),n).parts:"@"===i?[new vt(t,e.slice(1),r.eventContext)]:"?"===i?[new ct(t,e.slice(1),n)]:new at(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new lt(t)}}])&&mt(t.prototype,e),n&&mt(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}(),_t=new gt;function wt(t){var e=St.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},St.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(y);return void 0===(n=e.keyString.get(r))&&(n=new g(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var St=new Map,xt=new WeakMap,Nt=function(t,e,n){var r=xt.get(e);void 0===r&&(s(e,e.firstChild),xt.set(e,r=new lt(Object.assign({templateFactory:wt},n))),r.appendInto(e)),r.setValue(t),r.commit()};"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");var Pt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new U(t,n,"html",_t)},Tt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new G(t,n,"svg",_t)}}}]);

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.