PageSourceSearch

https://mypage.coopkyosai.coop/6499.88e70b370a4d82d7.js

js coopkyosai.coop collected 2026-10-02 16:33:28 UTC 8,823 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[6499],{6499:(B,v,o)=>{o.r(v),o.d(v,{B02G06Module:()=>A});var u=o(1636),l=o(8498),m=o(467),C=o(2996),_=o(983),t=o(4438),O=o(6370),P=o(7458),g=o(1265),M=o(177),s=o(9417),r=o(8834),c=o(7653),p=o(7873),h=o(9062);function I(a,b){if(1&a){const e=t.RV6();t.qex(0),t.j41(1,"button",15),t.bIt("click",function(){t.eBV(e);const i=t.XpG().index,d=t.XpG();return t.Njj(d.statusChange(i))}),t.EFF(2),t.k0s(),t.bVm()}if(2&a){const e=t.XpG().$implicit,n=t.XpG();t.R7$(),t.Y8G("disabled",n.disabled),t.R7$(),t.SpI(" ",e.text," ")}}function k(a,b){if(1&a){const e=t.RV6();t.j41(0,"button",16),t.bIt("click",function(){t.eBV(e);const i=t.XpG().index,d=t.XpG();return t.Njj(d.statusChange(i))}),t.EFF(1),t.k0s()}if(2&a){const e=t.XpG().$implicit,n=t.XpG();t.Y8G("disabled",n.disabled),t.R7$(),t.SpI(" ",e.text," ")}}function G(a,b){if(1&a&&(t.j41(0,"div")(1,"div",13)(2,"span"),t.EFF(3),t.k0s(),t.DNE(4,I,3,2,"ng-container",14)(5,k,2,2,"ng-template",null,0,t.C5r),t.k0s()()),2&a){const e=b.$implicit,n=t.sdS(6);t.R7$(3),t.JRh(e.name),t.R7$(),t.Y8G("ngIf",e.flag)("ngIfElse",n)}}const L=[{path:"",component:(()=>{class a extends C.V{constructor(e,n,i,d){super(),this.router=e,this.service=n,this.dialog=i,this.toast=d,this.disabled=!1}ngOnInit(){var e=this;return(0,m.A)(function*(){const n=yield e.service.getB02G06Init();new Array,null!=n.errors?e.service.B020601handleError(n.errors[0].msgCode):(e.snsIsLink=e.service.getSnsInfoList(n.result[0].snsInfoList),e.service.isCoodinatedSns(e.snsIsLink))})()}link(){var e=this;return(0,m.A)(function*(){const n=yield e.service.postB02G06Link(e.snsIsLink);null!=n.errors&&e.toast.error(n.errors[0].msgCode,{msgArgs:n.errors[0].values})})()}dissociate(){var e=this;return(0,m.A)(function*(){const n=yield e.service.postB02G06Dissociate(e.snsIsLink);null!=n.errors&&e.toast.error(n.errors[0].msgCode,{msgArgs:n.errors[0].values})})()}statusChange(e){var n=this;return(0,m.A)(function*(){if(n.snsIsLink[e].flag){const i=yield n.service.postB02G06Dissociate(n.snsIsLink[e]);null!=i.errors?null!=i.errors[0]&&n.toast.error(i.errors[0].msgCode,{msgArgs:i.errors[0].values}):n.release(n.snsIsLink[e].name),n.ngOnInit()}else{n.disabled=!0,n.snsIsLink[e].text="\u9023\u643a\u51e6\u7406\u4e2d";const i=yield n.service.postB02G06Link(n.snsIsLink[e]);if(null!=i.errors)return n.disabled=!1,null!=i.errors[0]&&n.toast.error(i.errors[0].msgCode,{msgArgs:i.errors[0].values}),n.ngOnInit(),_.w;n.snsIsLink[e].linkPath=i.result[0].linkPath,n.snsIsLink[e].callbackUrl=i.result[0].callbackUrl,n.snsIsLink[e].name=i.result[0].name,n.snsIsLink[e].token=i.result[0].token,n.connectionToSNS(n.snsIsLink[e].linkPath,n.snsIsLink[e].callbackUrl,n.snsIsLink[e].name,n.snsIsLink[e].token)}})()}connectionToSNS(e,n,i,d){return(0,m.A)(function*(){let f=document.getElementById("redirectSocialPLUS");f.action=e,f.token.value=d,f.callback.value=`${n}?snsname=${i}`,f.submit()})()}release(e){this.toast.success(e+"\u306e\u9023\u643a\u3092\u89e3\u9664\u3057\u307e\u3057\u305f",{duration:0})}prev(){this.router.navigate(["contractor"])}static{this.\u0275fac=function(n){return new(n||a)(t.rXU(l.Ix),t.rXU(O.j),t.rXU(P.Z),t.rXU(g.f))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["cpmc-b02-g0601"]],features:[t.Vt3],decls:17,vars:3,consts:[["yetLink",""],[1,"page-content-header"],[1,"title"],[1,"content-wrapper"],[3,"title"],[1,"content"],[1,"wrapper"],[1,"icon"],[4,"ngFor","ngForOf"],["mat-stroked-button","","color","primary","mat-stroked-button","","btn-large","",1,"prev",3,"click","disabled"],["id","redirectSocialPLUS","method","GET","hidden","true"],["type","hidden","name","token"],["type","hidden","name","callback"],[1,"row"],[4,"ngIf","ngIfElse"],["color","primary","mat-stroked-button","","btn-small","",3,"click","disabled"],["color","primary","mat-flat-button","","btn-small","",3,"click","disabled"]],template:function(n,i){1&n&&(t.j41(0,"cpm-page")(1,"div",1)(2,"div",2)(3,"h1"),t.EFF(4,"SNS\u9023\u643a\u3092\u8a2d\u5b9a\u3059\u308b"),t.k0s()()(),t.j41(5,"div",3)(6,"cpm-page-card",4)(7,"div",5)(8,"div",6)(9,"h3",7),t.EFF(10,"SNS\u9023\u643a"),t.k0s(),t.DNE(11,G,7,3,"div",8),t.k0s(),t.j41(12,"button",9),t.bIt("click",function(){return i.prev()}),t.EFF(13," \u623b\u308b "),t.k0s(),t.j41(14,"form",10),t.nrm(15,"input",11)(16,"input",12),t.k0s()()()()()),2&n&&(t.R7$(6),t.Y8G("title","SNS\u9023\u643a\u3092\u8a2d\u5b9a\u3059\u308b"),t.R7$(5),t.Y8G("ngForOf",i.snsIsLink),t.R7$(),t.Y8G("disabled",i.disabled))},dependencies:[M.Sq,M.bT,s.qT,s.cb,s.cV,r.$z,c.H,p.R,h.D],styles:['.lg[_nghost-%COMP%]   .content-wrapper[_ngcontent-%COMP%], .lg   [_nghost-%COMP%]   .content-wrapper[_ngcontent-%COMP%]{width:70%;min-width:680px}.md[_nghost-%COMP%]   .content-wrapper[_ngcontent-%COMP%], .md   [_nghost-%COMP%]   .content-wrapper[_ngcontent-%COMP%], .sm[_nghost-%COMP%]   .content-wrapper[_ngcontent-%COMP%], .sm   [_nghost-%COMP%]   .content-wrapper[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .page-content-header[_ngcontent-%COMP%]{padding-bottom:8px}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]{padding:20px 16px 24px}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{position:relative;padding-bottom:32px}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{margin:0;padding-bottom:20px}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]:before{content:"";position:absolute;top:5px;left:-16px;border-top:7px solid transparent;border-right:6px solid transparent;border-bottom:7px solid transparent;border-left:6px solid #4abacf}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px solid #CCCCCC}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:12px;line-height:42px}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:100px}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .prev[_ngcontent-%COMP%]{min-width:110px}']})}}return a})()},{path:"callback",loadChildren:()=>o.e(5297).then(o.bind(o,5297)).then(a=>a.B02G06CallbackModule)}];let E=(()=>{class a{static{this.\u0275fac=function(n){return new(n||a)}}static{this.\u0275mod=t.$C({type:a})}static{this.\u0275inj=t.G2t({imports:[l.iI.forChild(L),l.iI]})}}return a})(),A=(()=>{class a{static{this.\u0275fac=function(n){return new(n||a)}}static{this.\u0275mod=t.$C({type:a})}static{this.\u0275inj=t.G2t({imports:[u.Gg,E]})}}return a})()},6370:(B,v,o)=>{o.d(v,{j:()=>P});var u=o(467),l=o(4438),m=o(1516),C=o(1265),_=o(8498),t=o(6860),O=o(2571);let P=(()=>{class g{constructor(s,r,c,p,h){this.http=s,this.toast=r,this.router=c,this.platform=p,this.commonService=h,this.URL_B02G06="/b02/b0206/snsChange"}navigate(s){this.router.navigate(s)}loadErrorXml(s){return s=this.getXmlFilename(s),new Promise(r=>{this.http.get({uri:"/b80/common-xmlloader?filename="+s,options:{params:{}}}).subscribe(c=>{c.errors&&c.errors.length>0&&this.router.navigate(["/unavailable"]),r(c.result[0].xml)})})}getXmlFilename(s){return this.platform.ANDROID||this.platform.IOS?s+"-m":s}getB02G06Init(){var s=this;return(0,u.A)(function*(){const r=`${s.URL_B02G06}/init`;return yield s.getServerApi(r)})()}postB02G06Link(s){var r=this;return(0,u.A)(function*(){const c=`${r.URL_B02G06}/link`,p=s;return yield r.postServerApi(c,p)})()}postB02G06AfterLink(s){var r=this;return(0,u.A)(function*(){const c=`${r.URL_B02G06}/linked`;return yield r.postServerApi(c,s)})()}postB02G06Dissociate(s){var r=this;return(0,u.A)(function*(){const c=`${r.URL_B02G06}/dissociate`,p=s;return yield r.postServerApi(c,p)})()}goBackFromB02G06(){var s=this;return(0,u.A)(function*(){const r=`${s.URL_B02G06}/goBack`;return yield s.getServerApi(r)})()}getServerApi(s){return new Promise(r=>{this.http.get({uri:s}).subscribe(c=>{r(c)})})}postServerApi(s,r){return new Promise(c=>{this.http.post({uri:s,body:r}).subscribe(p=>{c(p)})})}getSnsInfoList(s){var r=new Array;
1return s.forEach(c=>{r.push({name:c.snsNm,kbn:c.snsKbn,text:null,flag:c.coordinatedFlg,linkPath:null})},r),r}isCoodinatedSns(s){return s.forEach(r=>{r.text=!0===r.flag?"\u9023\u643a\u3092\u89e3\u9664\u3059\u308b":"\u9023\u643a\u3059\u308b"}),s}B020601handleError(s){"SEb020036"==s?this.moveUnavailable("unavailable-26"):"SEb020037"==s?this.moveUnavailable("unavailable-27"):this.navigate(["error","system"])}moveUnavailable(s){this.loadErrorXml(s).then(r=>{this.commonService.setUnavailableXML(r),this.navigate(["unavailable"])})}static{this.\u0275fac=function(r){return new(r||g)(l.KVO(m.k),l.KVO(C.f),l.KVO(_.Ix),l.KVO(t.OD),l.KVO(O.h))}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})()}}]);

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.