1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([["src_main_webpack_utils_accessoriescatalog_route_accessoriescatalog_route_ts-src_main_webpack_-778c4b"],{18829:function(t,e,r){r.d(e,{Q:function(){return i},v:function(){return s}});var n=r(61315);function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var i={detail:"product",listing:"category"},c=[n.Z6.accessory,n.Z6.nameplate,n.Z6.category,n.Z6.subcategory],u=function(t){var e=(0,n.br)(t),r=e.indexOf(n.L4);if(-1===r)return!1;var o=e.slice(r+1);return 1===o.length&&Object.values(i).includes(o[0])},l=function(t,e,r){var a,c=new URL(t.toString());return c.pathname=function(t,e){var r=(0,n.br)(t),a=i[e];if(0===r.length)return"/".concat(a,".html");var c=r[r.length-1];return c===n.L4?"/".concat(r.join("/"),"/").concat(a,".html"):Object.values(i).includes(c)?(r[r.length-1]=a,"/".concat(r.join("/"),".html")):"/".concat([].concat(o(r.slice(0,-1)),[a]).join("/"),".html")}(c.pathname,r),c.searchParams.set(n.Z6.nameplate,null!==(a=e.nameplate)&&void 0!==a?a:""),(0,n.We)(c.searchParams,n.Z6.category,e.category),(0,n.We)(c.searchParams,n.Z6.subcategory,e.subcategory),(0,n.We)(c.searchParams,n.Z6.accessory,"accessory"in e?e.accessory:""),c},s=function(){return{buildDetailUrl:function(t,e){return l(t,e,"detail").toString()},buildListingUrl:function(t,e){return l(t,e,"listing").toString()},readState:function(t){var e,r,o,a,i,l=(0,n.Rw)(t.pathname);return c.some(function(e){return t.searchParams.has(e)})?{accessory:null!==(e=null!==(r=t.searchParams.get(n.Z6.accessory))&&void 0!==r?r:null==l?void 0:l.accessory)&&void 0!==e?e:"",category:null!==(o=t.searchParams.get(n.Z6.category))&&void 0!==o?o:"",isAuthorMode:!0,nameplate:null!==(a=t.searchParams.get(n.Z6.nameplate))&&void 0!==a?a:"",subcategory:null!==(i=t.searchParams.get(n.Z6.subcategory))&&void 0!==i?i:""}:u(t.pathname)?null:l?{accessory:l.accessory,category:l.category,isAuthorMode:!0,nameplate:l.nameplate,subcategory:l.subcategory}:null},shouldIntercept:function(t){return u(t.pathname)}}}},61315:function(t,e,r){r.d(e,{L4:function(){return n},Rn:function(){return u},Rw:function(){return c},We:function(){return a},Z6:function(){return o},br:function(){return i}});var n="accessories",o={accessory:"accessory",category:"category",nameplate:"nameplate",subcategory:"subcategory"},a=function(t,e,r){r?t.set(e,r):t.delete(e)},i=function(t){var e=t.split("#")[0].split("?")[0].replace(/\/{2,}/g,"/").replace(/^\/+|\/+$/g,"");if(!e)return[];var r=e.split("/");return r.length>0&&(r[r.length-1]=r[r.length-1].replace(/\.html$/i,"")),r},c=function(t){var e,r,o,a,c=i(t),u=c.indexOf(n);return-1===u?null:{accessory:null!==(e=c[u+4])&&void 0!==e?e:"",base:"/".concat(c.slice(0,u+1).join("/")),category:null!==(r=c[u+2])&&void 0!==r?r:"",nameplate:null!==(o=c[u+1])&&void 0!==o?o:"",subcategory:null!==(a=c[u+3])&&void 0!==a?a:""}},u=function(t){var e;return Boolean(null===(e=c(t))||void 0===e?void 0:e.accessory)}},36856:function(t,e,r){r.d(e,{Pt:function(){return y}});var n=r(18829),o=r(61315);function a(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var c=function(t,e){var r=(0,o.Rw)(t.pathname),n=null!=r&&r.base?r.base.split("/").filter(
1Boolean):[o.L4],i="accessory"in e?e.accessory:"",c=[].concat(a(n),[e.nameplate,e.category,e.subcategory,i]).filter(Boolean),u=new URL(t.toString());return u.pathname="".concat(c.join("/"),".html").replace(/\/{2,}/g,"/"),u.search="",u};function u(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function a(r,n,o,a){var u=n&&n.prototype instanceof c?n:c,s=Object.create(u.prototype);return l(s,"_invoke",function(r,n,o){var a,c,u,l=0,s=o||[],f=!1,p={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,r){return a=e,c=0,u=t,p.n=r,i}};function d(r,n){for(c=r,u=n,e=0;!f&&l&&!o&&e<s.length;e++){var o,a=s[e],d=p.p,m=a[2];r>3?(o=m===n)&&(u=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=t):a[0]<=d&&((o=r<2&&d<a[1])?(c=0,p.v=n,p.n=a[1]):d<m&&(o=r<3||a[0]>n||n>m)&&(a[4]=r,a[5]=n,p.n=m,c=0))}if(o||r>1)return i;throw f=!0,n}return function(o,s,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&d(s,m),c=s,u=m;(e=c<2?t:u)||!f;){a||(c?c<3?(c>1&&(p.n=-1),d(c,u)):p.n=u:p.v=u);try{if(l=2,a){if(c||(o="next"),e=a[o]){if(!(e=e.call(a,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,c<2&&(c=0)}else 1===c&&(e=a.return)&&e.call(a),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=t}else if((e=(f=p.n<0)?u:r.call(n,p))!==i)break}catch(e){a=t,c=1,u=e}finally{l=1}}return{value:e,done:f}}}(r,o,a),!0),s}var i={};function c(){}function s(){}function f(){}e=Object.getPrototypeOf;var p=[][n]?e(e([][n]())):(l(e={},n,function(){return this}),e),d=f.prototype=c.prototype=Object.create(p);function m(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,l(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return s.prototype=f,l(d,"constructor",f),l(f,"constructor",s),s.displayName="GeneratorFunction",l(f,o,"GeneratorFunction"),l(d),l(d,o,"Generator"),l(d,n,function(){return this}),l(d,"toString",function(){return"[object Generator]"}),(u=function(){return{w:a,m:m}})()}function l(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}l=function(t,e,r,n){if(e)o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r;else{var a=function(e,r){l(t,e,function(t){return this._invoke(e,r,t)})};a("next",0),a("throw",1),a("return",2)}},l(t,e,r,n)}function s(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var a=t.apply(e,r);function i(t){s(a,n,o,i,c,"next",t)}function c(t){s(a,n,o,i,c,"throw",t)}i(void 0)})}}var p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return new URL(t.location.href)},d=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigation},m=function(t){if(!t)return!1;try{return t.location.origin===window.location.origin}catch(t){return!1}},y=function(t){var e,r,a=t.isAuthorMode,i=a?function(){for(var t=0,e=[window.top,window.parent];t<e.length;t++){var r=e[t];if(r&&r!==window&&m(r))return r}return window}():window,l=a?(0,n.v)():{buildDetailUrl:function(t,e){return c(t,e).toString()},buildListingUrl:function(t,e){return c(t,e).toString()},readState:function(t){var e=(0,o.Rw)(t.pathname);return e?{accessory:e.accessory,category:e.category,isAuthorMode:!1,nameplate:e.nameplate,subcategory:e.subcategory}:null},shouldIntercept:function(t){return Boolean((0,o.Rw)(t.pathname))}},s=new Set,y=function(t){t&&s.forEach(function(e){return e(t)})},b=function(t){y(l.readState(new URL(t,i.location.origin)))},v=function(){return l.readState(p(i))},h=function(){var t=f(u().m(function t(e,r){var n;return u().w(function(t){for(;;)switch(t.n){case 0:if(null==(n=d(i))||!n.navigate){t.n=1;break}return n.navigate(e,{history:null!=r&&r.replace?"replace":"push"}),t.a(2);case 1:null!=r&&r.replace?i.history.replaceState({},"",e):i.history.pushState({},"",e),b(e);case 2:return t.a(2)}},t)}));return function(e,r){return t.apply(this,arguments)}}(),g=function(){if(!r){var t=function(){return y(v())};i.addEventListener("popstate",t),r=function(){return i.removeEventListener("popstate",t)}}var n=d(i);if(n&&!e){var c=function(t){var e,r,n=null===(e=t.destination)||void 0===e?void 0:e.url;if(n){var c=new URL(n,i.location.origin);(function(t,e,r,n,a){return!(!function(t,e,r){return t.origin===r&&e.shouldIntercept(t)}(e,r,n)||!a&&(0,o.Rn)(t.pathname)!==(0,o.Rn)(e.pathname)||a&&t.pathname!==e.pathname)})(p(i),c,l,i.location.origin,a)&&(null===(r=t.intercept)||void 0===r||r.call(t,{handler:function(){b(c.toString())}}))}};n.addEventListener("navigate",c),e=function(){return n.removeEventListener("navigate",c)}}};return{buildListingUrl:function(t){return l.buildListingUrl(p(i),t)},buildDetailUrl:function(t){return l.buildDetailUrl(p(i),t)},navigateToListing:function(t){var e=arguments;return f(u().m(function r(){var n,o;return u().w(function(r){for(;;)switch(r.n){case 0:return n=e.length>1&&void 0!==e[1]?e[1]:{},o=l.buildListingUrl(p(i),t),r.n=1,h(o,n);case 1:return r.a(2)}},r)}))()},navigateToDetail:function(t){var e=arguments;return f(u().m(function r(){var n,o;return u().w(function(r){for(;;)switch(r.n){case 0:return n=e.length>1&&void 0!==e[1]?e[1]:{},o=l.buildDetailUrl(p(i),t),r.n=1,h(o,n);case 1:return r.a(2)}},r)}))()},readCurrentState:v,subscribe:function(t){return s.add(t),g(),function(){var n,o;s.delete(t),s.size>0||(null===(n=e)||void 0===n||n(),e=void 0,null===(o=r)||void 0===o||o(),r=void 0)}}}}},94305:function(t,e,r){function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],u=!0,l=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;
1!(u=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{$Q:function(){return c},ad:function(){return a},tT:function(){return i},yH:function(){return u}});var a=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return t=e.location.pathname,/^\/editor\.html(?:\/|$)/i.test(t)||function(t){var e;return!(null===(e=t.Granite)||void 0===e||!e.author)}(e)},i=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];return r.reduce(function(t,e){var r=n(e,2),o=r[0],a=r[1];return t.replace(new RegExp("\\{\\{".concat(o,"\\}\\}"),"g"),a)},t)},c=function(t,e){return null==t||""===t?e:"true"===t},u=function(t,e){if(null==t||""===t)return e;var r=Number(t);return Number.isNaN(r)?e:r}},48590:function(t,e,r){var n=r(99418);function o(t){return o="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},o(t)}function a(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){l(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function l(t,e,r){return(e=p(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,p(n.key),n)}}function f(t,e,r){return e&&s(t.prototype,e),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function p(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e,r){return e=h(e),function(t,e){if(e&&("object"==o(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,b()?Reflect.construct(e,r||[],h(t).constructor):e.apply(t,r))}function y(t){var e="function"==typeof Map?new Map:void 0;return y=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(b())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&v(o,r.prototype),o}(t,arguments,h(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,t)},y(t)}function b(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(b=function(){return!!t})()}function v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},v(t,e)}
1function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}var g=function(t){function e(t){var r;return d(this,e),(r=m(this,e,[t])).name="SanitizerError",r}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&&v(t,e)}(e,t),f(e)}(y(Error)),w=new Set(["a","abbr","acronym","address","area","article","aside","audio","b","basefont","bdi","bdo","bgsound","big","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","image","img","input","ins","kbd","keygen","label","layer","legend","li","link","listing","main","map","mark","marquee","menu","meta","meter","nav","nobr","ol","optgroup","option","output","p","picture","plaintext","popup","portal","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","section","select","selectmenu","slot","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr"]),O=["abbr","accept","accept-charset","accesskey","action","align","alink","allow","allowfullscreen","allowpaymentrequest","alt","anchor","archive","as","async","autocapitalize","autocomplete","autocorrect","autofocus","autopictureinpicture","autoplay","axis","background","behavior","bgcolor","border","bordercolor","capture","cellpadding","cellspacing","challenge","char","charoff","charset","checked","cite","class","classid","clear","code","codebase","codetype","color","cols","colspan","compact","content","contenteditable","controls","controlslist","conversiondestination","coords","crossorigin","csp","data","datetime","declare","decoding","default","defer","dir","direction","dirname","disabled","disablepictureinpicture","disableremoteplayback","disallowdocumentaccess","download","draggable","elementtiming","enctype","end","enterkeyhint","event","exportparts","face","for","form","formaction","formenctype","formmethod","formnovalidate","formtarget","frame","frameborder","headers","height","hidden","high","href","hreflang","hreftranslate","hspace","http-equiv","id","imagesizes","imagesrcset","importance","impressiondata","impressionexpiry","incremental","inert","inputmode","integrity","invisible","is","ismap","keytype","kind","label","lang","language","latencyhint","leftmargin","link","list","loading","longdesc","loop","low","lowsrc","manifest","marginheight","marginwidth","max","maxlength","mayscript","media","method","min","minlength","multiple","muted","name","nohref","nomodule","nonce","noresize","noshade","novalidate","nowrap","object","open","optimum","part","pattern","ping","placeholder","playsinline","policy","poster","preload","pseudo","readonly","referrerpolicy","rel","reportingorigin","required","resources","rev","reversed","role","rows","rowspan","rules","sandbox","scheme","scope","scopes","scrollamount","scrolldelay","scrolling","select","selected","shadowroot","shadowrootdelegatesfocus","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","standby","start","step","style","summary","tabindex","target","text","title","topmargin","translate","truespeed","trusttoken","type","usemap","valign","value","valuetype","version","virtualkeyboardpolicy","vlink","vspace","webkitdirectory","width","wrap"],S=["script","iframe","object","embed","param","noscript","noframes","noembed","nolayer","base","plaintext","title","textarea","xmp","basefont","template","slot","portal","data"];function A(t,e){return(t instanceof Set?Array.from(t):t).filter(function(t){return!e.includes(t)})}var j=function(t){if(void 0===t)return{attributes:A(O,["allowpaymentrequest"]),comments:!1,dataAttributes:!1,elements:A(w,["basefont","command","content","data","image","plaintext","portal","slot","template","textarea","title","xmp"])};var e=t.attributes,r=t.comments,n=t.dataAttributes,o=t.elements,a=t.removeAttributes,i=t.removeElements,c=t.replaceWithChildrenElements;if(o&&i)throw new g("Either the `elements` or `removeElements` array may be defined, but not both.");if(e&&a)throw new g("Either the global `attributes` or `removeAttributes` array may be defined, but not both.");
1return c&&(o||i)&&c.forEach(function(t){var e="string"==typeof t?t:t.name,r=function(t){return"string"==typeof t?t===e:t.name===e};if(null!=o&&o.find(r)||null!=i&&i.find(r))throw new g("`replaceWithChildrenElements` cannot have elements in common with `elements` or `removeElements`")}),{attributes:e||O,comments:void 0!==r&&r,dataAttributes:void 0!==n&&n,elements:o||Array.from(w),removeAttributes:a||[],removeElements:i||S,replaceWithChildrenElements:c||[]}},E=function(t,e){var r=u(u({},function(t){var e=t.elements,r=void 0===e?[]:e,n=t.attributes,o=void 0===n?[]:n,a=t.removeElements,i=void 0===a?[]:a,c=t.removeAttributes,l=void 0===c?[]:c,s=t.comments,f=t.dataAttributes,p=function(t){return"string"==typeof t?t:t.name};return u({ALLOWED_TAGS:r.map(p),ALLOWED_ATTR:o.map(p),FORBID_ATTR:l.map(p),ALLOW_UNKNOWN_PROTOCOLS:!0,FORBID_TAGS:i.map(p),ALLOW_DATA_ATTR:f},s&&{ADD_TAGS:["#comment"],FORCE_BODY:!0})}(t)),{},{IN_PLACE:!0});n.A.sanitize(e,r)};!("Sanitizer"in window&&"function"==typeof window.Sanitizer)&&function(){if(window.isSecureContext){var t=function(){return f(function t(e){d(this,t),l(this,"normalizedConfig",void 0),this.normalizedConfig=j(e)},[{key:"sanitizeFor",value:function(t,e){var r=document.implementation.createHTMLDocument().createElement(t);return r.innerHTML=e,E(this.getConfiguration(),r),r}},{key:"getConfiguration",value:function(){return this.normalizedConfig}}])}();window.Sanitizer=t,HTMLElement.prototype.setHTML=function(t,e){var r,n=null!==(r=null==e?void 0:e.sanitizer)&&void 0!==r?r:new window.Sanitizer,o=document.implementation.createHTMLDocument().createElement(this.localName);o.innerHTML=t,E(n.getConfiguration(),o),this.replaceChildren.apply(this,a(Array.from(o.childNodes)))}}}()}}]);
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.