PageSourceSearch

https://www.cit.kalisz.pl/component---src-templates-article-preview-tsx-012545f6a85e58a4491d.js

js cit.kalisz.pl collected 2026-10-02 23:53:57 UTC 9,712 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunktorus_orion_front=self.webpackChunktorus_orion_front||[]).push([[501,235],{6840:function(e,t,n){n.r(t),n.d(t,{Head:function(){return y},default:function(){return v}});var l=n(7294),r=n(5086),a=n(3815),i=n(3904),o=n(972),c=n(6950),s=n(7121),g=n(5935);var m=r.styled.div.withConfig({displayName:"styles__Styles",componentId:"sc-15glzcp-0"})([".article-wrapper{padding:25px 20px 40px;box-shadow:",";background:",";border-radius:",";border:",";h1{padding-bottom:20px;margin-bottom:0;}p{&:first-of-type{font-weight:bold;&.article-sponsored{font-weight:",";}}}blockquote{position:relative;z-index:10;font-size:",";font-weight:",";line-height:",";font-style:",";color:",";margin:15px 0 20px;padding:26px 28px;&::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;z-index:-2;border-radius:",";background:",";}&::after{content:",";position:absolute;top:-10px;left:-6px;z-index:-1;color:#fff;transform:rotate(-21deg);}}}"],(e=>{let{$config:t}=e;return t.group_article.boxShadow}),(e=>{let{$config:t}=e;return t.group_article.backgroundColor}),(e=>{let{$config:t}=e;return t.group_article.borderRadius}),(e=>{let{$config:t}=e;return t.group_article.border}),(e=>{let{$global:t}=e;return t.text.fontWeight}),(e=>{let{$global:t}=e;return t.text.fontSize}),(e=>{let{$global:t}=e;return t.text.fontWeight}),(e=>{let{$global:t}=e;return t.text.lineHeight}),(e=>{let{$config:t}=e;return t.group_article.group_blockquote.fontStyle}),(e=>{let{$config:t}=e;return t.group_article.group_blockquote.color}),(e=>{let{$config:t}=e;return t.group_article.group_blockquote.borderRadius}),(e=>{let{$config:t}=e;return t.group_article.group_blockquote.backgroundColor}),(e=>{let{$config:t}=e;return`url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='70' width='70' fill='${t.group_article.group_blockquote.group_image.color.replace("#","%23")}' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3E%3Cpath d='M0 216C0 149.7 53.7 96 120 96h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V320 288 216zm256 0c0-66.3 53.7-120 120-120h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H320c-35.3 0-64-28.7-64-64V320 288 216z'/%3E%3C/svg%3E")`})),d=n(2054);var u=r.styled.div.withConfig({displayName:"styles__Styles",componentId:"sc-aq9279-0"})(["margin:",";ul,ul ul,ul ul ul{list-style-type:disc;}ul li,ul ul li,ul ul ul li{margin-top:0.8rem;}.tableOfContentsHeader{display:block;font-family:",";font-weight:",";font-size:",";line-height:",";color:",";margin:",";font-style:",";}"],(e=>{let{config:{content:t}}=e;return t.h2.margin}),(e=>{let{config:{content:t}}=e;return t.h3.fontFamily}),(e=>{let{config:{content:t}}=e;return t.h3.fontWeight}),(e=>{let{config:{content:t}}=e;return t.h3.fontSize}),(e=>{let{config:{content:t}}=e;return t.h3.lineHeight}),(e=>{let{config:{content:t}}=e;return t.h3.color}),(e=>{let{config:{content:t}}=e;return t.h3.margin}),(e=>{let{config:{content:t}}=e;return t.h3.fontStyle}));function p(e){let{items:t}=e;return l.createElement("ul",null,t.map((e=>l.createElement("li",{key:e.id},l.createElement("a",{href:`#${e.id}`},e.title),e.children.length>0&&l.createElement(p,{items:e.children})))))}var f=function(e){let{config:t,data:n,language:r}=e;if(n){const e=JSON.parse(n);return e?l.createElement(u,{config:t},l.createElement("span",{className:"tableOfContentsHeader"},d.y0[r].tableOfContentsTitle),l.createElement(p,{items:e})):null}return null};var h=e=>{let{config:t,article:n,language:r}=e;const a="https://dxsggoz3g3gl3.cloudfront.net",i=`${a}/f-${n.imagePath}`;return l.createElement(m,{$config:t.article.entireArticleBox.params,$global:t.general.content},l.createElement("div",{className:"article-wrapper"},n.sponsored?l.createElement("p",{className:"article-sponsored"},d.y0[r].labelArticleSponsored):null,l.createElement("h1",null,n.name),l.createElement("div",{className:"article-image"},l.createElement("img",{src:i,alt:n.name})),l.createElement("div",null,l.createElement(f,{config:t.general,data:n.tableOfContents,language:r}),(0,g.ZP)(n.description.replace(/{article_media_base_url}/g,a+"/"||0),{replace:e=>{if((e=>"tag"===e.type)(e)&&"img"===e.name)return l.createElement("img",Object.assign({},e.attribs,{alt:e.attribs.alt||"",loading:"lazy"}))}}))))};var b=e=>{let{config:t,article:n,language:r}=e;return t.article.entireArticleBox.variant,l.createElement(h,{language:r,config:t,article:n})};const w=r.styled.div.withConfig({displayName:"Article__Styles",componentId:"sc-75qu41-0"})([".article{&-column-wrapper{position:relative;display:flex;gap:30px;flex-direction:column;}&-image{margin-bottom:25px;}&-left-column{width:100%;flex-shrink:0;}&-right-column{width:100%;flex-shrink:0;}&-list{display:grid;gap:30px;grid-template-columns:1fr;}
1&-articles-recommended-header{}}@media (min-width:","){.article{&-list{grid-template-columns:1fr 1fr;}}}@media (min-width:","){.article{&-column-wrapper{flex-direction:row;}&-left-column{width:calc(66.6666% - 15px);}&-right-column{width:calc(33.3333% - 15px);}}}"],(e=>{let{theme:t}=e;return t.breakpoint.md}),(e=>{let{theme:t}=e;return t.breakpoint.lg}));var v=e=>{let{pageContext:{siteConfig:t,article:n,articlesPopular:r,categories:i,language:g}}=e;return l.createElement(a.Z,{pageName:"article",language:g,config:t,categories:i},l.createElement(o.Z,{language:g,items:[{label:d.Kb[g].articles,link:d.DI[g].articles+"/"},{label:n.name}],config:t}),l.createElement("div",{className:"container"},l.createElement(w,{$config:t},l.createElement("div",{className:"article-column-wrapper"},l.createElement("div",{className:"article-left-column"},l.createElement(b,{language:g,config:t,article:n})),l.createElement("div",{className:"article-right-column"},l.createElement(s.Z,{language:g,config:t,categories:i,activeCategory:n.categoryName,activeCategoryClickable:!0}),l.createElement(c.Z,{language:g,config:t,articles:r}))))))};const y=e=>{var t,n;let{pageContext:{siteConfig:r,article:a,googleSiteVerification:o,iconUrl:c,language:s,rootUrl:g}}=e;return l.createElement(l.Fragment,null,l.createElement("html",{lang:`${null==s||null===(t=s.slice(-2))||void 0===t?void 0:t.toLowerCase()}-${null==s||null===(n=s.slice(-2))||void 0===n?void 0:n.toUpperCase()}`}),o?l.createElement("meta",{name:"google-site-verification",content:o}):null,l.createElement(i.Z,{meta:{title:a.seoTitle,description:a.seoDescription},breadcrumbsSchema:[{label:d.Kb[s].articles,link:`${g}${d.DI[s].articles}`},{label:a.name}],fonts:r.general.content.fonts,gtmCode:r.general.gtm,iconUrl:c}))}},8237:function(e,t,n){n.r(t);var l=n(7294),r=n(2861),a=n(5086),i=n(6840),o=n(4593),c=n(1552);const s=a.styled.div.withConfig({displayName:"ArticlePreview__LoadWrapper",componentId:"sc-1f5qvzw-0"})(["width:100%;height:500px;display:flex;align-items:center;justify-content:center;.lds-ring{display:inline-block;position:relative;width:80px;height:80px;}.lds-ring div{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border-radius:50%;animation:lds-ring 1.2s cubic-bezier(0.5,0,0.5,1) infinite;border:8px solid;border-color:#606060 transparent transparent transparent;}.lds-ring div:nth-child(1){animation-delay:-0.45s;}.lds-ring div:nth-child(2){animation-delay:-0.3s;}.lds-ring div:nth-child(3){animation-delay:-0.15s;}@keyframes lds-ring{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}"]);t.default=e=>{let{pageContext:{siteData:t,siteConfig:n,categories:a,language:g,articlesPopular:m}}=e;const{0:d,1:u}=(0,l.useState)(),{0:p,1:f}=(0,l.useState)(!0);return(0,l.useEffect)((()=>{const e=new URLSearchParams(window.location.search).get("articleId");t&&e?(async e=>{"undefined"!=typeof window&&(document.body.onclick=e=>{e.preventDefault()});try{const{data:t}=await r.Z.get(`/service/article/getArticlePreview/${e}`);if(t&&t.response.length){const e=t.response[0];u({...e,published:"",tags:[],showInlineLinks:!1,imagePath:`${e.attachments[0].id}-${e.attachments[0].fileName}`,categoryName:e.categories[0].categoryGroups[0].name,categoryGroupId:e.categories[0].categoryGroups[0].id,industries:e.categories.map((e=>e.id))}),window.postMessage({eventName:"articleMeta",title:e.seoTitle,description:e.seoDescription},window.location.origin)}else window.postMessage({eventName:"articleError"},window.location.origin)}catch(t){console.error(t),window.postMessage({eventName:"articleError"},window.location.origin)}f(!1)})(e):f(!1)}),[]),d?l.createElement(l.Fragment,null,l.createElement(o.q,null,l.createElement("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),l.createElement("link",{href:(0,c.p)(n.general.content.fonts),rel:"stylesheet"}),l.createElement("title",null,d.seoTitle||"Podglad - ładowanie..."),l.createElement("meta",{name:"description",content:d.seoDescription}),l.createElement("meta",{key:"robots",name:"robots",content:"noindex,nofollow"}),l.createElement("meta",{key:"googlebot",name:"googlebot",content:"noindex,nofollow"})),l.createElement(i.default,{pageContext:{siteConfig:n,article:d,articlesPopular:m,categories:a,language:g}}),l.createElement("style",{dangerouslySetInnerHTML:{__html:".cookies-consent-section{ display: none }"}})):p?l.createElement(s,null,l.createElement("div",{className:"lds-ring"},l.createElement("div",null),l.createElement("div",null),l.createElement("div",null),l.createElement("div",null))):null}}}]);
2//# sourceMappingURL=component---src-templates-article-preview-tsx-012545f6a85e58a4491d.js.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.