From: WoltLab Description: ${n.returnValues.description} File: ${n.file} in line ${n.line} Stacktrace: ${n.stacktrace} Exception ID: ${e.message} Stacktrace ${e.stacktrace} ${i} Description: ${e.returnValues.description} File: ${e.file} in line ${e.line} ${e}: Stacktrace: Exception ID: ${e.message} Stacktrace ${i}'+WCF.Language.get("wcf.message.share")+"
"+this._shareButtonsTemplate+"'+WCF.Language.get("wcf.global.preview")+'
'+WCF.Language.get("wcf.global.preview")+'
o(e,t,"previous"),isAtNodeEnd:(e,t)=>o(e,t,"next"),getFixedParent(e){for(;e&&e!==document.body;){if("fixed"===window.getComputedStyle(e).getPropertyValue("position"))return e;e=e.offsetParent}return null},hide(e){e.style.setProperty("display","none","")},show(e){e.style.removeProperty("display")},isHidden:e=>"none"===e.style.getPropertyValue("display"),toggle(e){a.isHidden(e)?a.show(e):a.hide(e)},innerError(e,t,i){const n=e.parentNode;if(null===n)throw new Error("Only elements that have a parent element or document are valid.");if("string"!=typeof t){if(t)throw new TypeError("The error message must be a string; `false`, `null` or `undefined` can be used as a substitute for an empty string.");t=""}let o=n,r=e;o.classList.contains("inputAddon")&&(o=n.parentElement,r=n);let a=r.nextElementSibling;return null!==a&&"SMALL"===a.nodeName&&a.classList.contains("innerError")||(""===t?a=null:(a=document.createElement("small"),a.className="innerError",o.insertBefore(a,r.nextSibling))),""===t?null!==a&&(a.remove(),a=null):i?a.innerHTML=t:a.textContent=t,a},innerSuccess(e,t,i){const n=e.parentNode;if(null===n)throw new Error("Only elements that have a parent element or document are valid.");if("string"!=typeof t){if(t)throw new TypeError("The message must be a string; `false`, `null` or `undefined` can be used as a substitute for an empty string.");t=""}let o=e.nextElementSibling;return null!==o&&"SMALL"===o.nodeName&&o.classList.contains("innerSuccess")||(""===t?o=null:(o=document.createElement("small"),o.className="innerSuccess",n.insertBefore(o,e.nextSibling))),""===t?null!==o&&(o.remove(),o=null):i?o.innerHTML=t:o.textContent=t,o},closest:(e,t)=>(e instanceof HTMLElement?e:e.parentElement).closest(t),getClosestElement:e=>e instanceof HTMLElement?e:e.parentElement};return window.bc_wcfDomUtil=a,a})),define("WoltLabSuite/Core/Ajax/Error",["require","exports","tslib","../Component/Dialog","../Core","../Language","../StringUtil"],(function(e,t,i,n,o,r,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidJson=t.ExpectedJson=t.StatusNotOk=t.ConnectionError=t.ApiError=void 0,t.registerGlobalRejectionHandler=function(){p||(window.addEventListener("unhandledrejection",(e=>{e.reason instanceof s&&(e.preventDefault(),async function(e){const t=await async function(e){let t="",i="";if(e instanceof l)i=e.originalError instanceof TypeError?r.get("wcf.global.error.ajax.network",{message:e.message}):e.message;else if(e instanceof u)i=await e.response.clone().text();else if(e instanceof d||e instanceof c){let n;try{n=await e.response.clone().json()}catch{i=await e.response.clone().text()}if(n&&o.isPlainObject(n)&&Object.keys(n).length>0)n.returnValues&&n.returnValues.description&&(t+=`
Exception: ${n.exceptionID}
",n+=e.extraInformation.map((([e,t])=>`${t.toString()}
Exception: ${e.stacktrace}
`:e.exceptionID&&(n+=`${e.exceptionID}
${e.stacktrace}
`}));else{if(t.getResponseHeader("content-type")?.startsWith("text/html")){const e=document.createElement("iframe");return e.classList.add("dialog__iframe"),e.srcdoc=t.responseText,e}i=t.responseText}if(!i||"undefined"===i){if(!window.ENABLE_DEBUG_MODE)return null;i="XMLHttpRequest failed without a responseText. Check your browser console."}return`\n \n
\n 0))return!0;if(i&&a.overflowX.match(/(scroll|auto)/)&&(l=r.scrollWidth-r.clientWidth)>0&&(r.scrollLeft>0&&i<0||r.scrollLeft0))return!0;o=o.parentNode}return!1}(r.target,u,m))return;i(u,m),c=s,(g=(h=(new Date).getTime())-d)>0&&(p.x=u/g,p.y=m/g,d=h),function(e,i){var n=Math.floor(l.scrollTop),o=l.scrollLeft,r=Math.abs(e),a=Math.abs(i);if(a>r){if(i<0&&n===t.contentHeight-t.containerHeight||i>0&&0===n)return 0===window.scrollY&&i>0&&f.isChrome}else if(r>a&&(e<0&&o===t.contentWidth-t.containerWidth||e>0&&0===o))return!0;return!0}(u,m)&&r.preventDefault()}}function s(){t.settings.swipeEasing&&(clearInterval(m),m=setInterval((function(){t.isInitialized?clearInterval(m):p.x||p.y?Math.abs(p.x)<.01&&Math.abs(p.y)<.01?clearInterval(m):t.element?(i(30*p.x,30*p.y),p.x*=.8,p.y*=.8):clearInterval(m):clearInterval(m)}),10))}var l,c,d,p,m;(f.supportsTouch||f.supportsIePointer)&&(l=t.element,c={},d=0,p={},m=null,f.supportsTouch?(t.event.bind(l,"touchstart",r),t.event.bind(l,"touchmove",a),t.event.bind(l,"touchend",s)):f.supportsIePointer&&(window.PointerEvent?(t.event.bind(l,"pointerdown",r),t.event.bind(l,"pointermove",a),t.event.bind(l,"pointerup",s)):window.MSPointerEvent&&(t.event.bind(l,"MSPointerDown",r),t.event.bind(l,"MSPointerMove",a),t.event.bind(l,"MSPointerUp",s))))}},(b=function(n,o){var r,a,s,l,c,p,m,f=this;if(void 0===o&&(o={}),"string"==typeof n&&(n=document.querySelector(n)),!n||!n.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(r in this.element=n,n.classList.add(_.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},o)this.settings[r]=o[r];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null,a=function(){return n.classList.add(_.state.focus)},s=function(){return n.classList.remove(_.state.focus)},this.isRtl="rtl"===e(n).direction,!0===this.isRtl&&n.classList.add(_.rtl),this.isNegativeScroll=(p=n.scrollLeft,null,n.scrollLeft=-1,m=n.scrollLeft<0,n.scrollLeft=p,m),this.negativeScrollAdjustment=this.isNegativeScroll?n.scrollWidth-n.clientWidth:0,this.event=new h,this.ownerDocument=n.ownerDocument||document,this.scrollbarXRail=i(_.element.rail("x")),n.appendChild(this.scrollbarXRail),this.scrollbarX=i(_.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",a),this.event.bind(this.scrollbarX,"blur",s),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null,l=e(this.scrollbarXRail),this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=d(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=d(l.borderLeftWidth)+d(l.borderRightWidth),t(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=d(l.marginLeft)+d(l.marginRight),t(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=i(_.element.rail("y")),n.appendChild(this.scrollbarYRail),this.scrollbarY=i(_.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",a),this.event.bind(this.scrollbarY,"blur",s),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null,c=e(this.scrollbarYRail),this.scrollbarYRight=parseInt(c.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=d(c.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var i=e(t);return d(i.width)+d(i.paddingLeft)+d(i.paddingRight)+d(i.borderLeftWidth)+d(i.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=d(c.borderTopWidth)+d(c.borderBottomWidth),t(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=d(c.marginTop)+d(c.marginBottom),t(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:n.scrollLeft<=0?"start":n.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:n.scrollTop<=0?"start":n.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach((function(e){return g[e](f)})),this.lastScrollTop=Math.floor(n.scrollTop),this.lastScrollLeft=n.scrollLeft,this.event.bind(this.element,"scroll",(function(e){return f.onScroll(e)})),u(this)}).prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,t(this.scrollbarXRail,{display:"block"}),t(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=d(e(this.scrollbarXRail).marginLeft)+d(e(this.scrollbarXRail).marginRight),this.railYMarginHeight=d(e(this.scrollbarYRail).marginTop)+d(e(this.scrollbarYRail).marginBottom),t(this.scrollbarXRail,{display:"none"}),t(this.scrollbarYRail,{display:"none"}),u(this),c(this,"top",0,!1,!0),c(this,"left",0,!1,!0),t(this.scrollbarXRail,{display:""}),t(this.scrollbarYRail,{display:""}))},b.prototype.onScroll=function(e){this.isAlive&&(u(this),c(this,"top",this.element.scrollTop-this.lastScrollTop),c(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},b.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),o(this.scrollbarX),o(this.scrollbarY),o(this.scrollbarXRail),o(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},b.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(e){return!e.match(/^ps([-_].+|)$/)})).join(" ")},b})),define("WoltLabSuite/Core/Bootstrap",["require","exports","tslib","./Core","./Date/Picker","./Devtools","./Dom/Change/Listener","./Environment","./Event/Handler","./Form/XsrfToken","./Language","./Ui/Dialog","./Ui/Dropdown/Simple","./Ui/Mobile","./Ui/Page/Action","./Ui/TabMenu","./Ui/Tooltip","./Ui/Page/JumpTo","./Ui/Password","./Ui/Empty","./Ui/Object/Action","./Ui/Object/Action/Delete","./Ui/Object/Action/Toggle","./Ui/Search","./LazyLoader","./Helper/PageOverlay","perfect-scrollbar"],(function(e,t,i,n,o,r,a,s,l,c,d,u,p,m,h,f,g,b,v,_,w,y,E,S,C,L){"use strict";function k(){document.querySelectorAll("nav:not([aria-label]):not([aria-labelledby]):not([role])").forEach((e=>{e.setAttribute("role","presentation")})),document.querySelectorAll("article:not([aria-label]):not([aria-labelledby]):not([role])").forEach((e=>{e.setAttribute("role","presentation")}))}Object.defineProperty(t,"__esModule",{value:!0}),t.setup=function(t){t=n.extend({colorScheme:"light",enableMobileMenu:!0,pageMenuMainProvider:void 0},t),c.setup(),window.ENABLE_DEVELOPER_TOOLS&&r.default._internal_.enable(),(0,L.adoptPageOverlayContainer)(document.body),s.setup(),o.default.init(),p.default.setup(),m.setup(t.enableMobileMenu,t.pageMenuMainProvider),f.setup(),u.default.setup(),g.setup(),v.setup(),_.setup(),w.setup(),y.setup(),E.setup(),(0,S.init)(),document.querySelectorAll("form[method=get]").forEach((e=>{e.method="post"})),"microsoft"===s.browser()&&(window.onbeforeunload=()=>{});let l=0;l=window.setInterval((()=>{if("function"==typeof window.jQuery){window.clearInterval(l),window.jQuery((()=>{h.setup()}));const e=window.jQuery;e.browser=e.browser||{},e.browser.mobile="desktop"!==s.platform(),window.jQuery.holdReady(!1)}}),20),document.querySelectorAll(".pagination").forEach((e=>b.init(e))),window.requestAnimationFrame((()=>{const e=window.innerWidth-document.documentElement.clientWidth;document.documentElement.style.setProperty("--scrollbar-width",`${e}px`)})),k(),a.default.add("WoltLabSuite/Core/Bootstrap",(()=>k)),t.dynamicColorScheme&&new Promise(((t,i)=>{e(["./Controller/Style/ColorScheme"],t,i)})).then(i.__importStar).then((({setup:e})=>{e()})),(0,C.whenFirstSeen)("[data-report-content]",(()=>{new Promise(((t,i)=>{e(["./Ui/Moderation/Report"],t,i)})).then(i.__importStar).then((({setup:e})=>e()))})),(0,C.whenFirstSeen)("woltlab-core-pagination",(()=>{new Promise(((t,i)=>{e(["./Ui/Pagination/JumpToPage"],t,i)})).then(i.__importStar).then((({setup:e})=>e()))})),(0,C.whenFirstSeen)("woltlab-core-google-maps",(()=>{new Promise(((t,i)=>{e(["./Component/GoogleMaps/woltlab-core-google-maps"],t,i)})).then(i.__importStar)})),(0,C.whenFirstSeen)("[data-google-maps-geocoding]",(()=>{new Promise(((t,i)=>{e(["./Component/GoogleMaps/Geocoding"],t,i)})).then(i.__importStar).then((({setup:e})=>e()))})),(0,C.whenFirstSeen)("woltlab-core-file",(()=>{new Promise(((t,i)=>{e(["./Component/File/woltlab-core-file"],t,i)})).then(i.__importStar)})),(0,C.whenFirstSeen)("woltlab-core-file-upload",(()=>{new Promise(((t,i)=>{e(["./Component/File/woltlab-core-file"],t,i)})).then(i.__importStar),new Promise(((t,i)=>{e(["./Component/File/Upload"],t,i)})).then(i.__importStar).then((({setup:e})=>e()))})),new MutationObserver((e=>{for(const t of e)for(const e of t.addedNodes){if(!(e instanceof HTMLElement))continue;if(null===e.querySelector(".g-recaptcha-bubble-arrow"))continue;const t=e.querySelector("iframe");if(!t)continue;const i="a-"+t.name.split("-")[1],n=document.querySelector(`iframe[name="${i}"]`);n&&(n.closest("woltlab-core-dialog")&&((0,L.getPageOverlayContainer)().append(e),e.classList.add("g-recaptcha-container")))}})).observe(document.body,{childList:!0})},n=i.__importStar(n),o=i.__importDefault(o),r=i.__importDefault(r),a=i.__importDefault(a),s=i.__importStar(s),l=i.__importStar(l),c=i.__importStar(c),d=i.__importStar(d),u=i.__importDefault(u),p=i.__importDefault(p),m=i.__importStar(m),h=i.__importStar(h),f=i.__importStar(f),g=i.__importStar(g),b=i.__importStar(b),v=i.__importStar(v),_=i.__importStar(_),w=i.__importStar(w),y=i.__importStar(y),E=i.__importStar(E),null==window.WCF&&(window.WCF={}),null==window.WCF.Language&&(window.WCF.Language={}),window.WCF.Language.get=d.get,window.WCF.Language.add=d.add,window.WCF.Language.addObject=d.addObject,window.__wcf_bc_eventHandler=l})),define("WoltLabSuite/Core/Ui/User/Ignore",["require","exports","tslib","../../Dom/Change/Listener"],(function(e,t,i,n){"use strict";function o(){for(let e=0,t=a.length;e\n
\n `}function m(e){e.preventDefault();const t=e.currentTarget,i=f(t),s=function(){const e=Array.from((0,l.getShareProviders)()).map((e=>{const[t,i,n]=e;return`\n ${e}
`:""}();let m="";s&&(m=`\n \n `);let h="";_&&(h=`\n \n \n
\n `);const v=`\n \n `,w=(0,c.dialogFactory)().fromHtml(v).withoutControls();w.content.querySelectorAll(".shareDialogCopyButton").forEach((e=>e.addEventListener("click",(e=>async function(e){e.preventDefault();const t=e.currentTarget,i=n.prevBySel(t,'input[type="text"]');await o.copyTextToClipboard(i.value),r.show((0,d.getPhrase)("wcf.message.share.copy.success"))}(e))))),_&&w.content.querySelector(".shareDialogNativeButton").addEventListener("click",(e=>async function(e){e.preventDefault();const t=e.currentTarget,i={url:t.dataset.url};t.dataset.title&&(i.title=t.dataset.title),await window.navigator.share(i)}(e))),s&&function(e,t){const i={facebook:{selector:'.messageShareProvider[data-identifier="Facebook"]',share(){g("facebook","https://www.facebook.com/sharer.php?u={pageURL}&t={text}",!0,t)}},reddit:{selector:'.messageShareProvider[data-identifier="Reddit"]',share(){g("reddit","https://ssl.reddit.com/submit?url={pageURL}",!1,t)}},twitter:{selector:'.messageShareProvider[data-identifier="Twitter"]',share(){g("twitter","https://twitter.com/share?url={pageURL}&text={text}",!1,t)}},linkedIn:{selector:'.messageShareProvider[data-identifier="LinkedIn"]',share(){g("linkedIn","https://www.linkedin.com/cws/share?url={pageURL}",!1,t)}},pinterest:{selector:'.messageShareProvider[data-identifier="Pinterest"]',share(){g("pinterest","https://www.pinterest.com/pin/create/link/?url={pageURL}&description={text}",!1,t)}},xing:{selector:'.messageShareProvider[data-identifier="XING"]',share(){g("xing","https://www.xing.com/social_plugins/share?url={pageURL}",!1,t)}},whatsApp:{selector:'.messageShareProvider[data-identifier="WhatsApp"]',share(){window.location.href="https://api.whatsapp.com/send?text="+b()+"%20"+t}}};u.fire("com.woltlab.wcf.message.share","shareProvider",{container:e,providers:i,pageDescription:b(),pageUrl:t}),Object.values(i).forEach((t=>{e.querySelector(t.selector)?.addEventListener("click",(()=>t.share()))}))}(w.content,i),w.show((0,d.getPhrase)("wcf.message.share"))}function h(){document.querySelectorAll(".shareButton, .wsShareButton").forEach((e=>{v.has(e)||(e.addEventListener("click",(e=>m(e))),v.add(e))}))}function f(e){return e instanceof HTMLAnchorElement?e.href:e.dataset.link}function g(e,t,i,n){window.open(t.replace("{pageURL}",n).replace("{text}",b()+(i?`%20${n}`:"")),e,"height=600,width=600")}function b(){const e=document.querySelector('meta[property="og:title"]');return null!==e?encodeURIComponent(e.content):""}Object.defineProperty(t,"__esModule",{value:!0}),t.setup=function(){h(),s.default.add("WoltLabSuite/Core/Ui/Message/Share/Dialog",(()=>h()))},n=i.__importStar(n),o=i.__importStar(o),r=i.__importStar(r),a=i.__importStar(a),s=i.__importDefault(s),u=i.__importStar(u);const v=new WeakSet,_=void 0!==window.navigator.share})),define("WoltLabSuite/Core/Ui/Feed/Dialog",["require","exports","tslib","../Dialog","../../StringUtil","../../Language","../../Clipboard","../Notification"],(function(e,t,i,n,o,r,a,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=function(){document.querySelectorAll("a.rssFeed").forEach((e=>{e.addEventListener("click",(e=>function(e){e.preventDefault();const t=e.currentTarget,i=t.href,l=i.replace(/(\\?|&)at=[^&]*&?/,"$1").replace(/(\?|&)$/,"");n.default.openStatic("feedLinkDialog",`\n\n
\n\n
\n`,{onShow(e){e.querySelectorAll(".feedLinkDialogCopyButton").forEach((e=>e.addEventListener("click",(e=>async function(e){e.preventDefault();const t=e.currentTarget.parentNode.querySelector('input[type="text"]');await a.copyTextToClipboard(t.value),s.show(r.get("wcf.global.rss.copy.success"))}(e)))))},title:t.title||r.get("wcf.global.button.rss")})}(e)))}))},n=i.__importDefault(n),o=i.__importStar(o),r=i.__importStar(r),a=i.__importStar(a),s=i.__importStar(s)})),define("WoltLabSuite/Core/Ui/Page/Menu/Main/Frontend",["require","exports"],(function(e,t){"use strict";function i(e,t){const n=e.querySelector(".boxMenuLink"),o=n.querySelector(".boxMenuLinkTitle").textContent;let r=0;const a=n.querySelector(".boxMenuLinkOutstandingItems");a&&(r=parseInt(a.textContent.replace(/[^0-9]/,""),10));const s=e.querySelector("ol");let l=[];if(s instanceof HTMLOListElement){let e=t;e<3&&(e=t+1),l=Array.from(s.children).map((t=>i(t,e)))}const c=n.getAttribute("href");let d,u;return c&&"#"!==c&&(d=n.href,"_blank"===n.target&&(u=!0)),{active:e.classList.contains("active"),children:l,counter:r,depth:t,identifier:n.parentElement.dataset.identifier,link:d,openInNewWindow:u,title:o}}Object.defineProperty(t,"__esModule",{value:!0}),t.UiPageMenuMainFrontend=void 0;class n{getMenuItems(e){return Array.from(e.children).map((e=>i(e,0)))}}t.UiPageMenuMainFrontend=n,t.default=n})),define("WoltLabSuite/Core/Notification/ServiceWorker",["require","exports","WoltLabSuite/Core/Ajax/Backend"],(function(e,t,i){"use strict";function n(){return"https:"===location.protocol&&"serviceWorker"in window.navigator&&"PushManager"in window&&"showNotification"in ServiceWorkerRegistration.prototype&&(!("Notification"in window)||"denied"!==Notification.permission)}function o(){r?.register()}Object.defineProperty(t,"__esModule",{value:!0}),t.serviceWorkerSupported=n,t.setup=function(e,t,i){n()&&(r=new a(e,t,i),"granted"===Notification.permission&&o())},t.registerServiceWorker=o;let r=null;class a{#E;#S;#C;#L;constructor(e,t,i){this.#E=e,this.#S=t,this.#C=i,window.navigator.serviceWorker.register(this.#S,{scope:"/"}),this.#L=window.navigator.serviceWorker.ready}async register(){const e=await(await this.#L).pushManager.getSubscription();if(e&&this.#k(e))return;await this.unsubscribe(e);const t=await(await this.#L).pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:this.#x(this.#E)});t&&await this.#I(t)}async unsubscribe(e){e&&(await this.#I(e,!0),await e.unsubscribe())}#k(e){let t=window.btoa(String.fromCharCode(...new Uint8Array(e.options.applicationServerKey)));return t=t.replace(/\+/g,"-").replace(/\//g,"_"),t=t.replace(/=+$/,""),t===this.#E}async#I(e,t=!1){const n=e.getKey("p256dh"),o=e.getKey("auth"),r=(PushManager.supportedContentEncodings||["aes128gcm"])[0];try{await(0,i.prepareRequest)(this.#C).post({remove:t,endpoint:e.endpoint,publicKey:n?window.btoa(String.fromCharCode(...new Uint8Array(n))):null,authToken:o?window.btoa(String.fromCharCode(...new Uint8Array(o))):null,contentEncoding:r}).disableLoadingIndicator().fetchAsResponse()}catch{}}#x(e){const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),i=window.atob(t),n=new Uint8Array(i.length);for(let e=0;e
')).split("\n\n").map((e=>`
${e=e.replaceAll("\n","
")}