PageSourceSearch

https://www.vrijemeradar.hr/chunk-U42JRVIE.js

js vrijemeradar.hr collected 2026-09-25 08:08:08 UTC 5,134 bytes, 1 lines download raw bytes

1import{a as R}from"./chunk-TKKOARBG.js";import{a as z}from"./chunk-ACCH62CJ.js";import{d as N}from"./chunk-7P36FLOZ.js";import{d as y}from"./chunk-T264YQ2D.js";import{a as B}from"./chunk-PPP7Q7OG.js";import{$b as p,B as _,Ca as u,Gb as w,Ic as I,Lc as P,Nc as T,_b as h,d as v,ec as f,fc as g,ga as C,gc as m,hc as k,ib as x,ja as c,la as r,ld as D,pc as M,ra as S,rd as V,sa as b,sb as d,sd as a,uc as O,wc as l}from"./chunk-GU52UVA3.js";var A=(()=>{let e=class e{constructor(){this.win=r(B),this.notificationVisible$=new v}shareViaSupportedAPI(t){if(!this.checkIfNativeSharingIsSupported()&&this.checkIfClipboardIsSupported()&&(t.url!=null||t.text!=null)){let i=[];return t.text&&i.push(t.text),t.url&&i.push(t.url),this.win.navigator.clipboard.writeText(i.join(" ")),this.notificationVisible$.next(!0),this.notificationWillHide&&this.notificationWillHide.unsubscribe(),this.notificationWillHide=_(3e3).subscribe(()=>{this.notificationVisible$.next(!1)}),!0}else if(this.checkIfNativeSharingIsSupported())return this.win.navigator.share(t),!0;return!1}checkIfClipboardIsSupported(){return this.win.navigator.clipboard!=null}checkIfNativeSharingIsSupported(){return this.win.navigator.share!=null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let n=e;return n})();
1var H=new c("copy-to-clipboard-text");var L=new c("wo-ui-kit-sharing-config");function U(n,e){if(n&1){let s=M();g(0,"div",4),O("click",function(i){S(s);let o=l(2);return b(o.onClick(i))}),m()}}function F(n,e){if(n&1&&k(0,"a",3),n&2){let s=l(2);f("href",s.directShareUrl(),x)}}function G(n,e){if(n&1&&(h(0,U,1,0,"div",2),h(1,F,1,1,"a",3)),n&2){let s=l();p(s.shareViaLink()?-1:0),d(),p(s.shareViaLink()?1:-1)}}var dt=(()=>{let e=class e{constructor(){this.docAcc=r(R),this.sanitizer=r(y),this.sharingConfig=r(L,{optional:!0}),this.shareButtonSvc=r(A),this.isiOS=a(!1),this.paramsToRemove=a(),this.white=a(!1),this.copiedToClipboardText=r(H),this.isSupported=u(!1),this.shareViaLink=u(!1),this.notificationVisible=N(this.shareButtonSvc.notificationVisible$,{initialValue:!1}),this.share=V(),this.data=a(),this.directShareUrl=D(()=>{let t=this.data()?.url;return t?this.sanitizer.bypassSecurityTrustUrl(new URL(t).toString()):void 0})}ngOnInit(){this.shareViaLink.set(!!this.sharingConfig?.useDirectLinkSharing()),this.isSupported.set(this.shareButtonSvc.checkIfNativeSharingIsSupported()||this.shareButtonSvc.checkIfClipboardIsSupported()&&!!this.copiedToClipboardText||this.shareViaLink())}get enrichedData(){let t=this.data()??{title:this.docAcc.title,url:this.docAcc.url};if(t.url){let i=new URL(t.url);this.paramsToRemove()?.forEach(o=>i.searchParams.delete(o)),t.url=i.toString()}return t}onClick(t){t?.preventDefault(),t?.stopPropagation();let i=this.sharingConfig?.overrideShareHandlerFactory?.();i?(i(this.enrichedData),this.share.emit()):this.shareButtonSvc.shareViaSupportedAPI(this.enrichedData)&&this.share.emit()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=w({type:e,selectors:[["wo-share-button"]],hostVars:6,hostBindings:function(i,o){i&2&&I("white",o.white())("supported",o.isSupported())("ios",o.isiOS())},inputs:{isiOS:[1,"isiOS"],paramsToRemove:[1,"paramsToRemove"],white:[1,"white"],data:[1,"data"]},outputs:{share:"share"},decls:4,vars:3,consts:[[3,"visible"],[1,"copied-notification"],[1,"share"],[1,"share",3,"href"],[1,"share",3,"click"]],template:function(i,o){i&1&&(h(0,G,2,2),g(1,"wo-fader",0)(2,"div",1),P(3),m()()),i&2&&(p(o.isSupported()?0:-1),d(),f("visible",o.notificationVisible()),d(2),T(" ",o.copiedToClipboardText," "))},dependencies:[z],styles:["[_nghost-%COMP%]:not(.supported){display:none}[_nghost-%COMP%]{position:relative}.share[_ngcontent-%COMP%]{display:block;background-image:url(assets/ic_share_blue.svg);background-repeat:no-repeat;position:relative;width:var(--size, 13.88px);height:var(--size, 16.66px);cursor:pointer}.ios[_nghost-%COMP%]   .share[_ngcontent-%COMP%]{background-image:url(assets/ic_share_ios_blue.svg)}.white[_nghost-%COMP%]   .share[_ngcontent-%COMP%]{background-image:url(assets/ic_share_white_small.svg);background-position:center}.white.ios[_nghost-%COMP%]   .share[_ngcontent-%COMP%]{background-image:url(assets/ic_share_ios_white_small.svg);background-position:center}.copied-notification[_ngcontent-%COMP%]{text-align:center;position:absolute;width:300px;left:-324px;top:50%;transform:translateY(-50%);font-size:14px;line-height:18px;border-radius:8px;padding:8px;background-color:#10658e;color:#fff}.card[_nghost-%COMP%]{--size: 40px}.card[_nghost-%COMP%]   .copied-notification[_ngcontent-%COMP%]{position:initial;text-align:left;text-indent:0;white-space:normal;opacity:.9;font-size:16px;line-height:21px;border-radius:4px;padding:16px 24px;transform:none}.card[_nghost-%COMP%]   wo-fader[_ngcontent-%COMP%]{position:absolute;top:52px;right:26px}html[data-device=desktop]   .card[_nghost-%COMP%]   wo-fader[_ngcontent-%COMP%]{right:8px}.card[data-device=desktop][_nghost-%COMP%]   wo-fader[_ngcontent-%COMP%]{right:8px}.card[_nghost-%COMP%]   wo-fader[_ngcontent-%COMP%]{z-index:1000}"]});let n=e;return n})();export{A as a,H as b,dt as c};

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.