1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1122],{63733:function(e,t,n){var c=n(828),a=n(85893),i=n(67294),r=n(60253),o=n(79912),s=n(22318),l=n(40570);t.Z=function(e){var t=e.autoLink,n=e.maxHeight,d=e.text,u=e.style,f=(0,r.$G)().t,x=i.useRef(null),b=(0,c.Z)(i.useState(!1),2),p=b[0],h=b[1],m=(0,c.Z)(i.useState(!1),2),j=m[0],v=m[1],g=n||80,k=i.useMemo((function(){var e=d||"";return t?e.split(/(https?:\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_+.~#?&//=]*))/).map((function(e,t){return t%2===0?(0,a.jsx)("span",{children:e},t):(0,a.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer nofollow",children:e},t)})):e}),[t,d]);i.useEffect((function(){var e;((null===(e=x.current)||void 0===e?void 0:e.scrollHeight)||0)>g&&v(!0)}),[g]);var Z=i.useCallback((function(){return h((function(e){return!e}))}),[]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(o.Z,{style:u,children:[(0,a.jsx)(s.Z,{ref:x,component:"p",variant:"body2",style:{position:"relative",maxHeight:j&&!p?"".concat(g,"px"):"none",overflow:"hidden",whiteSpace:"pre-wrap",overflowWrap:"break-word"},children:k}),j&&(0,a.jsx)("div",{style:{margin:"0 0 -16px -4px"},children:(0,a.jsx)(l.Z,{size:"small",onClick:Z,children:f(p?"show-less":"read-more")})})]})})}},57206:function(e,t,n){n.d(t,{Z:function(){return F}});var c=n(828),a=n(85893),i=n(67294),r=n(18463),o=n(89738),s=n(79912),l=n(41749),d=n(22318),u=n(60357),f=n.n(u),x=n(60253),b=n(30172),p=n(10787),h=n(95186),m=n(51582),j=n(69447),v=n(24002),g=n(45258),k=n(52663),Z=n(17812),w=n(28358),y=n(868),z=n(90935),C=n(5368),_=n(42734),S=(n(72821),n(71344));b.Z.use([p.Z,h.Z,m.Z]);var N=function(e){var t=e.item,n=t.path,c=t.xs,i="".concat("https://api.baskadia.com","/static/").concat(c||n||""),r="".concat("https://api.baskadia.com","/static/").concat(n||"");return(0,a.jsxs)("div",{className:"jsx-19ca0430ff05d9b3 "+f().dynamic([["ec1d9ab48cee827c",[i,r]]]),children:[(0,a.jsx)(f(),{id:"ec1d9ab48cee827c",dynamic:[i,r],children:"div.__jsx-style-dynamic-selector{background-image:url(".concat(i,")};\n ")}),(0,a.jsx)(f(),{id:"19ca0430ff05d9b3",children:"div.jsx-19ca0430ff05d9b3{width:100%;height:100%;background-position:center;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;background-repeat:no-repeat}"})]})},E=function(e){var t=e.initialSlide,n=e.items,r=e.open,o=e.paywall,s=e.onClose,l=(0,x.$G)().t,u=(0,c.Z)(i.useState(t),2),b=u[0],p=u[1],h=(0,c.Z)(i.useState(),2),m=h[0],E=h[1];i.useEffect((function(){return p(t)}),[t]);var M=i.useCallback((function(){var e;null===m||void 0===m||null===(e=m.slideTo)||void 0===e||e.call(m,b-1)}),[b,m]),T=i.useCallback((function(){var e;null===m||void 0===m||null===(e=m.slideTo)||void 0===e||e.call(m,b+1)}),[b,m]),A=i.useCallback((function(e){p(e.activeIndex)}),[]),F=i.useCallback((function(e){return E(e)}),[]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(S.Z,{theme:"dark",children:(0,a.jsxs)(k.Z,{className:o?"paywall":"",fullScreen:!0,open:r,onClose:s,children:[(0,a.jsx)(g.Z,{position:"static",children:(0,a.jsxs)(w.Z,{children:[(0,a.jsx)("div",{className:"jsx-74b3342889fb739 spacer"}),(0,a.jsx)(Z.Z,{disabled:b<=0,style:{marginLeft:"36px"},onClick:M,children:(0,a.jsx)(y.ZP,{title:l("prev")||"-",children:(0,a.jsx)(z.Z,{})})}),(0,a.jsx)(d.Z,{component:"div",variant:"h6",children:"".concat(b+1," / ").concat(n.length)}),(0,a.jsx)(Z.Z,{disabled:b>=n.length-1,onClick:T,children:(0,a.jsx)(y.ZP,{title:l("next")||"-",children:(0,a.jsx)(C.Z,{})})}),(0,a.jsx)("div",{className:"jsx-74b3342889fb739 spacer"}),(0,a.jsx)(Z.Z,{edge:"end",onClick:s,children:(0,a.jsx)(y.ZP,{title:l("close")||"-",children:(0,a.jsx)(_.Z,{})})})]})}),(0,a.jsx)(j.t,{grabCursor:!0,initialSlide:t,lazy:!0,navigation:!0,slidesPerView:1,spaceBetween:0,virtual:!0,onSlideChange:A,onSwiper:F,children:n.map((function(e,t){return(0,a.jsx)(v.o,{virtualIndex:t,children:(0,a.jsx)(N,{item:e})},e.path)}))})]})}),(0,a.jsx)(f(),{id:"74b3342889fb739",children:".swiper-container{width:100%;height:100%}.spacer.jsx-74b3342889fb739{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}"})]})},M=n(73844),T=n(73791),A=function(e){var t=e.index,n=e.items,c=e.paywall,u=e.title,f=e.onClick,x=n[t],b=i.useMemo((function(){return!t&&n.length<2?u:"".concat(u," (").concat(t+1,")")}),[t,n.length,u]),p=100;x.ar&&(p=100/x.ar);var h=8;3*p<200?h=11:4*p<300?h=10:p<100&&(h=9);var m=i.useMemo((function(){var e=x.text;if(e)return e.split(/(https?:\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_+.~#?&//=]*))/).map((function(e,t){return t%2===0?(0,a.jsx)("span",{children:e},t):(0,a.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer nofollow",children:e},t)}))}),[x.text]),j=i.useCallback((function(){f(t)}),[t,f]);return(0,a.jsx)(M.Z,{className:c?"paywall":"",children:(0,a.jsx)(l.Z,{container:!0,justifyContent:"center",children:(0,a.jsx)(l.Z,{item:!0,xs:12,sm:h,children:(0,a.jsxs)(r.Z,{square:!0,children:[(0,a.jsx)(o.Z,{component:"div",onClick:j,children:(0,a.jsx)(T.Z,{src:x.xs||x.path,alt:b,aspectRatio:x.ar})}),m&&(0,a.jsx)(s.Z,{children:(0,a.jsx)(d.Z,{variant:"body1",style:{whiteSpace:"pre-line",overflowWrap:"break-word"},children:m})})]})})})})},F=function(e){var t=e.items,n=e.paywall,r=e.title,o=(0,c.Z)(i.useState(0),2),s=o[0],l=o[1],d=(0,c.Z)(i.useState(!1),2),u=d[0],f=d[1],x=i.useCallback((function(e){l(e),f(!0)}),[]),b=i.useCallback((function(){return f(!1)}),[]);return(0,a.jsxs)(a.Fragment,{children:[t.map((function(e,c){return(0,a.jsx)(A,{index:c,items:t,paywall:n,title:r,onClick:x},e.path)})),(0,a.jsx)(E,{initialSlide:s,items:t,open:u,paywall:n,onClose:b})]})}},73791:function(e,t,n){var c=n(828),a=n(85893),i=n(60357),r=n.n(i),o=n(67294),s=n(61164),l=n(95477);t.Z=function(e){var t=e.src,n=e.alt,i=e.aspectRatio,d=e.contain,u=e.style,f=(0,c.Z)((0,s.o)(),1)[0].isIntersectionObserverEnabled,x=o.useRef(null),b=(0,c.Z)(o.useState(!0),2),p=b[0],h=b[1],m=(0,c.Z)(o.useState("/loading.jpg"),2),j=m[0],v=m[1];return o.useEffect((function(){return h(!0)}),[t]),o.useEffect((function(){if(f){var e=x.current;if(e&&p){var n,c=new IntersectionObserver((function(e){e.forEach((function(e){if(e.isIntersecting){var c=t||"/loading.jpg";c.startsWith("/")||c.startsWith("http:")||c.startsWith("https:")||(c="".concat("https://api.baskadia.com","/static/").concat(c)),(n=new Image).src=c,n.onload=function(){v(c),h(!1)}}}))}),{root:null,rootMargin:"1200px",threshold:0});return c.observe(e),function(){c.unobserve(e),n&&(n.onload=null)}}}}),[f,p,t]),(0,a.jsxs)("div",{ref:x,style:u,className:"jsx-56ff8c381bc38c2d "+r().dynamic([["d054c9af537d5d0c",[100/(i||1),d?"contain":"cover",p?1:0]]])+" container",children:[i&&(0,a.jsx)("div",{className:"jsx-56ff8c381bc38c2d "+r().dynamic([["d054c9af537d5d0c",[100/(i||1),d?"contain":"cover",p?1:0]]])+" aspect-ratio"}),(0,a.jsx)("img",{src:j,alt:n,width:"100%",height:"100%",className:"jsx-56ff8c381bc38c2d "+r().dynamic([["d054c9af537d5d0c",[100/(i||1),d?"contain":"cover",p?1:0]]])}),(0,a.jsx)("div",{className:"jsx-56ff8c381bc38c2d "+r().dynamic([["d054c9af537d5d0c",[100/(i||1),d?"contain":"cover",p?1:0]]])+" placeholder",children:(0,a.jsx)("div",{className:"jsx-56ff8c381bc38c2d "+r().dynamic([["d054c9af537d5d0c",[100/(i||1),d?"contain":"cover",p?1:0]]]),children:p&&(0,a.jsx)(l.Z,{})})}),(0,a.jsx)(r(),{id:"d054c9af537d5d0c",dynamic:[100/(i||1),d?"contain":"cover",p?1:0],children:".aspect-ratio.__jsx-style-dynamic-selector{padding-top:".concat(100/(i||1),"%}img.__jsx-style-dynamic-selector{-o-object-fit:").concat(d?"contain":"cover",";object-fit:").concat(d?"contain":"cover","}.placeholder.__jsx-style-dynamic-selector{opacity:").concat(p?1:0,"}")}),(0,a.jsx)(r(),{id:"56ff8c381bc38c2d",children:".container.jsx-56ff8c381bc38c2d{position:relative;overflow:hidden;background-color:#f5f5f5}img.jsx-56ff8c381bc38c2d{position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);width:auto;height:100%}.placeholder.jsx-56ff8c381bc38c2d{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#f5f5f5;background-image:url(/loading.jpg);background-repeat:no-repeat;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;-webkit-transition:opacity 225ms cubic-bezier(.4,0,.2,1)0ms;-moz-transition:opacity 225ms cubic-bezier(.4,0,.2,1)0ms;-o-transition:opacity 225ms cubic-bezier(.4,0,.2,1)0ms;transition:opacity 225ms cubic-bezier(.4,0,.2,1)0ms}.placeholder.jsx-56ff8c381bc38c2d>
1div.jsx-56ff8c381bc38c2d{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;height:100%}"})]})}},59940:function(e,t,n){var c=n(828),a=n(85893),i=n(67294);t.Z=function(e){var t=e.timestamp,n=(0,c.Z)(i.useState((function(){if(!t)return null;var e=new Date(t),n=function(e){return"0".concat(e).slice(-2)};return"".concat(e.getUTCFullYear(),"/").concat(n(e.getUTCMonth()+1),"/").concat(n(e.getUTCDate())," ").concat(n(e.getUTCHours()),":").concat(n(e.getUTCMinutes()))})),2),r=n[0],o=n[1];return i.useEffect((function(){if(t){var e=new Date(t),n=function(e){return"0".concat(e).slice(-2)};o("".concat(e.getFullYear(),"/").concat(n(e.getMonth()+1),"/").concat(n(e.getDate())," ").concat(n(e.getHours()),":").concat(n(e.getMinutes())))}}),[t]),r?(0,a.jsx)(a.Fragment,{children:r}):null}}}]);
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.