ngx-admin/main.dae950c9d826394f.js

69 lines
1.7 MiB
JavaScript
Raw Normal View History

(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[179],{50948:(V,c,u)=>{var t={"./backend-integration.md":81424,"./concept-theme-system.md":21118,"./index.md":15419,"./install-starter-kit.md":95390,"./server-deployment.md":29827,"./start.md":77024,"./theme-change.md":95911};function g(A){var R=C(A);return u(R)}function C(A){if(!u.o(t,A)){var R=new Error("Cannot find module '"+A+"'");throw R.code="MODULE_NOT_FOUND",R}return t[A]}g.keys=function(){return Object.keys(t)},g.resolve=C,V.exports=g,g.id=50948},48878:(V,c,u)=>{"use strict";u.d(c,{GH:()=>R,SU:()=>P,gb:()=>M});var t=u(21086),g=u(24850),C=u(94650),A=u(80529);const R={personal:"personal",developer:"developer"},M={base:"https://store.akveo.com/collections/collection-for-ngx-admin-landing/products.json",material:"https://store.akveo.com/collections/collection-for-ngx-admin-landing/products.json"};let P=(()=>{class L{constructor(K){this.http=K,this.STORE_COLLECTION="https://store.akveo.com/collections",this.features=[{text:"ngx-admin template with 100+ UI components integrated with Backend Services",availableInPersonalLicence:!0,availableInCommercialLicence:!0},{text:"Backend Services and Repository layers with data access",availableInPersonalLicence:!0,availableInCommercialLicence:!0},{text:"JWT Authentication setup for UI and Backend",availableInPersonalLicence:!0,availableInCommercialLicence:!0},{text:"Running instructions and code documentation",availableInPersonalLicence:!0,availableInCommercialLicence:!0},{text:"Commercial Usage",availableInPersonalLicence:!0,availableInCommercialLicence:!0},{text:"Create multiple end products using bundle",availableInPersonalLicence:!1,availableInCommercialLicence:!0},{text:"Bug fixes and questions according to license terms",availableInPersonalLicence:!1,availableInCommercialLicence:!0}]}getFeatures(){return(0,t.of)(this.features)}getProducts(K){return this.http.get(K).pipe((0,g.U)(Z=>Z.products.map(re=>({id:re.id,imageUrl:this.getDefaultImage(re.images),storeUrl:`${this.STORE_COLLECTION}/${re.handle}`,tags:re.tags,title:re.title,description:re.body_html.trim().replace(/<(?:.|\n)*?>/gm," ").replace(/ +/gm," "),variants:re.variants.map(ce=>({available:ce.available,compare_at_price:ce.compare_at_price,price:ce.price,title:ce.title}))}))))}getDefaultImage(K){const Z=K.reduce((re,ce)=>(re||(re=ce),re));return Z?this.trimImageUrl(Z.src):void 0}trimImageUrl(K){return K.substring(0,K.indexOf("?"))}static#e=this.\u0275fac=function(Z){return new(Z||L)(C.LFG(A.eN))};static#t=this.\u0275prov=C.Yz7({token:L,factory:L.\u0275fac})}return L})()},66126:(V,c,u)=>{"use strict";u.d(c,{C:()=>A});var t=u(21086),g=u(94650);let A=(()=>{class R{constructor(){this.descriptions=[{icon:"layout-outline",title:"Efficient",description:"Packed with a huge number of handcrafted UI components, charts, maps, editors, tables, and much more, so that developers can focus on business needs"},{icon:"smartphone-outline",title:"Mobile first",description:"Looks stunning on every screen size and is optimized to bring the large-screen experience from desktop to mobile"},{icon:"color-palette-outline",title:"\u0421ustomizable",description:"With 4 themes, 2 dashboards, and outstanding UI architecture, it\u2019s easy to change the themes and find the right fit for your company"},{icon:"heart-outline",title:"Updated and supported",description:"Continuous updates and fixes from the development team to keep your tech up to date. The friendly and active community support team are ready to guide you through your challenges"}],this.bundleDescriptions=[{icon:"umbrella-outline",title:"Convenient",description:"Complete pack of well known Angular based ngx-admin template, integrated with Backend Solution of your choice. Finally, you can get fully integrated solution out of the box."},{icon:"settings-2-outline",title:"Functional",description:"Deploy it as ready to use solution for a particular case, or give it to your development team to incrementally add functionality. It provides a significant boost and solid development structure."},{icon:"clock-outline",title:"Efficient",d
/*!*******************************************!*\
!*** ./node_modules/classnames/dedupe.js ***!
\*******************************************/
/*! no static exports found */function(c,u,t){var C;!function(){"use strict";var A=function(){function R(){}function M(ce,de){for(var se=de.length,ne=0;ne<se;++ne)Z(ce,de[ne])}R.prototype=Object.create(null);var F={}.hasOwnProperty;var H=/\s+/;function Z(ce,de){if(de){var se=typeof de;"string"===se?function K(ce,de){for(var se=de.split(H),ne=se.length,be=0;be<ne;++be)ce[se[be]]=!0}(ce,de):Array.isArray(de)?M(ce,de):"object"===se?function L(ce,de){for(var se in de)F.call(de,se)&&(ce[se]=!!de[se])}(ce,de):"number"===se&&function P(ce,de){ce[de]=!0}(ce,de)}}return function re(){for(var ce=arguments.length,de=Array(ce),se=0;se<ce;se++)de[se]=arguments[se];var ne=new R;M(ne,de);var be=[];for(var W in ne)ne[W]&&be.push(W);return be.join(" ")}}();typeof c<"u"&&c.exports?(A.default=A,c.exports=A):void 0!==(C=function(){return A}.apply(u,[]))&&(c.exports=C)}()},"./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js!./package/src/animation.scss":
/*!*******************************************************************************************************!*\
!*** ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./package/src/animation.scss ***!
\*******************************************************************************************************/
/*! no static exports found */function(c,u,t){(c.exports=t(
/*! ../../node_modules/css-loader/lib/css-base.js */
"./node_modules/css-loader/lib/css-base.js")(!1)).push([c.i,"/**\n * @license\n * Copyright Akveo. All Rights Reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n */\n.eva-animation {\n animation-duration: 1s;\n animation-fill-mode: both; }\n\n.eva-infinite {\n animation-iteration-count: infinite; }\n\n.eva-icon-shake {\n animation-name: eva-shake; }\n\n.eva-icon-zoom {\n animation-name: eva-zoomIn; }\n\n.eva-icon-pulse {\n animation-name: eva-pulse; }\n\n.eva-icon-flip {\n animation-name: eva-flipInY; }\n\n.eva-hover {\n display: inline-block; }\n\n.eva-hover:hover .eva-icon-hover-shake, .eva-parent-hover:hover .eva-icon-hover-shake {\n animation-name: eva-shake; }\n\n.eva-hover:hover .eva-icon-hover-zoom, .eva-parent-hover:hover .eva-icon-hover-zoom {\n animation-name: eva-zoomIn; }\n\n.eva-hover:hover .eva-icon-hover-pulse, .eva-parent-hover:hover .eva-icon-hover-pulse {\n animation-name: eva-pulse; }\n\n.eva-hover:hover .eva-icon-hover-flip, .eva-parent-hover:hover .eva-icon-hover-flip {\n animation-name: eva-flipInY; }\n\n@keyframes eva-flipInY {\n from {\n transform: perspective(400px) rotate3d(0, 1, 0, 90deg);\n animation-timing-function: ease-in;\n opacity: 0; }\n 40% {\n transform: perspective(400px) rotate3d(0, 1, 0, -20deg);\n animation-timing-function: ease-in; }\n 60% {\n transform: perspective(400px) rotate3d(0, 1, 0, 10deg);\n opacity: 1; }\n 80% {\n transform: perspective(400px) rotate3d(0, 1, 0, -5deg); }\n to {\n transform: perspective(400px); } }\n\n@keyframes eva-shake {\n from,\n to {\n transform: translate3d(0, 0, 0); }\n 10%,\n 30%,\n 50%,\n 70%,\n 90% {\n transform: translate3d(-3px, 0, 0); }\n 20%,\n 40%,\n 60%,\n 80% {\n transform: translate3d(3px, 0, 0); } }\n\n@keyframes eva-pulse {\n from {\n transform: scale3d(1, 1, 1); }\n 50% {\n transform: scale3d(1.2, 1.2, 1.2); }\n to {\n transform: scale3d(1, 1, 1); } }\n\n@keyframes eva-zoomIn {\n from {\n opacity: 1;\n transform: scale3d(0.5, 0.5, 0.5); }\n 50% {\n opacity: 1; } }\n",""])},"./node_modules/css-loader/lib/css-base.js":
/*!*************************************************!*\
!*** ./node_modules/css-loader/lib/css-base.js ***!
\*************************************************/
/*! no static exports found */function(c,u){function t(C,A){var R=C[1]||"",M=C[3];if(!M)return R;if(A&&"function"==typeof btoa){var F=function g(C){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(C))))+" */"}(M),P=M.sources.map(function(L){return"/*# sourceURL="+M.sourceRoot+L+" */"});return[R].concat(P).concat([F]).join("\n")}return[R].join("\n")}c.exports=function(C){var A=[];return A.toString=function(){return this.map(function(M){var F=t(M,C);return M[2]?"@media "+M[2]+"{"+F+"}":F}).join("")},A.i=function(R,M){"string"==typeof R&&(R=[[null,R,""]]);for(var F={},P=0;P<this.length;P++){var L=this[P][0];"number"==typeof L&&(F[L]=!0)}for(P=0;P<R.length;P++){var H=R[P];("number"!=typeof H[0]||!F[H[0]])&&(M&&!H[2]?H[2]=M:M&&(H[2]="("+H[2]+") and ("+M+")"),A.push(H))}},A}},"./node_modules/isomorphic-style-loader/insertCss.js":
/*!***********************************************************!*\
!*** ./node_modules/isomorphic-style-loader/insertCss.js ***!
\***********************************************************/
/*! no static exports found */function(c,u,t){"use strict";var g={};function C(M){return btoa(encodeURIComponent(M).replace(/%([0-9A-F]{2})/g,function(F,P){return String.fromCharCode("0x"+P)}))}function A(M){M.forEach(function(F){if(--g[F]<=0){var P=document.getElementById(F);P&&P.parentNode.removeChild(P)}})}c.exports=function R(M,F){for(var P=void 0===F?{}:F,L=P.replace,H=void 0!==L&&L,K=P.prepend,Z=void 0!==K&&K,re=P.prefix,ce=void 0===re?"s":re,de=[],se=0;se<M.length;se++){var ne=M[se],W=ne[1],ae=ne[2],me=ne[3],he=""+ce+ne[0]+"-"+se;if(de.push(he),!g[he]||H){g[he]=1;var Se=document.getElementById(he),Ct=!1;Se||(Ct=!0,(Se=document.createElement("style")).setAttribute("type","text/css"),Se.id=he,ae&&Se.setAttribute("media",ae));var ze=W;me&&"function"==typeof btoa&&(ze+="\n/*# sourceMappingURL=data:application/json;base64,"+C(JSON.stringify(me))+"*/",ze+="\n/*# sourceURL="+me.file+"?"+he+"*/"),"textContent"in Se?Se.textContent=ze:Se.styleSheet.cssText=ze,Ct&&(Z?document.head.insertBefore(Se,document.head.childNodes[0]):document.head.appendChild(Se))}else g[he]++}return A.bind(null,de)}},"./package-build/eva-icons.json":
/*!**************************************!*\
!*** ./package-build/eva-icons.json ***!
\**************************************/
/*! exports provided: activity, alert-circle, alert-triangle, archive, arrow-back, arrow-circle-down, arrow-circle-left, arrow-circle-right, arrow-circle-up, arrow-down, arrow-downward, arrow-forward, arrow-ios-back, arrow-ios-downward, arrow-ios-forward, arrow-ios-upward, arrow-left, arrow-right, arrow-up, arrow-upward, arrowhead-down, arrowhead-left, arrowhead-right, arrowhead-up, at, attach-2, attach, award, backspace, bar-chart-2, bar-chart, battery, behance, bell-off, bell, bluetooth, book-open, book, bookmark, briefcase, browser, brush, bulb, calendar, camera, car, cast, charging, checkmark-circle-2, checkmark-circle, checkmark-square-2, checkmark-square, checkmark, chevron-down, chevron-left, chevron-right, chevron-up, clipboard, clock, close-circle, close-square, close, cloud-download, cloud-upload, code-download, code, collapse, color-palette, color-picker, compass, copy, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, credit-card, crop, cube, diagonal-arrow-left-down, diagonal-arrow-left-up, diagonal-arrow-right-down, diagonal-arrow-right-up, done-all, download, droplet-off, droplet, edit-2, edit, email, expand, external-link, eye-off-2, eye-off, eye, facebook, file-add, file-remove, file-text, file, film, flag, flash-off, flash, flip-2, flip, folder-add, folder-remove, folder, funnel, gift, github, globe-2, globe-3, globe, google, grid, hard-drive, hash, headphones, heart, home, image-2, image, inbox, info, keypad, layers, layout, link-2, link, linkedin, list, lock, log-in, log-out, map, maximize, menu-2, menu-arrow, menu, message-circle, message-square, mic-off, mic, minimize, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, npm, options-2, options, pantone, paper-plane, pause-circle, people, percent, person-add, person-delete, person-done, person-remove, person, phone-call, phone-missed, phone-off, phone, pie-chart-2, pie-chart, pin, play-circle, plus-circle, plus-square, plus, power, pricetags, printer, question-mark-circle, question-mark, radio-button-off, radio-button-on, radio, recording, refresh, repeat, rewind-left, rewind-right, save, scissors, search, settings-2, settings, shake, share, shield-off, shield, shopping-bag, shopping-cart, shuffle-2, shuffle, skip-back, skip-forward, slash, smartphone, smiling-face, speaker, square, star, stop-circle, sun, swap, sync, text, thermometer-minus, thermometer-plus, thermometer, toggle-left, toggle-right, trash-2, trash, trending-down, trending-up, tv, twitter, umbrella, undo, unlock, upload, video-off, video, volume-down, volume-mute, volume-off, volume-up, wifi-off, wifi, activity-outline, alert-circle-outline, alert-triangle-outline, archive-outline, arrow-back-outline, arrow-circle-down-outline, arrow-circle-left-outline, arrow-circle-right-outline, arrow-circle-up-outline, arrow-down-outline, arrow-downward-outline, arrow-forward-outline, arrow-ios-back-outline, arrow-ios-downward-outline, arrow-ios-forward-outline, arrow-ios-upward-outline, arrow-left-outline, arrow-right-outline, arrow-up-outline, arrow-upward-outline, arrowhead-down-outline, arrowhead-left-outline, arrowhead-right-outline, arrowhead-up-outline, at-outline, attach-2-outline, attach-outline, award-outline, backspace-outline, bar-chart-2-outline, bar-chart-outline, battery-outline, behance-outline, bell-off-outline, bell-outline, bluetooth-outline, book-open-outline, book-outline, bookmark-outline, briefcase-outline, browser-outline, brush-outline, bulb-outline, calendar-outline, camera-outline, car-outline, cast-outline, charging-outline, checkmark-circle-2-outline, checkmark-circle-outline, checkmark-outline, checkmark-square-2-outline, checkmark-square-outline, chevron-down-outline, chevron-left-outline, chevron-right-outline, chevron-up-outline, clipboard-outline, clock-outline, close-circle-outline, close-outline, close-square-outline, cloud-download-outline, cloud-upload-outline, code-download-outline, code-outline, colla
/*!************************************!*\
!*** ./package/src/animation.scss ***!
\************************************/
/*! no static exports found */function(c,u,t){var C=t(
/*! !../../node_modules/css-loader!../../node_modules/sass-loader/lib/loader.js!./animation.scss */
"./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js!./package/src/animation.scss"),A=t(
/*! ../../node_modules/isomorphic-style-loader/insertCss.js */
"./node_modules/isomorphic-style-loader/insertCss.js"),R="string"==typeof C?[[c.i,C,""]]:C;(u=c.exports=C.locals||{})._getContent=function(){return R},u._getCss=function(){return""+C},u._insertCss=function(F){return A(R,F)}},"./package/src/default-attrs.json":
/*!****************************************!*\
!*** ./package/src/default-attrs.json ***!
\****************************************/
/*! exports provided: xmlns, width, height, viewBox, default */function(c){c.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"}},"./package/src/icon.js":
/*!*****************************!*\
!*** ./package/src/icon.js ***!
\*****************************/
/*! exports provided: default */function(c,u,t){"use strict";t.r(u);var g=t(
/*! classnames/dedupe */
"./node_modules/classnames/dedupe.js"),C=t.n(g),A=t(
/*! ./default-attrs.json */
"./package/src/default-attrs.json");function M(be,W){if(null==be)return{};var me,he,ae=function F(be,W){if(null==be)return{};var he,Se,ae={},me=Object.keys(be);for(Se=0;Se<me.length;Se++)!(W.indexOf(he=me[Se])>=0)&&(ae[he]=be[he]);return ae}(be,W);if(Object.getOwnPropertySymbols){var Se=Object.getOwnPropertySymbols(be);for(he=0;he<Se.length;he++)!(W.indexOf(me=Se[he])>=0)&&Object.prototype.propertyIsEnumerable.call(be,me)&&(ae[me]=be[me])}return ae}function P(be){for(var W=1;W<arguments.length;W++){var ae=null!=arguments[W]?arguments[W]:{},me=Object.keys(ae);"function"==typeof Object.getOwnPropertySymbols&&(me=me.concat(Object.getOwnPropertySymbols(ae).filter(function(he){return Object.getOwnPropertyDescriptor(ae,he).enumerable}))),me.forEach(function(he){L(be,he,ae[he])})}return be}function L(be,W,ae){return W in be?Object.defineProperty(be,W,{value:ae,enumerable:!0,configurable:!0,writable:!0}):be[W]=ae,be}function K(be,W){for(var ae=0;ae<W.length;ae++){var me=W[ae];me.enumerable=me.enumerable||!1,me.configurable=!0,"value"in me&&(me.writable=!0),Object.defineProperty(be,me.key,me)}}var re={hover:!0},ce=function(W){return"string"==typeof W||W instanceof String},de=function(){function be(W,ae){(function H(be,W){if(!(be instanceof W))throw new TypeError("Cannot call a class as a function")})(this,be),this.name=W,this.contents=ae,this.attrs=P({},A,{class:"eva eva-".concat(W)})}return function Z(be,W,ae){return W&&K(be.prototype,W),ae&&K(be,ae),be}(be,[{key:"toSvg",value:function(){var ae=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},me=ae.animation,he=M(ae,["animation"]),Se=function se(be){if(!be)return null;be.hover&&(be.hover=ce(be.hover)?JSON.parse(be.hover):be.hover);var W=P({},re,be),ae=W.hover?"eva-icon-hover-".concat(W.type):"eva-icon-".concat(W.type);return W.class=C()({"eva-animation":!0,"eva-infinite":ce(be.infinite)?JSON.parse(be.infinite):be.infinite},ae),W}(me),Ct=Se?Se.class:"",ze=P({},this.attrs,he,{class:C()(this.attrs.class,ae.class,Ct)}),qe="<svg ".concat(function ne(be){return Object.keys(be).map(function(W){return"".concat(W,'="').concat(be[W],'"')}).join(" ")}(ze),">").concat(this.contents,"</svg>");return Se&&Se.hover?'<i class="eva-hover">'.concat(qe,"</i>"):qe}},{key:"toString",value:function(){return this.contents}}]),be}();u.default=de},"./package/src/icons.js":
/*!******************************!*\
!*** ./package/src/icons.js ***!
\******************************/
/*! exports provided: default */function(c,u,t){"use strict";t.r(u);var g=t(
/*! ./icon */
"./package/src/icon.js"),C=t(
/*! ../../package-build/eva-icons.json */
"./package-build/eva-icons.json");u.default=Object.keys(C).map(function(R){return new g.default(R,C[R])}).reduce(function(R,M){return R[M.name]=M,R},{})},"./package/src/index.js":
/*!******************************!*\
!*** ./package/src/index.js ***!
\******************************/
/*! exports provided: icons, replace */function(c,u,t){"use strict";t.r(u);var g=t(
/*! ./icons */
"./package/src/icons.js");t.d(u,"icons",function(){return g.default});var C=t(
/*! ./replace */
"./package/src/replace.js");t.d(u,"replace",function(){return C.default});var A=t(
/*! ./animation.scss */
"./package/src/animation.scss");typeof window<"u"&&t.n(A).a._insertCss()},"./package/src/replace.js":
/*!********************************!*\
!*** ./package/src/replace.js ***!
\********************************/
/*! exports provided: default */function(c,u,t){"use strict";t.r(u);var g=t(
/*! classnames/dedupe */
"./node_modules/classnames/dedupe.js"),C=t.n(g),A=t(
/*! ./icons */
"./package/src/icons.js");function R(se){for(var ne=1;ne<arguments.length;ne++){var be=null!=arguments[ne]?arguments[ne]:{},W=Object.keys(be);"function"==typeof Object.getOwnPropertySymbols&&(W=W.concat(Object.getOwnPropertySymbols(be).filter(function(ae){return Object.getOwnPropertyDescriptor(be,ae).enumerable}))),W.forEach(function(ae){M(se,ae,be[ae])})}return se}function M(se,ne,be){return ne in se?Object.defineProperty(se,ne,{value:be,enumerable:!0,configurable:!0,writable:!0}):se[ne]=be,se}function F(se,ne){if(null==se)return{};var W,ae,be=function P(se,ne){if(null==se)return{};var ae,me,be={},W=Object.keys(se);for(me=0;me<W.length;me++)!(ne.indexOf(ae=W[me])>=0)&&(be[ae]=se[ae]);return be}(se,ne);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(se);for(ae=0;ae<me.length;ae++)!(ne.indexOf(W=me[ae])>=0)&&Object.prototype.propertyIsEnumerable.call(se,W)&&(be[W]=se[W])}return be}var L={"data-eva-animation":"type","data-eva-hover":"hover","data-eva-infinite":"infinite"},H={"data-eva":"name","data-eva-width":"width","data-eva-height":"height","data-eva-fill":"fill"};function de(se,ne){return se||ne?R({},se,ne):null}u.default=function K(){var se=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(typeof document>"u")throw new Error("`eva.replace()` only works in a browser environment.");var ne=document.querySelectorAll("[data-eva]");Array.from(ne).forEach(function(be){return function Z(se){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},be=function re(se){return Array.from(se.attributes).reduce(function(ne,be){return L[be.name]?ne.animation=R({},ne.animation,M({},L[be.name],be.value)):ne=R({},ne,function ce(se){return M({},H[se.name]?H[se.name]:se.name,se.value)}(be)),ne},{})}(se),W=be.name,ae=F(be,["name"]),me=A.default[W].toSvg(R({},ne,ae,{animation:de(ne.animation,ae.animation)},{class:C()(ne.class,ae.class)})),he=(new DOMParser).parseFromString(me,"text/html"),Se=he.querySelector(".eva-hover")||he.querySelector("svg");se.parentNode.replaceChild(Se,se)}(be,se)})}}})},21568:(V,c)=>{var t,g,C;g=function(g){var Z,C=!1,A=[],R=Object.keys,M=Object.create(null),F=Object.create(null),P=!0,L=/^(no-?highlight|plain|text)$/i,H=/\blang(?:uage)?-([\w-]+)\b/i,K=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,re="</span>",ce="Could not find the language '{}', did you forget to load/include a language module?",de={hideUpgradeWarningAcceptNoSupportOrSecurityUpdates:!1,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},se="of and for in not or if then".split(" ");function ne(Te){return Te.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function be(Te){return Te.nodeName.toLowerCase()}function ae(Te){return L.test(Te)}function he(Te){var Qe,lt={},Ke=Array.prototype.slice.call(arguments,1);for(Qe in Te)lt[Qe]=Te[Qe];return Ke.forEach(function(Dt){for(Qe in Dt)lt[Qe]=Dt[Qe]}),lt}function Se(Te){var Qe=[];return function lt(Ke,Dt){for(var Mt=Ke.firstChild;Mt;Mt=Mt.nextSibling)3===Mt.nodeType?Dt+=Mt.nodeValue.length:1===Mt.nodeType&&(Qe.push({event:"start",offset:Dt,node:Mt}),Dt=lt(Mt,Dt),be(Mt).match(/br|hr|img|input/)||Qe.push({event:"stop",offset:Dt,node:Mt}));return Dt}(Te,0),Qe}function ze(Te){return!!Te&&(Te.endsWithParent||ze(Te.starts))}function qe(Te){return Te.variants&&!Te.cached_variants&&(Te.cached_variants=Te.variants.map(function(Qe){return he(Te,{variants:null},Qe)})),Te.cached_variants?Te.cached_variants:ze(Te)?[he(Te,{starts:Te.starts?he(Te.starts):null})]:Object.isFrozen(Te)?[he(Te)]:[Te]}function nt(Te){if(Z&&!Te.langApiRestored){for(var Qe in Te.langApiRestored=!0,Z)Te[Qe]&&(Te[Z[Qe]]=Te[Qe]);(Te.contains||[]).concat(Te.variants||[]).forEach(nt)}}function dt(Te,Qe){return Qe?Number(Qe):function $t(Te){return-1!=se.indexOf(Te.toLowerCase())}(Te)?0:1}function He(Te){function Qe(at){return at&&at.source||at}function lt(at,Qt){return new RegExp(Qe(at),"m"+(Te.case_insensitive?"i":"")+(Qt?"g":""))}if(Te.contains&&-1!=Te.contains.indexOf("self")){if(!P)throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");Te.contai