1"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[6400],{1692:function(t,e,n){n.d(e,{Tj:function(){return s},pb:function(){return o},qI:function(){return c},qh:function(){return i}});var r=n(3964);const o=(0,r.A)(((t,e)=>e.filter(t))),s=(0,r.A)(((t,e)=>e.map(t))),i=(0,r.A)(((t,e)=>e.indexOf(t))),c=(0,r.A)(((t,e)=>e.flatMap(t)))},2397:function(t,e,n){function r(t,e,n,o=null){const{messageBusUri:s}=t;let i=!1,c=new WebSocket(s);return c.addEventListener("open",(function(){i=!0,c.send(JSON.stringify({channel:e,disconnectedAt:o})),o=null})),c.addEventListener("message",(t=>{n(JSON.parse(t.data))})),c.addEventListener("close",(()=>{i=!1;const o=window.setInterval((()=>{i||(r(t,e,n,(new Date).getTime()),clearInterval(o),c=null)}),1e3)})),c}n.d(e,{A:function(){return r}})},8321:function(t,e,n){n.d(e,{f:function(){return h},q:function(){return g}});var r=n(367),o=n(4465),s=n(298);const i="load_more_posts/data.js",c={};function a(t){return{site_id:t.bootstrap.site.id,node_id:t.sklId,resource_id:t.bootstrap.resourceId,path_params:JSON.stringify(t.bootstrap.pathParams),rm_page_path:t.path,formats:"html",...t.bootstrap.tag?.isSection&&{is_section_tag:1},...t.pathParams}}function u(t){return t.sklId in c||(c[t.sklId]=1),{...a(t),rm_lazy_load:1,exclude_post_ids:t.excludePostIds,pn:c[t.sklId],last_post_id:t.lastPostId,pn_strategy:t.ignorePageNumber?"ignore":""}}function d(t){return[`/res/${i}`,t]}function l([t,e]){return`${t}?${new URLSearchParams(e).toString()}`}const p=(0,r.A)((function(t){return{...a(t),post_id:t.postId,override_device:"desktop"}}),d,l),f=(0,r.A)(u,d,l),m=(0,r.A)(u,(function(t){return[`/core/${i}`,t]}),l);function A(t){return c[t.node_id]++,[t,c[t.node_id]]}function h(t){const e=(0,o.x3)()?m:f;return(0,s.mQ)(e(t)).then(A)}function g(t){return(0,s.mQ)(p(t))}},409:function(t,e,n){n.d(e,{A:function(){return d}});var r=n(367),o=n(1692),s=t=>e=>Array.from(e.querySelectorAll(t));const i=t=>(0,r.A)(c,u)(t),c=t=>a(t)?new Set:new Set((t.dataset.postsSources||"").split(",")),a=t=>"true"===t.dataset.ignorePageNumber,u=t=>(0,r.A)(s("[data-source]"),(0,o.pb)((t=>"false"!==t.getAttribute("data-source-unique"))),(0,o.pb)((e=>!t.has(e.getAttribute("data-source")))),(0,o.qI)(s("[elid]")),(0,o.Tj)((t=>t.getAttribute("elid"))))(document);function d(t,e){const n=Array.from(t.parentElement.querySelectorAll("article")),r=n[n.length-1],o=r?r.getAttribute("elid"):"",s=i(t),c=new Set(s);return{sklId:t.dataset.sklId,bootstrap:e.settings,path:e.path,pathParams:e.pathParams,excludePostIds:Array.from(new Set(c)).sort().join(","),ignorePageNumber:a(t),lastPostId:o}}},5282:function(t,e,n){function r(t){const e=(t.type||"").toLowerCase();if("video-content"===e||function(t){return t.startsWith("application/")&&t.endsWith("json")}(e))return;const n=document.createElement("script");var r;t.src?n.setAttribute("src",t.src):n.textContent=t.innerText,setTimeout((r=n,function(){document.head.appendChild(r)}),1)}function o(t){t.querySelectorAll("script").forEach(r)}n.d(e,{A:function(){return o}})},5508:function(t,e,n){n.d(e,{A:function(){return s},H:function(){return o}});var r=n(5282);function o(t,e){return t.innerHTML=e,(0,r.A)(t),t}function s(t,e,n=!1){const o=document.createElement("template");return o.innerHTML=e,(0,r.A)(o.content),n?t.insertAdjacentHTML("afterend",e):t.parentElement.insertBefore(o.content,t),n?t.nextElementSibling:t.previousElementSibling}},6400:function(t,e,n){n.r(e),n.d(e,{default:function(){return a}});var r=n(893),o=n(2397),s=n(8321),i=n(409),c=n(5508);function a(t,e){const{settings:n}=t,{site:a,section:u}=n,d=e.getAttribute("data-section-ids"),l=[];d?l.push(...d.split(",")):u&&u.id&&l.push(u.id.toString()),new Set(l).forEach((u=>{const d=`${a.id}:section-${u}`;(0,o.A)(n,d,(n=>{const{postId:o}=n;(0,s.q)({postId:o,...(0,i.A)(e,t)}).then((t=>{t.action=n.action,t.postId=o,function(t,e){const n=t.parentElement.querySelector(`[elid="${e.postId}"]`),o=!0;e.posts_html.includes(`elid="${e.postId}"`)&&(n&&"edit"===e.action?(n.remove(),(0,c.A)(t,e.posts_html,o)):n||((0,r.A)(e.css),(0,c.A)(t,e.posts_html,o)))}(e,t)}))}))}))}}}]); 2//# sourceMappingURL=6400.95b6131b0cc2c62d2600.bundle.mjs.map
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.