export const __webpack_ids__=["6125"];export const __webpack_modules__={43028:function(e,t,n){n.r(t);var r=n(35470),o=n(14703),a=n(69535),s=n(48832),i=n(13117),p=n(77907);let MDNPlacementNo=class MDNPlacementNo extends(0,a.q)(o.oi){static styles=p.Z;_dataTask=new r.iQ(this,{task:async()=>({context:await (0,s.b)(),user:await (0,i.s)()})});connectedCallback(){super.connectedCallback(),this._dataTask.run()}render(){return this._dataTask.render({initial:()=>o.Ld,pending:()=>o.Ld,complete:e=>{let{context:t,user:n}=e;return n?.isSubscriber||t.plusAvailable?(0,o.dy)`<a
                class="placement-no"
                data-glean=${"pong: "+(n?.isSubscriber?"pong->settings":"pong->plus")}
                href=${n?.isSubscriber?"/en-US/plus/settings?ref=nope":"/en-US/plus?ref=nope"}
              >
                ${this.l10n("placement-no")}
              </a>`:o.Ld}})}};customElements.define("mdn-placement-no",MDNPlacementNo)},48832:function(e,t,n){let r;n.d(t,{b:()=>s});var o=n(13117);let a={side:{typ:"side",renderer:/Doc|BlogPost|CurriculumDefault|GenericDoc|SpaSearch|SpaNotFound|SpaPlay|SpaObservatoryAnalyze/gi,pattern:/^\/[^/]+\/(play|docs\/|blog\/|observatory\/?|curriculum\/[^$]|search$)/i},top:{typ:"top-banner",renderer:/^(?!Homepage$).+/gi,pattern:/^\/[^/]+\/(?!$|_homepage$).*/i},hpTop:{typ:"top-banner",renderer:/Homepage/gi,pattern:/^\/[^/]+\/($|_homepage$)/i},hpMain:{typ:"hp-main",renderer:/Homepage/gi,pattern:/^\/[^/]+\/($|_homepage$)/i},hpFooter:{typ:"hp-footer",renderer:/Homepage/gi,pattern:/^\/[^/]+\/($|_homepage$)/i},bottom:{typ:"bottom-banner",renderer:/^(?!Homepage$).+/gi,pattern:/^\/[^/]+\/docs\//i}};function s(){return r||(r=(0,o.s)().then(e=>e.settings?.noAds?Promise.resolve({status:"noads"}):i())),r}async function i(){var e;let t=await fetch("/pong/get",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({keywords:[],pongs:(e=globalThis.document.documentElement.dataset.renderer||"Unknown",Object.entries(a).map(([t,{renderer:n}])=>n.test(e)?t:null).filter(e=>null!==e)||[])})});if(!t.ok)throw Error(t.statusText);try{return await t.json()}catch{throw Error(t.statusText)}}},77907:function(e,t,n){n.d(t,{Z:()=>p});var r=n(14703),o=n(8081),a=n.n(o),s=n(23645),i=n.n(s)()(a());i.push([e.id,":host{line-height:1rem}.placement-no{color:var(--text-secondary);font-size:.6rem;margin-bottom:.5rem;max-width:12rem;padding:0;width:100%}.placement-no:focus,.placement-no:hover{opacity:unset;-webkit-text-decoration:none;text-decoration:none}",""]);let p=(0,r.iv)([i.toString()])}};
//# sourceMappingURL=6125.e38c186f47b38db7.js.map