PageSourceSearch

https://www.city.ichihara.chiba.jp/8486.d38fc6033a1e24d9.js

js city.ichihara.chiba.jp collected 2026-10-02 04:30:19 UTC 8,587 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebfront_reference_app=self.webpackChunkwebfront_reference_app||[]).push([[8486],{38486:(ct,O,o)=>{o.r(O),o.d(O,{PtSvS15PageModule:()=>rt});var A=o(33611),z=o(66357),x=o(10336),f=o(36895),d=o(24006),t=o(94650);let H=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[f.ez,d.u5,d.UX,x.m,z.U]}),r})();var c,v,b=o(90351),E=o(21706),U=o(52213),Y=o(3453),h=o(73963),L=o(89066),p=o(97868),F=o(91663),R=o(69297),Q=o(12598),m=o(15861),P=o(70655),G=o(95698),C=o(49933),j=o(25687),D=o(50457),N=o(63900),V=o(18505),T=o(68029),B=o(80529),l=o(92084);let I=((c=class extends l.cf{constructor(){super({contents:{pageType:null,myHazardServiceSettingsOptinPageContents:{title:null,provideContents:{title:null},notesContents:{title:null,sentence:null},purposeContents:{title:null},agreeButton:{label:null},disagreeButton:{label:null},externalSiteUrlList:[]},serviceDefinition:null},data:{optinDocId:null,nextLoginConfirmFlg:null,provideContents:null,purpose:null,updateDatetimeUsersServicesSubscript:null}})}}).\u0275fac=function(n){return new(n||c)},c.\u0275prov=t.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c);I=(0,P.gn)([(0,l.yC)({name:"PtSvA03Response"})],I);let y=((v=class extends l.yh{constructor(){super({agreeFlg:""})}}).\u0275fac=function(n){return new(n||v)},v.\u0275prov=t.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v);y=(0,P.gn)([(0,l.yC)({name:"PtSvA19Response"})],y);var Z=o(33272);let $=(()=>{class r{constructor(e,a,i,s){this.httpClient=e,this.ptSvT64Store=a,this.authService=i,this.ptSvT64OptInInfoStore=s}documentsServicesOptin(e,a,i){return this.ptSvT64Store.setLoading(!0),this.ptSvT64Store.setError(null),(0,D.D)(this.authService.getHttpHeader()).pipe((0,N.w)(s=>{const g={headers:s,params:{...T.i.env.tenantSiteInfo,pageId:e,langCode:a,serviceId:i}};return this.httpClient.get(T.i.env.apiUrl.portal.api.services.optin.retrieve,g)}),(0,V.b)(s=>{this.ptSvT64Store.update(s),this.ptSvT64Store.setLoading(!1)}))}retrieveUserOptInInfo(e){var a=this;return(0,m.Z)(function*(){a.ptSvT64OptInInfoStore.setLoading(!0),a.ptSvT64OptInInfoStore.setError(null);const S={headers:yield a.authService.getHttpHeader(),params:{...T.i.env.tenantSiteInfo,serviceId:e}},g=yield a.httpClient.get(T.i.env.apiUrl.portal.api.services.optin_judgement.retrieve,S).toPromise();a.ptSvT64OptInInfoStore.update(g),a.ptSvT64OptInInfoStore.setLoading(!1)})()}}return r.\u0275fac=function(e){return new(e||r)(t.LFG(B.eN),t.LFG(I),t.LFG(Z.e8),t.LFG(y))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),K=(()=>{class r extends l.AE{constructor(e){super(e),this.store=e}}return r.\u0275fac=function(e){return new(e||r)(t.LFG(I))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),W=(()=>{class r extends l.AE{constructor(e){super(e),this.store=e}}return r.\u0275fac=function(e){return new(e||r)(t.LFG(y))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();var u,k=o(93551),w=o(77288),q=o(18241),_=o(82833);function tt(r,n){if(1&r){const e=t.EpF();t.TgZ(0,"div")(1,"div",2),t._uU(2),t.qZA(),t.TgZ(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6),t._uU(7),t.qZA(),t.TgZ(8,"div",7),t._uU(9),t.qZA()(),t.TgZ(10,"div",6),t._uU(11),t.qZA(),t.TgZ(12,"div",7),t._uU(13),t.qZA()()(),t.TgZ(14,"a",8),t.NdJ("execute",function(){t.CHM(e);const i=t.oxw();return t.KtG(i.agree())}),t._uU(15),t.qZA(),t.TgZ(16,"a",9),t.NdJ("execute",function(){t.CHM(e);const i=t.oxw();return t.KtG(i.disagree())}),t._uU(17),t.qZA()()}if(2&r){const e=n.ngIf;t.xp6(2),t.hij(" ",e.contents.myHazardServiceSettingsOptinPageContents.title," "),t.xp6(5),t.hij(" ",e.contents.myHazardServiceSettingsOptinPageContents.provideContents.title," "),t.xp6(2),t.hij(" ",e.data.provideContents," "),t.xp6(2),t.hij(" ",e.contents.myHazardServiceSettingsOptinPageContents.purposeContents.title," "),t.xp6(2),t.hij(" ",e.data.purpose," "),t.xp6(2),t.hij(" ",e.contents.myHazardServiceSettingsOptinPageContents.agreeButton.label," "),t.xp6(2),t.hij(" ",e.contents.myHazardServiceSettingsOptinPageContents.disagreeButton.label," ")}}let M=((u=class{constructor(n,e,a,i,s,S,g,ot,at,it,st){this.injector=n,this.fb=e,this.router=a,this.personalizeService=i,this.ptSvT64Service=s,this.ptSvT64OptInInfoQuery=S,this.ptSvT64Query=g,this.ptSvT65Service=ot,this.authService=at,this.busy=it,this.activatedRoute=st,this.storeLoading$=this.ptSvT64Query.selectLoading(),this.backService="",this.urlMap=new Map,this.isOptIn=!0}ngOnInit(){var n=this;this.backService=this.activatedRoute.snapshot.queryParamMap.get("back_service"),this.personalizeService.getLangCode().pipe((0,C.t)(this)).subscribe(function(){var e=(0,m.Z)(function*(a){n.ptSvT64Service.documentsServicesOptin(n.pageId,a,n.serviceId).subscribe(function(){var i=(0,m.Z)(function*(s){n.componentContents=s,n.urlMap=n.getExternalUrlMap(n.componentContents.contents.myHazardServiceSettingsOptinPageContents.externalSiteUrlList),n.isOptIn=yield n.optInJudgement(),n.isOptIn&&(n.urlMap.has(n.backService)?location.href=n.urlMap.get(n.backService):n.router.navigate([p.AM.MY_HAZARD_SERVICE_SETTINGS_EDIT.PATH])),n.backService&&n.urlMap.has(n.backService)&&(history.replaceState({},null),history.pushState(null,null,location.href),n.handlebackService())});return function(s){return i.apply(this,arguments)}}()),n.componentContents$=n.ptSvT64Query.select()});return function(a){return e.apply(this,arguments)}}())}optInJudgement(){var n=this;return(0,m.Z)(function*(){let e=!1;return yield n.ptSvT64Service.retrieveUserOptInInfo(n.serviceId),(yield n.ptSvT64OptInInfoQuery.select().pipe((0,G.q)(1)).toPromise()).agreeFlg===p.xB.OPTIN&&(e=!0),e})()}agree(){const e={queryParams:{back_service:this.backService}};this.ptSvT65Service.urlMap=this.urlMap,this.router.navigate([p.AM.MY_HAZARD_SERVICE_SETTINGS_EDIT.PATH],e)}disagree(){this.urlMap.has(this.backService)?location.href=this.urlMap.get(this.backService):this.router.navigate([p.AM.SERVICE_TOP.PATH])}getExternalUrlMap(n){const e=new Map;for(const a of n)e.set(a.key,a.value);return e}handlebackService(){window.addEventListener("popstate",()=>{-1<location.href.indexOf(p.AM.MY_HAZARD_SERVICE_SETTINGS_OPTIN.PATH)&&(location.href=this.urlMap.get(this.backService))})}}).\u0275fac=function(n){return new(n||u)(t.Y36(t.zs3),t.Y36(d.QS),t.Y36(h.F0),t.Y36(j.o),t.Y36($),t.Y36(W),t.Y36(K),t.Y36(k.b),t.Y36(Z.e8),t.Y36(w.g),t.Y36(h.gz))},u.\u0275cmp=t.Xpm({type:u,selectors:[["PT-SV-T64"]],inputs:{pageId:"pageId",serviceId:"serviceId"},decls:4,vars:6,consts:[[3,"busy"],[4,"ngIf"],[1,"heading-Lv1"],[1,"button-tertiary-bg-color-solid-primary-border-color","mb-3"],[1,"p-3"],[1,"border-bottom-primary-border-color-dashed","pb-3","mb-3"],[1,"font-size-main-primary-text-color-bold"],[1,"font-size-secondary-primary-text-color","pre-wrap"],["tabindex","0",1,"normal-write","col-11","flex-center","button-urban-theme-color","font-size-main-quaternary-text-color","mx-auto","py-2","mb-2",3,"appHref","execute"],["tabindex","0",1,"normal","col-11","flex-center","font-size-main-tertiary-text-color","mx-auto","py-2","cursor-pointer",3,"appHref","execute"]],template:function(n,e){1&n&&(t.TgZ(0,"busy-indicator",0),t.ALo(1,"async"),t.YNc(2,tt,18,7,"div",1),t.ALo(3,"async"),t.qZA()),2&n&&(t.Q6J("busy",t.lcZ(1,2,e.storeLoading$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(3,4,0==e.isOptIn&&e.componentContents$)))},dependencies:[f.O5,q.t,_.B,f.Ov]}),u);M=(0,P.gn)([(0,C.c)()],M);
1var et=o(75190);const nt=[{path:"",component:(()=>{class r{constructor(e){this.route=e,this.pageId=p.AM.MY_HAZARD_SERVICE_SETTINGS_OPTIN.PAGE_ID,this.serviceId=this.route.snapshot.queryParams.serviceId}ngOnInit(){}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(h.gz))},r.\u0275cmp=t.Xpm({type:r,selectors:[["PT-SV-S15"]],decls:13,vars:2,consts:[[1,"container-fluid"],[1,"row"],[1,"col-12","col-md-8","mx-auto","mx-2"],[3,"pageId","serviceId"],[1,"col-12","footer-padding"],[1,"button-tag","d-md-none"]],template:function(e,a){1&e&&(t._UZ(0,"pt-hm-s74"),t.TgZ(1,"div",0)(2,"div",1)(3,"div",2),t._UZ(4,"PT-SV-T64",3),t.qZA()(),t.TgZ(5,"div",1)(6,"div",2),t._UZ(7,"back-button"),t.qZA()(),t.TgZ(8,"div",1)(9,"div",4),t._UZ(10,"app-pt-cm-s02"),t.qZA()()(),t.TgZ(11,"footer",5),t._UZ(12,"app-pt-cm-s03"),t.qZA()),2&e&&(t.xp6(4),t.Q6J("pageId",a.pageId)("serviceId",a.serviceId))},dependencies:[F.W,R.X,Q.i,M,et.s]}),r})()}];let rt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[h.Bz.forChild(nt),d.UX,x.m,f.ez,d.u5,L.aw,U.n,Y.V,b.$,E._,H,A.l]}),r})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.