PageSourceSearch

https://www.gdansk.pl/dist/js/main/article.defer.0be9c7f9.js

js www.gdansk.pl collected 2026-10-09 04:51:01 UTC 5,654 bytes, 1 lines download raw bytes

1(self.webpackChunkweb_gdansk=self.webpackChunkweb_gdansk||[]).push([[2883],{700(e,t,r){r(3540),r(9862);document.querySelectorAll(".article-content").forEach((e=>{var t=e.querySelectorAll('[class="article-foto"][data-file-id]'),r=e.getAttribute("data-article-id"),a=e.querySelector('[data-article-data-photos="'.concat(r,'"]')),n=window.location.pathname;if(a&&/^\/.+,a,\d+$/.test(n)){var i=JSON.parse(a.innerHTML);t.forEach((e=>{if(i.hasOwnProperty(e.getAttribute("data-file-id"))){var t=i[e.getAttribute("data-file-id")],r='\n    <img class="img-responsive img-fluid" src="%src%" alt="%alt%">\n    <div class="article-foto-caption">\n        <div data-file-title="">%title%</div>\n        <div data-file-author="">%author%</div>\n    </div>\n';for(var[a,n]of Object.entries(t)){var o=new RegExp("%".concat(a,"%"),"g");r=r.replace(o,n)}var c=document.createElement("div");c.innerHTML=r,i.addDate>"2018-04-01 00:00:00"&&null===e.querySelector(".article-foto-caption")&&c.querySelector(".article-foto-caption").remove(),"false"==e.getAttribute("data-file-show-title")&&"false"==e.getAttribute("data-file-show-author")?c.querySelector("article-foto-caption").remove():("false"==e.getAttribute("data-file-show-title")&&c.querySelector("data-file-title").remove(),"false"==e.getAttribute("data-file-show-author")&&c.querySelector("data-file-author").remove()),e.innerHTML=c.innerHTML}else e.remove()}))}}))},3540(){document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".gallery_article_box").forEach(((e,t)=>{var r=e.getAttribute("data-gallery-id");$(".gallery_article_box").eq(t).load("https://www.gdansk.pl/fotogaleria-artykul3/".concat(r))}))}))},9862(e){e.exports=function(){"use strict";var e=window,t=e.document,r=new function(){function r(e,t){return e.replace(/\{(\d+)\}/g,(function(e,r){return t[r]||e}))}function a(e){return e.join(" - ")}function n(t){e.console.log(t)}function i(e){for(var r=t.querySelectorAll(e),a=0;a<r.length;a++)r[a].style.display="none"}var o="copy",c="share",l="navigator.share(): ",s="This feature is not supported on this browser or operating system.";function u(e){return encodeURIComponent(e)}function d(e){return decodeURIComponent(e)}this.i=function(){for(var r=t.querySelectorAll(".share-btn"),a=r.length;a--;)h(r[a]);e.navigator.clipboard||(i('[data-id="copy"]'),n("navigator.clipboard(): "+s)),e.navigator.canShare||(i('[data-id="share"]'),n(l+s))};var h=function(e){for(var t=e.querySelectorAll("a"),r=t.length;r--;)f(t[r],{id:"",url:p(e),title:b(e),desc:v(e)})},f=function(e,t){t.id=y(e,"data-id"),t.id&&(w(e,"click"),k(e,"click",t))},p=function(t){return y(t,"data-url")||e.location.href||" "},b=function(e){return y(e,"data-title")||t.title||" "},v=function(e){var r=t.querySelector("meta[name=description]");return y(e,"data-desc")||r&&y(r,"content")||" "},m=0,g={},w=function(e,t){var r=e.getAttribute("data-sharebtn-ref");r&&(e.removeEventListener?e.removeEventListener(t,g[r]):e.detachEvent("on"+t,g[r+"ie"]))},k=function(e,t,r){function a(){A(r.id,r.url,r.title,r.desc)}function n(){a.call(e)}var i=e.getAttribute("data-sharebtn-ref");i||(i=++m,e.setAttribute("data-sharebtn-ref",i)),g[i]=a,g[i+"ie"]=n,e.addEventListener?e.addEventListener(t,a):e.attachEvent("on"+t,n)},y=function(e,t){return e.getAttribute(t)},A=function(t,i,s,h){var f=u(i),p=u(h),b=u(s),v=b||p||"";switch(t){case"fb":S(r("https://www.facebook.com/sharer/sharer.php?u={0}&quote={1}",[f,b]),s);break;case"vk":S(r("https://vk.com/share.php?url={0}&title={1}",[f,a([b,p])]),s);break;case"tw":S(r("https://twitter.com/intent/tweet?url={0}&text={1}",[f,a([b,p])]),s);break;case"tg":S(r("https://t.me/share/url?url={0}&text={1}",[f,a([b,p])]),s);break;case"pk":S(r("https://getpocket.com/edit?url={0}&title={1}",[f,a([b,p])]),s);break;case"re":S(r("https://reddit.com/submit?url={0}&title={1}",[f,b]),s);break;case"ev":S(r("https://www.evernote.com/clip.action?url={0}&t={1}",[f,b]),s);break;case"in":S(r("https://www.linkedin.com/shareArticle?mini=true&url={0}&title={1}&summary={2}&source={0}",[f,b,a([b,p])]),s);break;case"pi":S(r("https://pinterest.com/pin/create/button/?url={0}&media={0}&description={1}",[f,a([b,p])]),s);break;case"sk":S(r("https://web.skype.com/share?url={0}&source=button&text={1}",[f,a([b,p])]),s);break;case"wa":S(r("https://wa.me/?text={0}%20{1}",[a([b,p]),f]),s);break;case"ok":S(r("https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&service=odnoklassniki&st.shareUrl={0}",[f]),s);break;case"tu":S(r("https://www.tumblr.com/widgets/share/tool?posttype=link&title={0}&caption={0}&content={1}&canonicalUrl={1}&shareSource=tumblr_share_button",[a([b,p]),f]),s);break;case"hn":S(r("https://news.ycombinator.com/submitlink?t={0}&u={1}",[a([b,p]),f]),s);break;case"xi":S(r("https://www.xing.com/app/user?op=share;url={0};title={1}",[f,a([b,p])]),s);break;case"mail":0<b.length&&0<p.length&&(v=a([b,p])),0<f.length&&(v=v+" / "+f),e.location.href=r("mailto:?subject={0}&body={1}",[b,v]);break;case"print":e.print();break;case o:e.navigator.clipboard.writeText(d(f));break;case c:var m={title:v=d(a([b,p])),text:v,url:d(f)};e.navigator.share(m).then((function(){})).catch((function(e){n(l+"Error")}))}},S=function(a,n){var i=void 0!==e.screenLeft?e.screenLeft:screen.left,o=void 0!==e.screenTop?e.screenTop:screen.top,c=e.innerWidth||t.documentElement.clientWidth||screen.width,l=e.innerHe
1ight||t.documentElement.clientHeight||screen.height;null!==(i=e.open(a,"",r("resizable,toolbar=yes,location=yes,scrollbars=yes,menubar=yes,width={0},height={1},top={2},left={3}",[600,400,l/3-400/3+o,c/2-300+i])))&&i.focus&&i.focus()}};return r.i(),{update:function(){r.i()}}}()}},e=>{var t;t=700,e(e.s=t)}]);

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.