1import{j as t}from"./vendor-antd-BBP9elV-.js";import{c as j,v as T,d as v,S as y,W as S,bV as C,a as A,U as _,bW as E,D as F,bU as M,bX as I,aT as R}from"./index-DRcpVgJh.js";import{M as B,u as N}from"./vendor-intl-BdRQ4zCJ.js";import{B as w,ae as U}from"./ra-packages-common-CvkwZ4BT.js";import"./vendor-redux-KLK4bked.js";import{A as W,R as q,F as L,B as $}from"./FurtherReading-4rtbUfC0.js";import{C as k,E as D}from"./Section-Cp0aXsvt.js";import{h as G,f as z}from"./Columns-CaMGKbTL.js";import{B as K}from"./Boxes-B7Ez9Qyf.js";import{d as O}from"./filterCategories-5wxTXyCZ.js";import"./vendor-react-fAf-fo_p.js";import"./vendor-router-qVASvVEu.js";import"./ra-packages-feutils-BT9hW3Hl.js";import"./vendor-hashbase-DgZ-AY2q.js";import"./vendor-misc-1-GGAxc6aE.js";import"./ra-packages-icons-CuBFMsoF.js";import"./react-intersection-observer-Cu_qKbcA.js";import"./vendor-apollo-CkY1D5Bj.js";import"./vendor-sentry-browser-BvxBMkSh.js";import"./vendor-react-markdown-DTBd1y6J.js";import"./vendor-micromark-D3BnM3h_.js";import"./article-B2sySj8g.js";import"./Share-BTLZcKRl.js";import"./Breadcrumbs-DgDCuy41.js";import"./Slider-Baz6_Lbo.js";import"./Article-Bz8gQEj0.js";import"./category-MdjkUhBB.js";const Q=T();function P(){const e=j.c(3);let r,i;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(B,{id:"components.blog.moreFrom"}),i={align:"center",level:"2"},e[0]=r,e[1]=i):(r=e[0],i=e[1]);let o;return e[2]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsx(y,{children:t.jsx(S,{className:C,children:t.jsx(A,{title:r,headingProps:i,children:t.jsx(G,{justify:"space-between",children:Array.apply(0,Array(4)).map(V)})})})}),e[2]=o):o=e[2],o}function V(e,r){return t.jsx(z,{columnCount:4,children:t.jsx("div",{className:E})},r)}function X(){const e=j.c(18);let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r={ssr:!1,variables:{inputArticleCategoryFilter:{items:4,page:1}}},e[0]=r):r=e[0];const{loading:i,data:o,error:n}=v(O,r);let l;e[1]!==o?(l=o||{},e[1]=o,e[2]=l):l=e[2];const{filterArticleCategories:c}=l;let s;e[3]!==c?(s=c===void 0?{}:c,e[3]=c,e[4]=s):s=e[4];const{items:m}=s;let a;e[5]!==m?(a=m===void 0?[]:m,e[5]=m,e[6]=a):a=e[6];const d=a;if(n||!i&&(!d||!d.length))return null;if(i){let u;e[7]!==i?(u=t.jsx(F,{uniqueId:Q,attach:i}),e[7]=i,e[8]=u):u=e[8];let h;e[9]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx(P,{}),e[9]=h):h=e[9];let x;return e[10]!==u?(x=t.jsxs(t.Fragment,{children:[u,h]}),e[10]=u,e[11]=x):x=e[11],x}let b,g;e[12]===Symbol.for("react.memo_cache_sentinel")?(b=t.jsx(B,{id:"components.blog.moreFrom"}),g={align:"center",level:"2"},e[12]=b,e[13]=g):(b=e[12],g=e[13]);let p;e[14]!==d?(p=d.map(Y),e[14]=d,e[15]=p):p=e[15];let f;return e[16]!==p?(f=t.jsx(y,{children:t.jsx(S,{className:C,children:t.jsx(A,{title:b,headingProps:g,children:t.jsx(K,{children:p})})})}),e[16]=p,e[17]=f):f=e[17],f}function Y(e){const{id:r,name:i,uri:o,type:n}=e;return t.jsx(w,{isAnchor:!0,type:"secondary",width:"container",to:_.articleCategory(o,n),children:i},r)}function H(){const e=j.c(1);let r;return e[0]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(k,{offset:400,placeholder:t.jsx(P,{}),children:t.jsx(X,{})}),e[0]=r):r=e[0],r}function Be(e){const r=j.c(5),{staticContext:i}=e,{TYPE_POST:o}=M.type,{formatMessage:n}=N();let l;r[0]!==n?(l=s=>s.article?t.jsxs(t.Fragment,{children:[t.jsx(W,{...s,shareContentKey:"article",listTitle:n({id:"components.breadcrumbs.blog"}),listUrl:_.blogList()}),t.jsx(D,{inputId:"blog-subscribe-field",inputName:"blog-subscribe-email",title:n({id:"components.blog.subscribe.title"}),subTitle:n({id:"components.blog.subscribe.subtitle"}),buttonKey:"components.blog.subscribe.submitBtn",showSuccessDialog:!0,children:m=>{const{SubscribeForm:a}=m;return t.jsxs(t.Fragment,{children:[t.jsx(q,{articleId:s.article.id,...a?null:{background:"gray"}}),a?t.jsx(y,{background:"gray",children:a}):null]})}}),t.jsx(L,{queryVars:{...s.articleCategory&&s.articleCategory.slug?{category:s.articleCategory.slug}:null,type:o,ignoreArticleIds:s.article.id},title:n({id:"components.blog.furtherReading"})}),t.jsx(H,{}),t.jsx("div",{className:I,children:t.jsx(U,{})})]}):null,r[0]=n,r[1]=l):l=r[1];let c;
1return r[2]!==i||r[3]!==l?(c=t.jsx($,{staticContext:i,articleType:o,translationPrefix:"blogArticle",metaSubscriber:R.BLOG_ARTICLE_META,children:l}),r[2]=i,r[3]=l,r[4]=c):c=r[4],c}export{Be as default};
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.