1import{a as q,b as U,c as W,d as K,e as Q,f as X}from"./chunk-P4RRF7YC.js";import"./chunk-HACETRKJ.js";import"./chunk-P2OCWKJH.js";import{c as J}from"./chunk-XGQGZL3Z.js";import"./chunk-7PBE3EFL.js";import"./chunk-QFOJSGD2.js";import{L as H,d as z}from"./chunk-WBP5KAYP.js";import"./chunk-FGGILWB7.js";import{g as te}from"./chunk-WJY6S5BG.js";import"./chunk-RJMOAK54.js";import{k as G}from"./chunk-XFV5OMCS.js";import{Jd as E,Kd as I,Pc as F,Pd as V,Qd as j,Rd as w,Re as B,Sa as r,Ta as u,Ub as S,Ud as N,Vd as O,Wb as p,Wd as P,Xd as M,Yb as c,ad as A,eb as C,g as ee,hb as g,hc as _,ia as v,ic as h,jb as s,oa as b,pa as k,pc as m,qc as d,vb as o,wb as l,xb as f,yb as D,zb as R}from"./chunk-7UB4JRBB.js";var $=ee(te());var Y=(()=>{let e=class e{constructor(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["app-embed-layout"]],standalone:!0,features:[_],decls:1,vars:0,template:function(i,n){i&1&&f(0,"router-outlet")},dependencies:[I],encapsulation:2});let t=e;return t})();var ie=()=>["table"],re=()=>["/"],ae=()=>["chart"],oe=()=>["map"];function ne(t,e){t&1&&(o(0,"div",15),f(1,"app-resource-filters"),l())}function se(t,e){if(t&1&&(o(0,"li",8)(1,"a",16,1),p(3),m(4,"translate"),l()()),t&2){let L=S(2);r(),s("routerLink",h(5,ae)),g("aria-selected",L.isActive?!0:null),r(2),c(" ",d(4,3,"Resources.ChartView")," ")}}function le(t,e){if(t&1&&(o(0,"li",8)(1,"a",17,2),p(3),m(4,"translate"),l()()),t&2){let L=S(2);r(),s("routerLink",h(5,oe)),g("aria-selected",L.isActive?!0:null),r(2),c(" ",d(4,3,"Resources.MapView")," ")}}var y=(()=>{let e=class e{constructor(a,i,n,T){this.seoService=a,this.translate=i,this.route=n,this.datasetService=T,this.hasTabularData=!1,this.hasChart=!1,this.hasGeoData=!1}ngOnInit(){this.resourceId=this.route.snapshot.paramMap.get("resourceId");let a=this.route.snapshot.queryParamMap.get("lang");return a&&["pl","en"].indexOf(a)!==-1&&this.translate.use(a),this.datasetService.getResourceById(this.resourceId).subscribe(i=>{this.seoService.setPageTitle(i.attributes.title),i.relationships&&(this.hasGeoData=i.relationships.geo_data,this.hasChart=i.relationships.chart,this.hasTabularData=this.hasGeoData||i.relationships.tabular_data)})}};e.\u0275fac=function(i){return new(i||e)(u(B),u(O),u(E),u(G))},e.\u0275cmp=b({type:e,selectors:[["app-embedded"]],standalone:!0,features:[_],decls:24,vars:17,consts:[["tabLinkTableView","routerLinkActive"],["tabLinkChartView","routerLinkActive"],["tabLinkMapView","routerLinkActive"],[1,"embed-view"],["class","container mb-5",4,"ngIf"],[1,"container"],[1,"tabs"],["role","tablist",1,"tab-list","row","no-gutters"],["role","presentation",1,"tab-list__item","col-12","col-md-4"],["role","tab","id","tab1","routerLinkActive","tab-list__link--active",1,"tab-list__link",3,"routerLink"],["class","tab-list__item col-12 col-md-4","role","presentation",4,"ngIf"],[1,"tabs-content"],[1,"small","mt-2","ml-3"],["target","_blank",3,"routerLink"],[1,"visually-hidden"],[1,"container","mb-5"],["role","tab","id","tab2","routerLinkActive","tab-list__link--active",1,"tab-list__link",3,"routerLink"],["role","tab","id","tab3","routerLinkActive","tab-list__link--active",1,"tab-list__link",3,"routerLink"]],template:function(i,n){if(i&1&&(o(0,"div",3),C(1,ne,2,0,"div",4),o(2,"div",5)(3,"div",6)(4,"ul",7)(5,"li",8)(6,"a",9,0),p(8),m(9,"translate"),l()(),C(10,se,5,6,"li",10),D(11),C(12,le,5,6,"li",10),R(),l()(),o(13,"div",11),f(14,"router-outlet"),l(),o(15,"div",5)(16,"p",12),p(17),m(18,"translate"),o(19,"a",13),p(20," dane.gov.pl "),o(21,"span",14),p(22),m(23,"translate"),l()()()()()()),i&2){let T=S(7);r(),s("ngIf",n.hasTabularData||n.hasChart||n.hasGeoData),r(5),s("routerLink",h(15,ie)),g("aria-selected",T.isActive?!0:null),r(2),c(" ",d(9,9,"Resources.TableView")," "),r(2),s("ngIf",n.hasChart),r(2),s("ngIf",n.hasGeoData),r(5),c(" ",d(18,11,"Embed.OriginText")," "),r(2),s("routerLink",h(16,re)),r(3),c(" ",d(23,13,"SkipTo.NewWindow")," ")}},dependencies:[V,I,M,P,j,F,q],styles:[".embed-view[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{background-color:transparent}"]});let t=e;return t})();var pe=[{path:"",component:Y,children:[{path:"!resource/!:resourceId",component:y,children:[{path:"",redirectTo:"!table",pathMatch:"full"},{path:"!table",component:z}
1,{path:"!chart",component:W},{path:"!map",component:U}]}]}],Z=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=k({type:e}),e.\u0275inj=v({imports:[w.forChild(pe),w]});let t=e;return t})();var Ue=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=k({type:e}),e.\u0275inj=v({imports:[A,Z,H,K,Q,J,X,M.forChild({parser:{provide:N,useClass:$.TranslateICUParser}}),y]});let t=e;return t})();export{Ue as EmbeddedModule};
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.