????
Current Path : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/www/ |
Current File : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/www/common.94c4356b15f6d32df38a.js |
(function(){var e={"esri/views/2d/layers/features/processors/BaseProcessor":"68TM","esri/layers/support/DimensionalDefinition":"7Rj3","esri/renderers/support/pointCloud/pointSizeAlgorithmTypeUtils":"7ahC","esri/layers/support/RasterFunction":"97bx","esri/layers/graphics/sources/geojson/geojson":"9K5t","esri/views/2d/layers/BitmapTileLayerView2D":"APHm","esri/renderers/support/pointCloud/pointSizeAlgorithmJSONUtils":"AWmc","esri/core/number":"AcGV","esri/layers/support/TilemapCache":"Cobz","esri/layers/graphics/sources/support/clientSideDefaults":"DaHD","esri/renderers/support/pointCloud/StopInfo":"FPyo","esri/layers/support/lazyLayerLoader":"FayN","esri/renderers/support/pointCloud/ColorUniqueValueInfo":"Izrp","esri/layers/support/kmlUtils":"N3Jt","esri/renderers/PointCloudClassBreaksRenderer":"O0KB","esri/portal/support/jsonContext":"OECU","esri/views/2d/viewStateUtils":"OQ/g","esri/renderers/support/pointCloud/PointSizeFixedSizeAlgorithm":"R+Pf","esri/views/2d/layers/features/tileRenderers/BaseTileRenderer":"Rt18","esri/tasks/mixins/NAServiceDescription":"SA66","esri/layers/support/RasterJobHandler":"T/jF","esri/views/draw/support/input/GraphicMoverEvents":"TD84","esri/layers/support/ExportWMSImageParameters":"UDyV","esri/tasks/support/NAMessage":"VIp5","esri/portal/support/portalItemUtils":"WYOF","esri/renderers/support/heatmapUtils":"Wf0m","esri/layers/mixins/ArcGISCachedService":"WhPF","esri/layers/support/rasterDatasets/RawBlockCache":"XOvD","esri/layers/support/imageryRendererUtils":"YM6P","esri/renderers/PointCloudRenderer":"YT9w","esri/core/queryUtils":"a4MF","esri/layers/support/serviceTileInfoProperty":"ddAr","esri/layers/support/rasterDatasets/EphemeralBlockCache":"dhsc","esri/renderers/support/pointCloud/ColorModulation":"fsLf","esri/views/draw/support/GraphicMover":"i6zL","esri/layers/graphics/sources/support/sourceUtils":"jJpZ","esri/geometry/support/meshUtils/deduplicate":"jmRc","esri/renderers/support/pointCloud/PointSizeSplatAlgorithm":"lbhO","esri/tasks/support/DirectionsFeatureSet":"mEoI","esri/renderers/PointCloudUniqueValueRenderer":"mkxQ","esri/layers/support/rasterFunctions/rasterProjectionHelper":"mnow","esri/renderers/support/pointCloud/PointSizeAlgorithm":"mu/x","esri/renderers/PointCloudStretchRenderer":"qasq","esri/renderers/support/pointCloud/ColorClassBreakInfo":"sYb8","esri/views/2d/engine/vectorTiles/TileIndex":"soIt","esri/geometry/geometryEngineJSON":"tNTp","esri/portal/support/portalLayers":"uLAD","esri/views/2d/layers/support/ExportStrategy":"wke2","esri/layers/support/wmsUtils":"xii5","esri/layers/support/Tilemap":"xojL"},t=this||window,n=t.webpackJsonp=t.webpackJsonp||[];n.registerAbsMids?n.registerAbsMids(e):(n.absMidsWaiting=n.absMidsWaiting||[]).push(e)})(),(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"/Zi8":function(e,t,n){"use strict";n.d(t,"a",(function(){return V}));var r=n("8Y7J"),i=n("ZRHQ"),a=n("datT"),o=n("yjSr"),l=n("DXmP"),u=n("PFrz"),s=n("60A/"),c=n("iInd"),p=n("zRkk"),d=n("uatq"),f=n("SVse"),h=n("MQgg"),m=n("qgWd"),y=n("2rrJ"),v=n("bJXm"),g=n("OnBd"),b=n("d6E4"),_=n("ZFy/"),w=n("1O3W"),x=n("7KAL"),S=n("SCoL"),T=n("YEUz"),M=n("9gLZ"),O=n("aG1b"),C=n("p0Gw"),L=n("cUpR"),P=n("HF9T"),I=r["\u0275crt"]({encapsulation:0,styles:[[".group-news-header[_ngcontent-%COMP%]{display:flex;justify-content:space-around}.group-news[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center}.group-news[_ngcontent-%COMP%] .content-news[_ngcontent-%COMP%]{flex:0 1 300px}.group-news[_ngcontent-%COMP%] .content-news[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{width:100%;height:180px}.group-news[_ngcontent-%COMP%] .content-news[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.view-more[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:center}.wrap-pic-w[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%}.card[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.card__title[_ngcontent-%COMP%]{color:#333;display:block;display:-webkit-box;max-width:100%;height:70px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;line-height:1.5;height:height;margin:0 auto 10px;text-align:justify;font-size:15px;font-size:24px;font-weight:500;text-align:left}.card__title[_ngcontent-%COMP%]:hover{color:#03a9f4}.card__content[_ngcontent-%COMP%]{color:#565656}.card__content--field[_ngcontent-%COMP%]{margin-bottom:10px;font-size:15px;line-height:1.5}.card__content--local[_ngcontent-%COMP%]{display:block;display:-webkit-box;max-width:100%;height:42px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;line-height:1.5;height:height;margin:0 auto 10px;text-align:justify;font-size:15px}"]],data:{}});function k(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-box-number",[],null,null,null,i.b,i.a)),r["\u0275did"](1,114688,null,0,a.a,[],{count:[0,"count"],title:[1,"title"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.statistics[0].value,n.statistics[0].name)}),null)}function j(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-box-number",[],null,null,null,i.b,i.a)),r["\u0275did"](1,114688,null,0,a.a,[],{count:[0,"count"],title:[1,"title"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.statistics[1].value,n.statistics[1].name)}),null)}function N(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-skeletons",[],null,null,null,o.b,o.a)),r["\u0275did"](1,114688,null,0,l.a,[],null,null)],(function(e,t){e(t,1,0)}),null)}function A(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","alert alert-warning mt-4 container"],["role","alert"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,[" Kh\xf4ng t\xecm th\u1ea5y k\u1ebft qu\u1ea3 ph\xf9 h\u1ee3p! "]))],null,null)}function R(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-post-item",[["url","diem-dau-tu"]],null,null,null,u.b,u.a)),r["\u0275did"](1,114688,null,0,s.a,[c.m],{data:[0,"data"],url:[1,"url"]},null)],(function(e,t){e(t,1,0,t.component.diemDauTus,"diem-dau-tu")}),null)}function D(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-grid-view",[["url","diem-dau-tu"]],null,null,null,p.b,p.a)),r["\u0275did"](1,114688,null,0,d.a,[c.m,c.a,f.DecimalPipe],{url:[0,"url"],data:[1,"data"]},null)],(function(e,t){e(t,1,0,"diem-dau-tu",t.component.diemDauTus)}),null)}function E(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,R)),r["\u0275did"](1,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,D)),r["\u0275did"](3,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](0,null,null,0))],(function(e,t){var n=t.component;e(t,1,0,n.modeView===n.Mode.Square),e(t,3,0,n.modeView===n.Mode.Table)}),null)}function z(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,A)),r["\u0275did"](1,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r["\u0275and"](0,[["result",2]],null,0,null,E))],(function(e,t){e(t,1,0,!t.component.diemDauTus.length,r["\u0275nov"](t,2))}),null)}function F(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,18,"div",[["class","container"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,2,"div",[["class","col-sm-12 col-lg-6"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,k)),r["\u0275did"](4,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275eld"](5,0,null,null,2,"div",[["class","col-sm-12 col-lg-6"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,j)),r["\u0275did"](7,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275eld"](8,0,null,null,8,"div",[["class","d-flex justify-content-end mt-3"]],null,null,null,null,null)),(e()(),r["\u0275eld"](9,0,null,null,1,"app-search-bar",[["class","w-100"],["diaBan","DDT"]],null,null,null,h.b,h.a)),r["\u0275did"](10,114688,null,0,m.a,[y.a,c.m,f.ViewportScroller,v.a,g.a,c.a,b.a],{diaBan:[0,"diaBan"]},null),(e()(),r["\u0275eld"](11,16777216,null,null,2,"button",[["class","btn btn-outline-dark mat-tooltip-trigger"],["matTooltip","Ch\u1ebf \u0111\u1ed9 xem d\u1ea1ng danh s\xe1ch"],["style","margin-right: 3px;"],["type","button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==(i.modeView=i.Mode.Table)&&r),r}),null,null)),r["\u0275did"](12,4341760,null,0,_.d,[w.c,r.ElementRef,x.c,r.ViewContainerRef,r.NgZone,S.a,T.c,T.h,_.b,[2,M.b],[2,_.a]],{message:[0,"message"]},null),(e()(),r["\u0275eld"](13,0,null,null,0,"i",[["class","fas fa-bars"]],null,null,null,null,null)),(e()(),r["\u0275eld"](14,16777216,null,null,2,"button",[["class","btn btn-outline-dark mat-tooltip-trigger"],["matTooltip","Ch\u1ebf \u0111\u1ed9 xem d\u1ea1ng l\u01b0\u1edbi"],["type","button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==(i.modeView=i.Mode.Square)&&r),r}),null,null)),r["\u0275did"](15,4341760,null,0,_.d,[w.c,r.ElementRef,x.c,r.ViewContainerRef,r.NgZone,S.a,T.c,T.h,_.b,[2,M.b],[2,_.a]],{message:[0,"message"]},null),(e()(),r["\u0275eld"](16,0,null,null,0,"i",[["class","fas fa-th"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,N)),r["\u0275did"](18,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r["\u0275and"](0,[["list",2]],null,0,null,z))],(function(e,t){var n=t.component;e(t,4,0,null==n.statistics?null:n.statistics.length),e(t,7,0,null==n.statistics?null:n.statistics.length),e(t,10,0,"DDT"),e(t,12,0,"Ch\u1ebf \u0111\u1ed9 xem d\u1ea1ng danh s\xe1ch"),e(t,15,0,"Ch\u1ebf \u0111\u1ed9 xem d\u1ea1ng l\u01b0\u1edbi"),e(t,18,0,!n.diemDauTus,r["\u0275nov"](t,19))}),null)}function G(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-diem-dau-tu",[],null,null,null,F,I)),r["\u0275did"](1,114688,null,0,O.a,[C.a,L.h,P.a,y.a,f.ViewportScroller,c.a],null,null)],(function(e,t){e(t,1,0)}),null)}var V=r["\u0275ccf"]("app-diem-dau-tu",O.a,G,{},{},[])},"132j":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l}));var r=n("8Y7J"),i=(n("WzhS"),n("SVse")),a=r["\u0275crt"]({encapsulation:0,styles:['.loader[_ngcontent-%COMP%]{background:#eff1f6 no-repeat;border-radius:4px;box-sizing:border-box;display:inline-block;height:20px;margin-bottom:10px;overflow:hidden;position:relative;width:100%;will-change:transform}.loader[_ngcontent-%COMP%]:after, .loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.loader.circle[_ngcontent-%COMP%]{border-radius:50%;height:40px;margin:5px;width:40px}.loader.progress[_ngcontent-%COMP%], .loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.loader.progress-dark[_ngcontent-%COMP%]:after, .loader.progress-dark[_ngcontent-%COMP%]:before, .loader.progress[_ngcontent-%COMP%]:after, .loader.progress[_ngcontent-%COMP%]:before{box-sizing:border-box}.loader.progress-dark[_ngcontent-%COMP%]:before, .loader.progress[_ngcontent-%COMP%]:before{-webkit-animation:progress 2s ease-in-out infinite;animation:progress 2s ease-in-out infinite;background-size:200px 100%;content:"";height:100%;left:0;position:absolute;top:0;width:200px;z-index:1}.loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.6),hsla(0,0%,100%,0))}.loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.loader.pulse[_ngcontent-%COMP%]{-webkit-animation:pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;-webkit-animation-delay:.5s;animation:pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}@media (prefers-reduced-motion:reduce){.loader.progress[_ngcontent-%COMP%], .loader.progress-dark[_ngcontent-%COMP%], .loader.pulse[_ngcontent-%COMP%]{-webkit-animation:none;animation:none}.loader.progress[_ngcontent-%COMP%], .loader.progress-dark[_ngcontent-%COMP%]{background-image:none}}@-webkit-keyframes progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],data:{}});function o(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,3,"span",[["aria-busy","true"],["aria-valuemax","100"],["aria-valuemin","0"],["class","loader"],["role","progressbar"],["tabindex","0"]],[[1,"aria-label",0],[1,"aria-valuetext",0]],null,null,null,null)),r["\u0275did"](1,278528,null,0,i.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](2,{circle:0,progress:1,"progress-dark":2,pulse:3}),r["\u0275did"](3,278528,null,0,i.NgStyle,[r.ElementRef,r.KeyValueDiffers,r.Renderer2],{ngStyle:[0,"ngStyle"]},null)],(function(e,t){var n=t.component,r=e(t,2,0,"circle"===n.appearance,"progress"===n.animation,"progress-dark"===n.animation,"pulse"===n.animation);e(t,1,0,"loader",r),e(t,3,0,n.theme)}),(function(e,t){var n=t.component;e(t,0,0,n.ariaLabel,n.loadingText)}))}function l(e){return r["\u0275vid"](2,[(e()(),r["\u0275and"](16777216,null,null,1,null,o)),r["\u0275did"](1,278528,null,0,i.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,1,0,t.component.items)}),null)}},"1xFi":function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("0J3i"),n("ma1f"),n("Qwus"),n("xuSL"),n("3k9p"),n("2Kdy")],void 0===(i=(function(e,t,n,r,i,a,o,l){function u(e,t){return void 0===e&&(e=null),n.__awaiter(this,void 0,void 0,(function(){var l;return n.__generator(this,(function(n){switch(n.label){case 0:if(r.geometryServiceUrl)return[2,new o({url:r.geometryServiceUrl})];if(!e)throw new i("internal:geometry-service-url-not-configured");return[4,(l="portal"in e?e.portal||a.getDefault():e).load({signal:t})];case 1:if(n.sent(),l.helperServices&&l.helperServices.geometry&&l.helperServices.geometry.url)return[2,new o({url:l.helperServices.geometry.url})];throw new i("internal:geometry-service-url-not-configured")}}))}))}Object.defineProperty(t,"__esModule",{value:!0}),t.create=u,t.projectGeometry=function(e,t,r,a){return void 0===r&&(r=null),n.__awaiter(this,void 0,void 0,(function(){var o,s,c;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,u(r,a)];case 1:return o=n.sent(),(s=new l).geometries=[e],s.outSpatialReference=t,[4,o.project(s,{signal:a})];case 2:if((c=n.sent())&&Array.isArray(c)&&1===c.length)return[2,c[0]];throw new i("internal:geometry-service-projection-failed")}}))}))}}).apply(null,r))||(e.exports=i)},"26x8":function(e,t,n){"use strict";n.r(t),n.d(t,"KhuCongNghiepModuleNgFactory",(function(){return le}));var r=n("8Y7J"),i=n("GHUg"),a=n("9cE2"),o=n("007U"),l=n("ntJQ"),u=n("nmIE"),s=n("pMnS"),c=n("Wk/b"),p=n("TIwP"),d=n("AVq5"),f=n("SVse"),h=n("1O3W"),m=n("9gLZ"),y=n("iELJ"),v=n("9b/N"),g=n("UhP/"),b=n("rJgo"),_=n("ZTz/"),w=n("ZFy/"),x=n("hzfI"),S=n("TN/R"),T=n("uFzR"),M=n("SCoL"),O=n("s7LF"),C=n("Lnru"),L=n("w9WL"),P=n("vrAh"),I=n("YEUz"),k=n("Dxy4"),j=n("1z/I"),N=n("7KAL"),A=n("Q2Ze"),R=n("Tj54"),D=n("8sFK"),E=n("e6WT"),z=n("BSbQ"),F=n("SqCe"),G=n("pu8Q"),V=n("q7Ft"),U=n("jMqV"),B=n("zHaW"),q=n("M9ds"),J=n("l0rg"),W=n("PDjf"),K=n("BTe0"),H=n("q59W"),Z=n("pMoy"),Y=n("+pSP"),Q=n("zQhy"),X=n("5dmV"),$=n("iInd"),ee=n("rZ1c"),te=n("WzhS"),ne=n("miJQ"),re=n("bxSN"),ie=n("9jaw"),ae=n("sbtd"),oe=n("MUlb"),le=r["\u0275cmf"](i.a,[],(function(e){return r["\u0275mod"]([r["\u0275mpd"](512,r.ComponentFactoryResolver,r["\u0275CodegenComponentFactoryResolver"],[[8,[a.a,o.a,o.b,l.a,u.b,u.a,s.a,c.d,p.a,d.a]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["\u0275mpd"](4608,f.NgLocalization,f.NgLocaleLocalization,[r.LOCALE_ID]),r["\u0275mpd"](4608,h.c,h.c,[h.j,h.e,r.ComponentFactoryResolver,h.i,h.f,r.Injector,r.NgZone,f.DOCUMENT,m.b,f.Location,h.h]),r["\u0275mpd"](5120,h.k,h.l,[h.c]),r["\u0275mpd"](5120,y.c,y.d,[h.c]),r["\u0275mpd"](135680,y.e,y.e,[h.c,r.Injector,[2,f.Location],[2,y.b],y.c,[3,y.e],h.e]),r["\u0275mpd"](4608,v.c,v.c,[]),r["\u0275mpd"](4608,g.b,g.b,[]),r["\u0275mpd"](5120,b.c,b.j,[h.c]),r["\u0275mpd"](5120,_.b,_.c,[h.c]),r["\u0275mpd"](5120,w.b,w.c,[h.c]),r["\u0275mpd"](5120,x.g,x.a,[[3,x.g]]),r["\u0275mpd"](4608,S.o,S.o,[]),r["\u0275mpd"](5120,S.a,S.b,[h.c]),r["\u0275mpd"](4608,g.a,T.b,[[2,g.e],M.a]),r["\u0275mpd"](4608,O.x,O.x,[]),r["\u0275mpd"](4608,C.Db,C.Db,[r.ApplicationRef,r.ComponentFactoryResolver,r.Injector]),r["\u0275mpd"](4608,C.ub,C.ub,[C.Db]),r["\u0275mpd"](4608,L.w,L.w,[f.DOCUMENT]),r["\u0275mpd"](4608,L.p,L.p,[]),r["\u0275mpd"](4608,L.a,L.a,[]),r["\u0275mpd"](5120,P.a,P.b,[h.c]),r["\u0275mpd"](1073742336,f.CommonModule,f.CommonModule,[]),r["\u0275mpd"](1073742336,m.a,m.a,[]),r["\u0275mpd"](1073742336,g.k,g.k,[I.j,[2,g.c],[2,f.DOCUMENT]]),r["\u0275mpd"](1073742336,M.b,M.b,[]),r["\u0275mpd"](1073742336,g.u,g.u,[]),r["\u0275mpd"](1073742336,k.c,k.c,[]),r["\u0275mpd"](1073742336,j.g,j.g,[]),r["\u0275mpd"](1073742336,N.b,N.b,[]),r["\u0275mpd"](1073742336,N.d,N.d,[]),r["\u0275mpd"](1073742336,h.g,h.g,[]),r["\u0275mpd"](1073742336,y.k,y.k,[]),r["\u0275mpd"](1073742336,v.d,v.d,[]),r["\u0275mpd"](1073742336,A.f,A.f,[]),r["\u0275mpd"](1073742336,R.c,R.c,[]),r["\u0275mpd"](1073742336,D.c,D.c,[]),r["\u0275mpd"](1073742336,E.c,E.c,[]),r["\u0275mpd"](1073742336,g.l,g.l,[]),r["\u0275mpd"](1073742336,g.s,g.s,[]),r["\u0275mpd"](1073742336,z.a,z.a,[]),r["\u0275mpd"](1073742336,F.e,F.e,[]),r["\u0275mpd"](1073742336,b.i,b.i,[]),r["\u0275mpd"](1073742336,b.f,b.f,[]),r["\u0275mpd"](1073742336,G.c,G.c,[]),r["\u0275mpd"](1073742336,V.a,V.a,[]),r["\u0275mpd"](1073742336,g.p,g.p,[]),r["\u0275mpd"](1073742336,_.e,_.e,[]),r["\u0275mpd"](1073742336,U.b,U.b,[]),r["\u0275mpd"](1073742336,U.a,U.a,[]),r["\u0275mpd"](1073742336,B.e,B.e,[]),r["\u0275mpd"](1073742336,I.a,I.a,[I.j]),r["\u0275mpd"](1073742336,q.l,q.l,[]),r["\u0275mpd"](1073742336,J.a,J.a,[]),r["\u0275mpd"](1073742336,w.e,w.e,[]),r["\u0275mpd"](1073742336,W.e,W.e,[]),r["\u0275mpd"](1073742336,K.c,K.c,[]),r["\u0275mpd"](1073742336,H.e,H.e,[]),r["\u0275mpd"](1073742336,x.h,x.h,[]),r["\u0275mpd"](1073742336,S.p,S.p,[]),r["\u0275mpd"](1073742336,g.w,g.w,[]),r["\u0275mpd"](1073742336,g.m,g.m,[]),r["\u0275mpd"](1073742336,Z.e,Z.e,[]),r["\u0275mpd"](1073742336,Z.d,Z.d,[]),r["\u0275mpd"](1073742336,Y.a,Y.a,[]),r["\u0275mpd"](1073742336,Q.e,Q.e,[]),r["\u0275mpd"](1073742336,X.a,X.a,[]),r["\u0275mpd"](1073742336,$.q,$.q,[[2,$.v],[2,$.m]]),r["\u0275mpd"](1073742336,ee.a,ee.a,[]),r["\u0275mpd"](1073742336,te.c,te.c,[]),r["\u0275mpd"](1073742336,O.w,O.w,[]),r["\u0275mpd"](1073742336,O.h,O.h,[]),r["\u0275mpd"](1073742336,C.i,C.i,[]),r["\u0275mpd"](1073742336,C.tb,C.tb,[]),r["\u0275mpd"](1073742336,C.B,C.B,[]),r["\u0275mpd"](1073742336,C.d,C.d,[]),r["\u0275mpd"](1073742336,C.k,C.k,[]),r["\u0275mpd"](1073742336,C.x,C.x,[]),r["\u0275mpd"](1073742336,C.P,C.P,[]),r["\u0275mpd"](1073742336,C.T,C.T,[]),r["\u0275mpd"](1073742336,C.cb,C.cb,[]),r["\u0275mpd"](1073742336,C.ib,C.ib,[]),r["\u0275mpd"](1073742336,C.Z,C.Z,[]),r["\u0275mpd"](1073742336,C.yb,C.yb,[]),r["\u0275mpd"](1073742336,C.J,C.J,[]),r["\u0275mpd"](1073742336,C.X,C.X,[]),r["\u0275mpd"](1073742336,ne.b,ne.b,[]),r["\u0275mpd"](1073742336,L.s,L.s,[]),r["\u0275mpd"](1073742336,P.c,P.c,[]),r["\u0275mpd"](1073742336,re.ClickOutsideModule,re.ClickOutsideModule,[]),r["\u0275mpd"](1073742336,ie.a,ie.a,[]),r["\u0275mpd"](1073742336,i.a,i.a,[]),r["\u0275mpd"](256,g.d,X.b,[]),r["\u0275mpd"](1024,$.k,(function(){return[[{path:"",component:ae.a},{path:":id",component:oe.a}]]}),[])])}))},"40+f":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n("ReuC"),n("foSv"),n("Ji7U"),n("LK+K"),n("KQm4");var r=n("1OyB"),i=n("vuIU");n("8Y7J"),n("UhP/"),n("8LU1");var a=Object(i.a)((function e(){Object(r.a)(this,e)}))},"68TM":function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("7MDj"),n("Vx27")],i=(function(e,t,n,r,i){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.initialize=function(){},t.prototype.destroy=function(){},Object.defineProperty(t.prototype,"supportsTileUpdates",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spatialReference",{get:function(){var e=this.get("tileStore.tileScheme.spatialReference");return e&&e.toJSON()||null},enumerable:!0,configurable:!0}),n.__decorate([i.property({readOnly:!0})],t.prototype,"supportsTileUpdates",null),n.__decorate([i.property({constructOnly:!0})],t.prototype,"remoteClient",void 0),n.__decorate([i.property({constructOnly:!0})],t.prototype,"service",void 0),n.__decorate([i.property({dependsOn:["tileStore.tileScheme.spatialReference"]})],t.prototype,"spatialReference",null),n.__decorate([i.property({constructOnly:!0})],t.prototype,"tileInfo",void 0),n.__decorate([i.property({constructOnly:!0})],t.prototype,"tileStore",void 0),n.__decorate([i.subclass("esri.views.2d.layers.features.processors.BaseProcessor")],t)}(r.HandleOwner);t.default=a}).apply(null,r),void 0===i||(e.exports=i)},"6hwa":function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("zp6E"),n("ma1f"),n("qMld"),n("FayN"),n("Qwus"),n("OECU"),n("PhdM")],void 0===(i=(function(e,t,n,r,i,a,o,l,u,s){function c(e,t){return n.__awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,c;return n.__generator(this,(function(n){switch(n.label){case 0:return a=(i=(r=e.instance).portalItem).url,o=i.title,l=u.createForItem(i),"group"===r.type?(r.read({title:o},l),[2,p(r,e)]):(a&&r.read({url:a},l),[4,f(e,t)]);case 1:return(c=n.sent())&&r.read(c,l),r.resourceReferences={portalItem:i,paths:l.readResourcePaths},r.read({title:o},l),[2,s.loadStyleRenderer(r,l)]}}))}))}function p(e,t){var n,l,u=e.portalItem.type;switch(u){case"Feature Service":case"Feature Collection":n=o.layerLookupMap.FeatureLayer;break;case"Stream Service":n=o.layerLookupMap.StreamLayer;break;case"Scene Service":n=o.layerLookupMap.SceneLayer;break;default:throw new i("portal:unsupported-item-type-as-group","The item type '"+u+"' is not supported as a 'GroupLayer'")}return n().then((function(e){return l=e,f(t)})).then((function(t){return t&&Array.isArray(t.layers)?d(e,l,t):function(e,t){return e.portalItem.url?r(e.portalItem.url,{responseType:"json",query:{f:"json"}}).then((function(n){var r=n.data;if(r&&Array.isArray(r.layers)){var i=r.layers.map((function(e){return{id:e.id,name:e.name}}));return d(e,t,{layers:i})}})):a.resolve()}(e,l)}))}function d(e,t,n){var r=n.showLegend,i=n.layers.slice();i.reverse(),i.forEach((function(n){var i=new t({portalItem:e.portalItem,layerId:n.id,sublayerTitleMode:"service-name"});if("Feature Collection"===e.portalItem.type){var a={origin:"portal-item",portal:e.portalItem.portal||l.getDefault()};i.read(n,a),null!=r&&i.read({showLegend:r},a)}e.add(i)}))}function f(e,t){if(!1===e.supportsData)return a.resolve();var n=e.instance;return n.portalItem.fetchData("json",t).catch((function(){return null})).then((function(e){var t,r=e;if(function(e){return"stream"!==e.type&&"layerId"in e}(n)){var i=!0;if(e&&Array.isArray(r.layers)){null==n.layerId&&(n.layerId=r.layers[0].id);for(var a=0;a<r.layers.length;a++)if(r.layers[a].id===n.layerId){t=r.layers[a];break}t&&(1===r.layers.length&&(i=!1),null!=e.showLegend&&(t.showLegend=e.showLegend))}return i&&"service-name"!==n.sublayerTitleMode&&(n.sublayerTitleMode="item-title-and-service-name"),t}return e}))}Object.defineProperty(t,"__esModule",{value:!0}),t.load=function(e,t){return n.__awaiter(this,void 0,void 0,(function(){var r;return n.__generator(this,(function(n){switch(n.label){case 0:return(r=e.instance.portalItem)&&r.id?[4,r.load(t)]:[2,a.resolve()];case 1:return n.sent(),function(e){var t=e.instance.portalItem;if(-1===e.supportedTypes.indexOf(t.type))throw new i("portal:invalid-layer-item-type","Invalid layer item type '${type}', expected '${expectedType}'",{type:t.type,expectedType:e.supportedTypes.join(", ")})}(e),[2,c(e,t)]}}))}))}}).apply(null,r))||(e.exports=i)},"6s1K":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("zOht"),i=n("AytR"),a=n("Wm+i"),o=n("8Y7J"),l=n("IheW"),u=function(e){function t(t){return e.call(this,{entity:"bai-viet",apiUrl:i.a.apiUrl},t)||this}return Object(r.__extends)(t,e),t.prototype.getBaiViet=function(e){var t=e.condition?e.condition:"$eq";return this.http.get(i.a.apiUrl+(e.maChuyenMuc?"/bai-viet?filter=chuyenMuc.maChuyenMuc||"+t+"||"+e.maChuyenMuc+(e.skip?"&skip="+e.skip:"")+"&sort=ngayTao%2CDESC&join=chuyenMuc&limit="+e.count:"/bai-viet?filter=chuyenMuc.maChuyenMuc||"+t+"||"+e.maChuyenMuc+"&sort=ngayTao%2CDESC&join=chuyenMuc&limit="+e.count))},t.prototype.getDetailbaiViet=function(e){return this.http.get(i.a.apiUrl+"/bai-viet?filter=maBaiViet||$eq||"+e)},t.prototype.getLastBaiViet=function(e){return this.http.get(i.a.apiUrl+"/bai-viet?filter=chuyenMuc.maChuyenMuc||$eq||"+e+" &sort=ngayTao%2CASC&join=chuyenMuc&limit=1")},t.prototype.getSlider=function(e,t){return this.http.get(i.a.apiUrl+"/hinh-anh?filter=idChuyenMuc||$eq||"+e)},t.prototype.paginateBaiViet=function(e){var t=e.skip?"&skip="+e.skip:"";return this.http.get(i.a.apiUrl+"/bai-viet?filter=chuyenMuc.maChuyenMuc||$eq||"+e.maChuyenMuc+t+"&sort=ngayTao%2CDESC&join=chuyenMuc&limit="+e.limit+t+"&page="+e.page)},t.\u0275prov=o["\u0275\u0275defineInjectable"]({factory:function(){return new t(o["\u0275\u0275inject"](l.c))},token:t,providedIn:"root"}),t}(a.a)},"7Rj3":function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("ycL1"),n("rg9i"),n("Vx27"),n("1dvD")],void 0===(i=(function(e,t,n,r,i,a,o){return function(e){function t(t){var n=e.call(this,t)||this;return n.variableName=null,n.dimensionName=null,n.values=[],n.isSlice=!1,n}var r;return n.__extends(t,e),r=t,t.prototype.clone=function(){return new r({variableName:this.variableName,dimensionName:this.dimensionName,values:i.clone(this.values),isSlice:this.isSlice})},n.__decorate([a.property({type:String,json:{write:!0}})],t.prototype,"variableName",void 0),n.__decorate([a.property({type:String,json:{write:!0}})],t.prototype,"dimensionName",void 0),n.__decorate([a.property({type:o.types.array(o.types.oneOf([o.types.native(Number),o.types.array(o.types.native(Number))])),json:{write:!0}})],t.prototype,"values",void 0),n.__decorate([a.property({type:Boolean,json:{write:!0}})],t.prototype,"isSlice",void 0),r=n.__decorate([a.subclass("esri.layers.support.DimensionalDefinition")],t)}(r.JSONSupport)}).apply(null,r))||(e.exports=i)},"7ahC":function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("mu/x"),n("R+Pf"),n("lbhO")],void 0===(i=(function(e,t,n,r,i){Object.defineProperty(t,"__esModule",{value:!0}),t.pointSizeAlgorithmTypes={key:"type",base:n.default,typeMap:{"fixed-size":r.default,splat:i.default}}}).apply(null,r))||(e.exports=i)},"8cc8":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){this.title="",this.path=""}return e.prototype.ngOnInit=function(){},e}()},"97bx":function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("ycL1"),n("rg9i"),n("ULaq"),n("Vx27")],void 0===(i=(function(e,t,n,r,i,a,o){var l,u=a.SetFromValues(["Raster","Raster2","DEM","FillRaster"]),s=a.SetFromValues(["Rasters"]),c=function(e){return e&&e.rasterFunction?d.fromJSON(e):e},p=function(e){return e&&e instanceof d?e.toJSON():e};!function(e){e[e.MOSAIC=0]="MOSAIC",e[e.GROUP=1]="GROUP",e[e.ITEM=2]="ITEM"}(l||(l={}));var d=function(e){function t(t){var n=e.call(this,t)||this;return n.functionArguments=null,n.functionName=null,n.outputPixelType="unknown",n.variableName=null,n.description=null,n.functionDefinition=null,n.thumbnail=null,n}var r;return n.__extends(t,e),r=t,t.prototype.readFunctionArguments=function(e,t){return function(e){if(null==e)return null;for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];t[i]=u.has(i)?c(e[i]):s.has(i)&&Array.isArray(e[i])?e[i].map(c):e[i]}return t}(t.arguments||t.rasterFunctionArguments)},t.prototype.writeFunctionArguments=function(e,t,n){for(var r={},i=0,a=Object.keys(e);i<a.length;i++){var o=a[i];r[o]=u.has(o)?p(e[o]):s.has(o)&&Array.isArray(e[o])?e[o].map(p):p(e[o])}this.functionDefinition?t.arguments=r:t[n]=r},t.prototype.readFunctionName=function(e,t){var n=t.rasterFunctionInfos;return t.name||(n&&n.length&&"None"!==n[0].name?n[0].name:t.rasterFunction)},t.prototype.writeFunctionName=function(e,t,n){this.functionDefinition?t.name=e:t[n]=e},t.prototype.readFunctionType=function(e){return l[e]},t.prototype.writeFunctionType=function(e,t,n){t[n]=l[e]},t.prototype.clone=function(){return new r({functionName:this.functionName,functionArguments:i.clone(this.functionArguments),outputPixelType:this.outputPixelType,variableName:this.variableName,name:this.functionName,description:this.description,functionType:this.functionType,functionDefinition:this.functionDefinition,thumbnail:this.thumbnail})},n.__decorate([o.property({json:{type:Object,write:{target:"rasterFunctionArguments"}}})],t.prototype,"functionArguments",void 0),n.__decorate([o.reader("functionArguments",["rasterFunctionArguments","arguments"])],t.prototype,"readFunctionArguments",null),n.__decorate([o.writer("functionArguments")],t.prototype,"writeFunctionArguments",null),n.__decorate([o.property({json:{type:String,write:{target:"rasterFunction"}}})],t.prototype,"functionName",void 0),n.__decorate([o.reader("functionName",["rasterFunction","rasterFunctionInfos","name"])],t.prototype,"readFunctionName",null),n.__decorate([o.writer("functionName")],t.prototype,"writeFunctionName",null),n.__decorate([o.enumeration({C128:"c128",C64:"c64",F32:"f32",F64:"f64",S16:"s16",S32:"s32",S8:"s8",U1:"u1",U16:"u16",U2:"u2",U32:"u32",U4:"u4",U8:"u8",UNKNOWN:"unknown"},{ignoreUnknown:!1}),o.property({json:{default:"unknown"}})],t.prototype,"outputPixelType",void 0),n.__decorate([o.property({type:String,json:{read:!0,write:!0}})],t.prototype,"variableName",void 0),n.__decorate([o.property({type:String,json:{read:!0,write:!0,origins:{"web-document":{read:!1,write:!1}}}})],t.prototype,"description",void 0),n.__decorate([o.property({json:{origins:{"web-document":{read:!1,write:!1}}}})],t.prototype,"functionType",void 0),n.__decorate([o.reader("functionType")],t.prototype,"readFunctionType",null),n.__decorate([o.writer("functionType")],t.prototype,"writeFunctionType",null),n.__decorate([o.property({type:Object,json:{read:{source:"function"},write:{target:"function"},origins:{"web-document":{read:!1,write:!1}}}})],t.prototype,"functionDefinition",void 0),n.__decorate([o.property({type:String,json:{read:!0,write:!0,origins:{"web-document":{read:!1,write:!1}}}})],t.prototype,"thumbnail",void 0),r=n.__decorate([o.subclass("esri.layers.support.RasterFunction")],t)}(r.JSONSupport);return d}).apply(null,r))||(e.exports=i)},"9K5t":function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("ma1f"),n("/COu"),n("Jvs9")],void 0===(i=(function(e,t,n,r,i,a){Object.defineProperty(t,"__esModule",{value:!0});var o={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function l(e){var t,r,i;return n.__generator(this,(function(n){switch(n.label){case 0:switch(e.type){case"Feature":return[3,1];case"FeatureCollection":return[3,3]}return[3,7];case 1:return[4,e];case 2:return n.sent(),[3,7];case 3:t=0,r=e.features,n.label=4;case 4:return t<r.length?(i=r[t])?[4,i]:[3,6]:[3,7];case 5:n.sent(),n.label=6;case 6:return t++,[3,4];case 7:return[2]}}))}function u(e){for(var t=0,n=0;n<e.length;n++){var r=e[n],i=e[(n+1)%e.length];t+=r[0]*i[1]-i[0]*r[1]}return t<=0}function s(e){var t=e[0],n=e[e.length-1];return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]||e.push(t),e}function c(e,t,n){var r=s(t);u(r)?d(e,r,n):f(e,r,n)}function p(e,t,n){var r=s(t);u(r)?f(e,r,n):d(e,r,n)}function d(e,t,n){for(var r=0,i=t;r<i.length;r++)h(e,i[r],n);e.lengths.push(t.length)}function f(e,t,n){for(var r=t.length-1;r>=0;r--)h(e,t[r],n);e.lengths.push(t.length)}function h(e,t,n){var r=t[2];e.coords.push(t[0],t[1]),n.hasZ&&e.coords.push(r||0)}function m(e){switch(typeof e){case"string":return"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}t.validateGeoJSON=function(e){if(!e)throw new r("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==e.type&&"FeatureCollection"!==e.type)throw new r("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:e});var t=e.crs;if(t){var n="string"==typeof t?t:"name"===t.type?t.properties.name:null,i=new RegExp(".*(CRS84H?|4326)$","i");if(!n||!i.test(n))throw new r("geojson-layer:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:t})}},t.inferLayerProperties=function(e,t){void 0===t&&(t={});for(var r=l(e),i=[],a=new Set,u=new Set,s=!1,c=Number.NEGATIVE_INFINITY,p=null,d=!1,f=void 0,h=t.geometryType,y=void 0===h?null:h,v=!1,g=function(){var e,t,l=r.next(),h=l.value;if(l.done){var g=p&&1===p.length&&p[0]||null;if(g)for(var b=0,_=i;b<_.length;b++){var w=_[b];w.name===g&&(w.type="esriFieldTypeOID")}return{value:{fields:i,geometryType:y,hasZ:s,maxObjectId:Math.max(0,c),objectIdFieldName:g,objectIdFieldType:f,unknownFields:(e=u,t=[],e.forEach((function(e){return t.push(e)})),t)}}}var x=h.geometry,S=h.properties,T=h.id;if(x&&(y||(y=o[x.type]),o[x.type]!==y))return"continue";if(!s){var M=function(e){var t,r,i,a,o,l;return n.__generator(this,(function(u){switch(u.label){case 0:if(!e)return[2,null];switch(e.type){case"Point":return[3,1];case"LineString":case"MultiPoint":return[3,3];case"MultiLineString":case"Polygon":return[3,5];case"MultiPolygon":return[3,10]}return[3,17];case 1:return[4,e.coordinates];case 2:return u.sent(),[3,17];case 3:return[5,n.__values(e.coordinates)];case 4:return u.sent(),[3,17];case 5:t=0,r=e.coordinates,u.label=6;case 6:return t<r.length?[5,n.__values(r[t])]:[3,9];case 7:u.sent(),u.label=8;case 8:return t++,[3,6];case 9:return[3,17];case 10:i=0,a=e.coordinates,u.label=11;case 11:if(!(i<a.length))return[3,16];o=0,l=a[i],u.label=12;case 12:return o<l.length?[5,n.__values(l[o])]:[3,15];case 13:u.sent(),u.label=14;case 14:return o++,[3,12];case 15:return i++,[3,11];case 16:return[3,17];case 17:return[2]}}))}(x);s=function(e){for(;;){var t=e.next();if(t.done)return!1;if(t.value.length>2)return!0}}(M)}if(d||(d=null!=T)&&"number"==(f=typeof T)&&(p=Object.keys(S).filter((function(e){return S[e]===T}))),d&&"number"===f&&null!=T&&(c=Math.max(c,T),p.length>1?p=p.filter((function(e){return S[e]===T})):1===p.length&&(p=S[p[0]]===T?p:[])),!v&&S){var O=!0;for(var C in S)if(!a.has(C)){var L=S[C];if(null!=L){var P=m(L);"unknown"!==P?(u.delete(C),a.add(C),i.push({name:C,alias:C,type:P})):u.add(C)}else O=!1,u.add(C)}v=O}};;){var b=g();if("object"==typeof b)return b.value}},t.createOptimizedFeatures=function(e,t){return function(e){for(var t=[];;){var n=e.next();if(n.done)return t;t.push(n.value)}}(function(e,t){var r,l,u,s,f,m,y,v;return void 0===t&&(t={}),n.__generator(this,(function(n){switch(n.label){case 0:r=t.geometryType,l=t.objectIdFieldName,n.label=1;case 1:return u=e.next(),s=u.value,u.done?[2]:(m=s.properties,y=s.id,(f=s.geometry)&&o[f.type]!==r?[3,1]:(v=m||{},l&&null!=y&&!v[l]&&(v[l]=y),[4,new i.default(f?function(e,t,n){switch(t.type){case"LineString":case"MultiPoint":return function(e,t,n){return d(e,t.coordinates,n),e}(e,t,n);case"MultiLineString":return function(e,t,n){for(var r=0,i=t.coordinates;r<i.length;r++)d(e,i[r],n);return e}(e,t,n);case"MultiPolygon":return function(e,t,n){for(var r=0,i=t.coordinates;r<i.length;r++){var a=i[r];c(e,a[0],n);for(var o=1;o<a.length;o++)p(e,a[o],n)}return e}(e,t,n);case"Point":return function(e,t,n){return h(e,t.coordinates,n),e}(e,t,n);case"Polygon":return function(e,t,n){var r=t.coordinates;c(e,r[0],n);for(var i=1;i<r.length;i++)p(e,r[i],n);return e}(e,t,n)}}(new a.default,f,t):null,v)]));case 2:return n.sent(),[3,1];case 3:return[2]}}))}(l(e),t))}}).apply(null,r))||(e.exports=i)},APHm:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("Vx27"),n("DvfX")],i=(function(e,t,n,r,i){Object.defineProperty(t,"__esModule",{value:!0}),t.BitmapTileLayerView2D=function(e){return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.attach=function(){this.view.timeline.record(this.layer.title+" (BitmapTileLayer) Attach"),this._bitmapView=new i.BitmapTileContainer(this._tileInfoView),this.container.addChild(this._bitmapView)},t.prototype.detach=function(){this.container.removeChild(this._bitmapView),this._bitmapView.removeAllChildren()},n.__decorate([r.subclass("esri.views.2d.layers.BitmapTileLayerView2D")],t)}(e)}}).apply(null,r),void 0===i||(e.exports=i)},AVq5:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n("8Y7J"),i=n("xjd+"),a=n("ET74"),o=n("x2hD"),l=n("+U54"),u=n("WnYY"),s=n("/Jv6"),c=n("araw"),p=n("SVse"),d=n("MUlb"),f=n("5h5A"),h=n("cUpR"),m=n("iInd"),y=n("2rrJ"),v=n("g/y6"),g=r["\u0275crt"]({encapsulation:0,styles:[[".legend-container[_ngcontent-%COMP%]{height:500px;overflow-y:auto}"]],data:{}});function b(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,35,"div",[["class","container text-justify"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,28,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,27,"div",[["class","col-md-12"]],null,null,null,null,null)),(e()(),r["\u0275eld"](3,0,null,null,1,"h2",[["class","title"]],null,null,null,null,null)),(e()(),r["\u0275ted"](4,null,[" "," "])),(e()(),r["\u0275eld"](5,0,null,null,2,"p",[["class","title-location"]],null,null,null,null,null)),(e()(),r["\u0275ted"](6,null,["Ng\xe0y th\xe0nh l\u1eadp: ",""])),r["\u0275ppd"](7,2),(e()(),r["\u0275eld"](8,0,null,null,4,"p",[["class","title-location"]],null,null,null,null,null)),(e()(),r["\u0275ted"](9,null,["N\u1eb1m \u1edf v\u1ecb tr\xed ",", v\u1edbi t\u1ed5ng di\u1ec7n t\xedch "])),(e()(),r["\u0275eld"](10,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),r["\u0275ted"](11,null,[""," (m2)"])),r["\u0275ppd"](12,1),(e()(),r["\u0275eld"](13,0,null,null,9,"p",[["class","title-location"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,[" D\u1ef1 \xe1n \u0111\u01b0\u1ee3c \u0111\u1ea7u t\u01b0 b\u1edfi "])),(e()(),r["\u0275eld"](15,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),r["\u0275ted"](16,null,[" ",""])),(e()(),r["\u0275ted"](-1,null,[", hi\u1ec7n c\xf3 "])),(e()(),r["\u0275eld"](18,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),r["\u0275ted"](19,null,[" ",""])),(e()(),r["\u0275ted"](-1,null,[" doanh nghi\u1ec7p \u0111anh ho\u1ea1t \u0111\u1ed9ng. M\u1ee9c gi\xe1 thu\xea chi ti\u1ebft "])),(e()(),r["\u0275eld"](21,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),r["\u0275ted"](22,null,["",""])),(e()(),r["\u0275eld"](23,0,null,null,2,"div",[["class","article"]],null,null,null,null,null)),(e()(),r["\u0275eld"](24,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](25,null,["D\u1ef1 \xe1n t\u1ea1o \u0111i\u1ec1u ki\u1ec7n cho c\xe1c doanh nghi\u1ec7p ph\xe1t tri\u1ec3n c\xe1c l\u0129nh v\u1ef1c, ng\xe0nh ngh\u1ec1 ",""])),(e()(),r["\u0275eld"](26,0,null,null,1,"app-pie-chart",[["class","w-100"]],null,null,null,i.b,i.a)),r["\u0275did"](27,114688,null,0,a.a,[],{data:[0,"data"]},null),(e()(),r["\u0275eld"](28,0,null,null,1,"app-table",[],null,[[null,"changePage"],[null,"selectionFilter"]],(function(e,t,n){var r=!0,i=e.component;return"changePage"===t&&(r=!1!==i.changePage(n)&&r),"selectionFilter"===t&&(r=!1!==i.selectionFilter(n)&&r),r}),o.b,o.a)),r["\u0275did"](29,638976,null,0,l.a,[u.a],{columns:[0,"columns"],rows:[1,"rows"],count:[2,"count"],show:[3,"show"]},{changePage:"changePage",selectionFilter:"selectionFilter"}),(e()(),r["\u0275eld"](30,0,null,null,5,"div",[["class","row mt-3"]],null,null,null,null,null)),(e()(),r["\u0275eld"](31,0,null,null,2,"div",[["class","col-md-9 col-xs-12"]],null,null,null,null,null)),(e()(),r["\u0275eld"](32,0,null,null,1,"app-mini-map",[],null,[[null,"loaded"]],(function(e,t,n){var r=!0;return"loaded"===t&&(r=!1!==e.component.handleMapLoaded(n)&&r),r}),s.b,s.a)),r["\u0275did"](33,114688,null,0,c.a,[u.a],{queryParams:[0,"queryParams"]},{loaded:"loaded"}),(e()(),r["\u0275eld"](34,0,null,null,1,"div",[["class","col-md-3 col-xs-12 legend-container"]],null,null,null,null,null)),(e()(),r["\u0275eld"](35,0,[[1,0],["legendEl",1]],null,0,"div",[],null,null,null,null,null))],(function(e,t){var n=t.component;e(t,27,0,n.dataChart),e(t,29,0,n.columns,n.rows,n.count,n.limit),e(t,33,0,n.getQueryParams())}),(function(e,t){var n=t.component;e(t,4,0,n.data.TenKhu);var i=r["\u0275unv"](t,6,0,e(t,7,0,r["\u0275nov"](t.parent,0),n.data.NgayThanhLap,"dd/MM/yyyy"));e(t,6,0,i),e(t,9,0,n.data.ViTri);var a=r["\u0275unv"](t,11,0,e(t,12,0,r["\u0275nov"](t.parent,1),n.data.DienTich));e(t,11,0,a),e(t,16,0,n.data.ChuDauTuHaTang),e(t,19,0,n.data.SoDNDangHD),e(t,22,0,n.data.GiaChoThueChiTiet),e(t,25,0,n.data.LinhVucNganhNgheDauTu)}))}function _(e){return r["\u0275vid"](0,[r["\u0275pid"](0,p.DatePipe,[r.LOCALE_ID]),r["\u0275pid"](0,p.DecimalPipe,[r.LOCALE_ID]),r["\u0275qud"](671088640,1,{legendEle:0}),(e()(),r["\u0275and"](16777216,null,null,1,null,b)),r["\u0275did"](4,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,4,0,t.component.data)}),null)}function w(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-chi-tiet",[],null,null,null,_,g)),r["\u0275did"](1,114688,null,0,d.a,[f.a,h.h,m.m,m.a,u.a,y.a,v.a],null,null)],(function(e,t){e(t,1,0)}),null)}var x=r["\u0275ccf"]("app-chi-tiet",d.a,w,{},{},[])},AWmc:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("V2ZO"),n("R+Pf"),n("lbhO")],void 0===(i=(function(e,t,n,r,i){Object.defineProperty(t,"__esModule",{value:!0});var a={pointCloudFixedSizeAlgorithm:r.default,pointCloudSplatAlgorithm:i.default};function o(e){return e&&a[e.type]||null}t.read=function(e,t,r){var i=o(e);if(i){var a=new i;return a.read(e,r),a}return r&&r.messages&&e&&r.messages.push(new n("pointsizealgorithm:unsupported","Point size algorithms of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:r})),null},t.fromJSON=function(e){var t=o(e);return t?t.fromJSON(e):null}}).apply(null,r))||(e.exports=i)},AcGV:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("nRUF"),n("+PwV")],void 0===(i=(function(e,t,n,r,i){Object.defineProperty(t,"__esModule",{value:!0});var a={ar:[".",","],bs:[",","."],ca:[",","."],cs:[",","\xa0"],da:[",","."],de:[",","."],"de-ch":[".","\u2019"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[",","\xa0"],fi:[",","\xa0"],fr:[",","\u202f"],"fr-ch":[",","\u202f"],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[",","\xa0"],id:[",","."],it:[",","."],"it-ch":[".","\u2019"],ja:[".",","],ko:[".",","],lt:[",","\xa0"],lv:[",","\xa0"],mk:[",","."],nb:[",","\xa0"],nl:[",","."],pl:[",","\xa0"],pt:[",","."],"pt-pt":[",","\xa0"],ro:[",","."],ru:[",","\xa0"],sk:[",","\xa0"],sl:[",","."],sr:[",","."],sv:[",","\xa0"],th:[".",","],tr:[",","."],uk:[",","\xa0"],vi:[",","."],zh:[".",","]};function o(e){e||(e=i.getLocale());var t=e in a;if(!t){var n=e.split("-");n.length>1&&n[0]in a&&(e=n[0],t=!0),t||(e="en")}var r=a[e],o=r[2];return{decimal:r[0],group:r[1],pattern:void 0===o?"#,##0.###":o}}t.getCustoms=o,t.format=function(e,t){var i=o((t=n.__assign({},t)).locale);t.customs=i;var a=t.pattern||i.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,n){var i=(n=n||{}).customs.group,a=n.customs.decimal,o=t.split(";"),u=o[0];if(-1!==(t=o[e<0?1:0]||"-"+u).indexOf("%"))e*=100;else if(-1!==t.indexOf("\u2030"))e*=1e3;else{if(-1!==t.indexOf("\xa4"))throw new Error("currency notation not supported");if(-1!==t.indexOf("E"))throw new Error("exponential notation not supported")}var s=l,c=u.match(s);if(!c)throw new Error("unable to find a number expression in pattern: "+t);return!1===n.fractional&&(n.places=0),t.replace(s,function(e,t,n){!0===(n=n||{}).places&&(n.places=0),n.places===1/0&&(n.places=6);var i=t.split("."),a="string"==typeof n.places&&n.places.indexOf(","),o=n.places;a?o=n.places.substring(a+1):o>=0||(o=(i[1]||[]).length),n.round<0||(e=Number(e.toFixed(Number(o))));var l=String(Math.abs(e)).split("."),u=l[1]||"";if(i[1]||n.places){a&&(n.places=n.places.substring(0,a));var s=void 0!==n.places?n.places:i[1]&&i[1].lastIndexOf("0")+1;s>u.length&&(l[1]=r.padEnd(u,Number(s),"0")),o<u.length&&(l[1]=u.substr(0,Number(o)))}else l[1]&&l.pop();var c=i[0].replace(",",""),p=c.indexOf("0");-1!==p&&((p=c.length-p)>l[0].length&&(l[0]=r.padStart(l[0],p,"0")),-1===c.indexOf("#")&&(l[0]=l[0].substr(l[0].length-p)));var d,f,h=i[0].lastIndexOf(",");if(-1!==h){d=i[0].length-h-1;var m=i[0].substr(0,h);-1!==(h=m.lastIndexOf(","))&&(f=m.length-h-1)}for(var y=[],v=l[0];v;){var g=v.length-d;y.push(g>0?v.substr(g):v),v=g>0?v.slice(0,g):"",f&&(d=f,f=void 0)}return l[0]=y.reverse().join(n.group||","),l.join(n.decimal||".")}(e,c[0],{decimal:a,group:i,places:n.places,round:n.round}))}(e,a,t)};var l=/[#0,]*[#0](?:\.0*#*)?/;function u(e){var t=o((e=e||{}).locale),n=e.pattern||t.pattern,i=t.group,a=t.decimal,u=1;if(-1!==n.indexOf("%"))u/=100;else if(-1!==n.indexOf("\u2030"))u/=1e3;else if(-1!==n.indexOf("\xa4"))throw new Error("currency notation not supported");var p=n.split(";");return 1===p.length&&p.push("-"+p[0]),{regexp:c(p,(function(t){return(t="(?:"+r.escapeRegExpString(t,".")+")").replace(l,(function(t){var n={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:a,exponent:!1},r=t.split("."),o=e.places;1===r.length&&1!==u&&(r[1]="###"),1===r.length||0===o?n.fractional=!1:(void 0===o&&(o=e.pattern?r[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(n.fractional=!0),!e.places&&o<r[1].length&&(o+=","+r[1].length),n.places=o);var l=r[0].split(",");return l.length>1&&(n.groupSize=l.pop().length,l.length>1&&(n.groupSize2=l.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!/^0/.test(String(e.places))||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);var t=s(e),n=c(e.fractional,(function(t){var n="";return t&&0!==e.places&&(n="\\"+e.decimal,e.places===1/0?n="(?:"+n+"\\d+)?":n+="\\d{"+e.places+"}"),n}),!0),r=c(e.exponent,(function(t){return t?"([eE]"+s({signed:e.eSigned})+")":""})),i=t+n;return n&&(i="(?:(?:"+i+")|(?:"+n+"))"),i+r}(n)+")"}))}),!0).replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:a,factor:u}}function s(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",c(e.signed,(function(e){return e?"[-+]":""}),!0)+c(e.separator,(function(t){if(!t)return"(?:\\d+)";" "===(t=r.escapeRegExpString(t))?t="\\s":"\xa0"===t&&(t="\\s\\xa0");var n=e.groupSize,i=e.groupSize2;if(i){var a="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+n+"})";return n-i>0?"(?:"+a+"|(?:0|[1-9]\\d{0,"+(n-1)+"}))":a}return"(?:0|[1-9]\\d{0,"+(n-1)+"}(?:["+t+"]\\d{"+n+"})*)"}),!0)}t.regexp=function(e){return u(e).regexp},t._parseInfo=u,t.parse=function(e,t){var n=u(t),r=new RegExp("^"+n.regexp+"$").exec(e);if(!r)return NaN;var i=r[1];if(!r[1]){if(!r[2])return NaN;i=r[2],n.factor*=-1}return i=i.replace(new RegExp("["+n.group+"\\s\\xa0]","g"),"").replace(n.decimal,"."),Number(i)*n.factor};var c=function(e,t,n){if(!(e instanceof Array))return t(e);for(var r=[],i=0;i<e.length;i++)r.push(t(e[i]));return p(r.join("|"),n)},p=function(e,t){return"("+(t?"?:":"")+e+")"}}).apply(null,r))||(e.exports=i)},Cobz:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("zp6E"),n("Gtr7"),n("ma1f"),n("eIBl"),n("qsST"),n("W6K4"),n("KBgh"),n("qMld"),n("afW+"),n("jfWY"),n("8MXS"),n("Vx27"),n("xojL")],void 0===(i=(function(e,t,n,r,i,a,o,l,u,s,c,p,d,f,h,m){Object.defineProperty(t,"__esModule",{value:!0});var y=l.getLogger("esri.layers.support.TilemapCache"),v=function(e){function t(t){var n=e.call(this,t)||this;return n._handles=new o,n._pendingTilemapRequests={},n._availableLevels={},n.levels=5,n.cacheByteSize=2097152,n.request=r,n._prefetchingEnabled=!0,n}var i;return n.__extends(t,e),i=t,t.prototype.initialize=function(){var e=this;this._tilemapCache=new u(this.cacheByteSize),this._handles.add([this.watch(["layer.parsedUrl","layer.tileServers?"],(function(){return e._initializeTilemapDefinition()})),f.init(this,"layer.tileInfo.lods",(function(t){return e._initializeAvailableLevels(t)}),!0)]),this._initializeTilemapDefinition()},t.prototype.destroy=function(){this._handles&&(this._handles.destroy(),this._handles=null)},t.prototype.castLevels=function(e){return e<=2?(y.error("Minimum levels for Tilemap is 3, but got ",e),3):e},Object.defineProperty(t.prototype,"size",{get:function(){return 1<<this.levels},enumerable:!0,configurable:!0}),t.prototype.fetchTilemap=function(e,t,r,i){var o=this;if(!this._availableLevels[e])return c.reject(new a("tilemap-cache:level-unavailable","Level "+e+" is unavailable in the service"));var l=this._tmpTilemapDefinition,u=this._tilemapFromCache(e,t,r,l);if(u)return c.resolve(u);var s=i&&i.signal;return i=n.__assign(n.__assign({},i),{signal:null}),c.create((function(e,t){c.onAbort(s,(function(){return t(c.createAbortError())}));var n=m.tilemapDefinitionId(l),r=o._pendingTilemapRequests[n];if(!r){r=m.Tilemap.fromDefinition(l,i).then((function(e){return o._tilemapCache.put(n,e,e.byteSize),e}));var a=function(){return delete o._pendingTilemapRequests[n]};o._pendingTilemapRequests[n]=r,r.then(a,a)}r.then(e,t)}))},t.prototype.getAvailability=function(e,t,n){if(!this._availableLevels[e])return"unavailable";var r=this._tilemapFromCache(e,t,n,this._tmpTilemapDefinition);return r?r.getAvailability(t,n):"unknown"},t.prototype.getAvailabilityUpsample=function(e,t,n,r){r.level=e,r.row=t,r.col=n;var i=this.layer.tileInfo;for(i.updateTileInfo(r);;){var a=this.getAvailability(r.level,r.row,r.col);if("unavailable"!==a)return a;if(!i.upsampleTile(r))return"unavailable"}},t.prototype.fetchAvailability=function(e,t,n,r){return this._availableLevels[e]?this.fetchTilemap(e,t,n,r).catch((function(e){return e})).then((function(r){if(r instanceof m.Tilemap){var i=r.getAvailability(t,n);return"unavailable"===i?c.reject(new a("tile-map:tile-unavailable","Tile is not available",{level:e,row:t,col:n})):i}if(c.isAbortError(r))throw r;return"unknown"})):c.reject(new a("tilemap-cache:level-unavailable","Level "+e+" is unavailable in the service"))},t.prototype.fetchAvailabilityUpsample=function(e,t,n,r,i){var a=this;r.level=e,r.row=t,r.col=n;var o=this.layer.tileInfo;o.updateTileInfo(r);var l=this.fetchAvailability(e,t,n,i).catch((function(e){if(c.isAbortError(e))throw e;if(o.upsampleTile(r))return a.fetchAvailabilityUpsample(r.level,r.row,r.col,r);throw e}));return this._fetchAvailabilityUpsamplePrefetch(r.id,e,t,n,i,l),l},t.prototype._fetchAvailabilityUpsamplePrefetch=function(e,t,r,a,o,l){return n.__awaiter(this,void 0,void 0,(function(){var u,s,d,f,h,m,y,v,g;return n.__generator(this,(function(b){switch(b.label){case 0:if(!this._prefetchingEnabled)return[2];if(this._handles.has(u="prefetch-"+e))return[2];s=c.createAbortController(),l.then((function(){return s.abort()}),(function(){return s.abort()})),d=!1,this._handles.add({remove:function(){d||(d=!0,s.abort())}},u),b.label=1;case 1:return b.trys.push([1,3,,4]),[4,p.waitTicks(10,s.signal)];case 2:case 3:return b.sent(),[3,4];case 4:if(d||(d=!0,this._handles.remove(u)),c.isAborted(s))return[2];for(f={id:e,level:t,row:r,col:a},h=n.__assign(n.__assign({},o),{signal:s.signal}),m=this.layer.tileInfo,y=function(e){var t=v.fetchAvailability(f.level,f.row,f.col,h);i._prefetches.push(t);var n=function(){i._prefetches.removeUnordered(t)};t.then(n,n)},v=this,g=0;i._prefetches.length<i._maxPrefetch&&m.upsampleTile(f);++g)y();return[2]}}))}))},t.prototype._initializeTilemapDefinition=function(){if(this.layer.parsedUrl){var e=this.layer.parsedUrl,t=e.query;this._tilemapCache.clear(),this._tmpTilemapDefinition={service:{url:e.path,query:t?d.objectToQuery(t):null,tileServers:this.layer.tileServers,request:this.request,type:this.layer.type},width:this.size,height:this.size,level:0,row:0,col:0}}},t.prototype._tilemapFromCache=function(e,t,n,r){r.level=e,r.row=t-t%this.size,r.col=n-n%this.size;var i=m.tilemapDefinitionId(r);return this._tilemapCache.get(i)},t.prototype._initializeAvailableLevels=function(e){var t=this;this._availableLevels={},e&&e.forEach((function(e){return t._availableLevels[e.level]=!0}))},Object.defineProperty(t.prototype,"test",{get:function(){var e=this;return{get prefetchingEnabled(){return e._prefetchingEnabled},set prefetchingEnabled(t){e._prefetchingEnabled=t},hasTilemap:function(t,n,r){return!!e._tilemapFromCache(t,n,r,e._tmpTilemapDefinition)}}},enumerable:!0,configurable:!0}),t._maxPrefetch=4,t._prefetches=new s({initialSize:i._maxPrefetch}),n.__decorate([h.property({constructOnly:!0,type:Number})],t.prototype,"levels",void 0),n.__decorate([h.cast("levels")],t.prototype,"castLevels",null),n.__decorate([h.property({readOnly:!0,dependsOn:["levels"],type:Number})],t.prototype,"size",null),n.__decorate([h.property({constructOnly:!0,type:Number})],t.prototype,"cacheByteSize",void 0),n.__decorate([h.property({constructOnly:!0})],t.prototype,"layer",void 0),n.__decorate([h.property({constructOnly:!0})],t.prototype,"request",void 0),i=n.__decorate([h.subclass("esri.layers.support.TilemapCache")],t)}(i);t.TilemapCache=v}).apply(null,r))||(e.exports=i)},DaHD:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("H1tY"),n("rg9i"),n("35hF")],void 0===(i=(function(e,t,n,r,i,a){Object.defineProperty(t,"__esModule",{value:!0}),t.createDrawingInfo=function(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?a.defaultPointSymbolJSON:"esriGeometryPolyline"===e?a.defaultPolylineSymbolJSON:a.defaultPolygonSymbolJSON}}},t.createDefaultAttributesFunction=function(e,t){if(r("csp-restrictions"))return function(){var r;return n.__assign(((r={})[t]=null,r),e)};try{var i="this."+t+" = null;";for(var a in e)i+="this."+a+" = "+JSON.stringify(e[a])+";";var o=new Function(i);return function(){return new o}}catch(r){return function(){var r;return n.__assign(((r={})[t]=null,r),e)}}},t.createDefaultTemplate=function(e){return void 0===e&&(e={}),[{name:"New Feature",description:"",prototype:{attributes:i.clone(e)}}]}}).apply(null,r))||(e.exports=i)},Di3z:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return function(){}}()},FPyo:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("QDcU"),n("ycL1"),n("rg9i"),n("Vx27"),n("1dvD")],i=(function(e,t,n,r,i,a,o,l){Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.label=null,t.value=0,t.color=null,t}var i;return n.__extends(t,e),i=t,t.prototype.clone=function(){return new i({label:this.label,value:this.value,color:a.clone(this.color)})},n.__decorate([o.property({type:String,json:{write:!0}})],t.prototype,"label",void 0),n.__decorate([o.property({type:Number,nonNullable:!0,json:{write:!0}})],t.prototype,"value",void 0),n.__decorate([o.property({type:r,json:{type:[l.Integer],write:!0}})],t.prototype,"color",void 0),i=n.__decorate([o.subclass("esri.renderers.support.pointCloud.StopInfo")],t)}(i.JSONSupport);t.StopInfo=u,t.default=u}).apply(null,r),void 0===i||(e.exports=i)},FayN:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("2Kdy")],void 0===(i=(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.layerLookupMap={BingMapsLayer:function(){return new Promise((function(e,t){n.e(95).then((function(){var t=[n("V7mb")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},BuildingSceneLayer:function(){return new Promise((function(e,t){Promise.all([n.e(23),n.e(45)]).then((function(){var t=[n("gRqF")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},CSVLayer:function(){return new Promise((function(e,t){n.e(83).then((function(){var t=[n("zwOT")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},ElevationLayer:function(){return new Promise((function(e,t){Promise.all([n.e(0),n.e(32)]).then((function(){var t=[n("GAgw")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},FeatureLayer:function(){return new Promise((function(e,t){Promise.resolve().then((function(){var t=[n("Zvuv")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},GroupLayer:function(){return new Promise((function(e,t){n.e(36).then((function(){var t=[n("lAGb")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},GeoRSSLayer:function(){return new Promise((function(e,t){n.e(114).then((function(){var t=[n("Hpgp")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},ImageryLayer:function(){return new Promise((function(e,t){Promise.all([n.e(3),n.e(20),n.e(0),n.e(66)]).then((function(){var t=[n("G5N4")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},ImageryTileLayer:function(){return new Promise((function(e,t){Promise.all([n.e(3),n.e(20),n.e(0),n.e(49)]).then((function(){var t=[n("EhmR")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},IntegratedMeshLayer:function(){return new Promise((function(e,t){Promise.all([n.e(15),n.e(23),n.e(84)]).then((function(){var t=[n("wehw")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},KMLLayer:function(){return new Promise((function(e,t){Promise.all([n.e(0),n.e(96)]).then((function(){var t=[n("hPxN")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},MapImageLayer:function(){return new Promise((function(e,t){Promise.resolve().then((function(){var t=[n("d+WR")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},MapNotesLayer:function(){return new Promise((function(e,t){n.e(115).then((function(){var t=[n("2OQv")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},OpenStreetMapLayer:function(){return new Promise((function(e,t){n.e(116).then((function(){var t=[n("793k")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},PointCloudLayer:function(){return new Promise((function(e,t){Promise.all([n.e(0),n.e(51)]).then((function(){var t=[n("wvIq")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},RouteLayer:function(){return new Promise((function(e,t){n.e(117).then((function(){var t=[n("BdvN")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},SceneLayer:function(){return new Promise((function(e,t){Promise.all([n.e(23),n.e(85)]).then((function(){var t=[n("yf9t")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},StreamLayer:function(){return new Promise((function(e,t){n.e(97).then((function(){var t=[n("QiYT")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},TileLayer:function(){return new Promise((function(e,t){Promise.all([n.e(0),n.e(118)]).then((function(){var t=[n("WiXY")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},UnknownLayer:function(){return new Promise((function(e,t){n.e(119).then((function(){var t=[n("N1SI")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},UnsupportedLayer:function(){return new Promise((function(e,t){n.e(120).then((function(){var t=[n("9ZiH")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},VectorTileLayer:function(){return new Promise((function(e,t){Promise.all([n.e(30),n.e(0),n.e(67)]).then((function(){var t=[n("UW67")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},WebTileLayer:function(){return new Promise((function(e,t){Promise.resolve().then((function(){var t=[n("a2fw")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},WMSLayer:function(){return new Promise((function(e,t){Promise.all([n.e(0),n.e(98)]).then((function(){var t=[n("dWJG")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))},WMTSLayer:function(){return new Promise((function(e,t){n.e(75).then((function(){var t=[n("AgRT")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))}}}).apply(null,r))||(e.exports=i)},GCz5:function(e,t,n){"use strict";n.r(t),n.d(t,"DiemDauTuModuleNgFactory",(function(){return le}));var r=n("8Y7J"),i=n("gBp5"),a=n("9cE2"),o=n("007U"),l=n("ntJQ"),u=n("nmIE"),s=n("pMnS"),c=n("Wk/b"),p=n("/Zi8"),d=n("oS9z"),f=n("SVse"),h=n("1O3W"),m=n("9gLZ"),y=n("iELJ"),v=n("9b/N"),g=n("UhP/"),b=n("rJgo"),_=n("ZTz/"),w=n("ZFy/"),x=n("hzfI"),S=n("TN/R"),T=n("uFzR"),M=n("SCoL"),O=n("s7LF"),C=n("Lnru"),L=n("w9WL"),P=n("vrAh"),I=n("YEUz"),k=n("Dxy4"),j=n("1z/I"),N=n("7KAL"),A=n("Q2Ze"),R=n("Tj54"),D=n("8sFK"),E=n("e6WT"),z=n("BSbQ"),F=n("SqCe"),G=n("pu8Q"),V=n("q7Ft"),U=n("jMqV"),B=n("zHaW"),q=n("M9ds"),J=n("l0rg"),W=n("PDjf"),K=n("BTe0"),H=n("q59W"),Z=n("pMoy"),Y=n("+pSP"),Q=n("zQhy"),X=n("5dmV"),$=n("iInd"),ee=n("rZ1c"),te=n("WzhS"),ne=n("miJQ"),re=n("bxSN"),ie=n("9jaw"),ae=n("aG1b"),oe=n("YKPo"),le=r["\u0275cmf"](i.a,[],(function(e){return r["\u0275mod"]([r["\u0275mpd"](512,r.ComponentFactoryResolver,r["\u0275CodegenComponentFactoryResolver"],[[8,[a.a,o.a,o.b,l.a,u.b,u.a,s.a,c.d,p.a,d.a]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["\u0275mpd"](4608,f.NgLocalization,f.NgLocaleLocalization,[r.LOCALE_ID]),r["\u0275mpd"](4608,h.c,h.c,[h.j,h.e,r.ComponentFactoryResolver,h.i,h.f,r.Injector,r.NgZone,f.DOCUMENT,m.b,f.Location,h.h]),r["\u0275mpd"](5120,h.k,h.l,[h.c]),r["\u0275mpd"](5120,y.c,y.d,[h.c]),r["\u0275mpd"](135680,y.e,y.e,[h.c,r.Injector,[2,f.Location],[2,y.b],y.c,[3,y.e],h.e]),r["\u0275mpd"](4608,v.c,v.c,[]),r["\u0275mpd"](4608,g.b,g.b,[]),r["\u0275mpd"](5120,b.c,b.j,[h.c]),r["\u0275mpd"](5120,_.b,_.c,[h.c]),r["\u0275mpd"](5120,w.b,w.c,[h.c]),r["\u0275mpd"](5120,x.g,x.a,[[3,x.g]]),r["\u0275mpd"](4608,S.o,S.o,[]),r["\u0275mpd"](5120,S.a,S.b,[h.c]),r["\u0275mpd"](4608,g.a,T.b,[[2,g.e],M.a]),r["\u0275mpd"](4608,O.x,O.x,[]),r["\u0275mpd"](4608,C.Db,C.Db,[r.ApplicationRef,r.ComponentFactoryResolver,r.Injector]),r["\u0275mpd"](4608,C.ub,C.ub,[C.Db]),r["\u0275mpd"](4608,L.w,L.w,[f.DOCUMENT]),r["\u0275mpd"](4608,L.p,L.p,[]),r["\u0275mpd"](4608,L.a,L.a,[]),r["\u0275mpd"](5120,P.a,P.b,[h.c]),r["\u0275mpd"](1073742336,f.CommonModule,f.CommonModule,[]),r["\u0275mpd"](1073742336,m.a,m.a,[]),r["\u0275mpd"](1073742336,g.k,g.k,[I.j,[2,g.c],[2,f.DOCUMENT]]),r["\u0275mpd"](1073742336,M.b,M.b,[]),r["\u0275mpd"](1073742336,g.u,g.u,[]),r["\u0275mpd"](1073742336,k.c,k.c,[]),r["\u0275mpd"](1073742336,j.g,j.g,[]),r["\u0275mpd"](1073742336,N.b,N.b,[]),r["\u0275mpd"](1073742336,N.d,N.d,[]),r["\u0275mpd"](1073742336,h.g,h.g,[]),r["\u0275mpd"](1073742336,y.k,y.k,[]),r["\u0275mpd"](1073742336,v.d,v.d,[]),r["\u0275mpd"](1073742336,A.f,A.f,[]),r["\u0275mpd"](1073742336,R.c,R.c,[]),r["\u0275mpd"](1073742336,D.c,D.c,[]),r["\u0275mpd"](1073742336,E.c,E.c,[]),r["\u0275mpd"](1073742336,g.l,g.l,[]),r["\u0275mpd"](1073742336,g.s,g.s,[]),r["\u0275mpd"](1073742336,z.a,z.a,[]),r["\u0275mpd"](1073742336,F.e,F.e,[]),r["\u0275mpd"](1073742336,b.i,b.i,[]),r["\u0275mpd"](1073742336,b.f,b.f,[]),r["\u0275mpd"](1073742336,G.c,G.c,[]),r["\u0275mpd"](1073742336,V.a,V.a,[]),r["\u0275mpd"](1073742336,g.p,g.p,[]),r["\u0275mpd"](1073742336,_.e,_.e,[]),r["\u0275mpd"](1073742336,U.b,U.b,[]),r["\u0275mpd"](1073742336,U.a,U.a,[]),r["\u0275mpd"](1073742336,B.e,B.e,[]),r["\u0275mpd"](1073742336,I.a,I.a,[I.j]),r["\u0275mpd"](1073742336,q.l,q.l,[]),r["\u0275mpd"](1073742336,J.a,J.a,[]),r["\u0275mpd"](1073742336,w.e,w.e,[]),r["\u0275mpd"](1073742336,W.e,W.e,[]),r["\u0275mpd"](1073742336,K.c,K.c,[]),r["\u0275mpd"](1073742336,H.e,H.e,[]),r["\u0275mpd"](1073742336,x.h,x.h,[]),r["\u0275mpd"](1073742336,S.p,S.p,[]),r["\u0275mpd"](1073742336,g.w,g.w,[]),r["\u0275mpd"](1073742336,g.m,g.m,[]),r["\u0275mpd"](1073742336,Z.e,Z.e,[]),r["\u0275mpd"](1073742336,Z.d,Z.d,[]),r["\u0275mpd"](1073742336,Y.a,Y.a,[]),r["\u0275mpd"](1073742336,Q.e,Q.e,[]),r["\u0275mpd"](1073742336,X.a,X.a,[]),r["\u0275mpd"](1073742336,$.q,$.q,[[2,$.v],[2,$.m]]),r["\u0275mpd"](1073742336,ee.a,ee.a,[]),r["\u0275mpd"](1073742336,te.c,te.c,[]),r["\u0275mpd"](1073742336,O.w,O.w,[]),r["\u0275mpd"](1073742336,O.h,O.h,[]),r["\u0275mpd"](1073742336,C.i,C.i,[]),r["\u0275mpd"](1073742336,C.tb,C.tb,[]),r["\u0275mpd"](1073742336,C.B,C.B,[]),r["\u0275mpd"](1073742336,C.d,C.d,[]),r["\u0275mpd"](1073742336,C.k,C.k,[]),r["\u0275mpd"](1073742336,C.x,C.x,[]),r["\u0275mpd"](1073742336,C.P,C.P,[]),r["\u0275mpd"](1073742336,C.T,C.T,[]),r["\u0275mpd"](1073742336,C.cb,C.cb,[]),r["\u0275mpd"](1073742336,C.ib,C.ib,[]),r["\u0275mpd"](1073742336,C.Z,C.Z,[]),r["\u0275mpd"](1073742336,C.yb,C.yb,[]),r["\u0275mpd"](1073742336,C.J,C.J,[]),r["\u0275mpd"](1073742336,C.X,C.X,[]),r["\u0275mpd"](1073742336,ne.b,ne.b,[]),r["\u0275mpd"](1073742336,L.s,L.s,[]),r["\u0275mpd"](1073742336,P.c,P.c,[]),r["\u0275mpd"](1073742336,re.ClickOutsideModule,re.ClickOutsideModule,[]),r["\u0275mpd"](1073742336,ie.a,ie.a,[]),r["\u0275mpd"](1073742336,i.a,i.a,[]),r["\u0275mpd"](256,g.d,X.b,[]),r["\u0275mpd"](1024,$.k,(function(){return[[{path:"",component:ae.a},{path:":id",component:oe.a}]]}),[])])}))},GHUg:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return function(){}}()},Izrp:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("QDcU"),n("ycL1"),n("rg9i"),n("Vx27"),n("1dvD")],i=(function(e,t,n,r,i,a,o,l){Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.description=null,t.label=null,t.values=null,t.color=null,t}var i;return n.__extends(t,e),i=t,t.prototype.clone=function(){return new i({description:this.description,label:this.label,values:a.clone(this.values),color:a.clone(this.color)})},n.__decorate([o.property({type:String,json:{write:!0}})],t.prototype,"description",void 0),n.__decorate([o.property({type:String,json:{write:!0}})],t.prototype,"label",void 0),n.__decorate([o.property({type:[String],json:{write:!0}})],t.prototype,"values",void 0),n.__decorate([o.property({type:r,json:{type:[l.Integer],write:!0}})],t.prototype,"color",void 0),i=n.__decorate([o.subclass("esri.renderers.support.pointCloud.ColorUniqueValueInfo")],t)}(i.JSONSupport);t.ColorUniqueValueInfo=u,t.default=u}).apply(null,r),void 0===i||(e.exports=i)},N3Jt:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("0J3i"),n("ifLZ"),n("zp6E"),n("rg9i"),n("Z4y+"),n("WRgd"),n("hBh5"),n("hz/Y"),n("w1v0")],void 0===(i=(function(e,t,n,r,i,a,o,l,u,s,c,p){Object.defineProperty(t,"__esModule",{value:!0});var d={esriGeometryPoint:"points",esriGeometryPolyline:"polylines",esriGeometryPolygon:"polygons"};function f(e,t,n){n.forEach((function(n){e.set(n.attributes[t],n)}))}function h(e){for(var t=u.create(),n=u.create(u.NEGATIVE_INFINITY),r=0,i=e;r<i.length;r++){var a=i[r];if(a.polygons&&a.polygons.featureSet&&a.polygons.featureSet.features)for(var o=0,c=a.polygons.featureSet.features;o<c.length;o++){var p=c[o];s.getBoundsXYZ(t,p.geometry),u.expand(n,t,n)}if(a.polylines&&a.polylines.featureSet&&a.polylines.featureSet.features)for(var d=0,f=a.polylines.featureSet.features;d<f.length;d++)s.getBoundsXYZ(t,(p=f[d]).geometry),u.expand(n,t,n);if(a.points&&a.points.featureSet&&a.points.featureSet.features)for(var h=0,m=a.points.featureSet.features;h<m.length;h++)s.getBoundsXYZ(t,(p=m[h]).geometry),u.expand(n,t,n);if(a.mapImages)for(var y=0,v=a.mapImages;y<v.length;y++)s.getBoundsXYZ(t,(p=v[y]).extent),u.expand(n,t,n)}return u.equals(n,u.NEGATIVE_INFINITY)?null:{xmin:n[0],ymin:n[1],zmin:n[2],xmax:n[3],ymax:n[4],zmax:n[5],spatialReference:l.WGS84}}t.parseKML=function(e){var t=e.folders||[],n=t.slice(),r=new Map,i=new Map,a=new Map,l=new Map,u=new Map,s={esriGeometryPoint:i,esriGeometryPolyline:a,esriGeometryPolygon:l};(e.featureCollection&&e.featureCollection.layers||[]).forEach((function(e){var t=o.clone(e);t.featureSet.features=[];var n=e.featureSet.geometryType;r.set(n,t);var u=e.layerDefinition.objectIdField;"esriGeometryPoint"===n?f(i,u,e.featureSet.features):"esriGeometryPolyline"===n?f(a,u,e.featureSet.features):"esriGeometryPolygon"===n&&f(l,u,e.featureSet.features)})),e.groundOverlays&&e.groundOverlays.forEach((function(e){u.set(e.id,e)})),t.forEach((function(t){t.networkLinkIds.forEach((function(r){var i=function(e,t,n){var r=function(e,t){var n;return t.some((function(t){return t.id===e&&(n=t,!0)})),n}(e,n);return r&&(r.parentFolderId=t,r.networkLink=r),r}(r,t.id,e.networkLinks);i&&n.push(i)}))})),n.forEach((function(e){e.featureInfos&&(e.points=o.clone(r.get("esriGeometryPoint")),e.polylines=o.clone(r.get("esriGeometryPolyline")),e.polygons=o.clone(r.get("esriGeometryPolygon")),e.mapImages=[],e.featureInfos.map((function(t){switch(t.type){case"esriGeometryPoint":case"esriGeometryPolyline":case"esriGeometryPolygon":var n=s[t.type].get(t.id);n&&e[d[t.type]].featureSet.features.push(n);break;case"GroundOverlay":var r=u.get(t.id);r&&e.mapImages.push(r)}})),e.fullExtent=h([e]))}));var c=h(n);return{folders:t,sublayers:n,extent:c}},t.fetchService=function(e,t,n,i){return a(r.kmlServiceUrl,{query:{url:e,model:"simple",folders:"",refresh:0!==n||void 0,outSR:JSON.stringify(t)},responseType:"json",signal:i})},t.sublayersFromJSON=function(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=[]);var i=[],a={},o=t.sublayers,l=t.folders.map((function(e){return e.id}));return o.forEach((function(t){var o=new e;if(n?o.read(t,n):o.read(t),r.length&&l.indexOf(o.id)>-1&&(o.visible=-1!==r.indexOf(o.id)),a[t.id]=o,null!=t.parentFolderId&&-1!==t.parentFolderId){var u=a[t.parentFolderId];u.sublayers||(u.sublayers=[]),u.sublayers.unshift(o)}else i.unshift(o)})),i},t.getGraphics=function(e){return n.__awaiter(this,void 0,void 0,(function(){var t,r,a,o,l,u,s,d,f;return n.__generator(this,(function(n){switch(n.label){case 0:t=p.fromJSON(e.featureSet),r=t.features,a=c.fromJSON(e.layerDefinition.drawingInfo.renderer),o=i.fromJSON(e.popupInfo),l=[],u=0,s=r,n.label=1;case 1:return u<s.length?[4,a.getSymbolAsync(d=s[u])]:[3,4];case 2:f=n.sent(),d.symbol=f,d.popupTemplate=o,d.visible=!!d.attributes.visibility,l.push(d),n.label=3;case 3:return u++,[3,1];case 4:return[2,l]}}))}))},t.computeExtent=h}).apply(null,r))||(e.exports=i)},O0KB:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("rg9i"),n("Vx27"),n("YT9w"),n("sHoj"),n("sYb8")],void 0===(i=(function(e,t,n,r,i,a,o,l){return function(e){function t(t){var n=e.call(this,t)||this;return n.type="point-cloud-class-breaks",n.field=null,n.legendOptions=null,n.fieldTransformType=null,n.colorClassBreakInfos=null,n}var u;return n.__extends(t,e),u=t,t.prototype.clone=function(){return new u(n.__assign(n.__assign({},this.cloneProperties()),{field:this.field,fieldTransformType:this.fieldTransformType,colorClassBreakInfos:r.clone(this.colorClassBreakInfos),legendOptions:r.clone(this.legendOptions)}))},n.__decorate([i.enumeration({pointCloudClassBreaksRenderer:"point-cloud-class-breaks"})],t.prototype,"type",void 0),n.__decorate([i.property({json:{write:!0},type:String})],t.prototype,"field",void 0),n.__decorate([i.property({type:o.default,json:{write:!0}})],t.prototype,"legendOptions",void 0),n.__decorate([i.property({type:a.fieldTransformTypeKebabDict.apiValues,json:{type:a.fieldTransformTypeKebabDict.jsonValues,read:a.fieldTransformTypeKebabDict.read,write:a.fieldTransformTypeKebabDict.write}})],t.prototype,"fieldTransformType",void 0),n.__decorate([i.property({type:[l.default],json:{write:!0}})],t.prototype,"colorClassBreakInfos",void 0),u=n.__decorate([i.subclass("esri.renderers.PointCloudClassBreaksRenderer")],t)}(a)}).apply(null,r))||(e.exports=i)},OECU:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("jfWY"),n("Qwus")],void 0===(i=(function(e,t,n,r){Object.defineProperty(t,"__esModule",{value:!0}),t.createForItem=function(e){return{origin:"portal-item",url:n.urlToObject(e.itemUrl),portal:e.portal||r.getDefault(),portalItem:e,readResourcePaths:[]}}}).apply(null,r))||(e.exports=i)},"OQ/g":function(e,t,n){var r,i;r=[n.dj.c(e.i),t],void 0===(i=(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Math.PI/180;t.snapToPixel=function(e,t,n){var r=n.resolution,i=n.size;return e[0]=r*(Math.round(t[0]/r)+i[0]%2*.5),e[1]=r*(Math.round(t[1]/r)+i[1]%2*.5),e},t.getOuterSize=function(e,t){var r=t.rotation*n,i=Math.abs(Math.cos(r)),a=Math.abs(Math.sin(r)),o=t.size,l=o[0],u=o[1];return e[0]=Math.round(u*a+l*i),e[1]=Math.round(u*i+l*a),e},t.getBBox=function(e,t,n,r){var i=t[0],a=t[1],o=r[0],l=r[1],u=.5*n;return e[0]=i-u*o,e[1]=a-u*l,e[2]=i+u*o,e[3]=a+u*l,e},t.bboxIntersects=function(e,t){return!(e[0]>t[2]||e[2]<t[0]||e[1]>t[3]||e[3]<t[1])}}).apply(null,r))||(e.exports=i)},PYa0:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("zOht"),i=n("Wm+i"),a=n("AytR"),o=n("8Y7J"),l=n("IheW"),u=function(e){function t(t){return e.call(this,{entity:"don-vi-tinh",apiUrl:a.a.apiUrl},t)||this}return Object(r.__extends)(t,e),t.\u0275prov=o["\u0275\u0275defineInjectable"]({factory:function(){return new t(o["\u0275\u0275inject"](l.c))},token:t,providedIn:"root"}),t}(i.a)},"R+Pf":function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("Vx27"),n("mu/x")],i=(function(e,t,n,r,i){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="fixed-size",t.size=0,t.useRealWorldSymbolSizes=null,t}var i;return n.__extends(t,e),i=t,t.prototype.clone=function(){return new i({size:this.size,useRealWorldSymbolSizes:this.useRealWorldSymbolSizes})},n.__decorate([r.enumeration({pointCloudFixedSizeAlgorithm:"fixed-size"})],t.prototype,"type",void 0),n.__decorate([r.property({type:Number,nonNullable:!0,json:{write:!0}})],t.prototype,"size",void 0),n.__decorate([r.property({type:Boolean,json:{write:!0}})],t.prototype,"useRealWorldSymbolSizes",void 0),i=n.__decorate([r.subclass("esri.renderers.support.pointCloud.PointSizeFixedSizeAlgorithm")],t)}(i.default);t.PointSizeFixedSizeAlgorithm=a,t.default=a}).apply(null,r),void 0===i||(e.exports=i)},RDRC:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("y4WC"),n("H1tY"),n("qMld"),n("FayN"),n("QmTF"),n("pOAQ"),n("uLAD"),n("PhdM")],void 0===(i=(function(e,t,n,r,i,a,o,l,u,s,c){Object.defineProperty(t,"__esModule",{value:!0});var p=i("esri-debug-messages"),d={ArcGISFeatureLayer:"FeatureLayer",ArcGISImageServiceLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",PointCloudLayer:"PointCloudLayer",ArcGISSceneServiceLayer:"SceneLayer",IntegratedMeshLayer:"IntegratedMeshLayer",BuildingSceneLayer:"BuildingSceneLayer",ArcGISTiledElevationServiceLayer:"ElevationLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",GroupLayer:"GroupLayer",WebTiledLayer:"WebTileLayer",CSV:"CSVLayer",VectorTileLayer:"VectorTileLayer",WMS:"WMSLayer",DefaultTileLayer:"TileLayer",KML:"KMLLayer",RasterDataLayer:"UnsupportedLayer"},f={ArcGISTiledElevationServiceLayer:"ElevationLayer",DefaultTileLayer:"ElevationLayer",RasterDataElevationLayer:"UnsupportedLayer"},h={ArcGISTiledMapServiceLayer:"TileLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",OpenStreetMap:"OpenStreetMapLayer",WebTiledLayer:"WebTileLayer",VectorTileLayer:"VectorTileLayer",ArcGISImageServiceLayer:"UnsupportedLayer",WMS:"UnsupportedLayer",ArcGISMapServiceLayer:"UnsupportedLayer",DefaultTileLayer:"TileLayer"},m={ArcGISFeatureLayer:"FeatureLayer",ArcGISImageServiceLayer:"ImageryLayer",ArcGISImageServiceVectorLayer:"UnsupportedLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISStreamLayer:"StreamLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",VectorTileLayer:"VectorTileLayer",GroupLayer:"GroupLayer",WebTiledLayer:"WebTileLayer",CSV:"CSVLayer",GeoRSS:"GeoRSSLayer",KML:"KMLLayer",WFS:"UnsupportedLayer",SubtypeGroupLayer:"UnsupportedLayer",WMS:"WMSLayer",BingMapsAerial:"BingMapsLayer",BingMapsRoad:"BingMapsLayer",BingMapsHybrid:"BingMapsLayer",DefaultTileLayer:"TileLayer"},y={ArcGISImageServiceLayer:"ImageryLayer",ArcGISImageServiceVectorLayer:"UnsupportedLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",OpenStreetMap:"OpenStreetMapLayer",VectorTileLayer:"VectorTileLayer",WebTiledLayer:"WebTileLayer",BingMapsAerial:"BingMapsLayer",BingMapsRoad:"BingMapsLayer",BingMapsHybrid:"BingMapsLayer",WMS:"WMSLayer",DefaultTileLayer:"TileLayer"};function v(e,t,r){return n.__awaiter(this,void 0,void 0,(function(){var i;return n.__generator(this,(function(n){switch(n.label){case 0:return(i=new e).read(t,r.context),"group"===i.type&&_(t)?[4,S(i,t,r.context)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[4,c.loadStyleRenderer(i,r.context)];case 3:return n.sent(),[2,i]}}))}))}function g(e,t){return n.__awaiter(this,void 0,void 0,(function(){return n.__generator(this,(function(n){switch(n.label){case 0:return[4,b(e,t)];case 1:return[2,v(n.sent(),e,t)]}}))}))}function b(e,t){return n.__awaiter(this,void 0,void 0,(function(){var r,i,a,c,p,v,g,b;return n.__generator(this,(function(n){switch(n.label){case 0:return i=function(e){var t;if("web-scene"===e.origin)switch(e.layerContainerType){case"basemap":t=h;break;case"ground":t=f;break;default:t=d}else t="basemap"===e.layerContainerType?y:m;return t}(r=t.context),!(a=e.layerType||e.type)&&t&&t.defaultLayerType&&(a=t.defaultLayerType),p=(c=i[a])?o.layerLookupMap[c]:o.layerLookupMap.UnknownLayer,v=r&&r.portal,w(e)?e.itemId?[4,(g=new l({id:e.itemId,portal:v})).load()]:[3,3]:[3,4];case 1:return n.sent(),[4,s.selectLayerClassPath(g)];case 2:b=n.sent(),p=o.layerLookupMap[b.className||"UnknownLayer"],n.label=3;case 3:return[3,8];case 4:return"ArcGISFeatureLayer"!==a?[3,8]:[4,u.isMapNotesLayer(e,v)];case 5:return n.sent()?(p=o.layerLookupMap.MapNotesLayer,[3,8]):[3,6];case 6:return[4,u.isRouteLayer(e,v)];case 7:n.sent()?p=o.layerLookupMap.RouteLayer:_(e)&&(p=o.layerLookupMap.GroupLayer),n.label=8;case 8:return e.wmtsInfo&&e.wmtsInfo.url&&e.wmtsInfo.layerIdentifier&&(p=o.layerLookupMap.WMTSLayer),[2,p()]}}))}))}function _(e){if("ArcGISFeatureLayer"!==e.layerType||w(e))return!1;var t=e.featureCollection;return!!(t&&t.layers&&t.layers.length>1)}function w(e){return"Feature Collection"===e.type}function x(e,t,i){return n.__awaiter(this,void 0,void 0,(function(){var a,o,l;return n.__generator(this,(function(n){switch(n.label){case 0:return a=new r,o=T(a,Array.isArray(t.layers)?t.layers:[],i),[4,e];case 1:return l=n.sent(),[4,o];case 2:return n.sent(),"group"===l.type?(l.layers.addMany(a),[2,l]):[2,void 0]}}))}))}function S(e,t,r){return n.__awaiter(this,void 0,void 0,(function(){var i,a,l,u;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,(0,o.layerLookupMap.FeatureLayer)()];case 1:return i=n.sent(),l=(a=t.featureCollection).showLegend,u=a.layers.map((function(e){var t=new i;return t.read(e,r),null!=l&&t.read({showLegend:l},r),t})),e.layers.addMany(u),[2]}}))}))}function T(e,t,r){return n.__awaiter(this,void 0,void 0,(function(){var i,o,l,u,s,c,d,f,h;return n.__generator(this,(function(n){switch(n.label){case 0:if(!t)return[2];for(i=[],o=0,l=t;o<l.length;o++)s=g(u=l[o],r),i.push("GroupLayer"===u.layerType?x(s,u,r):s);return[4,a.eachAlways(i)];case 1:for(c=n.sent(),d=0,f=c;d<f.length;d++)h=f[d],p&&h.error?console.error(h.error.toString?h.error.toString():h.error):!h.value||r.filter&&!r.filter(h.value)||e.add(h.value);return[2]}}))}))}t.createLayer=g,t.populateOperationalLayers=function(e,t,r){return n.__awaiter(this,void 0,void 0,(function(){return n.__generator(this,(function(n){return[2,T(e,t,r)]}))}))}}).apply(null,r))||(e.exports=i)},Rt18:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("7MDj"),n("Vx27")],void 0===(i=(function(e,t,n,r,i){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(t){var n=e.call(this,t)||this;return n.tiles=new Map,n}return n.__extends(t,e),t.prototype.destroy=function(){this.tiles.clear(),this.layer=this.layerView=this.tileInfoView=this.tiles=null},Object.defineProperty(t.prototype,"updating",{get:function(){return this.isUpdating()},enumerable:!0,configurable:!0}),t.prototype.acquireTile=function(e){var t=this,n=this.createTile(e);return n.once("isReady",(function(){return t.notifyChange("updating")})),this.tiles.set(e.id,n),n},t.prototype.lockAttributeTextureUpload=function(){},t.prototype.unlockAttributeTextureUpload=function(){},t.prototype.forceAttributeTextureUpload=function(){},t.prototype.forEachTile=function(e){this.tiles.forEach(e)},t.prototype.releaseTile=function(e){this.tiles.delete(e.key.id),this.disposeTile(e)},t.prototype.isUpdating=function(){var e=!0;return this.tiles.forEach((function(t){e=e&&t.isReady})),!e},t.prototype.setHighlight=function(){},t.prototype.invalidateLabels=function(){},t.prototype.requestUpdate=function(){this.layerView.requestUpdate()},n.__decorate([i.property()],t.prototype,"layer",void 0),n.__decorate([i.property()],t.prototype,"layerView",void 0),n.__decorate([i.property()],t.prototype,"tileInfoView",void 0),n.__decorate([i.property()],t.prototype,"updating",null),n.__decorate([i.subclass("esri.views.2d.layers.features.tileRenderers.BaseTileRenderer")],t)}(r.HandleOwner);t.default=a}).apply(null,r))||(e.exports=i)},SA66:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("zp6E"),n("ma1f"),n("LxLY"),n("TTKK"),n("jfWY"),n("Vx27"),n("FPqO")],i=(function(e,t,n,r,i,a,o,l,u,s){Object.defineProperty(t,"__esModule",{value:!0}),t.NAServiceDescriptionMixin=function(e){return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.getServiceDescription=function(){return n.__awaiter(this,void 0,void 0,(function(){return n.__generator(this,(function(e){return this._serviceDescriptionPromise||(this._serviceDescriptionPromise=this._fetchServiceDescription()),[2,this._serviceDescriptionPromise]}))}))},t.prototype._fetchServiceDescription=function(){return n.__awaiter(this,void 0,void 0,(function(){var e,t,a,u,s;return n.__generator(this,(function(c){switch(c.label){case 0:if(!this.url||!this.parsedUrl)throw new i("network-service:missing-url","Url to Network service is missing");return[4,r(e=this.url,{query:{f:"json"}})];case 1:for((t=c.sent().data).supportedTravelModes||(t.supportedTravelModes=[]),a=0;a<t.supportedTravelModes.length;a++)t.supportedTravelModes[a].id||(t.supportedTravelModes[a].id=t.supportedTravelModes[a].itemId);return[4,t.currentVersion>=10.4?function(e){return n.__awaiter(this,void 0,void 0,(function(){var t,a;return n.__generator(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,r(e+("/"===e[e.length-1]?"":"/")+"retrieveTravelModes",{query:{f:"json"}})];case 1:return[2,{supportedTravelModes:(t=n.sent().data).supportedTravelModes,defaultTravelMode:t.defaultTravelMode}];case 2:throw a=n.sent(),new i("network-service:retrieveTravelModes","Could not get to the NAServer's retrieveTravelModes.",{error:a});case 3:return[2]}}))}))}(e):function(e){return n.__awaiter(this,void 0,void 0,(function(){var t,i,a,u,s,c,p,d,f,h,m,y,v,g,b;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,r(e.substring(0,e.indexOf("/rest/")+6)+"info",{query:{f:"json"}})];case 1:return(t=n.sent().data)&&t.owningSystemUrl?[4,r((e=t.owningSystemUrl)+("/"===e[e.length-1]?"":"/")+"sharing/rest/portals/self",{query:{f:"json"}})]:[2,{supportedTravelModes:[],defaultTravelMode:null}];case 2:return i=n.sent().data,(a=o.getDeepValue("helperServices.routingUtilities.url",i))?(u=l.urlToObject(e),s=/\/solveClosestFacility$/.test(u.path)?"Route":/\/solveClosestFacility$/.test(u.path)?"ClosestFacility":"ServiceAreas",[4,r(a+("/"===a[a.length-1]?"":"/")+"GetTravelModes/execute",{query:{f:"json",serviceName:s}})]):[2,{supportedTravelModes:[],defaultTravelMode:null}];case 3:if(c=n.sent(),p=[],d=null,c&&c.data&&c.data.results&&c.data.results.length)for(f=0,h=c.data.results;f<h.length;f++)if("supportedTravelModes"===(m=h[f]).paramName){if(m.value&&m.value.features)for(y=0,v=m.value.features;y<v.length;y++)(g=v[y].attributes)&&(b=JSON.parse(g.TravelMode),p.push(b))}else"defaultTravelMode"===m.paramName&&(d=m.value);return[2,{supportedTravelModes:p,defaultTravelMode:d}]}}))}))}(e)];case 2:return u=c.sent(),s=u.supportedTravelModes,t.defaultTravelMode=u.defaultTravelMode,t.supportedTravelModes=s,[2,t]}}))}))},t.prototype._isInputGeometryZAware=function(e,t){for(var n=0;n<t.length;n++){var r=e[t[n]];if(r&&r.length)for(var i=0,o=r;i<o.length;i++){var l=o[i];if(a.isSome(l)&&l.hasZ)return!0}}return!1},t.prototype._dropZValuesOffInputGeometry=function(e,t){for(var n=0;n<t.length;n++){var r=e[t[n]];if(r&&r.length)for(var i=0,a=r;i<a.length;i++)a[i].z=void 0}console.log("The remote Network Analysis service is powered by a network dataset which is not Z-aware.\nZ-coordinates of the input geometry are ignored.")},n.__decorate([u.subclass("esri.tasks.mixins.NAServiceDescription")],t)}(e)};var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),n.__decorate([u.subclass("esri.tasks.mixins.NAServiceDescription")],t)}(t.NAServiceDescriptionMixin(s));t.NAServiceDescription=c}).apply(null,r),void 0===i||(e.exports=i)},"T/jF":function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("ma1f"),n("qMld"),n("8V7H"),n("dXLH")],void 0===(i=(function(e,t,n,r,i,a,o){return function(){function e(){this._workerThread=null,this._destroyed=!1}return e.prototype.initialize=function(){return n.__awaiter(this,void 0,void 0,(function(){var e;return n.__generator(this,(function(t){switch(t.label){case 0:return[4,a.open("RasterWorker")];case 1:return e=t.sent(),this._destroyed?e.close():this._workerThread=e,[2]}}))}))},e.prototype.destroy=function(){this._destroyed=!0,this._workerThread&&(this._workerThread.close(),this._workerThread=null)},e.prototype.decode=function(e,t){return n.__awaiter(this,void 0,void 0,(function(){var i;return n.__generator(this,(function(n){switch(n.label){case 0:if(!this._workerThread)throw new r("raster-jobhandler:no-connection","no available worker connection");return[4,this._workerThread.invoke("decode",e,t)];case 1:return[2,(i=n.sent())?new o(i):null]}}))}))},e.prototype.symbolize=function(e,t){return n.__awaiter(this,void 0,void 0,(function(){var i,a;return n.__generator(this,(function(n){switch(n.label){case 0:if(!this._workerThread)throw new r("raster-jobhandler:no-connection","no available worker connection");return i={extent:e.extent&&e.extent.toJSON(),pixelBlock:e.pixelBlock.toJSON(),simpleStretchParams:e.simpleStretchParams,bandIds:e.bandIds},[4,this._workerThread.invoke("symbolize",i,t)];case 1:return[2,(a=n.sent())?new o(a):null]}}))}))},e.prototype.updateSymbolizer=function(e,t){return n.__awaiter(this,void 0,void 0,(function(){var a;return n.__generator(this,(function(n){switch(n.label){case 0:if(!this._workerThread)throw new r("raster-jobhandler:no-connection","no available worker connection");return a=e&&e.renderer&&"raster-stretch"===e.renderer.type&&e.renderer.histograms,[4,i.all(this._workerThread.broadcast("updateSymbolizer",{symbolizerJSON:e.toJSON(),histograms:a},t))];case 1:return n.sent(),[2]}}))}))},e.prototype.stretch=function(e,t){return n.__awaiter(this,void 0,void 0,(function(){var i,a;return n.__generator(this,(function(n){switch(n.label){case 0:if(!this._workerThread)throw new r("raster-jobhandler:no-connection","no available worker connection");return e&&e.pixelBlock?(i={srcPixelBlock:e.pixelBlock.toJSON(),stretchParams:e.stretchParams},[4,this._workerThread.invoke("stretch",i,t)]):[2,null];case 1:return[2,(a=n.sent())?new o(a):null]}}))}))},e.prototype.mosaicAndTransform=function(e,t){return n.__awaiter(this,void 0,void 0,(function(){var i,a;return n.__generator(this,(function(l){switch(l.label){case 0:if(!this._workerThread)throw new r("raster-jobhandler:no-connection","no available worker connection");return e&&e.srcPixelBlocks&&e.srcPixelBlocks.length>0?(i=n.__assign(n.__assign({},e),{srcPixelBlocks:e.srcPixelBlocks.map((function(e){return e?e.toJSON():null}))}),[4,this._workerThread.invoke("mosaicAndTransform",i,t)]):[2,null];case 1:return[2,(a=l.sent())?new o(a):null]}}))}))},e}()}).apply(null,r))||(e.exports=i)},TD84:function(e,t,n){var r,i;r=[n.dj.c(e.i),t],void 0===(i=(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.GraphicClickEvent=function(e,t,n,r,i){this.graphic=e,this.index=t,this.x=n,this.y=r,this.viewEvent=i,this.type="graphic-click"},t.GraphicDoubleClickEvent=function(e,t,n,r,i){this.graphic=e,this.index=t,this.x=n,this.y=r,this.viewEvent=i,this.type="graphic-double-click"};var n=function(){function e(e,t,n,r,i,a,o,l,u,s){this.graphic=e,this.allGraphics=t,this.index=n,this.x=r,this.y=i,this.dx=a,this.dy=o,this.totalDx=l,this.totalDy=u,this.viewEvent=s,this.defaultPrevented=!1,this.type="graphic-move-start"}return e.prototype.preventDefault=function(){this.defaultPrevented=!0},e}();t.GraphicMoveStartEvent=n;var r=function(){function e(e,t,n,r,i,a,o,l,u,s){this.graphic=e,this.allGraphics=t,this.index=n,this.x=r,this.y=i,this.dx=a,this.dy=o,this.totalDx=l,this.totalDy=u,this.viewEvent=s,this.defaultPrevented=!1,this.type="graphic-move"}return e.prototype.preventDefault=function(){this.defaultPrevented=!0},e}();t.GraphicMoveEvent=r;var i=function(){function e(e,t,n,r,i,a,o,l,u,s){this.graphic=e,this.allGraphics=t,this.index=n,this.x=r,this.y=i,this.dx=a,this.dy=o,this.totalDx=l,this.totalDy=u,this.viewEvent=s,this.defaultPrevented=!1,this.type="graphic-move-stop"}return e.prototype.preventDefault=function(){this.defaultPrevented=!0},e}();t.GraphicMoveStopEvent=i,t.GraphicPointerOverEvent=function(e,t,n,r,i){this.graphic=e,this.index=t,this.x=n,this.y=r,this.viewEvent=i,this.type="graphic-pointer-over"},t.GraphicPointerOutEvent=function(e,t,n,r,i){this.graphic=e,this.index=t,this.x=n,this.y=r,this.viewEvent=i,this.type="graphic-pointer-out"},t.GraphicPointerDownEvent=function(e,t,n,r,i){this.graphic=e,this.index=t,this.x=n,this.y=r,this.viewEvent=i,this.type="graphic-pointer-down"},t.GraphicPointerUpEvent=function(e,t,n,r,i){this.graphic=e,this.index=t,this.x=n,this.y=r,this.viewEvent=i,this.type="graphic-pointer-up"}}).apply(null,r))||(e.exports=i)},TIwP:function(e,t,n){"use strict";n.d(t,"a",(function(){return V}));var r=n("8Y7J"),i=n("yjSr"),a=n("DXmP"),o=n("PFrz"),l=n("60A/"),u=n("iInd"),s=n("zRkk"),c=n("uatq"),p=n("SVse"),d=n("ZRHQ"),f=n("datT"),h=n("fu8d"),m=n("Nmqc"),y=n("MQgg"),v=n("qgWd"),g=n("2rrJ"),b=n("bJXm"),_=n("OnBd"),w=n("d6E4"),x=n("ZFy/"),S=n("1O3W"),T=n("7KAL"),M=n("SCoL"),O=n("YEUz"),C=n("9gLZ"),L=n("sbtd"),P=n("5h5A"),I=n("cUpR"),k=n("G0y5"),j=r["\u0275crt"]({encapsulation:0,styles:[[".wrap[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center}.wrap[_ngcontent-%COMP%] .item--number[_ngcontent-%COMP%]{font-size:78px;font-weight:600}.wrap[_ngcontent-%COMP%] .item--line[_ngcontent-%COMP%]{width:110px;height:3px;margin:0 auto;background:#ff6863}.wrap[_ngcontent-%COMP%] .item--title[_ngcontent-%COMP%]{font-size:24px}.search[_ngcontent-%COMP%]{width:100%;height:45px;background:#f8faf8;margin-top:190px;display:flex;padding:0 40px;align-items:center;justify-items:center}.search__text[_ngcontent-%COMP%]{width:450px;height:35px}.search__area[_ngcontent-%COMP%], .search__dv[_ngcontent-%COMP%], .search__kc[_ngcontent-%COMP%], .search__lv[_ngcontent-%COMP%]{width:200px;height:35px}"]],data:{}});function N(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-skeletons",[],null,null,null,i.b,i.a)),r["\u0275did"](1,114688,null,0,a.a,[],null,null)],(function(e,t){e(t,1,0)}),null)}function A(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"div",[["class","alert alert-warning mt-4 container"],["role","alert"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,[" Kh\xf4ng t\xecm th\u1ea5y k\u1ebft qu\u1ea3 ph\xf9 h\u1ee3p! "]))],null,null)}function R(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-post-item",[["url","khu-cong-nghiep"]],null,null,null,o.b,o.a)),r["\u0275did"](1,114688,null,0,l.a,[u.m],{data:[0,"data"],url:[1,"url"]},null)],(function(e,t){e(t,1,0,t.component.khuCongNghieps,"khu-cong-nghiep")}),null)}function D(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-grid-view",[["url","khu-cong-nghiep"]],null,null,null,s.b,s.a)),r["\u0275did"](1,114688,null,0,c.a,[u.m,u.a,p.DecimalPipe],{url:[0,"url"],data:[1,"data"]},null)],(function(e,t){e(t,1,0,"khu-cong-nghiep",t.component.khuCongNghieps)}),null)}function E(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,R)),r["\u0275did"](1,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,D)),r["\u0275did"](3,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](0,null,null,0))],(function(e,t){var n=t.component;e(t,1,0,n.modeView===n.Mode.Square),e(t,3,0,n.modeView===n.Mode.Table)}),null)}function z(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,A)),r["\u0275did"](1,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r["\u0275and"](0,[["result",2]],null,0,null,E))],(function(e,t){e(t,1,0,!t.component.khuCongNghieps.length,r["\u0275nov"](t,2))}),null)}function F(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,18,"div",[["class","container"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,6,"div",[["class","row align-items-center"]],null,null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,2,"div",[["class","col-md-5 md-sm-12"]],null,null,null,null,null)),(e()(),r["\u0275eld"](3,0,null,null,1,"app-box-number",[["title","Khu c\xf4ng nghi\u1ec7p"]],null,null,null,d.b,d.a)),r["\u0275did"](4,114688,null,0,f.a,[],{count:[0,"count"],title:[1,"title"]},null),(e()(),r["\u0275eld"](5,0,null,null,2,"div",[["class","col-md-7 md-sm-12"]],null,null,null,null,null)),(e()(),r["\u0275eld"](6,0,null,null,1,"app-advanced-pie-chart",[],null,null,null,h.b,h.a)),r["\u0275did"](7,114688,null,0,m.a,[p.DecimalPipe],{data:[0,"data"]},null),(e()(),r["\u0275eld"](8,0,null,null,8,"div",[["class","d-flex justify-content-end"]],null,null,null,null,null)),(e()(),r["\u0275eld"](9,0,null,null,1,"app-search-bar",[["class","w-100"]],null,null,null,y.b,y.a)),r["\u0275did"](10,114688,null,0,v.a,[g.a,u.m,p.ViewportScroller,b.a,_.a,u.a,w.a],{diaBan:[0,"diaBan"]},null),(e()(),r["\u0275eld"](11,16777216,null,null,2,"button",[["class","btn btn-outline-dark mat-tooltip-trigger"],["matTooltip","Ch\u1ebf \u0111\u1ed9 xem d\u1ea1ng danh s\xe1ch"],["style","margin-right: 3px;"],["type","button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==(i.modeView=i.Mode.Table)&&r),r}),null,null)),r["\u0275did"](12,4341760,null,0,x.d,[S.c,r.ElementRef,T.c,r.ViewContainerRef,r.NgZone,M.a,O.c,O.h,x.b,[2,C.b],[2,x.a]],{message:[0,"message"]},null),(e()(),r["\u0275eld"](13,0,null,null,0,"i",[["class","fas fa-bars"]],null,null,null,null,null)),(e()(),r["\u0275eld"](14,16777216,null,null,2,"button",[["class","btn btn-outline-dark mat-tooltip-trigger"],["matTooltip","Ch\u1ebf \u0111\u1ed9 xem d\u1ea1ng l\u01b0\u1edbi"],["type","button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==(i.modeView=i.Mode.Square)&&r),r}),null,null)),r["\u0275did"](15,4341760,null,0,x.d,[S.c,r.ElementRef,T.c,r.ViewContainerRef,r.NgZone,M.a,O.c,O.h,x.b,[2,C.b],[2,x.a]],{message:[0,"message"]},null),(e()(),r["\u0275eld"](16,0,null,null,0,"i",[["class","fas fa-th"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,N)),r["\u0275did"](18,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r["\u0275and"](0,[["list",2]],null,0,null,z))],(function(e,t){var n=t.component;e(t,4,0,n.count,"Khu c\xf4ng nghi\u1ec7p"),e(t,7,0,n.statistics),e(t,10,0,n.db),e(t,12,0,"Ch\u1ebf \u0111\u1ed9 xem d\u1ea1ng danh s\xe1ch"),e(t,15,0,"Ch\u1ebf \u0111\u1ed9 xem d\u1ea1ng l\u01b0\u1edbi"),e(t,18,0,!n.khuCongNghieps,r["\u0275nov"](t,19))}),null)}function G(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-khu-cong-nghiep",[],null,null,null,F,j)),r["\u0275did"](1,114688,null,0,L.a,[P.a,I.h,u.m,u.a,k.a,g.a],null,null)],(function(e,t){e(t,1,0)}),null)}var V=r["\u0275ccf"]("app-khu-cong-nghiep",L.a,G,{},{},[])},UDyV:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("Gtr7"),n("eIBl"),n("Vx27"),n("xii5")],i=(function(e,t,n,r,i,a,o){var l={visible:"visibleSublayers"},u=[102100,3857,102113,900913],s=[3395,54004];return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._layerHandles=new i,t.extent=null,t._scale=null,t.view=null,t}return n.__extends(t,e),Object.defineProperty(t.prototype,"layer",{set:function(e){var t=this;this._get("layer")!==e&&(this._set("layer",e),this._layerHandles&&(this._layerHandles.removeAll(),this._layerHandles=null),e&&(this._layerHandles||(this._layerHandles=new i),this._layerHandles.add([e.sublayers.on("change",(function(){return t.notifyChange("visibleSublayers")})),e.on("wms-sublayer-update",(function(e){return t.notifyChange(l[e.propertyName])}))])))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"layers",{get:function(){return this.visibleSublayers.filter((function(e){return e.name})).map((function(e){return e.name})).join(",")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale",{get:function(){return null!=this._scale?this._scale:this.view&&this.view.scale||0},set:function(e){this.view||(this._scale=e,this.notifyChange("scale"))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return(this._get("version")||0)+1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"visibleSublayers",{get:function(){var e=this.scale,t=this.layer.sublayers,n=[];return t&&t.forEach((function t(r){var i=r.minScale,a=r.maxScale,o=r.sublayers;r.visible&&(0===e||(0===i||e<=i)&&(0===a||e>=a))&&(n.unshift(r),o&&o.forEach(t))})),n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wkid",{get:function(){var e=this.extent,t=this.layer.spatialReferences,n=e.spatialReference&&e.spatialReference.wkid;t&&-1===t.indexOf(n)&&e.spatialReference.latestWkid&&(n=e.spatialReference.latestWkid);var r=u.some((function(e){return e===n}));if(!t)return n;if(r){var i=[];t.forEach((function(e){u.indexOf(e)>-1&&i.push(e)})),i.length||t.forEach((function(e){s.indexOf(e)>-1&&i.push(e)})),n=i.length>0?i[0]:u[0]}return n},enumerable:!0,configurable:!0}),t.prototype.toJSON=function(){var e=this.extent,t=this.layer,r=this.layers,i=t.imageFormat,a=t.imageTransparency,l=t.spatialReferences,u=t.version,s=this.wkid;l&&-1===l.indexOf(s)&&e.spatialReference.latestWkid&&(s=e.spatialReference.latestWkid);var c=e.xmin,p=e.ymin,d=e.xmax,f=e.ymax,h={bbox:"1.3.0"===t.version&&o.coordsReversed(s)?p+","+c+","+f+","+d:c+","+p+","+d+","+f,format:i,request:"GetMap",service:"WMS",styles:"",transparent:a,version:u};return isNaN(s)||("1.3.0"===u?h.crs="EPSG:"+s:h.srs="EPSG:"+s),n.__assign(n.__assign({},h),{layers:r})},n.__decorate([a.property()],t.prototype,"extent",void 0),n.__decorate([a.property()],t.prototype,"layer",null),n.__decorate([a.property({readOnly:!0,dependsOn:["visibleSublayers"]})],t.prototype,"layers",null),n.__decorate([a.property({type:Number,dependsOn:["view.scale"]})],t.prototype,"scale",null),n.__decorate([a.property()],t.prototype,"view",void 0),n.__decorate([a.property({dependsOn:["layers","layer.imageTransparency"],readOnly:!0})],t.prototype,"version",null),n.__decorate([a.property({readOnly:!0,dependsOn:["layer.sublayers","scale"]})],t.prototype,"visibleSublayers",null),n.__decorate([a.property()],t.prototype,"wkid",null),n.__decorate([a.subclass("esri.layers.support.ExportWMSImageParameters")],t)}(r)}).apply(null,r),void 0===i||(e.exports=i)},VIp5:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("ImIS"),n("Vx27"),n("EEGM")],void 0===(i=(function(e,t,n,r,i,a){var o=new r.default({0:"informative",1:"process-definition",2:"process-start",3:"process-stop",50:"warning",100:"error",101:"empty",200:"abort"});return function(e){function t(t){var n=e.call(this,t)||this;return n.type=null,n}return n.__extends(t,e),n.__decorate([i.property({type:String,json:{read:o.read,write:o.write}})],t.prototype,"type",void 0),n.__decorate([i.subclass("esri.tasks.support.NAMessage")],t)}(a)}).apply(null,r))||(e.exports=i)},WYOF:function(e,t,n){var r,i;r=[n.dj.c(e.i),t],void 0===(i=(function(e,t){function n(e,t){return!!e.typeKeywords&&e.typeKeywords.indexOf(t)>-1}Object.defineProperty(t,"__esModule",{value:!0}),t.addTypeKeyword=function(e,t){if(!n(e,t)){var r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}},t.hasTypeKeyword=n,t.removeTypeKeyword=function(e,t){var n=e.typeKeywords;if(n){var r=n.indexOf(t);r>-1&&n.splice(r,1)}}}).apply(null,r))||(e.exports=i)},Wf0m:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("J3YA"),n("xoE+")],void 0===(i=(function(e,t,n,r){function i(e,t,n,i,a){for(var o=new Uint32Array(e*e),l=("buffer"in t?t:new Float64Array(t)),u=("buffer"in n?new Uint32Array(n.buffer):new Uint32Array(new Uint8Array(n).buffer)),s=u.length/(a-i),c=0;c<l.length;c++){var p=Math.floor((l[c]-i)*s);o[c]=u[r.clamp(p,0,u.length-1)]}return o.buffer}function a(e){for(var t=Math.round(3*e),n=2*e*e,r=new Float64Array(2*t+1),i=0;i<=r.length;i++)r[i]=Math.exp(-Math.pow(i-t,2)/n)/Math.sqrt(2*Math.PI)*(e/2);return r}function o(e,t){return"function"==typeof e?e:e?"string"==typeof t?function(t){return-1*+t[e]}:function(n){return+n[e]+t}:function(){return 1}}Object.defineProperty(t,"__esModule",{value:!0}),t.generateGradient=function(){if(!("document"in n))return function(){return null};var e=document.createElement("canvas"),t=e.getContext("2d");return e.height=512,e.width=1,function(n){t.clearRect(0,0,1,e.height);for(var r=t.createLinearGradient(0,0,0,e.height),i=0,a=n.colorStops;i<a.length;i++){var o=a[i],l=o.color;r.addColorStop(Math.max(o.ratio,.001),"rgba("+l[0]+", "+l[1]+", "+l[2]+", "+l[3]+")")}return t.fillStyle=r,t.fillRect(0,0,1,e.height),t.getImageData(0,0,1,e.height).data}}(),t.calculateHeatmapIntensityInfo=function(e,t,n,r){for(var i,l=t.blurRadius,u=t.fieldOffset,s=t.field,c=new Float64Array(n*r),p=a(l),d=Math.round(3*l),f=Number.NEGATIVE_INFINITY,h=o(s,u),m=0,y=e;m<y.length;m++)for(var v=y[m],g=v.geometry,b=v.attributes,_=g.x-d,w=g.y-d,x=Math.max(0,_),S=Math.max(0,w),T=Math.min(r,g.y+d),M=Math.min(n,g.x+d),O=+h(b),C=S;C<T;C++)for(var L=p[C-w],P=x;P<M;P++)(i=c[C*n+P]+=L*p[P-_]*O)>f&&(f=i);return{matrix:c.buffer,max:f}},t.drawHeatmap=function(e,t,n,r,a,o){e.canvas.width=e.canvas.height=t,e.clearRect(0,0,t,t);var l=e.getImageData(0,0,t,t);n&&r&&l.data.set(new Uint8ClampedArray(i(t,n,r,a,o))),e.putImageData(l,0,0)},t.createHeatmapImageData=i,t.createKernel=a,t.createValueFunction=o}).apply(null,r))||(e.exports=i)},WhPF:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("TMur"),n("Vx27"),n("ddAr"),n("Cobz")],i=(function(e,t,n,r,i,a,o){Object.defineProperty(t,"__esModule",{value:!0}),t.ArcGISCachedService=function(e){return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.copyright=null,t.minScale=0,t.maxScale=0,t.spatialReference=null,t.tileInfo=null,t.tilemapCache=null,t}return n.__extends(t,e),t.prototype.readMinScale=function(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0},t.prototype.readMaxScale=function(e,t){return null!=t.minLOD&&null!=t.maxLOD?e:0},Object.defineProperty(t.prototype,"supportsBlankTile",{get:function(){return this.version>=10.2},enumerable:!0,configurable:!0}),t.prototype.readTilemapCache=function(e,t){return t.capabilities&&t.capabilities.indexOf("Tilemap")>-1?new o.TilemapCache({layer:this}):null},n.__decorate([i.property({json:{read:{source:"copyrightText"}}})],t.prototype,"copyright",void 0),n.__decorate([i.property()],t.prototype,"minScale",void 0),n.__decorate([i.reader("service","minScale")],t.prototype,"readMinScale",null),n.__decorate([i.property()],t.prototype,"maxScale",void 0),n.__decorate([i.reader("service","maxScale")],t.prototype,"readMaxScale",null),n.__decorate([i.property({type:r.SpatialReference})],t.prototype,"spatialReference",void 0),n.__decorate([i.property({readOnly:!0,dependsOn:["version"]})],t.prototype,"supportsBlankTile",null),n.__decorate([i.property(a.serviceTileInfoProperty)],t.prototype,"tileInfo",void 0),n.__decorate([i.property()],t.prototype,"tilemapCache",void 0),n.__decorate([i.reader("service","tilemapCache",["capabilities"])],t.prototype,"readTilemapCache",null),n.__decorate([i.property()],t.prototype,"version",void 0),n.__decorate([i.subclass("esri.layers.mixins.ArcGISCachedService")],t)}(e)}}).apply(null,r),void 0===i||(e.exports=i)},WzhS:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return y})),n.d(t,"c",(function(){return v}));var r=n("1OyB"),i=n("vuIU"),a=n("8Y7J"),o="undefined"!=typeof performance&&void 0!==performance.now&&"function"==typeof performance.mark&&"function"==typeof performance.measure&&("function"==typeof performance.clearMarks||"function"==typeof performance.clearMeasures),l="undefined"!=typeof PerformanceObserver&&void 0!==PerformanceObserver.prototype&&"function"==typeof PerformanceObserver.prototype.constructor,u="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0),s={},c={},p=function(){return o?performance.now():Date.now()},d=function(e){s[e]=void 0,c[e]&&(c[e]=void 0),o&&(u||performance.clearMeasures(e),performance.clearMarks(e))},f=function(e){if(o){if(u&&l){var t=new PerformanceObserver((function(n){c[e]=n.getEntries().find((function(t){return t.name===e})),t.disconnect()}));t.observe({entryTypes:["measure"]})}performance.mark(e)}s[e]=p()},h=function(e,t){try{var n=s[e];return o?(t||performance.mark("".concat(e,"-end")),performance.measure(e,e,t||"".concat(e,"-end")),u?c[e]?c[e]:n?{duration:p()-n,startTime:n,entryType:"measure",name:e}:{}:performance.getEntriesByName(e).pop()||{}):n?{duration:p()-n,startTime:n,entryType:"measure",name:e}:{}}catch(r){return{}}finally{d(e),d(t||"".concat(e,"-end"))}},m=new a.InjectionToken("ngx-skeleton-loader.config"),y=function(){function e(t){Object(r.a)(this,e);var n=t||{},i=n.appearance,a=n.animation,o=void 0===a?"progress":a,l=n.theme,u=void 0===l?null:l,s=n.loadingText,c=void 0===s?"Loading...":s,p=n.count,d=void 0===p?1:p,f=n.ariaLabel,h=void 0===f?"loading":f;this.appearance=void 0===i?"line":i,this.animation=o,this.theme=u,this.loadingText=c,this.count=d,this.items=[],this.ariaLabel=h}return Object(i.a)(e,[{key:"ngOnInit",value:function(){f("NgxSkeletonLoader:Rendered"),f("NgxSkeletonLoader:Loaded"),this.validateInputValues()}},{key:"validateInputValues",value:function(){/^\d+$/.test("".concat(this.count))||(Object(a.isDevMode)()&&console.error("`NgxSkeletonLoaderComponent` need to receive 'count' a numeric value. Forcing default to \"1\"."),this.count=1),this.items.length=this.count;var e=["progress","progress-dark","pulse","false"];-1===e.indexOf(String(this.animation))&&(Object(a.isDevMode)()&&console.error("`NgxSkeletonLoaderComponent` need to receive 'animation' as: ".concat(e.join(", "),'. Forcing default to "progress".')),this.animation="progress"),-1===["circle","line",""].indexOf(String(this.appearance))&&(Object(a.isDevMode)()&&console.error("`NgxSkeletonLoaderComponent` need to receive 'appearance' as: circle or line or empty string. Forcing default to \"''\"."),this.appearance="")}},{key:"ngOnChanges",value:function(e){["count","animation","appearance"].find((function(t){return e[t]&&(e[t].isFirstChange()||e[t].previousValue===e[t].currentValue)}))||this.validateInputValues()}},{key:"ngAfterViewInit",value:function(){h("NgxSkeletonLoader:Rendered")}},{key:"ngOnDestroy",value:function(){h("NgxSkeletonLoader:Loaded")}}]),e}(),v=function(){function e(){Object(r.a)(this,e)}return Object(i.a)(e,null,[{key:"forRoot",value:function(t){return{ngModule:e,providers:[{provide:m,useValue:t}]}}}]),e}()},XOvD:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("TMur"),n("dhsc"),n("mnow")],void 0===(i=(function(e,t,n,r,i){Object.defineProperty(t,"__esModule",{value:!0});var a=new Map,o=new r;t.register=function(e,t){var n={extent:null,rasterInfo:t,cache:new Map};if(a.has(e)){var r=a.get(e);return r.push(n),r.length-1}return a.set(e,[n]),0},t.unregister=function(e,t){a.has(e)&&(a.get(e)[t]=null)},t.deleteRaster=function(e){a.delete(e)},t.decreaseRefCount=function(e,t,n){if(!a.has(e))return null==t?o.decreaseRefCount(e,n):0;var r=a.get(e);if(null==r[t])return o.decreaseRefCount(e,n);var i=r[t].cache;if(i.has(n)){var l=i.get(n);if(l.refCount--,0===l.refCount){i.delete(n);for(var u=0;u<r.length;u++)r[u]&&r[u].cache.has(n)&&r[u].cache.delete(n);l.controller&&l.controller.abort()}return l.refCount}return 0},t.getBlock=function(e,t,n){if(!a.has(e))return null==t?o.getBlock(e,n):null;var r=a.get(e);if(null==r[t]){for(var i=0;i<r.length;i++)if(r[i]&&r[i].cache.has(n))return(l=r[i].cache.get(n)).refCount++,l.block;return o.getBlock(e,n)}var l,u=r[t].cache;if(u.has(n))return(l=u.get(n)).refCount++,l.block;for(i=0;i<r.length;i++)if(i!==t&&r[i]&&r[i]&&r[i].cache.has(n)){var s=r[i].cache.get(n);return s.refCount++,u.set(n,s),s.block}return null},t.putBlock=function(e,t,n,r,i){if(void 0===i&&(i=null),a.has(e)){var l=a.get(e);null!=l[t]?l[t].cache.set(n,{refCount:1,block:r,controller:i}):o.putBlock(e,n,r,i)}else null==t&&o.putBlock(e,n,r,i)},t.deleteBlock=function(e,t,n){if(a.has(e)){var r=a.get(e);null!=r[t]?r[t].cache.delete(n):o.deleteBlock(e,n)}else null==t&&o.deleteBlock(e,n)},t.update=function(e,t,r,o,l,u,s){void 0===s&&(s=null);var c=function(e,t){if(!a.has(e))return null;var n=a.get(e);return null==n[t]?null:n[t]}(e,t),p=c.extent,d=c.cache,f=c.rasterInfo,h=r.clone().normalize();if(r=h[0],!p||p.xmin!==r.xmin||p.xmax!==r.xmax||p.ymin!==r.ymin||p.ymax!==r.ymax){var m=f.spatialReference,y=i.projectExtent(r,m,s),v=new n.Point({x:o,y:o,spatialReference:r.spatialReference});if(null!==l||(l=i.projectResolution(v,m,r,s))){var g=i.snapPyramid(l,f,u||"closest"),b=g.pyramidLevel,_=g.pyramidResolution;if(!g.excessiveReading){for(var w=Math.floor((y.xmin-f.storageInfo.origin.x)/_.x),x=Math.floor((f.storageInfo.origin.y-y.ymax)/_.y),S=Math.ceil((y.xmax-y.xmin)/_.x-.1),T=Math.ceil((y.ymax-y.ymin)/_.y-.1),M=b>0?f.storageInfo.pyramidBlockWidth:f.storageInfo.blockWidth,O=b>0?f.storageInfo.pyramidBlockHeight:f.storageInfo.blockHeight,C=Math.floor(w/M),L=Math.floor(x/O),P=Math.floor((w+S-1)/M),I=Math.floor((x+T-1)/O),k=new Set,j=L-1;j<=I+1;j++)for(var N=C-1;N<=P+1;N++)k.add(b+"/"+j+"/"+N);d.forEach((function(e,t){k.has(t)||d.delete(t)})),c.extent={xmin:r.xmin,ymin:r.ymin,xmax:r.xmax,ymax:r.ymax}}}}}}).apply(null,r))||(e.exports=i)},YDUM:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("zOht"),i=n("AytR"),a=n("Wm+i"),o=n("8Y7J"),l=n("IheW"),u=function(e){function t(t){return e.call(this,{entity:"menu",apiUrl:i.a.apiUrl},t)||this}return Object(r.__extends)(t,e),t.prototype.saveArrange=function(e){return e.forEach((function(e,t,n){delete n[t].children,delete n[t].parent,delete n[t].dirty})),this.http.post(this.getOneUrl("sap-xep"),e)},t.prototype.getMenu=function(){return this.http.get(i.a.apiUrl+"/menu/tree")},t.\u0275prov=o["\u0275\u0275defineInjectable"]({factory:function(){return new t(o["\u0275\u0275inject"](l.c))},token:t,providedIn:"root"}),t}(a.a)},YKPo:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("Zvuv"),i=n.n(r),a=n("tpwP"),o=n("qb7p"),l=n.n(o),u=function(){function e(e,t,n,r){this.service=e,this.titleService=t,this.router=n,this.activatedRoute=r,this.map={}}return Object.defineProperty(e.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e,e&&this.highlight(e.OBJECTID)},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.activatedRoute.paramMap.subscribe((function(t){e.id=+t.get("id"),e.id>0&&e.service.getAll({query:{objectIds:[e.id],outFields:["*"],returnGeometry:!1,num:1}}).then((function(t){var n=t.features;n.length>0&&(e.data=n[0].attributes,e.titleService.setTitle("\u0110i\u1ec3m \u0111\u1ea7u t\u01b0 "+e.data.TenDiem))}))}))},e.prototype.handleMapLoaded=function(e){var t=this;this.map.view=e;var n=new i.a({url:a.b});e.map.add(n),this.map.layer=n,e.ui.add(new l.a({view:e}),"bottom-right"),e.whenLayerView(n).then((function(e){t.map.layerView=e,t.data&&t.highlight(t.data.OBJECTID)})),e.on("click",(function(r){e.hitTest(r).then((function(e){var r=e.results.find((function(e){return e.graphic.layer.id===n.id}));if(r){var i=r.graphic.attributes.OBJECTID;i&&t.router.navigate(["../",i],{relativeTo:t.activatedRoute})}}))}))},e.prototype.highlight=function(e){var t=this.map,n=t.view,r=t.layerView,i=t.layer;r&&(this.handleHighlight&&(this.handleHighlight.remove(),delete this.handleHighlight),this.handleHighlight=r.highlight(e),i.queryFeatures({objectIds:[e],returnGeometry:!0,outSpatialReference:n.spatialReference}).then((function(e){n.goTo(e.features)})))},e.prototype.getQueryParams=function(){return{id:this.id,t:"DiemDauTu"}},e}()},YM6P:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("+UAu"),n("KY0m"),n("rg9i"),n("97bx"),n("UVEp"),n("hBcF"),n("i90+")],void 0===(i=(function(e,t,n,r,i,a,o,l,u){Object.defineProperty(t,"__esModule",{value:!0});var s={u1:[0,1],u2:[0,3],u4:[0,15],u8:[0,255],s8:[-128,127],u16:[0,65535],s16:[-32768,32767]},c={type:"multipart",colorRamps:[{fromColor:[0,0,255],toColor:[0,255,255]},{fromColor:[0,255,255],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,0,0]}]},p=u.fromJSON(o.PREDEFINED_JSON_COLOR_RAMPS[0]);t.isSupportedRendererType=function(e){return["raster-stretch","unique-value","class-breaks","raster-shaded-relief"].indexOf(e.type)>-1},t.combineRenderingRules=function(e,t){if(!e||!t)return i.clone(e||t);var n=i.clone(e);return"none"!==t.functionName.toLowerCase()&&((function e(t){var n=t.Raster;return n&&"esri.layers.support.RasterFunction"===n.declaredClass?e(n.functionArguments):t}(n.functionArguments)).Raster=t),n},t.convertRendererToRenderingRule=function(e,t){switch(t=t||{},e.type){case"raster-stretch":return function(e,t){var n=new a;n.functionName="Stretch";var r=d[l.stretchTypeJSONDict.toJSON(e.stretchType)],i=function(e){var t=[];return e.forEach((function(e){var n=e;if(Array.isArray(n))t.push(n);else{if(null==n.min||null==n.max)return;t.push([n.min,n.max,n.avg||0,n.stddev||0])}})),t}(e.statistics),u={StretchType:r,Statistics:i,DRA:e.dynamicRangeAdjustment,UseGamma:e.useGamma,Gamma:e.gamma,ComputeGamma:e.computeGamma};if(null!=e.outputMin&&(u.Min=e.outputMin),null!=e.outputMax&&(u.Max=e.outputMax),r===d.standardDeviation?(u.NumberOfStandardDeviations=e.numberOfStandardDeviations,n.outputPixelType="u8"):r===d.percentClip?(u.MinPercent=e.minPercent,u.MaxPercent=e.maxPercent,n.outputPixelType="u8"):r===d.minMax?n.outputPixelType="u8":r===d.sigmoid&&(u.SigmoidStrengthLevel=e.sigmoidStrengthLevel),n.functionArguments=u,n.variableName="Raster",e.colorRamp){var s=e.colorRamp,c=new a,p=o.getColorRampName(s);return c.functionArguments=p?{colorRamp:p}:!t.convertColorRampToColormap||"algorithmic"!==s.type&&"multipart"!==s.type?{colorRamp:e.colorRamp.toJSON()}:{Colormap:o.convertColorRampToColormap(s,256)},c.variableName="Raster",c.functionName="Colormap",c.functionArguments.Raster=n,c}return n}(e,t);case"class-breaks":return function(e,t){var n=[],r=[],i=[],o=[],l=t.pixelType,u=t.rasterAttributeTable,s=u&&u.features,c=h(u);if(s&&Array.isArray(s)&&e.classBreakInfos){e.classBreakInfos.forEach((function(t,n){var r,i=t.symbol.color;i.a&&s.forEach((function(a){((r=a.attributes[e.field])>=t.minValue&&r<t.maxValue||n===e.classBreakInfos.length-1&&r>=t.minValue)&&o.push([a.attributes[c],i.r,i.g,i.b])}))}));var p=l?f(o,l):o,d=new a;return d.functionName="Colormap",d.functionArguments={},d.functionArguments.Colormap=p,d.variableName="Raster",d}e.classBreakInfos.forEach((function(e,t){var a=e.symbol&&e.symbol.color;a.a?(n.push(0===t?e.minValue:e.minValue+1e-6,e.maxValue+1e-6),r.push(t),o.push([t,a.r,a.g,a.b])):i.push(e.minValue,e.maxValue)}));var m=l?f(o,l):o,y=new a;y.functionName="Remap",y.functionArguments={InputRanges:n,OutputValues:r,NoDataRanges:i},y.variableName="Raster";var v=new a;return v.functionName="Colormap",v.functionArguments={Colormap:m,Raster:y},v}(e,t);case"unique-value":return function(e,t){var n=[],r=t.pixelType,i=t.rasterAttributeTable,o=i&&i.features,l=h(i),u=!1;if(e.uniqueValueInfos&&e.uniqueValueInfos.forEach((function(t){var r=t.symbol.color;r.a&&(e.field!==l&&o?o&&o.forEach((function(i){String(i.attributes[e.field])===String(t.value)&&n.push([i.attributes[l],r.r,r.g,r.b])})):isNaN(t.value)?u=!0:n.push([t.value,r.r,r.g,r.b]))})),u)return null;var s=r&&n.length>0?f(n,r):n,c=new a;return c.functionName="Colormap",c.functionArguments={},c.functionArguments.Colormap=s,c.variableName="Raster",c}(e,t);case"raster-colormap":return function(e,t){var n=e.extractColormap();if(n&&0!==n.length){var r=t.pixelType,i=r?f(n,r):n,o=new a;return o.functionName="Colormap",o.functionArguments={},o.functionArguments.Colormap=i,o}}(e,t);case"raster-shaded-relief":return function(e,t){if("elevation"!==t.dataType)return new a;var n=new a;n.functionName="Hillshade";var r="traditional"===e.hillshadeType?0:1,i="none"===e.scalingType?1:3,l={HillshadeType:r,SlopeType:i,ZFactor:e.zFactor};return 0===r&&(l.Azimuth=e.azimuth,l.Altitude=e.altitude),3===i&&(l.PSPower=e.pixelSizePower,l.PSZFactor=e.pixelSizeFactor),n.functionArguments=l,n.variableName="Raster",e.colorRamp&&(n.functionName="ShadedRelief",l.Colormap=o.convertColorRampToColormap(e.colorRamp,256)),n}(e,t)}},t.createDefaultRenderer=function(e,t){if(e){var r,i,a,l,u,s,d,f=e.attributeTable,h=e.dataType,m=e.bandCount,y=e.pixelType,v=e.colormap,g=e.statistics,b=e.histograms;if(t&&t.length>0&&(g=g?t.map((function(e){return g[e]})):null,b=b?t.map((function(e){return b[e]})):null),f&&(i=f.fields.filter((function(e){return"red"===e.name.toLowerCase()}))[0],a=f.fields.filter((function(e){return"green"===e.name.toLowerCase()}))[0],l=f.fields.filter((function(e){return"blue"===e.name.toLowerCase()}))[0],s=f.fields.filter((function(e){return"value"===e.name.toLowerCase()}))[0],(u=f.fields.filter((function(e){return"classname"===e.name.toLowerCase()||"class_name"===e.name.toLowerCase()}))[0])||(u=f.fields.filter((function(e){return"string"===e.type}))[0])||(u=s)),1===m&&(null==v?void 0:v.length)>0)f&&i&&a&&l&&(d={},f.features.forEach((function(e){var t=e.attributes;d[t[s.name]]=u?t[u.name]:t[s.name]}))),r=n.RasterColormapRenderer.createFromColormap(v,d);else if(1===m&&f){var _=void 0,w=f.features;if(i&&a&&l&&u)_=w.map((function(e){return{value:e.attributes[u.name],label:e.attributes[u.name],symbol:{type:"esriSFS",style:"esriSFSSolid",color:[e.attributes[i.name],e.attributes[a.name],e.attributes[l.name],255]}}}));else{var x=o.convertColorRampToColormap(p,w.length);_=w.map((function(e,t){return{value:e.attributes[s.name],label:e.attributes[s.name],symbol:{color:x[t].slice(1,4),type:"esriSFS",style:"esriSFSSolid"}}}))}_.sort((function(e,t){return e.value>t.value?1:-1})),r=n.UniqueValueRenderer.fromJSON({field1:u.name,uniqueValueInfos:_})}if(!r){var S=void 0,T=!1,M=void 0,O=void 0,C=void 0;"u8"===y&&"processed"===h?(S="none",g=1===m?[{min:0,max:255}]:[{min:0,max:255},{min:0,max:255},{min:0,max:255}]):"u8"===y||"elevation"===h?(S="min-max",T=!g):"scientific"===h?(S="min-max",T=!g,M=c):b&&b.length>0?(S="percent-clip",C=O=.25):g?S="min-max":(S="percent-clip",T=!0),r=n.RasterStretchRenderer.fromJSON({stretchType:S,dra:T,colorRamp:M,min:0,max:255,statistics:T?null:g,histograms:T?null:b,maxPercent:O,minPercent:C})}return r}},t.getDefaultBandCombination=function(e){var t=e.bandCount;if(1===t)return null;if(2===t)return[0];var n,r,i,a,o,l=e.keyProperties&&e.keyProperties.BandProperties;if(l&&l.length===t){for(var u=0;u<l.length;u++)l[u].BandName&&"red"===l[u].BandName.toLowerCase()&&(r=u),l[u].BandName&&"green"===l[u].BandName.toLowerCase()&&(i=u),l[u].BandName&&"blue"===l[u].BandName.toLowerCase()&&(a=u),l[u].BandName&&"nearinfrared"===l[u].BandName.toLowerCase()&&(o=u);void 0!==r&&void 0!==i&&void 0!==a?n=[r,i,a]:void 0!==r&&void 0!==i&&void 0!==o&&(n=[o,r,i])}return!n&&t>3&&(n=[0,1,2]),n};var d={none:0,standardDeviation:3,histogramEqualization:4,minMax:5,percentClip:6,sigmoid:9};function f(e,t){var n=s[String(t).toLowerCase()];return n&&e.push([Math.floor(n[0]-1),0,0,0],[Math.ceil(n[1]+1),0,0,0]),e}function h(e){if(e){var t=e.fields,n=t&&r.find(t,(function(e){return e&&e.name&&"value"===e.name.toLowerCase()}));return n&&n.name}}}).apply(null,r))||(e.exports=i)},YT9w:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("ImIS"),n("ycL1"),n("rg9i"),n("Vx27"),n("fsLf"),n("AWmc"),n("7ahC")],void 0===(i=(function(e,t,n,r,i,a,o,l,u,s){var c=r.strict()({pointCloudClassBreaksRenderer:"point-cloud-class-breaks",pointCloudRGBRenderer:"point-cloud-rgb",pointCloudStretchRenderer:"point-cloud-stretch",pointCloudUniqueValueRenderer:"point-cloud-unique-value"}),p=function(e){function t(t){var n=e.call(this,t)||this;return n.type=void 0,n.pointSizeAlgorithm=null,n.colorModulation=null,n.pointsPerInch=10,n}return n.__extends(t,e),t.prototype.clone=function(){return console.warn(".clone() is not implemented for "+this.declaredClass),null},t.prototype.cloneProperties=function(){return{pointSizeAlgorithm:a.clone(this.pointSizeAlgorithm),colorModulation:a.clone(this.colorModulation),pointsPerInch:a.clone(this.pointsPerInch)}},n.__decorate([o.property({type:c.apiValues,readOnly:!0,nonNullable:!0,json:{type:c.jsonValues,read:!1,write:c.write}})],t.prototype,"type",void 0),n.__decorate([o.property({types:s.pointSizeAlgorithmTypes,json:{read:u.read,write:!0}})],t.prototype,"pointSizeAlgorithm",void 0),n.__decorate([o.property({type:l.default,json:{write:!0}})],t.prototype,"colorModulation",void 0),n.__decorate([o.property({json:{write:!0},nonNullable:!0,type:Number})],t.prototype,"pointsPerInch",void 0),n.__decorate([o.subclass("esri.renderers.PointCloudRenderer")],t)}(i.JSONSupport);return function(e){e.fieldTransformTypeKebabDict=new r.JSONMap({none:"none",lowFourBit:"low-four-bit",highFourBit:"high-four-bit",absoluteValue:"absolute-value",moduloTen:"modulo-ten"})}(p||(p={})),p}).apply(null,r))||(e.exports=i)},a4MF:function(e,t,n){var r,i;r=[n.dj.c(e.i),t],void 0===(i=(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){void 0===e&&(e={}),this._options=e}return e.prototype.toQueryParams=function(e){var t=this;if(!e)return null;var n=e.toJSON(),r={};return Object.keys(n).forEach((function(e){var i=t._options[e];if(i){var a="boolean"!=typeof i&&i.name?i.name:e,o="boolean"!=typeof i&&i.getter?i.getter(n):n[e];null!=o&&(r[a]=function(e){if(!Array.isArray(e))return!1;var t=e[0];return"number"==typeof t||"string"==typeof t}(o)?o.join(","):"object"==typeof o?JSON.stringify(o):o)}else r[e]=n[e]}),this),r},e}();t.createQueryParamsHelper=function(e){return new n(e)}}).apply(null,r))||(e.exports=i)},ddAr:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("pMLx")],void 0===(i=(function(e,t,n,r){function i(e,t,i,a){if(!e)return null;var o=t.minScale,l=t.maxScale,u=t.minLOD,s=t.maxLOD;if(null!=u&&null!=s)return r.fromJSON(a&&a.ignoreMinMaxLOD?e:n.__assign(n.__assign({},e),{lods:e.lods.filter((function(e){var t=e.level;return null!=t&&t>=u&&t<=s}))}));if(0!==o&&0!==l){var c=function(e){return Math.round(1e4*e)/1e4},p=o?c(o):1/0,d=l?c(l):-1/0;return r.fromJSON(n.__assign(n.__assign({},e),{lods:e.lods.filter((function(e){var t=c(e.scale);return t<=p&&t>=d}))}))}return r.fromJSON(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.serviceTileInfoProperty={type:r,json:{origins:{service:{read:{source:["tileInfo","minScale","maxScale","minLOD","maxLOD"],reader:i}}}}},t.readServiceTileInfo=i}).apply(null,r))||(e.exports=i)},dhsc:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("R2Zq")],void 0===(i=(function(e,t,n){return function(){function e(e,t){void 0===e&&(e=15e3),void 0===t&&(t=5e3),this._timer=null,this._cachedBlocks=new Map,this._size=-1,this._duration=e,this._interval=Math.min(e,t)}return e.prototype.decreaseRefCount=function(e,t){var n=e+"/"+t,r=this._cachedBlocks;if(r.has(n)){var i=r.get(n);return i.refCount--,i.refCount<=0&&(r.delete(n),i.controller&&i.controller.abort()),i.refCount}return 0},e.prototype.getBlock=function(e,t){var n=e+"/"+t,r=this._cachedBlocks;if(r.has(n)){var i=r.get(n);return i.ts=Date.now(),i.refCount++,r.delete(n),r.set(n,i),i.block}return null},e.prototype.putBlock=function(e,t,n,r){void 0===r&&(r=null);var i=this._cachedBlocks,a=e+"/"+t;if(i.has(a)){var o=i.get(a);o.ts=Date.now(),o.refCount++}else i.set(a,{block:n,ts:Date.now(),refCount:1,controller:r});this.trim(),this.updateTimer()},e.prototype.deleteBlock=function(e,t){var n=this._cachedBlocks,r=e+"/"+t;n.has(r)&&n.delete(r)},e.prototype.updateMaxSize=function(e){this._size=e,this.trim()},e.prototype.empty=function(){this._cachedBlocks.clear(),this.clearTimer()},e.prototype.getCurrentSize=function(){return this._cachedBlocks.size},e.prototype.updateTimer=function(){var e=this;if(null==this._timer){var t=this._cachedBlocks;this._timer=setInterval((function(){for(var r=n.pairsOfMap(t),i=Date.now(),a=0;a<r.length&&r[a][1].ts<=i-e._duration;a++)t.delete(r[a][0]);0===t.size&&e.clearTimer()}),this._interval)}},e.prototype.trim=function(){var e=this._cachedBlocks;if(!(-1===this._size||this._size>=e.size))for(var t=n.pairsOfMap(e),r=0;r<t.length-this._size;r++)e.delete(t[r][0])},e.prototype.clearTimer=function(){null!=this._timer&&(clearInterval(this._timer),this._timer=null)},e}()}).apply(null,r))||(e.exports=i)},dkua:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){this.el=e,this.srcAttr=null}return e.prototype.ngAfterViewInit=function(){this.canLazyLoad()?this.lazyLoadImage():this.loadImage()},e.prototype.canLazyLoad=function(){return window&&"IntersectionObserver"in window},e.prototype.lazyLoadImage=function(){var e=this,t=new IntersectionObserver((function(n){n.forEach((function(n){n.isIntersecting&&(e.loadImage(),t.unobserve(e.el.nativeElement))}))}),{rootMargin:"230px 0px"});t.observe(this.el.nativeElement)},e.prototype.loadImage=function(){this.srcAttr=this.src},e}()},eBRX:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("zOht"),i=n("AytR"),a=n("Wm+i"),o=n("8Y7J"),l=n("IheW"),u=function(e){function t(t){return e.call(this,{entity:"chuyen-muc",apiUrl:i.a.apiUrl},t)||this}return Object(r.__extends)(t,e),t.prototype.getChuyenMuc=function(e){return this.http.get(i.a.apiUrl+"/chuyen-muc?filter=maChuyenMuc||$eq||"+e)},t.prototype.getChuyenMucTree=function(e){return this.http.get(i.a.apiUrl+"/chuyen-muc/tree/?root="+e)},t.\u0275prov=o["\u0275\u0275defineInjectable"]({factory:function(){return new t(o["\u0275\u0275inject"](l.c))},token:t,providedIn:"root"}),t}(a.a)},fsLf:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("ycL1"),n("Vx27")],i=(function(e,t,n,r,i){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.field=null,t.minValue=0,t.maxValue=255,t}var r;return n.__extends(t,e),r=t,t.prototype.clone=function(){return new r({field:this.field,minValue:this.minValue,maxValue:this.maxValue})},n.__decorate([i.property({type:String,json:{write:!0}})],t.prototype,"field",void 0),n.__decorate([i.property({type:Number,nonNullable:!0,json:{write:!0}})],t.prototype,"minValue",void 0),n.__decorate([i.property({type:Number,nonNullable:!0,json:{write:!0}})],t.prototype,"maxValue",void 0),r=n.__decorate([i.subclass("esri.renderers.support.pointCloud.ColorModulation")],t)}(r.JSONSupport);t.ColorModulation=a,t.default=a}).apply(null,r),void 0===i||(e.exports=i)},gBp5:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return function(){}}()},i6zL:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("KY0m"),n("BcWh"),n("eIBl"),n("rg9i"),n("jBNx"),n("8MXS"),n("Vx27"),n("tJCi"),n("TD84"),n("txZC")],void 0===(i=(function(e,t,n,r,i,a,o,l,u,s,c,p,d){return function(e){function t(t){var n=e.call(this,t)||this;return n._activeGraphic=null,n._dragEvent=null,n._handles=new a,n._hoverGraphic=null,n._initialDragGeometry=null,n._pointerDownEvent=null,n._viewHandles=new a,n.type="graphic-mover",n.callbacks={onGraphicClick:function(){},onGraphicDoubleClick:function(){},onGraphicMoveStart:function(){},onGraphicMove:function(){},onGraphicMoveStop:function(){},onGraphicPointerOver:function(){},onGraphicPointerOut:function(){},onGraphicPointerDown:function(){},onGraphicPointerUp:function(){}},n.enableMoveAllGraphics=!1,n.graphics=[],n.view=null,n}return n.__extends(t,e),t.prototype.initialize=function(){var e=this;this._handles.add([u.whenOnce(this,"view.ready",(function(){e._viewHandles.add([e.view.on("immediate-click",(function(t){return e._clickHandler(t)}),d.ViewEventPriorities.TOOL),e.view.on("double-click",(function(t){return e._doubleClickHandler(t)}),d.ViewEventPriorities.TOOL),e.view.on("pointer-down",(function(t){return e._pointerDownHandler(t)}),d.ViewEventPriorities.TOOL),e.view.on("pointer-move",(function(t){return e._pointerMoveHandler(t)}),d.ViewEventPriorities.TOOL),e.view.on("pointer-up",(function(t){return e._pointerUpHandler(t)}),d.ViewEventPriorities.TOOL),e.view.on("drag",(function(t){return e._dragHandler(t)}),d.ViewEventPriorities.TOOL),e.view.on("key-down",(function(t){return e._keyDownHandler(t)}),d.ViewEventPriorities.TOOL)])}))])},t.prototype.destroy=function(){this.reset(),this._viewHandles.removeAll(),this._handles.removeAll()},Object.defineProperty(t.prototype,"state",{get:function(){var e=!!this.get("view.ready"),t=!!this.get("graphics.length");return e&&t?this._activeGraphic?"moving":"active":e?"ready":"disabled"},enumerable:!0,configurable:!0}),t.prototype.reset=function(){this._activeGraphic=null,this._hoverGraphic=null,this._dragEvent=null},t.prototype.updateGeometry=function(e,t){var n=this.graphics[e];n&&n.set("geometry",t)},t.prototype._clickHandler=function(e){var t=this;this.view.hitTest(l.createScreenPointFromEvent(e)).then((function(n){var r=n.results;if(r.length&&r[0].graphic){var i=r[0].graphic;if(t.graphics.indexOf(i)>-1){var a=new p.GraphicClickEvent(i,t.graphics.indexOf(i),e.x,e.y,e);t.emit("graphic-click",a),t.callbacks.onGraphicClick&&t.callbacks.onGraphicClick(a)}}}))},t.prototype._doubleClickHandler=function(e){var t=this;this.view.hitTest(l.createScreenPointFromEvent(e)).then((function(n){var r=n.results;if(r.length&&r[0].graphic){var i=r[0].graphic;if(t.graphics.indexOf(i)>-1){var a=new p.GraphicDoubleClickEvent(i,t.graphics.indexOf(i),e.x,e.y,e);t.emit("graphic-double-click",a),t.callbacks.onGraphicDoubleClick&&t.callbacks.onGraphicDoubleClick(a)}}}))},t.prototype._pointerDownHandler=function(e){var t=this;this._pointerDownEvent=e,this.view.hitTest(l.createScreenPointFromEvent(e)).then((function(n){var i=r.find(n.results,(function(e){return-1!==t.graphics.indexOf(e.graphic)}));if(i){var a=i.graphic;if(t.graphics.indexOf(a)>-1){t._activeGraphic=a;var o=e.x,l=e.y,u=new p.GraphicPointerDownEvent(a,t.graphics.indexOf(a),o,l,e);t.emit("graphic-pointer-down",u),t.callbacks.onGraphicPointerDown&&t.callbacks.onGraphicPointerDown(u)}else a!==t._activeGraphic&&(t._pointerDownEvent=null,t._activeGraphic=null)}else t._pointerDownEvent=null,t._activeGraphic=null}))},t.prototype._pointerUpHandler=function(e){if(this._pointerDownEvent=null,this._activeGraphic){var t=e.x,n=e.y,r=this.graphics.indexOf(this._activeGraphic),i=new p.GraphicPointerUpEvent(this._activeGraphic,r,t,n,e);this._activeGraphic=null,this.emit("graphic-pointer-up",i),this.callbacks.onGraphicPointerUp&&this.callbacks.onGraphicPointerUp(i)}},t.prototype._pointerMoveHandler=function(e){var t=this;this._dragEvent||this.view.hitTest(l.createScreenPointFromEvent(e)).then((function(n){var r=n.results;if(r.length&&r[0].graphic){var i=r[0].graphic;if(i===t._hoverGraphic)return;if(t.graphics.indexOf(i)>-1){var a=e.x,o=e.y;if(t._hoverGraphic){var l=t.graphics.indexOf(t._hoverGraphic),u=new p.GraphicPointerOutEvent(t.graphics[l],l,a,o,e);t._hoverGraphic=null,t.emit("graphic-pointer-out",u),t.callbacks.onGraphicPointerOut&&t.callbacks.onGraphicPointerOut(u)}var s=t.graphics.indexOf(i),c=new p.GraphicPointerOverEvent(i,s,a,o,e);return t._hoverGraphic=i,t.emit("graphic-pointer-over",c),void(t.callbacks.onGraphicPointerOver&&t.callbacks.onGraphicPointerOver(c))}}t._hoverGraphic&&(a=e.x,o=e.y,l=t.graphics.indexOf(t._hoverGraphic),c=new p.GraphicPointerOutEvent(t.graphics[l],l,a,o,e),t._hoverGraphic=null,t.emit("graphic-pointer-out",c),t.callbacks.onGraphicPointerOut&&t.callbacks.onGraphicPointerOut(c))}))},t.prototype._dragHandler=function(e){var t=this;if(this._pointerDownEvent){if("start"!==e.action&&!this._dragEvent||!this._activeGraphic||!this._activeGraphic.geometry)return;e.stopPropagation();var n=e.x,r=e.y,i=this.graphics.indexOf(this._activeGraphic),a=this._activeGraphic.geometry,l=this._dragEvent?n-this._dragEvent.x:0,u=this._dragEvent?r-this._dragEvent.y:0,s=n-e.origin.x,d=r-e.origin.y;if(this._activeGraphic.geometry=c.cloneMove(a,l,u,this.view),this.enableMoveAllGraphics&&this.graphics.forEach((function(e){e!==t._activeGraphic&&(e.geometry=c.cloneMove(e.geometry,l,u,t.view))})),this._dragEvent=e,"start"===e.action){this._initialDragGeometry=o.clone(a);var f=new p.GraphicMoveStartEvent(this._activeGraphic,this.graphics,i,n,r,l,u,s,d,e);this.emit("graphic-move-start",f),this.callbacks.onGraphicMoveStart&&this.callbacks.onGraphicMoveStart(f),f.defaultPrevented&&this._activeGraphic.set("geometry",a)}else"update"===e.action?(f=new p.GraphicMoveEvent(this._activeGraphic,this.graphics,i,n,r,l,u,s,d,e),this.emit("graphic-move",f),this.callbacks.onGraphicMove&&this.callbacks.onGraphicMove(f),f.defaultPrevented&&this._activeGraphic.set("geometry",a)):(this._dragEvent=null,f=new p.GraphicMoveStopEvent(this._activeGraphic,this.graphics,i,n,r,l,u,s,d,e),this.emit("graphic-move-stop",f),this.callbacks.onGraphicMoveStop&&this.callbacks.onGraphicMoveStop(f),f.defaultPrevented&&this.graphics[i].set("geometry",this._initialDragGeometry),this._initialDragGeometry=null)}},t.prototype._keyDownHandler=function(e){"a"!==e.key&&"d"!==e.key&&"n"!==e.key||"moving"!==this.state||e.stopPropagation()},n.__decorate([s.property()],t.prototype,"_activeGraphic",void 0),n.__decorate([s.property({readOnly:!0})],t.prototype,"type",void 0),n.__decorate([s.property()],t.prototype,"callbacks",void 0),n.__decorate([s.property()],t.prototype,"enableMoveAllGraphics",void 0),n.__decorate([s.property()],t.prototype,"graphics",void 0),n.__decorate([s.property({dependsOn:["view.ready","graphics.length","_activeGraphic"],readOnly:!0})],t.prototype,"state",null),n.__decorate([s.property()],t.prototype,"view",void 0),n.__decorate([s.subclass("esri.views.draw.support.GraphicMover")],t)}(i.EventedAccessor)}).apply(null,r))||(e.exports=i)},il2l:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("zOht"),i=n("AytR"),a=n("Wm+i"),o=n("8Y7J"),l=n("IheW"),u=function(e){function t(t){return e.call(this,{entity:"hinh-anh",apiUrl:i.a.apiUrl},t)||this}return Object(r.__extends)(t,e),t.prototype.getMenuTree=function(){return this.http.get(i.a.apiUrl+"/menu/tree")},t.\u0275prov=o["\u0275\u0275defineInjectable"]({factory:function(){return new t(o["\u0275\u0275inject"](l.c))},token:t,providedIn:"root"}),t}(a.a)},jJpZ:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("nrlZ"),n("k7g7"),n("2Kdy")],void 0===(i=(function(e,t,r,i,a){Object.defineProperty(t,"__esModule",{value:!0});var o=function(){this.code=null,this.description=null},l=function(e){this.error=new o,this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error.description=e};function u(e){return new l(e)}t.createFeatureEditErrorResult=u;var s=function(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e};t.createFeatureEditSuccessResult=function(e){return new s(e)};var c,p=new Set;function d(e,t){var n=t;return"string"==typeof t&&a.isNumericField(e)?n=parseFloat(t):null!=t&&a.isStringField(e)&&"string"!=typeof t&&(n=String(t)),a.sanitizeNullFieldValue(n)}function f(){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(e){switch(e.label){case 0:return c?[2,c]:[4,new Promise((function(e,t){Promise.all([n.e(9),n.e(0)]).then((function(){var t=[n("tNTp")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))];case 1:return[2,c=e.sent()]}}))}))}t.mixAttributes=function(e,t,n,r,i,o){for(var l in void 0===i&&(i=!1),p.clear(),r){var s=e.get(l);if(s){var c=r[l],f=d(s,c);if(f!==c&&o&&o.push({name:"invalid-value-type",message:"attribute value was converted to match the field type",details:{field:s,originalValue:c,sanitizedValue:f}}),p.add(s.name),s&&(i||s.editable)){var h=a.validateFieldValue(s,f);if(h)return u(a.validationErrorToString(h,s,f));n[s.name]=f}}}for(var m=0,y=t;m<y.length;m++){var v=y[m];if(!p.has(v.name))return u('missing required field "'+v.name+'"')}return null},t.simplify=function(e,t){if(!e||!i.isValid(t))return e;if("rings"in e||"paths"in e){if(!c)throw new TypeError("geometry engine not loaded");return c.simplify(t,e)}return e},t.loadGeometryEngine=f,t.loadGeometryEngineForSimplify=function(e,t){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(n){switch(n.label){case 0:return!i.isValid(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t?[3,2]:[4,f()];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))}}).apply(null,r))||(e.exports=i)},jmRc:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("xoE+")],void 0===(i=(function(e,t,n){function r(e,t,r){var u=e.byteLength/(4*t),s=new Uint32Array(e,0,u*t),c=new Uint32Array(u),p=r&&r.minReduction||0,d=r&&r.originalIndices||null,f=r&&r.componentOffsets||null,h=0;if(f)for(var m=0;m<f.length-1;m++){var y=f[m+1]-f[m];y>h&&(h=y)}else h=u;var v=Math.floor(1.1*h)+1;for((null==l||l.length<2*v)&&(l=new Uint32Array(n.nextHighestPowerOfTwo(2*v))),m=0;m<2*v;m++)l[m]=0;var g=0,b=!!f&&!!d,_=b?d.length:u,w=b?new Uint32Array(d.length):null,x=1.96,S=0!==p?Math.ceil(4*x*x/(p*p)*p*(1-p)):_,T=1,M=f?f[1]:_;for(m=0;m<_;m++){if(m===S){var O=1-g/m;if(O+x*Math.sqrt(O*(1-O)/m)<p)return null;S*=2}if(m===M){for(var C=0;C<2*v;C++)l[C]=0;if(d)for(var L=f[T-1];L<f[T];L++)w[L]=c[d[L]];M=f[++T]}for(var P=b?d[m]:m,I=o(s,R=P*t,t),k=I%v,j=g;0!==l[2*k+1];){if(l[2*k]===I){var N=l[2*k+1]-1;if(i(s,R,N*t,t)){j=c[N];break}}++k>=v&&(k-=v)}j===g&&(l[2*k]=I,l[2*k+1]=P+1,g++),c[P]=j}if(0!==p&&1-g/u<p)return null;if(b){for(m=f[T-1];m<w.length;m++)w[m]=c[d[m]];c=w}var A=new Uint32Array(t*g);for(g=0,m=0;m<_;m++){var R;c[m]===g&&(a(s,R=(b?d[m]:m)*t,A,g*t,t),g++)}if(d&&!b){var D=new Uint32Array(d.length);for(m=0;m<D.length;m++)D[m]=c[d[m]];c=D}return{buffer:A.buffer,indices:c,uniqueCount:g}}function i(e,t,n,r){for(var i=0;i<r;i++)if(e[t+i]!==e[n+i])return!1;return!0}function a(e,t,n,r,i){for(var a=0;a<i;a++)n[r+a]=e[t+a]}function o(e,t,n){for(var r=0,i=0;i<n;i++)r=(r=e[t+i]+r|0)+(r<<11)+(r>>>2)|0;return r>>>0}Object.defineProperty(t,"__esModule",{value:!0}),t.deduplicate=r;var l=null;t.default=r}).apply(null,r))||(e.exports=i)},lbhO:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("Vx27"),n("mu/x")],i=(function(e,t,n,r,i){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="splat",t.scaleFactor=1,t}var i;return n.__extends(t,e),i=t,t.prototype.clone=function(){return new i({scaleFactor:this.scaleFactor})},n.__decorate([r.enumeration({pointCloudSplatAlgorithm:"splat"})],t.prototype,"type",void 0),n.__decorate([r.property({type:Number,value:1,nonNullable:!0,json:{write:!0}})],t.prototype,"scaleFactor",void 0),i=n.__decorate([r.subclass("esri.renderers.support.pointCloud.PointSizeSplatAlgorithm")],t)}(i.default);t.PointSizeSplatAlgorithm=a,t.default=a}).apply(null,r),void 0===i||(e.exports=i)},mEoI:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("TMur"),n("jZlN"),n("LxLY"),n("Vx27"),n("w1v0")],void 0===(i=(function(e,t,n,r,i,a,o,l){return function(e){function t(t){var n=e.call(this,t)||this;return n.extent=null,n.features=null,n.geometryType="polyline",n.routeId=null,n.routeName=null,n.totalDriveTime=null,n.totalLength=null,n.totalTime=null,n}return n.__extends(t,e),t.prototype.readFeatures=function(e,t){var n=this;(e||[]).forEach((function(e){n._decompressFeatureGeometry(e,t.summary.envelope.spatialReference)}));var o=r.SpatialReference.fromJSON(t.spatialReference);return e.map((function(e){var t=i.fromJSON(e);return t.geometry&&!(e.geometry&&e.geometry.spatialReference)&&(a.unwrap(t.geometry).spatialReference=o),t.strings=e.strings,t.events=(e.events||[]).map((function(t){var n=new i({geometry:new r.Point({x:t.point.x,y:t.point.y,z:t.point.z,hasZ:void 0!==t.point.z,spatialReference:e.geometry&&e.geometry.spatialReference}),attributes:{ETA:t.ETA,arriveTimeUTC:t.arriveTimeUTC}});return n.strings=t.strings,n})),t}))},Object.defineProperty(t.prototype,"mergedGeometry",{get:function(){if(!this.features)return null;var e=this.features.map((function(e){return a.unwrap(e.geometry)})),t=this.get("extent.spatialReference");return this._mergePolylinesToSinglePath(e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"strings",{get:function(){return this.features.map((function(e){return e.strings}))},enumerable:!0,configurable:!0}),t.prototype._decompressFeatureGeometry=function(e,t){e.geometry=this._decompressGeometry(e.compressedGeometry,t)},t.prototype._decompressGeometry=function(e,t){var n,r,i,a,o,l,u,s,c=0,p=0,d=0,f=0,h=[],m=0,y=0,v=0;if((o=e.match(/((\+|\-)[^\+\-\|]+|\|)/g))||(o=[]),0===parseInt(o[m],32)){m=2;var g=parseInt(o[m],32);m++,l=parseInt(o[m],32),m++,1&g&&(y=o.indexOf("|")+1,u=parseInt(o[y],32),y++),2&g&&(v=o.indexOf("|",y)+1,s=parseInt(o[v],32),v++)}else l=parseInt(o[m],32),m++;for(;m<o.length&&"|"!==o[m];){n=parseInt(o[m],32)+c,m++,c=n,r=parseInt(o[m],32)+p,m++,p=r;var b=[n/l,r/l];y&&(a=parseInt(o[y],32)+d,y++,d=a,b.push(a/u)),v&&(i=parseInt(o[v],32)+f,v++,f=i,b.push(i/s)),h.push(b)}return{paths:[h],hasZ:y>0,hasM:v>0,spatialReference:t}},t.prototype._mergePolylinesToSinglePath=function(e,t){var n=[];(e||[]).forEach((function(e){e.paths.forEach((function(e){n=n.concat(e)}))}));var i=[],a=[0,0];return n.forEach((function(e){e[0]===a[0]&&e[1]===a[1]||(i.push(e),a=e)})),new r.Polyline({paths:[i]},t)},n.__decorate([o.property({type:r.Extent,json:{read:{source:"summary.envelope"}}})],t.prototype,"extent",void 0),n.__decorate([o.property()],t.prototype,"features",void 0),n.__decorate([o.reader("features")],t.prototype,"readFeatures",null),n.__decorate([o.property()],t.prototype,"geometryType",void 0),n.__decorate([o.property({readOnly:!0,dependsOn:["features","extent.spatialReference"]})],t.prototype,"mergedGeometry",null),n.__decorate([o.property()],t.prototype,"routeId",void 0),n.__decorate([o.property()],t.prototype,"routeName",void 0),n.__decorate([o.property({value:null,readOnly:!0,dependsOn:["features"]})],t.prototype,"strings",null),n.__decorate([o.property({json:{read:{source:"summary.totalDriveTime"}}})],t.prototype,"totalDriveTime",void 0),n.__decorate([o.property({json:{read:{source:"summary.totalLength"}}})],t.prototype,"totalLength",void 0),n.__decorate([o.property({json:{read:{source:"summary.totalTime"}}})],t.prototype,"totalTime",void 0),n.__decorate([o.subclass("esri.tasks.support.DirectionsFeatureSet")],t)}(l)}).apply(null,r))||(e.exports=i)},mkxQ:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("rg9i"),n("Vx27"),n("YT9w"),n("sHoj"),n("Izrp")],void 0===(i=(function(e,t,n,r,i,a,o,l){return function(e){function t(t){var n=e.call(this,t)||this;return n.type="point-cloud-unique-value",n.field=null,n.fieldTransformType=null,n.colorUniqueValueInfos=null,n.legendOptions=null,n}var u;return n.__extends(t,e),u=t,t.prototype.clone=function(){return new u(n.__assign(n.__assign({},this.cloneProperties()),{field:r.clone(this.field),fieldTransformType:r.clone(this.fieldTransformType),colorUniqueValueInfos:r.clone(this.colorUniqueValueInfos),legendOptions:r.clone(this.legendOptions)}))},n.__decorate([i.enumeration({pointCloudUniqueValueRenderer:"point-cloud-unique-value"})],t.prototype,"type",void 0),n.__decorate([i.property({json:{write:!0},type:String})],t.prototype,"field",void 0),n.__decorate([i.property({type:a.fieldTransformTypeKebabDict.apiValues,json:{type:a.fieldTransformTypeKebabDict.jsonValues,read:a.fieldTransformTypeKebabDict.read,write:a.fieldTransformTypeKebabDict.write}})],t.prototype,"fieldTransformType",void 0),n.__decorate([i.property({type:[l.default],json:{write:!0}})],t.prototype,"colorUniqueValueInfos",void 0),n.__decorate([i.property({type:o.default,json:{write:!0}})],t.prototype,"legendOptions",void 0),u=n.__decorate([i.subclass("esri.renderers.PointCloudUniqueValueRenderer")],t)}(a)}).apply(null,r))||(e.exports=i)},mnow:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("TMur"),n("ma1f"),n("wIC5"),n("nrlZ"),n("vtMp")],void 0===(i=(function(e,t,n,r,i,a,o,l){Object.defineProperty(t,"__esModule",{value:!0});var u=function(e,t){var n=(e.isWGS84||e.isWebMercator)&&(t.isWGS84||t.isWebMercator);return!(e.equals(t)||n)};t.defaultGridSpacing=32,t.load=function(){return n.__awaiter(this,void 0,void 0,(function(){return n.__generator(this,(function(e){switch(e.label){case 0:return a.isLoaded()||!a.isSupported()?[2,null]:[4,a.load()];case 1:return e.sent(),[2]}}))}))},t.projectResolution=function(e,t,n,o){if(void 0===o&&(o=null),e.spatialReference.equals(t))return e;var s=u(e.spatialReference,t);if(s&&!a.isLoaded())throw new i("rasterprojectionhelper-projectResolution","projection engine is not loaded");var c=n.center,p=new r.Extent({xmin:c.x-e.x/2,xmax:c.x+e.x/2,ymin:c.y-e.y/2,ymax:c.y+e.y/2,spatialReference:e.spatialReference}),d=s?a.project(p,t,o):l.project(p,t);return null==d?null:new r.Point(d.xmax-d.xmin,d.ymax-d.ymin,t)},t.projectPoint=function(e,t,n){if(void 0===n&&(n=null),e.spatialReference.equals(t))return e;var r=u(e.spatialReference,t);if(r&&!a.isLoaded())throw new i("rasterprojectionhelper-projectResolution","projection engine is not loaded");return r?a.project(e,t,n):l.project(e,t)},t.projectExtent=function(e,t,n){if(void 0===n&&(n=null),e.spatialReference.equals(t))return e;var r=u(e.spatialReference,t);if(r&&!a.isLoaded())throw new i("rasterprojectionhelper-projectExtent","projection engine is not loaded");return r?a.project(e,t,n):l.project(e,t)},t.getProjectionOffsetGrid=function(e,n,s,c,p,d){void 0===c&&(c=null),void 0===p&&(p=!1),void 0===d&&(d=[t.defaultGridSpacing,t.defaultGridSpacing]);var f=n.spatialReference.equals(e.spatialReference),h=u(e.spatialReference,n.spatialReference);if(h&&!a.isLoaded())throw new i("rasterprojectionhelper-projectResolution","projection engine is not loaded");if(!(e&&n&&s))return null;for(var m,y,v,g=e.xmin,b=e.ymin,_=e.xmax,w=e.ymax,x=e.spatialReference,S=n.spatialReference,T=o.getInfo(x),M=T&&T.valid[0],O=T&&T.valid[1],C={x:d[0]*s.x,y:d[1]*s.y},L={cols:Math.ceil((_-g)/C.x-.1)+1,rows:Math.ceil((w-b)/C.y-.1)+1},P=C.x,I=C.y,k=[],j=!1,N=0;N<L.cols;N++){for(var A=[],R=0;R<L.rows;R++)m=new r.Point({x:g+P*N,y:w-I*R,spatialReference:x}),y=f?m:h?a.project(m,S,c):l.project(m,S),A.push(y),N>0&&p&&y&&v[R]&&T&&y.x<v[R].x&&(y.x+=O-M),y?(k.push((y.x-n.xmin)/(n.xmax-n.xmin)),k.push((n.ymax-y.y)/(n.ymax-n.ymin))):(k.push(NaN),k.push(NaN),j=!0);v=A}var D=function(e,t){var n=(e[1]+e[5]+e[4*t.rows+1]+e[4*t.rows+5])/4;return[Math.abs((e[0]+e[4]+e[4*t.cols]+e[4*t.cols+4])/4-e[2*t.rows+2]),Math.abs(n-e[2*t.rows+3])]}(k,L),E=new Float32Array((L.cols-1)*(L.rows-1)*2*6),z=new Float32Array([-0,-1,1,-1,1,-0,1,-0,-0]),F=new Float32Array([-1,1,0,0,-1,1,1,0,0]);for(N=0;N<L.cols-1;N++){for(R=0;R<L.rows-1;R++){for(var G=N*L.rows*2+2*R,V=k[G],U=k[G+1],B=k[G+2],q=k[G+3],J=k[G+=2*L.rows],W=k[G+1],K=k[G+2],H=k[G+3],Z=0,Y=12*(R*(L.cols-1)+N),Q=0;Q<3;Q++)E[Y++]=z[Z++]*V+z[Z++]*B+z[Z++]*K;for(Z=0,Q=0;Q<3;Q++)E[Y++]=z[Z++]*U+z[Z++]*q+z[Z++]*H;for(Z=0,Q=0;Q<3;Q++)E[Y++]=F[Z++]*V+F[Z++]*J+F[Z++]*K;for(Z=0,Q=0;Q<3;Q++)E[Y++]=F[Z++]*U+F[Z++]*W+F[Z++]*H}if(j)for(var X=0;X<E.length;X++)isNaN(E[X])&&(E[X]=-1)}return{offsets:k,error:D,coefficients:E,spacing:d,size:[L.cols-1,L.rows-1]}},t.snapPyramid=function(e,t,n){var i=Math.log(e.x/t.pixelSize.x)/Math.LN2,a=Math.log(e.y/t.pixelSize.y)/Math.LN2,o=t.storageInfo.maximumPyramidLevel||0,l="down"===n?Math.floor(Math.min(i,a)):"up"===n?Math.ceil(Math.max(i,a)):Math.round((i+a)/2),u=!1;l<0?l=0:l>o&&(u=l>o+3,l=o);var s=Math.pow(2,l);return{pyramidLevel:l,pyramidResolution:new r.Point({x:s*t.pixelSize.x,y:s*t.pixelSize.y,spatialReference:t.spatialReference}),excessiveReading:u}}}).apply(null,r))||(e.exports=i)},"mu/x":function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("ImIS"),n("ycL1"),n("Vx27")],i=(function(e,t,n,r,i,a){Object.defineProperty(t,"__esModule",{value:!0}),t.typeKebabDictionary=new r.default({pointCloudFixedSizeAlgorithm:"fixed-size",pointCloudSplatAlgorithm:"splat"});var o=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(r,e),n.__decorate([a.property({type:t.typeKebabDictionary.apiValues,readOnly:!0,nonNullable:!0,json:{type:t.typeKebabDictionary.jsonValues,read:!1,write:t.typeKebabDictionary.write}})],r.prototype,"type",void 0),n.__decorate([a.subclass("esri.renderers.support.pointCloud.PointSizeAlgorithm")],r)}(i.JSONSupport);t.PointSizeAlgorithm=o,t.default=o}).apply(null,r),void 0===i||(e.exports=i)},oS9z:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r=n("8Y7J"),i=n("/Jv6"),a=n("araw"),o=n("WnYY"),l=n("SVse"),u=n("YKPo"),s=n("p0Gw"),c=n("cUpR"),p=n("iInd"),d=r["\u0275crt"]({encapsulation:0,styles:[[".description[_ngcontent-%COMP%]{font-weight:500;color:#888}.title-location[_ngcontent-%COMP%]{color:#888}app-mini-map[_ngcontent-%COMP%]{height:500px;width:100%}.map[_ngcontent-%COMP%]{height:500px}"]],data:{}});function f(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,21,"div",[["class","container text-justify"]],null,null,null,null,null)),(e()(),r["\u0275eld"](1,0,null,null,1,"h2",[["class","title"]],null,null,null,null,null)),(e()(),r["\u0275ted"](2,null,["",""])),(e()(),r["\u0275eld"](3,0,null,null,6,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](4,null,["N\u1eb1m t\u1ea1i ",", v\u1edbi t\u1ed5ng di\u1ec7n t\xedch "])),(e()(),r["\u0275eld"](5,0,null,null,4,"b",[],null,null,null,null,null)),(e()(),r["\u0275ted"](6,null,[""," m"])),r["\u0275ppd"](7,1),(e()(),r["\u0275eld"](8,0,null,null,1,"sup",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["2"])),(e()(),r["\u0275eld"](10,0,null,null,4,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["D\u01b0 \xe1n c\xf3 t\u1ed5ng m\u1ee9c \u0111\u1ea7u t\u01b0 d\u1ef1 ki\u1ebfn "])),(e()(),r["\u0275eld"](12,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),r["\u0275ted"](13,null,[""," ",""])),r["\u0275ppd"](14,1),(e()(),r["\u0275eld"](15,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](16,null,["",""])),(e()(),r["\u0275eld"](17,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](18,null,["M\u1ee5c ti\xeau k\xeau g\u1ecdi \u0111\u1ea7u t\u01b0 \u0111\u1ec3 "," v\u1edbi quy m\xf4 ",""])),(e()(),r["\u0275eld"](19,0,null,null,2,"div",[["class","map"]],null,null,null,null,null)),(e()(),r["\u0275eld"](20,0,null,null,1,"app-mini-map",[],null,[[null,"loaded"]],(function(e,t,n){var r=!0;return"loaded"===t&&(r=!1!==e.component.handleMapLoaded(n)&&r),r}),i.b,i.a)),r["\u0275did"](21,114688,null,0,a.a,[o.a],{queryParams:[0,"queryParams"]},{loaded:"loaded"})],(function(e,t){e(t,21,0,t.component.getQueryParams())}),(function(e,t){var n=t.component;e(t,2,0,n.data.TenDiem),e(t,4,0,n.data.ViTri);var i=r["\u0275unv"](t,6,0,e(t,7,0,r["\u0275nov"](t.parent,0),n.data.DienTich));e(t,6,0,i);var a=r["\u0275unv"](t,13,0,e(t,14,0,r["\u0275nov"](t.parent,0),n.data.TongMucDauTuDuKien));e(t,13,0,a,n.data.DonViTinh),e(t,16,0,n.data.MoTa),e(t,18,0,n.data.MucTieuDuAn,n.data.QuyMoDuAn)}))}function h(e){return r["\u0275vid"](0,[r["\u0275pid"](0,l.DecimalPipe,[r.LOCALE_ID]),(e()(),r["\u0275and"](16777216,null,null,1,null,f)),r["\u0275did"](2,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,2,0,t.component.data)}),null)}function m(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-chi-tiet",[],null,null,null,h,d)),r["\u0275did"](1,114688,null,0,u.a,[s.a,c.h,p.m,p.a],null,null)],(function(e,t){e(t,1,0)}),null)}var y=r["\u0275ccf"]("app-chi-tiet",u.a,m,{},{},[])},pOAQ:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("QmTF"),n("WYOF")],void 0===(i=(function(e,t,n,r,i){function a(e,t,a,o){return n.__awaiter(this,void 0,void 0,(function(){var l;return n.__generator(this,(function(n){switch(n.label){case 0:return e.layerType&&"ArcGISFeatureLayer"===e.layerType?e.url?[2,!1]:e.featureCollectionType&&e.featureCollectionType===a?[2,!0]:e.itemId?[4,(l=new r({id:e.itemId,portal:t})).load()]:[3,2]:[2,!1];case 1:return n.sent(),[2,"Feature Collection"===l.type&&i.hasTypeKeyword(l,o)];case 2:return[2,!1]}}))}))}Object.defineProperty(t,"__esModule",{value:!0}),t.isMapNotesLayer=function(e,t){return a(e,t,"notes","Map Notes")},t.isRouteLayer=function(e,t){return a(e,t,"route","Route Layer")}}).apply(null,r))||(e.exports=i)},qasq:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("rg9i"),n("Vx27"),n("YT9w"),n("sHoj"),n("FPyo")],void 0===(i=(function(e,t,n,r,i,a,o,l){return function(e){function t(t){var n=e.call(this,t)||this;return n.type="point-cloud-stretch",n.field=null,n.legendOptions=null,n.fieldTransformType=null,n.stops=null,n}var u;return n.__extends(t,e),u=t,t.prototype.clone=function(){return new u(n.__assign(n.__assign({},this.cloneProperties()),{field:r.clone(this.field),fieldTransformType:r.clone(this.fieldTransformType),stops:r.clone(this.stops),legendOptions:r.clone(this.legendOptions)}))},n.__decorate([i.enumeration({pointCloudStretchRenderer:"point-cloud-stretch"})],t.prototype,"type",void 0),n.__decorate([i.property({json:{write:!0},type:String})],t.prototype,"field",void 0),n.__decorate([i.property({type:o.default,json:{write:!0}})],t.prototype,"legendOptions",void 0),n.__decorate([i.property({type:a.fieldTransformTypeKebabDict.apiValues,json:{type:a.fieldTransformTypeKebabDict.jsonValues,read:a.fieldTransformTypeKebabDict.read,write:a.fieldTransformTypeKebabDict.write}})],t.prototype,"fieldTransformType",void 0),n.__decorate([i.property({type:[l.default],json:{write:!0}})],t.prototype,"stops",void 0),u=n.__decorate([i.subclass("esri.renderers.PointCloudStretchRenderer")],t)}(a)}).apply(null,r))||(e.exports=i)},sYb8:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("QDcU"),n("ycL1"),n("rg9i"),n("Vx27"),n("1dvD")],i=(function(e,t,n,r,i,a,o,l){Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.description=null,t.label=null,t.minValue=0,t.maxValue=0,t.color=null,t}var i;return n.__extends(t,e),i=t,t.prototype.clone=function(){return new i({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,color:a.clone(this.color)})},n.__decorate([o.property({type:String,json:{write:!0}})],t.prototype,"description",void 0),n.__decorate([o.property({type:String,json:{write:!0}})],t.prototype,"label",void 0),n.__decorate([o.property({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],t.prototype,"minValue",void 0),n.__decorate([o.property({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],t.prototype,"maxValue",void 0),n.__decorate([o.property({type:r,json:{type:[l.Integer],write:!0}})],t.prototype,"color",void 0),i=n.__decorate([o.subclass("esri.renderers.support.pointCloud.ColorClassBreakInfo")],t)}(i.JSONSupport);t.ColorClassBreakInfo=u,t.default=u}).apply(null,r),void 0===i||(e.exports=i)},sbtd:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("aG1b"),i=function(){function e(e,t,n,i,a,o){this.khuCongNghiepService=e,this.titleService=t,this.router=n,this.activatedRouter=i,this.attachmentService=a,this.searchBoxService=o,this.isSearching=!1,this.db="KCN",this.Mode=r.b,this.modeView=r.b.Table,this.count=0}return e.prototype.ngOnInit=function(){var e=this;this.activatedRouter.queryParamMap.subscribe((function(t){t.get("page");var n=t.get("q"),r=t.get("lv"),i=t.get("dv"),a=+t.get("kc"),o=+t.get("dtt"),l=+t.get("dtf"),u=t.get("qh"),s=t.get("px"),c=t.get("tt");e.khuCongNghieps=void 0,n||r||i||a||o||l||u||s||c?e.searchBoxService.advancedSearch({q:n,db:e.db,lv:r,dv:i,kc:a,dtt:o,dtf:l,qh:u,px:s,tt:c}).then((function(t){e.isSearching=!0,e.attachment(t)})):e.loadData()})),this.khuCongNghiepService.getCount({where:"1=1"}).then((function(t){return e.count=t})),this.titleService.setTitle("X\xfac ti\u1ebfn \u0111\u1ea7u t\u01b0 - Khu c\xf4ng nghi\u1ec7p"),this.statistic()},e.prototype.loadData=function(){var e=this;this.khuCongNghiepService.getAll({query:{where:"1=1",orderByFields:["OBJECTID DESC"],outFields:["OBJECTID","TenKhu","ViTri","DienTich","LinhVucNganhNgheDauTu","GiaChoThueChiTiet"]}}).then((function(t){var n=t.features.map((function(e){return e.attributes}));e.attachment(n)}))},e.prototype.attachment=function(e){var t=this,n=e.map((function(e){return e.OBJECTID}));this.attachmentService.queryAttachments({objectIds:n}).then((function(n){t.khuCongNghieps=e.map((function(e){var t=n.find((function(t){return t.objectId===e.OBJECTID})),r=t.attachments.length-1;return e.Url=t&&t.attachments[r]&&t.attachments[r].url,e}))}))},e.prototype.statistic=function(){var e=this;this.khuCongNghiepService.getAll({query:{outStatistics:[{statisticType:"sum",onStatisticField:"DienTichDatDaChoThue",outStatisticFieldName:"TongDienTichDatDaChoThue"},{statisticType:"sum",onStatisticField:"DienTichDatConTrong",outStatisticFieldName:"TongDienTichDatConTrong"}]}}).then((function(t){var n=t.features[0].attributes;e.statistics=[{name:"Cho thu\xea",value:n.TongDienTichDatDaChoThue?n.TongDienTichDatDaChoThue:0},{name:"C\xf2n tr\u1ed1ng",value:n.TongDienTichDatConTrong?n.TongDienTichDatConTrong:0}]}))},e.prototype.reload=function(){this.loadData(),this.isSearching=!1},e}()},soIt:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("qMld"),n("Cobz"),n("f3JK")],void 0===(i=(function(e,t,n,r,i){return function(){function e(e){if(e instanceof r.TilemapCache)this._tilemapCache=e;else{if(!e||!("index"in e))throw new Error("Invalid tilemap!");this._tilemap=e.index}}return e.prototype.dataKey=function(e,t){if(this._tilemapCache){var r=e.level,a=e.row,o=e.col,l=new i(e);return this._tilemapCache.fetchAvailabilityUpsample(r,a,o,l,t).then((function(){return l})).catch((function(e){if(n.isAbortError(e))throw e;return null}))}return this._getIndexedDataKey(e)},e.prototype.forEach=function(e,t,n,r,i){this._callback=i,this._maxLevel=t+e,this._forEach(this._tilemap,t,n,r)},e.prototype._forEach=function(e,t,n,r){0!==e&&(this._callback(t,n,r),t!==this._maxLevel&&"object"==typeof e&&(this._forEach(e[0],t+1,2*n,2*r),this._forEach(e[1],t+1,2*n,2*r+1),this._forEach(e[2],t+1,2*n+1,2*r),this._forEach(e[3],t+1,2*n+1,2*r+1)))},e.prototype._getIndexedDataKey=function(e){var t=[e];if(e.level<0||e.row<0||e.col<0||e.row>>e.level>0||e.col>>e.level>0)return n.resolve(null);for(var r=e;0!==r.level;)r=new i(r.level-1,r.row>>1,r.col>>1,r.world),t.push(r);var a,o,l=this._tilemap,u=t.pop();if(1===l)return n.resolve(u);for(;t.length;)if(o=(1&(a=t.pop()).col)+((1&a.row)<<1),l){if(0===l[o]){u=null;break}if(1===l[o]){u=a;break}u=a,l=l[o]}return n.resolve(u)},e}()}).apply(null,r))||(e.exports=i)},stJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n("8Y7J"),i=n("iInd"),a=n("SVse"),o=(n("8cc8"),r["\u0275crt"]({encapsulation:0,styles:[[".wrap-title[_ngcontent-%COMP%]{text-align:center}.wrap-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.wrap-title[_ngcontent-%COMP%] .cursor[_ngcontent-%COMP%]{cursor:pointer}.wrap-title[_ngcontent-%COMP%] .line-horizontal[_ngcontent-%COMP%]{width:85px;height:1.5px;margin:0 auto;background:#ff6863}"]],data:{}}));function l(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r["\u0275nov"](e,1).onClick(n.button,n.ctrlKey,n.shiftKey,n.altKey,n.metaKey)&&i),i}),null,null)),r["\u0275did"](1,671744,null,0,i.p,[i.m,i.a,a.LocationStrategy],{routerLink:[0,"routerLink"]},null),r["\u0275pad"](2,1),(e()(),r["\u0275eld"](3,0,null,null,1,"h3",[["class","my-2 cursor"]],null,null,null,null,null)),(e()(),r["\u0275ted"](4,null,[""," "]))],(function(e,t){var n=e(t,2,0,t.component.path);e(t,1,0,n)}),(function(e,t){var n=t.component;e(t,0,0,r["\u0275nov"](t,1).target,r["\u0275nov"](t,1).href),e(t,4,0,n.title)}))}function u(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,3,"div",[["class","wrap-title"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,l)),r["\u0275did"](2,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r["\u0275eld"](3,0,null,null,0,"div",[["class","line-horizontal"]],null,null,null,null,null))],(function(e,t){e(t,2,0,t.component.path,r["\u0275nov"](t.parent,2))}),null)}function s(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"h3",[["class","my-2"]],null,null,null,null,null)),(e()(),r["\u0275ted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.title)}))}function c(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,u)),r["\u0275did"](1,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](0,[["nonePath",2]],null,0,null,s))],(function(e,t){e(t,1,0,t.component.title)}),null)}},tNTp:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("vFDJ"),n("H9Hv")],void 0===(i=(function(e,t,n,r){Object.defineProperty(t,"__esModule",{value:!0}),t.extendedSpatialReferenceInfo=function(e){return n.extendedSpatialReferenceInfo(e)},t.clip=function(e,t,i){return n.clip(r.jsonAdapter,e,t,i)},t.cut=function(e,t,i){return n.cut(r.jsonAdapter,e,t,i)},t.contains=function(e,t,i){return n.contains(r.jsonAdapter,e,t,i)},t.crosses=function(e,t,i){return n.crosses(r.jsonAdapter,e,t,i)},t.distance=function(e,t,i,a){return n.distance(r.jsonAdapter,e,t,i,a)},t.equals=function(e,t,i){return n.equals(r.jsonAdapter,e,t,i)},t.intersects=function(e,t,i){return n.intersects(r.jsonAdapter,e,t,i)},t.touches=function(e,t,i){return n.touches(r.jsonAdapter,e,t,i)},t.within=function(e,t,i){return n.within(r.jsonAdapter,e,t,i)},t.disjoint=function(e,t,i){return n.disjoint(r.jsonAdapter,e,t,i)},t.overlaps=function(e,t,i){return n.overlaps(r.jsonAdapter,e,t,i)},t.relate=function(e,t,i,a){return n.relate(r.jsonAdapter,e,t,i,a)},t.isSimple=function(e,t){return n.isSimple(r.jsonAdapter,e,t)},t.simplify=function(e,t){return n.simplify(r.jsonAdapter,e,t)},t.convexHull=function(e,t,i){return void 0===i&&(i=!1),n.convexHull(r.jsonAdapter,e,t,i)},t.difference=function(e,t,i){return n.difference(r.jsonAdapter,e,t,i)},t.symmetricDifference=function(e,t,i){return n.symmetricDifference(r.jsonAdapter,e,t,i)},t.intersect=function(e,t,i){return n.intersect(r.jsonAdapter,e,t,i)},t.union=function(e,t,i){return void 0===i&&(i=null),n.union(r.jsonAdapter,e,t,i)},t.offset=function(e,t,i,a,o,l,u){return n.offset(r.jsonAdapter,e,t,i,a,o,l,u)},t.buffer=function(e,t,i,a,o){return void 0===o&&(o=!1),n.buffer(r.jsonAdapter,e,t,i,a,o)},t.geodesicBuffer=function(e,t,i,a,o,l,u){return n.geodesicBuffer(r.jsonAdapter,e,t,i,a,o,l,u)},t.nearestCoordinate=function(e,t,i,a){return void 0===a&&(a=!0),n.nearestCoordinate(r.jsonAdapter,e,t,i,a)},t.nearestVertex=function(e,t,i){return n.nearestVertex(r.jsonAdapter,e,t,i)},t.nearestVertices=function(e,t,i,a,o){return n.nearestVertices(r.jsonAdapter,e,t,i,a,o)},t.rotate=function(e,t,r,i){if(null==t||null==i)throw new Error("Illegal Argument Exception");var a=n.rotate(t,r,i);return a.spatialReference=e,a},t.flipHorizontal=function(e,t,r){if(null==t||null==r)throw new Error("Illegal Argument Exception");var i=n.flipHorizontal(t,r);return i.spatialReference=e,i},t.flipVertical=function(e,t,r){if(null==t||null==r)throw new Error("Illegal Argument Exception");var i=n.flipVertical(t,r);return i.spatialReference=e,i},t.generalize=function(e,t,i,a,o){return n.generalize(r.jsonAdapter,e,t,i,a,o)},t.densify=function(e,t,i,a){return n.densify(r.jsonAdapter,e,t,i,a)},t.geodesicDensify=function(e,t,i,a,o){return void 0===o&&(o=0),n.geodesicDensify(r.jsonAdapter,e,t,i,a,o)},t.planarArea=function(e,t,i){return n.planarArea(r.jsonAdapter,e,t,i)},t.planarLength=function(e,t,i){return n.planarLength(r.jsonAdapter,e,t,i)},t.geodesicArea=function(e,t,i,a){return n.geodesicArea(r.jsonAdapter,e,t,i,a)},t.geodesicLength=function(e,t,i,a){return n.geodesicLength(r.jsonAdapter,e,t,i,a)}}).apply(null,r))||(e.exports=i)},tvxA:function(e,t,n){"use strict";n.r(t),n.d(t,"KhuKinhTeModuleNgFactory",(function(){return Oe}));var r=n("8Y7J"),i=function(){return function(){}}(),a=n("9cE2"),o=n("007U"),l=n("ntJQ"),u=n("nmIE"),s=n("pMnS"),c=n("Wk/b"),p=n("SVse"),d=n("stJ5"),f=n("8cc8"),h=n("PFrz"),m=n("60A/"),y=n("iInd"),v=n("/Jv6"),g=n("araw"),b=n("WnYY"),_=n("zOht"),w=n("gPSA"),x=n("tpwP"),S=n("Zvuv"),T=n.n(S),M=n("qb7p"),O=n.n(M),C=function(){function e(e,t,n,r){this.khuCongNghiepService=e,this.khuKinhTeService=t,this.titleService=n,this.attachmentService=r,this.khuKinhTes=[],this.page=0,this.count=0,this.amount=9,this.isPagination=!0}return e.prototype.ngOnInit=function(){var e=this;this.titleService.setTitle("X\xfac ti\u1ebfn \u0111\u1ea7u t\u01b0 - Khu kinh t\u1ebf"),this.khuCongNghiepService.getCount({where:"Parent='"+w.a.KhuKinhTe+"'"}).then((function(t){return e.count=t})),this.loadData(),this.khuKinhTeService.getAll().then((function(t){var n=t.features;n.length>0&&(e.data=n[0].attributes)}))},e.prototype.handleMapLoaded=function(e){var t=this,n=new T.a({url:x.f});e.map.add(n),e.ui.add(new O.a({view:e}),"bottom-right"),e.whenLayerView(n).then((function(r){t.data&&(r.highlight(t.data.OBJECTID),n.queryFeatures({objectIds:[t.data.OBJECTID],returnGeometry:!0,outSpatialReference:e.spatialReference}).then((function(t){e.goTo(t.features)})))}))},e.prototype.loadData=function(e,t){var n=this;void 0===e&&(e=this.amount),void 0===t&&(t=this.page),this.khuCongNghiepService.getAll({query:{where:"Parent='"+w.a.KhuKinhTe+"'",orderByFields:["OBJECTID"],start:e*t,num:e,outFields:["*"]}}).then((function(e){return Object(_.__awaiter)(n,void 0,void 0,(function(){var t,n;return Object(_.__generator)(this,(function(r){switch(r.label){case 0:return t=e.features.map((function(e){return e.attributes.OBJECTID})),[4,this.attachmentService.queryAttachments({objectIds:t})];case 1:return n=r.sent(),this.khuKinhTes=e.features.map((function(e){var t=n.find((function(t){return t.objectId===e.attributes.OBJECTID})),r=t.attachments.length-1;return e.attributes.Url=t&&t.attachments[r]&&t.attachments[r].url,e.attributes})),[2]}}))}))}))},e.prototype.viewMore=function(){this.page++,this.loadData()},e.prototype.getQueryParams=function(){return{id:this.data&&this.data.OBJECTID,t:"RanhGioiKhu"}},e}(),L=n("5h5A"),P=n("92U1"),I=n("cUpR"),k=n("G0y5"),j=r["\u0275crt"]({encapsulation:0,styles:[['.map[_ngcontent-%COMP%]{height:500px}.bg-header[_ngcontent-%COMP%]{background-image:url(/assets/nhon-hoi.png);background-size:cover;background-repeat:no-repeat;height:60vh;margin:0;padding:0;position:relative}.bg-header[_ngcontent-%COMP%]:before{position:absolute;left:0;top:0;width:100%;height:100%;content:"";color:#fff;background:linear-gradient(180deg,transparent,rgba(0,0,0,.5));background-clip:content-box}']],data:{}});function N(e){return r["\u0275vid"](0,[r["\u0275pid"](0,p.DecimalPipe,[r.LOCALE_ID]),(e()(),r["\u0275eld"](1,0,null,null,31,"div",[["class","container"]],null,null,null,null,null)),(e()(),r["\u0275eld"](2,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),r["\u0275ted"](3,null,["",""])),(e()(),r["\u0275eld"](4,0,null,null,6,"p",[],null,null,null,null,null)),(e()(),r["\u0275eld"](5,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),r["\u0275eld"](6,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Di\u1ec7n t\xedch: "])),(e()(),r["\u0275eld"](8,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),r["\u0275ted"](9,null,[""," (m2)"])),r["\u0275ppd"](10,1),(e()(),r["\u0275eld"](11,0,null,null,5,"p",[],null,null,null,null,null)),(e()(),r["\u0275eld"](12,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),r["\u0275eld"](13,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["V\u1ecb tr\xed: "])),(e()(),r["\u0275eld"](15,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["\u0275ted"](16,null,["",""])),(e()(),r["\u0275eld"](17,0,null,null,5,"p",[],null,null,null,null,null)),(e()(),r["\u0275eld"](18,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),r["\u0275eld"](19,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["L\u0129nh v\u1ef1c, ng\xe0nh ngh\u1ec1 \u0111\u1ea7u t\u01b0: "])),(e()(),r["\u0275eld"](21,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["\u0275ted"](22,null,["",""])),(e()(),r["\u0275eld"](23,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](24,null,["",""])),(e()(),r["\u0275eld"](25,0,null,null,1,"app-title",[["title","Khu c\xf4ng nghi\u1ec7p"]],null,null,null,d.b,d.a)),r["\u0275did"](26,114688,null,0,f.a,[],{title:[0,"title"]},null),(e()(),r["\u0275eld"](27,0,null,null,1,"app-post-item",[["url","khu-cong-nghiep"]],null,null,null,h.b,h.a)),r["\u0275did"](28,114688,null,0,m.a,[y.m],{data:[0,"data"],url:[1,"url"]},null),(e()(),r["\u0275eld"](29,0,null,null,3,"div",[["style","margin-top: 3rem"]],null,null,null,null,null)),(e()(),r["\u0275eld"](30,0,null,null,2,"div",[["class","map"]],null,null,null,null,null)),(e()(),r["\u0275eld"](31,0,null,null,1,"app-mini-map",[],null,[[null,"loaded"]],(function(e,t,n){var r=!0;return"loaded"===t&&(r=!1!==e.component.handleMapLoaded(n)&&r),r}),v.b,v.a)),r["\u0275did"](32,114688,null,0,g.a,[b.a],{queryParams:[0,"queryParams"]},{loaded:"loaded"})],(function(e,t){var n=t.component;e(t,26,0,"Khu c\xf4ng nghi\u1ec7p"),e(t,28,0,n.khuKinhTes,"khu-cong-nghiep"),e(t,32,0,n.getQueryParams())}),(function(e,t){var n=t.component;e(t,3,0,n.data&&n.data.TenKhu);var i=r["\u0275unv"](t,9,0,e(t,10,0,r["\u0275nov"](t,0),n.data&&n.data.DienTich));e(t,9,0,i),e(t,16,0,n.data&&n.data.ViTri),e(t,22,0,n.data&&n.data.LinhVucNganhNgheDauTu),e(t,24,0,n.data&&n.data.ThongTinThem)}))}function A(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-khu-kinh-te",[],null,null,null,N,j)),r["\u0275did"](1,114688,null,0,C,[L.a,P.a,I.h,k.a],null,null)],(function(e,t){e(t,1,0)}),null)}var R=r["\u0275ccf"]("app-khu-kinh-te",C,A,{amount:"amount"},{},[]),D=n("1O3W"),E=n("9gLZ"),z=n("iELJ"),F=n("9b/N"),G=n("UhP/"),V=n("rJgo"),U=n("ZTz/"),B=n("ZFy/"),q=n("hzfI"),J=n("TN/R"),W=n("uFzR"),K=n("SCoL"),H=n("s7LF"),Z=n("Lnru"),Y=n("w9WL"),Q=n("vrAh"),X=n("YEUz"),$=n("Dxy4"),ee=n("1z/I"),te=n("7KAL"),ne=n("Q2Ze"),re=n("Tj54"),ie=n("8sFK"),ae=n("e6WT"),oe=n("BSbQ"),le=n("SqCe"),ue=n("pu8Q"),se=n("q7Ft"),ce=n("jMqV"),pe=n("zHaW"),de=n("M9ds"),fe=n("l0rg"),he=n("PDjf"),me=n("BTe0"),ye=n("q59W"),ve=n("pMoy"),ge=n("+pSP"),be=n("zQhy"),_e=n("5dmV"),we=n("rZ1c"),xe=n("WzhS"),Se=n("miJQ"),Te=n("bxSN"),Me=n("9jaw"),Oe=r["\u0275cmf"](i,[],(function(e){return r["\u0275mod"]([r["\u0275mpd"](512,r.ComponentFactoryResolver,r["\u0275CodegenComponentFactoryResolver"],[[8,[a.a,o.a,o.b,l.a,u.b,u.a,s.a,c.d,R]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["\u0275mpd"](4608,p.NgLocalization,p.NgLocaleLocalization,[r.LOCALE_ID]),r["\u0275mpd"](4608,D.c,D.c,[D.j,D.e,r.ComponentFactoryResolver,D.i,D.f,r.Injector,r.NgZone,p.DOCUMENT,E.b,p.Location,D.h]),r["\u0275mpd"](5120,D.k,D.l,[D.c]),r["\u0275mpd"](5120,z.c,z.d,[D.c]),r["\u0275mpd"](135680,z.e,z.e,[D.c,r.Injector,[2,p.Location],[2,z.b],z.c,[3,z.e],D.e]),r["\u0275mpd"](4608,F.c,F.c,[]),r["\u0275mpd"](4608,G.b,G.b,[]),r["\u0275mpd"](5120,V.c,V.j,[D.c]),r["\u0275mpd"](5120,U.b,U.c,[D.c]),r["\u0275mpd"](5120,B.b,B.c,[D.c]),r["\u0275mpd"](5120,q.g,q.a,[[3,q.g]]),r["\u0275mpd"](4608,J.o,J.o,[]),r["\u0275mpd"](5120,J.a,J.b,[D.c]),r["\u0275mpd"](4608,G.a,W.b,[[2,G.e],K.a]),r["\u0275mpd"](4608,H.x,H.x,[]),r["\u0275mpd"](4608,Z.Db,Z.Db,[r.ApplicationRef,r.ComponentFactoryResolver,r.Injector]),r["\u0275mpd"](4608,Z.ub,Z.ub,[Z.Db]),r["\u0275mpd"](4608,Y.w,Y.w,[p.DOCUMENT]),r["\u0275mpd"](4608,Y.p,Y.p,[]),r["\u0275mpd"](4608,Y.a,Y.a,[]),r["\u0275mpd"](5120,Q.a,Q.b,[D.c]),r["\u0275mpd"](1073742336,p.CommonModule,p.CommonModule,[]),r["\u0275mpd"](1073742336,E.a,E.a,[]),r["\u0275mpd"](1073742336,G.k,G.k,[X.j,[2,G.c],[2,p.DOCUMENT]]),r["\u0275mpd"](1073742336,K.b,K.b,[]),r["\u0275mpd"](1073742336,G.u,G.u,[]),r["\u0275mpd"](1073742336,$.c,$.c,[]),r["\u0275mpd"](1073742336,ee.g,ee.g,[]),r["\u0275mpd"](1073742336,te.b,te.b,[]),r["\u0275mpd"](1073742336,te.d,te.d,[]),r["\u0275mpd"](1073742336,D.g,D.g,[]),r["\u0275mpd"](1073742336,z.k,z.k,[]),r["\u0275mpd"](1073742336,F.d,F.d,[]),r["\u0275mpd"](1073742336,ne.f,ne.f,[]),r["\u0275mpd"](1073742336,re.c,re.c,[]),r["\u0275mpd"](1073742336,ie.c,ie.c,[]),r["\u0275mpd"](1073742336,ae.c,ae.c,[]),r["\u0275mpd"](1073742336,G.l,G.l,[]),r["\u0275mpd"](1073742336,G.s,G.s,[]),r["\u0275mpd"](1073742336,oe.a,oe.a,[]),r["\u0275mpd"](1073742336,le.e,le.e,[]),r["\u0275mpd"](1073742336,V.i,V.i,[]),r["\u0275mpd"](1073742336,V.f,V.f,[]),r["\u0275mpd"](1073742336,ue.c,ue.c,[]),r["\u0275mpd"](1073742336,se.a,se.a,[]),r["\u0275mpd"](1073742336,G.p,G.p,[]),r["\u0275mpd"](1073742336,U.e,U.e,[]),r["\u0275mpd"](1073742336,ce.b,ce.b,[]),r["\u0275mpd"](1073742336,ce.a,ce.a,[]),r["\u0275mpd"](1073742336,pe.e,pe.e,[]),r["\u0275mpd"](1073742336,X.a,X.a,[X.j]),r["\u0275mpd"](1073742336,de.l,de.l,[]),r["\u0275mpd"](1073742336,fe.a,fe.a,[]),r["\u0275mpd"](1073742336,B.e,B.e,[]),r["\u0275mpd"](1073742336,he.e,he.e,[]),r["\u0275mpd"](1073742336,me.c,me.c,[]),r["\u0275mpd"](1073742336,ye.e,ye.e,[]),r["\u0275mpd"](1073742336,q.h,q.h,[]),r["\u0275mpd"](1073742336,J.p,J.p,[]),r["\u0275mpd"](1073742336,G.w,G.w,[]),r["\u0275mpd"](1073742336,G.m,G.m,[]),r["\u0275mpd"](1073742336,ve.e,ve.e,[]),r["\u0275mpd"](1073742336,ve.d,ve.d,[]),r["\u0275mpd"](1073742336,ge.a,ge.a,[]),r["\u0275mpd"](1073742336,be.e,be.e,[]),r["\u0275mpd"](1073742336,_e.a,_e.a,[]),r["\u0275mpd"](1073742336,y.q,y.q,[[2,y.v],[2,y.m]]),r["\u0275mpd"](1073742336,we.a,we.a,[]),r["\u0275mpd"](1073742336,xe.c,xe.c,[]),r["\u0275mpd"](1073742336,H.w,H.w,[]),r["\u0275mpd"](1073742336,H.h,H.h,[]),r["\u0275mpd"](1073742336,Z.i,Z.i,[]),r["\u0275mpd"](1073742336,Z.tb,Z.tb,[]),r["\u0275mpd"](1073742336,Z.B,Z.B,[]),r["\u0275mpd"](1073742336,Z.d,Z.d,[]),r["\u0275mpd"](1073742336,Z.k,Z.k,[]),r["\u0275mpd"](1073742336,Z.x,Z.x,[]),r["\u0275mpd"](1073742336,Z.P,Z.P,[]),r["\u0275mpd"](1073742336,Z.T,Z.T,[]),r["\u0275mpd"](1073742336,Z.cb,Z.cb,[]),r["\u0275mpd"](1073742336,Z.ib,Z.ib,[]),r["\u0275mpd"](1073742336,Z.Z,Z.Z,[]),r["\u0275mpd"](1073742336,Z.yb,Z.yb,[]),r["\u0275mpd"](1073742336,Z.J,Z.J,[]),r["\u0275mpd"](1073742336,Z.X,Z.X,[]),r["\u0275mpd"](1073742336,Se.b,Se.b,[]),r["\u0275mpd"](1073742336,Y.s,Y.s,[]),r["\u0275mpd"](1073742336,Q.c,Q.c,[]),r["\u0275mpd"](1073742336,Te.ClickOutsideModule,Te.ClickOutsideModule,[]),r["\u0275mpd"](1073742336,Me.a,Me.a,[]),r["\u0275mpd"](1073742336,i,i,[]),r["\u0275mpd"](256,G.d,_e.b,[]),r["\u0275mpd"](1024,y.k,(function(){return[[{path:"",component:C}]]}),[])])}))},uLAD:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("zp6E"),n("ma1f"),n("qMld"),n("FayN"),n("QmTF"),n("WYOF")],void 0===(i=(function(e,t,n,r,i,a,o,l,u){function s(e){switch(e.type){case"Map Service":return function(e){return function(e){return d(e.url).then((function(e){return e.tileInfo}))}(e).then((function(e){return e?{className:"TileLayer"}:{className:"MapImageLayer"}}))}(e);case"Feature Service":return function(e){return p(e).then((function(e){if("object"==typeof e){var t={};return null!=e.id&&(t.layerId=e.id),{className:"FeatureLayer",properties:t}}return{className:"GroupLayer"}}))}(e);case"Feature Collection":return function(e){return n.__awaiter(this,void 0,void 0,(function(){var t;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,e.load()];case 1:return n.sent(),u.hasTypeKeyword(e,"Map Notes")?[2,{className:"MapNotesLayer"}]:u.hasTypeKeyword(e,"Route Layer")?[2,{className:"RouteLayer"}]:[4,e.fetchData()];case 2:return(t=n.sent())&&Array.isArray(t.layers)&&1===t.layers.length?[2,{className:"FeatureLayer"}]:[2,{className:"GroupLayer"}]}}))}))}(e);case"Scene Service":return function(e){return p(e).then((function(t){if("object"==typeof t){var n={},r=void 0;if(null!=t.id?(n.layerId=t.id,r=e.url+"/layers/"+t.id):r=e.url,Array.isArray(e.typeKeywords)&&e.typeKeywords.length>0)for(var i={IntegratedMesh:"IntegratedMeshLayer","3DObject":"SceneLayer",Point:"SceneLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"},a=0,o=Object.keys(i);a<o.length;a++){var l=o[a];if(-1!==e.typeKeywords.indexOf(l))return{className:i[l]}}return d(r).then((function(e){var t="SceneLayer",r={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};return e&&e.layerType&&r[e.layerType]&&(t=r[e.layerType]),{className:t,properties:n}}))}return{className:"GroupLayer"}}))}(e);case"Image Service":return function(e){var t,r,i;return n.__awaiter(this,void 0,void 0,(function(){var a,o,l,u;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,e.load()];case 1:return n.sent(),(a=null!==(r=null===(t=e.typeKeywords)||void 0===t?void 0:t.map((function(e){return e.toLowerCase()})))&&void 0!==r?r:[]).indexOf("elevation 3d layer")>-1?[2,{className:"ElevationLayer"}]:a.indexOf("tiled imagery")>-1?[2,{className:"ImageryTileLayer"}]:[4,e.fetchData()];case 2:return o=n.sent(),"ArcGISTiledImageServiceLayer"===(l=null==o?void 0:o.layerType)?[2,{className:"ImageryTileLayer"}]:"ArcGISImageServiceLayer"===l?[2,{className:"ImageryLayer"}]:[4,d(e.url)];case 3:return u=n.sent(),"map"===(null===(i=u.cacheType)||void 0===i?void 0:i.toLowerCase())?[2,{className:"ImageryTileLayer"}]:[2,{className:"ImageryLayer"}]}}))}))}(e);case"Stream Service":return{className:"StreamLayer"};case"Vector Tile Service":return{className:"VectorTileLayer"};case"KML":return{className:"KMLLayer"};case"WMTS":return{className:"WMTSLayer"};case"WMS":return{className:"WMSLayer"};default:return a.reject(new i("portal:unknown-item-type","Unknown item type '${type}'",{type:e.type}))}}function c(e){return(0,o.layerLookupMap[e.className])().then((function(t){return{constructor:t,properties:e.properties}}))}function p(e){return!e.url||e.url.match(/\/\d+$/)?a.resolve({}):e.load().then((function(){return e.fetchData()})).then((function(t){return t&&Array.isArray(t.layers)?1===t.layers.length&&{id:t.layers[0].id}:d(e.url).then((function(e){return e&&Array.isArray(e.layers)?1===e.layers.length&&{id:e.layers[0].id}:{}}))}))}function d(e){return r(e,{responseType:"json",query:{f:"json"}}).then((function(e){return e.data}))}Object.defineProperty(t,"__esModule",{value:!0}),t.fromItem=function(e){return!e.portalItem||e.portalItem instanceof l||(e=n.__assign(n.__assign({},e),{portalItem:new l(e.portalItem)})),(t=e.portalItem,t.load().then(s).then(c)).then((function(t){var r=n.__assign({portalItem:e.portalItem},t.properties);return a.resolve(new(0,t.constructor)(r))}));var t},t.selectLayerClassPath=s}).apply(null,r))||(e.exports=i)},wY0r:function(e,t,n){"use strict";n.r(t),n.d(t,"CumCongNghiepModuleNgFactory",(function(){return le}));var r=n("8Y7J"),i=n("2/i7"),a=n("9cE2"),o=n("007U"),l=n("ntJQ"),u=n("nmIE"),s=n("pMnS"),c=n("Wk/b"),p=n("GPwc"),d=n("hv2+"),f=n("SVse"),h=n("1O3W"),m=n("9gLZ"),y=n("iELJ"),v=n("9b/N"),g=n("UhP/"),b=n("rJgo"),_=n("ZTz/"),w=n("ZFy/"),x=n("hzfI"),S=n("TN/R"),T=n("uFzR"),M=n("SCoL"),O=n("s7LF"),C=n("Lnru"),L=n("w9WL"),P=n("vrAh"),I=n("YEUz"),k=n("Dxy4"),j=n("1z/I"),N=n("7KAL"),A=n("Q2Ze"),R=n("Tj54"),D=n("8sFK"),E=n("e6WT"),z=n("BSbQ"),F=n("SqCe"),G=n("pu8Q"),V=n("q7Ft"),U=n("jMqV"),B=n("zHaW"),q=n("M9ds"),J=n("l0rg"),W=n("PDjf"),K=n("BTe0"),H=n("q59W"),Z=n("pMoy"),Y=n("+pSP"),Q=n("zQhy"),X=n("5dmV"),$=n("iInd"),ee=n("rZ1c"),te=n("WzhS"),ne=n("miJQ"),re=n("bxSN"),ie=n("9jaw"),ae=n("3PBP"),oe=n("AhlZ"),le=r["\u0275cmf"](i.a,[],(function(e){return r["\u0275mod"]([r["\u0275mpd"](512,r.ComponentFactoryResolver,r["\u0275CodegenComponentFactoryResolver"],[[8,[a.a,o.a,o.b,l.a,u.b,u.a,s.a,c.d,p.a,d.a]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["\u0275mpd"](4608,f.NgLocalization,f.NgLocaleLocalization,[r.LOCALE_ID]),r["\u0275mpd"](4608,h.c,h.c,[h.j,h.e,r.ComponentFactoryResolver,h.i,h.f,r.Injector,r.NgZone,f.DOCUMENT,m.b,f.Location,h.h]),r["\u0275mpd"](5120,h.k,h.l,[h.c]),r["\u0275mpd"](5120,y.c,y.d,[h.c]),r["\u0275mpd"](135680,y.e,y.e,[h.c,r.Injector,[2,f.Location],[2,y.b],y.c,[3,y.e],h.e]),r["\u0275mpd"](4608,v.c,v.c,[]),r["\u0275mpd"](4608,g.b,g.b,[]),r["\u0275mpd"](5120,b.c,b.j,[h.c]),r["\u0275mpd"](5120,_.b,_.c,[h.c]),r["\u0275mpd"](5120,w.b,w.c,[h.c]),r["\u0275mpd"](5120,x.g,x.a,[[3,x.g]]),r["\u0275mpd"](4608,S.o,S.o,[]),r["\u0275mpd"](5120,S.a,S.b,[h.c]),r["\u0275mpd"](4608,g.a,T.b,[[2,g.e],M.a]),r["\u0275mpd"](4608,O.x,O.x,[]),r["\u0275mpd"](4608,C.Db,C.Db,[r.ApplicationRef,r.ComponentFactoryResolver,r.Injector]),r["\u0275mpd"](4608,C.ub,C.ub,[C.Db]),r["\u0275mpd"](4608,L.w,L.w,[f.DOCUMENT]),r["\u0275mpd"](4608,L.p,L.p,[]),r["\u0275mpd"](4608,L.a,L.a,[]),r["\u0275mpd"](5120,P.a,P.b,[h.c]),r["\u0275mpd"](1073742336,f.CommonModule,f.CommonModule,[]),r["\u0275mpd"](1073742336,m.a,m.a,[]),r["\u0275mpd"](1073742336,g.k,g.k,[I.j,[2,g.c],[2,f.DOCUMENT]]),r["\u0275mpd"](1073742336,M.b,M.b,[]),r["\u0275mpd"](1073742336,g.u,g.u,[]),r["\u0275mpd"](1073742336,k.c,k.c,[]),r["\u0275mpd"](1073742336,j.g,j.g,[]),r["\u0275mpd"](1073742336,N.b,N.b,[]),r["\u0275mpd"](1073742336,N.d,N.d,[]),r["\u0275mpd"](1073742336,h.g,h.g,[]),r["\u0275mpd"](1073742336,y.k,y.k,[]),r["\u0275mpd"](1073742336,v.d,v.d,[]),r["\u0275mpd"](1073742336,A.f,A.f,[]),r["\u0275mpd"](1073742336,R.c,R.c,[]),r["\u0275mpd"](1073742336,D.c,D.c,[]),r["\u0275mpd"](1073742336,E.c,E.c,[]),r["\u0275mpd"](1073742336,g.l,g.l,[]),r["\u0275mpd"](1073742336,g.s,g.s,[]),r["\u0275mpd"](1073742336,z.a,z.a,[]),r["\u0275mpd"](1073742336,F.e,F.e,[]),r["\u0275mpd"](1073742336,b.i,b.i,[]),r["\u0275mpd"](1073742336,b.f,b.f,[]),r["\u0275mpd"](1073742336,G.c,G.c,[]),r["\u0275mpd"](1073742336,V.a,V.a,[]),r["\u0275mpd"](1073742336,g.p,g.p,[]),r["\u0275mpd"](1073742336,_.e,_.e,[]),r["\u0275mpd"](1073742336,U.b,U.b,[]),r["\u0275mpd"](1073742336,U.a,U.a,[]),r["\u0275mpd"](1073742336,B.e,B.e,[]),r["\u0275mpd"](1073742336,I.a,I.a,[I.j]),r["\u0275mpd"](1073742336,q.l,q.l,[]),r["\u0275mpd"](1073742336,J.a,J.a,[]),r["\u0275mpd"](1073742336,w.e,w.e,[]),r["\u0275mpd"](1073742336,W.e,W.e,[]),r["\u0275mpd"](1073742336,K.c,K.c,[]),r["\u0275mpd"](1073742336,H.e,H.e,[]),r["\u0275mpd"](1073742336,x.h,x.h,[]),r["\u0275mpd"](1073742336,S.p,S.p,[]),r["\u0275mpd"](1073742336,g.w,g.w,[]),r["\u0275mpd"](1073742336,g.m,g.m,[]),r["\u0275mpd"](1073742336,Z.e,Z.e,[]),r["\u0275mpd"](1073742336,Z.d,Z.d,[]),r["\u0275mpd"](1073742336,Y.a,Y.a,[]),r["\u0275mpd"](1073742336,Q.e,Q.e,[]),r["\u0275mpd"](1073742336,X.a,X.a,[]),r["\u0275mpd"](1073742336,$.q,$.q,[[2,$.v],[2,$.m]]),r["\u0275mpd"](1073742336,ee.a,ee.a,[]),r["\u0275mpd"](1073742336,te.c,te.c,[]),r["\u0275mpd"](1073742336,O.w,O.w,[]),r["\u0275mpd"](1073742336,O.h,O.h,[]),r["\u0275mpd"](1073742336,C.i,C.i,[]),r["\u0275mpd"](1073742336,C.tb,C.tb,[]),r["\u0275mpd"](1073742336,C.B,C.B,[]),r["\u0275mpd"](1073742336,C.d,C.d,[]),r["\u0275mpd"](1073742336,C.k,C.k,[]),r["\u0275mpd"](1073742336,C.x,C.x,[]),r["\u0275mpd"](1073742336,C.P,C.P,[]),r["\u0275mpd"](1073742336,C.T,C.T,[]),r["\u0275mpd"](1073742336,C.cb,C.cb,[]),r["\u0275mpd"](1073742336,C.ib,C.ib,[]),r["\u0275mpd"](1073742336,C.Z,C.Z,[]),r["\u0275mpd"](1073742336,C.yb,C.yb,[]),r["\u0275mpd"](1073742336,C.J,C.J,[]),r["\u0275mpd"](1073742336,C.X,C.X,[]),r["\u0275mpd"](1073742336,ne.b,ne.b,[]),r["\u0275mpd"](1073742336,L.s,L.s,[]),r["\u0275mpd"](1073742336,P.c,P.c,[]),r["\u0275mpd"](1073742336,re.ClickOutsideModule,re.ClickOutsideModule,[]),r["\u0275mpd"](1073742336,ie.a,ie.a,[]),r["\u0275mpd"](1073742336,i.a,i.a,[]),r["\u0275mpd"](256,g.d,X.b,[]),r["\u0275mpd"](1024,$.k,(function(){return[[{path:"",component:ae.a},{path:":id",component:oe.a}]]}),[])])}))},wke2:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("Gtr7"),n("qMld"),n("Vx27"),n("N7S/"),n("lRq4"),n("nrlZ"),n("pMLx"),n("YaB4"),n("OQ/g"),n("M3W5"),n("f3JK")],void 0===(i=(function(e,t,n,r,i,a,o,l,u,s,c,p,d,f){var h=l.create(),m=[0,0],y=new f(0,0,0,0);return function(e){function t(t){var r=e.call(this,t)||this;return r._imagePromise=null,r.hidpi=!1,r.imageMaxWidth=2048,r.imageMaxHeight=2048,r.imageRotationSupported=!1,r.imageNormalizationSupported=!1,r.update=i.debounce((function(e,t){return n.__awaiter(r,void 0,void 0,(function(){var r,i,a,o,l,s,c,d,f=this;return n.__generator(this,(function(n){return i=u.getInfo((r=e.state).spatialReference),a=this.hidpi?e.pixelRatio:1,!e.stationary||this.destroyed?[2]:(this.imageRotationSupported?(m[0]=r.size[0],m[1]=r.size[1]):p.getOuterSize(m,r),o=Math.floor(m[0]*a)>this.imageMaxWidth||Math.floor(m[1]*a)>this.imageMaxHeight,l=i&&(r.extent.xmin<i.valid[0]||r.extent.xmax>i.valid[1]),s=!this.imageNormalizationSupported&&l,c=this.imageRotationSupported?r.rotation:0,o||s?(d=Math.min(this.imageMaxWidth,this.imageMaxHeight),s&&(d=Math.min(r.worldScreenWidth,d)),this._imagePromise=this._tiledExport(r,d,c,a,t)):this._imagePromise=this._singleExport(r,m,c,a,t),[2,this._imagePromise.then((function(e){f._imagePromise=null;var t=f.container.children.slice();f.container.removeAllChildren(),e.forEach(f.container.addChild,f.container),f.disposeSource&&t.forEach((function(e){f.disposeSource(e.source)}),f)})).catch((function(e){throw f._imagePromise=null,e}))])}))}))}),5e3),r}return n.__extends(t,e),t.prototype.destroy=function(){},Object.defineProperty(t.prototype,"updating",{get:function(){return null!==this._imagePromise},enumerable:!0,configurable:!0}),t.prototype.updateExports=function(e){for(var t=0,n=this.container.children;t<n.length;t++){var r=n[t];if(!r.visible||!r.stage)return;e(r)?console.error("ExportStrategy.updateExports doesn't support promise yet"):(r.invalidateTexture(),r.requestRender())}},t.prototype._export=function(e,t,n,r,a,o){var l=this;return i.resolve().then((function(){return l.fetchSource(e,Math.floor(t*a),Math.floor(n*a),{rotation:r,pixelRatio:a,signal:o})})).then((function(n){var i=new c.Bitmap(n);return i.x=e.xmin,i.y=e.ymax,i.resolution=e.width/t,i.rotation=r,i.pixelRatio=a,i}))},t.prototype._singleExport=function(e,t,n,r,i){p.getBBox(h,e.center,e.resolution,t);var a=new o(h[0],h[1],h[2],h[3],e.spatialReference);return this._export(a,t[0],t[1],n,r,i).then((function(e){return[e]}))},t.prototype._tiledExport=function(e,t,n,r,a){var l=this,u=s.create({size:t,spatialReference:e.spatialReference,scales:[e.scale]}),c=new d(u),p=c.getTileCoverage(e);if(!p)return null;var f=[];return p.forEach((function(i,u,s,p){y.set(i,u,s,p),c.getTileBounds(h,y);var d=new o(h[0],h[1],h[2],h[3],e.spatialReference);f.push(l._export(d,t,t,n,r,a))})),i.all(f)},n.__decorate([a.property()],t.prototype,"_imagePromise",void 0),n.__decorate([a.property()],t.prototype,"container",void 0),n.__decorate([a.property()],t.prototype,"disposeSource",void 0),n.__decorate([a.property()],t.prototype,"fetchSource",void 0),n.__decorate([a.property()],t.prototype,"hidpi",void 0),n.__decorate([a.property()],t.prototype,"imageMaxWidth",void 0),n.__decorate([a.property()],t.prototype,"imageMaxHeight",void 0),n.__decorate([a.property()],t.prototype,"imageRotationSupported",void 0),n.__decorate([a.property()],t.prototype,"imageNormalizationSupported",void 0),n.__decorate([a.property()],t.prototype,"requestUpdate",void 0),n.__decorate([a.property({dependsOn:["_imagePromise"]})],t.prototype,"updating",null),n.__decorate([a.subclass("esri.views.2d.layers.support.ExportStrategy")],t)}(r)}).apply(null,r))||(e.exports=i)},xii5:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("ma1f"),n("jfWY"),n("N7S/"),n("Z4y+")],void 0===(i=(function(e,t,n,r,i,a){Object.defineProperty(t,"__esModule",{value:!0});var o=[[4001,4999],[2044,2045],[2081,2083],[2085,2086],[2093,2093],[2096,2098],[2105,2132],[2169,2170],[2176,2180],[2193,2193],[2200,2200],[2206,2212],[2319,2319],[2320,2462],[2523,2549],[2551,2735],[2738,2758],[2935,2941],[2953,2953],[3006,3030],[3034,3035],[3058,3059],[3068,3068],[3114,3118],[3126,3138],[3300,3301],[3328,3335],[3346,3346],[3350,3352],[3366,3366],[3416,3416],[20004,20032],[20064,20092],[21413,21423],[21473,21483],[21896,21899],[22171,22177],[22181,22187],[22191,22197],[25884,25884],[27205,27232],[27391,27398],[27492,27492],[28402,28432],[28462,28492],[30161,30179],[30800,30800],[31251,31259],[31275,31279],[31281,31290],[31466,31700]],l={84:4326,83:4269,27:4267};function u(e){return o.some((function(t){return e>=t[0]&&e<=t[1]}))}function s(e,t){var n=t&&t.getElementsByTagName(e);return n&&n.length>0?n[0]:null}function c(e,t,n){var r=s(e,t);return r?r.textContent:n}function p(e,t,n){if(!e)return null;var r,o,l,u,s=parseFloat(e.getAttribute("minx")),c=parseFloat(e.getAttribute("miny")),p=parseFloat(e.getAttribute("maxx")),d=parseFloat(e.getAttribute("maxy"));n?(r=isNaN(c)?-Number.MAX_VALUE:c,o=isNaN(s)?-Number.MAX_VALUE:s,l=isNaN(d)?Number.MAX_VALUE:d,u=isNaN(p)?Number.MAX_VALUE:p):(r=isNaN(s)?-Number.MAX_VALUE:s,o=isNaN(c)?-Number.MAX_VALUE:c,l=isNaN(p)?Number.MAX_VALUE:p,u=isNaN(d)?Number.MAX_VALUE:d);var f=new a({wkid:t});return new i({xmin:r,ymin:o,xmax:l,ymax:u,spatialReference:f})}function d(e,t){var n=s(t,e),i=s("DCPType",n);if(i){var a=s("HTTP",i);if(a){var o=s("Get",a);if(o){var l=function(e,t,n,r){var i=s("OnlineResource",n);return i?i.getAttribute("xlink:href"):null}(0,0,o);if(l)return l.indexOf("&")===l.length-1&&(l=l.substring(0,l.length-1)),function(e,t){var n=[],i=r.urlToObject(e);for(var a in i.query)i.query.hasOwnProperty(a)&&-1===t.indexOf(a.toLowerCase())&&n.push(a+"="+i.query[a]);return i.path+(n.length?"?"+n.join("&"):"")}(l,["service","request"])}}}return null}function f(e,t){var n=e.getElementsByTagName("Operation");if(!n||!n.length){var r=s(t,e).getElementsByTagName("Format");return Array.prototype.slice.call(r).map((function(e){return e.textContent}))}var i=Array.prototype.slice.call(n),a=[];return i.forEach((function(e){if(e.getAttribute("name")===t){var n=e.getElementsByTagName("Format");Array.prototype.slice.call(n).forEach((function(e){a.push(e.textContent)}))}})),a}function h(e,t,n){var r=function(e,t){for(var n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(r.nodeType===Node.ELEMENT_NODE&&r.nodeName===e)return r}return null}(t,e);if(!r)return n;var i=r.textContent;if(null==i||""===i)return n;var a=Number(i);return isNaN(a)?n:a}function m(e,t,n){if(!e)return null;var r={id:n.idCounter++,fullExtents:[],parentLayerId:null,queryable:"1"===e.getAttribute("queryable"),spatialReferences:[],sublayers:null},o=s("LatLonBoundingBox",e),d=s("EX_GeographicBoundingBox",e),f=null;o&&(f=p(o,4326)),d&&((f=new i(0,0,0,0,new a({wkid:4326}))).xmin=parseFloat(c("westBoundLongitude",d,0)),f.ymin=parseFloat(c("southBoundLatitude",d,0)),f.xmax=parseFloat(c("eastBoundLongitude",d,0)),f.ymax=parseFloat(c("northBoundLatitude",d,0))),o||d||(f=new i(-180,-90,180,90,new a({wkid:4326}))),r.minScale=h(e,"MaxScaleDenominator",0),r.maxScale=h(e,"MinScaleDenominator",0);var y=["1.0.0","1.1.0","1.1.1"].indexOf(t)>-1?"SRS":"CRS";return Array.prototype.slice.call(e.childNodes).forEach((function(e){if("Name"===e.nodeName)r.name=e.textContent||"";else if("Title"===e.nodeName)r.title=e.textContent||"";else if("Abstract"===e.nodeName)r.description=e.textContent||"";else if("BoundingBox"===e.nodeName){var i=e.getAttribute(y);i&&0===i.indexOf("EPSG:")&&(0===(o=parseInt(i.substring(5),10))||isNaN(o)||f||(f="1.3.0"===t?p(e,o,u(o)):p(e,o)));var a=i&&i.indexOf(":");if(a&&a>-1){var o;0===(o=parseInt(i.substring(a+1,i.length),10))||isNaN(o)||(o=l[o]?l[o]:o);var c="1.3.0"===t?p(e,o,u(o)):p(e,o);r.fullExtents.push(c)}}else if(e.nodeName===y)e.textContent.split(" ").forEach((function(e){0===(e=e.indexOf(":")>-1?parseInt(e.split(":")[1],10):parseInt(e,10))||isNaN(e)||(l[e]&&(e=l[e]),-1===r.spatialReferences.indexOf(e)&&r.spatialReferences.push(e))}));else if("Style"!==e.nodeName||r.legendURL){if("Layer"===e.nodeName){var d=m(e,t,n);d&&(d.parentLayerId=r.id,r.sublayers||(r.sublayers=[]),r.sublayers.push(d))}}else{var h=s("LegendURL",e);if(h){var v=s("OnlineResource",h);v&&(r.legendURL=v.getAttribute("xlink:href"))}}})),r.extent=f&&f.toJSON(),r}t.parseCapabilities=function(e){if(!e)return null;var t={idCounter:-1};"string"==typeof e&&(e=(new DOMParser).parseFromString(e,"text/xml"));var r=e.documentElement;if("ServiceExceptionReport"===r.nodeName){var a=Array.prototype.slice.call(r.childNodes).map((function(e){return e.textContent})).join("\r\n");throw new n("wmslayer:wms-capabilities-xml-is-not-valid","The server returned errors when the WMS capabilities were requested.",a)}var o=s("Layer",r);if(!o)return null;var l,u,p,h,y="WMS_Capabilities"===r.nodeName||"WMT_MS_Capabilities"===r.nodeName?r.getAttribute("version"):"1.3.0",v=s("Service",r),g=c("Title",v,"")||c("Name",v,""),b=c("AccessConstraints",v,""),_=c("Abstract",v,""),w=parseInt(c("MaxWidth",v,5e3),10),x=parseInt(c("MaxHeight",v,5e3),10),S=s("Capability",r),T=f(r,"GetMap"),M=d(r,"GetMap"),O=m(o,y,t),C=0;if(Array.prototype.slice.call(S.childNodes).forEach((function(e){"Layer"===e.nodeName&&(0===C?l=e:1===C?(O.name&&(O.name="",O.sublayers.push(m(l,y,t))),O.sublayers.push(m(e,y,t))):O.sublayers.push(m(e,y,t)),C++)})),!O)return null;var L=O.fullExtents;if((u=O.sublayers)||(u=[]),0===u.length&&u.push(O),!(p=O.extent)){var P=new i(u[0].extent);O.extent=P.toJSON(),p=O.extent}if(!(h=O.spatialReferences).length&&u.length>0){var I=function e(t){var n=[];return t.sublayers.forEach((function(t){!n.length&&t.spatialReferences.length&&(n=t.spatialReferences||e(t))})),n};u.forEach((function(e){h.length||(h=e.spatialReferences||I(e))}))}var k,j=d(r,"GetFeatureInfo");if(j){var N=f(r,"GetFeatureInfo");N.indexOf("text/html")>-1?k="text/html":N.indexOf("text/plain")>-1&&(k="text/plain")}k||function e(t){t&&(t.queryable=!1,t.sublayers&&t.sublayers.forEach((function(t){e(t)})))}(O);var A=function e(t){var n=[];return t.forEach((function(t){n.push(t),t.sublayers&&t.sublayers.length&&(n=n.concat(e(t.sublayers)),delete t.sublayers)})),n}(u);return{copyright:b,description:_,extent:p,fullExtents:L,featureInfoFormat:k,featureInfoUrl:j,mapUrl:M,maxImageWidth:w,maxImageHeight:x,maxScale:O.maxScale||0,minScale:O.minScale||0,layers:A,spatialReferences:h,supportedImageFormatTypes:T,title:g,version:y}},t.coordsReversed=u,t.getPopupLayers=function(e){return e.length?e.filter((function(e){return e.popupEnabled&&e.name&&e.queryable})).map((function(e){return e.name})).join(","):""}}).apply(null,r))||(e.exports=i)},xojL:function(e,t,n){var r,i;r=[n.dj.c(e.i),t,n("zOht"),n("zp6E"),n("KY0m"),n("ma1f"),n("rg9i")],void 0===(i=(function(e,t,n,r,i,a,o){Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(){this.location={left:0,top:0,width:0,height:0},this._allAvailability="unknown",this.byteSize=40}return e.prototype.getAvailability=function(e,t){if("unknown"!==this._allAvailability)return this._allAvailability;var n=(e-this.location.top)*this.location.width+(t-this.location.left),r=n>>3,i=this._tileAvailabilityBitSet;return r<0||r>i.length?"unknown":i[r]&1<<n%8?"available":"unavailable"},e.prototype._updateFromData=function(e){for(var t=!0,n=!0,r=Math.ceil(this.location.width*this.location.height/8),i=new Uint8Array(r),a=0,o=0;o<e.length;o++){var l=o%8;e[o]?(n=!1,i[a]|=1<<l):t=!1,7===l&&++a}n?this._allAvailability="unavailable":t?this._allAvailability="available":(this._allAvailability="unknown",this._tileAvailabilityBitSet=i,this.byteSize+=i.length)},e.fromDefinition=function(t,o){var l=t.service.request||r,s=t.row,c=t.col,p=t.width,d=t.height,f={query:{f:"json"}};return o=o?n.__assign(n.__assign({},f),o):f,l(u(t),o).then((function(e){return e.data})).catch((function(e){if(e&&e.details&&422===e.details.httpStatus)return{location:{top:s,left:c,width:p,height:d},valid:!0,data:i.constant(p*d,0)};throw e})).then((function(t){if(t.location&&(t.location.top!==s||t.location.left!==c||t.location.width!==p||t.location.height!==d))throw new a("tilemap:location-mismatch","Tilemap response for different location than requested",{response:t,definition:{top:s,left:c,width:p,height:d}});return e.fromJSON(t)}))},e.fromJSON=function(t){e.validateJSON(t);var n=new e;return n.location=Object.freeze(o.clone(t.location)),n._updateFromData(t.data),Object.freeze(n)},e.validateJSON=function(e){if(!e||!e.location)throw new a("tilemap:missing-location","Location missing from tilemap response");if(!1===e.valid)throw new a("tilemap:invalid","Tilemap response was marked as invalid");if(!e.data)throw new a("tilemap:missing-data","Data missing from tilemap response");if(!Array.isArray(e.data))throw new a("tilemap:data-mismatch","Data must be an array of numbers");if(e.data.length!==e.location.width*e.location.height)throw new a("tilemap:data-mismatch","Number of data items does not match width/height of tilemap")},e}();function u(e){var t;if("vector-tile"===e.service.type)t=e.service.url+"/tilemap/"+e.level+"/"+e.row+"/"+e.col+"/"+e.width+"/"+e.height;else{var n=e.service.tileServers;t=(n&&n.length?n[e.row%n.length]:e.service.url)+"/tilemap/"+e.level+"/"+e.row+"/"+e.col+"/"+e.width+"/"+e.height}var r=e.service.query;return r&&(t=t+"?"+r),t}t.Tilemap=l,t.tilemapDefinitionId=function(e){return e.level+"/"+e.row+"/"+e.col+"/"+e.width+"/"+e.height},t.tilemapDefinitionUrl=u,t.default=l}).apply(null,r))||(e.exports=i)}}]);